1import{E as e,F as t,I as n,M as r,N as i,O as a,P as o,j as s}from"./chunk-KS7C4IRE-DIkipulk.js";import{t as c}from"./react-dom-CjbmjQlf.js";import{t as l}from"./jsx-runtime-CsaOnxTR.js";import{E as u,T as d,a as f,c as p,d as m,g as h,i as g,l as _,n as v,o as y,r as b,s as x,t as S,u as C}from"./components-JSzoenoU.js";var w=4800266888001,T=`UFbjeWg96`,E=`202120748H`,D=`046/10/2025`,O=`https://www.straitstimes.com`,k=`straitstimes.com`,A=`https://www.${k}`;`${k}`;var ee=`${p()}/_plat/api/v1/`,te=[`business`,`asia`];`${w}`;var ne=`GTM-W22QHZ9`,re=`2026-08-08T17:00:00+08:00`,ie=`2026-08-10T09:00:00+08:00`,ae=`https://www.straitstimes.com`.includes(`dev`)?`dev`:`https://www.straitstimes.com`.includes(`uat`)?`uat`:`prd`,oe=()=>ae===`prd`,se=r(((e,t)=>{function n(e){try{return JSON.stringify(e)}catch{return`"[Circular]"`}}t.exports=r;function r(e,t,r){var i=r&&r.stringify||n,a=1;if(typeof e==`object`&&e){var o=t.length+a;if(o===1)return e;var s=Array(o);s[0]=i(e);for(var c=1;c<o;c++)s[c]=i(t[c]);return s.join(` `)}if(typeof e!=`string`)return e;var l=t.length;if(l===0)return e;for(var u=``,d=1-a,f=-1,p=e&&e.length||0,m=0;m<p;){if(e.charCodeAt(m)===37&&m+1<p){switch(f=f>-1?f:0,e.charCodeAt(m+1)){case 100:case 102:if(d>=l||t[d]==null)break;f<m&&(u+=e.slice(f,m)),u+=Number(t[d]),f=m+2,m++;break;case 105:if(d>=l||t[d]==null)break;f<m&&(u+=e.slice(f,m)),u+=Math.floor(Number(t[d])),f=m+2,m++;break;case 79:case 111:case 106:if(d>=l||t[d]===void 0)break;f<m&&(u+=e.slice(f,m));var h=typeof t[d];if(h===`string`){u+=`'`+t[d]+`'`,f=m+2,m++;break}if(h===`function`){u+=t[d].name||`<anonymous>`,f=m+2,m++;break}u+=i(t[d]),f=m+2,m++;break;case 115:if(d>=l)break;f<m&&(u+=e.slice(f,m)),u+=String(t[d]),f=m+2,m++;break;case 37:f<m&&(u+=e.slice(f,m)),u+=`%`,f=m+2,m++,d--;break}++d}++m}return f===-1?e:(f<p&&(u+=e.slice(f)),u)}})),ce=r(((e,t)=>{var n=se();t.exports=f;var r=te().console||{},i={mapHttpRequest:T,mapHttpResponse:T,wrapRequestSerializer:E,wrapResponseSerializer:E,wrapErrorSerializer:E,req:T,res:T,err:C,errWithCause:C};function a(e,t){return e===`silent`?1/0:t.levels.values[e]}var o=Symbol(`pino.logFuncs`),s=Symbol(`pino.hierarchy`),c={error:`log`,fatal:`error`,warn:`error`,info:`log`,debug:`log`,trace:`log`};function l(e,t){t[s]={logger:t,parent:e[s]}}function u(e,t,n){let i={};t.forEach(e=>{i[e]=n[e]?n[e]:r[e]||r[c[e]||`log`]||D}),e[o]=i}function d(e,t){return Array.isArray(e)?e.filter(function(e){return e!==`!stdSerializers.err`}):e===!0&&Object.keys(t)}function f(e){e||={},e.browser=e.browser||{};let t=e.browser.transmit;if(t&&typeof t.send!=`function`)throw Error(`pino: transmit option must have a send function`);let n=e.browser.write||r;e.browser.write&&(e.browser.asObject=!0);let i=e.serializers||{},o=d(e.browser.serialize,i),s=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf(`!stdSerializers.err`)>-1&&(s=!1);let c=Object.keys(e.customLevels||{}),f=[`error`,`fatal`,`warn`,`info`,`debug`,`trace`].concat(c);typeof n==`function`&&f.forEach(function(e){n[e]=n}),(e.enabled===!1||e.browser.disabled)&&(e.level=`silent`);let m=e.level||`info`,h=Object.create(n);h.log||=D,u(h,f,n),l({},h),Object.defineProperty(h,"levelVal",{get:v}),Object.defineProperty(h,"level",{get:y,set:x});let _={transmit:t,serialize:o,asObject:e.browser.asObject,asObjectBindingsOnly:e.browser.asObjectBindingsOnly,formatters:e.browser.formatters,levels:f,timestamp:w(e),messageKey:e.messageKey||`msg`,onChild:e.onChild||D};h.levels=p(e),h.level=m,h.isLevelEnabled=function(e){return this.levels.values[e]?this.levels.values[e]>=this.levels.values[this.level]:!1},h.setMaxListeners=h.getMaxListeners=h.emit=h.addListener=h.on=h.prependListener=h.once=h.prependOnceListener=h.removeListener=h.removeAllListeners=h.listeners=h.listenerCount=h.eventNames=h.write=h.flush=D,h.serializers=i,h._serialize=o,h._stdErrSerialize=s,h.child=function(...e){return C.call(this,_,...e)},t&&(h._logEvent=S());function v(){return a(this.level,this)}function y(){return this._level}function x(e){if(e!==`silent`&&!this.levels.values[e])throw Error(`unknown level `+e);this._level=e,g(this,_,h,`error`),g(this,_,h,`fatal`),g(this,_,h,`warn`),g(this,_,h,`info`),g(this,_,h,`debug`),g(this,_,h,`trace`),c.forEac
1h(e=>{g(this,_,h,e)})}function C(n,r,a){if(!r)throw Error(`missing bindings for child Pino`);a||={},o&&r.serializers&&(a.serializers=r.serializers);let s=a.serializers;if(o&&s){var c=Object.assign({},i,s),u=e.browser.serialize===!0?Object.keys(c):o;delete r.serializers,b([r],u,c,this._stdErrSerialize)}function d(e){this._childLevel=(e._childLevel|0)+1,this.bindings=r,c&&(this.serializers=c,this._serialize=u),t&&(this._logEvent=S([].concat(e._logEvent.bindings,r)))}d.prototype=this;let f=new d(this);return l(this,f),f.child=function(...e){return C.call(this,n,...e)},f.level=a.level||this.level,n.onChild(f),f}return h}function p(e){let t=e.customLevels||{};return{values:Object.assign({},f.levels.values,t),labels:Object.assign({},f.levels.labels,m(t))}}function m(e){let t={};return Object.keys(e).forEach(function(n){t[e[n]]=n}),t}f.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:`trace`,20:`debug`,30:`info`,40:`warn`,50:`error`,60:`fatal`}},f.stdSerializers=i,f.stdTimeFunctions=Object.assign({},{nullTime:O,epochTime:k,unixTime:A,isoTime:ee});function h(e){let t=[];e.bindings&&t.push(e.bindings);let n=e[s];for(;n.parent;)n=n.parent,n.logger.bindings&&t.push(n.logger.bindings);return t.reverse()}function g(e,t,n,r){if(Object.defineProperty(e,r,{value:a(e.level,n)>a(r,n)?D:n[o][r],writable:!0,enumerable:!0,configurable:!0}),e[r]===D){if(!t.transmit)return;let i=a(t.transmit.level||e.level,n);if(a(r,n)<i)return}e[r]=v(e,t,n,r);let i=h(e);i.length!==0&&(e[r]=_(i,e[r]))}function _(e,t){return function(){return t.apply(this,[...e,...arguments])}}function v(e,t,n,i){return(function(o){return function(){let s=t.timestamp(),c=Array(arguments.length),l=Object.getPrototypeOf&&Object.getPrototypeOf(this)===r?r:this;for(var u=0;u<c.length;u++)c[u]=arguments[u];var d=!1;if(t.serialize&&(b(c,this._serialize,this.serializers,this._stdErrSerialize),d=!0),t.asObject||t.formatters?o.call(l,...y(this,i,c,s,t)):o.apply(l,c),t.transmit){let r=t.transmit.level||e._level,o=a(r,n),l=a(i,n);if(l<o)return;x(this,{ts:s,methodLevel:i,methodValue:l,transmitLevel:r,transmitValue:n.levels.values[t.transmit.level||e._level],send:t.transmit.send,val:a(e._level,n)},c,d)}}})(e[o][i])}function y(e,t,r,i,a){let{level:o,log:s=e=>e}=a.formatters||{},c=r.slice(),l=c[0],u={},d=(e._childLevel|0)+1;if(d<1&&(d=1),i&&(u.time=i),o){let n=o(t,e.levels.values[t]);Object.assign(u,n)}else u.level=e.levels.values[t];if(a.asObjectBindingsOnly){if(typeof l==`object`&&l)for(;d--&&typeof c[0]==`object`;)Object.assign(u,c.shift());return[s(u),...c]}else{if(typeof l==`object`&&l){for(;d--&&typeof c[0]==`object`;)Object.assign(u,c.shift());l=c.length?n(c.shift(),c):void 0}else typeof l==`string`&&(l=n(c.shift(),c));return l!==void 0&&(u[a.messageKey]=l),[s(u)]}}function b(e,t,n,r){for(let i in e)if(r&&e[i]instanceof Error)e[i]=f.stdSerializers.err(e[i]);else if(typeof e[i]==`object`&&!Array.isArray(e[i])&&t)for(let r in e[i])t.indexOf(r)>-1&&r in n&&(e[i][r]=n[r](e[i][r]))}function x(e,t,n,r=!1){let i=t.send,a=t.ts,o=t.methodLevel,s=t.methodValue,c=t.val,l=e._logEvent.bindings;r||b(n,e._serialize||Object.keys(e.serializers),e.serializers,e._stdErrSerialize===void 0||e._stdErrSerialize),e._logEvent.ts=a,e._logEvent.messages=n.filter(function(e){return l.indexOf(e)===-1}),e._logEvent.level.label=o,e._logEvent.level.value=s,i(o,e._logEvent,c),e._logEvent=S(l)}function S(e){return{ts:0,messages:[],bindings:e||[],level:{label:``,value:0}}}function C(e){let t={type:e.constructor.name,msg:e.message,stack:e.stack};for(let n in e)t[n]===void 0&&(t[n]=e[n]);return t}function w(e){return typeof e.timestamp==`function`?e.timestamp:e.timestamp===!1?O:k}function T(){return{}}function E(e){return e}function D(){}function O(){return!1}function k(){return Date.now()}function A(){return Math.round(Date.now()/1e3)}function ee(){return new Date(Date.now()).toISOString()}function te(){function e(e){return e!==void 0&&e}try{return typeof globalThis<`u`||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return e(self)||e(window)||e(this)||{}}}t.exports.default=f,t.exports.pino=f}))(),le=function(e){return e.INFO=`info`,e.DEBUG=`debug`,e.WARN=`warn`,e.ERROR=`error`,e}({}),ue=(0,ce.pino)({browser:{serialize:!0,asObject:!0}});function j(e=`info`,t,n){if(oe()&&e!==`error`)return;let r=n??{};switch(e){case`info`:ue.info(r,t);break;case`debug`:ue.debug(r,t);break;case`error`:ue.error(r,t);break;case`warn`:ue.warn(r,t);break;default:ue.info(r,t);break}}var M=function(e){return e.LOADER=`icon-loader`,e.ST_FULL_LOGO_WHITE=`logo/full-logo-white`,e.ST_FULL_LOGO_DEFAULT=`logo/full-logo-default`,e.ST_INITIAL_LOGO_WHITE=`logo/initial-logo-white`,e.ST_INITIAL_LOGO_DEFAULT=`logo/initial-logo-default`,e.APP_STORE_
1LOGO=`app-store`,e.PLAY_STORE_LOGO=`play-store`,e.PLACEHOLDER_FILLED=`placeholder/icon-placeholder`,e.PLACEHOLDER_OUTLINED=`placeholder/icon-placeholder-outlined`,e.ACTION_ARROW_DOWN_BLUE_SMALL=`actions/icon-actions-arrow-down-blue-small`,e.ACTION_ARROW_UP_SMALL=`actions/icon-actions-arrow-up-small`,e.MENU_HOME_OUTLINED=`menu/icon-menu-home-outlined`,e.MENU_HOME_FILLED=`menu/icon-menu-home-filled`,e.MENU_LATEST_OUTLINED=`menu/icon-menu-latest-outlined`,e.MENU_LATEST_FILLED=`menu/icon-menu-latest-filled`,e.MENU_STAR_OUTLINED=`menu/icon-menu-star-outlined`,e.MENU_STAR_FILLED=`menu/icon-menu-star-filled`,e.MENU_PAPER_OUTLINED=`menu/icon-menu-paper-outlined`,e.MENU_PAPER_FILLED=`menu/icon-menu-paper-filled`,e.MENU_COMPASS_OUTLINED=`menu/icon-menu-compass-outlined`,e.MENU_COMPASS_FILLED=`menu/icon-menu-compass-filled`,e.MENU_SMART=`menu/icon-menu-smart`,e.MENU_HAMBURGER=`menu/icon-menu-hamburger`,e.MENU_HAMBURGER_SEARCH=`menu/icon-menu-hamburger-search`,e.NAV_CHEVRON_LEFT=`navigation/icon-nav-chevron-left`,e.NAV_CHEVRON_RIGHT=`navigation/icon-nav-chevron-right`,e.NAV_SEARCH=`navigation/icon-nav-search`,e.NAV_CROSS=`navigation/icon-nav-cross`,e.NAV_REFRESH=`navigation/icon-nav-refresh`,e.NAV_EXPAND_MORE=`navigation/icon-nav-expand-more`,e.NAV_EXPAND_LESS=`navigation/icon-nav-expand-less`,e.NAV_EXTERNAL=`navigation/icon-nav-external`,e.NAV_EXTERNAL_SMALL=`navigation/icon-nav-external-small`,e.NAV_LIST=`navigation/icon-nav-list`,e.NAV_EXPAND=`navigation/icon-nav-expand`,e.NAV_UNFOLD_LESS=`navigation/icon-nav-unfold-less`,e.NAV_UNFOLD_MORE=`navigation/icon-nav-unfold-more`,e.NAV_MORE_HORIZ=`navigation/icon-nav-more-horizontal`,e.NAV_MORE_VERTI=`navigation/icon-nav-more-vertical`,e.NAV_GLOBE=`navigation/icon-nav-globe`,e.NAV_FULLSCREEN=`navigation/icon-nav-fullscreen`,e.NAV_FULLSCREEN_EXIT=`navigation/icon-nav-fullscreen-exit`,e.NAV_LOGIN=`navigation/icon-nav-login`,e.NAV_LOGOUT_EXIT=`navigation/icon-nav-logout-exit`,e.NAV_WIDGETS=`navigation/icon-nav-widgets`,e.NAV_GEAR_OUTLINED=`navigation/icon-nav-gear-outlined`,e.NAV_GEAR_FILLED=`navigation/icon-nav-gear-filled`,e.NAV_USER_OUTLINED=`navigation/icon-nav-user-outlined`,e.NAV_USER_FILLED=`navigation/icon-nav-user-filled`,e.NAV_INFO_OUTLINED=`navigation/icon-nav-information-outlined`,e.NAV_INFO_FILLED=`navigation/icon-nav-information-filled`,e.NAV_HELP_OUTLINED=`navigation/icon-nav-help-outlined`,e.NAV_HELP_FILLED=`navigation/icon-nav-help-filled`,e.NAV_BELL_OUTLINED=`navigation/icon-nav-bell-outlined`,e.NAV_BELL_FILLED=`navigation/icon-nav-bell-filled`,e.NAV_BELL_INDICATOR_OUTLINED=`navigation/icon-nav-bell-indicator-outlined`,e.NAV_BELL_INDICATOR_FILLED=`navigation/icon-nav-bell-indicator-filled`,e.NAV_MAIL_OUTLINED=`navigation/icon-nav-mail-outlined`,e.NAV_MAIL_FILLED=`navigation/icon-nav-mail-filled`,e.NAV_MAIL_INDICATOR_OUTLINED=`navigation/icon-nav-mail-indicator-outlined`,e.NAV_MAIL_INDICATOR_FILLED=`navigation/icon-nav-mail-indicator-filled`,e.ACTION_BULLET=`actions/icon-actions-bullet`,e.ACTION_DOWNLOAD=`actions/icon-actions-download`,e.ACTION_UPLOAD=`actions/icon-actions-upload`,e.ACTION_SORT=`actions/icon-actions-sort`,e.ACTION_FILTER=`actions/icon-actions-filter`,e.ACTION_BIN=`actions/icon-actions-bin`,e.ACTION_HEADPHONE_OUTLINED=`actions/icon-actions-headphones-outlined`,e.ACTION_HEADPHONE_FILLED=`actions/icon-actions-headphones-filled`,e.ACTION_EDIT=`actions/icon-actions-edit`,e.ACTION_COPY=`actions/icon-actions-copy`,e.ACTION_EYE=`actions/icon-actions-eye`,e.ACTION_EYE_SLASH=`actions/icon-actions-eye-slash`,e.ACTION_CLOCK=`actions/icon-actions-clock`,e.ACTION_TIMER=`actions/icon-actions-timer`,e.ACTION_TIMER_FILLED=`actions/icon-actions-timer-filled`,e.ACTION_CALENDAR=`actions/icon-actions-calendar`,e.ACTION_CASH=`actions/icon-actions-cash`,e.ACTION_CARD=`actions/icon-actions-card`,e.ACTION_COPY_LINK=`actions/icon-actions-copy-link`,e.ACTION_CI_CHEVRON_DOWN=`actions/icon-actions-circle-chevron-down`,e.ACTION_CI_CHEVRON_DOWN_FILLED=`actions/icon-actions-circle-chevron-down-filled`,e.ACTION_CI_CHEVRON_LEFT=`actions/icon-actions-circle-chevron-left`,e.ACTION_CI_CHEVRON_LEFT_FILLED=`actions/icon-actions-circle-chevron-left-filled`,e.ACTION_CI_CHEVRON_RIGHT=`actions/icon-actions-circle-chevron-right`,e.ACTION_CI_CHEVRON_RIGHT_FILLED=`actions/icon-actions-circle-chevron-right-filled`,e.ACTION_CI_CHEVRON_UP=`actions/icon-actions-circle-chevron-up`,e.ACTION_CI_CHEVRON_UP_FILLED=`actions/icon-actions-circle-chevron-up-filled`,e.ACTION_SYNC=`actions/icon-actions-sync`,e.ACTION_REDO=`actions/icon-actions-redo`,e.ACTION_UNDO=`actions/icon-actions-undo`,e.ACTION_ADDRESS_BOOK=`actions/icon-actions-address-book`,e.ACTION_PAGE_FIRST=`actions/icon-actions-page-first`,e.ACTION_PAGE_LAST=`actions/icon-actions-page-last`,e.ACTION_ARROW_DOWN=`actions/icon-actions-arrow-down`,e.ACTION_ARROW_LEFT=`actions/icon-actions-arrow-left`,e.ACTION_ARROW_RIGHT=`actions/icon-actions-arrow-right`,e.ACTION_ARROW_UP=`actions/icon-actions-arrow-up`,e.ACTION_APPS=`actions/icon-actions-apps`,e.ACTION_MOBILE=`actions/icon-actions-mobile`,e.ACTION_DIGITAL=`actions/icon-actions-digital`,e.ACTION_DESKTOP=`actions/icon-actions-desktop`,e.ACTION_IMAGE_
1UPLOAD=`actions/icon-actions-image-upload`,e.ACTION_DOC_PDF=`actions/icon-actions-document-pdf`,e.ACTION_COMMENTS=`actions/icon-actions-comments`,e.ACTION_SHARE_OUTLINED=`actions/icon-actions-share-outlined`,e.ACTION_SHARE_FILLED=`actions/icon-actions-share-filled`,e.ACTION_BOOKMARK_OUTLINED=`actions/icon-actions-bookmark-outlined`,e.ACTION_BOOKMARK_FILLED=`actions/icon-actions-bookmark-filled`,e.ACTION_LOCK_OUTLINED=`actions/icon-actions-lock-outlined`,e.ACTION_LOCK_FILLED=`actions/icon-actions-lock-filled`,e.ACTION_CAMERA_OUTLINED=`actions/icon-actions-camera-outlined`,e.ACTION_CAMERA_FILLED=`actions/icon-actions-camera-filled`,e.ACTION_DOC_OUTLINED=`actions/icon-actions-document-outlined`,e.ACTION_DOC_FILLED=`actions/icon-actions-document-filled`,e.ACTION_DOC_CHECK_OUTLINED=`actions/icon-actions-document-check-outlined`,e.ACTION_DOC_CHECK_FILLED=`actions/icon-actions-document-check-filled`,e.ACTION_RADIO_BTN_OUTLINED=`actions/icon-actions-radio-button-outlined`,e.ACTION_RADIO_BTN_FILLED=`actions/icon-actions-radio-button-filled`,e.ACTION_ADD=`actions/icon-actions-add`,e.ACTION_ADD_OUTLINED=`actions/icon-actions-add-outlined`,e.ACTION_ADD_FILLED=`actions/icon-actions-add-filled`,e.ACTION_REMOVE=`actions/icon-actions-remove`,e.ACTION_REMOVE_OUTLINED=`actions/icon-actions-remove-outlined`,e.ACTION_REMOVE_FILLED=`actions/icon-actions-remove-filled`,e.ACTION_CHECK=`actions/icon-actions-checkbox`,e.ACTION_CHECK_SELECTED=`actions/icon-actions-checkbox-selected`,e.ACTION_CHECK_NEUTRAL=`actions/icon-actions-checkbox-neutral`,e.ACTION_PRINT=`actions/icon-actions-print`,e.ACTION_GIFT=`actions/icon-actions-gift`,e.ACTION_TRANSLATE=`actions/icon-actions-translate`,e.ACTION_THUMBS_DOWN=`actions/icon-thumbs-down-small`,e.ACTION_THUMBS_UP=`actions/icon-thumbs-up-small`,e.STATUS_SUCCESS_OUTLINED=`status/icon-status-success`,e.STATUS_SUCCESS_FILLED=`status/icon-status-success-filled`,e.STATUS_WARNING_OUTLINED=`status/icon-status-warning`,e.STATUS_WARNING_FILLED=`status/icon-status-warning-filled`,e.STATUS_ALERT_OUTLINED=`status/icon-status-alert`,e.STATUS_ALERT_FILLED=`status/icon-status-alert-filled`,e.STATUS_ERROR_OUTLINED=`status/icon-status-error`,e.STATUS_ERROR_FILLED=`status/icon-status-error-filled`,e.STATUS_ELLIPSIS=`status/icon-status-ellipsis`,e.STATUS_LOADING_LARGE=`status/icon-status-loading-large`,e.MULTIMEDIA_PLAY=`multimedia/icon-multimedia-play`,e.MULTIMEDIA_PLAY_OUTLINED=`multimedia/icon-multimedia-play-outlined`,e.MULTIMEDIA_PLAY_FILLED=`multimedia/icon-multimedia-play-filled`,e.MULTIMEDIA_PAUSE=`multimedia/icon-multimedia-pause`,e.MULTIMEDIA_PAUSE_OUTLINED=`multimedia/icon-multimedia-pause-outlined`,e.MULTIMEDIA_PAUSE_FILLED=`multimedia/icon-multimedia-pause-filled`,e.MULTIMEDIA_STOP=`multimedia/icon-multimedia-stop`,e.MULTIMEDIA_RESUME=`multimedia/icon-multimedia-resume`,e.MULTIMEDIA_FAST_FORWARD=`multimedia/icon-multimedia-fast-forward`,e.MULTIMEDIA_FAST_REWIND=`multimedia/icon-multimedia-fast-rewind`,e.MULTIMEDIA_SKIP_NEXT=`multimedia/icon-multimedia-skip-next`,e.MULTIMEDIA_SKIP_PREVIOUS=`multimedia/icon-multimedia-skip-previous`,e.MULTIMEDIA_VOLUME=`multimedia/icon-multimedia-volume`,e.MULTIMEDIA_MUTE=`multimedia/icon-multimedia-mute`,e.MULTIMEDIA_PLAYLIST_ADD=`multimedia/icon-multimedia-playlist-add`,e.MULTIMEDIA_PLAYLIST_REMOVE=`multimedia/icon-multimedia-playlist-remove`,e.MULTIMEDIA_REPLAY=`multimedia/icon-multimedia-replay`,e.MULTIMEDIA_REPLAY_10=`multimedia/icon-multimedia-replay-10`,e.MULTIMEDIA_FORWARD_10=`multimedia/icon-multimedia-forward-10`,e.MULTIMEDIA_AIRPLAY_IOS_AUDIO=`multimedia/icon-multimedia-airplay-ios-audio`,e.MULTIMEDIA_CAST_ANDROID=`multimedia/icon-multimedia-cast-android`,e.MULTIMEDIA_AIRPLAY_IOS_VIDEO=`multimedia/icon-multimedia-airplay-ios-video`,e.MULTIMEDIA_QUEUE_ADD=`multimedia/icon-multimedia-queue-add`,e.MULTIMEDIA_QUEUE_REMOVE=`multimedia/icon-multimedia-queue-remove`,e.MULTIMEDIA_DOWNLOAD_CLOUD=`multimedia/icon-multimedia-download-cloud`,e.MULTIMEDIA_DOWNLOAD_OFFLINE=`multimedia/icon-multimedia-download-offline`,e.MULTIMEDIA_DOWNLOADING=`multimedia/icon-multimedia-downloading`,e.MULTIMEDIA_DOWNLOADED=`multimedia/icon-multimedia-downloaded`,e.MULTIMEDIA_DOWNLOADING_BLANK=`multimedia/icon-multimedia-downloading-blank`,e.SOCIAL_APPSTORE=`social/icon-social-appstore`,e.SOCIAL_APPSTORE_LARGE=`social/icon-social-appstore-large`,e.SOCIAL_FACEBOOK=`social/icon-social-facebook`,e.SOCIAL_FACEBOOK_COLOURED=`social/icon-social-facebook-coloured`,e.SOCIAL_GOOGLE=`social/icon-social-google`,e.SOCIAL_MESSENGER=`social/icon-social-messenger`,e.SOCIAL_MESSENGER_COLOURED=`social/icon-social-messenger-coloured`,e.SOCIAL_PLAYSTORE=`social/icon-social-playstore`,e.SOCIAL_PLAYSTORE_LARGE=`social/icon-social-playstore-large`,e.SOCIAL_WHATSAPP=`social/icon-social-whatsapp`,e.SO
1CIAL_WHATSAPP_COLOURED=`social/icon-social-whatsapp-coloured`,e.SOCIAL_INSTAGRAM=`social/icon-social-instagram`,e.SOCIAL_INSTAGRAM_COLOURED=`social/icon-social-instagram-coloured`,e.SOCIAL_YOUTUBE=`social/icon-social-youtube`,e.SOCIAL_YOUTUBE_COLOURED=`social/icon-social-youtube-coloured`,e.SOCIAL_SINGTEL=`social/icon-social-singtel`,e.SOCIAL_SPHMEDIA=`social/icon-social-sphmedia`,e.SOCIAL_SPHMEDIA_LARGE=`social/icon-social-sphmedia-large`,e.SOCIAL_SUBSTACK=`social/icon-social-substack`,e.SOCIAL_TWITTER=`social/icon-social-twitter`,e.SOCIAL_TELEGRAM=`social/icon-social-telegram`,e.SOCIAL_TELEGRAM_COLOURED=`social/icon-social-telegram-coloured`,e.SOCIAL_TIKTOK=`social/icon-social-tiktok`,e.SOCIAL_LINKEDIN=`social/icon-social-linkedin`,e.SOCIAL_LINKEDIN_COLOURED=`social/icon-social-linkedin-coloured`,e.SOCIAL_RSS=`social/icon-social-rss`,e.RED_HEART=`react/redheart`,e.SYMBOL_QUOTE_COLOURED=`symbol/icon-symbol-quote-coloured`,e.SYMBOL_SUBSCRIBER_EXCLUSIVE_COLOURED=`symbol/icon-symbol-subscriber-exclusive-coloured`,e}({}),N=function(e){return e.XXL=`53px`,e.XL=`42px`,e.LARGE=`32px`,e.REGULAR=`24px`,e.SMALL=`16px`,e.XS=`12px`,e}({}),de=e=>{let t;switch(e){case`icon-loader`:t=`Loader`;break;case`logo/full-logo-white`:case`logo/full-logo-default`:case`logo/initial-logo-white`:case`logo/initial-logo-default`:t=`ST Logo`;break;case`app-store`:t=`App Store Logo`;break;case`play-store`:t=`Play Store Logo`;break;case`placeholder/icon-placeholder-outlined`:case`placeholder/icon-placeholder`:t=`Placeholder`;break;case`menu/icon-menu-home-outlined`:case`menu/icon-menu-home-filled`:t=`Menu Home`;break;case`menu/icon-menu-latest-outlined`:case`menu/icon-menu-latest-filled`:t=`Men Latest`;break;case`menu/icon-menu-star-outlined`:case`menu/icon-menu-star-filled`:t=`Menu Star`;break;case`menu/icon-menu-paper-outlined`:case`menu/icon-menu-paper-filled`:t=`Menu Paper`;break;case`menu/icon-menu-compass-outlined`:case`menu/icon-menu-compass-filled`:t=`Menu Compass`;break;case`menu/icon-menu-smart`:t=`Menu Smart`;break;case`menu/icon-menu-hamburger`:t=`Menu Hamurger`;break;case`menu/icon-menu-hamburger-search`:t=`Menu Hamburger Search`;break;case`navigation/icon-nav-chevron-left`:t=`Navigation Chevron Left`;break;case`navigation/icon-nav-chevron-right`:t=`Navigation Chevron Right`;break;case`navigation/icon-nav-search`:t=`Navigation Search`;break;case`navigation/icon-nav-cross`:t=`Navigation Cross`;break;case`navigation/icon-nav-refresh`:t=`Navigation Refresh`;break;case`navigation/icon-nav-expand-more`:t=`Navigation Expand More`;break;case`navigation/icon-nav-expand-less`:t=`Navigation Expand Less`;break;case`navigation/icon-nav-external`:t=`Navigation External`;break;case`navigation/icon-nav-external-small`:t=`Navigation External small`;break;case`navigation/icon-nav-list`:t=`Navigation List `;break;case`navigation/icon-nav-expand`:t=`Navigation Expand`;break;case`navigation/icon-nav-unfold-less`:t=`Navigation Unfold Less`;break;case`navigation/icon-nav-unfold-more`:t=`Navigation Unfold More`;break;case`navigation/icon-nav-more-horizontal`:t=`Navigation More Horizontal`;break;case`navigation/icon-nav-more-vertical`:t=`Navigation More Vertical`;break;case`navigation/icon-nav-globe`:t=`Navigation Globe`;break;case`navigation/icon-nav-fullscreen`:t=`Navigation Fullscreen`;break;case`navigation/icon-nav-fullscreen-exit`:t=`Navigation Fullscreen exit`;break;case`navigation/icon-nav-logout-exit`:t=`Navigation Logout Exit`;break;case`navigation/icon-nav-login`:t=`Navigation Login`;break;case`navigation/icon-nav-widgets`:t=`Navigation Widgets`;break;case`navigation/icon-nav-gear-outlined`:case`navigation/icon-nav-gear-filled`:t=`Navigation Gear`;break;case`navigation/icon-nav-user-outlined`:case`navigation/icon-nav-user-filled`:t=`Navigation User`;break;case`navigation/icon-nav-information-outlined`:case`navigation/icon-nav-information-filled`:t=`Navigation Info`;break;case`navigation/icon-nav-help-outlined`:case`navigation/icon-nav-help-filled`:t=`Navigation Help`;break;case`navigation/icon-nav-bell-outlined`:case`navigation/icon-nav-bell-filled`:t=`Navigation Bell`;break;case`navigation/icon-nav-bell-indicator-outlined`:case`navigation/icon-nav-bell-indicator-filled`:t=`Navigation Bell With Indicator`;break;case`navigation/icon-nav-mail-outlined`:case`navigation/icon-nav-mail-filled`:t=`Navigation Mail`;break;case`navigation/icon-nav-mail-indicator-outlined`:case`navigation/icon-nav-mail-indicator-filled`:t=`Navigation Mail With Indicator`;break;case`actions/icon-actions-bullet`:t=`Action Bullet`;break;case`actions/icon-actions-download`:t=`Action Download`;break;case`actions/icon-actions-upload`:t=`Action Upload`;break;case`actions/icon-actions-sort`:t=`Action Sort`;break;case`actions/icon-actions-filter`:t=`Action Filter`;break;case`actions/icon-actions-bin`:t=`Action Bin`;break;case`actions/icon-actions-headphones-outlined`:case`actions/icon-actions-headphones-filled`:t=`Action Headphone`;break;case`actions/icon-actions-edit`:t=`Action Edit`;break;case`actions/icon-actions-copy`:t=`Action Copy`;break;case`actions/icon-actions-eye`:t=`Action Eye`;break;case`actions/icon-actions-eye-slash`:t=`Action Eye Slash`;break;case`actions/icon-actions-clock`:t=`Action Clock`;break;case`actions/icon-actions-timer`:t=`Action Timer`;break;case`actions/icon-actions-calendar`:t=`Action Calendar`;break;case`actions/icon-actions-cash`:t=`Action Cash`;break;case`actions/icon-actions-card`:t=`Action Card`;break;case`actions/icon-actions-copy-link`:t=`Action Copy Link`;break;case`actions/icon-actions-circle-chevron-down`:case`actions/icon-actions-circle-chevron-down-filled`:t=`Action Circle Chevron Down`;break;case`actions/icon-actions-circle-chevron-left`:case`actions/icon-actions-circle-chevron-left-filled`:t=`Action Circle Chevron Left`;break;case`actions/icon-actions-circle-chevron-right`:case`actions/icon-actions-circle-chevron-right-filled`:t=`Action Circle Chevron Right`;break;case`actions/icon-actions-circle-chevron-up`:case`actions/icon-actions-circle-chevron-up-filled`:t=`Action Circle Chevron Up`;break;case`actions/icon-actions-sync`:t=`Action Sync`;break;case`actions/icon-actions-redo`:t=`Action Redo`;break;case`actions/icon-actions-undo`:t=`Action Undo`;break;case`actions/icon-actions-address-book`:t=`Action Address Book`;break;case`actions/icon-actions-page-first`:t=`Action Page First`;break;case`actions/icon-actions-page-last`:t=`Action Page Last`;break;case`actions/icon-actions-arrow-down`:t=`Action Arrow Down`;break;case`actions/icon-actions-arrow-left`:t=`Action Arrow Left`;break;case`actions/icon-actions-arrow-right`:t=`Action Arrow Right`;break;case`actions/icon-actions-arrow-up`:t=`Action Arrow Up`;break;case`actions/icon-actions-apps`:t=`Action Apps`;break;case`actions/icon-actions-mobile`:t=`Action Mobile`;break;case`actions/icon-actions-digital`:t=`Action Digital`;break;case`actions/icon-actions-desktop`:t=`Action Desktop`;break;case`actions/icon-actions-image-upload`:t=`Action Image Upload`;break;case`actions/icon-actions-document-pdf`:t=`Action Document PDF`;break;case`actions/icon-actions-comments`:t=`Action Comments`;break;case`actions/icon-actions-share-outlined`:case`actions/icon-actions-share-filled`:t=`Action Share`;break;case`actions/icon-actions-bookmark-outlined`:case`actions/icon-actions-bookmark-filled`:t=`Action Bookmark`;break;case`actions/icon-actions-lock-outlined`:case`actions/icon-actions-lock-filled`:t=`Action Lock`;break;case`actions/icon-actions-camera-outlined`:case`actions/icon-actions-camera-filled`:t=`Action Camera`;break;case`actions/icon-actions-document-outlined`:case`actions/icon-actions-document-filled`:t=`Action Documnent`;break;case`actions/icon-actions-document-check-outlined`:case`actions/icon-actions-document-check-filled`:t=`Action Document Check`;break;case`actions/icon-actions-radio-button-outlined`:case`actions/icon-actions-radio-button-filled`:t=`Action Radio Button`;break;case`actions/icon-actions-add`:case`actions/icon-actions-add-outlined`:case`actions/icon-actions-add-filled`:t=`Action Add`;break;case`actions/icon-actions-remove`:case`actions/icon-actions-remove-outlined`:case`actions/icon-actions-remove-filled`:t=`Action Remove`;break;case`actions/icon-actions-checkbox`:case`actions/icon-actions-checkbox-neutral`:t=`Action Checkbox`;break;case`actions/icon-actions-checkbox-selected`:t=`Action Checkboox Checked`;break;case`actions/icon-actions-print`:t=`Action Print`;break;case`actions/icon-actions-gift`:t=`Action Gift`;break;case`actions/icon-actions-translate`:t=`Action Translate`;break;case`actions/icon-thumbs-down-small`:t=`Action Thumbs Down`;break;case`actions/icon-thumbs-up-small`:t=`Action Thumbs Up`;break;case`status/icon-status-success`:case`status/icon-status-success-filled`:t=`Status Success`;break;case`status/icon-status-warning`:case`status/icon-status-warning-filled`:t=`Status Warning`;break;case`status/icon-status-alert`:case`status/icon-status-alert-filled`:t=`Status Alert`;break;case`status/icon-status-error`:case`status/icon-status-error-filled`:t=`Status Error`;break;case`status/icon-status-ellipsis`:t=`Ellipsis`;break;case`status/icon-status-loading-large`:t=`Loading large`;break;case`multimedia/icon-multimedia-play`:t=`Multimedia Play`;break;case`multimedia/icon-multimedia-play-outlined`:t=`Multimedia Play`;break;case`multimedia/icon-multimedia-play-filled`:t=`Multimedia Play`;break;case`multimedia/icon-multimedia-pause`:t=`Multimedia Pause`;break;case`multimedia/icon-multimedia-pause-outlined`:t=`Multimedia Pause`;break;case`multimedia/icon-multimedia-pause-filled`:t=`Multimedia Pause`;break;
1case`multimedia/icon-multimedia-stop`:t=`Multimedia Stop`;break;case`multimedia/icon-multimedia-resume`:t=`Multimedia Resume`;break;case`multimedia/icon-multimedia-fast-forward`:t=`Multimedia Fast Forward`;break;case`multimedia/icon-multimedia-fast-rewind`:t=`Multimedia Fast Rewind`;break;case`multimedia/icon-multimedia-skip-next`:t=`Multimedia Skip Next`;break;case`multimedia/icon-multimedia-skip-previous`:t=`Multimedia Skip Previous`;break;case`multimedia/icon-multimedia-volume`:t=`Multimedia Volume`;break;case`multimedia/icon-multimedia-mute`:t=`Multimedia Mute`;break;case`multimedia/icon-multimedia-playlist-add`:t=`Multimedia Playlist Add`;break;case`multimedia/icon-multimedia-playlist-remove`:t=`Multimedia Playlist Remove`;break;case`multimedia/icon-multimedia-replay`:t=`Multimedia Replay`;break;case`multimedia/icon-multimedia-replay-10`:t=`Multimedia Replay 10s`;break;case`multimedia/icon-multimedia-forward-10`:t=`Multimedia Forward 10s`;break;case`multimedia/icon-multimedia-airplay-ios-audio`:t=`Multimedia Airplay IOS Audio`;break;case`multimedia/icon-multimedia-cast-android`:t=`Multimedia Cast Android`;break;case`multimedia/icon-multimedia-airplay-ios-video`:t=`Multimedia Airplay IOS Video`;break;case`multimedia/icon-multimedia-queue-add`:t=`Multimedia Queue Add`;break;case`multimedia/icon-multimedia-queue-remove`:t=`Multimedia Queue Remove`;break;case`multimedia/icon-multimedia-download-cloud`:t=`Multimedia Download Cloud`;break;case`multimedia/icon-multimedia-download-offline`:t=`Multimedia Download Offline`;break;case`multimedia/icon-multimedia-downloading`:t=`Multimedia Downloading`;break;case`multimedia/icon-multimedia-downloaded`:t=`Multimedia Downloaded`;break;case`multimedia/icon-multimedia-downloading-blank`:t=`Multimedia Downloading Blank`;break;case`social/icon-social-appstore`:case`social/icon-social-appstore-large`:t=`App Store icon`;break;case`social/icon-social-facebook`:t=`Facebook`;break;case`social/icon-social-facebook-coloured`:t=`Facebook`;break;case`social/icon-social-google`:t=`Google`;break;case`social/icon-social-messenger`:t=`Messenger`;break;case`social/icon-social-messenger-coloured`:t=`Messenger`;break;case`social/icon-social-playstore`:case`social/icon-social-playstore-large`:t=`Google Play Store icon`;break;case`social/icon-social-instagram`:t=`Instagram`;break;case`social/icon-social-instagram-coloured`:t=`Instagram`;break;case`social/icon-social-whatsapp`:t=`Whatsapp`;break;case`social/icon-social-whatsapp-coloured`:t=`Whatsapp`;break;case`social/icon-social-youtube`:t=`Youtube`;break;case`social/icon-social-youtube-coloured`:t=`Youtube`;break;case`social/icon-social-singtel`:t=`Singtel icon`;break;case`social/icon-social-sphmedia`:case`social/icon-social-sphmedia-large`:t=`SPH Media icon`;break;case`social/icon-social-twitter`:t=`Twitter`;break;case`social/icon-social-telegram`:t=`Telegram`;break;case`social/icon-social-telegram-coloured`:t=`Telegram`;break;case`social/icon-social-tiktok`:t=`Tiktok`;break;case`social/icon-social-linkedin`:t=`LinkedIn`;break;case`social/icon-social-substack`:t=`Substack-icon`;break;case`social/icon-social-linkedin-coloured`:t=`LinkedIn`;break;case`social/icon-social-rss`:t=`RSS`;break;case`symbol/icon-symbol-quote-coloured`:t=`Quote`;break;case`symbol/icon-symbol-subscriber-exclusive-coloured`:t=`Subscriber Exclusive`;break;case`actions/icon-actions-arrow-down-blue-small`:t=`downarrow-small`;break;case`actions/icon-actions-arrow-up-small`:t=`up-small`;break}return{altText:t}},fe=`-`,pe=e=>{let t=_e(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split(fe);return n[0]===``&&n.length!==1&&n.shift(),me(n,t)||ge(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},me=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?me(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join(fe);return t.validators.find(({validator:e})=>e(a))?.classGroupId},he=/^\[(.+)\]$/,ge=e=>{if(he.test(e)){let t=he.exec(e)[1],n=t?.substring(0,t.indexOf(`:`));if(n)return`arbitrary..`+n}},_e=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};
vendor: 16,559 bytes, line 1
1return xe(Object.entries(e.classGroups),n).forEach(([e,n])=>{ve(n,r,e,t)}),r},ve=(e,t,n,r)=>{e.forEach(e=>{if(typeof e==`string`){let r=e===``?t:ye(t,e);r.classGroupId=n;return}if(typeof e==`function`){if(be(e)){ve(e(r),t,n,r);return}t.validators.push({validator:e,classGroupId:n});return}Object.entries(e).forEach(([e,i])=>{ve(i,ye(t,e),n,r)})})},ye=(e,t)=>{let n=e;return t.split(fe).forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},be=e=>e.isThemeGetter,xe=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>typeof e==`string`?t+e:typeof e==`object`?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,Se=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=new Map,r=new Map,i=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);if(t!==void 0)return t;if((t=r.get(e))!==void 0)return i(e,t),t},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},Ce=`!`,we=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],a=t.length,o=e=>{let n=[],o=0,s=0,c;for(let l=0;l<e.length;l++){let u=e[l];if(o===0){if(u===i&&(r||e.slice(l,l+a)===t)){n.push(e.slice(s,l)),s=l+a;continue}if(u===`/`){c=l;continue}}u===`[`?o++:u===`]`&&o--}let l=n.length===0?e:e.substring(s),u=l.startsWith(Ce);return{modifiers:n,hasImportantModifier:u,baseClassName:u?l.substring(1):l,maybePostfixModifierPosition:c&&c>s?c-s:void 0}};return n?e=>n({className:e,parseClassName:o}):o},Te=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{e[0]===`[`?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},Ee=e=>({cache:Se(e.cacheSize),parseClassName:we(e),...pe(e)}),De=/\s+/,Oe=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(De),s=``;for(let e=o.length-1;e>=0;--e){let t=o[e],{modifiers:c,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:d}=n(t),f=!!d,p=r(f?u.substring(0,d):u);if(!p){if(!f){s=t+(s.length>0?` `+s:s);continue}if(p=r(u),!p){s=t+(s.length>0?` `+s:s);continue}f=!1}let m=Te(c).join(`:`),h=l?m+Ce:m,g=h+p;if(a.includes(g))continue;a.push(g);let _=i(p,f);for(let e=0;e<_.length;++e){let t=_[e];a.push(h+t)}s=t+(s.length>0?` `+s:s)}return s};function ke(){let e=0,t,n,r=``;for(;e<arguments.length;)(t=arguments[e++])&&(n=Ae(t))&&(r&&(r+=` `),r+=n);return r}var Ae=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Ae(e[r]))&&(n&&(n+=` `),n+=t);return n};function je(e,...t){let n,r,i,a=o;function o(o){return n=Ee(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)}function s(e){let t=r(e);if(t)return t;let a=Oe(e,n);return i(e,a),a}return function(){return a(ke.apply(null,arguments))}}var Me=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},Ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,Pe=/^\d+\/\d+$/,Fe=new Set([`px`,`full`,`screen`]),Ie=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Le=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Re=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ze=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Be=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ve=e=>Ue(e)||Fe.has(e)||Pe.test(e),He=e=>tt(e,`length`,nt),Ue=e=>!!e&&!Number.isNaN(Number(e)),We=e=>tt(e,`number`,Ue),Ge=e=>!!e&&Number.isInteger(Number(e)),Ke=e=>e.endsWith(`%`)&&Ue(e.slice(0,-1)),P=e=>Ne.test(e),qe=e=>Ie.test(e),Je=new Set([`length`,`size`,`percentage`]),Ye=e=>tt(e,Je,rt),Xe=e=>tt(e,`position`,rt),Ze=new Set([`image`,`url`]),Qe=e=>tt(e,Ze,at),$e=e=>tt(e,``,it),et=()=>!0,tt=(e,t,n)=>{let r=Ne.exec(e);return r?r[1]?typeof t==`string`?r[1]===t:t.has(r[1]):n(r[2]):!1},nt=e=>Le.test(e)&&!Re.test(e),rt=()=>!1,it=e=>ze.test(e),at=e=>Be.test(e),F=je(()=>{let e=Me(`colors`),t=Me(`spacing`),n=Me(`blur`),r=Me(`brightness`),i=Me(`borderColor`),a=Me(`borderRadius`),o=Me(`borderSpacing`),s=Me(`borderWidth`),c=Me(`contrast`),l=Me(`grayscale`),u=Me(`hueRotate`),d=Me(`invert`),f=Me(`gap`),p=Me(`gradientColorStops`),m=Me(`gradientColorStopPositions`),h=Me(`inset`),g=Me(`margin`),_=Me(`opacity`),v=Me(`padding`),y=Me(`saturate`),b=Me(`scale`),x=Me(`sepia`),S=Me(`skew`),C=Me(`space`),w=Me(`translate`),T=()=>[`auto`,`contain`,`none`],E=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],D=()=>[`auto`,P,t],O=()=>[P,t],k=()=>[``,Ve,He],A=()=>[`auto`,Ue,P],ee=()=>[`bottom`,`center`,`left`,`left-bottom`,`left-top`,`right`,`right-bottom`,`right-top`,`top`],te=()=>[`solid`,`dashed`,`dotted`,`double`,`none`],ne=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],re=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`],ie=()=>[``,`0`,P],ae=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],oe=()=>[Ue,P];return{cacheSize:500,separator:`:`,theme:{colors:[et],spacing:[Ve,He],blur:[`none`,``,qe,P],brightness:oe(),borderColor:[e],borderRadius:[`none`,``,`full`,qe,P],borderSpacing:O(),borderWidth:k(),contrast:oe(),grayscale:ie(),hueRotate:oe(),invert:ie(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[Ke,He],inset:D(),margin:D(),opacity:oe(),padding:O(),saturate:oe(),scale:oe(),sepia:ie(),skew:oe(),space:O(),translate:O()},classGroups:{aspect:[{aspect:[`auto`,`square`,`video`,P]}],container:[`container`],columns:[{columns:[qe]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:[...ee(),P]}],overflow:[{overflow:E()}],"overflow-x":[{"overflow-x":E()}],"overflow-y":[{"overflow-y":E()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[`auto`,Ge,P]}],basis:[{basis:D()}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`wrap`,`wrap-reverse`,`nowrap`]}],flex:[{flex:[`1`,`auto`,`initial`,`none`,P]}],grow:[{grow:ie()}],shrink:[{shrink:ie()}],order:[{order:[`first`,`last`,`none`,Ge,P]}],"grid-cols":[{"grid-cols":[et]}],"col-start-end":[{col:[`auto`,{span:[`full`,Ge,P]},P]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[et]}],"row-start-end":[{row:[`auto`,{span:[Ge,P]},P]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":[`auto`,`min`,`max`,`fr`,P]}],"auto-rows":[{"auto-rows":[`auto`,`min`,`max`,`fr`,P]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:[`normal`,...re()]}],"justify-items":[{"justify-items":[`start`,`end`,`center`,`stretch`]}],"justify-self":[{"justify-self":[`auto`,`start`,`end`,`center`,`stretch`]}],"align-content":[{content:[`normal`,...re(),`baseline`]}],"align-items":[{items:[`start`,`end`,`center`,`baseline`,`stretch`]}],"align-self":[{self:[`auto`,`start`,`end`,`center`,`stretch`,`baseline`]}],"place-content":[{"place-content":[...re(),`baseline`]}],"place-items":[{"place-items":[`start`,`end`,`center`,`baseline`,`stretch`]}],"place-self":[{"place-self":[`auto`,`start`,`end`,`center`,`stretch`]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[C]}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":[C]}],"space-y-reverse":[`space-y-reverse`],w:[{w:[`auto`,`min`,`max`,`fit`,`svw`,`lvw`,`dvw`,P,t]}],"min-w":[{"min-w":[P,t,`min`,`max`,`fit`]}],"max-w":[{"max-w":[P,t,`none`,`full`,`min`,`max`,`fit`,`prose`,{screen:[qe]},qe]}],h:[{h:[P,t,`auto`,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"min-h":[{"min-h":[P,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"max-h":[{"max-h":[P,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],size:[{size:[P,t,`auto`,`min`,`max`,`fit`]}],"font-size":[{text:[`base`,qe,He]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`,We]}],"font-family":[{font:[et]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`,P]}],"line-clamp":[{"line-clamp":[`none`,Ue,We]}],leading:[{leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`,Ve,P]}],"list-image":[{"list-image":[`none`,P]}],"list-style-type":[{list:[`none`,`disc`,`decimal`,P]}],"list-style-position":[{list:[`inside`,`outside`]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...te(),`wavy`]}],"text-decoration-thickness":[{decoration:[`auto`,`from-font`,Ve,He]}],"underline-offset":[{"underline-offset":[`auto`,Ve,P]}],"text-decoration-color":[{decoration:[e]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:O()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,P]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,P]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:[...ee(),Xe]}],"bg-repeat":[{bg:[`no-repeat`,{repeat:[``,`x`,`y`,`round`,`space`]}]}],"bg-size":[{bg:[`auto`,`cover`,`contain`,Ye]}],"bg-image":[{bg:[`none`,{"gradient-to":[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Qe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...te(),`hidden`]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":[`divide-y-reverse`],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:te()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[``,...te()]}],"outline-offset":[{"outline-offset":[Ve,P]}],"outline-w":[{outline:[Ve,He]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:k()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[Ve,He]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:[``,`inner`,`none`,qe,$e]}],"shadow-color":[{shadow:[et]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...ne(),`plus-lighter`,`plus-darker`]}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:[``,`none`]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":[``,`none`,qe,P]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":[``,`none`]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[`none`,`all`,``,`colors`,`opacity`,`shadow`,`transform`,P]}],duration:[{duration:oe()}],ease:[{ease:[`linear`,`in`,`out`,`in-out`,P]}],delay:[{delay:oe()}],animate:[{animate:[`none`,`spin`,`ping`,`pulse`,`bounce`,P]}],transform:[{transform:[``,`gpu`,`none`]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[Ge,P]}],"translate-x":[{"translate-x":[w]}],"translate-y":[{"translate-y":[w]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:[`center`,`top`,`top-right`,`right`,`bottom-right`,`bottom`,`bottom-left`,`left`,`top-left`,P]}],accent:[{accent:[`auto`,e]}],appearance:[{appearance:[`none`,`auto`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,P]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":[`none`,`auto`]}],resize:[{resize:[`none`,`y`,`x`,``]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}
1],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,P]}],fill:[{fill:[e,`none`]}],"stroke-w":[{stroke:[Ve,He,We]}],stroke:[{stroke:[e,`none`]}],sr:[`sr-only`,`not-sr-only`],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-s`,`border-w-e`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-s`,`border-color-e`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]}}}),I=l();function ot({show:e=!1,testId:t=`st-loader-test-id`}){return(0,I.jsx)(`div`,{className:F(`st-loader`,!e&&`hidden`,`transition-all duration-500 ease-linear`),"data-testid":t,children:(0,I.jsxs)(`div`,{className:`st-loader-wrapper`,children:[(0,I.jsxs)(`div`,{className:`st-loader-logo`,children:[(0,I.jsxs)(`div`,{className:`inner-spinner`,children:[(0,I.jsx)(`i`,{className:`blue`}),(0,I.jsx)(`i`,{className:`red`}),(0,I.jsx)(`i`,{className:`yellow`}),(0,I.jsx)(`i`,{className:`green`})]}),(0,I.jsx)(X,{iconName:M.ST_INITIAL_LOGO_DEFAULT})]}),(0,I.jsx)(`div`,{className:`loading`,children:`LOADING `})]})})}var st=()=>(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(`div`,{className:`col-span-4 tablet:col-span-12 desktop:col-span-full w-full flex items-center justify-center h-400`,"data-testid":`account-hub-loader-test-id`,children:(0,I.jsx)(X,{iconName:M.STATUS_LOADING_LARGE,className:`icon-primary animate-spin origin-center`,iconWidth:`32`,symmetric:!0})})}),ct=function(e){return e.CUSTOM=`custom_event`,e.VIRTUAL_PV=`virtual_pv`,e}({}),lt=function(e){return e.ADVANCED_SEARCH=`advanced search`,e.CAROUSEL_STORIES=`carousel stories`,e.MYST=`myst`,e.NEWSLETTER_SIGN_UP=`newsletter sign up`,e.STORIES_FEATURE=`stories-feature`,e.READ_THE_FULL_STORY=`read the full story`,e.CLICK_LEFT=`click left`,e.CLICK_RIGHT=`click right`,e.CLICK=`click`,e.BOOKMARK=`bookmark`,e.SHOPPING_WIDGET=`shopping widget`,e.TTS=`tts`,e.AI_SUMMARY=`ai summary`,e.DEEPER_DIVE=`deeperdive`,e.TRANSLATION_CTA=`translation cta`,e.TRANSLATE_FEEDBACK=`feedback widget`,e.AB_VARIANT=`ab variant`,e.SUBSCRIBE=`subscribe`,e.ACCOUNT_HUB=`account hub`,e.LOGIN=`login`,e.LOGOUT=`logout`,e}({}),ut=()=>_&&window.dataLayer!==void 0,dt=()=>
1{ut()||(window.dataLayer=[])};function ft({eventName:e=ct.CUSTOM,eventCategory:t=``,eventAction:n=``,eventLabel:r=``,click_reference:i=``}){dt(),_&&window.dataLayer.push({event:e,eventCategory:t,eventAction:n,eventLabel:r,click_reference:i})}function pt({eventName:e=ct.CUSTOM,eventCategory:t=``,eventAction:n=``,eventLabel:r=``,abVariant:i=``,abVariant_user:a=``}){dt(),_&&window.dataLayer.push({event:e,eventCategory:t,eventAction:n,eventLabel:r,abVariant:i,abVariant_user:a})}function mt(e,t){dt(),_&&window.dataLayer.push({event:e,...t})}function ht({array:e,length:t=2}){return e.reduce((e,n,r)=>(r%t===0?e.push([n]):e[e.length-1].push(n),e),[])}var gt=e=>e===`true`,_t={MANAGE_NEWSLETTER_PAGE:gt(`true`),CONSENT_MULTI_SIGNUP_PAGE:gt(`true`),CONSENT_SINGLE_SIGNUP_PAGE:gt(`true`),CONSENT_UNSUBSCRIBE:gt(`true`),ACCOUNT_HUB_ENTRYPOINT:gt(`true`),GOOGLE_EXTENDED:gt(`true`),SEND_FEEDBACK_REFACTOR:gt(`true`),MHA_FORM_REFACTOR:gt(`false`),READING_HISTORY:gt(`false`),MYSPH_DISPLAY_NAME_SWITCH:gt(`false`),ESAAS_GA_TAGGING:gt(`true`),SWITCH_GOOGLE_PREFERRED_SOURCE:gt(`true`),BFF_HOME_AD_FIRST_SLOT:gt(`true`)},vt=[`serviceType`,`mySPHUserType`,`mysphw`,`mysph_lr`,`loginid`,`visitorcat`,`sph-auth-jwt`,`svc`],L=n(s(),1),yt=e=>{let t,n=new Set,r=(e,r)=>{let i=typeof e==`function`?e(t):e;if(!Object.is(i,t)){let e=t;t=r??(typeof i!=`object`||!i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>o,subscribe:e=>(n.add(e),()=>n.delete(e))},o=t=e(r,i,a);return a},bt=(e=>e?yt(e):yt),xt=e=>e;function St(e,t=xt){let n=L.useSyncExternalStore(e.subscribe,L.useCallback(()=>t(e.getState()),[e,t]),L.useCallback(()=>t(e.getInitialState()),[e,t]));return L.useDebugValue(n),n}var Ct=e=>{let t=bt(e),n=e=>St(t,e);return Object.assign(n,t),n},wt=(e=>e?Ct(e):Ct),Tt=e=>!!e.dispatchFromDevtools&&typeof e.dispatch==`function`,Et=new Map,Dt=e=>{let t=Et.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},Ot=(e,t,n)=>{if(e===void 0)return{type:`untracked`,connection:t.connect(n)};let r=Et.get(n.name);if(r)return{type:`tracked`,store:e,...r};let i={connection:t.connect(n),stores:{}};return Et.set(n.name,i),{type:`tracked`,store:e,...i}},kt=(e,t)=>{if(t===void 0)return;let n=Et.get(e);n&&(delete n.stores[t],Object.keys(n.stores).length===0&&Et.delete(e))},At=/.+ (.+) .+/,jt=/^([^@]+)@/;function Mt(e){if(!e)return;let t=e.split(` 2`),n=t.findIndex(e=>e.includes(`api.setState`));if(n<0)return;let r=t[n+1]?.trim()||``;return At.exec(r)?.[1]||jt.exec(r)?.[1]}var Nt=(e,t={})=>(n,r,i)=>{let{enabled:a,anonymousActionType:o,store:s,...c}=t,l;try{l=(a??!1)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!l)return e(n,r,i);let{connection:u,...d}=Ot(s,l,c),f=!0;i.setState=((e,t,a)=>{let l=n(e,t);if(!f)return l;let d=a===void 0?{type:o||Mt(Error().stack)||`anonymous`}:typeof a==`string`?{type:a}:a;return s===void 0?(u?.send(d,r()),l):(u?.send({...d,type:`${s}/${d.type}`},{...Dt(c.name),[s]:i.getState()}),l)}),i.devtools={cleanup:()=>{u&&typeof u.unsubscribe==`function`&&u.unsubscribe(),kt(c.name,s)}};let p=(...e)=>{let t=f;f=!1,n(...e),f=t},m=e(i.setState,r,i);if(d.type===`untracked`?u?.init(m):(d.stores[d.store]=i,u?.init(Object.fromEntries(Object.entries(d.stores).map(([e,t])=>[e,e===d.store?m:t.getState()])))),Tt(i)){let e=i.dispatch;i.dispatch=(...t)=>{e(...t)}}return u.subscribe(e=>{switch(e.type){case`ACTION`:if(typeof e.payload!=`string`){console.error(`[zustand devtools middleware] Unsupported action format`);return}return Pt(e.payload,e=>{if(e.type===`__setState`){if(s===void 0){p(e.state);return}Object.keys(e.state).length!==1&&console.error(` 3 [zustand devtools middleware] Unsupported __setState action format. 4 When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(), 5 and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } } 6 `);let t=e.state[s];if(t==null)return;JSON.stringify(i.getState())!==JSON.stringify(t)&&p(t);return}Tt(i)&&i.dispatch(e)});case`DISPATCH`:switch(e.payload.type){case`RESET`:return p(m),s===void 0?u?.init(i.getState()):u?.init(Dt(c.name));case`COMMIT`:if(s===void 0){u?.init(i.getState());return}return u?.init(Dt(c.name));case`ROLLBACK`:return Pt(e.state,e=>{if(s===void 0){p(e),u?.init(i.getState());return}p(e[s]),u?.init(Dt(c.name))});case`JUMP_TO_STATE`:case`JUMP_TO_ACTION`:return Pt(e.state,e=>{if(s===void 0){p(e);return}JSON.stringify(i.getState())!==JSON.stringify(e[s])&&p(e[s])});case`IMPORT_STATE`:{let{nextLiftedState:t}=e.payload,n=t.computedStates.slice(-1)[0]?.state;if(!n)return;p(s===void 0?n:n[s]),u?.send(null,t);return}case`PAUSE_RECORDING`:return f=!f}return}}),m},Pt=(e,t)=>{let n;try{n=JSON.parse(e)}catch(e){console.error(`[zustand devtools middleware] Could not parse the received json`,e)}n!==void 0&&t(n)}
6,Ft=function(e){return e.SUBSCRIBER=`y-sub`,e.REGISTERED=`y-reg`,e.ANONYMOUS=`y-anoy`,e.GUEST=`y-guest`,e}({}),It=function(e){return e.SUBSCRIBER=`sub`,e.REGISTERED=`reg`,e.ANONYMOUS=`anoy`,e.GUEST=`guest`,e}({});function Lt(e){return oe()?wt(e):wt(Nt(e))}var Rt=Lt(e=>({userInfo:{service_type:``,display_name:``,mysphw:``,reguserstatus:``,mySPHSessionId:``,usertype:`y-anoy`,loginid:``,service_type_value:1,valid_token:``,premium_quota:``,email_id:``},setUserInfo:t=>{e({userInfo:t})},userError:``,setUserError:t=>{e({userError:t})},isUserLoading:!0,setUserLoading:t=>{e(()=>({isUserLoading:t}))},successful:!1,setSuccesful:t=>{e(()=>({successful:t}))},isAuthenticated:!1,setAuthenticated:t=>{e(()=>({isAuthenticated:t}))}})),zt=function(e){return e.PARAGRAPH=`paragraph`,e.IMAGE=`image`,e.DYNAMIC_IFRAME_WRAPPER=`dynamic_iframe_wrapper`,e.EMBED=`embed`,e.GROUPED_RELATION=`grouped_relation`,e.SUB_HEAD=`sub_head`,e.LIST_BULLETED=`list_bulleted`,e.LIST_NUMBERED=`list_numbered`,e.HORIZONTAL_ROW=`horizontal_row`,e.GRAPHIC=`graphic`,e.BRIGHTCOVE_VIDEO=`brightcove_video`,e.YOUTUBE_VIDEO=`youtube_video`,e.OMNY_PODCAST=`omny_podcast`,e.NESTED_ELEMENTS=`nested_elements`,e.ADVERTISEMENT=`advertisement`,e.KICKER=`kicker`,e.STANDFIRST=`standfirst`,e.ARTICLE_HEAD=`article_head`,e.SCROLLY=`scrolly`,e.CREDITS=`credits`,e.QUOTE=`pull_quote`,e.PHOTO_GRID=`photo_grid`,e.CHAPTERS=`chapters`,e.HEADLINE=`headline`,e.MENU_LINK=`menu_link`,e.SVG_FOLDER=`svg_folder`,e.SVG_FOLDER_info=`svg_folder_info`,e.MEDIA=`media`,e}({}),Bt=function(e){return e.SPH=`SPH`,e.NONSPH=`NONSPH`,e.SHARED=`SHARED`,e}({}),Vt=function(e){return e.FREE=`1`,e.PREMIUM=`2`,e}({}),Ht=function(e){return e.FULL=`full`,e.PARTIAL=`partial`,e.APP_FULL=`app_full`,e.APP_PARTIAL=`app_partial`,e.GOOGLE_EXTENDED=`google_extended`,e}({}),Ut=function(e){return e.ONE=`1`,e.TWO=`2`,e.THREE=`3`,e.FOUR=`4`,e.FIVE=`5`,e.SIX=`6`,e.EIGHT=`8`,e.NINE=`9`,e.TEN=`10`,e.TWELVE=`12`,e.THIRTEEN=`13`,e.FOURTEEN=`14`,e.FIFTEEN=`15`,e.SIXTEEN=`16`,e.SEVENTEEN=`17`,e}({}),Wt=[Ut.Two,Ut.Four,Ut.Five,Ut.Eight,Ut.Nine,Ut.Ten,Ut.Fourteen],Gt=function(e){return e.SUBSCRIBER=`y-sub`,e.REGISTERED=`y-reg`,e.ANONYMOUS=`y-anoy`,e.GUEST=`y-guest`,e}({}),Kt=function(e){return e.ANONYMOUS=`anonymous`,e.SUBSCRIBER=`subscriber`,e.TRIAL=`freetrial`,e.LITE=`lite`,e.MHA=`corpmha`,e.MOE_ITE=`corpmoeite`,e.MOE_JC=`corpmoejc`,e.MOE_POLY=`corpmoepoly`,e.VERIFIED=`verifiedreg`,e.NONVERIFIED=`nonverifiedreg`,e.IAP=`inapppurchase`,e.AGENCY=`agencyheads`,e.GENGSUB=`gengsubscriber`,e.IAPSUB=`iapsubscriber`,e.NLB=`nlbsubscriber`,e}({});function qt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!==`__proto__`&&(e[r]=n[r])}return e}var Jt={read:function(e){return e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Yt(e,t){function n(n,r,i){if(!(typeof document>`u`)){i=qt({},t,i),typeof i.expires==`number`&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&=i.expires.toUTCString(),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a=``;for(var o in i)i[o]&&(a+=`; `+o,i[o]!==!0&&(a+=`=`+i[o].split(`;`)[0]));return document.cookie=n+`=`+e.write(r,n)+a}}function r(t){if(!(typeof document>`u`||arguments.length&&!t)){for(var n=document.cookie?document.cookie.split(`; `):[],r={},i=0;i<n.length;i++){var a=n[i].split(`=`),o=a.slice(1).join(`=`);try{var s=decodeURIComponent(a[0]);if(s in r||(r[s]=e.read(o,s)),t===s)break}catch{}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,``,qt({},t,{expires:-1}))},withAttributes:function(e){return Yt(this.converter,qt({},this.attributes,e))},withConverter:function(e){return Yt(qt({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Xt=Yt(Jt,{path:`/`}),Zt=()=>{vt.forEach(e=>{Xt.remove(e,{path:`/`})})},Qt=e=>{try{if(!_)return;if(typeof e?.initiateLogin==`function`)return e.initiateLogin(),typeof window.hideCatfishAd==`function`&&window.hideCatfishAd(),!0}catch{j(le.ERROR,`Error trying login`)}},$t=e=>{try{if(!_)return;typeof e?.initiateLogin==`function`&&e.initiateLogin(),typeof window.hideCatfishAd==`function`&&window.hideCatfishAd()}catch{j(le.ERROR,`Error trying to signup`)}},en=(e,t)=>{try{if(!_)return;if(typeof e?.initiateLogout==`function`){let n=e.initiateLogout;t?n(t):n()}typeof window.hideCatfishAd==`function`&&window.hideCatfishAd(),Zt()}catch{j(le.ERROR,`Error trying to logout`)}},tn=e=>{try{if(!_)return;typeof e?.initiateUpdatePassword==`function`&&e.initiateUpdatePassword()}catch{j(le.ERROR,`Error trying to update password`)}},nn=()=>{j(le.INFO,`Resend verification email handler called`)},rn=(e,t)=>Wt.includes(t)&&e===Vt.PREMIUM,an=()=>_?{serviceType:Xt.get(`serviceType`)||Ut.ONE,userType:Xt.get(`mySPHUserType`)||Ft.ANONYMOUS,visitorId:Xt.get(`mysphw`)||``,hashToken:Xt.get(`mysph_lr`)||``}:{serviceType:Ut.ONE,userType:Ft.ANONYMOUS,visitorId:``,hashToken:``},R=e=>Array.isArray(e)&&e.length>=1,on=e=>{try{return e?new URL(e):void 0}catch{return}};function sn(e){return e.endsWith(`/`)?e.substring(0,e.length-1):e}var cn=e=>e.startsWith(`/`)?e.substring(1,e.length):e;function ln(e){return e=e.startsWith(`/`)?e.substring(1,e.length):e,e=e.endsWith(`/`)?e.substring(0,e.length-1):e,e}function un(e){let{userType:t,visitorId:n}=an();return`mailto:[email protected]?subject=Reach%20Us&body=${_t.SEND_FEEDBACK_REFACTOR?`--%0D%0A
7 Your browser info has automatically been included so that we can place your feedback in context; no personal data will be shared:%0D 8 %0D%0AUser type : ${t} 9 %0D%0AVisitor ID : ${n===``?`-nil-`:n} 10 ${e?`%0D%0AUser Agent : ${e}`:``} 11 %0D%0ADevice Code : Web 12 %0D%0A`:`--%0D%0A 13 Your browser info has automatically been included so that we can place your feedback in context; no personal data will be shared:%0D 14 %0D%0AUser type : Anonymous 15 %0D%0AVisitor ID : -nil- 16 ${e?`%0D%0AUser Agent : ${e}`:``} 17 %0D%0ADevice Code : Web 18 %0D%0A`}`}var dn=e=>{if(!e)return;let t={};return e.split(`;`).forEach(e=>{let[n,r]=e.split(`:`).map(e=>e.trim());n&&r&&(t[n.replace(/-([a-z])/g,e=>e[1].toUpperCase())]=r)}),t},fn=()=>{let e=new Date,t=new Date(re),n=new Date(ie);return e>t&&e<n},pn=`^([\\w])+[A-Za-z0-9._+\\-]+@[A-Za-z0-9.\\-]+\\.[A-Za-z]{2,}$`;function mn(e){if(_){let t=document.cookie.match(RegExp(e+`=([^;]+)`));if(t&&t[1])return t[1]}}function hn(e){if(!_)return;let t=new MutationObserver(t=>{let n=document.querySelector(`div#${e}`);if(!n||!t.length)return;let r=t[0].target.style.paddingTop||`0`,i=parseInt(r.match(/\d+/)?.[0]??`0`,10),a=i+(i>0?72:32);n.style.top=`${a}px`});return t.observe(document.body,{attributes:!0,attributeFilter:[`style`]}),t}function gn(e,t){if(!(!e||!t))try{return new URL(e).searchParams.get(t)??void 0}catch{return}}function _n(e){if(!e||e===``||!new RegExp(/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/).test(e))return``;let[t,n]=e.split(`@`);return`${t.substring(0,2)+`****`}@${n}`}function vn(e){return e.split(/[ _]/g).map(e=>e[0]).join(``).substring(0,2)}var z=function(e){return e.TEXT_ONLY=`text-only`,e.ICON_LEFT=`icon-left`,e.ICON_RIGHT=`icon-right`,e.ICON_BOTH=`icon-both`,e.ICON_ONLY=`icon-only`,e.IMAGE_ONLY=`image-only`,e.CUSTOM=`custom`,e}({});function yn({items:e,type:t,isOpen:n,testId:r=`accordion-list-test-id`}){if(n&&R(e))switch(t){case Wn.DEFAULT:return bn({items:e,testId:r});case Wn.COLUMN:return xn({items:e,testId:r})}}function bn({items:e,testId:t}){return(0,I.jsx)(`div`,{className:F(`bg-neutral-5 pl-16 tablet:pl-24 pb-16`),"data-testid":t,children:e.map((e,t)=>(0,I.jsx)(Gv,{children:(0,I.jsx)(Sn,{url:e.url,rel:e.rel,target:e.target,type:z.CUSTOM,className:F(`py-12 pr-16 tablet:pr-24 pl-00 w-full items-center `),textClassName:`h-12 tablet:h-16 font-button-sm-regular w-full item-start text-left`,children:e.title})},t))})}function xn({items:e,testId:t}){let n=ht({array:e});return(0,I.jsx)(`div`,{className:F(`pb-16 w-full`),"data-testid":t,children:n.map((e,t)=>(0,I.jsx)(`div`,{className:F(`inline-flex flex-nowrap px-16 tablet:px-24 gap-x-12 gap-y-00 py-04 w-full`),children:e.map((e,t)=>(0,I.jsx)(Gv,{className:F(`rounded-xl flex-wrap shrink-0 basis-1/2`,`tablet:pl-16 desktop:pl-16`,`font-button-sm-regular`),children:(0,I.jsx)(Sn,{url:e.url,rel:e.rel,target:e.target,type:z.CUSTOM,className:F(`py-12 pr-16 tablet:pr-24 pl-00 w-full items-center`),textClassName:`h-12 tablet:h-16 font-button-sm-regular w-full item-start text-left`,children:e.title})},t))},t))})}function Sn({title:e,url:t,type:n=z.TEXT_ONLY,leftIconProps:r,rightIconProps:i,rel:a=`noopener`,className:o,src:s,alt:c,imageClassName:l,textClassName:u,testId:d,children:f,target:p=`_self`,noClass:m=!1}){let h=wn(n,e,r,i,c);return(0,I.jsx)(`a`,{href:t,rel:a,className:F(!m&&`flex select-none gap-x-04 items-center`,!m&&n!==z.CUSTOM&&`font-secondary-label-md-regular`,!m&&`text-primary`,o),"aria-label":e?`link for ${e}`:r?`link for ${r.iconName}`:i?`link for ${i.iconName}`:`link`,target:p,"data-testid":d??h,children:Cn(n,e,r,i,s,c,l,u,f)},h)}var Cn=(e,t,n,r,i,a,o,s,c)=>{switch(e){case z.TEXT_ONLY:return(0,I.jsx)(`p`,{className:s,children:t});case z.ICON_ONLY:return(0,I.jsx)(I.Fragment,{children:n&&(0,I.jsx)(X,{...n})});case z.ICON_LEFT:return(0,I.jsxs)(I.Fragment,{children:[n&&(0,I.jsx)(X,{...n}),(0,I.jsx)(`p`,{className:s,children:t})]});case z.ICON_RIGHT:return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`p`,{className:s,children:t}),r&&(0,I.jsx)(X,{...r})]});case z.ICON_BOTH:return(0,I.jsxs)(I.Fragment,{children:[n&&(0,I.jsx)(X,{...n}),(0,I.jsx)(`p`,{className:s,children:t}),r&&(0,I.jsx)(X,{...r})]});case z.IMAGE_ONLY:return(0,I.jsx)(`img`,{src:i,alt:a,className:o,"data-testid":`image-${a}`});case z.CUSTOM:return c;default:return(0,I.jsx)(`div`,{})}},wn=(e,t,n,r,i)=>{switch(e){case z.TEXT_ONLY:return t??``;case z.ICON_ONLY:case z.ICON_LEFT:return`link-${n?.iconName??``}`;case z.ICON_RIGHT:return`link-${r?.iconName??``}`;case z.ICON_BOTH:return`link-${n?.iconName??``} ${r?.iconName??``}`;case z.IMAGE_ONLY:return i??``;case z.CUSTOM:return`custom-link`;default:return``}},B=function(e){return e.XXS=`xxs`,e.XXSCURATOR=`xxsalt`,e.XS=`xs`,e.XSCURATOR=`xsalt`,e.SM=`sm`,e.SMCURATOR=`smalt`,e.BASELINE=`baseline`,e.MD=`md`,e.LG=`lg`,e.LGCURATOR=`lgalt`,e.XL=`xl`,e.XLCURATOR=`xlalt`,e.XXL=`xxl`,e.XXXL=`xxxl`,e.XXLCURATOR=`xxlalt`,e}({}),V=function(e){return e.SIXTY=`extrabold`,e.FIFTY=`bold`,e.FORTY=`semibold`,e.THIRTY=`regular`,e.TWENTY=`light`,e.TEN=`extralight`,e}({}),Tn=function(e){return e.DISPLAY=`display`,e.HEADER=`header`,e.BUTTON=`button`,e.NAVIGATION=`navigation`,e}({}),En=function(e){return e.BODY=`body`,e.EYEBROW=`eyebrow`,e.CAPTION=`caption`,e.FOOTER=`footer`,e.NAVIGATION=`navigation`,e.KICKER=`eyebrow`,e}({}),H=function(e){return e.DISPLAY_SEO=`h1d`,e.SECTION_SEO=`h1`,e.DISPLAY=`h2d`,e.SECTION=`h2`,e.HEADLINE=`h3`,e.SUBHEADLINE=`h4`,e.SUBSECTION=`h5`,e.CONTAINER=`h6`,e}({}),Dn=function(e){return e.ARTICLE=`h1`,e.BRANDED=`h2`,e.EMPHASIS=`h3`,e}({}),U=function(e){return e.DISPLAY=`display`,e.HEADLINE=`headline`,e.TITLE=`title`,e.BODY=`body`,e.CAPTION=`caption`,e.BLURB=`blurb`,e.LABEL=`label`,e}({}),W=function(e){return e.EXTRA_BOLD=`extrabold`,e.BOLD=`bold`,e.SEMIBOLD=`semibold`,e.REGULAR=`regular`,e.ITALIC=`italic`,e}({}),On=function(e){return e.DISPLAY_ONE=`primary-display-lg`,e.DISPLAY_TWO=`primary-display-sm`,e.DISPLAY_TWO_ALT=`secondary-display-sm`,e}({}),kn=function(e){return e.HEADLINE_ONE=`primary-headline-xl`,e.HEADLINE_TWO=`primary-headline-lg`,e.HEADLINE_THREE=`primary-headline-md`,e.HEADLINE_FOUR=`primary-headline-sm`,e.HEADLINE_FIVE=`primary-headline-xs`,e.HEADLINE_SIX=`primary-headline-xxs`,e}({}),An=function(e){return e.TITLE_ONE=`secondary-title-xl`,e.TITLE_TWO=`secondary-title-lg`,e.TITLE_THREE=`secondary-title-md`,e.TITLE_FOUR=`secondary-title-sm`,e.TITLE_FIVE=`secondary-title-xs`,e}({}),jn=function(e){return e.ARTICLE=`tertiary-body-baseline`,e.BLURBS=`tert
18iary-blurbs-baseline`,e.UI_ONE=`secondary-uibody-lg`,e.UI_TWO=`secondary-uibody-sm`,e.CAPTIONS=`secondary-captions-baseline`,e}({}),Mn=function(e){return e.LABEL_ONE=`secondary-label-lg`,e.LABEL_TWO=`secondary-label-md`,e.LABEL_THREE=`secondary-label-sm`,e.LABEL_FOUR=`secondary-label-xs`,e}({});function Nn({children:e,className:t,size:n=B.XXXL,type:r=Dn.EMPHASIS,weight:i=V.THIRTY,testId:a=`display-test-id`,link:o}){let s=r,c=Fn({type:Tn.DISPLAY,size:n,weight:i});return o?(0,I.jsx)(Sn,{url:o,type:z.CUSTOM,children:(0,I.jsx)(s,{className:F(c,t),"data-testid":a,children:e})}):(0,I.jsx)(s,{className:F(c,t),"data-testid":a,children:e})}function G({children:e,className:t,size:n=B.XL,type:r=H.HEADLINE,weight:i=V.THIRTY,testId:a=`heading-test-id`,link:o}){let s=[H.DISPLAY,H.DISPLAY_SEO].includes(r),c=Fn({type:s?Tn.DISPLAY:Tn.HEADER,size:n,weight:i}),l=s?r.slice(0,-1):r;return o?(0,I.jsx)(Sn,{url:o,type:z.CUSTOM,children:(0,I.jsx)(l,{className:F(c,t),"data-testid":a,children:e})}):(0,I.jsx)(l,{className:F(c,t),"data-testid":a,children:e})}function Pn({children:e,className:t,size:n=B.BASELINE,type:r=En.BODY,weight:i=V.THIRTY,testId:a=`paragraph-test-id`,as:o}){let s=Fn({type:r,size:n,weight:i});return(0,I.jsx)(o??`p`,{className:F(s,t),"data-testid":a,children:e})}var Fn=({type:e,size:t,weight:n})=>`font-${e}-${t}-${n}`;function In({category:e,size:t,style:n,link:r,element:i=`p`,className:a,children:o,testId:s=`typography-test-id`}){let c=i,l=Ln({category:e,size:t}),u=l.includes(`error`)?`status-error-text`:`font-${l}-${n}`;return!r||r===``?(0,I.jsx)(c,{className:F(a,u),"data-testid":s,children:o}):(0,I.jsx)(Sn,{url:r,type:z.CUSTOM,"data-testid":`link-${s}`,children:(0,I.jsx)(c,{className:F(a,u),"data-testid":s,children:o})})}function Ln({category:e,size:t}){if(e===U.DISPLAY)switch(t){case B.LG:return On.DISPLAY_ONE;case B.SM:return On.DISPLAY_TWO;case B.SMCURATOR:return On.DISPLAY_TWO_ALT}if(e===U.HEADLINE)switch(t){case B.XL:return kn.HEADLINE_ONE;case B.LG:return kn.HEADLINE_TWO;case B.MD:return kn.HEADLINE_THREE;case B.SM:return kn.HEADLINE_FOUR;case B.XS:return kn.HEADLINE_FIVE;case B.XXS:return kn.HEADLINE_SIX}if(e===U.TITLE)switch(t){case B.XL:return An.TITLE_ONE;case B.LG:return An.TITLE_TWO;case B.MD:return An.TITLE_THREE;case B.SM:return An.TITLE_FOUR;case B.XS:return An.TITLE_FIVE}if(e===U.LABEL)switch(t){case B.LG:return Mn.LABEL_ONE;case B.MD:return Mn.LABEL_TWO;case B.SM:return Mn.LABEL_THREE;case B.XS:return Mn.LABEL_FOUR}if(e===U.BODY)switch(t){case B.BASELINE:return jn.ARTICLE;case B.LG:return jn.UI_ONE;case B.SM:return jn.UI_TWO}return e===U.BLURB?jn.BLURBS:e===U.CAPTION?jn.CAPTIONS:`error`}var Rn=function(e){return e.COMFORTABLE=`comfortable`,e.REGULAR=`regular`,e.COMPACT=`compact`,e}({});
18function zn({type:e=`default`,density:t=Rn.REGULAR,content:n,contentClassName:r,description:i,descriptionClassName:a,supportingMeta:o,className:s,testId:c=``}){if(!n&&!i&&!o)return;let l=c===``?``:c+`-`;return(0,I.jsx)(I.Fragment,{children:(0,I.jsxs)(`div`,{className:F(`flex flex-col gap-04 justify-center items-start min-w-120`,t===Rn.COMPACT&&`gap-00`,s),"data-testid":`${l}text-stack-test-id`,children:[n&&(e==="default"?(0,I.jsx)(In,{category:U.LABEL,size:B.MD,style:W.REGULAR,className:F(`text-primary overflow-hidden overflow-ellipsis line-clamp-2`,r??``),testId:`${l}content-test-id`,children:n}):(0,I.jsx)(`p`,{className:r??`font-secondary-label-md-regular`,"data-testid":`${l}content-test-id`,children:n})),i&&(e==="default"?(0,I.jsx)(In,{category:U.LABEL,size:B.XS,style:W.REGULAR,className:F(`text-tertiary overflow-hidden overflow-ellipsis line-clamp-2`,a??``),testId:`${l}description-test-id`,children:i}):(0,I.jsx)(`p`,{className:F(a??`font-secondary-label-xs-regular text-tertiary`),"data-testid":`${l}description-test-id`,children:i})),o&&(0,I.jsxs)(`div`,{className:F(`flex gap-04 items-start self-stretch`),children:[o.icon&&(0,I.jsx)(`div`,{className:F(`flex items-center self-stretch `),"data-testid":`${l}supporting-icon-test-id`,children:(0,I.jsx)(X,{...o.icon,className:F(`icon-primary`,o.iconClassName??``)})}),o.content&&(0,I.jsx)(`div`,{className:F(`flex items-center self-stretch`),children:(0,I.jsx)(In,{category:U.LABEL,size:B.SM,style:W.REGULAR,className:F(`text-secondary overflow-hidden overflow-ellipsis line-clamp-2`,o.contentClassName??``),testId:`${l}supporting-text-test-id`,children:o.content})})]})]})})}var Bn=typeof window<`u`?L.useLayoutEffect:L.useEffect;function Vn(e,t,n,r){let i=(0,L.useRef)(t);Bn(()=>{i.current=t},[t]),(0,L.useEffect)(()=>{let t=n?.current??window;if(!(t&&t.addEventListener))return;let a=e=>{i.current(e)};return t.addEventListener(e,a,r),()=>{t.removeEventListener(e,a,r)}},[e,n,r])}function Hn(e,t,n=`mousedown`,r={}){Vn(n,n=>{let r=n.target;!r||!r.isConnected||(Array.isArray(e)?e.filter(e=>!!e.current).every(e=>e.current&&!e.current.contains(r)):e.current&&!e.current.contains(r))&&t(n)},void 0,r)}var K=function(e){return e.PRIMARY=`primary`,e.PREMIUM=`premium`,e.OUTLINE=`outline`,e.NONE=`none`,e}({}),q=function(e){return e.TEXT_ONLY=`text-only`,e.ICON_LEFT=`icon-left`,e.ICON_RIGHT=`icon-right`,e.ICON_BOTH=`icon-both`,e.ICON_ONLY=`icon-only`,e.CAPSULE_ACTION=`icon-capsule-action`,e}({}),Un=function(e){return e.DEFAULT=`default`,e.SMALL=`small`,e}({}),Wn=function(e){return e.DEFAULT=`default`,e.COLUMN=`column`,e}({});function Gn({items:e,header:t,className:n,testId:r=`accordion-test-id`,type:i=`default`}){let a=(0,L.useRef)(null),[o,s]=(0,L.useState)(!1),c=(0,L.useCallback)(()=>{s(!1)},[]),l=(0,L.useCallback)(()=>{s(e=>!e)},[]);if(Hn(a,c),R(e))return(0,I.jsxs)(`div`,{className:F(`w-full`,n),"data-testid":r,ref:a,children:[(0,I.jsx)(`div`,{className:`pl-16 tablet:pl-24`,children:(0,I.jsxs)(`div`,{className:`justify-between flex w-full py-12 pl-00`,children:[(0,I.jsx)(Sn,{type:z.TEXT_ONLY,url:`/${t.toLowerCase()}`,title:t,className:`py-00 w-full`,textClassName:`h-16 font-button-sm-regular`,testId:`${t.toLowerCase()}-accordion-link-test-id`}),(0,I.jsx)(Z,{type:q.ICON_ONLY,fill:K.NONE,icon:{iconName:o?M.NAV_EXPAND_LESS:M.NAV_EXPAND_MORE},className:`py-00`,handler:l,text:t,testId:`${t.toLowerCase()}-accordion-button-test-id`})]})}),(0,I.jsx)(yn,{isOpen:o,items:e,type:i}),(0,I.jsx)(Jn,{className:`mx-00 ml-16 desktop:ml-24 h-01 !border-subtle`})]})}function Kn({content:e,badge:t,disabled:n,leadingAsset:r,enableAutoClose:i=!0,children:a,className:o,testId:s}){let[c,l]=(0,L.useState)(!1),u=(0,L.useRef)(null),d=(0,L.useCallback)(()=>{l(e=>(ft({eventCategory:lt.ACCOUNT_HUB,eventAction:e?`collapse`:`expand`,eventLabel:`plan details`}),!e))},[]);return Hn(u,()=>{i&&c&&d()}),(0,L.useEffect)(()=>{let e=u.current;return e&&e.addEventListener(`mousedown`,d),()=>{e&&e.removeEventListener(`mousedown`,d)}},[]),(0,I.jsx)(I.Fragment,{children:(0,I.jsxs)(`div`,{className:F(`flex flex-col gap-00 items-end justify-center rounded-xl bg-white pb-16 w-fit max-w-breakpoint-lg-max`,n&&``,o),"data-testid":s,children:[(0,I.jsxs)(`div`,{className:`flex gap-00 items-start self-stretch py-16`,ref:u,children:[(0,I.jsx)(`div`,{className:F(`flex flex-col justify-center items-center gap-00 self-stretch`,!r&&`pl-16`),"data-testid":`surface-section-group-leading-asset-test-id`,children:r&&(0,I.jsx)(`div`,{className:F(`flex items-center self-stretch px-16`),children:(0,I.jsx)(`div`,{className:`px-04`,children:(0,I.jsx)(X,{...r})})})}),(0,I.jsxs)(`div`,{className:`flex flex-col gap-08 self-stretch justify-center`,children:[t&&(0,I.jsx)(EC,{...t}),(0,I.jsx)(zn,{...e})]}),(0,I.jsx)(`div`,{className:F(`flex items-start self-stretch ml-auto`),children:(0,I.jsx)(`div`,{className:F(`flex items-center self-stretch px-12 py-08 `),"data-testid":`accordion-trailing-asset-test-id`,children:(0,I.jsx)(X,{iconName:c?M.NAV_EXPAND_LESS:M.NAV_EXPAND_MORE,className:F(`accordion-trailing-asset group-[.disabled]:icon-disabled`)})})})]}),(0,I.jsx)(`div`,{className:F(`flex flex-col items-start self-stretch`,c?`block`:`hidden`),children:a})]})})}var qn=function(e){return e.DEFAULT=`subtle`,e.STRONG=`strong`,e.DASHED=`dashed`,e.DOTTED=`dotted`,e}({});function Jn({vertical:e=!1,type:t=`subtle`,className:n,testId:r}){let i=Zn(t);return e?(0,I.jsx)(Yn,{className:F(n,i),testId:r??`divider-vertical-id`}):(0,I.jsx)(Xn,{className:F(n,i),testId:r??`divider-horizontal-id`})}var Yn=e=>(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(`div`,{className:F(`w-01 h-24 mx-08 border-l`,e.className),"data-testid":e.testId})}),Xn=e=>(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(`div`,{className:F(`w-auto h-24 mx-08 border-b`,e.className),"data-testid":e.testId})});function Zn(e){switch(e){case`strong`:return`border-dark border-b-3`;case`subtle`:return`border-default`;case`dotted`:return`border-dark border-dotted`;case`dashed`:return`border-dark border-dashed`;default:return`border-default`}}var Qn=function(e){return e.LEFT=`left`,e.RIGHT=`right`,e}({});function $n({align:e=Qn.RIGHT,dividerTop:t=!0,dividerBottom:n=!1,testId:r=`aibadge-test-id`,className:i}){return(0,I.jsxs)(`div`,{"data-testid":r,className:i,children:[t&&(0,I.jsx)(Jn,{vertical:!1,type:qn.DASHED,className:`h-00 my-08 mx-00`}),(0,I.jsxs)(Pn,{size:B.BASELINE,type:En.EYEBROW,weight:V.THIRTY,className:F(`text-placeholder mx-00 my-08 align-middle`,`text-${e}`),children:[(0,I.jsx)(X,{iconName:M.MENU_SMART,iconWidth:N.SMALL,className:`icon-disabled inline-block mr-08`}),`AI generated`]}),n&&(0,I.jsx)(Jn,{vertical:!1,type:qn.DASHED,className:`border-b-00 border-t h-00 mt-08 mx-00`})]})}function er({data:e=[],aiBadge:t={align:Qn.RIGHT,dividerBottom:!0,dividerTop:!1},showAIBadge:n=!0,showLabel:r=!1,className:i,testId:a=`aisummary-test-id`}){return R(e)&&(0,I.jsxs)(`div`,{"data-testid":a,className:F(`ai-summary`,i),children:[(0,I.jsx)(Jn,{vertical:!1,type:qn.DASHED,className:`h-00 mb-16 mx-00`}),r&&(0,I.jsx)(`div`,{className:`flex items-center mb-16`,children:(0,I.jsx)(HC,{tooltipLabel:`Hereâs what you need to know at a glance`,triggerIcon:M.NAV_INFO_OUTLINED,triggerText:`Summary`,triggerTextClassName:`font-secondary-label-lg-semibold`})}),(0,I.jsx)(`div`,{children:(0,I.jsx)(`ul`,{className:F(`font-tertiary-body-baseline-regular`),children:e.map((e,t)=>(0,I.jsxs)(`li`,{className:`flex flex-row gap-08 mb-08`,children:[(0,I.jsx)(`span`,{className:`mt-08 block w-6 h-6 shrink-0 rounded-full bg-neutral-80`}),e]},t))})}),n&&(0,I.jsx)($n,{...t,className:`mx-00 pt-08`})]})}
18function tr({handler:e,text:t=`Summarise`,isAISummaryExpanded:n,className:r,testId:i=`aisummary-button-test-id`}){return(0,I.jsx)(Z,{type:q.CAPSULE_ACTION,fill:K.OUTLINE,size:Un.SMALL,text:t,icon:{iconName:M.MENU_SMART},actionIcon:{iconName:n?M.NAV_EXPAND_LESS:M.NAV_EXPAND_MORE},handler:e,className:F(`rounded-full h-40 desktop:h-48 border-dark`,n&&`icon-interactive border-selected`,r),textClassName:`font-secondary-label-md-semibold`,testId:i})}var nr=`https://www.straitstimes.com/`,rr=`The Straits Times`,ir=`summary_large_image`,ar=`@straits_times`,or=`100007469197550`,sr=`263116810509534`,cr=`547465441`,lr=`Straits Times`,ur=`app-id=com.buuuk.st`,dr=`app-id=547465441`,fr=`The Straits Times - Get breaking news, exclusive stories, in-depth analyses and award-winning multimedia content about Singapore, Asia and the world.`,pr=`article-headline`,mr={title:`Search Page | The Straits Times`,ogTitle:`Search Page | The Straits Times`,twitterTitle:`Search Page | The Straits Times`,slug:`/search`,description:`Search Page | Read more at straitstimes.com`,ogDescription:`Search Page | Read more at straitstimes.com`,robots:`index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1`},hr=rr,gr=nr,_r=fr,vr={url:`${O}/publisher-logo.png`,width:600,height:60},yr=[`https://x.com/straits_times`,`https://www.tiktok.com/@straitstimes`,`https://instagram.com/straits_times`,`https://www.facebook.com/TheStraitsTimes`,`https://www.youtube.com/user/StraitsTimesOnline`,`https://t.me/TheStraitsTimes`,`https://sg.linkedin.com/company/the-straits-times`],br={telephone:`+65-6388-3838`,contactType:`Customer Service`,availableLanguage:`English`,areaServed:{name:`Singapore`}};`${O}`;var xr={ORGANIZATION:`organization`,WEBSITE:`website`,ARTICLE:`article`,LIVEBLOG:`liveblog`,VIDEO:`video`,DEFAULT:`default`},J=function(e){return e.BRIGHTCOVE=`brightcoveVideo`,e.YOUTUBE=`youtubeVideo`,e.IMAGE=`image`,e.PODCAST=`podcast`,e.NONE=`media`,e}({}),Y=function(e){return e.LANDSCAPE=`landscape`,e.SQUARE=`square`,e.PORTRAIT=`portrait`,e}({}),Sr=function(e){return e.DEFAULT_HEADLINE=`default-headline-card`,e.DEFAULT_POPULAR=`default-popular-card`,e.DEFAULT_TIMELINE=`default-timeline-card`,e.FEATURED_ADSTACK=`advertisement`,e.FEATURED_BLEED_MD=`featured-bleed-md-card`,e.FEATURED_BLEED_LG=`featured-bleed-lg-card`,e.FEATURED_BUNDLED=`featured-bundled-card`,e.FEATURED_HEADLINE=`featured-headline-card`,e.FEATURED_HEADLINE_LG=`featured-headline-lg-card`,e.FEATURED_HEADLINE_LG_PPR=`featured-headline-lg-ppr-card`,e.FEATURED_OPINION=`featured-opinion-card`,e.FEATURED_PODCAST=`featured-podcast-card`,e.FEATURED_SHORTS=`featured-shorts-card`,e.FEATURED_STROKE=`featured-stroke-card`,e.FEATURED_BRANDED=`featured-branded-card`,e.STORIES=`stories-card`,e.DEFAULT=`default`,e.FEATURED_LG=`featured-lg-card`,e}({});Y.SQUARE,Y.LANDSCAPE,Y.SQUARE,Y.LANDSCAPE,Y.SQUARE,Y.LANDSCAPE,Y.SQUARE,Y.LANDSCAPE,Y.LANDSCAPE,Y.LANDSCAPE,Y.LANDSCAPE,Y.LANDSCAPE,Y.LANDSCAPE,Y.SQUARE,Y.LANDSCAPE,Y.LANDSCAPE,Y.SQUARE,Y.LANDSCAPE;var Cr={"default-headline-card":void 0,"default-popular-card":void 0,"default-timeline-card":void 0,advertisement:void 0,"featured-headline-card":240,"featured-headline-lg-card":480,"featured-headline-lg-ppr-card":480,"featured-bundled-card":360,"featured-bleed-lg-card":720,"featured-bleed-md-card":360,"featured-opinion-card":void 0,"featured-podcast-card":360,"featured-shorts-card":480,"featured-stroke-card":360,"stories-card":480,default:900,"featured-branded-card":360,"featured-lg-card":720},wr=`/assets/image-placeholder-default-BgLcQODD.jpg`,Tr=e=>R(e)?e.map(e=>{let t=e.type===J.BRIGHTCOVE?e.custom?.image?.src:e.type===J.YOUTUBE?e.custom?.info?.src:e.image?.src,n=e.type===J.BRIGHTCOVE?e.custom?.image?.secondarySrc:e.type===J.YOUTUBE?e.custom?.info?.secondarySrc:e.image?.secondarySrc,r=e.type===J.BRIGHTCOVE||e.type===J.YOUTUBE?e.custom?.info?.alt:e.image?.alt,i=e.type===J.BRIGHTCOVE||e.type===J.YOUTUBE?e.custom?.info?.caption:e.image?.caption,a=e.type===J.BRIGHTCOVE||e.type===J.YOUTUBE?e.custom?.info?.credit:e.image?.credit,o=e.type===J.BRIGHTCOVE?e.custom?.image?.width:e.type===J.YOUTUBE?e.custom?.info?.width:e.image?.width,s=e.type===J.BRIGHTCOVE?e.custom?.image?.height:e.type===J.YOUTUBE?e.custom?.info?.height:e.image?.height;return{type:e.type,src:t??`/assets/image-placeholder-default-BgLcQODD.jpg`,secondarySrc:n??t??`/assets/image-placeholder-default-BgLcQODD.jpg`,alt:r??``,caption:i??``,credit:a??``,width:o,height:s}}):[{type:J.IMAGE,src:wr,secondarySrc:wr,alt:``,caption:``,credit:``}];function Er(e,t){if(typeof t==`number`&&t<480)return{smSrcSet:e,mdSrcSet:e,lgSrcSet:e};let n=t?t>
18480?480:t:480,r=t?t>720?720:t:720,i=t?t>900?900:t:900;return{smSrcSet:`${e}${e.includes(`?`)?`&`:`?`}w=${n}`,mdSrcSet:`${e}${e.includes(`?`)?`&`:`?`}w=${r}`,lgSrcSet:`${e}${e.includes(`?`)?`&`:`?`}w=${i}`,xlSrcSet:e}}var Dr=function(e){return e.BRIGHTCOVE=`brightcove`,e.YOUTUBE=`youtube`,e.INSTAGRAM=`instagram`,e.TIKTOK=`tiktok`,e.FACEBOOK=`facebook`,e.TWITTER=`twitter`,e.VIMEO=`vimeo`,e.SPOTIFY=`spotify`,e.PODCAST=`podcast`,e.ST_VISUALS=`st_visuals`,e.NONE=`none`,e}({}),Or=[{name:`youtube`,url:[`youtube.com`,`www.youtube.com`,`m.youtube.com`,`youtu.be`]},{name:`instagram`,url:[`instagram.com`,`www.instagram.com`,`m.instagram.com`]},{name:`tiktok`,url:[`tiktok.com`,`www.tiktok.com`,`m.tiktok.com`]},{name:`facebook`,url:[`facebook.com`,`www.facebook.com`,`m.facebook.com`]},{name:`twitter`,url:[`www.twitter.com`,`twitter.com`,`x.com`,`www.x.com`]},{name:`vimeo`,url:[`vimeo.com`,`www.vimeo.com`]},{name:`spotify`,url:[`open.spotify.com`,`embed.spotify.com`]},{name:`podcast`,url:[`omny.fm`]},{name:`st_visuals`,url:[`qa.st-visuals.com`,`www.st-visuals.com`,`st-visuals.com`,`uat.straitstimes.com`,`www.straitstimes.com`,`straitstimes.com`,`graphics.straitstimes.com`]}],kr=function(e){return e.HORIZONTAL=`horizontal`,e.VERTICAL=`vertical`,e}({}),Ar=e=>{let t=e?.hostname.toLowerCase()||``;return Or.map(e=>e.url.includes(t)?e:void 0).filter(e=>e)[0]?.name??Dr.NONE},jr=(e,t,n)=>{let r=on(e);if(!r)return e;let i=r.hostname&&t?.[r.hostname];return i&&(r.pathname+=i),Ar(r)===Dr.YOUTUBE&&(r.searchParams.set(`enablejsapi`,`1`),n!==`eager`&&(r.searchParams.set(`autoplay`,`1`),r.searchParams.set(`playsinline`,`1`))),r.toString()};function Mr(e){let t=typeof e==`string`?on(e):e;if(t)return t.searchParams.get(`v`)||t.pathname.split(`/`).find(e=>e&&![`shorts`,`watch`,`embed`,`live`].includes(e))}function Nr(e,t,n){return{youtube:`https://www.youtube.com/embed/${t}${n?`?start=${n}`:``}`,instagram:`https://www.instagram.com/p/${t}/embed/?omitscript=true`,tiktok:`https://www.tiktok.com/embed/v2/${t}`,facebook:`https://www.facebook.com/plugins/post.php?href=${t?encodeURIComponent(t):``}`,twitter:`https://x.com${t}`,vimeo:`https://player.vimeo.com/video/${t}`,brightcove:`https://www.straitstimes.com/embed/`+t}[e]}function Pr(e,t,n){let r=on(e);if(!e||!r)return[e||``,Dr.NONE];let i=Ar(r),a=e;if(e.includes(`/embed/`))return[jr(e,t,n)||``,i];switch(i){case Dr.YOUTUBE:{let e=Mr(r),t=r.searchParams.get(`t`);a=Nr(Dr.YOUTUBE,e,t);break}case Dr.INSTAGRAM:{let e=r.pathname.split(`/`).find(e=>e&&![`p`,`reel`].includes(e));a=Nr(Dr.INSTAGRAM,e);break}case Dr.TIKTOK:{let t=e.split(`/`).pop();a=Nr(Dr.TIKTOK,t);break}case Dr.FACEBOOK:if(e.includes(`facebook.com/plugins/post.php`))break;a=Nr(Dr.FACEBOOK,e);break;case Dr.TWITTER:a=Nr(Dr.TWITTER,r.pathname);break;case Dr.VIMEO:{let e=r.pathname.split(`/`).pop();a=Nr(Dr.VIMEO,e);break}case Dr.SPOTIFY:r.hostname=`embed.spotify.com`,a=r.href;break;case Dr.PODCAST:r.hostname=`omny.fm`,a=r.href;break}return[jr(a,t,n)||``,i]}var Fr=e=>{if(typeof e.srcWidth==`number`&&typeof e.srcHeight==`number`&&e.srcWidth>0&&e.srcHeight>0)return`${e.srcWidth} / ${e.srcHeight}`},Ir=(e,t)=>{if(!t||!e||t.includes(`mailto:`))return t;let n=t.includes(`http:`)||t.includes(`https:`),r=n?t:O+t,i=new URL(r);i.searchParams.append(`ref`,e);let a=Lr(i.href);return i.hash.toString()===``?n?i.origin.concat(`${i.pathname.toString()}?${a}`):i.pathname.concat(`?${a}`):n?i.origin.concat(`${i.pathname.toString()}?${a}`).concat(i.hash.toString()):i.pathname.concat(`?${a}`).concat(i.hash.toString())},Lr=e=>{let[t,n]=e.split(`?`);if(!n)return e;let r=new URLSearchParams(n),i=new URLSearchParams;return Array.from(new Set(Array.from(r.keys()))).forEach(e=>{let t=r.getAll(e);Array.from(new Set(t)).forEach(t=>{i.append(e,t)})}),i.toString()},Rr=e=>{if(e)return e.trim().toLowerCase().replace(/\s+/g,`-`)};function zr(e){let{title:t,ogTitle:n,ogDescription:r,twitterTitle:i,description:a,slug:o,shortLink:s,ogType:c,image:l,publishedTime:u,updatedTime:d,author:f,section:p,isArticlePage:m=!1,robots:h,keywords:g,copyright:_,canonicalUrl:v=!o||o===`home`?nr:nr+o,includeAppleSmartBanner:y,locale:b,alternateLinks:x}=e||{},S=[];return m&&(S.push({name:`taboola-item`,content:`index`}),_&&S.push({name:`sph:copyright`,content:_})),{title:t||`The Straits Times`,ogTitle:n,ogDescription:r,twitterTitle:i,description:a??``,slug:o??``,urlOrigin:nr,ogSiteName:rr,twitterSite:ar,twitterCard:ir,fbAdmins:or,fbAppId:sr,iosAppName:lr,iosAppStoreId:cr,appleItunesAppId:dr,androidAppId:ur,locale:b,shortLink:s,ogType:c,image:l||`https://static1.straitstimes.com.sg/s3f
18s-public/articles/2025/06/05/ST-bg.jpg`,publishedTime:u,updatedTime:d,author:f,section:p,isArticlePage:m,robots:h,keywords:g,canonicalUrl:v,includeAppleSmartBanner:y,hreflangAlternates:x,additionalMetaDescriptors:S}}var Br=`inline-article`,Vr={internal_link:function(e){let t=e.element;return(0,I.jsx)(Sn,{url:Ir(Br,t.relation?.urlPath)??``,type:z.CUSTOM,className:F(`inline text-primary-60 select-auto`),target:t.additionalFields.newWindow?.value?`_blank`:`_self`,rel:t.additionalFields.noFollow?.value?`nofollow noopener noreferrer`:`noopener`,children:(0,I.jsx)(In,{category:U.BODY,size:B.BASELINE,style:W.REGULAR,element:`span`,className:`inline`,children:e.children})})},external_link:function(e){let t=e.element;return(0,I.jsx)(Sn,{type:z.CUSTOM,url:Ir(Br,t.additionalFields.uri?.value)??`#`,className:F(`inline text-primary-60 select-auto`),target:t.additionalFields.newWindow?.value?`_blank`:`_self`,rel:t.additionalFields.noFollow?.value?`nofollow noopener`:`noopener`,children:(0,I.jsx)(In,{category:U.BODY,size:B.BASELINE,style:W.REGULAR,element:`span`,className:`inline`,children:e.children})})},bold:`b`,italic:`i`,subhead_italic:`i`,strike:`s`,subscript:`sub`,superscript:`sup`,capitals:function(e){return(0,I.jsx)(`span`,{className:`uppercase`,children:e.children})},underline:`u`,"mark-out":e=>e.children,bolditalic:function(e){return e.children},dropcap:function(e){return e.children},dateline:function(e){return(0,I.jsx)(`span`,{className:`dateline`,children:e.children})},leadin:function(e){return e.children},wire_credit_c:function(e){return e.children},title:function(e){return e.children},subtitle:function(e){return e.children},tagon_byline:function(e){return e.children},note:e=>e.children,ai_generated:e=>e.children};function Hr({element:e,className:t,testId:n=`article-paragraph-annotation-test-id`}){let r=e.value||``,i;return i=typeof Intl<`u`&&typeof Intl.Segmenter==`function`?[...new Intl.Segmenter().segment(r)].map(e=>e.segment):[...r],(0,I.jsx)(In,{category:U.BODY,size:B.BASELINE,style:W.REGULAR,testId:n,className:F(`text-primary`,t),children:R(e.textRangesWithAnnotations)?e.textRangesWithAnnotations.map((e,t)=>{let n=i.slice(e.start,e.end).join(``);return R(e.annotations)?(0,I.jsx)(Gr,{annotations:e.annotations,children:Wr(n)},t):Wr(n)}):Wr(r)})}var Ur=(e,t)=>e.length===0?[]:e.slice(1).reduce((e,n,r)=>e.concat([t(n,r),n]),[e[0]]),Wr=e=>e.includes(` 19`)?Ur(e.split(` 20`),(e,t)=>(0,I.jsx)(`br`,{},t)):e,Gr=({annotations:e,children:t})=>e.reduce((e,t)=>{let n=Vr?.[t.name],r=typeof n==`string`?{}:{element:t.value};return n?(0,I.jsx)(n,{...r,children:e}):e},t);function Kr({element:e,testId:t=`article-subhead-test-id`,className:n}){if(!(e===void 0||e.text===``||e.text===void 0))return(0,I.jsx)(e.variant===`h2`||e.variant===`h3`?e.variant:`b`,{className:F(qr(e.variant.slice(1,2)),n),"data-testid":t,children:e.text})}var qr=e=>{switch(e){case`2`:return`font-primary-headline-md-semibold`;case`3`:return`font-primary-headline-sm-semibold`;case`4`:case`5`:case`6`:return`font-tertiary-body-baseline-bold`;default:return`font-tertiary-body-baseline-bold`}};function Jr({title:e,className:t,testId:n=`announcement-test-id`}){return(0,I.jsx)(`div`,{className:F(`mobile:pt-16 mobile:pb-08 tablet:pt-24 tablet:pb-12 desktop:pt-32 desktop:pb-16 mobile:px-16 tablet:px-24 desktop:px-00`,t),"data-testid":n,children:(0,I.jsx)(Nn,{type:Dn.EMPHASIS,weight:V.FORTY,size:B.XXXL,className:`text-center`,children:e})})}var Yr=(0,L.createContext)({aiSummary:[],attachments:[],authors:[],blurb:``,byline:``,category:[],displaySetting:{}
20,displayType:`default`,externalURL:``,grapeshots:[],id:``,isArticlePreview:!1,kicker:``,media:void 0,navigationMenu:[],ogFields:{},paywall:{printFlag:!1,contentAccess:``,copyright:Bt.SPH,agencySource:``,automateFlag:null},processedElements:[],publishedDate:``,relatedContributorProfile:[],seoFields:{},shortUrl:``,source:``,standFirst:``,tags:[],title:``,type:``,typeName:``,updatedDate:``,urlPath:``,infiniteScrolling:{progress:0,hiddenProcessedElements:[]},advertisements:[],ttsUrl:``}),Xr=e=>/^([a-zA-Z0-9_.+-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e),Zr=(e,t)=>{let n=[];return n=Array.isArray(e)&&e.length>0?e:[],n=Array.isArray(t)&&t.length>0?[...n,...t]:n,n};function Qr({testId:e=`article-byline-test-id`,className:t}){let{authors:n,relatedContributorProfile:r,displaySetting:i}=(0,L.useContext)(Yr),a=Zr(n,r),o=R(a)?a:[];if(o.length!==0&&!(i&&!i.displayShortBio))return(0,I.jsx)(`div`,{className:F(`article-page-grid py-16`,t),"data-testid":e,children:o.map((e,t)=>{let n=e.shortBio||``;if(!(!n||n===``))return(0,I.jsxs)(L.Fragment,{children:[(0,I.jsx)(Jn,{className:`mx-00 h-01`}),(0,I.jsx)(`div`,{className:`flex py-24`,children:(0,I.jsx)(`div`,{className:`block`,children:(0,I.jsx)(`span`,{className:`text-tertiary font-eyebrow-baseline-regular inline-byline`,dangerouslySetInnerHTML:{__html:n},suppressHydrationWarning:!0})})})]},t)})})}var $r=function(e){return e.XS=`24`,e.S=`32`,e.DEFAULT=`48`,e.LARGE=`88`,e.XL=`176`,e}({}),ei=function(e){return e.LEFT=`byline-left`,e.RIGHT=`byline-right`,e.MULTIPLE=`byline-multiple`,e.CUSTOM=`byline-custom`,e}({});function ti({size:e=$r.DEFAULT,src:t,testId:n=`avatar-default`,className:r,alt:i}){return(0,I.jsx)(`div`,{"data-testid":`${n}-test-id`,className:F(`rounded-full aspect-square content-center justify-center`,`layer-two layer-no-hover`,`h-${e}`,`w-${e}`,r),children:t&&(0,I.jsx)(`img`,{src:t,className:F(`flex items-start shrink-0 object-cover rounded-full h-full w-full aspect-square`),"data-testid":`${n}-image-test-id`,alt:i??`avatar-alt`,suppressHydrationWarning:!0})})}var ni=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled circle, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM17 12.75H12.75V17H11.25V12.75H7V11.25H11.25V7H12.75V11.25H17V12.75Z`,fill:`#161616`})})}),ri=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined circle, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 16.69 16.69 20.5 12 20.5C7.31 20.5 3.5 16.69 3.5 12C3.5 7.31 7.31 3.5 12 3.5ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM17 11.25H12.75V7H11.25V11.25H7V12.75H11.25V17H12.75V12.75H17V11.25Z`,fill:`#161616`})})}),ii=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M21 12.75H12.75V21H11.25V12.75H3V11.25H11.25V3H12.75V11.25H21V12.75Z`,fill:`#161616`})})}),ai=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M6 2C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H20V2H6ZM18.5 3.5V17H5.5V3.5H18.5ZM5.5 19.5C5.5 18.95 5.95 18.5 6.5 18.5H18.5V20.5H6.5C5.95 20.5 5.5 20.05 5.5 19.5ZM14.12 11.12C14.66 10.58 15 9.83 15 9C15 7.34 13.66 6 12 6C10.34 6 9 7.34 9 9C9 9.83 9.34 10.58 9.88 11.12C8.76 11.83 8 13.07 8 14.5V15H9.5V14.5C9.5 13.12 10.62 12 12 12C13.38 12 14.5 13.12 14.5 14.5V15H16V14.5C16 13.07 15.25 11.83 14.12 11.12ZM10.5 9C10.5 8.17 11.17 7.5 12 7.5C12.83 7.5 13.5 8.17 13.5 9C13.5 9.83 12.83 10.5 12 10.5C11.17 10.5 10.5 9.83 10.5 9Z`,fill:`#161616`})})}),oi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M3.5 3.5H8V8H3.5V3.5ZM10 20.5H14V16H10V20.5ZM3.5 20.5H8V16H3.5V20.5ZM3.5 14H8V10H3.5V14ZM10 14H14V10H10V14ZM16 3.5V8H20.5V3.5H16ZM10 8H14
20V3.5H10V8ZM16 14H20.5V10H16V14ZM16 20.5H20.5V16H16V20.5Z`,fill:`#161616`})})}),si=e=>(0,I.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M7.24563 2V11.8018L3.05912 7.30558L2 8.44463L6.58618 13.3705C7.36553 14.2098 8.63447 14.2098 9.41382 13.3705L14 8.44463L12.9409 7.30558L8.75437 11.8018V2H7.25562H7.24563Z`,fill:`#3368B2`})}),ci=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11.25 3V19.14L4 12L3 13L10.31 20.31C10.78 20.78 11.39 21 12 21C12.61 21 13.23 20.77 13.69 20.31L21 13L20 12L12.75 19.14V3H11.25Z`,fill:`#161616`})})}),li=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M21 11.25H4.86L12 4L11 3L3.69 10.31C3.22 10.78 3 11.39 3 12C3 12.61 3.23 13.23 3.69 13.69L11 21L12 20L4.86 12.75H21V11.25Z`,fill:`#161616`})})}),ui=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M3 12.75H19.14L12 20L13 21L20.31 13.69C20.78 13.22 21 12.61 21 12C21 11.39 20.77 10.77 20.31 10.31L13 3L12 4L19.14 11.25H3V12.75Z`,fill:`#161616`})})}),di=e=>(0,I.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M8.75 14V4.00813L13 8.50447L14 7.50529L9.41 2.62844C8.63 1.79052 7.36 1.79052 6.58 2.62844L2 7.50529L3 8.50447L7.25 4.00813V14H8H8.75Z`,fill:`#161616`})}),fi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12.75 21V4.86L20 12L21 11L13.69 3.69C13.22 3.22 12.61 3 12 3C11.39 3 10.77 3.23 10.31 3.69L3 11L4 12L11.25 4.86V21H12.75Z`,fill:`#161616`})})}),pi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24px`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M20 6V7H4V6C4 4.9 4.89 4 6 4H7L8 3H16L17 4H18C19.1 4 20 4.89 20 6ZM17.5 10.5H6.5L7.25 19.5H16.75M18.23 19.26C18.1 20.25 17.25 21 16.25 21H7.75C6.75 21 5.9 20.26 5.77 19.26L5 9H19L18.23 19.26ZM11 12H9V18H11V12ZM15 12H13V18H15V12Z`,fill:`#161616`})})}),mi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M17 2H7C5.9 2 5 2.9 5 4V21C5 21.85 6 22.31 6.65 21.75L12 16L17.35 21.75C18 22.31 19 21.86 19 21V4C19 2.9 18.1 2 17 2Z`,fill:`#161616`})})}),hi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M17 2H7C5.9 2 5 2.9 5 4V21C5 21.85 6 22.31 6.65 21.75L12 16L17.35 21.75C18 22.31 19 21.86 19 21V4C19 2.9 18.1 2 17 2ZM17.5 19.5L12 14L6.5 19.5V3.5H17.5V19.5Z`,fill:`#161616`})})}),gi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z`,fill:`#161616`})})}),_i=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M19 5H17V3H14.5V5H9.5V3H7V5H5C3.9 5 3 5.9 3 7V18C3 19.1 3.9 20 5 20H19C20.1 20 21 19.1 21 18V7C21 5.9 20.1 5 19 5ZM19.5 18.5H4.5V8.5H19.5V18.5Z`,fill:`#161616`})})}),vi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M15 12.5C15 14.15 13.65 15.5 12 15.5C10.35 15.5 9 14.15 9 12.5C9 10.85 10.35 9.5 12 9.5C13.65 9.5 15 10.85 15 12.5ZM22 9V18C22 19.1 21.1 20 20 20H4C2.9 20 2 19.1 2 18V9C2 7.9 2.9 7 4 7H6L7.45 4.83C7.79 4.32 8.48 4 9.24 4H14.77C15.53 4 16.22 4.32 16.56 4.83L18.01 7H20.01C21.11 7 22.01 7.9 22.01 9H22ZM16.5 12.5C16.5 10.01 14.49 8 12 8C9.51 8 7.5 10.01 7.5 12.5C7.5 14.99 9.51 17 12 17C14.49 17 16.5 14.99 16.5 12.5Z`,fill:`#161616`})})}),yi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M20.01 7H18.01L16.56 4.83C16.22 4.32 15.53 4 14.77 4H9.24C8.48 4 7.79 4.32 7.45 4.83L6 7H4C2.9 7 2 7.9 2 9V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V9C22 7.9 21.1 7 20 7H20.01ZM20.51 18.5H3.51V8.5H6.7L8.7 5.5H15.32L17.32 8.5H20.51V18.5ZM12.01 9.5C13.66 9.5 15.01 10.85 15.01 12.5C15.01 14.15 13.66 15.5 12.01 15.5C10.36 15.5 9.01 14.15 9.01 12.5C9.01 10.85 10.36 9.5 12.01 9.5ZM12.01 8C9.52 8 7.51 10.01 7.51 12.5C7.51 14.99 9.52 17 12.01 17C14.5 17 16.51 14.99 16.51 12.5C16.51 10.01 14.5 8 12.01 8Z`,fill:`#161616`})})}),bi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M20 4.5H4C2.9 4.5 2 5.4 2 6.5V17.5C2 18.6 2.9 19.5 4 19.5H20C21.1 19.5 22 18.6 22 17.5V6.5C22 5.4 21.1 4.5 20 4.5ZM20.5 6V8H3.5V6H20.5ZM3.5 18V11H20.5V18H3.5ZM7.55 14.09C7.36 14.44 7.25 14.83 7.25 15.25C7.25 15.67 7.36 16.06 7.55 16.41C7.23 16.77 6.77 17 6.25 17C5.28 17 4.5 16.22 4.5 15.25C4.5 14.28 5.28 13.5 6.25 13.5C6.77 13.5 7.23 13.73 7.55 14.09ZM11.5 15.25C11.5 16.22 10.72 17 9.75 17C8.78 17 8 16.22 8 15.25C8 14.28 8.78 13.5 9.75 13.5C10.72 13.5 11.5 14.28 11.5 15.25Z`,fill:`#161616`})})}),xi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M21 20H3C1.9 20 1 19.1 1 18V6C1 4.9 1.9 4 3 4H21C22.1 4 23 4.9 23 6V18C23 19.1 22.1 20 21 20ZM21.5 5.5H2.5V18.5H21.5V5.5ZM10.5 8.4H8.8V7H7.2V8.4C5.98 8.4 5 9.38 5 10.6C5 11.82 5.98 12.8 7.2 12.8H9C9.33 12.8 9.6 13.07 9.6 13.4C9.6 13.73 9.33 14 9 14H5.5V15.6H7.2V17H8.8V15.6C10.02 15.6 11 14.62 11 13.4C11 12.18 10.02 11.2 8.8 11.2H7C6.67 11.2 6.4 10.93 6.4 10.6C6.4 10.27 6.67 10 7 10H10.5V8.4ZM13 12.6H19V11H13V12.6ZM13 16H19V14.4H13V16Z`,fill:`#161616`})})}),Si=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Neutral, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M19 21H5C3.9 21 3 20.11 3 19V5C3 3.9 3.89 3 5 3H19C20.1 3 21 3.89 21 5V19C21 20.1 20.11 21 19 21ZM18 11.25V12.75H6V11.25H18Z`,fill:`#161616`})})}),Ci=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Selected, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M19 21H5C3.9 21 3 20.11 3 19V5C3 3.9 3.89 3 5 3H19C20.1 3 21 3.89 21 5V19C21 20.1 20.11 21 19 21ZM18 8L10 16L6 12L5 13L10 18L19.01 8.99L18 8Z`,fill:`#161616`})})}),wi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Empty, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M19 21H5C3.9 21 3 20.11 3 19V5C3 3.9 3.89 3 5 3H19C20.1 3 21 3.89 21 5V19C21 20.1 20.11 21 19 21ZM19.5 4.5H4.5V19.5H19.5V4.5Z`,fill:`#161616`})})}),Ti=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M21 12C21 7.04 16.96 3 12 3C7.04 3 3 7.04 3 12C3 16.96 7.04 21 12 21C16.96 21 21 16.96 21 12ZM11.29 13.19C11.68 13.6 12.31 13.6 12.7 13.19L15.99 10L16.99 11L13.68 14.27C13.21 14.76 12.6 15 11.99 15C11.38 15 10.76 14.76 10.3 14.27L6.99 11L7.99 10L11.28 13.19H11.29Z`,fill:`#161616`})})}),Ei=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11.29 13.29C11.68 13.68 12.31 13.68 12.7 13.29L15.99 10L16.99 11L13.68 14.31C13.21 14.78 12.6 15 11.99 15C11.38 15 10.76 14.77 10.3 14.31L6.99 11L7.99 10L11.28 13.29H11.29ZM20.5 12C20.5 7.31 16.69 3.5 12 3.5C7.31 3.5 3.5 7.31 3.5 12C3.5 16.69 7.31 20.5 12 20.5C16.69 20.5 20.5 16.69 20.5 12ZM22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12Z`,fill:`#161616`})})}),Di=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 21C16.96 21 21 16.96 21 12C21 7.04 16.96 3 12 3C7.04 3 3 7.04 3 12C3 16.96 7.04 21 12 21ZM10.81 11.29C10.4 11.68 10.4 12.31 10.81 12.7L14 15.99L13 16.99L9.73 13.68C9.24 13.21 9 12.6 9 11.99C9 11.38 9.24 10.76 9.73 10.3L13 6.99L14 7.99L10.81 11.28V11.29Z`,fill:`#161616`})})}),Oi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M10.71 11.29C10.32 11.68 10.32 12.31 10.71 12.7L14 15.99L13 16.99L9.69 13.68C9.22 13.21 9 12.6 9 11.99C9 11.38 9.23 10.76 9.69 10.3L13 6.99L14 7.99L10.71 11.28V11.29ZM12 20.5C16.69 20.5 20.5 16.69 20.5 12C20.5 7.31 16.69 3.5 12 3.5C7.31 3.5 3.5 7.31 3.5 12C3.5 16.69 7.31 20.5 12 20.5ZM12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22Z`,fill:`#161616`})})}),ki=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 3C7.04 3 3 7.04 3 12C3 16.96 7.04 21 12 21C16.96 21 21 16.96 21 12C21 7.04 16.96 3 12 3ZM13.19 12.71C13.6 12.32 13.6 11.69 13.19 11.3L10 8.01L11 7.01L14.27 10.32C14.76 10.79 15 11.4 15 12.01C15 12.62 14.76 13.24 14.27 13.7L11 17.01L10 16.01L13.19 12.72V12.71Z`,fill:`#161616`})})}),Ai=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M10 8L11 7L14.31 10.31C14.78 10.78 15 11.39 15 12C15 12.61 14.77 13.23 14.31 13.69L11 17L10 16L13.29 12.71C13.68 12.32 13.68 11.69 13.29 11.3L10 8.01V8ZM12 20.5C16.69 20.5 20.5 16.69 20.5 12C20.5 7.31 16.69 3.5 12 3.5C7.31 3.5 3.5 7.31 3.5 12C3.5 16.69 7.31 20.5 12 20.5ZM12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22Z`,fill:`#161616`})})}),ji=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M3 12C3 16.96 7.04 21 12 21C16.96 21 21 16.96 21 12C21 7.04 16.96 3 12 3C7.04 3 3 7.04 3 12ZM12.71 10.81C12.32 10.4 11.69 10.4 11.3 10.81L8.01 14L7.01 13L10.32 9.73C10.79 9.24 11.4 9 12.01 9C12.62 9 13.24 9.24 13.7 9.73L17.01 13L16.01 14L12.72 10.81H12.71Z`,fill:`#161616`})})}),Mi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12.71 10.71C12.32 10.32 11.69 10.32 11.3 10.71L8.01 14L7.01 13L10.32 9.69C10.79 9.22 11.4 9 12.01 9C12.62 9 13.24 9.23 13.7 9.69L17.01 13L16.01 14L12.72 10.71H12.71ZM3.5 12C3.5 16.69 7.31 20.5 12 20.5C16.69 20.5 20.5 16.69 20.5 12C20.5 7.31 16.69 3.5 12 3.5C7.31 3.5 3.5 7.31 3.5 12ZM2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12Z`,fill:`#161616`})})}),Ni=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.47 22 12 22C17.53 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20.5C7.3 20.5 3.5 16.7 3.5 12C3.5 7.3 7.3 3.5 12 3.5C16.7 3.5 20.5 7.3 20.5 12C20.5 16.7 16.7 20.5 12 20.5ZM15 16L11 13V5.99L12.5 6V12.25L16 14.75L15 16Z`,fill:`#161616`})})}),Pi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M20 7H17V4C17 2.9 16.1 2 15 2H4C2.9 2 2 2.9 2 4V18L6 14V17C6 18.1 6.9 19 8 19H19L22 22V9C22 7.9 21.1 7 20 7ZM5.5 12.5L3.5 14.5V3.5H15.5V12.5H5.5ZM20.5 18.5L19.5 17.5H7.5V14H15C16.1 14 17 13.1 17 12V8.5H20.5V18.5Z`,fill:`#161616`})})}),Fi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 12C4 13.66 5.34 15 7 15H11V16.5H7C4.51 16.5 2.5 14.49 2.5 12C2.5 9.51 4.51 7.5 7 7.5H11V9H7C5.34 9 4 10.34 4 12ZM17 15H13V16.5H17C19.49 16.5 21.5 14.49 21.5 12C21.5 9.51 19.49 7.5 17 7.5H13V9H17C18.66 9 20 10.34 20 12C20 13.66 18.66 15 17 15ZM16 11.25H8V12.75H16V11.25Z`,fill:`#161616`})})}),Ii=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M18 2H9C7.9 2 7.5 2.9 7.5 4V16.5C7.5 17.6 8.4 18.5 9.5 18.5H18C19.1 18.5 20 17.6 20 16.5V4C20 2.9 19.1 2 18 2ZM18.5 17H9V3.5H18.5V17ZM5.5 20.5H16V22H6C4.9 22 4 21.1 4 20V7H5.5V20.5Z`,fill:`#161616`})})}),Li=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M19 17H5C3.9 17 3 16.1 3 15V6C3 4.9 3.9 4 5 4H19C20.1 4 21 4.9 21 6V15C21 16.1 20.1 17 19 17ZM19.5 5.5H4.5V15.5H19.5V5.5ZM22 19V18.5H2V19C2 19.55 2.45 20 3 20H21C21.55 20 22 19.55 22 19Z`,fill:`#161616`})})}),Ri=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 6V5C4 3.9 4.89 3 6 3H19.01C20.11 3 21.01 3.89 21.01 5V14.01C21.01 15.11 20.12 16.01 19.01 16.01H12.01V14.51H19.51V4.5H5.5V6H4ZM12 17.5V19H20C21.1 19 22 19 22 17.5H12ZM11 9V19C11 20.1 10.
201 21 9 21H4C2.9 21 2 20.1 2 19V9C2 7.9 2.9 7 4 7H9C10.1 7 11 7.9 11 9ZM9.5 9H3.5V18H9.5V9Z`,fill:`#161616`})})}),zi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2ZM10.5 18L7.5 15L8.5 14L10.5 16L15.5 11L16.5 12L10.5 18ZM16 8C14.9 8 14 7.1 14 6V4L18 8H16Z`,fill:`#161616`})})}),Bi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2ZM18.5 20.5H5.5V3.54L14 3.5V6C14 7.1 14.9 8 16 8H18.5V20.5ZM15.5 11L16.5 12L10.5 18L7.5 15L8.5 14L10.5 16L15.5 11Z`,fill:`#161616`})})}),Vi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2ZM16 18H8V16.5H16V18ZM16 14.5H8V13H16V14.5ZM16 8C14.9 8 14 7.1 14 6V4L18 8H16Z`,fill:`#161616`})})}),Hi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2ZM18.5 20.5H5.5V3.54L14 3.5V6C14 7.1 14.9 8 16 8H18.5V20.5ZM8 13V14.5H16V13H8ZM8 16.5V18H16V16.5H8Z`,fill:`#161616`})})}),Ui=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2ZM18.5 20.5H5.5V3.54L14 3.5V6C14 7.1 14.9 8 16 8H18.5V20.5ZM10.91 12.3C10.67 11.52 10.14 9.04 11.54 9C12.93 8.96 12.02 12.15 12.02 12.15C12.41 13.65 14.03 14.73 14.03 14.73C14.53 14.58 17.37 14.25 16.97 15.74C16.54 17.23 13.48 15.83 13.48 15.83C11.54 15.97 10.08 16.5 10.08 16.5C8.95 18.63 7.64 19.56 7.1 18.66C6.43 17.54 9.22 16.1 9.22 16.1C10.66 13.73 10.88 12.35 10.9 12.31M11.55 13.15C11.15 14.46 10.36 15.86 10.36 15.86C11.21 15.52 13.06 15.12 13.06 15.12C11.92 14.11 11.58 13.15 11.56 13.14M14.68 15.34C14.68 15.34 16.42 16 16.46 15.73C16.53 15.46 15.14 15.22 14.68 15.34ZM9.04 16.84C8.27 17.14 7.54 18.43 7.72 18.43C7.9 18.44 8.63 17.82 9.04 16.84ZM11.55 11.24C11.55 11.19 11.98 9.54 11.55 9.49C11.25 9.46 11.55 11.2 11.55 11.24Z`,fill:`#161616`})})}),Wi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M21 12V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V12H4.5V19.5H19.5V12H21ZM16.5 9.5L12.75 13.25V3H11.25V13.2L7.5 9.5L6.5 10.5L10.31 14.32C10.78 14.79 11.39 15 12 15C12.61 15 13.23 14.78 13.69 14.32L17.5 10.5L16.5 9.5Z`,fill:`#161616`})})}),Gi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M21 7C20.99 6.42 20.77 5.85 20.33 5.41L18.59 3.67C18.14 3.22 17.59 3 17 3C16.41 3 15.78 3.22 15.33 3.67L3 16V21H8L20.33 8.67C20.79 8.21 21.01 7.6 21 7ZM7.25 19.5H4.5V16.75L14.12 7.05L16.95 9.88L7.25 19.5ZM15.09 6.09L16.99 4.19L19.82 7.02L17.92 8.92L15.09 6.09Z`,fill:`#161616`})})}),Ki=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M22 12C20.49 16.08 16.79 19 12 19C10.62 19 9.33 18.75 8.15 18.3L9.33 17.12C10.18 17.36 11.08 17.49 12 17.49C15.74 17.49 19.02 15.4 20.5 11.99C19.9 10.61 18.99 9.46 17.89 8.56L18.93 7.52C20.3 8.71 21.35 10.24 22 11.99V12ZM21 3L3 21L2 20L5.33 16.67C3.84 15.46 2.69 13.85 2 12C3.51 7.92 7.21 5 12 5C13.51 5 14.91 5.3 16.17 5.83L20 2L21 3ZM6.37 15.63L8.36 13.64C8.13 13.14 8 12.59 8 12C8 9.79 9.79 8 12 8C12.59 8 13.13 8.14 13.63 8.37L14.99 7.01C14.05 6.69 13.04 6.5 12 6.5C8.26 6.5 4.98 8.59 3.5 12C4.15 13.49 5.15 14.71 6.37 15.63ZM14.99 11.46C14.99 11.46 14.96 11.49 14.94 11.51L10.69 15.76C11.1 15.9 11.54 16 12 16C14.21 16 16 14.21 16 12C16 11.54 15.91 11.1 15.76 10.69L14.99 11.46Z`,fill:`#161616`})})}),qi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M16 12C16 14.21 14.21 16 12 16C9.79 16 8 14.21 8 12C8 9.79 9.79 8 12 8C14.21 8 16 9.79 16 12ZM13 9C12.45 9 12 9.45 12 10C12 10.55 12.45 11 13 11C13.55 11 14 10.55 14 10C14 9.45 13.55 9 13 9ZM12 5C7.21 5 3.51 7.92 2 12C3.51 16.08 7.21 19 12 19C16.79 19 20.49 16.08 22 12C20.49 7.92 16.79 5 12 5ZM12 6.5C15.74 6.5 19.02 8.59 20.5 12C19.02 15.41 15.74 17.5 12 17.5C8.26 17.5 4.98 15.41 3.5 12C4.98 8.59 8.26 6.5 12 6.5Z`,fill:`#161616`})})}),Ji=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M20 7H4V8.5H20V7ZM14 17H10V18.5H14V17ZM6 12H18V13.5H6V12Z`,fill:`#161616`})})}),Yi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M19 7H16.49C16.81 6.58 17 6.07 17 5.5C17 4.12 15.88 3 14.5 3C13.12 3 12 4.12 12 5.5C12 4.12 10.88 3 9.5 3C8.12 3 7 4.12 7 5.5C7 6.07 7.19 6.58 7.51 7H5C3.9 7 3 7.9 3 9V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V9C21 7.9 20.1 7 19 7ZM14.5 4.5C15.05 4.5 15.5 4.95 15.5 5.5C15.5 6.05 15.05 6.5 14.5 6.5C13.95 6.5 13.5 6.05 13.5 5.5C13.5 4.95 13.95 4.5 14.5 4.5ZM9.5 4.5C10.05 4.5 10.5 4.95 10.5 5.5C10.5 6.05 10.05 6.5 9.5 6.5C8.95 6.5 8.5 6.05 8.5 5.5C8.5 4.95 8.95 4.5 9.5 4.5ZM4.5 19.5V8.5H9.5L7 11L8 12L11.25 8.75V19.5H4.5ZM19.5 19.5H12.75V8.75L16 12L17 11L14.5 8.5H19.5V19.5Z`,fill:`#161616`})}),Xi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Filled=On`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C7.03 2 3 6.03 3 11V15C3 16.1 3.9 17 5 17H6C7.1 17 8 16.1 8 15V10H4.57C5.06 6.34 8.2 3.5 12 3.5C15.8 3.5 18.93 6.34 19.43 10H16V15C16 15.93 16.64 16.71 17.5 16.93V19C17.5 19.28 17.28 19.5 17 19.5H14V18H10V21H17C18.1 21 19 20.1 19 19V17C20.1 17 21 16.1 21 15V11C21 6.03 16.97 2 12 2Z`,fill:`#161616`})})}),Zi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Filled=Off`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C7.03 2 3 6.03 3 11V15C3 16.1 3.9 17 5 17H6C7.1 17 8 16.1 8 15V10H4.57C5.06 6.34 8.2 3.5 12 3.5C15.8 3.5 18.93 6.34 19.43 10H16V15C16 15.93 16.64 16.71 17.5 16.93V19C17.5 19.28 17.28 19.5 17 19.5H14V18H10V21H17C18.1 21 19 20.1 19 19V17C20.1 17 21 16.1 21 15V11C21 6.03 16.97 2 12 2ZM6.5 15C6.5 15.28 6.28 15.5 6 15.5H5C4.72 15.5 4.5 15.28 4.5 15V11.5H6.5V15ZM19.5 15C19.5 15.28 19.28 15.5 19 15.5H18C17.72 15.5 17.5 15.28 17.5 15V11.5H19.5V15Z`,f
20ill:`#161616`})})}),Qi=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M15 12V9H12V5H5C3.9 5 3 5.9 3 7V19C3 20.1 3.9 21 5 21H18C19.1 21 20 20.1 20 19V12H15ZM5 19L8 15L9.58 17.11L13 13L18 19H5ZM22 5H18.75V2H17.25V5H14V6.5H17.25V10H18.75V6.5H22V5Z`,fill:`#161616`})})}),$i=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M18.5 8.99992H17V7.20992C17 4.59992 15.09 2.26992 12.49 2.01992C9.51 1.73992 7 4.06992 7 6.99992V8.99992H5.5C4.67 8.99992 4 9.66992 4 10.4999V20.4999C4 21.3299 4.67 21.9999 5.5 21.9999H18.5C19.33 21.9999 20 21.3299 20 20.4999V10.4999C20 9.66992 19.33 8.99992 18.5 8.99992ZM12.75 16.8499L13 17.9999H11L11.25 16.8499C10.52 16.5499 10 15.8399 10 14.9999C10 13.7599 11.13 12.7899 12.41 13.0399C13.17 13.1899 13.8 13.8099 13.95 14.5699C14.16 15.5899 13.6 16.4999 12.74 16.8499H12.75ZM15.5 8.99992H8.5V6.99992C8.5 5.06992 10.07 3.49992 12 3.49992C13.93 3.49992 15.5 5.06992 15.5 6.99992V8.99992Z`,fill:`#161616`})})}),ea=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M10 14.9999C10 13.7599 11.13 12.7899 12.41 13.0399C13.17 13.1899 13.8 13.8099 13.95 14.5699C14.16 15.5899 13.6 16.4999 12.74 16.8499L12.99 17.9999H10.99L11.24 16.8499C10.51 16.5499 9.99 15.8399 9.99 14.9999H10ZM20 10.4999V20.4999C20 21.3299 19.33 21.9999 18.5 21.9999H5.5C4.67 21.9999 4 21.3299 4 20.4999V10.4999C4 9.66992 4.67 8.99992 5.5 8.99992H7V7.20992C7 4.59992 8.91 2.26992 11.51 2.01992C14.49 1.73992 17 4.06992 17 6.99992V8.99992H18.5C19.33 8.99992 20 9.66992 20 10.4999ZM8.5 8.99992H15.5V7.09992C15.5 5.42992 14.37 3.90992 12.73 3.57992C10.48 3.11992 8.5 4.82992 8.5 6.99992V8.99992ZM18.5 10.4999H5.5V20.4999H18.5V10.4999Z`,fill:`#161616`})})}),ta=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M16 2H8C6.34 2 5 3.34 5 5V19C5 20.66 6.34 22 8 22H16C17.66 22 19 20.66 19 19V5C19 3.34 17.66 2 16 2ZM17.5 19H6.5V5H17.5V19Z`,fill:`#161616`})})}),na=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11.71 11.29C11.32 11.68 11.32 12.31 11.71 12.7L16.5 17.49L15.5 18.49L10.69 13.68C10.22 13.21 10 12.6 10 11.99C10 11.38 10.23 10.76 10.69 10.3L15.5 5.48999L16.5 6.48999L11.71 11.28V11.29ZM7 5.49999H5.5V18.5H7V5.49999Z`,fill:`#161616`})})}),ra=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12.29 12.71C12.68 12.32 12.68 11.69 12.29 11.3L7.5 6.51L8.5 5.51L13.31 10.32C13.78 10.79 14 11.4 14 12.01C14 12.62 13.77 13.24 13.31 13.7L8.5 18.51L7.5 17.51L12.29 12.72V12.71ZM17 18.5H18.5V5.5H17V18.5Z`,fill:`#161616`})})}),ia=e=>(0,I.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,...e,children:(0,I.jsx)(`path`,{d:`M22 11C22 9.34 20.66 8 19 8H18V3H6V8H5C3.34 8 2 9.34 2 11V17H6V22H18V17H22V11ZM7.5 4.5H16.5V8H7.5V4.5ZM16.5 20.5H7.5V15.5H16.5V20.5ZM20.5 15.5H18V14H6V15.5H3.5V11.5C3.5 10.4 4.4 9.5 5.5 9.5H18.5C19.6 9.5 20.5 10.4 20.5 11.5V15.5ZM19 12C19 12.55 18.55 13 18 13C17.45 13 17 12.55 17 12C17 11.45 17.45 11 18 11C18.55 11 19 11.45 19 12Z`,fill:`#161616`})}),aa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Subtract`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M8.11 21.23C9.33 21.76 10.63 22.02 12.01 22.02C13.39 22.02 14.69 21.76 15.91 21.23C17.13 20.7 18.19 19.99 19.09 19.09C19.99 18.19 20.7 17.13 21.23 15.91C21.76 14.69 22.02 13.39 22.02 12.01C22.02 10.63 21.76 9.33 21.23 8.11C20.7 6.89 19.99 5.83 19.09 4.93C18.19 4.03 17.13 3.32 15.91 2.79C14.69 2.26 13.39 2 12.01 2C10.63 2 9.33 2.26 8.11 2.79C6.89 3.32 5.83 4.03 4.93 4.93C4.03 5.83 3.32 6.89 2.79 8.11C2.26 9.33 2 10.63 2 12.01C2 13.39 2.26 14.69 2.79 15.91C3.32 17.13 4.03 18.19 4.93 19.09C5.83 19.99 6.89 20.7 8.11 21.23ZM12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z`,fill:`#161616`})})}),oa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Subtract`,d:`M12.005 22C10.625
207 22 9.32634 21.7401 8.10695 21.2104C6.88756 20.6907 5.82809 19.971 4.92854 19.0715C4.02899 18.1719 3.31934 17.1124 2.78961 15.903C2.25987 14.6837 2 13.3843 2 12.005C2 10.6257 2.25987 9.32634 2.78961 8.10695C3.30935 6.88756 4.02899 5.82809 4.92854 4.92854C5.82809 4.02899 6.88756 3.31934 8.09695 2.78961C9.31634 2.25987 10.6157 2 11.995 2C13.3743 2 14.6737 2.25987 15.8931 2.78961C17.1124 3.31934 18.1719 4.02899 19.0715 4.92854C19.971 5.82809 20.6807 6.88756 21.2104 8.09695C21.7401 9.31634 22 10.6157 22 11.995C22 13.3743 21.7401 14.6737 21.2104 15.8931C20.6907 17.1124 19.971 18.1719 19.0715 19.0715C18.1719 19.971 17.1124 20.6807 15.903 21.2104C14.6837 21.7401 13.3843 22 12.005 22ZM12.005 20.4208C14.3538 20.4208 16.3428 19.6012 17.972 17.972C19.6012 16.3428 20.4208 14.3538 20.4208 12.005C20.4208 9.65617 19.6012 7.66717 17.972 6.03798C16.3428 4.4088 14.3538 3.58921 12.005 3.58921C9.65617 3.58921 7.66717 4.4088 6.03798 6.03798C4.4088 7.66717 3.58921 9.65617 3.58921 12.005C3.58921 14.3538 4.4088 16.3428 6.03798 17.972C7.66717 19.6012 9.65617 20.4208 12.005 20.4208Z`,fill:`#161616`})})}),sa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M18.5 3V7.36C17.05 5.33 14.69 4 12 4C7.58 4 4 7.58 4 12C4 16.42 7.58 20 12 20H16V18.5H12
20C8.42 18.5 5.5 15.58 5.5 12C5.5 8.42 8.42 5.5 12 5.5C14.69 5.5 16.99 7.16 17.97 9.5H13V11H18C19.1 11 20 10.1 20 9V3H18.5Z`,fill:`#161616`})})}),ca=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled circle, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM17 12.75H7V11.25H17V12.75Z`,fill:`#161616`})})}),la=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined circle, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M17 12.75H7V11.25H17V12.75ZM12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 16.69 16.69 20.5 12 20.5C7.31 20.5 3.5 16.69 3.5 12C3.5 7.31 7.31 3.5 12 3.5ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z`,fill:`#161616`})})}),ua=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M21 11.25V12.75H3V11.25H21Z`,fill:`#161616`})})}),da=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M16.5 15C15.54 15 14.68 15.39 14.04 16.01L9.76001 13.23C9.90001 12.85 9.99001 12.44 9.99001 12C9.99001 11.56 9.90001 11.15 9.76001 10.77L14.04 7.99C14.67 8.61 15.54 9 16.5 9C18.43 9 20 7.43 20 5.5C20 3.57 18.43 2 16.5 2C14.57 2 13 3.57 13 5.5C13 5.93 13.09 6.35 13.23 6.73L8.95001 9.51C8.32001 8.89 7.45001 8.5 6.49001 8.5C4.56001 8.5 2.99001 10.07 2.99001 12C2.99001 13.93 4.56001 15.5 6.49001 15.5C7.45001 15.5 8.31001 15.11 8.95001 14.49L13.23 17.27C13.09 17.65 13 18.06 13 18.5C13 20.43 14.57 22 16.5 22C18.43 22 20 20.43 20 18.5C20 16.57 18.43 15 16.5 15Z`,fill:`#161616`})})}),fa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M16.5002 15C15.5402 15 14.6802 15.39 14.0402 16.01L9.76023 13.23C9.90023 12.85 9.99023 12.44 9.99023 12C9.99023 11.56 9.90023 11.15 9.76023 10.77L14.0402 7.99C14.6702 8.61 15.5402 9 16.5002 9C18.4302 9 20.0002 7.43 20.0002 5.5C20.0002 3.57 18.4302 2 16.5002 2C14.5702 2 13.0002 3.57 13.0002 5.5C13.0002 5.93 13.0902 6.35 13.2302 6.73L8.95023 9.51C8.32023 8.89 7.45023 8.5 6.49023 8.5C4.56023 8.5 2.99023 10.07 2.99023 12C2.99023 13.93 4.56023 15.5 6.49023 15.5C7.45023 15.5 8.31023 15.11 8.95023 14.49L13.2302 17.27C13.0902 17.65 13.0002 18.06 13.0002 18.5C13.0002 20.43 14.5702 22 16.5002 22C18.4302 22 20.0002 20.43 20.0002 18.5C20.0002 16.57 18.4302 15 16.5002 15ZM16.5002 3.5C17.6002 3.5 18.5002 4.4 18.5002 5.5C18.5002 6.6 17.6002 7.5 16.5002 7.5C15.4002 7.5 14.5002 6.6 14.5002 5.5C14.5002 4.4 15.4002 3.5 16.5002 3.5ZM6.50023 14C5.40023 14 4.50023 13.1 4.50023 12C4.50023 10.9 5.40023 10 6.50023 10C7.60023 10 8.50023 10.9 8.50023 12C8.50023 13.1 7.60023 14 6.50023 14ZM16.5002 20.5C15.4002 20.5 14.5002 19.6 14.5002 18.5C14.5002 17.4 15.4002 16.5 16.5002 16.5C17.6002 16.5 18.5002 17.4 18.5002 18.5C18.5002 19.6 17.6002 20.5 16.5002 20.5Z`,fill:`#161616`})})}),pa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14.25 12V4L9.99999 8.5L8.99999 7.5L13.59 2.63C14.37 1.79 15.64 1.79 16.42 2.63L21.01 7.5L20.01 8.5L15.76 4V12H14.26H14.25ZM9.74999 12V20L14 15.5L15 16.5L10.41 21.37C9.62999 22.21 8.35999 22.21 7.57999 21.37L2.98999 16.5L3.98999 15.5L8.23999 20V12H9.73999H9.74999Z`,fill:`#161616`})})}),ma=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 11C4.49 7.05 7.92 4 12 4C14.69 4 17.05 5.33 18.5 7.36V3H20V9C20 10.1 19.1 11 18 11H13V9.5H17.97C16.99 7.16 14.69 5.5 12 5.5C8.76 5.5 5.98 7.89 5.5 11H4ZM18.5 13C18.02 16.11 15.24 18.5 12 18.5C9.31 18.5 7.01 16.84 6.03 14.5H11V13H6C4.9 13 4 13.9 4 15V21H5.5V16.64C6.95 18.67 9.31 20 12 20C16.08 20 19.51 16.95 20 13H18.5Z`,fill:`#161616`})})}),ha=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14.99 3.5H9V2H14.99V3.5ZM18.04 7.78L19.41 6.41L18 5L16.56 6.44C15.26 5.54 13.69 5 12 5C7.59 5 4 8.59 4 13C4 17.41 7.59 21 12 21C16.41 21 20 17.41 20 13C20 11 19.26 9.18 18.05 7.78H18.04ZM12.75 14H11.25V8H12.75V14Z`,fill:`#161616`})})}),ga=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M18.05 7.78L19.42 6.41L18.01 5L16.57 6.44C15.27 5.54 13.7 5 12.01 5C7.60001 5 4.01001 8.59 4.01001 13C4.01001 17.41 7.60001 21 12.01 21C16.42 21 20.01 17.41 20.01 13C20.01 11 19.27 9.18 18.06 7.78H18.05ZM12 19.5C8.42001 19.5 5.50001 16.58 5.50001 13C5.50001 9.42 8.42001 6.5 12 6.5C15.58 6.5 18.5 9.42 18.5 13C18.5 16.58 15.58 19.5 12 19.5ZM15 3.5H9.00001V2H15V3.5ZM12.75 14H11.25V8H12.75V14Z`,fill:`#161616`})})}),_a=e=>(0,I.jsx)(`svg`,{width:14,height:13,viewBox:`0 0 14 13`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M7.13 12.46L9.9 5.07H11.23L14 12.46H12.72L12.06 10.56H9.08L8.42 12.46H7.14H7.13ZM1.96 10.52L1.15 9.69L4.26 6.61C3.87 6.2 3.51 5.77 3.17 5.33C2.84 4.89 2.54 4.41 2.29 3.89H3.62C3.81 4.24 4.01 4.53 4.2 4.77C4.39 5.01 4.68 5.34 5.04 5.75C5.45 5.3 5.83 4.82 6.17 4.33C6.51 3.84 6.8 3.31 7.01 2.73H0V1.56H4.47V0H5.64V1.56H10.11V2.73H8.26C8.03 3.48 7.7 4.16 7.27 4.8C6.84 5.43 6.36 6.03 5.84 6.61L7.31 8.07L6.86 9.27L5.05 7.46L1.96 10.52ZM9.46 9.5H11.66L10.59 6.44L9.46 9.5Z`,fill:`#161616`})}),va=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M5.5 3V7.36C6.95 5.33 9.31 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20H8V18.5H12C15.58 18.5 18.5 15.58 18.5 12C18.5 8.42 15.58 5.5 12 5.5C9.31 5.5 7.01 7.16 6.03 9.5H11V11H6C4.9 11 4 10.1 4 9V3H
205.5Z`,fill:`#161616`})})}),ya=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M21 12V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V12H4.5V19.5H19.5V12H21ZM7.5 8.5L11.25 4.75V15H12.75V4.8L16.5 8.5L17.5 7.5L13.69 3.68C13.22 3.21 12.61 3 12 3C11.39 3 10.77 3.22 10.31 3.68L6.5 7.5L7.5 8.5Z`,fill:`#161616`})})}),ba=e=>(0,I.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M4.67 2.66992H11V9.33992L7 13.3399L6.56 13.0299C6.4 12.9199 6.28 12.7799 6.2 12.6099C6.12 12.4399 6.09 12.2599 6.13 12.0799V12.0099L6.67 9.33992H3C2.72 9.33992 2.49 9.23992 2.29 9.04992C2.09 8.85992 2 8.61992 2 8.33992V7.54992C2 7.47992 2 7.40992 2.02 7.34992C2.04 7.28992 2.05 7.22992 2.08 7.15992L3.73 3.28992C3.8 3.09992 3.93 2.95992 4.1 2.84992C4.27 2.73992 4.46 2.67992 4.66 2.67992L4.67 2.66992ZM10 3.66992H4.67L3 7.53992V8.32992H7.89L7.21 11.6999L10 8.90992V3.66992ZM11 9.32992V8.32992H13V3.66992H11V2.66992H14V9.33992H11V9.32992Z`,fill:`#161616`})}),xa=e=>(0,I.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M11.33 13.3299H5V6.65991L9 2.65991L9.44 2.96991C9.6 3.07991 9.72 3.21991 9.8 3.38991C9.88 3.55991 9.91 3.73991 9.87 3.91991V3.98991L9.33 6.65991H13C13.28 6.65991 13.51 6.75991 13.71 6.94991C13.91 7.13991 14 7.37991 14 7.65991V8.44991C14 8.51991 14 8.58991 13.98 8.64991C13.96 8.70991 13.95 8.76991 13.92 8.83991L12.27 12.7199C12.19 12.8999 12.06 13.0499 11.9 13.1599C11.74 13.2699 11.55 13.3299 11.34 13.3299H11.33ZM6 12.3299H11.33L13 8.44991V7.65991H8.11L8.79 4.28991L6 7.07991V12.3299ZM5 6.66991V7.66991H3V12.3399H5V13.3399H2V6.66991H5Z`,fill:`#161616`})}),Sa=e=>(0,I.jsxs)(`svg`,{width:120,height:40,viewBox:`0 0 120 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`rect`,{x:.5,y:.5,width:119,height:39,rx:6.5,fill:`#0C0D10`}),(0,I.jsx)(`rect`,{x:.5,y:.5,width:119,height:39,rx:6.5,stroke:`#A6A6A6`}),(0,I.jsx)(`path`,{d:`M81.5259 19.2009V21.4919H80.0898V22.9944H81.5259V28.0994C81.5259 29.8425 82.3144 30.5398 84.2983 30.5398C84.647 30.5398 84.979 30.4983 85.2695 30.4485V28.9626C85.0205 28.9875 84.8628 29.0041 84.5889 29.0041C83.7007 29.0041 83.3105 28.5891 83.3105 27.6428V22.9944H85.2695V21.4919H83.3105V19.2009H81.5259Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M90.3234 30.6643C92.963 30.6643 94.5817 28.8962 94.5817 25.9661C94.5817 23.0525 92.9547 21.2761 90.3234 21.2761C87.6837 21.2761 86.0568 23.0525 86.0568 25.9661C86.0568 28.8962 87.6754 30.6643 90.3234 30.6643ZM90.3234 29.0789C88.7711 29.0789 87.8995 27.9416 87.8995 25.9661C87.8995 24.0071 88.7711 22.8616 90.3234 22.8616C91.8673 22.8616 92.7472 24.0071 92.7472 25.9661C92.7472 27.9333 91.8673 29.0789 90.3234 29.0789Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M95.9666 30.49H97.7512V25.1526C97.7512 23.8826 98.7058 23.0276 100.059 23.0276C100.374 23.0276 100.906 23.0857 101.055 23.1355V21.3757C100.864 21.3259 100.524 21.301 100.258 21.301C99.0794 21.301 98.075 21.9485 97.8176 22.8367H97.6848V21.4504H95.9666V30.49Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M105.486 22.7952C106.806 22.7952 107.669 23.7165 107.711 25.136H103.145C103.245 23.7248 104.166 22.7952 105.486 22.7952ZM107.703 28.0496C107.371 28.7551 106.632 29.1453 105.553 29.1453C104.125 29.1453 103.204 28.1409 103.145 26.5554V26.4558H109.529V25.8332C109.529 22.9944 108.01 21.2761 105.495 21.2761C102.946 21.2761 101.328 23.1106 101.328 25.9993C101.328 28.8879 102.913 30.6643 105.503 30.6643C107.57 30.6643 109.014 29.6682 109.421 28.0496H107.703Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M69.8223 27.1518C69.9599 29.3715 71.8097 30.7911 74.5628 30.7911C77.5052 30.7911 79.3464 29.3027 79.3464 26.9281C79.3464 25.0612 78.2967 24.0287 75.7501 23.4351L74.3821 23.0996C72.7647 22.721 72.1108 22.2134 72.1108 21.3272C72.1108 20.2088 73.126 19.4775 74.6489 19.4775C76.0942 19.4775 77.0923 20.1916 77.2729 21.3358H79.1485C79.0366 19.2452 77.1955 17.774 74.6747 17.774C71.9646 17.774 70.1578 19.2452 70.1578 21.4563C70.1578 23.2802 71.1816 24.3643 73.4272 24.8891L75.0274 25.2763C76.6707 25.6634 77.3934 26.2312 77.3934 27.1776C77.3934 28.2789 76.2577 29.079 74.7091 29.079C73.0486 29.079 71.8957 28.3305 71.7323 27.1518H69.8223Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M51.3349 21.301C50.1064 21.301 49.0439 21.9153 48.4961 22.9446H48.3633V21.4504H46.645V33.4949H48.4297V29.1204H48.5708C49.0439 30.0749 50.0649 30.6394 51.3516 30.6394C53.6343 30.6394 55.0869 28.8381 55.0869 25.9661C55.0869 23.094 53.6343 21.301 51.3349 21.301ZM50.8286 29.0373C49.3345 29.0373 48.3965 27.8586 48.3965 25.9744C48.3965 24.0818 49.3345 22.9031 50.8369 22.9031C52.3476 22.9031 53.2524 24.0569 53.2524 25.9661C53.2524 27.8835 52.3476 29.0373 50.8286 29.0373Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M61.3317 21.301C60.1032 21.301 59.0407 21.9153 58.4929 22.9446H58.3601V21.4504H56.6418V33.4949H58.4265V29.1204H58.5676C59.0407 30.0749 60.
200617 30.6394 61.3483 30.6394C63.6311 30.6394 65.0837 28.8381 65.0837 25.9661C65.0837 23.094 63.6311 21.301 61.3317 21.301ZM60.8254 29.0373C59.3313 29.0373 58.3933 27.8586 58.3933 25.9744C58.3933 24.0818 59.3313 22.9031 60.8337 22.9031C62.3444 22.9031 63.2492 24.0569 63.2492 25.9661C63.2492 27.8835 62.3444 29.0373 60.8254 29.0373Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M43.443 30.49H45.4906L41.0082 18.0751H38.9348L34.4523 30.49H36.4311L37.5754 27.1948H42.3073L43.443 30.49ZM39.8725 20.3292H40.0188L41.8169 25.5774H38.0658L39.8725 20.3292Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M35.6511 8.71094V14.7H37.8135C39.5981 14.7 40.6316 13.6001 40.6316 11.6868C40.6316 9.80249 39.5898 8.71094 37.8135 8.71094H35.6511ZM36.5808 9.55762H37.7097C38.9507 9.55762 39.6853 10.3462 39.6853 11.6992C39.6853 13.073 38.9631 13.8533 37.7097 13.8533H36.5808V9.55762Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M43.7967 14.7871C45.1165 14.7871 45.9258 13.9031 45.9258 12.438C45.9258 10.9812 45.1124 10.093 43.7967 10.093C42.4769 10.093 41.6634 10.9812 41.6634 12.438C41.6634 13.9031 42.4727 14.7871 43.7967 14.7871ZM43.7967 13.9944C43.0206 13.9944 42.5848 13.4258 42.5848 12.438C42.5848 11.4585 43.0206 10.8857 43.7967 10.8857C44.5687 10.8857 45.0086 11.4585 45.0086 12.438C45.0086 13.4216 44.5687 13.9944 43.7967 13.9944Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M52.818 10.1802H51.9256L51.1205 13.6292H51.0499L50.1202 10.1802H49.2652L48.3355 13.6292H48.2691L47.4598 10.1802H46.555L47.8001 14.7H48.7174L49.6471 11.3713H49.7176L50.6515 14.7H51.577L52.818 10.1802Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M53.8456 14.7H54.7379V12.0562C54.7379 11.3506 55.1571 10.9106 55.817 10.9106C56.477 10.9106 56.7924 11.2717 56.7924 11.998V14.7H57.6847V11.7739C57.6847 10.699 57.1286 10.093 56.12 10.093C55.4394 10.093 54.9911 10.396 54.7711 10.8982H54.7047V10.1802H53.8456V14.7Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M59.09 14.7H59.9824V8.41626H59.09V14.7Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M63.3384 14.7871C64.6582 14.7871 65.4675 13.9031 65.4675 12.438C65.4675 10.9812 64.6541 10.093 63.3384 10.093C62.0186 10.093 61.2051 10.9812 61.2051 12.438C61.2051 13.9031 62.0144 14.7871 63.3384 14.7871ZM63.3384 13.9944C62.5623 13.9944 62.1265 13.4258 62.1265 12.438C62.1265 11.4585 62.5623 10.8857 63.3384 10.8857C64.1104 10.8857 64.5503 11.4585 64.5503 12.438C64.5503 13.4216 64.1104 13.9944 63.3384 13.9944Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M68.1263 14.0234C67.6407 14.0234 67.2879 13.7869 67.2879 13.3801C67.2879 12.9817 67.5701 12.77 68.1927 12.7285L69.2967 12.658V13.0356C69.2967 13.5959 68.7986 14.0234 68.1263 14.0234ZM67.898 14.7747C68.4915 14.7747 68.9854 14.5173 69.2552 14.0649H69.3257V14.7H70.1849V11.6121C70.1849 10.6575 69.5457 10.093 68.4126 10.093C67.3875 10.093 66.657 10.5911 66.5657 11.3672H67.429C67.5286 11.0476 67.8731 10.865 68.3711 10.865C68.9812 10.865 69.2967 11.1348 69.2967 11.6121V12.0022L68.0723 12.0728C66.9974 12.1392 66.3914 12.6082 66.3914 13.4216C66.3914 14.2476 67.0264 14.7747 67.898 14.7747Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M73.213 14.7747C73.8355 14.7747 74.3626 14.48 74.6324 13.9861H74.703V14.7H75.558V8.41626H74.6656V10.8982H74.5992C74.3543 10.4001 73.8314 10.1055 73.213 10.1055C72.0716 10.1055 71.337 11.0103 71.337 12.438C71.337 13.8699 72.0633 14.7747 73.213 14.7747ZM73.4662 10.9065C74.2132 10.9065 74.6822 11.5 74.6822 12.4421C74.6822 13.3884 74.2174 13.9736 73.4662 13.9736C72.7108 13.9736 72.2584 13.3967 72.2584 12.438C72.2584 11.4875 72.7149 10.9065 73.4662 10.9065Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M81.3444 14.7871C82.6643 14.7871 83.4736 13.9031 83.4736 12.438C83.4736 10.9812 82.6601 10.093 81.3444 10.093C80.0246 10.093 79.2111 10.9812 79.2111 12.438C79.2111 13.9031 80.0205 14.7871 81.3444 14.7871ZM81.3444 13.9944C80.5683 13.9944 80.1325 13.4258 80.1325 12.438C80.1325 11.4585 80.5683 10.8857 81.3444 10.8857C82.1164 10.8857 82.5563 11.4585 82.5563 12.438C82.5563 13.4216 82.1164 13.9944 81.3444 13.9944Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M84.6548 14.7H85.5471V12.0562C85.5471 11.3506 85.9663 10.9106 86.6262 10.9106C87.2861 10.9106 87.6016 11.2717 87.6016 11.998V14.7H88.4939V11.7739C88.4939 10.699 87.9377 10.093 86.9292 10.093C86.2485 10.093 85.8003 10.396 85.5803 10.8982H85.5139V10.1802H84.6548V14.7Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M92.6036 9.05542V10.2009H91.8856V10.9521H92.6036V13.5046C92.6036 14.3762 92.9979 14.7249 93.9898 14.7249
20C94.1642 14.7249 94.3302 14.7041 94.4754 14.6792V13.9363C94.3509 13.9487 94.2721 13.957 94.1351 13.957C93.691 13.957 93.4959 13.7495 93.4959 13.2764V10.9521H94.4754V10.2009H93.4959V9.05542H92.6036Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M95.6732 14.7H96.5656V12.0603C96.5656 11.3755 96.9723 10.9148 97.7028 10.9148C98.3336 10.9148 98.6698 11.28 98.6698 12.0022V14.7H99.5622V11.7822C99.5622 10.7073 98.9687 10.0972 98.0058 10.0972C97.3251 10.0972 96.8478 10.4001 96.6278 10.9065H96.5573V8.41626H95.6732V14.7Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M102.781 10.8525C103.441 10.8525 103.873 11.3132 103.894 12.0229H101.611C101.661 11.3174 102.121 10.8525 102.781 10.8525ZM103.889 13.4797C103.723 13.8325 103.354 14.0276 102.814 14.0276C102.101 14.0276 101.64 13.5254 101.611 12.7327V12.6829H104.802V12.3716C104.802 10.9521 104.043 10.093 102.785 10.093C101.511 10.093 100.702 11.0103 100.702 12.4546C100.702 13.8989 101.495 14.7871 102.789 14.7871C103.823 14.7871 104.545 14.2891 104.748 13.4797H103.889Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M24.769 20.3008C24.7907 18.6198 25.6934 17.0292 27.1256 16.1488C26.2221 14.8584 24.7088 14.0403 23.1344
2013.9911C21.4552 13.8148 19.8272 14.9959 18.9715 14.9959C18.0992 14.9959 16.7817 14.0086 15.363 14.0378C13.5137 14.0975 11.7898 15.1489 10.8901 16.7656C8.95607 20.1141 10.3987 25.0351 12.2513 27.7417C13.1782 29.0671 14.2615 30.5475 15.6789 30.495C17.066 30.4375 17.584 29.6105 19.2583 29.6105C20.9171 29.6105 21.4031 30.495 22.8493 30.4616C24.3377 30.4375 25.2754 29.1304 26.1698 27.7925C26.8358 26.8481 27.3483 25.8044 27.6882 24.7C25.9391 23.9602 24.771 22.2 24.769 20.3008Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M22.0373 12.2111C22.8489 11.2369 23.2487 9.98469 23.1518 8.72046C21.912 8.85068 20.7668 9.44324 19.9443 10.3801C19.14 11.2954 18.7214 12.5255 18.8006 13.7415C20.0408 13.7542 21.2601 13.1777 22.0373 12.2111Z`,fill:`white`})]}),Ca=e=>(0,I.jsx)(`svg`,{id:`loader-1`,xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,x:`0px`,y:`0px`,width:`40px`,height:`40px`,viewBox:`0 0 50 50`,style:{enableBackground:`new 0 0 50 50`},xmlSpace:`preserve`,...e,children:(0,I.jsx)(`path`,{fill:`#000`,d:`M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z`,children:(0,I.jsx)(`animateTransform`,{attributeType:`xml`,attributeName:`transform`,type:`rotate`,from:`0 25 25`,to:`360 25 25`,begin:`0s`,dur:`0.6s`,repeatCount:`indefinite`})})}),wa=e=>(0,I.jsxs)(`svg`,{width:256,height:20,viewBox:`0 0 256 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`g`,{id:`Style=Full logo, Colour=Default`,clipPath:`url(#clip0_185_3557)`,children:(0,I.jsx)(`path`,{id:`Union`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M243.117 15.6048C243.841 17.2998 245.34 19.6934 248.092 19.6934L248.1 19.7104C250.434 19.7104 251.933 18.5179 251.933 16.0733C251.933 13.7649 250.494 12.598 247.794 11.4821C245.264 10.4259 242.955 9.06303 242.955 5.67291C242.955 2.28279 245.596 0 250.323 0C252.005 0 253.381 0.204435 254.493 0.369864L254.494 0.36996L254.497 0.370333L254.497 0.370352L254.497 0.370394L254.498 0.370479L254.499 0.370644C254.669 0.395954 254.833 0.420341 254.991 0.442931V2.35946L255.051 4.30153H254.88C254.071 2.07836 252.734 0.272572 250.264 0.272572C248.313 0.272572 246.593 1.43952 246.593 3.66269C246.593 5.88586 248.092 6.99319 250.596 7.93867C254.267 9.32709 255.766 11.2777 255.766 14.0545C255.766 18.1942 252.044 20 248.177 20C246.09 20 244.233 19.753 242.981 19.4719V17.6065L242.921 15.6048H243.117ZM218.075 0.323924L213.714 12.6663H213.654L209.489 0.323924H202.904V0.494281C203.765 0.605014 204.761 1.15868 204.736 2.93892L204.6 15.4432C204.514 17.4193 203.739 19.421 201.712 19.6169V19.7788H208.024V19.6169C206.082 19.4466 205.136 18.0071 205.136 15.6732L205.196 2.18934H205.281L211.422 19.7277H211.644L218.032 1.8827H218.092C218.007 3.99513 217.956 8.04965 217.956 9.41251V16.4994C217.956 18.7822 216.729 19.5062 215.979 19.6169V19.7788H224.429V19.6169C223.731 19.5062 222.564 18.7822 222.564 16.4994V3.32222C222.564 1.03943 223.731 0.596496 224.429 0.485763V0.315406H218.092L218.075 0.323924ZM199.174 3.33059C199.174 1.0478 200.4 0.604868 201.15 0.494136V0.323778H192.564V0.494136C193.314 0.604868 194.566 1.0478 194.566 3.33059V16.5078C194.566 18.7906 193.314 19.5061 192.564 19.6168V19.7871H201.15V19.6168C200.4 19.5061 199.174 18.782 199.174 16.5078V3.33059ZM232.445 9.85544V19.4381H234.949C237.726 19.4381 239.676 18.91 241.09 15.605H241.286L241.201 18.3307V19.7788H226.133V19.6084C226.746 19.4721 227.828 18.8844 227.828 16.6101V3.21149C227.828 0.90314 226.746 0.596496 226.133 0.485763V0.315406H240.75V1.76345L240.835 4.29326H240.639C239.506 0.98832 236.474 0.656122 234.276 0.656122H232.445V9.52324H234.191C236.474 9.52324 237.556 8.66294 238.169 7.10416H238.339V12.249H238.169C237.53 10.6306 236.55 9.85544 234.191 9.85544H232.445ZM174.83 0.323778V1.77182L174.745 4.32719H174.915C176.193 1.46518 178.476 0.655976 180.111 0.655976H180.809V16.4992C180.809 18.782 179.472 19.5061 178.671 19.6168V19.7786H187.513V19.6168C186.627 19.5061 185.426 18.782 185.426 16.4992V0.655976H186.125C187.76 0.655976 190.043 1.46518 191.321 4.32719H191.491L191.406 1.77182V0.323778H174.838H174.83ZM35.6728 3.33059C35.6728 1.0478 36.8994 0.604868 37.649 0.494136V0.323778H29.0629V0.494136C29.8125 0.604868 31.0647 1.0478 31.0647 3.33059V9.53161H24.5059V3.33059C24.5059 1.0478 25.7325 0.604868 26.482 0.494136V0.323778H17.896V0.494136C18.6456 0.604868 19.8977 1.0478 19.8977 3.33059V16.5078C19.8977 18.7906 18.6456 19.5146 17.896 19.6253V19.7957H26.482V19.6253C25.7325 19.5146 24.5059 18.7906 24.5059 16.5078V9.92344H31.0647V16.5078C31.0647 18.7906 29.8125 19.5146 29.0629 19.6253V19.7957H37.649
20V19.6253C36.8994 19.5146 35.6728 18.7906 35.6728 16.5078V3.33059ZM45.511 9.85544V19.4381H48.0152C50.7921 19.4381 52.7342 18.91 54.1567 15.605H54.3526L54.2674 18.3307V19.7788H39.1993V19.6084C39.8125 19.4721 40.8943 18.8844 40.8943 16.6101V3.21149C40.8943 0.90314 39.8125 0.596496 39.1993 0.485763V0.315406H53.8159V1.76345L53.9011 4.29326H53.7052C52.5724 0.98832 49.54 0.656122 47.3424 0.656122H45.511V9.52324H47.2572C49.54 9.52324 50.6217 8.66294 51.235 7.10416H51.4054V12.249H51.235C50.5962 10.6306 49.6166 9.85544 47.2572 9.85544H45.511ZM0.315195 0.332049V1.78009L0.230011 4.33546H0.400379C1.67806 1.47345 3.96084 0.664246 5.59627 0.664246H6.29474V16.5075C6.29474 18.7903 4.95745 19.5058 4.15677 19.6165V19.7869H12.9983V19.6165C12.1125 19.5058 10.9114 18.7818 10.9114 16.5075V0.664246H11.6099C13.2538 0.664246 15.5282 1.47345 16.8058 4.33546H16.9762L16.891 1.78009V0.332049H0.323721H0.315195ZM60.4513 15.6048C61.1753 17.2998 62.6744 19.6934 65.4257 19.6934L65.4342 19.7104C67.7681 19.7104 69.2673 18.5179 69.2673 16.0733C69.2673 13.7649 67.8277 12.598 65.1276 11.4821C62.5978 10.4259 60.2894 9.06303 60.2894 5.67291C60.2894 2.28279 62.9299 0 67.6574 0C69.3393 0 70.7146 0.204436 71.8274 0.369865C71.9996 0.395454 72.1654 0.420109 72.3252 0.442931V2.35946L72.3848 4.30153H72.2145C71.4053 2.07836 70.068 0.272572 67.5978 0.272572C65.6472 0.272572 63.9266 1.43952 63.9266 3.66269C63.9266 5.88586 65.4257 6.99319 67.9299 7.93867C71.6011 9.32709 73.1003 11.2777 73.1003 14.0545C73.1003 18.1942 69.378 20 65.5109 20C63.424 20 61.5671 19.753 60.3149 19.4719V17.6065L60.2554 15.6048H60.4513ZM162.871 19.6934C160.119 19.6934 158.62 17.2998 157.896 15.6048H157.7L157.76 17.6065V19.4719C159.012 19.753 160.869 20 162.956 20C166.814 20 170.545 18.1942 170.545 14.0545C170.545 11.2777 169.046 9.32709 165.375 7.93867C162.871 6.99319 161.371 5.88586 161.371 3.66269C161.371 1.43952 163.092 0.272572 165.043 0.272572C167.513 0.272572 168.85 2.07836 169.659 4.30153H169.83L169.77 2.35946V0.442931C169.611 0.420259 169.447 0.395777 169.276 0.370369L169.275 0.370337L169.273 0.369957L169.272 0.369861C168.159 0.204433 166.784 0 165.102 0C160.375 0 157.734 2.28279 157.734 5.67291C157.734 9.06303 160.043 10.4259 162.572 11.4821C165.273 12.598 166.712 13.7649 166.712 16.0733C166.712 18.5179 165.213 19.7104 162.879
2019.7104L162.871 19.6934ZM73.8161 1.77182V0.323778H90.3834V1.77182L90.4686 4.32719H90.2982C89.0205 1.46518 86.7463 0.655976 85.1023 0.655976H84.4124V16.4992C84.4124 18.782 85.6134 19.5061 86.4993 19.6168V19.7786H77.6577V19.6168C78.4584 19.5061 79.7956 18.782 79.7956 16.4992V0.655976H79.0972C77.4618 0.655976 75.179 1.46518 73.9013 4.32719H73.7309L73.8161 1.77182ZM140.051 0.323778V1.77182L139.966 4.32719H140.136C141.414 1.46518 143.697 0.655976 145.332 0.655976H146.031V16.4992C146.031 18.782 144.693 19.5061 143.893 19.6168V19.7786H152.734V19.6168C151.848 19.5061 150.647 18.782 150.647 16.4992V0.655976H151.346C152.99 0.655976 155.264 1.46518 156.542 4.32719H156.712L156.627 1.77182V0.323778H140.06H140.051ZM138.893 0.494136C138.143 0.604868 136.917 1.0478 136.917 3.33059V16.5078C136.917 18.782 138.143 19.5061 138.893 19.6168V19.7871H130.307V19.6168C131.056 19.5061 132.308 18.7906 132.308 16.5078V3.33059C132.308 1.0478 131.056 0.604868 130.307 0.494136V0.323778H138.893V0.494136ZM97.9218 9.71876V0.688387C98.2777 0.629771 98.6903 0.604621 98.9184 0.604621C101.474 0.604621 102.896 1.99304 102.896 4.85505C102.896 8.04926 101.286 9.74432 98.6203 9.74432C98.3988 9.74432 98.1774 9.74431 97.9218 9.71876ZM109.31 19.6165C108.492 19.6165 108.127 18.4115 107.614 16.7163L107.614 16.7152C107.518 16.4001 107.418 16.0682 107.309 15.7239C106.201 12.1889 105.111 9.85505 101.499 9.66765L101.636 9.55692C104.779 9.42063 107.274 7.97259 107.274 4.86357C107.274 1.10718 103.271 0.332049 98.9951 0.332049H91.3205V0.502407C92.07 0.613139 93.3222 1.05607 93.3222 3.33886V16.516C93.3222 18.7903 92.07 19.5143 91.3205 19.6251V19.7954H99.5743V19.6251C98.7992 19.5143 97.9048 18.6796 97.9048 16.3712V10.085H98.2626C100.46 10.085 101.738 12.7 102.794 16.6182C103.458 19.0884 103.518 19.5399 103.518 19.6762V19.7869H109.302V19.6165H109.31ZM118.092 2.5725H118.041H118.032L114.506 12.3596H121.09L118.092 2.5725ZM115.119 19.7786H109.617L109.625 19.7701V19.6083C110.622 19.5742 111.849 18.1006 113.237 14.2676L117.462 3.01543C117.649 2.48732 117.709 2.26586 117.709 1.90811C117.709 1.55035 117.326 0.690047 116.601 0.494136V0.323778H122.24L127.521 17.1125C128.024 18.6458 128.833 19.5572 129.693 19.6168V19.7786H121.38V19.6168C122.325 19.5061 122.573 18.5265 122.573 17.8366C122.573 16.9507 122.019 15.1705 121.516 13.5861L121.235 12.7514H114.37L113.952 13.9183C113.458 15.3067 113.177 16.2267 113.177 17.2573C113.177 18.5606 114.038 19.5572 115.119 19.6168V19.7786Z`,fill:`#0C2B57`})}),(0,I.jsx)(`defs`,{children:(0,I.jsx)(`clipPath`,{id:`clip0_185_3557`,children:(0,I.jsx)(`rect`,{width:256,height:20,fill:`white`})})})]}),Ta=e=>(0,I.jsxs)(`svg`,{width:256,height:20,viewBox:`0 0 256 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`g`,{id:`Style=Full logo, Colour=White`,clipPath:`url(#clip0_185_3536)`,children:(0,I.jsx)(`path`,{id:`Union`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M243.117 15.6048C243.841 17.2998 245.34 19.6934 248.092 19.6934L248.1 19.7104C250.434 19.7104 251.933 18.5179 251.933 16.0733C251.933 13.7649 250.494 12.598 247.794 11.4821C245.264 10.4259 242.955 9.06303 242.955 5.67291C242.955 2.28279 245.596 0 250.323 0C252.005 0 253.381 0.204435 254.493 0.369864L254.494 0.36996L254.497 0.370333L254.497 0.370352L254.497 0.370394L254.498 0.370479L254.499 0.370644C254.669 0.395954 254.833 0.420341 254.991 0.442931V2.35946L255.051 4.30153H254.88C254.071 2.07836 252.734 0.272572 250.264 0.272572C248.313 0.272572 246.593 1.43952 246.593 3.66269C246.593 5.88586 248.092 6.99319 250.596 7.93867C254.267 9.32709 255.766 11.2777 255.766 14.0545C255.766 18.1942 252.044 20 248.177 20C246.09 20 244.233 19.753 242.981 19.4719V17.6065L242.921 15.6048H243.117ZM218.075 0.323924L213.714 12.6663H213.654L209.489 0.323924H202.904V0.494281C203.765 0.605014 204.761 1.15868 204.736 2.93892L204.6 15.4432C204.514 17.4193 203.739 19.421 201.712 19.6169V19.7788H208.024V19.6169C206.082 19.4466 205.136 18.0071 205.136 15.6732L205.196 2.18934H205.281L211.422 19.7277H211.644L218.032 1.8827H218.092C218.007 3.99513 217.956 8.04965 217.956 9.41251V16.4994C217.956 18.7822 216.729 19.5062 215.979 19.6169V19.7788H224.429V19.6169C223.731 19.5062 222.564 18.7822 222.564 16.4994V3.32222C222.564 1.03943 223.731 0.596496 224.429 0.485763V0.315406H218.092L218.075 0.323924ZM199.174 3.33059C199.174 1.0478 200.4 0.604868 201.15 0.494136V0.323778H192.564V0.494136C193.314 0.604868 194.566 1.0478 194.566 3.33059V16.5078C194.566 18.7906 193.314 19.5061 192.564 19.6168V19.7871H201.15V19.6168C200.4 19.5061 199.174 18.782 199.174 16.5078V3.33059ZM232.445 9.85544V19.4381H234.949C237.726 19.4381 239.676 18.91 241.09 15.605H241.286L241.201 18.3307V19.7788H226.133V19.6084C226.746 19.4721 227.828 18.8844 227.828 16.6101V3.21149C227.828 0.90314 226.746 0.596496 226.133 0.485763V0.315406H240.75V1.76345L240.835 4.29326H240.639C239.506 0.98832 236.474 0.656122 234.276 0.656122H232.445V9.52324H234.191C236.474 9.52324 237.556 8.66294 238.169 7.10416H238.339V12.249H238.169C237.53 10.6306 236.55 9.85544 234.191 9.85544H232.445ZM174.83 0.323778V1.77182L174.745 4.32719H174.915C176.193 1.46518 178.476 0.655976 180.111 0.655976H180.809V16.4992C180.809 18.782 179.472 19.5061 178.671 19.6168V19.7786H187.513V19.6168C186.627 19.5061 185.426 18.782 185.426 16.4992V0.655976H186.125C187.76 0.655976 190.043 1.46518 191.321 4.32719H191.491L191.406 1.77182V0.323778H174.838H174.83ZM35.6728 3.33059C35.6728 1.0478 36.8994 0.604868 37.649 0.494136V0.323778H29.0629V0.494136C29.8125 0.604868 31.0647 1.0478 31.0647 3.33059V9.53161H24.5059V3.33059C24.5059 1.0478 25.7325 0.604868 26.482 0.494136V0.323778H17.896V0.494136C18.6456 0.604868 19.8977 1.0478 19.8977 3.33059V16.5078C19.8977 18.7906 18.6456 19.5146 17.896 19.6253V19.7957H26.482V19.6253C25.7325 19.5146 24.5059 18.7906 24.5059 16.5078V9.92344H31.0647V16.5078C31.0647 18.7906 29.8125 19.5146 29.0629 19.6253V19.7957H37.649
20V19.6253C36.8994 19.5146 35.6728 18.7906 35.6728 16.5078V3.33059ZM45.511 9.85544V19.4381H48.0152C50.7921 19.4381 52.7342 18.91 54.1567 15.605H54.3526L54.2674 18.3307V19.7788H39.1993V19.6084C39.8125 19.4721 40.8943 18.8844 40.8943 16.6101V3.21149C40.8943 0.90314 39.8125 0.596496 39.1993 0.485763V0.315406H53.8159V1.76345L53.9011 4.29326H53.7052C52.5724 0.98832 49.54 0.656122 47.3424 0.656122H45.511V9.52324H47.2572C49.54 9.52324 50.6217 8.66294 51.235 7.10416H51.4054V12.249H51.235C50.5962 10.6306 49.6166 9.85544 47.2572 9.85544H45.511ZM0.315195 0.332049V1.78009L0.230011 4.33546H0.400379C1.67806 1.47345 3.96084 0.664246 5.59627 0.664246H6.29474V16.5075C6.29474 18.7903 4.95745 19.5058 4.15677 19.6165V19.7869H12.9983V19.6165C12.1125 19.5058 10.9114 18.7818 10.9114 16.5075V0.664246H11.6099C13.2538 0.664246 15.5282 1.47345 16.8058 4.33546H16.9762L16.891 1.78009V0.332049H0.323721H0.315195ZM60.4513 15.6048C61.1753 17.2998 62.6744 19.6934 65.4257 19.6934L65.4342 19.7104C67.7681 19.7104 69.2673 18.5179 69.2673 16.0733C69.2673 13.7649 67.8277 12.598 65.1276 11.4821C62.5978 10.4259 60.2894 9.06303 60.2894 5.67291C60.2894 2.28279 62.9299 0 67.6574 0C69.3393 0 70.7146 0.204436 71.8274 0.369865C71.9996 0.395454 72.1654 0.420109 72.3252 0.442931V2.35946L72.3848 4.30153H72.2145C71.4053 2.07836 70.068 0.272572 67.5978 0.272572C65.6472 0.272572 63.9266 1.43952 63.9266 3.66269C63.9266 5.88586 65.4257 6.99319 67.9299 7.93867C71.6011 9.32709 73.1003 11.2777 73.1003 14.0545C73.1003 18.1942 69.378 20 65.5109 20C63.424 20 61.5671 19.753 60.3149 19.4719V17.6065L60.2554 15.6048H60.4513ZM162.871 19.6934C160.119 19.6934 158.62 17.2998 157.896 15.6048H157.7L157.76 17.6065V19.4719C159.012 19.753 160.869 20 162.956 20C166.814 20 170.545 18.1942 170.545 14.0545C170.545 11.2777 169.046 9.32709 165.375 7.93867C162.871 6.99319 161.371 5.88586 161.371 3.66269C161.371 1.43952 163.092 0.272572 165.043 0.272572C167.513 0.272572 168.85 2.07836 169.659 4.30153H169.83L169.77 2.35946V0.442931C169.611 0.420259 169.447 0.395777 169.276 0.370369L169.275 0.370337L169.273 0.369957L169.272 0.369861C168.159 0.204433 166.784 0 165.102 0C160.375 0 157.734 2.28279 157.734 5.67291C157.734 9.06303 160.043 10.4259 162.572 11.4821C165.273 12.598 166.712 13.7649 166.712 16.0733C166.712 18.5179 165.213 19.7104 162.879
2019.7104L162.871 19.6934ZM73.8161 1.77182V0.323778H90.3834V1.77182L90.4686 4.32719H90.2982C89.0205 1.46518 86.7463 0.655976 85.1023 0.655976H84.4124V16.4992C84.4124 18.782 85.6134 19.5061 86.4993 19.6168V19.7786H77.6577V19.6168C78.4584 19.5061 79.7956 18.782 79.7956 16.4992V0.655976H79.0972C77.4618 0.655976 75.179 1.46518 73.9013 4.32719H73.7309L73.8161 1.77182ZM140.051 0.323778V1.77182L139.966 4.32719H140.136C141.414 1.46518 143.697 0.655976 145.332 0.655976H146.031V16.4992C146.031 18.782 144.693 19.5061 143.893 19.6168V19.7786H152.734V19.6168C151.848 19.5061 150.647 18.782 150.647 16.4992V0.655976H151.346C152.99 0.655976 155.264 1.46518 156.542 4.32719H156.712L156.627 1.77182V0.323778H140.06H140.051ZM138.893 0.494136C138.143 0.604868 136.917 1.0478 136.917 3.33059V16.5078C136.917 18.782 138.143 19.5061 138.893 19.6168V19.7871H130.307V19.6168C131.056 19.5061 132.308 18.7906 132.308 16.5078V3.33059C132.308 1.0478 131.056 0.604868 130.307 0.494136V0.323778H138.893V0.494136ZM97.9218 9.71876V0.688387C98.2777 0.629771 98.6903 0.604621 98.9184 0.604621C101.474 0.604621 102.896 1.99304 102.896 4.85505C102.896 8.04926 101.286 9.74432 98.6203 9.74432C98.3988 9.74432 98.1774 9.74431 97.9218 9.71876ZM109.31 19.6165C108.492 19.6165 108.127 18.4115 107.614 16.7163L107.614 16.7152C107.518 16.4001 107.418 16.0682 107.309 15.7239C106.201 12.1889 105.111 9.85505 101.499 9.66765L101.636 9.55692C104.779 9.42063 107.274 7.97259 107.274 4.86357C107.274 1.10718 103.271 0.332049 98.9951 0.332049H91.3205V0.502407C92.07 0.613139 93.3222 1.05607 93.3222 3.33886V16.516C93.3222 18.7903 92.07 19.5143 91.3205 19.6251V19.7954H99.5743V19.6251C98.7992 19.5143 97.9048 18.6796 97.9048 16.3712V10.085H98.2626C100.46 10.085 101.738 12.7 102.794 16.6182C103.458 19.0884 103.518 19.5399 103.518 19.6762V19.7869H109.302V19.6165H109.31ZM118.092 2.5725H118.041H118.032L114.506 12.3596H121.09L118.092 2.5725ZM115.119 19.7786H109.617L109.625 19.7701V19.6083C110.622 19.5742 111.849 18.1006 113.237 14.2676L117.462 3.01543C117.649 2.48732 117.709 2.26586 117.709 1.90811C117.709 1.55035 117.326 0.690047 116.601 0.494136V0.323778H122.24L127.521 17.1125C128.024 18.6458 128.833 19.5572 129.693 19.6168V19.7786H121.38V19.6168C122.325 19.5061 122.573 18.5265 122.573 17.8366C122.573 16.9507 122.019 15.1705 121.516 13.5861L121.235 12.7514H114.37L113.952 13.9183C113.458 15.3067 113.177 16.2267 113.177 17.2573C113.177 18.5606 114.038 19.5572 115.119 19.6168V19.7786Z`,fill:`white`})}),(0,I.jsx)(`defs`,{children:(0,I.jsx)(`clipPath`,{id:`clip0_185_3536`,children:(0,I.jsx)(`rect`,{width:256,height:20,fill:`white`})})})]}),Ea=e=>(0,I.jsx)(`svg`,{width:22,height:20,viewBox:`0 0 22 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,fillOpacity:.05,...e,children:(0,I.jsxs)(`g`,{id:`Group 2882`,children:[(0,I.jsx)(`path`,{id:`Vector`,d:`M7.9863 3.75269V4.95919L7.91699 7.1009H8.05729C9.12729 4.70812 11.0374 4.03578 12.41 4.03578H12.9932V17.2618C12.9932 19.1643 11.8758 19.7692 11.1997 19.8619V20H18.6052V19.8619C17.8597 19.7692 16.859 19.1643 16.859 17.2618V4.03072H17.4405C18.8148 4.03072 20.7232 4.70475 21.7949 7.09585H21.9352L21.8659 4.95919V3.75269H7.9863Z`,fill:`#0C2B57`}),(0,I.jsx)(`path`,{id:`Vector_2`,d:`M4.39077 16.4563C2.0885 16.4563 0.829174 14.4595 0.229095 13.0441H0.0600586L0.105698 14.7156V16.271C1.53621 16.5672 2.99397 16.7129 4.455 16.7057C7.69205 16.7057 10.8125 15.1891 10.8125 11.7381C10.8125 9.41612 9.55483 7.79173 6.48175 6.63072C4.39077 5.84885 3.13314 4.92038 3.13314 3.0567C3.13314 1.29244 4.57671 0.224113 6.20791 0.224113C8.27861 0.224113 9.39763 1.74067 10.0721 3.59424H10.2124L10.1651 1.96984V0.370713C9.16436 0.230853 7.88306 0 6.25355 0C2.29472 0 0.0837237 1.90243 0.0837237 4.74176C0.0837237 7.58109 2.01581 8.71008 4.1406 9.59306C6.39385 10.5148 7.60415 11.482 7.60415 13.4165C7.60415 15.4588 6.34652 16.4496 4.39246 16.4496`,fill:`#0C2B57`})]})}),Da=e=>(0,I.jsx)(`svg`,{width:22,height:20,viewBox:`0 0 22 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsxs)(`g`,{id:`Group 2882`,children:[(0,I.jsx)(`path`,{id:`Vector`,d:`M7.9863 3.75269V4.95919L7.91699 7.1009H8.05729C9.12729 4.70812 11.0374 4.03578 12.41 4.03578H12.9932V17.2618C12.9932 19.1643 11.8758 19.7692 11.1997 19.8619V20H18.6052V19.8619C17.8597 19.7692 16.859 19.1643 16.859 17.2618V4.03072H17.4405C18.8148 4.03072 20.7232 4.70475 21.7949 7.09585H21.9352L21.8659 4.95919V3.75269H7.9863Z`,fill:`#0C2B57`}),(0,I.jsx)(`path`,{id:`Vector_2`,d:`M4.39077 16.4563C2.0885 16.4563 0.829174 14.4595 0.229095 13.0441H0.0600586L0.105698 14.7156V16.271C1.53621 16.5672 2.99397 16.7129 4.455 16.70
2057C7.69205 16.7057 10.8125 15.1891 10.8125 11.7381C10.8125 9.41612 9.55483 7.79173 6.48175 6.63072C4.39077 5.84885 3.13314 4.92038 3.13314 3.0567C3.13314 1.29244 4.57671 0.224113 6.20791 0.224113C8.27861 0.224113 9.39763 1.74067 10.0721 3.59424H10.2124L10.1651 1.96984V0.370713C9.16436 0.230853 7.88306 0 6.25355 0C2.29472 0 0.0837237 1.90243 0.0837237 4.74176C0.0837237 7.58109 2.01581 8.71008 4.1406 9.59306C6.39385 10.5148 7.60415 11.482 7.60415 13.4165C7.60415 15.4588 6.34652 16.4496 4.39246 16.4496`,fill:`#0C2B57`})]})}),Oa=e=>(0,I.jsx)(`svg`,{width:22,height:20,viewBox:`0 0 22 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,opacity:.05,...e,children:(0,I.jsxs)(`g`,{id:`Group 2882`,children:[(0,I.jsx)(`path`,{id:`Vector`,d:`M7.9863 3.75269V4.95919L7.91699 7.1009H8.05729C9.12729 4.70812 11.0374 4.03578 12.41 4.03578H12.9932V17.2618C12.9932 19.1643 11.8758 19.7692 11.1997 19.8619V20H18.6052V19.8619C17.8597 19.7692 16.859 19.1643 16.859 17.2618V4.03072H17.4405C18.8148 4.03072 20.7232 4.70475 21.7949 7.09585H21.9352L21.8659 4.95919V3.75269H7.9863Z`,fill:`white`}),(0,I.jsx)(`path`,{id:`Vector_2`,d:`M4.39077 16.4563C2.0885 16.4563 0.829174 14.4595 0.229095 13.0441H0.0600586L0.105698 14.7156V16.271C1.53621 16.5672 2.99397 16.7129 4.455 16.7057C7.69205 16.7057 10.8125 15.1891 10.8125 11.7381C10.8125 9.41612 9.55483 7.79173 6.48175 6.63072C4.39077 5.84885 3.13314 4.92038 3.13314 3.0567C3.13314 1.29244 4.57671 0.224113 6.20791 0.224113C8.27861 0.224113 9.39763 1.74067 10.0721 3.59424H10.2124L10.1651 1.96984V0.370713C9.16436 0.230853 7.88306 0 6.25355 0C2.29472 0 0.0837237 1.90243 0.0837237 4.74176C0.0837237 7.58109 2.01581 8.71008 4.1406 9.59306C6.39385 10.5148 7.60415 11.482 7.60415 13.4165C7.60415 15.4588 6.34652 16.4496 4.39246 16.4496`,fill:`white`})]})}),ka=e=>(0,I.jsx)(`svg`,{width:22,height:20,viewBox:`0 0 22 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsxs)(`g`,{id:`Group 2882`,children:[(0,I.jsx)(`path`,{id:`Vector`,d:`M7.9863 3.75269V4.95919L7.91699 7.1009H8.05729C9.12729 4.70812 11.0374 4.03578 12.41 4.03578H12.9932V17.2618C12.9932 19.1643 11.8758 19.7692 11.1997 19.8619V20H18.6052V19.8619C17.8597 19.7692 16.859 19.1643 16.859 17.2618V4.03072H17.4405C18.8148 4.03072 20.7232 4.70475 21.7949 7.09585H21.9352L21.8659 4.95919V3.75269H7.9863Z`,fill:`white`}),(0,I.jsx)(`path`,{id:`Vector_2`,d:`M4.39077 16.4563C2.0885 16.4563 0.829174 14.4595 0.229095 13.0441H0.0600586L0.105698 14.7156V16.271C1.53621 16.5672 2.99397 16.7129 4.455 16.7057C7.69205 16.7057 10.8125 15.1891 10.8125 11.7381C10.8125 9.41612 9.55483 7.79173 6.48175 6.63072C4.39077 5.84885 3.13314 4.92038 3.13314 3.0567C3.13314 1.29244 4.57671 0.224113 6.20791 0.224113C8.27861 0.224113 9.39763 1.74067 10.0721 3.59424H10.2124L10.1651 1.96984V0.370713C9.16436 0.230853 7.88306 0 6.25355 0C2.29472 0 0.0837237 1.90243 0.0837237 4.74176C0.0837237 7.58109 2.01581 8.71008 4.1406 9.59306C6.39385 10.5148 7.60415 11.482 7.60415 13.4165C7.60415 15.4588 6.34652 16.4496 4.39246 16.4496`,fill:`white`})]})}),Aa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM6 18L14.5 14.5L18 6L9.5 9.5L6 18ZM13.06 13.06C12.77 13.35 12.42 13.5 12 13.5C11.58 13.5 11.23 13.35 10.94 13.06C10.65 12.77 10.5 12.42 10.5 12C10.5 11.58 10.65 11.23 10.94 10.94C11.23 10.65 11.58 10.5 12 10.5C12.42 10.5 12.77 10.65 13.06 10.94C13.35 11.23 13.5 11.58 13.5 12C13.5 12.42 13.35 12.77 13.06 13.06Z`,fill:`#161616`})})}),ja=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20.5C7.31 20.5 3.5 16.69 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 16.69 16.69 20.5 12 20.5ZM7 17L14 14L17 7L10 10L7 17ZM12 13.31C11.64 13.31 11.33 13.18 11.07 12.93C10.82 12.68 10.69 12.37 10.69 12C10.69 11.63 10.82 11.33 11.07 11.07C11.32 10.82 11.63 10.69 12 10.69C12.37 10.69 12.67 10.82 12.93 11.07C13.18 11.32 13.31 11.63 13.31 12C13.31 12.37 13.18 12.67 12.93 12.93C12.68 13.18 12.37 13.31 12 13.31Z`,fill:`#161616`})})}),Ma=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 7V8.5H20V7H4ZM4 11.25V12.75H9V11.25H4ZM4 15.5V17H9V15.5H4ZM22 20L19.13 17.13C19.67 16.39 20 15.48 20 14.5C20 12.01 17.99 10 15.5 10C13.01 10 11 12.01 11 14.5C11 16.99 13.01 19 15.5 19C16.49 19 17.39 18.67 18.13 18.13L2
201 21L22 20ZM15.5 17.5C13.84 17.5 12.5 16.16 12.5 14.5C12.5 12.84 13.84 11.5 15.5 11.5C17.16 11.5 18.5 12.84 18.5 14.5C18.5 16.16 17.16 17.5 15.5 17.5Z`,fill:`#161616`})})}),Na=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 7V8.5H20V7H4ZM4 11.25V12.75H20V11.25H4ZM4 15.5V17H20V15.5H4Z`,fill:`#161616`})})}),Pa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 4L4 10.01V21H10V15.5H14V21H20V10.01L12 4Z`,fill:`#161616`})})}),Fa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 4L4 10.01V21H10V15.5H14V21H20V10.01L12 4ZM18.5 19.5H15.5V14H8.5V19.5H5.5V10.75L12 5.75L18.5 10.75V19.5Z`,fill:`#161616`})})}),Ia=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.47 22 12 22C17.53 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM15 16L11 13V5.99L12.5 6V12.25L16 14.75L15 16Z`,fill:`#161616`})})}),La=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12.5 6V12.25L16 14.75L15 16L11 13V5.99L12.5 6ZM22 3H20.5V6.74C18.74 3.9 15.59 2 12 2C6.48 2 2 6.48 2 12C2 17.52 6.47 22 12 22C16.84 22 20.87 18.56 21.8 14H20.26C19.36 17.73 16.01 20.5 12.01 20.5C7.31 20.5 3.51 16.7 3.51 12C3.51 7.3 7.3 3.5 12 3.5C15.83 3.5 19.04 6.03 20.11 9.5H16V11H20C20.74 11 21.38 10.6 21.72 10H21.8C21.8 10 21.78 9.94 21.78 9.9C21.92 9.63 22 9.32 22 9V3Z`,fill:`#161616`})})}),Ra=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2ZM8 9.5H12V11H8V9.5ZM16 18H8V16.5H16V18ZM16 14.5H8V13H16V14.5ZM15.5 8C14.67 8 14 7.33 14 6.5V4L18 8H15.5Z`,fill:`#161616`})})}),za=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2ZM18.5 20.5H5.5V3.54L14 3.5V6C14 7.1 14.9 8 16 8H18.5V20.5ZM8 13V14.5H16V13H8ZM8 9.5V11H12V9.5H8ZM8 16.5V18H16V16.5H8Z`,fill:`#161616`})})}),Ba=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M18.9999 1C18.1899 2.78 16.7599 4.19001 14.9999 5.00001C16.7399 5.80001 18.1999 7.26 18.9999 9C19.8099 7.23 21.23 5.80001 23 5.00001C21.23 4.19001 19.8099 2.77 18.9999 1ZM9.99988 2.00001L8.14999 6.31001C7.39999 8.05001 6.06999 9.47001 4.37 10.31L0.999878 12L4.37 13.69C6.06 14.54 7.39999 15.95 8.14999 17.69L10 22L11.85 17.69C12.6 15.95 13.93 14.53 15.63 13.69L18.9999 12L15.63 10.31C13.94 9.46001 12.6 8.05001 11.85 6.31001L9.99988 2.00001Z`,fill:`#161616`})})}),Va=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.995 17.5001L7.42756 19.9501C6.9978 20.0601 5.99836 20.0601 5.99836 19.0501L6.9978 13.9901L3.27987 10.3701C2.74017 9.85006 3.04001 8.93006 3.78959 8.83006L9.00668 8.00006L11.1855 3.50006C11.5253 2.83006 12.4847 2.83006 12.8245 3.50006L15.0033 8.00006L20.2204 8.83006C20.97 8.94006 21.2698 9.85006 20.7301 10.3701L17.0122 13.9901L18.0117 19.0501C18.0117 20.0501 17.0122 20.0501 16.5825 19.9501L12.015 17.5001H11.995Z`,fill:`#161616`})})}),Ha=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12.005 5.25125L14.0061 9.36352L18.8388 10.0039L15.5069 13.5058L16.2874 18.0083L12.005 15.7571L7.72263 18.0083L8.50306 13.5058L5.17122 10.0039L10.0039 9.36352L12.005 5.25125ZM12.005 3C11.6748 3 11.3546 3.17009 11.1845 3.50028L9.00334 8.00277L3.78045 8.83323C3.03004 8.94329 2.72987 9.85379 3.27017 10.3741L6.99223 13.9961L5.99167 19.0589C5.99167 19.8193 6.56199 19.9994 7.02224 19.9994C7.17233 19.9994 7.31241 19.9794 7.42247 19.9494L11.995 17.498L16.5675 19.9494C16.6776 19.9794 16.8077 19.9994 16.9677 19.9994C17.428 19.9994 17.9983 19.8093 17.9983 19.0589L16.9978 13.9961L20.7198 10.3741C21.2601 9.85379 20.96 8.93328 20.2095 8.83323L14.9866 8.00277L12.8054 3.50028C12.6353 3.16009 12.3152 3 11.985 3H12.005Z`,fill:`#161616`})})}),Ua=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M2 12.005C2 6.48224 6.48 2 12 2C17.52 2 22 6.48224 22 12.005C22 14.9565 20.71 17.5978 18.68 19.4287L17.68 18.3182C19.41 16.7574 20.5 14.5163 20.5 12.005C20.5 7.31266 16.69 3.50075 12 3.50075C7.31 3.50075 3.5 7.31266 3.5 12.005C3.5 14.5163 4.59 16.7674 6.32 18.3182L5.32 19.4287C3.29 17.5978 2 14.9565 2 12.005ZM7 12.005C7 9.24362 9.24 7.0025 12 7.0025C14.76 7.0025 17 9.24362 17 12.005C17 13.4857 16.35 14.7964 15.33 15.7069L16.34 16.8274C17.66 15.6368 18.5 13.916 18.5 11.995C18.5 8.4032 15.59 5.49175 12 5.49175C8.41 5.49175 5.5 8.4032 5.5 11.995C5.5 13.916 6.34 15.6368 7.66 16.8274L8.67 15.7069C7.65 14.7864 7 13.4757 7 12.005ZM10.5 12.005C10.5 11.1746 11.17 10.5043 12 10.5043C12.83 10.5043 13.5 11.1746 13.5 12.005C13.5 12.4452 13.3 12.8454 13 13.1156L14 14.2261C14.61 13.6758 15 12.8854 15 12.005C1
205 10.3442 13.66 9.0035 12 9.0035C10.34 9.0035 9 10.3442 9 12.005C9 12.8954 9.39 13.6758 10 14.2261L11 13.1156C10.7 12.8454 10.5 12.4452 10.5 12.005ZM12.75 14.8464C12.35 14.3862 11.65 14.3862 11.25 14.8464L6.2 20.6393C5.74 21.1696 6.11 22 6.82 22H17.18C17.88 22 18.26 21.1696 17.8 20.6393L12.75 14.8464Z`,fill:`#161616`})})}),Wa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12.75 14.32C12.35 13.89 11.65 13.89 11.25 14.32L6.2 19.73C5.74 20.23 6.11 21 6.82 21H17.18C17.88 21 18.26 20.22 17.8 19.73L12.75 14.32ZM22 6V16C22 17.1 21.1 18 20 18H18L16.5 16.5H20.5V5.5H3.5V16.5H7.5L6 18H4C2.9 18 2 17.1 2 16V6C2 4.9 2.9 4 4 4H20C21.1 4 22 4.9 22 6Z`,fill:`#161616`})})}),Ga=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M5 20H2V17C3.66 17 5 18.34 5 20ZM2 10V11.5C6.69 11.5 10.5 15.31 10.5 20H12C12 14.48 7.52 10 2 10ZM2 13.5V15C4.76 15 7 17.24 7 20H8.5C8.5 16.41 5.59 13.5 2 13.5ZM20 4H4C2.9 4 2 4.9 2 6V8H3.5V5.5H20.5V18.5H14V20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4Z`,fill:`#161616`})})}),Ka=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12.7446 9V19.81L14.9935 17.5L15.993 18.5L13.4043 21.37C12.6247 22.21 11.3553 22.21 10.5757 21.37L7.98701 18.5L8.98651 17.5L11.2354 19.81V9H12.7346H12.7446ZM17.8221 7.03C17.1524 4.15 14.5837 2 11.4953 2C8.68666 2 6.29785 3.79 5.38831 6.29C3.41929 6.96 2 8.81 2 11C2 13.76 4.23888 16 6.9975 16V14.5C5.06847 14.5 3.49925 12.93 3.49925 11C3.49925 9.52 4.45877 8.19 5.87806 7.71L6.55772 7.48L6.8076 6.8C7.52724 4.83 9.4063 3.5 11.5052 3.5C13.8441 3.5 15.8431 5.09 16.3728 7.37L16.6227 8.45L17.7221 8.53C19.2814 8.64 20.5007 9.95 20.5007 11.5C20.5007 13.15 19.1514 14.5 17.5022 14.5H17.0025V16H17.5022C19.991 16 22 13.99 22 11.5C22 9.01 20.1609 7.2 17.8321 7.03H17.8221Z`,fill:`#161616`})})}),qa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M15 10L12.75 12.25V6H11.25V12.2L9 10L8 11L10.31 13.32C10.78 13.79 11.39 14 12 14C12.61 14 13.23 13.78 13.69 13.32L16 11L15 10ZM16.5 16.75H7.5V15.25H16.5V16.75ZM22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12ZM12 3.5C7.31 3.5 3.5 7.31 3.5 12C3.5 16.69 7.31 20.5 12 20.5C16.69 20.5 20.5 16.69 20.5 12C20.5 7.31 16.69 3.5 12 3.5Z`,fill:`#161616`})})}),Ja=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M19 5L10 14L5.5 9.5L4.5 10.5L10 16L20 6L19 5ZM18 19.5H6V18H18V19.5Z`,fill:`#161616`})})}),Ya=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M16.5 11.5L12.75 15.25V7H11.25V15.2L7.5 11.5L6.5 12.5L10.31 16.32C10.78 16.79 11.39 17 12 17C12.61 17 13.23 16.78 13.69 16.32L17.5 12.5L16.5 11.5Z`,fill:`#231F20`})})}),Xa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M16.5 11.5L12.75 15.25V7H11.25V15.2L7.5 11.5L6.5 12.5L10.31 16.32C10.78 16.79 11.39 17 12 17C12.61 17 13.23 16.78 13.69 16.32L17.5 12.5L16.5 11.5ZM18.33 19.74C16.85 20.95 15.01 21.8 13 22V20.5C14.6 20.31 16.05 19.62 17.25 18.67L18.33 19.74ZM13 2V3.5C14.6 3.69 16.06 4.38 17.26 5.33L18.33 4.26C16.85 3.05 15.01 2.2 13 2ZM20.5 13C20.31 14.6 19.62 16.06 18.67 17.26L19.74 18.33C20.95 16.85 21.8 15.01 22 13H20.5ZM18.67 6.74C19.62 7.94 20.31 9.4 20.5 11H22C21.8 8.99 20.95 7.15 19.74 5.67L18.67 6.74ZM11 20.5C6.78 20 3.5 16.36 3.5 12C3.5 7.64 6.78 4 11 3.5V2C5.95 2.5 2 6.81 2 12C2 17.19 5.95 21.5 11 22V20.5Z`,fill:`#161616`})})}),Za=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M5.18965 8.08175L11.5078 11.1764C12.1676 11.4962 12.1676 12.4958 11.5078 12.8236L5.18965 15.9182C4.62981 16.1901 4 15.7503 4 15.0946V8.90538C4 8.24968 4.62981 7.80987 5.18965 8.08175ZM12.9974 8.90538V15.0946C12.9974 15.7503 13.6272 16.1901 14.187 15.9182L20.5051 12.8236C21.165 12.5038 21.165 11.5042 20.50
2051 11.1764L14.187 8.08175C13.6272 7.80987 12.9974 8.24968 12.9974 8.90538Z`,fill:`#161616`})})}),Qa=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M18.8104 15.9182L12.4922 12.8236C11.8324 12.5038 11.8324 11.5042 12.4922 11.1764L18.8104 8.08175C19.3702 7.80987 20 8.24968 20 8.90538V15.0946C20 15.7503 19.3702 16.1901 18.8104 15.9182ZM11.0026 15.0946V8.90538C11.0026 8.24968 10.3728 7.80987 9.813 8.08175L3.49485 11.1764C2.83505 11.4962 2.83505 12.4958 3.49485 12.8236L9.813 15.9182C10.3728 16.1901 11.0026 15.7503 11.0026 15.0946Z`,fill:`#161616`})})}),$a=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14.4894 10.9955H12.4859C11.9349 10.9955 11.4841 11.4453 11.4841 11.995V15.993C11.4841 16.5427 11.9349 16.9925 12.4859 16.9925H14.4894C15.0404 16.9925 15.4912 16.5427 15.4912 15.993V11.995C15.4912 11.4453 15.0404 10.9955 14.4894 10.9955ZM13.9885 15.4933H12.9867V12.4948H13.9885V15.4933ZM8.97967 12.4948H7.9779V10.9955H10.4823V16.9925H8.97967V12.4948ZM12.015 4.9985L10.0115 2.9995L11.0133 2L13.3273 4.30885C13.7982 4.77861 14.0186 5.38831 14.0186 5.998C14.0186 6.6077 13.7882 7.22739 13.3273 7.68716L11.5141 9.49625L10.5124 8.49675L12.3055 6.70765C12.3556 6.65767 12.3857 6.58771 12.4258 6.53773C12.2855 6.53773 12.1553 6.50775 12.015 6.50775C8.13819 6.50775 5.00265 9.63618 5.00265 13.5042C5.00265 17.3723 8.13819 20.5007 12.015 20.5007C15.8919 20.5007 18.7469 17.6322 18.9973 14.004H20.5C20.2395 18.4618 16.543 22 12.015 22C7.48704 22 3.5 18.1819 3.5 13.4943C3.5 8.8066 7.30672 4.9985 12.015 4.9985Z`,fill:`#161616`})})}),eo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M9.1 17.36L12 14.46V18C12 18.89 10.92 19.34 10.29 18.71L9.09 17.36H9.1ZM20 2L12 10V6C12 5.11 10.92 4.66 10.29 5.29L7 9H3V15H7L2 20L3 21L21 3L20 2Z`,fill:`#161616`})})}),to=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled circle, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM11 17H8V7H11V17ZM16 17H13V7H16V17Z`,fill:`#161616`})})}),no=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined circle, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11 16H8V8H11V16ZM16 16H13V8H16V16ZM22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12ZM12 3.5C7.31 3.5 3.5 7.31 3.5 12C3.5 16.69 7.31 20.5 12 20.5C16.69 20.5 20.5 16.69 20.5 12C20.5 7.31 16.69 3.5 12 3.5Z`,fill:`#161616`})})}),ro=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Default, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M5 19H10V5H5V19ZM14 5V19H19V5H14Z`,fill:`#161616`})})}),io=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled circle, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12ZM8 8.13V15.87C8 16.69 8.75 17.24 9.41 16.9L16.92 13.03C17.7 12.63 17.7 11.38 16.92 10.97L9.41 7.1C8.75 6.76 8 7.31 8 8.13Z`,fill:`#161616`})})}),ao=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined circle, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM20.5 12C20.5 16.69 16.69 20.5 12 20.5C7.31 20.5 3.5 16.69 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12ZM9.41 7.1L16.92 10.97C17.7 11.37 17.7 12.62 16.92 13.03L9.41 16.9C8.75 17.24 8 16.69 8 15.87V8.13C8 7.31 8.75 6.76 9.41 7.1Z`,f
20ill:`#161616`})})}),oo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Default, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M6 6.0896V17.9051C6 18.7047 6.72 19.2245 7.36 18.8947L18.45 12.9869C19.18 12.5971 19.18 11.4076 18.45 11.0177L7.36 5.09998C6.73 4.76011 6 5.2899 6 6.0896Z`,fill:`#161616`})})}),so=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 7V8.5H15V7H4ZM4 11.25V12.75H15V11.25H4ZM4 15.5V17H11V15.5H4ZM22 17H18.5V21H17V17H13V15.5H17V11.25H18.5V15.5H22V17Z`,fill:`#161616`})})}),co=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 7V8.5H15V7H4ZM4 11.25V12.75H15V11.25H4ZM4 15.5V17H11V15.5H4ZM15 21L14 20L16.5 17.5L14 15L15 14L17.5 16.5L20 14L21 15L18.5 17.5L21 20L20 21L17.5 18.5L15 21Z`,fill:`#161616`})})}),lo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M13.25 10.75H10V9.25H13.25V6H14.75V9.25H18V10.75H14.75V14H13.25V10.75ZM21.5 4.5V15.5C21.5 16.6 20.6 17.5 19.5 17.5H8.5C7.4 17.5 6.5 16.6 6.5 15.5V4.5C6.5 3.4 7.4 2.5 8.5 2.5H19.5C20.6 2.5 21.5 3.4 21.5 4.5ZM20 4H8V16H20V4ZM4.5 6H3V19C3 20.1 3.9 21 5 21H18V19.5H4.5V6Z`,fill:`#161616`})})}),uo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M10 10.75V9.25H18V10.75H10ZM21.5 4.5V15.5C21.5 16.6 20.6 17.5 19.5 17.5H8.5C7.4 17.5 6.5 16.6 6.5 15.5V4.5C6.5 3.4 7.4 2.5 8.5 2.5H19.5C20.6 2.5 21.5 3.4 21.5 4.5ZM20 4H8V16H20V4ZM4.5 6H3V19C3 20.1 3.9 21 5 21H18V19.5H4.5V6Z`,fill:`#161616`})})}),fo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M14.4894 11.0055H12.4859C11.9349 11.0055 11.4841 11.4553 11.4841 12.005V16.003C11.4841 16.5527 11.9349 17.0025 12.4859 17.0025H14.4894C15.0404 17.0025 15.4912 16.5527 15.4912 16.003V12.005C15.4912 11.4553 15.0404 11.0055 14.4894 11.0055ZM13.9885 15.5032H12.9867V12.5047H13.9885V15.5032ZM8.97967 12.5047
20H7.9779V11.0055H10.4823V17.0025H8.97967V12.5047ZM20.5 13.5042C20.5 18.1919 16.6833 22 11.985 22C7.28668 22 3.76046 18.4618 3.5 14.004H5.00265C5.26311 17.6322 8.28845 20.5007 11.985 20.5007C15.6815 20.5007 18.9973 17.3723 18.9973 13.5042C18.9973 9.63618 15.8618 6.50775 11.985 6.50775C11.8447 6.50775 11.7145 6.52774 11.5742 6.53773C11.6143 6.5977 11.6344 6.65767 11.6945 6.70765L13.4876 8.49675L12.4859 9.49625L10.6727 7.68716C10.2018 7.21739 9.98144 6.6077 9.98144 5.998C9.98144 5.38831 10.2118 4.76862 10.6727 4.30885L12.9867 2L13.9885 2.9995L11.985 4.9985C16.6833 4.9985 20.5 8.8066 20.5 13.4943V13.5042Z`,fill:`#161616`})})}),po=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11 11H6C4.9 11 4 10.1 4 9V3H5.5V7.36C6.95 5.33 9.31 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20C8.27 20 5.15 17.45 4.26 14H5.82C6.67 16.61 9.12 18.5 12 18.5C15.58 18.5 18.5 15.58 18.5 12C18.5 8.42 15.58 5.5 12 5.5C9.31 5.5 7.01 7.16 6.03 9.5H11V11Z`,fill:`#161616`})})}),mo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11.15 6.09008L20.54 11.1601C21.16 11.5001 21.16 12.5201 20.54 12.8501L11.15 17.9201C10.62 18.2101 10 17.7601 10 17.0701V6.93008C10 6.25008 10.61 5.80008 11.15 6.08008V6.09008ZM8 18.0001V6.00008H4V18.0001H8Z`,fill:`#161616`})})}),ho=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M6.19 7.10004L12.51 10.97C13.17 11.37 13.17 12.62 12.51 13.03L6.19 16.9C5.63 17.24 5 16.69 5 15.87V8.13004C5 7.31004 5.63 6.76004 6.19 7.10004ZM15 7.00004H19V17H15V7.00004Z`,fill:`#161616`})})}),go=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M17.81 16.9L11.49 13.03C10.83 12.63 10.83 11.38 11.49 10.97L17.81 7.10004C18.37 6.76004 19 7.31004 19 8.13004V15.87C19 16.69 18.37 17.24 17.81 16.9ZM9 17H5V7.00004H9V17Z`,fill:`#161616`})})}),_o=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M6 6H18V18H6V6Z`,fill:`#161616`})})}),vo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M3 8.99998V15H7L10.29 18.71C10.92 19.34 12 18.89 12 18V5.99998C12 5.10998 10.92 4.65998 10.29 5.28998L7 8.99998H3ZM16.5 12C16.5 10.23 15.48 8.70998 14 7.96998V16.02C15.48 15.29 16.5 13.77 16.5 12ZM14 3V5.28998C16.89 6.14998 19 8.82998 19 12C19 15.17 16.89 17.85 14 18.71V21C18.01 20.09 21 16.28 21 12C21 7.71998 18.01 3.91 14 3Z`,fill:`#161616`})})}),yo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M6 9C6 6 8 3 12 3C16 3 18 6 18 9.18V13L21 16V19H3V16L6 13V9ZM12 22C13.1 22 14 21.1 14 20H10C10 21.1 10.9 22 12 22Z`,fill:`#161616`})})}),bo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsxs)(`g`,{id:`Type=Filled with indicator, Size=24dp`,children:[(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M6 9C6 6 8 3 12 3C16 3 18 6 18 9.18V13L21 16V19H3V16L6 13V9ZM12 22C13.1 22 14 21.1 14 20H10C10 21.1 10.9 22 12 22Z`,fill:`#161616`}),(0,I.jsx)(`path`,{id:`Vector_2`,d:`M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z`,fill:`#FF0000`})]})}),xo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsxs)(`g`,{id:`Type=Outlined with indicator, Size=24dp`,children:[(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M16.5 9.18C16.5 7.02 15.32 4.5 12 4.5C8.89 4.5 7.5 6.76 7.5 9V13.62L4.5 16.62V17.5H19.5V16.63L16.5 13.62V9.18ZM6 9C6 6 8 3 12 3C16 3 18 6 18 9.18V13L21 16V19H3V16L6 13V9ZM10 20H14C14 21.1 13.1 22 12 22C10.9 22 10 21.1 10 20Z`,fill:`#161616`}),(0,I.jsx)(`path`,{id:`Vector_2`,d:`M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z`,fill:`#FF0000`})]})}),So=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M16.5 9.18C16.5 7.02 15.32 4.5 12 4.5C8.89 4.5 7.5 6.76 7.5 9V13.62L4.5 16.62V17.5H19.5V16.63L16.5 13.62V9.18ZM6 9C6 6 8 3 12 3C16 3 18 6 18 9.18V13L21 16V19H3V16L6 13V9ZM10 20H14C14 21.1 13.1 22 12 22C10.9 22 10 21.1 10 20Z`,fill:`#161616`})})}),Co=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M16 4L15 3L7.69 10.31C7.22 10.78 7 11.39 7 12C7 12.61 7.23 13.23 7.69 13.69L15 21L16 20L8.83 12.71C8.44 12.32 8.44 11.69 8.83 11.3L16 4.01V4Z`,fill:`#161616`})})}),wo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M8 4L9 3L16.31 10.31C16.78 10.78 17 11.39 17 12C17 12.61 16.77 13.23 16.31 13.69L9 21L8 20L15.17 12.71C15.56 12.32 15.56 11.69 15.17 11.3L8 4.01V4Z`,fill:`#161616`})})}),To=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M20 5L19 4L12 11L5 4L4 5L11 12L4 19L5 20L12 13L19 20L20 19L13 12L20 5Z`,fill:`#161616`})})}),Eo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M17.5 15.5L18.5 14.5L13.69 9.69C13.22 9.22 12.61 9 12 9C11.39 9 10.77 9.23 10.31 9.69L5.5 14.5L6.5 15.5L11.29 10.71C11.68 10.32 12.31 10.32 12.7 10.71L17.49 15.5H17.5Z`,fill:`#161616`})})}),Do=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M6.5 9.5L5.5 10.5L10.31 15.31C10.78 15.78 11.39 16 12 16C12.61 16 13.23 15.77 13.69 15.31L18.5 10.5L17.5 9.5L12.71 14.29C12.32 14.68 11.69 14.68 11.3 14.29L6.51 9.5H6.5Z`,fill:`#161616`})})}),Oo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M10.5 14.5L5.5 19.5H10V21H5C3.9 21 3 20.1 3 19V14H4.5V18.5L9.5 13.5L10.5 14.5ZM14.5 10.5L19.5 5.5V10H2
201V5C21 3.9 20.1 3 19 3H14V4.5H18.5L13.5 9.5L14.5 10.5Z`,fill:`#161616`})})}),ko=e=>(0,I.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M8 9L12.5 4.5V7H14V4C14 2.9 13.1 2 12 2H9V3.5H11.5L7 8L8 9ZM12 9V12C12 13.1 11.1 14 10 14H4C2.9 14 2 13.1 2 12V6C2 4.9 2.9 4 4 4H7V5.5H3.5V12.5H10.5V9H12Z`,fill:`#161616`})}),Ao=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M19 13V19C19 20.1 18.1 21 17 21H5C3.9 21 3 20.1 3 19V7C3 5.9 3.9 5 5 5H11V6.5H4.5V19.5H17.5V13H19ZM11 12L18.5 4.5H14V3H19C20.1 3 21 3.9 21 5V10H19.5V5.5L12 13L11 12Z`,fill:`#161616`})})}),jo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 14H8C9.1 14 10 14.9 10 16V20H8.5V15.5H4V14ZM15.5 20V15.5H20V14H16C14.9 14 14 14.9 14 16V20H15.5ZM8.5 4V8.5H4V10H8C9.1 10 10 9.1 10 8V4H8.5ZM20 8.5H15.5V4H14V8C14 9.1 14.9 10 16 10H20V8.5Z`,fill:`#161616`})})}),Mo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M15 3H19C20.1 3 21 3.9 21 5V9H19.5V4.5H15V3ZM4.5 9V4.5H9V3H5C3.9 3 3 3.9 3 5V9H4.5ZM19.5 15V19.5H15V21H19C20.1 21 21 20.1 21 19V15H19.5ZM9 19.5H4.5V15H3V19C3 20.1 3.9 21 5 21H9V19.5Z`,fill:`#161616`})})}),No=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M19.43 12.98C19.47 12.66 19.5 12.34 19.5 12C19.5 11.66 19.47 11.34 19.43 11.02L21.54 9.37C21.73 9.22 21.78 8.95 21.66 8.73L19.66 5.27C19.54 5.05 19.27 4.97 19.05 5.05L16.56 6.05C16.04 5.65 15.48 5.32 14.87 5.07L14.49 2.42C14.46 2.18 14.25 2 14 2H10C9.75001 2 9.54001 2.18 9.51001 2.42L9.13001 5.07C8.52001 5.32 7.96001 5.66 7.44001 6.05L4.95001 5.05C4.72001 4.96 4.46001 5.05 4.34001 5.27L2.34001 8.73C2.21001 8.95 2.27001 9.22 2.46001 9.37L4.57001 11.02C4.53001 11.34 4.50001 11.67 4.50001 12C4.50001 12.33 4.53001 12.66 4.57001 12.98L2.46001 14.63C2.27001 14.78 2.22001 15.05 2.34001 15.27L4.34001 18.73C4.46001 18.95 4.73001 19.03 4.95001 18.95L7.44001 17.95C7.96001 18.35 8.52001 18.68 9.13001 18.93L9.51001 21.58C9.54001 21.82 9.75001 22 10 22H14C14.25 22 14.46 21.82 14.49 21.58L14.87 18.93C15.48 18.68 16.04 18.34 16.56 17.95L19.05 18.95C19.28 19.04 19.54 18.95 19.66 18.73L21.66 15.27C21.78 15.05 21.73 14.78 21.54 14.63L19.43 12.98ZM12 15.5C10.07 15.5 8.50001 13.93 8.50001 12C8.50001 10.07 10.07 8.5 12 8.5C13.93 8.5 15.5 10.07 15.5 12C15.5 13.93 13.93 15.5 12 15.5Z`,fill:`#161616`})})}),Po=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M13.13 3.5L13.39 5.28L13.51 6.13L14.3 6.46C14.77 6.65 15.21 6.91 15.64 7.24L16.32 7.76L17.11 7.44L18.78 6.77L19.91 8.73L18.49 9.84L17.82 10.36L17.93 11.2C17.97 11.53 17.99 11.76 17.99 11.99C17.99 12.22 17.97 12.46 17.93 12.78L17.82 13.62L18.49 14.14L19.91 15.25L18.78 17.21L17.1 16.54L16.32 16.23L15.64 16.74C15.17 17.09 14.73 17.35 14.28 17.53L13.49 17.86L13.37 18.71L13.11 20.49H10.85L10.59 18.71L10.47 17.86L9.68001 17.53C9.21001 17.34 8.77001 17.08 8.34001 16.75L7.66001 16.23L6.87001 16.55L5.20001 17.22L4.07001 15.26L5.49001 14.15L6.16001 13.63L6.05001 12.79C6.01001 12.47 5.99001 12.22 5.99001 12C5.99001 11.78 6.01001 11.52 6.05001 11.21L6.16001 10.37L5.49001 9.85L4.07001 8.74L5.20001 6.78L6.88001 7.45L7.66001 7.76L8.34001 7.25C8.81001 6.9 9.25001 6.64 9.70001 6.46L10.49 6.13L10.61 5.28L10.87 3.5H13.13ZM14 2H10C9.75001 2 9.54001 2.18 9.51001 2.42L9.13001 5.07C8.52001 5.32 7.96001 5.66 7.44001 6.05L4.95001 5.05C4.89001 5.03 4.83001 5.02 4.77001 5.02C4.60001 5.02 4.43001 5.11 4.34001 5.27L2.34001 8.73C2.21001 8.95 2.27001 9.22 2.46001 9.37L4.57001 11.02C4.53001 11.34 4.50001 11.67 4.50001 12C4.50001 12.33 4.53001 12.66 4.57001 12.98L2.46001 14.63C2.27001 14.78 2.22001 15.05 2.34001 15.27L4.34001 18.73C4.43001 18.89 4.60001 18.98 4.78001 18.98
20C4.84001 18.98 4.90001 18.98 4.95001 18.95L7.44001 17.95C7.96001 18.35 8.52001 18.68 9.13001 18.93L9.51001 21.58C9.54001 21.82 9.75001 22 10 22H14C14.25 22 14.46 21.82 14.49 21.58L14.87 18.93C15.48 18.68 16.04 18.34 16.56 17.95L19.05 18.95C19.11 18.97 19.17 18.98 19.23 18.98C19.4 18.98 19.57 18.89 19.66 18.73L21.66 15.27C21.78 15.05 21.73 14.78 21.54 14.63L19.43 12.98C19.47 12.66 19.5 12.34 19.5 12C19.5 11.66 19.47 11.34 19.43 11.02L21.54 9.37C21.73 9.22 21.78 8.95 21.66 8.73L19.66 5.27C19.57 5.11 19.4 5.02 19.22 5.02C19.16 5.02 19.1 5.02 19.05 5.05L16.56 6.05C16.04 5.65 15.48 5.32 14.87 5.07L14.49 2.42C14.46 2.18 14.25 2 14 2ZM12 15C10.35 15 9.00001 13.65 9.00001 12C9.00001 10.35 10.35 9 12 9C13.65 9 15 10.35 15 12C15 13.65 13.65 15 12 15Z`,fill:`#161616`})})}),Fo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM20.46 11.2H16.82C16.71 8.69 16.06 6.28 14.97 4.04C17.96 5.16 20.15 7.9 20.46 11.2ZM12.79 3.54C14.16 5.89 14.99 8.48 15.13 11.2H8.89C9.03 8.48 9.85 5.89 11.23 3.54C11.49 3.52 11.75 3.5 12.02 3.5C12.29 3.5 12.55 3.52 12.81 3.54H12.79ZM9.03 4.04C7.94 6.28 7.3 8.68 7.18 11.2H3.54C3.85 7.9 6.04 5.16 9.03 4.04ZM3.54 12.8H7.18C7.29 15.31 7.94 17.72 9.03 19.96C6.04 18.84 3.85 16.1 3.54 12.8ZM11.21 20.46C9.84 18.11 9.01 15.52 8.87 12.8H15.11C14.97 15.52 14.15 18.11 12.77 20.46C12.51 20.48 12.25 20.5 11.98 20.5C11.71 20.5 11.45 20.48 11.19 20.46H11.21ZM14.97 19.96C16.06 17.72 16.7 15.32 16.82 12.8H20.46C20.15 16.1 17.96 18.84 14.97 19.96Z`,fill:`#161616`})})}),Io=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12.5 18H11V16.5H12.5V18ZM12.5 15H11C11 12 14.5 12 14.5 10C14.5 8.9 14 7.5 12 7.5C10 7.5 9.5 8.9 9.5 10H8C8 7.79 9.79 6 12 6C14.21 6 16 7.79 16 10C16 12.5 12.5 12.75 12.5 15Z`,fill:`black`})})}),Lo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11 16.5H12.5V18H11V16.5ZM12 6C9.79 6 8 7.79 8 10H9.5C9.5 8.9 10 7.5 12 7.5C14 7.5 14.5 8.9 14.5 10C14.5 12 11 12 11 15H12.5C12.5 12.75 16 12.5 16 10C16 7.79 14.21 6 12 6ZM22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12ZM20.5 12C20.5 7.31 16.69 3.5 12 3.5C7.31 3.5 3.5 7.31 3.5 12C3.5 16.69 7.31 20.5 12 20.5C16.69 20.5 20.5 16.69 20.5 12Z`,fill:`black`})})}),Ro=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12ZM13 16V11C13 10.45 12.55 10 12 10H10V11H11V16C11 16.55 11.45 17 12 17H14V16H13ZM11.75 6.5C11.06 6.5 10.5 7.06 10.5 7.75C10.5 8.44 11.06 9 11.75 9C12.44 9 13 8.44 13 7.75C13 7.06 12.44 6.5 11.75 6.5Z`,fill:`#161616`})})}),zo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12ZM20.5 12C20.5 7.31 16.69 3.5 12 3.5C7.31 3.5 3.5 7.31 3.5 12C3.5 16.69 7.31 20.5 12 20.5C16.69 20.5 20.5 16.69 20.5 12ZM13 16V11C13 10.45 12.55 10 12 10H10V11H11V16C11 16.55 11.45 17 12 17H14V16H13ZM11.75 6.5C11.06 6.5 10.5 7.06 10.5 7.75C10.5 8.44 11.06 9 11.75 9C12.44 9 13 8.44 13 7.75C13 7.06 12.44 6.5 11.75 6.5Z`,fill:`#161616`})})}),Bo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 17.5C4 18.32 4.67 19 5.5 19C6.33 19 7 18.32 7 17.5C7 16.68 6.33 16 5.5 16C4.67 16 4 16.68 4 17.5ZM4 6.5C4 7.32 4.67 8 5.5 8C6.33 8 7 7.32 7 6.5C7 5.68 6.33 5 5.5 5C4.67 5 4 5.68 4 6.5ZM4 12C4 12.82 4.67 13.5 5.5 13.5C6.33 13.5 7 12.82 7 12C7 11.18 6.33 10.5 5.5 10.5C4.67 10.5 4 11.18 4 12ZM9 5.75V7.25H21V5.75H9ZM9 11.25V12.75H21V11.25H9ZM9 16.75V18.25H21V16.75H9Z`,fill:`#161616`})})}),Vo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M4 11.25H14.14L11 8L12 7L15.31 10.31C15.78 10.78 16 11.39 16 12C16 12.61 15.77 13.23 15.31 13.69L12 17L11 16L14.14 12.75H4V11.25ZM18 2H6C4.9 2 4 2.9 4 4V9H5.5V3.5H18.5V20.5
20H5.5V15H4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V4C20 2.9 19.1 2 18 2Z`,fill:`#161616`})})}),Ho=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M18 22H6C4.9 22 4 21.1 4 20V4C4 2.9 4.9 2 6 2H18V3.5H5.5V20.5H18V22ZM19.31 10.31L16 7L15 8L18.14 11.25H9V12.75H18.14L15 16L16 17L19.31 13.69C19.78 13.22 20 12.61 20 12C20 11.39 19.77 10.77 19.31 10.31Z`,fill:`#161616`})}),Uo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.11 2.89 20 4 20H20C21.1 20 22 19.1 22 18V6ZM13 12.24C12.35 12.65 11.65 12.65 11 12.24L4 8V6.5L11 10.7C11.65 11.11 12.35 11.11 13 10.7L20 6.5V8L13 12.24Z`,fill:`#161616`})})}),Wo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsxs)(`g`,{id:`Type=Filled with indicator, Size=24dp`,children:[(0,I.jsx)(`path`,{id:`Vector`,d:`M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.11 2.89 20 4 20H20C21.1 20 22 19.1 22 18V6ZM13 12.24C12.35 12.65 11.65 12.65 11 12.24L4 8V6.5L11 10.7C11.65 11.11 12.35 11.11 13 10.7L20 6.5V8L13 12.24Z`,fill:`#161616`}),(0,I.jsx)(`path`,{id:`Vector_2`,d:`M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z`,fill:`#FF0000`})]})}),Go=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsxs)(`g`,{id:`Type=Outlined with indicator, Size=24dp`,children:[(0,I.jsx)(`path`,{id:`Vector`,d:`M20 4H4C2.9 4 2 4.9 2 6V18C2 19.11 2.89 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4ZM20.25 5.5L13.07 10.7C12.42 11.11 11.6 11.11 10.95 10.7L3.75 5.5H20.25ZM20.5 18.5H3.5V7.5L10.95 12.7C11.6 13.11 12.42 13.11 13.07 12.7L20.5 7.5V18.5Z`,fill:`#161616`}),(0,I.jsx)(`path`,{id:`Vector_2`,d:`M18 9C19.6569 9 21 7.65685 21 6C21 4.34315 19.6569 3 18 3C16.3431 3 15 4.34315 15 6C15 7.65685 16.3431 9 18 9Z`,fill:`#FF0000`})]})}),Ko=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M20 4H4C2.9 4 2 4.9 2 6V18C2 19.11 2.89 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4ZM20.25 5.5L13.07 10.7C12.42 11.11 11.6 11.11 10.95 10.7L3.75 5.5H20.25ZM20.5 18.5H3.5V7.5L10.95 12.7C11.6 13.11 12.42 13.11 13.07 12.7L20.5 7.5V18.5Z`,fill:`#161616`})})}),qo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M6.5 10.5C5.68 10.5 5 11.17 5 12C5 12.83 5.68 13.5 6.5 13.5C7.32 13.5 8 12.83 8 12C8 11.17 7.32 10.5 6.5 10.5ZM17.5 10.5C16.68 10.5 16 11.17 16 12C16 12.83 16.68 13.5 17.5 13.5C18.32 13.5 19 12.83 19 12C19 11.17 18.32 10.5 17.5 10.5ZM12 10.5C11.18 10.5 10.5 11.17 10.5 12C10.5 12.83 11.18 13.5 12 13.5C12.82 13.5 13.5 12.83 13.5 12C13.5 11.17 12.82 10.5 12 10.5Z`,fill:`#161616`})})}),Jo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M10.5 17.5C10.5 18.32 11.17 19 12 19C12.83 19 13.5 18.32 13.5 17.5C13.5 16.68 12.83 16 12 16C11.17 16 10.5 16.68 10.5 17.5ZM10.5 6.5C10.5 7.32 11.17 8 12 8C12.83 8 13.5 7.32 13.5 6.5C13.5 5.68 12.83 5 12 5C11.17 5 10.5 5.68 10.5 6.5ZM10.5 12C10.5 12.82 11.17 13.5 12 13.5C12.83 13.5 13.5 12.82 13.5 12C13.5 11.18 12.83 10.5 12 10.5C11.17 10.5 10.5 11.18 10.5 12Z`,fill:`#161616`})})}),Yo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M13 9.5H17.97C16.99 7.16 14.69 5.5 12 5.5C8.42 5.5 5.5 8.42 5.5 12C5.5 15.58 8.42 18.5 12 18.5C14.89 18.5 17.34 16.61 18.18 14H19.74C18.85 17.45 15.73 20 12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C14.69 4 17.05 5.33 18.5 7.36V3H20V9C20 10.1 19.1 11 18 11H13V9.5Z`,fill:`#161616`})})}),Xo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M20.5 19.5L1
205.42 14.42C16.4 13.21 17 11.67 17 10C17 6.13 13.87 3 10 3C6.13 3 3 6.13 3 10C3 13.87 6.13 17 10 17C11.68 17 13.22 16.41 14.42 15.42L19.5 20.5L20.5 19.5ZM10 15.5C6.97 15.5 4.5 13.03 4.5 10C4.5 6.97 6.97 4.5 10 4.5C13.03 4.5 15.5 6.97 15.5 10C15.5 13.03 13.03 15.5 10 15.5Z`,fill:`#161616`})})}),Zo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11.2957 8.29C11.6853 8.68 12.3147 8.68 12.7043 8.29L16 5L17 6L13.6833 9.31C13.2138 9.78 12.6044 10 11.995 10C11.3856 10 10.7662 9.77 10.3067 9.31L7 6L7.999 5L11.2857 8.29H11.2957ZM16.001 19L17 18L13.6933 14.69C13.2238 14.22 12.6144 14 12.005 14C11.3956 14 10.7762 14.23 10.3167 14.69L7 18L8 19L11.2957 15.71C11.6853 15.32 12.3147 15.32 12.7043 15.71L15.991 19H16.001Z`,fill:`#161616`})})}),Qo=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11.2957 17.29C11.6853 17.68 12.3147 17.68 12.7043 17.29L16 14L17 15L13.6833 18.31C13.2138 18.78 12.6044 19 11.995 19C11.3856 19 10.7662 18.77 10.3067 18.31L7 15L7.999 14L11.2857 17.29H11.2957ZM16.001 10L17 9L15.3467 7.345L13.6933 5.69C13.2238 5.22 12.6144 5 12.005 5C11.3956 5 10.7762 5.23 10.3167 5.69L7 9L8 10L11.2957 6.71C11.6853 6.32 12.3147 6.32 12.7043 6.71L15.991 10H16.001Z`,fill:`#161616`})})}),$o=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 7C13.65 7 15 8.35 15 10C15 11.65 13.65 13 12 13C10.35 13 9 11.65 9 10C9 8.35 10.35 7 12 7ZM12.5 20.5H11.5C9.22 20.5 7.16 19.53 5.7 17.98C6.83 15.63 9.23 14 12 14C14.77 14 17.17 15.63 18.3 17.98C16.84 19.53 14.78 20.5 12.5 20.5Z`,fill:`#161616`})})}),es=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM6.53 18.49C6.81 15.97 9.16 14 12 14C14.84 14 17.19 15.97 17.47 18.49C15.99 19.74 14.08 20.5 12 20.5C9.92 20.5 8.01 19.74 6.53 18.49ZM9.5 10C9.5 8.62 10.62 7.5 12 7.5C13.38 7.5 14.5 8.62 14.5 10C14.5 11.38 13.38 12.5 12 12.5C10.62 12.5 9.5 11.38 9.5 10ZM18.71 17.2C18.11 15.28 16.6 13.73 14.64 12.99C15.47 12.26 16 11.2 16 10.01C16 7.8 14.21 6.01 12 6.01C9.79 6.01 8 7.8 8 10.01C8 11.2 8.53 12.26 9.36 12.99C7.4 13.74 5.88 15.29 5.29 17.2C4.17 15.76 3.5 13.96 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 13.96 19.83 15.76 18.71 17.2Z`,fill:`#161616`})})}),ts=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M11 11H5C3.9 11 3 10.1 3 9V5C3 3.9 3.9 3 5 3H9C10.1 3 11 3.9 11 5V11ZM9.5 4.5H4.5V9.5H9.5V4.5ZM11 13V19C11 20.1 10.1 21 9 21H5C3.9 21 3 20.1 3 19V15C3 13.9 3.9 13 5 13H11ZM4.5 14.5V19.5H9.5V14.5H4.5ZM13 13H19C20.1 13 21 13.9 21 15V19C21 20.1 20.1 21 19 21H15C13.9 21 13 20.1 13 19V13ZM14.5 19.5H19.5V14.5H14.5V19.5ZM17 12L12 7L17 2L22 7L17 12ZM20 7L17 4L14 7L17 10L20 7Z`,fill:`#161616`})})}),ns=e=>(0,I.jsxs)(`svg`,{width:202,height:202,viewBox:`0 0 202 202`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`rect`,{width:202,height:202,fill:`#F9F9F9`}),(0,I.jsx)(`path`,{d:`M112 90.6667C112 89.2 110.8 88 109.333 88H90.6667C89.2 88 88 89.2 88 90.6667V109.333C88 110.8 89.2 112 90.6667 112H109.333C110.8 112 112 110.8 112 109.333V90.6667ZM90.6667 109.333L96 102.52L98.6667 105.333L102.44 100L109.333 109.333H90.6667Z`,fill:`#8E8E8E`})]}),rs=e=>(0,I.jsx)(`svg`,{width:32,height:32,viewBox:`0 0 32 32`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M26 4H6C4.9 4 4 4.9 4 6V26C4 27.1 4.9 28 6 28H26C27.1 28 28 27.1 28 26V6C28 4.9 27.1 4 26 4ZM16 17L25.5 26.5H6.5L16 17ZM6.5 5.5H25.5L16 15L6.5 5.5ZM26.5 6.5V25.5L17 16L26.5 6.5ZM15 16L5.5 25.5V6.5L15 16Z`,fill:`#161616`})}),is=e=>(0,I.jsxs)(`svg`,{width:32,height:32,viewBox:`0 0 32 32`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`rect`,{x:.5,y:.5,width:31,height:31,rx:3.5,fill:`#F5F2FF`}),(0,I.jsx)(`rect`,{x:.5,y:.5,width:31,height:31,rx:3.5,stroke:`#8B7EFF`,strokeDasharray:`4 4`})]}),as=e=>(0,I.jsxs)(`svg`,{width:135,height:40,viewBox:`0 0 135 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`rect`,{x:.5,y:.5,width:134,height:39,rx:4.5,fill:`black`}),(0,I.jsx)(`rect`,{x:.5,y:.5,width:134,height:39,rx:4.5,stroke:`#A6A6A6`}),(0,I.jsx)(`path`,{d:`M106.935 30H108.801V17.4984H106.935V30ZM123.742 22.002L121.603 27.4219H121.539L119.319 22.002H117.309L120.639 29.577L118.74 33.791H120.686L125.817 22.002H123.742ZM113.159 28.5801C112.549 28.5801 111.696 28.2742 111.696 27.5184C111.696 26.5535 112.758 26.1836 113.674 26.1836C114.494 26.1836 114.881 26.3602 115.379 26.6016C115.234 27.7598 114.237 28.5801 113.159 28.5801ZM113.385 21.7285C112.034 21.7285 110.635 22.3238 110.056 23.6426L111.712 24.334C112.066 23.6426 112.725 23.4176 113.417 23.4176C114.382 23.4176 115.363 23.9961 115.379 25.0258V25.1543C115.041 24.9613 114.317 24.6719 113.433 24.6719C111.647 24.6719 109.83 25.6527 109.83 27.4863C109.83 29.159 111.294 30.2367 112.934 30.2367C114.188 30.2367 114.881 29.6738 115.314 29.0141H115.379V29.9797H117.181V25.1863C117.181 22.9668 115.523 21.7285 113.385 21.7285ZM101.853 23.5238H99.1986V19.2387H101.853C103.248 19.2387 104.04 20.3934 104.04 21.3812C104.04 22.35 103.248 23.5238 101.853 23.5238ZM101.805 17.4984H97.3334V30H99.1986V25.2637H101.805C103.873 25.2637 105.906 23.7668 105.906 21.3812C105.906 18.9961 103.873 17.4984 101.805 17.4984ZM77.4232 28.5824C76.1341 28.5824 75.0552 27.5027 75.0552 26.0211C75.0552 24.5223 76.1341 23.4273 77.4232 23.4273C78.6959 23.4273 79.6947 24.5223 79.6947 26.0211C79.6947 27.5027 78.6959 28.5824 77.4232 28.5824ZM79.5658 22.702H79.5013C79.0826 22.2027 78.2767 21.7516 77.2623 21.7516C75.1353 21.7516 73.1861 23.6207 73.1861 26.0211C73.1861 28.4051 75.1353 30.2578 77.2623 30.2578C78.2767 30.2578 79.0826 29.8066 79.5013 29.2914H79.5658V29.9031C79.5658 31.5309 78.6959 32.4004 77.2943 32.4004C76.1509 32.4004 75.442 31.5789 75.1517 30.8863L73.5248 31.5629C73.9916 32.6902 75.2318 34.0762 77.2943 34.0762C79.4857 34.0762 81.3384 32.7871 81.3384 29.6453V22.0094H79.5658V22.702ZM82.6275 30H84.4955V17.4984H82.6275V30ZM87.2506 25.8758C87.2025 24.2324 88.524 23.3949 89.474 23.3949C90.2154 23.3949 90.8431 23.7656 91.0533 24.2969L87.2506 25.8758ZM93.0502 24.4578C92.6959 23.5078 91.6166 21.7516 89.4095 21.7516C87.2181 21.7516 85.3978 23.4754 85.3978 26.0047C85.3978 28.3891 87.2025 30.2578 89.6185 30.2578C91.5677 30.2578 92.6959 29.066 93.1634 28.373L91.7134 27.4062C91.2299 28.1152 90.5697 28.5824 89.6185 28.5824C88.6685 28.5824 87.9916 28.1473 87.5572 27.2934L93.2435 24.9414L93.0502 24.4578ZM47.7424 23.0566V24.8
20609H52.0599C51.931 25.8758 51.5927 26.6168 51.0771 27.1324C50.4486 27.7605 49.4658 28.4535 47.7424 28.4535C45.0841 28.4535 43.006 26.3109 43.006 23.6527C43.006 20.9945 45.0841 18.8516 47.7424 18.8516C49.1763 18.8516 50.2232 19.4156 50.9966 20.1406L52.2697 18.8676C51.19 17.8367 49.7564 17.0473 47.7424 17.0473C44.1009 17.0473 41.04 20.0117 41.04 23.6527C41.04 27.2934 44.1009 30.2578 47.7424 30.2578C49.7076 30.2578 51.19 29.6133 52.3498 28.4051C53.542 27.2129 53.9127 25.5375 53.9127 24.184C53.9127 23.7656 53.8802 23.3789 53.8158 23.0566H47.7424ZM58.8213 28.5824C57.5322 28.5824 56.4205 27.5191 56.4205 26.0047C56.4205 24.4742 57.5322 23.4273 58.8213 23.4273C60.1099 23.4273 61.2216 24.4742 61.2216 26.0047C61.2216 27.5191 60.1099 28.5824 58.8213 28.5824ZM58.8213 21.7516C56.4685 21.7516 54.5517 23.5398 54.5517 26.0047C54.5517 28.4535 56.4685 30.2578 58.8213 30.2578C61.1732 30.2578 63.0904 28.4535 63.0904 26.0047C63.0904 23.5398 61.1732 21.7516 58.8213 21.7516ZM68.1341 28.5824C66.8459 28.5824 65.7338 27.5191 65.7338 26.0047C65.7338 24.4742 66.8459 23.4273 68.1341 23.4273C69.4232 23.4273 70.5345 24.4742 70.5345 26.0047C70.5345 27.5191 69.4232 28.5824 68.1341 28.5824ZM68.1341 21.7516C65.7822 21.7516 63.8654 23.5398 63.8654 26.0047C63.8654 28.4535 65.7822 30.2578 68.1341 30.2578C70.4869 30.2578 72.4037 28.4535 72.4037 26.0047C72.4037 23.5398 70.4869 21.7516 68.1341 21.7516Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M44.4771 13.2344C43.5806 13.2344 42.8094 12.9189 42.1877 12.2973C41.5656 11.6752 41.2506 10.8963 41.2506 9.99062C41.2506 9.08493 41.5658 8.30743 42.1877 7.68398C42.8094 7.06223 43.5806 6.74687 44.4771 6.74687C44.9339 6.74687 45.3602 6.82576 45.7676 6.99003C46.1751 7.15433 46.5085 7.38239 46.7711 7.68085L46.833 7.75136L46.1336 8.45058L46.0637 8.36464C45.8895 8.1507 45.6681 7.98449 45.3875 7.86367C45.1079 7.74315 44.8017 7.68749 44.4771 7.68749C43.8457 7.68749 43.3217 7.90194 42.8842 8.33788C42.8841 8.33798 42.8839 8.33798 42.8838 8.33809C42.4562 8.78283 42.2412 9.32431 42.2412 9.99062C42.2412 10.6575 42.4564 11.199 42.8845 11.6439C43.3221 12.0797 43.846 12.2953 44.4771 12.2953C45.0552 12.2953 45.5333 12.1339 45.9091 11.8145H45.9094C46.2593 11.5171 46.4693 11.1153 46.5435 10.6031H44.3771V9.68125H47.4799L47.4931 9.76562C47.5186 9.92768 47.5365 10.0841 47.5365 10.2344C47.5365 11.0945 47.2743 11.7967 46.7597 12.3133C46.1789 12.929 45.4151 13.2344 44.4771 13.2344L44.4771 13.2344ZM71.4189 13.2344C70.521 13.2344 69.7589 12.9188 69.1451 12.2973C69.145 12.2972 69.145 12.2972 69.1449 12.2971C69.1448 12.297 69.1448 12.297 69.1447 12.2969C68.5301 11.6821 68.2252 10.903 68.2252 9.99061C68.2252 9.07822 68.5301 8.29915 69.1447 7.68436C69.1448 7.68429 69.1448 7.68426 69.1449 7.68416L69.1451 7.68396C69.7589 7.06236 70.521 6.74685 71.4189 6.74685C72.3151 6.74685 73.0775 7.06244 73.6912 7.69334C74.306 8.30803 74.6111 9.08562 74.6111 9.9906C74.6111 10.903 74.3062 11.6821 73.6916 12.2969L73.6914 12.2971C73.0773 12.919 72.3078 13.2344 71.4189 13.2344L71.4189 13.2344ZM48.4244 13.1V6.88124H48.5244H52.1385V7.82187H49.3978V9.52968H51.8697V10.4516H49.3978V12.1609H52.1385V13.1H48.4244ZM54.4115 13.1V7.82187H52.7303V6.88124H57.0662V7.82187H56.9662H55.3849V13.1H54.4115ZM59.8373 13.1V6.88124H60.8107V6.98124V13.1H59.8373ZM63.2611 13.1V7.82187H61.5799V6.88124H65.9158V7.82187H65.8158H64.2345V13.1H63.2611ZM75.4752 13.1V6.88124H76.5728L79.3664 11.3535L79.3424 10.5045V6.88124H80.3158V13.1H79.3525L76.4246 8.40175L76.4486 9.25019V9.25156V13.1H75.4752ZM71.4189 12.2953C72.0504 12.2953 72.5659 12.0799 72.9861 11.6447L72.9867 11.6439L72.9873 11.6433C73.4135 11.217 73.6221 10.6682 73.6221 9.99059C73.6221 9.31461 73.4134 8.76397 72.9873 8.33785L72.9867 8.33725L72.9861 8.33665C72.566 7.90152 72.0506 7.68743 71.4189 7.68743C70.7862 7.68743 70.2708 7.90115 69.8428 8.33626L69.8424 8.33666C69.424 8.77312 69.2158 9.3148 69.2158 9.99057C69.2158 10.668 69.424 11.2079 69.8424 11.6445L69.8428 11.6449C70.2709 12.0801 70.7864 12.2953 71.4189 12.2953V12.2953Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M20.7145 19.4232L10.068 30.7232C10.0684 30.7256 10.0692 30.7275 10.0696 30.7299C10.3961 31.9568 11.5168 32.8604 12.8469 32.8604C13.3786 32.8604 13.8778 32.7166 14.3059 32.4643L14.3399 32.4443L26.3239 25.5291L20.7145 19.4232Z`,fill:`#EA4335`}),(0,I.jsx)(`path`,{d:`M31.4856 17.4991L31.4754 17.4921L26.3016 14.4928L20.4727 19.6796L26.3219 25.528L31.4684 22.5585C32.3707 22.0714 32.9832 21.1202 32.9832 20.0233C32.9832 18.9343 32.3789 17.9878 31.4856 17.4991Z`,f
20ill:`#FBBC04`}),(0,I.jsx)(`path`,{d:`M10.0676 9.27635C10.0036 9.51235 9.97 9.75955 9.97 10.0162V29.9838C9.97 30.2401 10.0032 30.4881 10.068 30.7233L21.0809 19.7123L10.0676 9.27635Z`,fill:`#4285F4`}),(0,I.jsx)(`path`,{d:`M20.793 19.9999L26.3036 14.4909L14.3332 7.55068C13.8981 7.29008 13.3903 7.13968 12.8469 7.13968C11.5168 7.13968 10.3946 8.04478 10.068 9.27328C10.0676 9.27448 10.0676 9.27528 10.0676 9.27638L20.793 19.9999Z`,fill:`#34A853`})]}),os=e=>(0,I.jsxs)(`svg`,{width:16,height:16,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,...e,children:[(0,I.jsx)(`rect`,{width:16,height:16,fill:`url(#pattern0_1437_379)`}),(0,I.jsxs)(`defs`,{children:[(0,I.jsx)(`pattern`,{id:`pattern0_1437_379`,patternContentUnits:`objectBoundingBox`,width:1,height:1,children:(0,I.jsx)(`use`,{xlinkHref:`#image0_1437_379`,transform:`scale(0.0138889)`})}),(0,I.jsx)(`image`,{id:`image0_1437_379`,width:72,height:72,preserveAspectRatio:`none`,xlinkHref:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAC/VBMVEUAAAC2DQO5DgO/EQa2DQS0DQS4DQPPFgm3DQOpCwTCEATCDwPFEgatCwStCwTEEASwDAOyCwO3DQPDDwOuCwPFEgXCDwPBDwOuCwTLFQnFEQW4DQSvDATEEATLEwfDDwOpCgOrCwPFDwPHEAS1DAPJEgawDAXOGQ3MEQXFEASsCwSwCwLKEwasCwOwCwPHEwbBDwOwCwPNFAfDEAO6DQO2DATWHhCmCQOqCgO2DATBDwO4DQOrDAWuDAXQGArBDwOsDAX/PjD/QDL/PC7+PzH/QjP/Oiz/OSr/Nij8RDf/NCb/MiT9Rzr9QTPGEAb8PzH+QzX/LiHDDwX9TD/9TkLrHBLkGxD9PC7/Kh39Ukb9UETzIBXTEwn9Ylf8QTTaFQzMEQe4DQX9X1T8V0v9STz/MCP/LB+tCwP9Z1z8Sz7KEQb+RjneFgzWFAq7DgawCwT+gXj9XFH9VEj7JhrLFAizDAX5JBjBDgb7a2H8ZFr9Wk79WEzQEgn/job9bWP8Nij/nJT/mJD/jIP+g3r9eXD9cGX6OizyJhneGQ3SGQ3hFw3/19H/wLr/o5z8job+hn79cmj+RDf8MSP5MCLYIBPqHxPRFQn/rqf/mZL+fnT9d239dWvoGg/YFwz/pp//n5j/kYn+al/1Nif4Kx71KBv+JxvuIhblGA6/DgW9DgT/7ej/ycP/ta7+lI36PTD5NSjzLR/7LB/oIxXYFAnIEAb/39n/xb//trD/q6T9iYH+fHLwMybmKRv1IxjcJBfWGg7OEQf/9vL/6eT/wrz/sav/qKD6T0PsKRvjIhXvIBXwHRO1DAX///3/+/j/8Oz/2tX6d231dGvxbWP1XVL6XFD5VEj1PC/pMibwLyHnLiH5Jxv2IBXfIRPcGQ7/4t35fnX5cGf2Z1zuY1n3YVb2WEzyVEn3QzbpQDTiOCztHBLhGxCmCQP/zMb/urT6hn30gnr3TUD5SDvzQzfsLyLeKyDtJRj/083tWk/wTULoS0D/STzzSDzeMyj/2NLuamB5mTbwAAAAQXRSTlMAAwcwCxUP/hv9wbZP9ZFnTycg5dqwgHH7+fn07dXRpaWbdVxBKeXj3si1q5BtZUQ8N/Hu5tLIx768nIyHebeLX3qo6DkAAAjsSURBVFjDzNZ5UIxxHMdxKrZZzYSmGkzMOAbDjNsfzDCbNqJWdpdsatHGsMmQnbFtSFFaRGlFig4GpUvH0qF094fueybpDtNd7mN8fs/vad3+9qat6fk9r9/3+XVM4/7/xuuh8f9eYWCAFf9cYmhkNmsSl2u62Fjf4M9LJi41X2PK5U5aYz53wl8Z/fUW0wUCBUetVk+bbzrnDwunmnNXCBRILhCuWDh76h8dQzMTgZyTW1rSGBMTM5KtmcY10vtlGmOLaeqcpixcb8xuViuEFsYTf3eWcoVydWmjjXOY78kzp1SuiVk5yxcb/rhC33Sapqle5JwZddrHN0iWOKJRTJ/121BGFgJ1aYxz4Nv8vLKyvLgLj8MdpVk56+Z9X7FkpqbJXxz2qCXv2bNnZeUVRdGJ2WoBl12hW2Wi0DRKbrXExeXn58fFxZWXtxQecPPPXq2v22l+zoiD38W4PFRWVgYsP1BckivgTvlpagtFTnK0Nr3iwlhfKtJ7j/CTIOmcEmnUhXRSSws2w17lBaoStcB0wg+naKrQlERffKDVFhRcZCso0BZkOCQ3r57HTDxfkyKN7H1A6+19+/ZCRUVFulaWwhGajddBxtPVzZ3X4uPjCwsLr5EeI7wrPBKSkrsOO+rPzC2tv973CMXH46WvDztptdoH8cPPFSZLdV/4hYrchoRAtkh0mi3S700AZ7HehEmcgCzfolu0oqIisk1hIXbuu4QDn6WnG4hzs90nwcfn+nUfH5+EhISoqKiTbLURN5cbzVbcLKnENawgYQdsFhhIzMdduxUr2JEMJglOjA5cYvP1zci4fPnyGXSE9Ol86MwFoa9rMjJ8mU5ewj/slICNYUb2N4cK1lNI3yTN6cPAQH//ZURuDwvLzDyLbpBaG56Hhu7uqTybGRbGyGcQFmbAPEm8Hve0hfQbfI5Qnts+8AJBIPeHBwX5+fmdQkpUkxIQ0NSm9AsKCkegsSQTKkhwGZfepSpM9BnITCjXVFdVVVZWhoOAoIw+QPL09HQmDV9Ned/h7HngQDRYwvsBDYKJIY+c6a8OeDrdiDh6a4R7RgG1trIEbndBR0kqlZesLjmrq9NLddTFBSp0kECjAQYBe1FVGiowpmct3PO5urpaqYQBgt7u5SWTyTw8JBJHx+Lu7sFiicRD5qVS4SL2oCQ0WJVV2U4C8zHo5de2tjZGAUEBQojFYtFBNDR0UCR2dJR4eED3QipCgvOMVra2NjilzdZB7e0dHR21tV7sECBgAHG1tXWzQW62rgfFxCIBRDI8LSilssFdzkB6swhUU1Nbi1HYMWAAYRUpY
20iiRCNfA4T9JAuuoi2dbQ6ocj4bWHpd/fldT01lXJ3EkYyAQiCj2dnZ2W7fixd7G1tYV1vfgechULh1NqfI5DGR+P230XRec4mKRzkBQ7KHQiOQGioYV+PijyFEiq+1McV++hIGMYgWaD11dxcWsYjMWGOI4ODjwqAQKMXsEI7ePIrFENrjDfcE8BtJfKQztef9+cHCIIDgPKaPYM44VjweHZ2VlaW8fHEwBegmvRKqr3+HO/ohM5N7f8/nDp09D9GC3Skl2JEsrK0AIjiUft8JAzAV80pIf7OZa3HjeaTH7q20tnq1neLi7W7qVTapjaHAg8fn2dnxL8mlMuQHxLPk23XcPcXDWTJNnCDkve+rrE5kcWMyKiYUwEh+B4xHF2nrjxo3W1tYbeNKYiN04Iprhqlh5zsusen8mB6YxAPdRiGHgYBCG2YQ3YP7n7rnjNyTb2sNC9WhDVkxSUpK3jsLkNPaM6JOCgbNp06bN5G2zd8gr+mS0ZStj5ZqmESp5e/szU5N0EI8oiI4DAm1BV+5EpM401EEGi/YKOTnZjckhIYyEmak0dj4kQDqHKvv2bbv96rzTbIqwxx0rwJ8PyZBCrnijsZkoRAMz5lBl//6HuyJSF0xhEXak+wpN6ZtzoIiEk6TUTxOxx4x5CLNt/85jT7YfempGCbZvvdbPThpBHAfwxX+FNFixHGwkjSTEg0YTkzZqoolt1RhMNoFkCQmbsHuATQi7e6DLXvYBLEebeoKT3YJHhaspV+ANpD6A8BL9zgwUjaAgSb8P8Ml3Zn4zmYAPi/tzBekc0mnwCBCTeg5rxAqROlE7W8+J7+cfQA6/ofHfiPTz/Pz7aZBJrFLHYRAtxJxMNlYsv3vDPYzHa1ykfreufhGJVDoCBIZCLJAYBCdEnXw89frRV2ttoVF6VYj8INIlk1Coyxww6LADMUdIS28Dj3+Zq7ocPrvtSsdBQHCoQtKFsLJ/TtXET+RRJr26zPeTDh5CKNRxLHO778923a1rvNiVEscUIoVY6PkDwsKokxPDHza4fpmYVbDh6gmVLkOs0n4PItLhUbDnLK5z/ePcUoxST2KVmMMq0UKhqH0NR+Xl2SluQDa8kKRCV2KViIFnEdAnQMFE0s4Sp6JtO7mBmfMpDbPKOt1cJiCRSkBI9omDQtRJaR8nucFxrLkVOWyRTrXrmyQ69RaHQnRhNzEhUpYulucGKmzDXfp96ZhKn8GQhXWduGQurju4JzOzpGAIOlImCgmrw9FRJ4gDI45lLu7CeTrOFQxBxYqnIwKT2Fx+udfHCpMDezaeTTIEIqR8HVKSbDl9p+GwPry8NP2cwoZAb5gSkYR6M2Njo+hDDyfLHG3FyQ2VAG4dlYqQsnY0GUqQC29T54zXtj3ckJlbxtFBykGKZW07Gk2Sd7UmtOCQARo2jj0fJNopX481sxnbxvWq5VsFrMsbGJZhg2loHUkA1WzGakLkRK2GZTKIo0i7TCqnc6Du7u6EfOtW/GqO6CATOwtUUuOgisVILl04q5Qavj0HN2KmZqlkqeV4Op2OF0SJ1wwfLsbImfEvYApSVVFUVVW0UqZsuNfgjJ5pKvFS1bKqEl9q6O7diZc4kHCBG6UwX6nwpmYo7h04L4tzFZJmmuaFrCuunakXMuwp0A1Zkw1FceHCj5H5FQUU6rhmZ8ZxIG25FDAuP5zx4tlqt9suPx6gsaXNdnsJzviZ3GTO+JmH8//yF22UN/qMrEYlAAAAAElFTkSuQmCC`})]})]}),ss=e=>(0,I.jsx)(`svg`,{width:32,height:32,viewBox:`0 0 32 32`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M25.3613 12.1824C25.2188 12.2904 22.7031 13.6754 22.7031 16.7549C22.7031 20.3168 25.9042 21.577 26 21.6082C25.9853 21.685 25.4915 23.3339 24.3122 25.0141C23.2608 26.4926 22.1626 27.9688 20.4921 27.9688C18.8215 27.9688 18.3916 27.0207 16.4631 27.0207C14.5837 27.0207 13.9155 28 12.3874 28C10.8594 28 9.79315 26.6319 8.56725 24.9517C7.14728 22.9787 6 19.9136 6 17.0045C6 12.3384 9.10527 9.86379 12.1614 9.86379C13.7853 9.86379 15.1389 10.9055 16.1585 10.9055C17.1289 10.9055 18.6422 9.80138 20.4896 9.80138C21.1898 9.80138 23.7054 9.86379 25.3613 12.1824ZM19.6126 7.82598C20.3766 6.94029 20.9171 5.71137 20.9171 4.48245C20.9171 4.31203 20.9023 4.13921 20.8704 4C19.6273 4.0456 18.1484 4.80888 17.2566 5.81938C16.5564 6.59706 15.903 7.82598 15.903 9.07171C15.903 9.25893 15.9349 9.44614 15.9496 9.50615C16.0283 9.52055 16.156 9.53735 16.2837 9.53735C17.3991 9.53735 18.8019 8.80768 19.6126 7.82598Z`,fill:`#161616`})}),cs=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M19.0209 9.13681C18.9141 9.21782 17.0273 10.2565 17.0273 12.5662C17.0273 15.2376 19.4281 16.1827 19.5 16.2061C19.4889 16.2637 19.1186 17.5005 18.2342 18.7606C17.4456 19.8695 16.622 20.9766 15.3691 20.9766C14.1161 20.9766 13.7937 20.2655 12.3473 20.2655C10.9378 20.2655 10.4366 21 9.29057 21C8.14452 21 7.34486 19.9739 6.42544 18.7138C5.36046 17.234 4.5 14.9352 4.5 12.7534C4.5 9.25383 6.82895 7.39784 9.12105 7.39784C10.339 7.39784 11.3542 8.17912 12.1188 8.17912C12.8466 8.17912 13.9816 7.35104 15.3672 7.35104C15.8923 7.35104 17.7791 7.39784 19.0209 9.13681ZM14.7094 5.86949C15.2825 5.20522 15.6878 4.28353 15.6878 3.36184C15.6878 3.23402 15.6768 3.10441 15.6528 3C14.7205 3.0342 13.6113 3.60666 12.9425 4.36454C12.4173 4.94779 11.9272 5.86949 11.9272 6.80378C11.9272 6.94419 11.9512 7.08461 11.9622 7.12961C12.0212 7.14041 12.117 7.15302 12.2128 7.15302C13.0493 7.15302 14.1014 6.60576 14.7094 5.86949Z`,fill:`#161616`})}),ls=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Coloured`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.5 2 2 6.49 2
2012.02C2 17.02 5.66 21.17 10.44 21.92V14.92H7.9V12.02H10.44V9.81C10.44 7.3 11.93 5.92 14.22 5.92C15.31 5.92 16.45 6.11 16.45 6.11V8.58H15.19C13.95 8.58 13.56 9.35 13.56 10.14V12.02H16.34L15.89 14.92H13.56V21.92C18.43 21.15 22.01 16.95 22 12.02C22 6.49 17.5 2 12 2Z`,fill:`#1877F2`})})}),us=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Default`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.5 2 2 6.49 2 12.02C2 17.02 5.66 21.17 10.44 21.92V14.92H7.9V12.02H10.44V9.81C10.44 7.3 11.93 5.92 14.22 5.92C15.31 5.92 16.45 6.11 16.45 6.11V8.58H15.19C13.95 8.58 13.56 9.35 13.56 10.14V12.02H16.34L15.89 14.92H13.56V21.92C18.43 21.15 22.01 16.95 22 12.02C22 6.49 17.5 2 12 2Z`,fill:`#161616`})})}),ds=e=>(0,I.jsxs)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsxs)(`g`,{clipPath:`url(#clip0_2198_285)`,children:[(0,I.jsx)(`path`,{d:`M21.9905 12.1871C21.9905 11.3677 21.9224 10.7698 21.7752 10.1497H12.1992V13.848H17.8201C17.7068 14.7671 17.0948 16.1512 15.7349 17.0813L15.7159 17.2051L18.7436 19.4969L18.9534 19.5174C20.8798 17.7789 21.9905 15.2211 21.9905 12.1871Z`,fill:`#4285F4`}),(0,I.jsx)(`path`,{d:`M12.1992 21.9313C14.953 21.9313 17.2648 21.0454 18.9534 19.5174L15.7349 17.0813C14.8737 17.6682 13.7177 18.0779 12.1992 18.0779C9.50211 18.0779 7.21297 16.3395 6.39695 13.9366L6.27734 13.9466L3.12906 16.3273L3.08789 16.4391C4.76508 19.6945 8.21016 21.9313 12.1992 21.9313Z`,fill:`#34A853`}),(0,I.jsx)(`path`,{d:`M6.39695 13.9366C6.18164 13.3166 6.05703 12.6521 6.05703 11.9656C6.05703 11.2791 6.18164 10.6147 6.38562 9.99466L6.37992 9.8626L3.19219 7.44366L3.08789 7.49214C2.39664 8.84305 2 10.3601 2 11.9656C2 13.5712 2.39664 15.0882 3.08789 16.4391L6.39695 13.9366Z`,fill:`#FBBC05`}),(0,I.jsx)(`path`,{d:`M12.1992 5.85336C14.1144 5.85336 15.4063 6.66168 16.1429 7.33718L19.0213 4.59107C17.2535 2.9855 14.953 2 12.1992 2C8.21016 2 4.76508 4.23672 3.08789 7.49214L6.38562 9.99466C7.21297 7.59183 9.50211 5.85336 12.1992 5.85336Z`,fill:`#EB4335`})]}),(0,I.jsx)(`defs`,{children:(0,I.jsx)(`clipPath`,{id:`clip0_2198_285`,children:(0,I.jsx)(`rect`,{width:20,height:20,fill:`white`,transform:`translate(2 2)`})})})]}),fs=e=>(0,I.jsxs)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`g`,{id:`Size=24dp, Type=Coloured`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M7.8 2H16.2C19.4 2 22 4.6 22 7.8V16.2C22 19.4 19.4 22 16.2 22H7.8C4.6 22 2 19.4 2 16.2V7.8C2 4.6 4.6 2 7.8 2ZM7.6 4C5.61 4 4 5.61 4 7.6V16.4C4 18.39 5.61 20 7.6 20H16.4C18.39 20 20 18.39 20 16.4V7.6C20 5.61 18.39 4 16.4 4H7.6ZM17.25 5.5C17.94 5.5 18.5 6.06 18.5 6.75C18.5 7.44 17.94 8 17.25 8C16.56 8 16 7.44 16 6.75C16 6.06 16.56 5.5 17.25 5.5ZM12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z`,fill:`url(#paint0_linear_10904_1222)`})}),(0,I.jsx)(`defs`,{children:(0,I.jsxs)(`linearGradient`,{id:`paint0_linear_10904_1222`,x1:2.18188,y1:21.8166,x2:21.8181,y2:2.18188,gradientUnits:`userSpaceOnUse`,children:[(0,I.jsx)(`stop`,{stopColor:`#FFD521`}),(0,I.jsx)(`stop`,{offset:.05,stopColor:`#FFD521`}),(0,I.jsx)(`stop`,{offset:.501119,stopColor:`#F50000`}),(0,I.jsx)(`stop`,{offset:.95,stopColor:`#B900B4`}),(0,I.jsx)(`stop`,{offset:.950079,stopColor:`#B900B4`}),(0,I.jsx)(`stop`,{offset:1,stopColor:`#B900B4`})]})})]}),ps=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Default`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M7.8 2H16.2C19.4 2 22 4.6 22 7.8V16.2C22 19.4 19.4 22 16.2 22H7.8C4.6 22 2 19.4 2 16.2V7.8C2 4.6 4.6 2 7.8 2ZM7.6 4C5.61 4 4 5.61 4 7.6V16.4C4 18.39 5.61 20 7.6 20H16.4C18.39 20 20 18.39 20 16.4V7.6C20 5.61 18.39 4 16.4 4H7.6ZM17.25 5.5C17.94 5.5 18.5 6.06 18.5 6.75C18.5 7.44 17.94 8 17.25 8C16.56 8 16 7.44 16 6.75C16 6.06 16.56 5.5 17.25 5.5ZM12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z`,fill:`#161616`})})}),ms=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M19 3C20.1 3 21 3.9 21 5V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H19ZM18.5 18.5V13.2C18.5 11.4 17.04 9.94 15.24 9.94C14.39 9.94 13.4
2010.46 12.92 11.24V10.13H10.13V18.5H12.92V13.57C12.92 12.8 13.54 12.17 14.31 12.17C15.08 12.17 15.71 12.8 15.71 13.57V18.5H18.5ZM6.88 8.56C7.81 8.56 8.56 7.81 8.56 6.88C8.56 5.95 7.81 5.19 6.88 5.19C5.95 5.19 5.19 5.95 5.19 6.88C5.19 7.81 5.95 8.56 6.88 8.56ZM8.27 18.5V10.13H5.5V18.5H8.27Z`,fill:`#0077B5`})}),hs=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Default`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M19 3C20.1 3 21 3.9 21 5V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H19ZM18.5 18.5V13.2C18.5 11.4 17.04 9.94 15.24 9.94C14.39 9.94 13.4 10.46 12.92 11.24V10.13H10.13V18.5H12.92V13.57C12.92 12.8 13.54 12.17 14.31 12.17C15.08 12.17 15.71 12.8 15.71 13.57V18.5H18.5ZM6.88 8.56C7.81 8.56 8.56 7.81 8.56 6.88C8.56 5.95 7.81 5.19 6.88 5.19C5.95 5.19 5.19 5.95 5.19 6.88C5.19 7.81 5.95 8.56 6.88 8.56ZM8.27 18.5V10.13H5.5V18.5H8.27Z`,fill:`#161616`})})}),gs=e=>(0,I.jsxs)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`g`,{id:`Size=24dp, Type=Coloured`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.36 2 2 6.13 2 11.7C2 14.61 3.19 17.14 5.14 18.87C5.3 19 5.4 19.22 5.41 19.44L5.46 21.22C5.5 21.79 6.07 22.16 6.59 21.93L8.57 21.06C8.74 21 8.93 20.97 9.1 21C10 21.27 11 21.4 12 21.4C17.64 21.4 22 17.27 22 11.7C22 6.13 17.64 2 12 2ZM18 9.46L15.07 14.13C14.6 14.86 13.6 15.05 12.9 14.5L10.56 12.77C10.35 12.61 10.05 12.61 9.84 12.77L6.68 15.17C6.26 15.5 5.71 15 6 14.54L8.93 9.87C9.4 9.14 10.4 8.95 11.1 9.47L13.44 11.23C13.66 11.39 13.95 11.39 14.16 11.23L17.32 8.83C17.74 8.5 18.29 9 18 9.46Z`,fill:`url(#paint0_linear_10899_1210)`})}),(0,I.jsx)(`defs`,{children:(0,I.jsxs)(`linearGradient`,{id:`paint0_linear_10899_1210`,x1:22,
20y1:2,x2:2,y2:22,gradientUnits:`userSpaceOnUse`,children:[(0,I.jsx)(`stop`,{stopColor:`#FF6070`}),(0,I.jsx)(`stop`,{offset:.5,stopColor:`#9F33FF`}),(0,I.jsx)(`stop`,{offset:1,stopColor:`#168AFF`})]})})]}),_s=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Default`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.36 2 2 6.13 2 11.7C2 14.61 3.19 17.14 5.14 18.87C5.3 19 5.4 19.22 5.41 19.44L5.46 21.22C5.5 21.79 6.07 22.16 6.59 21.93L8.57 21.06C8.74 21 8.93 20.97 9.1 21C10 21.27 11 21.4 12 21.4C17.64 21.4 22 17.27 22 11.7C22 6.13 17.64 2 12 2ZM18 9.46L15.07 14.13C14.6 14.86 13.6 15.05 12.9 14.5L10.56 12.77C10.35 12.61 10.05 12.61 9.84 12.77L6.68 15.17C6.26 15.5 5.71 15 6 14.54L8.93 9.87C9.4 9.14 10.4 8.95 11.1 9.47L13.44 11.23C13.66 11.39 13.95 11.39 14.16 11.23L17.32 8.83C17.74 8.5 18.29 9 18 9.46Z`,fill:`#161616`})})}),vs=e=>(0,I.jsxs)(`svg`,{width:32,height:32,viewBox:`0 0 32 32`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`path`,{d:`M15.2717 15.4618L5.09395 26.0057C5.0945 26.0079 5.09492 26.01 5.09547 26.0121C5.40776 27.1569 6.47885 28 7.75057 28C8.25865 28 8.73587 27.8658 9.1453 27.6305L9.17767 27.6115L20.6324 21.1581L15.2717 15.4618Z`,fill:`#EA4335`}),(0,I.jsx)(`path`,{d:`M25.5682 13.6663L25.5585 13.66L20.6126 10.861L15.0405 15.7011L20.6323 21.1581L25.552 18.3873C26.4144 17.9325 27 17.0452 27 16.0221C27.0001 15.0052 26.4226 14.1227 25.5682 13.6663Z`,fill:`#FBBC04`}),(0,I.jsx)(`path`,{d:`M5.09326 5.99364C5.03224 6.214 5 6.44514 5 6.68418V25.3158C5.00996 25.5832 5.03196 25.7865 5.09381 26.0057L15.6216 15.7318L5.09326 5.99364Z`,fill:`#4285F4`}),(0,I.jsx)(`path`,{d:`M15.3467 16L20.6126 10.861L9.17117 4.38373C8.75524 4.14059 8.26986 4 7.75057 4C6.47885 4 5.4061 4.84477 5.09395 5.99105C5.09367 5.99186 5.09354 5.99268 5.09326 5.99364L15.3467 16Z`,fill:`#34A853`})]}),ys=e=>(0,I.jsxs)(`svg`,{width:14,height:16,viewBox:`0 0 14 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`path`,{d:`M6.53654 7.64118L0.0597866 14.6705C0.0601388 14.6719 0.0604029 14.6734 0.0607551 14.6747C0.259486 15.4379 0.941088 16 1.75036 16C2.07369 16 2.37737 15.9105 2.63792 15.7536L2.65852 15.741L9.9479 11.4387L6.53654 7.64118Z`,fill:`#EA4335`}),(0,I.jsx)(`path`,{d:`M13.0889 6.44418L13.0827 6.44L9.93531 4.574L6.38941 7.80073L9.94781 11.4387L13.0785 9.59155C13.6274 9.28836 14 8.69682 14 8.01473C14.0001 7.33682 13.6326 6.74846 13.0889 6.44418Z`,fill:`#FBBC04`}),(0,I.jsx)(`path`,{d:`M0.0593463 1.32909C0.0205158 1.476 0 1.63009 0 1.78945V14.2105C0.00633966 14.3888 0.0203397 14.5244 0.0596984 14.6705L6.75923 7.82118L0.0593463 1.32909Z`,fill:`#4285F4`}),(0,I.jsx)(`path`,{d:`M6.58427 8L9.93531 4.574L2.65438 0.255818C2.3897 0.0937273 2.08082 0 1.75036 0C0.941088 0 0.258429 0.563182 0.0597866 1.32736C0.0596105 1.32791 0.0595224 1.32845 0.0593463 1.32909L6.58427 8Z`,fill:`#34A853`})]}),bs=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M2.83431 24C2.05875 24 1.396 23.7176 0.846063 23.1671C0.296122 22.6165 0.014101 21.9529 0.014101 21.1765C0.014101 20.4 0.296122 19.7365 0.846063 19.1859C1.396 18.6353 2.05875 18.3529 2.83431 18.3529C3.60987 18.3529 4.27262 18.6353 4.82256 19.1859C5.3725 19.7365 5.65452 20.4 5.65452 21.1765C5.65452 21.9529 5.3725 22.6165 4.82256 23.1671C4.27262 23.7176 3.60987 24 2.83431 24ZM19.7556 24C19.7556 21.2471 19.2338 18.6776 18.2045 16.2918C17.1751 13.9059 15.765 11.8165 13.9741 10.0235C12.1833 8.23059 10.0964 6.81882 7.71328 5.78824C5.3302 4.75765 2.76381 4.23529 0.014101 4.23529V0C3.35605 0 6.47239 0.621177 9.3631 1.86353C12.2538 3.10588 14.792 4.82824 16.9777 7.01647C19.1633 9.20471 20.8837 11.7459 22.1246 14.64C23.3655 17.5341 24 20.6541 24 24H19.7697H19.7556ZM11.2949 24C11.2949 22.4188 10.9988 20.9647 10.4066 19.6094C9.81434 18.2541 9.01058 17.0682 7.9671 16.0235C6.92362 14.9788 5.73913 14.1741 4.38543 13.5812C3.03173 12.9882 1.56522 12.7059 0 12.7059V8.47059C2.15746 8.47059 4.17391 8.88 6.04935 9.68471C7.92479 10.4894 9.56052 11.6047 10.9706 13.0165C12.3807 14.4282 13.4947 16.0659 14.2985 17.9435C15.1022 19.8212 15.5112 21.8259 15.5112 24H11.2808H11.2949Z`,fill:`black`})}),xs=e=>(0,I.jsxs)(`svg`,{width:24,height:25,viewBox:`0 0 24 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`path`,{d:`M0 12.5C0 1.82 1.32 0.5 12 0.5C22.68 0.5 24 1.82 24 12.5C24 23.18 22.68 24.5 12 24.5C1.32 24.5 0 23.18 0 12.5Z`,fill:`#ED1A3D`}),(0,I.jsx)(`path`,{d:`M6.61129 11.3523C6.26746 11.3911 5.95818 11.1442 5.91905 10.8009C5.88019 10.4574 6.12713 10.1475 6.47068 10.1087C6.81396 10.0701 7.12406 10.3168 7.16238 10.66C7.20178 11.0036 6.95457 11.3137 6.61129 11.3523Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M8.99512 9.68956C8.57843 9.55381 8.35092 9.10554 8.48613 8.68912C8.62242 8.27243 9.07042 8.04465 9.48738 8.18067C9.90353 8.31642 10.1318 8.76442 9.99582 9.18138C9.85981 9.59807 9.41208 9.82557 8.99512 9.68956Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M11.7568 8.89881C11.3771 8.52773 11.37 7.91889 11.7411 7.53917C12.1122 7.15972 12.7211 7.1527 13.101 7.52405C13.4805 7.89514 13.4872 8.50398 13.1162 8.88343C12.7448 9.26315 12.136 9.27017 11.7568 8.89881Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M14.4475 9.06155C14.2224 8.47996 14.5112 7.82605 15.093 7.60124C15.6741 7.37589 16.3282 7.66493 16.5533 8.24652C16.7784 8.82784 16.4896 9.48202 15.908 9.70683C15.3259 9.93191 14.6728 9.64287 14.4475 9.06155Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M17.1068 10.1853C17.1068 9.43722 17.7135 8.83053 18.4622 8.83053C19.2103 8.83053 19.8167 9.43722 19.8167 10.1853C19.8167 10.9332 19.2103 11.5404 18.4622 11.5404C17.7135 11.5404 17.1068 10.9332 17.1068 10.1853Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M12.8943 12.6032C11.8232 12.6032 11.0459 13.3807 11.0459 14.4515C11.0459 15.296 11.5263 16.1485 12.5988 16.1485C12.8805 16.1485 13.1315 16.0894 13.355 15.9669V16.1216C13.355 16.532 13.2619 16.9118 12.585 16.9118C12.428 16.9118 12.2795 16.8875 12.1449 16.8494C11.9754 16.7992 11.8162 16.7172 11.6583 16.6378L11.6405 16.6297C11.6013 16.6133 11.559 16.6152 11.5198 16.6311C11.4901 16.6427 11.4688 16.6621 11.4505 16.6875C11.4283 16.7172 11.2054 17.0621 11.19 17.0928L11.1701 17.1522L11.1676 17.176C11.1676 17.224 11.1884 17.2669 11.2211 17.2974C11.2915 17.363 11.3792 17.4135 11.4634 17.4593C11.4883 17.4728 11.5136 17.485 11.5387 17.4974C11.7989 17.6259 12.181 17.75 12.6884 17.75C13.2309 17.75 13.66 17.5964 13.9628 17.2934C14.3368 16.9193 14.3368 16.5426 14.3368 16.
200665V12.9726L14.3074 12.9586C13.8516 12.7295 13.3496 12.6032 12.8943 12.6032ZM13.355 15.1835C13.3021 15.2177 13.0741 15.3384 12.812 15.3384C12.428 15.3384 12.0415 15.0491 12.0415 14.4032C12.0415 13.82 12.3867 13.4128 12.8803 13.4128C13.1 13.4128 13.2913 13.4803 13.355 13.5051V15.1835Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M7.03257 12.8539L7.02961 12.832C7.01692 12.7567 6.95134 12.6995 6.87281 12.6995H6.19676C6.10852 12.6995 6.037 12.7713 6.037 12.8595V15.9885C6.037 16.0768 6.10852 16.1485 6.19676 16.1485H6.87281C6.95188 16.1485 7.01719 16.0905 7.02988 16.015L7.03258 15.9909L7.03257 12.8539Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M21.6017 11.8356C21.5965 11.7517 21.5277 11.6856 21.4432 11.6856H20.7667C20.6798 11.6856 20.6104 11.7549 20.6082 11.8418V16.0006C20.6147 16.0832 20.683 16.1483 20.7667 16.1483H21.4432C21.5288 16.1483 21.5981 16.0803 21.6017 15.9952V11.8356Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M18.68 12.6032C17.7203 12.6032 17.024 13.3774 17.024 14.4443C17.024 15.5381 17.6981 16.2446 18.7418 16.2446C19.3312 16.2446 19.7738 16.0295 19.9384 15.9361C19.9716 15.9186 20.0633 15.8368 19.984 15.6819L19.8197 15.3597C19.7749 15.2736 19.7133 15.2552 19.6699 15.2552C19.6483 15.2552 19.6264 15.2596 19.5935 15.2731L19.5732 15.2828C19.3134 15.3988 19.068 15.4552 18.8241 15.4552C18.5593 15.4552 18.3394 15.371 18.1882 15.2113C18.0541 15.0696 17.9947 14.889 17.9918 14.7603H20.2326C20.2326 14.7603 20.2326 14.5304 20.2326 14.4378C20.2326 13.2889 19.6523 12.6032 18.68 12.6032ZM17.9918 14.0262C18.0727 13.6128 18.3418 13.358 18.7005 13.358C19.2335 13.358 19.2982 13.8581 19.305 14.0262H17.9918Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M16.7735 15.4728C16.7347 15.367 16.6575 15.3511 16.614 15.3511L16.5487 15.3618C16.4513 15.3878 16.362 15.4002 16.2672 15.4002C15.9048 15.4002 15.8746 15.1432 15.8746 14.8566V13.5367H16.7484C16.8367 13.5367 16.9082 13.4651 16.9082 13.3769V12.859C16.9082 12.7753 16.8437 12.7079 16.7619 12.7009L16.7509 12.6995H16.7487L16.7485 12.6993L15.8747 12.6995V11.8453C15.8747 11.7571 15.8034 11.6858 15.7152 11.6858H15.0391C15.0137 11.6858 14.9895 11.6923 14.9679 11.7031C14.9004 11.7314 14.8793 11.7924 14.8793 11.8405V14.8226C14.8793 15.2936 14.8793 15.6336 15.1778 15.9324C15.4496 16.2044 15.8563 16.2446 16.0749 16.2446C16.4098 16.2446 16.6557 16.1645 16.8111 16.0905C16.8532 16.0703 16.9636 15.9934 16.9021 15.8239L16.7735 15.4728Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M3.82912 13.0741C3.77082 13.0471 3.70848 13.0136 3.65424 12.971C3.61618 12.9443 3.5838 12.9103 3.55951 12.8706L3.539 12.8315L3.52928 12.8069C3.51713 12.7724 3.51039 12.7354 3.51039 12.6965C3.51039 12.6328 3.52874 12.5735 3.5595 12.5225C3.62131 12.4129 3.73681 12.3314 3.85637 12.296C4.21234 12.18 4.59826 12.2885 4.91186 12.4693L4.97097 12.5003C5.00659 12.5217 5.04356 12.5349 5.07568 12.5349C5.1283 12.5349 5.17526 12.5119 5.20846 12.4758L5.20759 12.4769C5.32283 12.3381 5.50526 12.0577 5.5085 12.0529C5.54197 11.9986 5.54521 11.925 5.51283 11.8691L5.48071 11.8262L5.43456 11.7892C4.94554 11.4497 4.317 11.3342 3.73433 11.4292C3.39456 11.4869 3.06449 11.6402 2.83105 11.8969C2.4543 12.3014 2.37657 12.9624 2.67047 13.4352C2.87585 13.7677 3.22561 13.9755 3.57591 14.1272C3.83419 14.2489 4.11783 14.3271 4.35775 14.4861C4.48756 14.5652 4.57446 14.7074 4.57446 14.8709C4.57446 15.0482 4.46786 15.1997 4.32833 15.2736C4.25277 15.3135 4.17882 15.3451 4.09516 15.3618C4.01176 15.3786 3.92594 15.3834 3.8412 15.3807C3.79343 15.3791 3.74567 15.3753 3.6979 15.3697C3.41884 15.3448 3.17272 15.2156 2.92767 15.0931L2.9085 15.0842C2.8664 15.0672 2.82025 15.0685 2.77869 15.0852C2.74631 15.0985 2.72364 15.1195 2.70286 15.1468C2.67911 15.1786 2.43919 15.5511 2.42219 15.5845L2.40033 15.6479L2.39844 15.6739C2.39844 15.7259 2.42057 15.7724 2.45592 15.8053C2.69935 16.0104 3.01079 16.1248 3.3171 16.2004C3.82528 16.3086 4.38042 16.2997 4.85001 16.0617C5.63724 15.7003 5.89821 14.5296 5.30125 13.8913C4.90398 13.4749 4.33541 13.3119 3.82912 13.0741Z`,fill:`white`}),(0,I.jsx)(`path`,{d:`M10.6711 15.2059V14.2297C10.6721 13.8028 10.673 13.3191 10.2967 12.9429C10.0746 12.7211 9.76265 12.6032 9.39319 12.6032C8.98756 12.6032 8.73874 12.8029 8.60946 12.9219V12.8598C8.60811 12.8423 8.6073 12.8352 8.60325 12.8188V12.8186L8.60216 12.8151L8.60081 12.8121L8.59784 12.8024L8.59621 12.7967L8.55465 12.7403L8.54629 12.7336L8.54467 12.7322L8.54359 12.7317L8.54339 12.7315C8.51667 12.7121 8.4851 12.7 8.44948 12.7H7.77316C7.68491 12.7 7.61367 12.7715 7.61367 12.86V15.989C7.61367 16.0772 7.68491 16.1487 7.77316 16.1487H8.44948C8.52882 16.1487 8.59359 16.091 8.60654 16.0154L8.60952 15.9911L8.60903 15.3607H8.60952V13.658C8.69615 13.5979 8.94605 13.4618 9.20082 13.4618C9.34898 13.4618 9.46665 13.5007 9.54114 13.5755C9.65637 13.6904 9.67554 13.9028 9.67554 14.3349L9.67573 14.4059V15.989C9.67573 16.0772 9.74752 16.1487 9.8355 16.1487H10.5115C10.5906 16.1487 10.6559 16.091 10.6686 16.0154L10.
206713 15.9911L10.6711 15.3612L10.6713 15.3593V15.2063L10.6711 15.2061`,fill:`white`})]}),Ss=e=>(0,I.jsx)(`svg`,{width:32,height:32,viewBox:`0 0 32 32`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M10.14 17.2675C9.91148 16.9021 9.61616 16.6075 9.25348 16.3831C8.89081 16.1591 8.50793 15.9861 8.10484 15.864C7.70176 15.7424 7.32198 15.6366 6.96656 15.5467C6.61062 15.4572 6.31479 15.3544 6.08008 15.2392C5.84486 15.124 5.72725 14.9703 5.72725 14.778C5.72725 14.6114 5.8143 14.4769 5.98942 14.3741C6.16402 14.2717 6.42566 14.2203 6.77538 14.2203C7.1251 14.2203 7.51057 14.294 7.89346 14.4413C8.27634 14.5886 8.62191 14.8353 8.93122 15.1813L10.3617 13.7853V17.7722C10.3068 17.5858 10.2332 17.4168 10.14 17.2675ZM28.1669 12.3651C27.5893 12.064 26.9178 11.9132 26.152 11.9132C25.3863 11.9132 24.7547 12.064 24.1775 12.3651C23.9335 12.4921 23.7123 12.6419 23.5128 12.8139V8H20.4099V14.7073C20.1798 14.122 19.513 13.1293 18.4918 12.548C17.754 12.1278 16.9572 11.9137 16.0438 11.9137C15.3853 11.9137 14.7812 12.0418 14.2304 12.2983C13.9486 12.4293 13.6937 12.585 13.4646 12.765V12.106H10.3617V13.1179C9.98142 12.7516 9.51824 12.4619 8.97163 12.2504C8.25924 11.975 7.494 11.8371 6.67487 11.8371C5.85574 11.8371 5.15008 11.9651 4.55944 12.2217C3.96828 12.4783 3.51183 12.8273 3.18957 13.2692C2.86731 13.7112 2.70618 14.2337 2.70618 14.8363C2.70618 15.4389 2.82016 15.8808 3.04865 16.2397C3.27713 16.5986 3.57245 16.8809 3.93513 17.0856C4.2978 17.2907 4.68068 17.4543 5.08377 17.5759C5.48685 17.698 5.87284 17.8068 6.24225 17.9027C6.61166 17.9986 6.91009 18.1014 7.13909 18.2102C7.36758 18.3194 7.48156 18.489 7.48156 18.7199C7.48156 18.9122 7.38416 19.0595 7.18935 19.1618C6.99454 19.2646 6.72927 19.3155 6.39354 19.3155C5.85626 19.3155 5.36924 19.2226 4.93248 19.0367C4.49572 18.8509 4.10973 18.5913 3.77399 18.2581L2 19.9493C2.3492 20.2953 2.75851 20.5998 3.22895 20.8623C3.69887 21.1253 4.21646 21.3305 4.78067 21.4773C5.34489 21.6246 5.91585 21.6983 6.49353 21.6983C7.71574 21.6983 8.68616 21.4259 9.40529 20.8811C9.88402 20.5183 10.2027 20.0739 10.3622 19.5489V25H13.4248V19.973C14.0118 19.8326 14.5718 19.539 14.964 18.9033C13.9009 18.6121 13.2072 17.6753 13.2766 16.5897C13.3274 15.7943 13.8719 15.0652 14.6402 14.7265C15.1133 14.5184 15.7308 14.4453 16.2738 14.6109C18.0343 15.1472 18.2509 16.8977 17.738 18.2334C17.6074 18.573 17.4012 18.9181 17.1349 19.2463C16.3857 20.1693 15.1692 20.9577 13.9056 21.1234C14.3304 21.3725 15.2205 21.7003 16.3293 21.633C17.8255 21.5421 18.5576 20.976 18.9996 20.6592C19.6762 20.1742 20.2565 19.2646 20.4093 18.8553V21.4481H23.5123V16.1231C23.5123 15.8027 23.5858 15.521 23.734 15.2772C23.8817 15.034 24.0832 14.8447 24.3387 14.7102C24.5936 14.5758 24.8827 14.5085 25.2049 14.5085C25.6883 14.5085 26.0914 14.6593 26.4137 14.9604C26.7359 15.2614 26.8971 15.6495 26.8971 16.1236V21.4486H30V15.4695C30 14.7646 29.8389 14.1462 29.5166 13.6143C29.1943 13.0824 28.7441 12.6661 28.1664 12.3646L28.1669 12.3651Z`,fill:`#0E3AA8`})}),Cs=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M7.81426 13.0869C7.65106 12.8075 7.44011 12.5822 7.18106 12.4106C6.92201 12.2393 6.64852 12.107 6.3606 12.0137C6.07268 11.9207 5.80142 11.8398 5.54755 11.771C5.2933 11.7025 5.08199 11.6239 4.91435 11.5358C4.74
20633 11.4478 4.66232 11.3302 4.66232 11.1831C4.66232 11.0557 4.7245 10.9529 4.84958 10.8743C4.9743 10.796 5.16119 10.7567 5.41099 10.7567C5.66079 10.7567 5.93612 10.8131 6.20961 10.9257C6.4831 11.0384 6.72994 11.227 6.95087 11.4916L7.97265 10.4241V13.4729C7.93342 13.3303 7.88087 13.2011 7.81426 13.0869ZM20.6907 9.33799C20.278 9.10777 19.7984 8.99247 19.2514 8.99247C18.7045 8.99247 18.2534 9.10777 17.8411 9.33799C17.6668 9.43514 17.5088 9.54968 17.3663 9.68124V6H15.1499V11.1291C14.9856 10.6815 14.5093 9.92242 13.7799 9.47786C13.2529 9.15653 12.6837 8.99285 12.0313 8.99285C11.5609 8.99285 11.1294 9.09076 10.736 9.28695C10.5347 9.38713 10.3526 9.50621 10.189 9.64381V9.1399H7.97265V9.91372C7.70102 9.6336 7.37017 9.41208 6.97974 9.25028C6.47088 9.03972 5.92428 8.93425 5.33919 8.93425C4.7541 8.93425 4.25006 9.03216 3.82817 9.22836C3.40592 9.42455 3.07988 9.69144 2.84969 10.0294C2.61951 10.3674 2.50441 10.7669 2.50441 11.2277C2.50441 11.6886 2.58583 12.0265 2.74903 12.301C2.91224 12.5754 3.12318 12.7913 3.38223 12.9478C3.64129 13.1047 3.91477 13.2298 4.20269 13.3228C4.49061 13.4162 4.76632 13.4993 5.03018 13.5727C5.29404 13.646 5.50721 13.7246 5.67078 13.8078C5.83398 13.8913 5.9154 14.021 5.9154 14.1975C5.9154 14.3446 5.84583 14.4572 5.70668 14.5355C5.56753 14.6141 5.37805 14.6531 5.13824 14.6531C4.75447 14.6531 4.4066 14.582 4.09463 14.4398C3.78265 14.2977 3.50695 14.0992 3.26714 13.8445L2 15.1377C2.24943 15.4023 2.54179 15.6352 2.87782 15.8359C3.21348 16.037 3.58318 16.1939 3.9862 16.3062C4.38921 16.4188 4.79703 16.4752 5.20967 16.4752C6.08267 16.4752 6.77583 16.2669 7.28949 15.8503C7.63144 15.5728 7.85904 15.233 7.97302 14.8315V19H10.1605V15.1558C10.5798 15.0485 10.9799 14.8239 11.26 14.3378C10.5006 14.1151 10.0051 13.3988 10.0547 12.5686C10.091 11.9604 10.4799 11.4028 11.0287 11.1438C11.3666 10.9847 11.8077 10.9287 12.1956 11.0554C13.4531 11.4655 13.6078 12.8041 13.2414 13.8256C13.1482 14.0853 13.0009 14.3491 12.8107 14.6001C12.2755 15.3059 11.4066 15.9089 10.504 16.0355C10.8074 16.226 11.4432 16.4767 12.2352 16.4253C13.304 16.3557 13.8269 15.9229 14.1426 15.6805C14.6259 15.3097 15.0404 14.6141 15.1495 14.3011V16.2839H17.3659V12.2118C17.3659 11.9668 17.4185 11.7513 17.5243 11.5649C17.6298 11.379 17.7737 11.2342 17.9562 11.1314C18.1383 11.0285 18.3448 10.9771 18.575 10.9771C18.9202 10.9771 19.2081 11.0924 19.4383 11.3226C19.6685 11.5529 19.7836 11.8496 19.7836 12.2121V16.2842H22V11.712C22 11.1729 21.8849 10.7 21.6547 10.2933C21.4245 9.8865 21.1029 9.5682 20.6903 9.33761L20.6907 9.33799Z`,fill:`#0E3AA8`})}),ws=e=>(0,I.jsxs)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`path`,{d:`M4 3H20V5.0625H4V3Z`,fill:`#FF6719`}),(0,I.jsx)(`path`,{d:`M4 7.125H20V9.1875H4V7.125Z`,fill:`#FF6719`}),(0,I.jsx)(`path`,{d:`M20 21L11.9848 16.5666L4 21L4.00151 11.0625H20V21Z`,fill:`#FF6719`})]}),Ts=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Coloured`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M13.51 6.42C11.81 7.14 8.41003 8.63 3.31003 10.89C2.48003 11.22 2.05003 11.55 2.01003 11.87C1.94003 12.41 2.61003 12.62 3.52003 12.91L3.90003 13.03C4.79003 13.33 6.00003 13.67 6.62003 13.68C7.19003 13.69 7.82003 13.46 8.52003 12.97C13.29 9.7 15.75 8.05 15.9 8.01C16.01 7.98 16.16 7.95 16.26 8.05C16.36 8.15 16.35 8.32 16.34 8.36C16.27 8.65 13.66 11.12 12.3 12.4C11.88 12.8 11.58 13.08 11.52 13.15C11.39 13.29 11.25 13.43 11.11 13.56C10.28 14.37 9.66003 14.98 11.14 15.98C11.86 16.46 12.43 16.85 13 17.25C13.62 17.68 14.24 18.11 15.05 18.65C15.25 18.79 15.45 18.92 15.64 19.07C16.36 19.59 17.02 20.07 17.82 19.99C18.29 19.95 18.77 19.5 19.02 18.17C19.6 15.02 20.74 8.2 21 5.39C21.02 5.16 21 4.92 20.97 4.69C20.95 4.5 20.86 4.33 20.72 4.21C20.52 4.07 20.28 4 20.04 4C19.38 4.01 18.37 4.37 13.51 6.42Z`,fill:`#24A1DE`})})}),Es=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Default`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M13.51 6.42C11.81 7.14 8.41003 8.63 3.31003 10.89C2.48003 11.22 2.05003 11.55 2.01003 11.87C1.94003 12.41 2.61003 12.62 3.52003 12.91L3.90003 13.03C4.79003 13.33 6.00003 13.67 6.62003 13.68C7.19003 13.69 7.82003 13.46 8.52003 12.97C13.29 9.7 15.75 8.05 15.9 8.01C16.01 7.98 16.16 7.95 16.26 8.05C16.36 8.15 16.35 8.32 16.34 8.36C16.27 8.65 13.66 11.12 12.3 12.4C11.88 12.8 11.58 13.08 11.52 13.15C11.39 13.29 11.25 13.43 11.11 13.56C10.28 14.37 9.66003 14.98 11.14 15.98C11.86 16.46 12.43 16.85 13 17.25C13.62 17.68 14.24 18.11 15.05 18.65C15.25 18.79 15.45 18.92
2015.64 19.07C16.36 19.59 17.02 20.07 17.82 19.99C18.29 19.95 18.77 19.5 19.02 18.17C19.6 15.02 20.74 8.2 21 5.39C21.02 5.16 21 4.92 20.97 4.69C20.95 4.5 20.86 4.33 20.72 4.21C20.52 4.07 20.28 4 20.04 4C19.38 4.01 18.37 4.37 13.51 6.42Z`,fill:`#161616`})})}),Ds=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M17.5915 6.61201C16.6021 5.98166 15.8926 4.97109 15.6727 3.79044C15.6227 3.5403 15.6027 3.27015 15.6027 3H12.4547V15.4069C12.3948 16.7977 11.2355 17.9083 9.80637 17.9083C9.36665 17.9083 8.94691 17.7982 8.57714 17.6081C7.73766 17.1679 7.15803 16.3074 7.15803 15.3068C7.15803 13.876 8.34728 12.7054 9.80637 12.7054C10.0762 12.7054 10.336 12.7454 10.5859 12.8255V9.6637C10.326 9.63369 10.0662 9.60367 9.80637 9.60367C6.60837 9.60367 4 12.1651 4 15.3068C4 17.2379 4.97939 18.9389 6.47845 19.9694C7.41786 20.6198 8.56714 21 9.80637 21C13.0044 21 15.6127 18.4386 15.6127 15.2968V9.00333C16.852 9.87382 18.361 10.3841 20 10.3841V7.29238C19.1206 7.29238 18.3011 7.03224 17.6115 6.592L17.5915 6.61201Z`,fill:`#161616`})})}),Os=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M16.6 5.14014H19.05L13.69 11.2801L20 19.6401H15.06L11.19 14.5701L6.75999 19.6401H4.30999L10.04 13.0701L3.98999 5.14014H9.04999L12.55 9.77014L16.59 5.14014H16.6ZM15.74 18.1601H17.1L8.31999 6.53014H6.85999L15.74 18.1601Z`,fill:`#161616`})})}),ks=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Coloured`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12.04 2C6.58 2 2 6.54 2 12C2 13.75 2.59 15.36 3.45 16.86L2 22L7.3 20.62C8.75 21.41 10.38 21.83 12.04 21.83C17.5 21.83 22 17.46 22 12C22 9.35 20.92 6.78 19.05 4.91C17.18 3.03 14.69 2 12.04 2ZM12.05 3.67C14.25 3.67 16.31 4.53 17.87 6.09C19.42 7.65 20.28 9.72 20.28 11.92C20.28 16.46 16.58 20.15 12.04 20.15C10.56 20.15 9.11 19.76 7.85 19L7.55 18.83L4.43 19.65L5.26 16.61L5.06 16.29C4.24 15 3.8 13.47 3.8 11.91C3.8 7.37 7.5 3.67 12.05 3.67ZM8.53 7.33C8.37 7.33 8.1 7.39 7.87 7.64C7.65 7.89 7 8.5 7 9.71C7 10.92 7.89 12.1 8 12.27C8.14 12.44 9.76 14.94 12.25 16C12.84 16.27 13.3 16.42 13.66 16.53C14.25 16.72 14.79 16.69 15.22 16.63C15.7 16.56 16.68 16.03 16.89 15.45C17.1 14.87 17.1 14.38 17.04 14.27C16.97 14.17 16.81 14.11 16.56 14C16.31 13.86 15.09 13.26 14.87 13.18C14.64 13.1 14.5 13.06 14.31 13.3C14.15 13.55 13.67 14.11 13.53 14.27C13.38 14.44 13.24 14.46 13 14.34C12.74 14.21 11.94 13.95 11 13.11C10.26 12.45 9.77 11.64 9.62 11.39C9.5 11.15 9.61 11 9.73 10.89C9.84 10.78 10 10.6 10.1 10.45C10.23 10.31 10.27 10.2 10.35 10.04C10.43 9.87 10.39 9.73 10.33 9.61C10.27 9.5 9.77 8.26 9.56 7.77C9.36 7.29 9.16 7.35 9 7.34C8.86 7.34 8.7 7.33 8.53 7.33Z`,fill:`#25D366`})})}),As=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Default`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12.04 2C6.58 2 2 6.54 2 12C2 13.75 2.59 15.36 3.45 16.86L2 22L7.3 20.62C8.75 21.41 10.38 21.83 12.04 21.83C17.5 21.83 22 17.46 22 12C22 9.35 20.92 6.78 19.05 4.91C17.18 3.03 14.69 2 12.04 2ZM12.05 3.67C14.25 3.67 16.31 4.53 17.87 6.09C19.42 7.65 20.28 9.72 20.28 11.92C20.28 16.46 16.58 20.15 12.04 20.15C10.56 20.15 9.11 19.76 7.85 19L7.55 18.83L4.43 19.65L5.26 16.61L5.06 16.29C4.24 15 3.8 13.47 3.8 11.91C3.8 7.37 7.5 3.67 12.05 3.67ZM8.53 7.33C8.37 7.33 8.1 7.39 7.87 7.64C7.65 7.89 7 8.5 7 9.71C7 10.92 7.89 12.1 8 12.27C8.14 12.44 9.76 14.94 12.25 16C12.84 16.27 13.3 16.42 13.66 16.53C14.25 16.72 14.79 16.69 15.22 16.63C15.7 16.56 16.68 16.03 16.89 15.45C17.1 14.87 17.1 14.38 17.04 14.27C16.97 14.17 16.81 14.11 16.56 14C16.31 13.86 15.09 13.26 14.87 13.18C14.64 13.1 14.5 13.06 14.31 13.3C14.15 13.55 13.67 14.11 13.53 14.27C13.38 14.44 13.24 14.46 13 14.34C12.74 14.21 11.94 13.95 11 13.11C10.26 12.45 9.77 11.64 9.62 11.39C9.5 11.15 9.61 11 9.73 10.89C9.84 10.78 10 10.6 10.1 10.45C10.23 10.31 10.27 10.2 10.35 10.04C10.43 9.87 10.39 9.73 10.33 9.61C10.27 9.5 9.77 8.26 9.56 7.77C9.36 7.29 9.16 7.35 9 7.34C8.86 7.34 8.7 7.33 8.53 7.33Z`,fill:`#161616`})})}),js=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Coloured`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M10 15L15.19 12L10 9V15ZM21.56 7.17C21.69 7.64 21.78 8.27 21.84 9.07C21.91 9.87 21.94 10.56 21.94 11.16L22 12C22 14.19 21.84 15.8 21.56 16.83C21.31 17.73 20.73 18.31 19.83 18.56C19.36 18.69 18.5 18.78 17.18 18.84C15.88 18.91 14.69 18.94 13.59 18.94L12 19C7.81 19 5.2 18.84 4.17 18.56C3.27 18.31 2.69 17.73 2.44 16.83C2.31 16.36 2.22 15.73 2.16 14.93C2.09 14.13 2.06 13.44 2.06 12.84L2 12C2 9.81 2.16 8.2 2.44 7.17C2.69 6.27 3.27 5.
2069 4.17 5.44C4.64 5.31 5.5 5.22 6.82 5.16C8.12 5.09 9.31 5.06 10.41 5.06L12 5C16.19 5 18.8 5.16 19.83 5.44C20.73 5.69 21.31 6.27 21.56 7.17Z`,fill:`#FF0000`})})}),Ms=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Size=24dp, Type=Default`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M10 15L15.19 12L10 9V15ZM21.56 7.17C21.69 7.64 21.78 8.27 21.84 9.07C21.91 9.87 21.94 10.56 21.94 11.16L22 12C22 14.19 21.84 15.8 21.56 16.83C21.31 17.73 20.73 18.31 19.83 18.56C19.36 18.69 18.5 18.78 17.18 18.84C15.88 18.91 14.69 18.94 13.59 18.94L12 19C7.81 19 5.2 18.84 4.17 18.56C3.27 18.31 2.69 17.73 2.44 16.83C2.31 16.36 2.22 15.73 2.16 14.93C2.09 14.13 2.06 13.44 2.06 12.84L2 12C2 9.81 2.16 8.2 2.44 7.17C2.69 6.27 3.27 5.69 4.17 5.44C4.64 5.31 5.5 5.22 6.82 5.16C8.12 5.09 9.31 5.06 10.41 5.06L12 5C16.19 5 18.8 5.16 19.83 5.44C20.73 5.69 21.31 6.27 21.56 7.17Z`,fill:`#161616`})})}),Ns=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12.75 18H11.25V16H12.75V18ZM12.75 14H11.25V6H12.75V14Z`,fill:`#161616`})})}),Ps=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 16.69 16.69 20.5 12 20.5C7.31 20.5 3.5 16.69 3.5 12C3.5 7.31 7.31 3.5 12 3.5ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12.75 18H11.25V16H12.75V18ZM12.75 14H11.25V6H12.75V14Z`,fill:`#161616`})})}),Fs=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M 0 12 a 12 12 0 1 0 24 0 a 12 12 0 1 0 -24 0`,fill:`#161616`})}),Is=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 12L15.98 14.99L14.98 15.99L11.99 13.01L9 15.99L8 14.99L10.98 12L7.98 9L8.98 8L11.98 11L14.98 8L15.96 9.01L12.98 12H13Z`,fill:`#161616`})})}),Ls=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 16.69 16.69 20.5 12 20.5C7.31 20.5 3.5 16.69 3.5 12C3.5 7.31 7.31 3.5 12 3.5ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 12L15.98 14.99L14.98 15.99L11.99 13.01L9 15.99L8 14.99L10.98 12L7.98 9L8.98 8L11.98 11L14.98 8L15.96 9.01L12.98 12H13Z`,fill:`#161616`})})}),Rs=e=>(0,I.jsx)(`svg`,{width:32,height:32,viewBox:`0 0 32 32`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M29.25 15.25C28.84 15.25 28.5 15.59 28.5 16C28.5 22.9 22.9 28.5 16 28.5C9.1 28.5 3.5 22.9 3.5 16C3.5 9.1 9.1 3.5 16 3.5C16.41 3.5 16.75 3.16 16.75 2.75C16.75 2.34 16.41 2 16 2C8.27 2 2 8.27 2 16C2 23.73 8.27 30 16 30C23.73 30 30 23.73 30 16C30 15.59 29.66 15.25 29.25 15.25Z`,fill:`#161616`})}),zs=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,fillRule:`evenodd`,clipRule:`evenodd`,d:`M22 11.9998C22 17.5198 17.52 21.9998 12 21.9998C6.48 21.9998 2 17.5198 2 11.9998C2 6.47976 6.48 1.99976 12 1.99976C17.52 1.99976 22 6.47976 22 11.9998ZM18 7.99976L10 15.9998L6 11.9998L5 12.9998L10 17.9998L19 8.99976L18 7.99976Z`,fill:`#161616`})})}),Bs=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Vectors`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M19 5.25L8.5 15.75L5 12.25L3.5 13.75L8.5 18.75L20.5 6.75L19 5.25Z`,fill:`#161616`})})}),Vs=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Filled, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M21.69 17.57L13.97 4.14C13.09 2.62 10.9 2.62 10.03 4.14L2.31001 17.57C1.43001 19.09 2.53001 21 4.28001 21H19.72C21.47 21 22.57 19.09 21.69 17.57ZM12.75 19H11.25V17H12.75V19ZM12.75 15H11.25V7H12.75V15Z`,fill:`#161616`})})}),Hs=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`g`,{id:`Type=Outlined, Size=24dp`,children:(0,I.jsx)(`path`,{id:`Vector`,d:`M12 4.5C12.13 4.5 12.47 4.54 12.67 4.89L20.39 18.32C20.6 18.68 20.46 18.99 20.39 19.11C20.32 19.23 20.12 19.5 19.72 19.5H4.28001C3.88001 19.5 3.68001 19.23 3.61001 19.11C3.54001 18.99 3.40001 18.67 3.61001 18.32L11.33 4.89C11.53 4.54 11.87 4.5 12 4.5ZM12 3C11.23 3 10.47 3.38 10.03 4.14L2.31001 17.57C1.43001 19.09 2.53001 21 4.28001 21H19.72C21.47 21 22.57 19.09 21.69 17.57L13.97 4.14C13.53 3.38 12.76 3 12 3ZM12.74 16.01H11.24V18.01H12.74V16.01ZM12.75 8H11.25V14.5H12.75V8Z`,fill:`#161616`})})}),Us=e=>(0,I.jsxs)(`svg`,{width:32,height:23,viewBox:`0 0 32 23`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:[(0,I.jsx)(`g`,{clipPath:`url(#clip0_1328_5242)`,children:(0,I.jsx)(`path`,{d:`M14.1201 8.372C14.1201 14.053 9.14298 20.1825 1.64011 22.6493L1.12011 21.6775C5.65154 19.3603 7.43441 16.8935 7.43441 13.8287C7.43441 11.2125 5.50297 9.19425 0.525825 9.1195C0.137253 8.3605 -0.0398896 7.5095 0.00582465 6.65275C-0.0684612 3.059 2.76011 0.0805 6.33155 0C6.37727 0 6.42298 0 6.4687 0C11.3716 0 14.1201 3.4385 14.1201 8.372ZM31.5773 8.372C31.5773 14.053 26.6001 20.1825 19.0973 22.6493L18.5773 21.6775C23.1087 19.3603 24.8916 16.8935 24.8916 13.8287C24.8916 11.2125 22.9601 9.19425 17.983 9.1195C17.5944 8.3605 17.4116 7.5095 17.463 6.65275C17.3887 3.059 20.2173 0.0805 23.7887 0C23.8344 0 23.8858 0 23.9316 0C28.9087 0 31.583 3.4385 31.583 8.372H31.5773Z`,fill:`#9DA6B0`})}),(0,I.jsx)(`defs`,{children:(0,I.jsx)(`clipPath`,{id:`clip0_1328_5242`,children:(0,I.jsx)(`rect`,{width:32,height:23,fill:`white`})})})]}),Ws=e=>(0,I.jsx)(`svg`,{width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...e,children:(0,I.jsx)(`path`,{d:`M4.04562 14.6522C2.58115 13.1878 2.58115 10.8134 4.04562 9.34892L9.34892 4.04562C10.8134 2.58115 13.1878 2.58115 14.6522 4.04562L19.9555 9.34892C21.42 10.8134 21.42 13.1878 19.9555 14.6522L14.6522 19.9555C13.1878 21.42 10.8134 21.42 9.34892 19.9555L4.04562 14.6522Z`,fill:`#41DEE0`})}),Gs=typeof process<`u`&&{}.VITEST,Ks=Object.assign({"../assets/svg/actions/icon-actions-add-filled.svg":ni,"../assets/svg/actions/icon-actions-add-outlined.svg":ri,"../assets/svg/actions/icon-actions-add.svg":ii,"../assets/svg/actions/icon-actions-address-book.svg":ai,"../assets/svg/actions/icon-actions-apps.svg":oi,"../assets/svg/actions/icon-actions-arrow-down-blue-small.svg":si,"../assets/svg/actions/icon-actions-arrow-down.svg":ci,"../assets/svg/actions/icon-actions-arrow-left.svg":li,"../assets/svg/actions/icon-actions-arrow-right.svg":ui,"../assets/svg/actions/icon-actions-arrow-up-small.svg":di,"../assets/svg/actions/icon-actions-arrow-up.svg":fi,"../assets/svg/actions/icon-actions-bin.svg":pi,"../assets/svg/actions/icon-actions-bookmark-filled.svg":mi,"../assets/svg/actions/icon-actions-bookmark-outlined.svg":hi,"../assets/svg/actions/icon-actions-bullet.svg":gi,"../assets/svg/actions/icon-actions-calendar.svg":_i,"../assets/svg/actions/icon-actions-camera-filled.svg":vi,"../assets/svg/actions/icon-actions-camera-outlined.svg":yi,"../assets/svg/actions/icon-actions-card.svg":bi,"../assets/svg/actions/icon-actions-cash.svg":xi,"../assets/svg/actions/icon-actions-checkbox-neutral.svg":Si,"../assets/svg/actions/icon-actions-checkbox-selected.svg":Ci,"../assets/svg/actions/icon-actions-checkbox.svg":wi,"../assets/svg/actions/icon-actions-circle-chevron-down-filled.svg":Ti,"../assets/svg/actions/icon-actions-circle-chevron-down.svg":Ei,"../assets/svg/actions/icon-actions-circle-chevron-left-filled.svg":Di,"../assets/svg/actions/icon-actions-circle-chevron-left.svg":Oi,"../assets/svg/actions/icon-actions-circle-chevron-right-filled.svg":ki,"../assets/svg/actions/icon-actions-circle-chevron-right.svg":Ai,"../assets/svg/actions/icon-actions-circle-chevron-up-filled.svg":ji,"../assets/svg/actions/icon-actions-circle-chevron-up.svg":Mi,"../assets/svg/actions/icon-actions-clock.svg":Ni,"../assets/svg/actions/icon-actions-comments.svg":Pi,"../assets/svg/actions/icon-actions-copy-link.svg":Fi,"../assets/svg/actions/icon-actions-copy.svg":Ii,"../assets/svg/actions/icon-actions-desktop.svg":Li,"../assets/svg/actions/icon-actions-digital.svg":Ri,"../assets/svg/actions/icon-actions-document-check-filled.svg":zi,"../assets/svg/actions/icon-actions-document-check-outlined.svg":Bi,"../assets/svg/actions/icon-actions-document-filled.svg":Vi,"../assets/svg/actions/icon-actions-document-outlined.svg":Hi,"../assets/svg/actions/icon-actions-document-pdf.svg":Ui,"../assets/svg/actions/icon-actions-download.svg":Wi,"../assets/svg/actions/icon-actions-edit.svg":Gi,"../assets/svg/actions/icon-actions-eye-slash.svg":Ki,"../assets/svg/actions/icon-actions-eye.svg":qi,"../assets/svg/actions/icon-actions-filter.svg":Ji,"../assets/svg/actions/icon-actions-gift.svg":Yi,"../assets/svg/actions/icon-actions-headphones-filled.svg":Xi,"../assets/svg/actions/icon-actions-headphones-outlined.svg":Zi,"../assets/svg/actions/icon-actions-image-upload.svg":Qi,"../assets/svg/actions/icon-actions-lock-filled.svg":$i,"../assets/svg/actions/icon-actions-lock-outlined.svg":ea,"../assets/svg/actions/icon-actions-mobile.svg":ta,"../assets/svg/actions/icon-actions-page-first.svg":na,"../assets/svg/actions/icon-actions-page-last.svg":ra,"../assets/svg/actions/icon-actions-print.svg":ia,"../assets/svg/actions/icon-actions-radio-button-filled.svg":aa,"../assets/svg/actions/icon-actions-radio-button-outlined.svg":oa,"../assets/svg/actions/icon-actions-redo.svg":sa,"../assets/svg/actions/icon-actions-remove-filled.svg":ca,"../assets/svg/actions/icon-actions-remove-outlined.svg":la,"../assets/svg/actions/icon-actions-remove.
20svg":ua,"../assets/svg/actions/icon-actions-share-filled.svg":da,"../assets/svg/actions/icon-actions-share-outlined.svg":fa,"../assets/svg/actions/icon-actions-sort.svg":pa,"../assets/svg/actions/icon-actions-sync.svg":ma,"../assets/svg/actions/icon-actions-timer-filled.svg":ha,"../assets/svg/actions/icon-actions-timer.svg":ga,"../assets/svg/actions/icon-actions-translate.svg":_a,"../assets/svg/actions/icon-actions-undo.svg":va,"../assets/svg/actions/icon-actions-upload.svg":ya,"../assets/svg/actions/icon-thumbs-down-small.svg":ba,"../assets/svg/actions/icon-thumbs-up-small.svg":xa,"../assets/svg/app-store.svg":Sa,"../assets/svg/icon-loader.svg":Ca,"../assets/svg/logo/full-logo-default.svg":wa,"../assets/svg/logo/full-logo-white.svg":Ta,"../assets/svg/logo/initial-blurred-logo-default.svg":Ea,"../assets/svg/logo/initial-logo-default.svg":Da,"../assets/svg/logo/initial-logo-white-translucent.svg":Oa,"../assets/svg/logo/initial-logo-white.svg":ka,"../assets/svg/menu/icon-menu-compass-filled.svg":Aa,"../assets/svg/menu/icon-menu-compass-outlined.svg":ja,"../assets/svg/menu/icon-menu-hamburger-search.svg":Ma,"../assets/svg/menu/icon-menu-hamburger.svg":Na,"../assets/svg/menu/icon-menu-home-filled.svg":Pa,"../assets/svg/menu/icon-menu-home-outlined.svg":Fa,"../assets/svg/menu/icon-menu-latest-filled.svg":Ia,"../assets/svg/menu/icon-menu-latest-outlined.svg":La,"../assets/svg/menu/icon-menu-paper-filled.svg":Ra,"../assets/svg/menu/icon-menu-paper-outlined.svg":za,"../assets/svg/menu/icon-menu-smart.svg":Ba,"../assets/svg/menu/icon-menu-star-filled.svg":Va,"../assets/svg/menu/icon-menu-star-outlined.svg":Ha,"../assets/svg/multimedia/icon-multimedia-airplay-ios-audio.svg":Ua,"../assets/svg/multimedia/icon-multimedia-airplay-ios-video.svg":Wa,"../assets/svg/multimedia/icon-multimedia-cast-android.svg":Ga,"../assets/svg/multimedia/icon-multimedia-download-cloud.svg":Ka,"../assets/svg/multimedia/icon-multimedia-download-offline.svg":qa,"../assets/svg/multimedia/icon-multimedia-downloaded.svg":Ja,"../assets/svg/multimedia/icon-multimedia-downloading-blank.svg":Ya,"../assets/svg/multimedia/icon-multimedia-downloading.svg":Xa,"../assets/svg/multimedia/icon-multimedia-fast-forward.svg":Za,"../assets/svg/multimedia/icon-multimedia-fast-rewind.svg":Qa,"../assets/svg/multimedia/icon-multimedia-forward-10.svg":$a,"../assets/svg/multimedia/icon-multimedia-mute.svg":eo,"../assets/svg/multimedia/icon-multimedia-pause-filled.svg":to,"../assets/svg/multimedia/icon-multimedia-pause-outlined.svg":no,"../assets/svg/multimedia/icon-multimedia-pause.svg":ro,"../assets/svg/multimedia/icon-multimedia-play-filled.svg":io,"../assets/svg/multimedia/icon-multimedia-play-outlined.svg":ao,"../assets/svg/multimedia/icon-multimedia-play.svg":oo,"../assets/svg/multimedia/icon-multimedia-playlist-add.svg":so,"../assets/svg/multimedia/icon-multimedia-playlist-remove.svg":co,"../assets/svg/multimedia/icon-multimedia-queue-add.svg":lo,"../assets/svg/multimedia/icon-multimedia-queue-remove.svg":uo,"../assets/svg/multimedia/icon-multimedia-replay-10.svg":fo,"../assets/svg/multimedia/icon-multimedia-replay.svg":po,"../assets/svg/multimedia/icon-multimedia-resume.svg":mo,"../assets/svg/multimedia/icon-multimedia-skip-next.svg":ho,"../assets/svg/multimedia/icon-multimedia-skip-previous.svg":go,"../assets/svg/multimedia/icon-multimedia-stop.svg":_o,"../assets/svg/multimedia/icon-multimedia-volume.svg":vo,"../assets/svg/navigation/icon-nav-bell-filled.svg":yo,"../assets/svg/navigation/icon-nav-bell-indicator-filled.svg":bo,"../assets/svg/navigation/icon-nav-bell-indicator-outlined.svg":xo,"../assets/svg/navigation/icon-nav-bell-outlined.svg":So,"../assets/svg/navigation/icon-nav-chevron-left.svg":Co,"../assets/svg/navigation/icon-nav-chevron-right.svg":wo,"../assets/svg/navigation/icon-nav-cross.svg":To,"../assets/svg/navigation/icon-nav-expand-less.svg":Eo,"../assets/svg/navigation/icon-nav-expand-more.svg":Do,"../assets/svg/navigation/icon-nav-expand.svg":Oo,"../assets/svg/navigation/icon-nav-external-small.svg":ko,"../assets/svg/navigation/icon-nav-external.svg":Ao,"../assets/svg/navigation/icon-nav-fullscreen-exit.svg":jo,"../assets/svg/navigation/icon-nav-fullscreen.svg":Mo,"../assets/svg/navigation/icon-nav-gear-filled.svg":No,"../assets/svg/navigation/icon-nav-gear-outlined.svg":Po,"../assets/svg/navigation/icon-nav-globe.svg":Fo,"../assets/svg/navigation/icon-nav-help-filled.svg":Io,"../assets/svg/navigation/icon-nav-help-outlined.svg":Lo,"../assets/svg/navigation/icon-nav-information-filled.svg":Ro,"../assets/svg/navigation/icon-nav-information-outlined.svg":zo,"../assets/svg/navigation/icon-nav-list.svg":Bo,"../assets/svg/navigation/icon-nav-login.svg":Vo,"../assets/svg/navigation/icon-nav-logout-exit.svg":Ho,"../assets/svg/navigation/icon-nav-mail-filled.svg":Uo,"../assets/svg/navigation/icon-nav-mail-indicator-filled.svg":Wo,"../assets/svg/navigation/icon-nav-mail-indicator-outlined.svg":Go,"../assets/svg/navigation/icon-nav-mail-outlined.svg":Ko,"../assets/svg/navigation/icon-nav-more-horizontal.svg":qo,"../assets/svg/navigation/icon-nav-more-vertical.svg":Jo,"../assets/svg/navigation/icon-nav-refresh.svg":Yo,"../assets/svg/navigation/icon-nav-search.svg":Xo,"../assets/svg/navigation/icon-nav-unfold-less.svg":Zo,"../assets/svg/navigation/icon-nav-unfold-more.svg":Qo,"../assets/svg/navigation/icon-nav-user-filled.svg":$o,"../assets/svg/navigation/icon-nav-user-outlined.svg":es,"../assets/svg/navigation/icon-nav-widgets.svg":ts,"../assets/svg/placeholder/affiliate-widget-placeholder.svg":ns,"../assets/svg/placeholder/icon-placeholder-outlined.svg":rs,"../assets/svg/placeholder/icon-placeholder.svg":is,"../assets/svg/play-store.svg":as,"../assets/svg/react/redheart.svg":os,"../assets/svg/social/icon-social-appstore-large.svg":ss,"../assets/svg/social/icon-social-appstore.svg":cs,"../assets/svg/social/icon-social-facebook-coloured.svg":ls,"../assets/svg/social/icon-social-facebook.svg":us,"../assets/svg/social/icon-social-google.svg":ds,"../assets/svg/social/icon-social-instagram-coloured.svg":fs,"../assets/svg/social/icon-social-instagram.svg":ps,"../assets/svg/social/icon-social-linkedin-coloured.svg":ms,"../assets/svg/social/icon-social-linkedin.svg":hs,"../assets/svg/social/icon-social-messenger-coloured.svg":gs,"../assets/svg/social/icon-social-messenger.svg":_s,"../assets/svg/social/icon-social-playstore-large.svg":vs,"../assets/svg/social/icon-social-playstore.svg":ys,"../assets/svg/social/icon-social-rss.svg":bs,"../assets/svg/social/icon-social-singtel.svg":xs,"../assets/svg/social/icon-social-sphmedia-large.svg":Ss,"../assets/svg/social/icon-social-sphmedia.svg":Cs,"../assets/svg/social/icon-social-substack.svg":ws,"../assets/svg/social/icon-social-telegram-coloured.svg":Ts,"../assets/svg/social/icon-social-telegram.svg":Es,"../assets/svg/social/icon-social-tiktok.svg":Ds,"../assets/svg/social/icon-social-twitter.svg":Os,"../assets/svg/social/icon-social-whatsapp-coloured.svg":ks,"../assets/svg/social/icon-social-whatsapp.svg":As,"../assets/svg/social/icon-social-youtube-coloured.svg":js,"../assets/svg/social/icon-social-youtube.svg":Ms,"../assets/svg/status/icon-status-alert-filled.svg":Ns,"../assets/svg/status/icon-status-alert.svg":Ps,"../assets/svg/status/icon-status-ellipsis.svg":Fs,"../assets/svg/status/icon-status-error-filled.svg":Is,"../assets/svg/status/icon-status-error.svg":Ls,"../assets/svg/status/icon-status-loading-large.svg":Rs,"../assets/svg/status/icon-status-success-filled.svg":zs,"../assets/svg/status/icon-status-success.svg":Bs,"../assets/svg/status/icon-status-warning-filled.svg":Vs,"../assets/svg/status/icon-status-warning.svg":Hs,"../assets/svg/symbol/icon-symbol-quote-coloured.svg":Us,"../assets/svg/symbol/icon-symbol-subscriber-exclusive-coloured.svg":Ws});
20function qs(e){let[t,n]=(0,L.useState)(null),[r,i]=(0,L.useState)();return(0,L.useMemo)(()=>{e&&(()=>{try{let t=e.split(`/`),r=Ks[t[1]?`../assets/svg/${t[0]}/${t[1]}.svg`:`../assets/svg/${t[0]}.svg`];typeof r==`function`?n(()=>r):Gs||i(`Icon not found`)}catch(e){Gs||i(e)}})()},[e]),{error:r,Icon:t}}function X({iconName:e,style:t,className:n,iconWidth:r=N.REGULAR,iconHeight:i=N.REGULAR,symmetric:a=!0}){let{altText:o}=de(e),{Icon:s,error:c}=qs(e);return c||s===null?(0,I.jsx)(`span`,{}):(0,I.jsx)(L.Suspense,{children:(0,I.jsx)(s,{style:t,className:F(n),height:a?r:i,width:r,"data-testid":o},o)})}function Js({textClassName:e,iconClassName:t}){return(0,I.jsxs)(`button`,{className:`flex items-center gap-04 max-tablet:justify-center p-08`,onClick:()=>{_&&window.scrollTo({top:0,behavior:`smooth`})},"data-testid":`back-to-top`,"aria-label":`back to top button`,children:[(0,I.jsx)(`span`,{className:F(`font-button-baseline-regular text-primary`,e),children:`Back to top`}),(0,I.jsx)(X,{iconName:M.ACTION_CI_CHEVRON_UP,className:F(`icon-primary`,t)})]})}function Z({text:e,type:t=q.TEXT_ONLY,fill:n=K.PRIMARY,size:r=Un.DEFAULT,icon:i,actionIcon:a,handler:o,className:s,textClassName:c,testId:l=`button-test-id`,disabled:u=!1,isLoading:d=!1}){let f=n===K.PRIMARY?`text-inverse icon-inverse`:`text-primary`,p=c??Fn({type:Tn.BUTTON,size:B.MD,weight:V.FORTY});return(0,I.jsxs)(`button`,{"data-testid":l,className:F(Ys(n),`interactive-button`,f,`disabled:layer-disabled hover:disabled:layer-disabled`,r===Un.SMALL?`button-small`:r,d&&`transition-all duration-100 ease-linear`,s),disabled:u,onClick:o,"aria-label":e?`button for ${e}`:i?`button for ${i.iconName}`:`button`,children:[Xs(t,e,i,a,p),d&&(0,I.jsx)(X,{iconName:M.LOADER,className:`!icon-placeholder`,iconWidth:N.SMALL})]})}var Ys=e=>{switch(e){case K.PRIMARY:return`button-primary`;case K.PREMIUM:return`button-premium`;case K.OUTLINE:return`button-active border-strong border`;case K.NONE:return`bg-none`;default:return`layer-one`}},Xs=(e,t,n,r,i)=>{switch(e){case q.TEXT_ONLY:return(0,I.jsx)(`span`,{className:i,children:t});case q.ICON_LEFT:return(0,I.jsxs)(I.Fragment,{children:[n&&(0,I.jsx)(X,{...n}),(0,I.jsx)(`span`,{className:i,children:t})]});case q.ICON_RIGHT:return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`span`,{className:i,children:t}),n&&(0,I.jsx)(X,{...n})]});case q.ICON_ONLY:return(0,I.jsx)(I.Fragment,{children:n&&(0,I.jsx)(X,{...n})});case q.ICON_BOTH:return(0,I.jsxs)(I.Fragment,{children:[n&&(0,I.jsx)(X,{...n}),(0,I.jsx)(`span`,{className:i,children:t}),n&&(0,I.jsx)(X,{...n})]});case q.CAPSULE_ACTION:return r&&(r.iconWidth=r.iconWidth||N.SMALL,r.iconHeight=r.iconHeight||N.SMALL),(0,I.jsxs)(I.Fragment,{children:[n&&(0,I.jsx)(X,{...n}),(0,I.jsx)(`span`,{className:i,children:t}),r&&(0,I.jsx)(X,{...r})]})}};function Zs({title:e,className:t,url:n,selected:r,contentLinkTextClassName:i,testId:a=`main-content-link-test-id`,isSubSectionPage:o=!1}){return(0,I.jsxs)(`div`,{className:F(`flex desktop:inline-flex gap-00 h-full items-center`),"data-testid":a,children:[(0,I.jsx)(Jn,{className:F(`mx-16 h-24`,t),type:qn.STRONG,vertical:!0}),(0,I.jsxs)(`div`,{className:F(`flex items-center self-stretch h-full relative`),"data-testid":r?`content-link-true-test-id`:`content-link-false-test-id`,children:[(0,I.jsx)(Sn,{url:n,type:z.CUSTOM,className:`w-max`,children:o&&r?(0,I.jsx)(In,{category:U.LABEL,size:B.MD,style:W.SEMIBOLD,className:F(`text-primary`,i),element:`h1`,children:e}):(0,I.jsx)(In,{category:U.LABEL,size:B.MD,style:r?W.SEMIBOLD:W.REGULAR,className:F(r?`text-primary`:`text-secondary`,i),children:e})}),r&&(0,I.jsx)(Jn,{className:F(`mx-00 w-full !border-active h-3 absolute left-00 bottom-00`),type:qn.STRONG})]})]})}var Qs=function(e){return e.SUCCESS=`success`,e.ERROR=`error`,e.INFORMATION=`information`,e.LIVEBLOG=`liveblog`,e}({});function $s({type:e,message:t,descriptionMessage:n,duration:r,handler:i,clickHandler:a,className:o,testId:s=`toast-message-test-id`,textClassName:c}){let l=(0,L.useRef)(!0);setTimeout(()=>{l.current=!1,i&&i()},r);let u=Fn({type:Tn.BUTTON,size:B.MD,weight:V.FORTY}),d={[Qs.SUCCESS]:{icon:M.STATUS_SUCCESS_FILLED,iconClass:`status-success-icon`,bgClass:`bg-success-10`},[Qs.ERROR]:{icon:M.STATUS_ERROR_FILLED,iconClass:`status-error-icon`,bgClass:`bg-error-10`},[Qs.INFORMATION]:{icon:M.NAV_INFO_FILLED,iconClass:`icon-interactive icon-no-hover`,bgClass:`bg-neutral-5`}};if(e===Qs.LIVEBLOG)return(0,I.jsx)(`button`,{className:`liveblog-toast-message`,"data-testid":`liveblog-${s}`,onClick:a,children:(0,I.jsxs)(`div`,{className:`flex items-center gap-08`,children:[(0,I.jsx)(X,{iconName:M.ACTION_ARROW_UP,iconWidth:N.SMALL,className:`icon-inverse`}),(0,I.jsx)(`div`,{className:F(`flex p-00 justify-center items-center text-on-primary`,u),children:t})]})});let{icon:f,iconClass:p,bgClass:m}=d[e];
20return(0,I.jsxs)(`div`,{className:F(`main-toast self-stretch `,m,o),"data-testid":l.current?s:`toast-message-hide-test-id`,children:[(0,I.jsxs)(`div`,{className:`flex items-start gap-08 flex-grow flex-shrink flex-basis`,children:[(0,I.jsx)(X,{iconName:f,iconWidth:N.SMALL,className:p}),(0,I.jsxs)(`div`,{className:`flex p-0 flex-col items-start gap-08 flex-grow flex-shrink flex-basis`,children:[(0,I.jsx)(`div`,{className:F(`flex h-16 items-center self-stretch whitespace-pre-line`,u,c),children:t}),n?(0,I.jsx)(`div`,{className:`flex pt-3 pr-00 items-center gap-00 self-stretch`,children:(0,I.jsx)(Pn,{size:B.BASELINE,type:En.CAPTION,weight:V.THIRTY,testId:`toast-description-test-id`,className:`whitespace-pre-line`,children:n})}):(0,I.jsx)(`div`,{className:`sr-only`,"data-testid":`toast-message-empty-description-test-id`})]})]}),(0,I.jsx)(Z,{icon:{iconName:M.NAV_CROSS},type:q.ICON_ONLY,fill:K.NONE,size:Un.SMALL,handler:()=>{i&&i()},className:`!p-00 size-16`,testId:`toast-close-test-id`})]})}var ec=365.2425,tc=6048e5,nc=864e5,rc=6e4,ic=36e5,ac=1e3,oc=3600*24;oc*7,oc*ec/12*3;var sc=Symbol.for(`constructDateFrom`);function cc(e,t){return typeof e==`function`?e(t):e&&typeof e==`object`&&sc in e?e[sc](t):e instanceof Date?new e.constructor(t):new Date(t)}function Q(e,t){return cc(t||e,e)}function lc(e,t,n){let r=Q(e,n?.in);return isNaN(t)?cc(n?.in||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function uc(e,t,n){let r=Q(e,n?.in);if(isNaN(t))return cc(n?.in||e,NaN);if(!t)return r;let i=r.getDate(),a=cc(n?.in||e,r.getTime());return a.setMonth(r.getMonth()+t+1,0),i>=a.getDate()?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function dc(e,t,n){return cc(n?.in||e,+Q(e)+t)}function fc(e,t,n){return dc(e,t*ic,n)}var pc={};function mc(){return pc}function hc(e,t){let n=mc(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Q(e,t?.in),a=i.getDay(),o=(a<r?7:0)+a-r;return i.setDate(i.getDate()-o),i.setHours(0,0,0,0),i}function gc(e,t){return hc(e,{...t,weekStartsOn:1})}function _c(e,t){let n=Q(e,t?.in),r=n.getFullYear(),i=cc(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);let a=gc(i),o=cc(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let s=gc(o);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function vc(e){let t=Q(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-+n}function yc(e,...t){let n=cc.bind(null,e||t.find(e=>typeof e==`object`));return t.map(n)}function bc(e,t){let n=Q(e,t?.in);return n.setHours(0,0,0,0),n}function xc(e,t,n){let[r,i]=yc(n?.in,e,t),a=bc(r),o=bc(i),s=+a-vc(a),c=+o-vc(o);return Math.round((s-c)/nc)}function Sc(e,t){let n=_c(e,t),r=cc(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),gc(r)}function Cc(e,t,n){let r=Q(e,n?.in);return r.setTime(r.getTime()+t*rc),r}function wc(e,t,n){return uc(e,t*3,n)}function Tc(e,t,n){return dc(e,t*1e3,n)}function Ec(e,t,n){return lc(e,t*7,n)}function Dc(e,t,n){return uc(e,t*12,n)}function Oc(e,t){let n,r=t?.in;return e.forEach(e=>{!r&&typeof e==`object`&&(r=cc.bind(null,e));let t=Q(e,r);(!n||n<t||isNaN(+t))&&(n=t)}),cc(r,n||NaN)}function kc(e,t){let n,r=t?.in;return e.forEach(e=>{!r&&typeof e==`object`&&(r=cc.bind(null,e));let t=Q(e,r);(!n||n>t||isNaN(+t))&&(n=t)}),cc(r,n||NaN)}function Ac(e,t,n){let[r,i]=yc(n?.in,e,t);return+bc(r)==+bc(i)}function jc(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}function Mc(e){return!(!jc(e)&&typeof e!=`number`||isNaN(+Q(e)))}function Nc(e,t,n){let[r,i]=yc(n?.in,e,t),a=r.getFullYear()-i.getFullYear(),o=r.getMonth()-i.getMonth();return a*12+o}function Pc(e,t){let n=Q(e,t?.in);return Math.trunc(n.getMonth()/3)+1}function Fc(e,t,n){let[r,i]=yc(n?.in,e,t),a=r.getFullYear()-i.getFullYear(),o=Pc(r)-Pc(i);return a*4+o}function Ic(e,t,n){let[r,i]=yc(n?.in,e,t);return r.getFullYear()-i.getFullYear()}function Lc(e,t,n){let[r,i]=yc(n?.in,e,t),a=Rc(r,i),o=Math.abs(xc(r,i));r.setDate(r.getDate()-a*o);let s=a*(o-Number(Rc(r,i)===-a));return s===0?0:s}function Rc(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function zc(e,t){let n=Q(e,t?.in);return n.setHours(23,59,59,999),n}function Bc(e,t){let n=Q(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Vc(e,t){let n=Q(e,t?.in),r=n.getMonth(),i=r-r%3;return n.setMonth(i,1),n.setHours(0,0,0,0),n}function Hc(e,t){let n=Q(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function Uc(e,t){let n=Q(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function Wc(e,t){let n=Q(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Gc(e,t){let n=mc(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=Q(e,t?.in),a=i.getDay(),o=(a<r?-7:0)+6-(a-r);return i.setDate(i.getDate()+o),i.setHours(23,59,59,999),i}var Kc={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},qc=(e,t,n)=>{let r,i=Kc[e];return r=typeof i==`string`?i:t===1?i.one:i.other.replace(`{{count}}`,t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?`in `+r:r+` ago`:r};
vendor: 37,658 bytes, line 20
20function Jc(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var Yc={date:Jc({formats:{full:`EEEE, MMMM do, y`,long:`MMMM do, y`,medium:`MMM d, y`,short:`MM/dd/yyyy`},defaultWidth:`full`}),time:Jc({formats:{full:`h:mm:ss a zzzz`,long:`h:mm:ss a z`,medium:`h:mm:ss a`,short:`h:mm a`},defaultWidth:`full`}),dateTime:Jc({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},Xc={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},Zc=(e,t,n,r)=>Xc[e];function Qc(e){return(t,n)=>{let r=n?.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=n?.width?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=n?.width?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}let a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}var $c={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+`st`;case 2:return n+`nd`;case 3:return n+`rd`}return n+`th`},era:Qc({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:Qc({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`]},defaultWidth:`wide`,argumentCallback:e=>e-1}),month:Qc({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],wide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},defaultWidth:`wide`}),day:Qc({values:{narrow:[`S`,`M`,`T`,`W`,`T`,`F`,`S`],short:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],abbreviated:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],wide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},defaultWidth:`wide`}),dayPeriod:Qc({values:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`}},defaultFormattingWidth:`wide`})};function el(e){return(t,n={})=>{let r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?nl(s,e=>e.test(o)):tl(s,e=>e.test(o)),l;l=e.valueCallback?e.valueCallback(c):c,l=n.valueCallback?n.valueCallback(l):l;let u=t.slice(o.length);return{value:l,rest:u}}}function tl(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function nl(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function rl(e){return(t,n={})=>{let r=t.match(e.matchPattern);if(!r)return null;let i=r[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}var il={code:`en-US`,formatDistance:qc,formatLong:Yc,formatRelative:Zc,localize:$c,match:{ordinalNumber:rl({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:el({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:`any`}),quarter:el({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:e=>e+1}),month:el({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:el({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:el({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:`any`})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function al(e,t){let n=Q(e,t?.in);return xc(n,Wc(n))+1}function ol(e,t){let n=Q(e,t?.in),r=gc(n)-+Sc(n);return Math.round(r/tc)+1}function sl(e,t){let n=Q(e,t?.in),r=n.getFullYear(),i=mc(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,o=cc(t?.in||e,0);o.setFullYear(r+1,0,a),o.setHours(0,0,0,0);let s=hc(o,t),c=cc(t?.in||e,0);c.setFullYear(r,0,a),c.setHours(0,0,0,0);let l=hc(c,t);return+n>=+s?r+1:+n>=+l?r:r-1}function cl(e,t){let n=mc(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=sl(e,t),a=cc(t?.in||e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),hc(a,t)}function ll(e,t){let n=Q(e,t?.in),r=hc(n,t)-+cl(n,t);return Math.round(r/tc)+1}function ul(e,t){return(e<0?`-`:``)+Math.abs(e).toString().padStart(t,`0`)}var dl={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return ul(t===`yy`?r%100:r,t.length)},M(e,t){let n=e.getMonth();return t===`M`?String(n+1):ul(n+1,2)},d(e,t){return ul(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.toUpperCase();case`aaa`:return n;case`aaaaa`:return n[0];default:return n===`am`?`a.m.`:`p.m.`}},h(e,t){return ul(e.getHours()%12||12,t.length)},H(e,t){return ul(e.getHours(),t.length)},m(e,t){return ul(e.getMinutes(),t.length)},s(e,t){return ul(e.getSeconds(),t.length)},S(e,t){let n=t.length,r=e.getMilliseconds();return ul(Math.trunc(r*10**(n-3)),t.length)}},fl={am:`am`,pm:`pm`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},pl={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case`G`:case`GG`:case`GGG`:return n.era(r,{width:`abbreviated`});case`GGGGG`:return n.era(r,{width:`narrow`});default:return n.era(r,{width:`wide`})}},y:function(e,t,n){if(t===`yo`){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:`year`})}return dl.y(e,t)},Y:function(e,t,n,r){let i=sl(e,r),a=i>0?i:1-i;return t===`YY`?ul(a%100,2):t===`Yo`?n.ordinalNumber(a,{unit:`year`}):ul(a,t.length)},R:function(e,t){return ul(_c(e),t.length)},u:function(e,t){return ul(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`Q`:return String(r);case`QQ`:return ul(r,2);case`Qo`:return n.ordinalNumber(r,{unit:`quarter`});case`QQQ`:return n.quarter(r,{width:`abbreviated`,context:`formatting`});case`QQQQQ`:return n.quarter(r,{width:`narrow`,context:`formatting`});default:return n.quarter(r,{width:`wide`,context:`formatting`})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case`q`:return String(r);case`qq`:return ul(r,2);case`qo`:return n.ordinalNumber(r,{unit:`quarter`});case`qqq`:return n.quarter(r,{width:`abbreviated`,context:`standalone`});case`qqqqq`:return n.quarter(r,{width:`narrow`,context:`standalone`});default:return n.quarter(r,{width:`wide`,context:`standalone`})}},M:function(e,t,n){let r=e.getMonth();switch(t){case`M`:case`MM`:return dl.M(e,t);case`Mo`:return n.ordinalNumber(r+1,{unit:`month`});case`MMM`:return n.month(r,{width:`abbreviated`,context:`formatting`});case`MMMMM`:return n.month(r,{width:`narrow`,context:`formatting`});default:return n.month(r,{width:`wide`,context:`formatting`})}},L:function(e,t,n){let r=e.getMonth();switch(t){case`L`:return String(r+1);case`LL`:return ul(r+1,2);case`Lo`:return n.ordinalNumber(r+1,{unit:`month`});case`LLL`:return n.month(r,{width:`abbreviated`,context:`standalone`});case`LLLLL`:return n.month(r,{width:`narrow`,context:`standalone`});default:return n.month(r,{width:`wide`,context:`standalone`})}},w:function(e,t,n,r){let i=ll(e,r);return t===`wo`?n.ordinalNumber(i,{unit:`week`}):ul(i,t.length)},I:function(e,t,n){let r=ol(e);return t===`Io`?n.ordinalNumber(r,{unit:`week`}):ul(r,t.length)},d:function(e,t,n){return t===`do`?n.ordinalNumber(e.getDate(),{unit:`date`}):dl.d(e,t)},D:function(e,t,n){let r=al(e);return t===`Do`?n.ordinalNumber(r,{unit:`dayOfYear`}):ul(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case`E`:case`EE`:case`EEE`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`EEEEE`:return n.day(r,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},e:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`e`:return String(a);case`ee`:return ul(a,2);case`eo`:return n.ordinalNumber(a,{unit:`day`});case`eee`:return n.day(i,{width:`abbreviated`,context:`formatting`});case`eeeee`:return n.day(i,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(i,{width:`short`,context:`formatting`});default:return n.day(i,{width:`wide`,context:`formatting`})}},c:function(e,t,n,r){let i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case`c`:return String(a);case`cc`:return ul(a,t.length);case`co`:return n.ordinalNumber(a,{unit:`day`});case`ccc`:return n.day(i,{width:`abbreviated`,context:`standalone`});case`ccccc`:return n.day(i,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(i,{width:`short`,context:`standalone`});default:return n.day(i,{width:`wide`,context:`standalone`})}},i:function(e,t,n){let r=e.getDay(),i=r===0?7:r;switch(t){case`i`:return String(i);case`ii`:return ul(i,t.length);case`io`:return n.ordinalNumber(i,{unit:`day`});case`iii`:return n.day(r,{width:`abbreviated`,context:`formatting`});case`iiiii`:return n.day(r,{width:`narrow`,context:`formatting`});case`iiiiii`:return n.day(r,{width:`short`,context:`formatting`});default:return n.day(r,{width:`wide`,context:`formatting`})}},a:function(e,t,n){let r=e.getHours()/12>=1?`pm`:`am`;switch(t){case`a`:case`aa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`});case`aaa`:return n.dayPeriod(r,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`aaaaa`:return n.dayPeriod(r,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(r,{width:`wide`,context:`formatting`})}},b:function(e,t,n){let r=e.getHours(),i;switch(i=r===12?fl.noon:r===0?fl.midnight:r/12>=1?`pm`:`am`,t){case`b`:case`bb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`bbb`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`}).toLowerCase();case`bbbbb`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},B:function(e,t,n){let r=e.getHours(),i;switch(i=r>=17?fl.evening:r>=12?fl.afternoon:r>=4?fl.morning:fl.night,t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(i,{width:`abbreviated`,context:`formatting`});case`BBBBB`:return n.dayPeriod(i,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(i,{width:`wide`,context:`formatting`})}},h:function(e,t,n){if(t===`ho`){let t=e.getHours()%12;return t===0&&(t=12),n.ordinalNumber(t,{unit:`hour`})}return dl.h(e,t)},H:function(e,t,n){return t===`Ho`?n.ordinalNumber(e.getHours(),{unit:`hour`}):dl.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return t===`Ko`?n.ordinalNumber(r,{unit:`hour`}):ul(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t===`ko`?n.ordinalNumber(r,{unit:`hour`}):ul(r,t.length)},m:function(e,t,n){return t===`mo`?n.ordinalNumber(e.getMinutes(),{unit:`minute`}):dl.m(e,t)},s:function(e,t,n){return t===`so`?n.ordinalNumber(e.getSeconds(),{unit:`second`}):dl.s(e,t)},S:function(e,t){return dl.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(r===0)return`Z`;switch(t){case`X`:return hl(r);case`XXXX`:case`XX`:return gl(r);default:return gl(r,`:`)}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`x`:return hl(r);case`xxxx`:case`xx`:return gl(r);default:return gl(r,`:`)}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`O`:case`OO`:case`OOO`:return`GMT`+ml(r,`:`);default:return`GMT`+gl(r,`:`)}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case`z`:case`zz`:case`zzz`:return`GMT`+ml(r,`:`);default:return`GMT`+gl(r,`:`)}},t:function(e,t,n){return ul(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return ul(+e,t.length)}};function ml(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+ul(a,2)}function hl(e,t){return e%60==0?(e>0?`-`:`+`)+ul(Math.abs(e)/60,2):gl(e,t)}function gl(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=ul(Math.trunc(r/60),2),a=ul(r%60,2);return n+i+t+a}var _l=(e,t)=>{switch(e){case`P`:return t.date({width:`short`});case`PP`:return t.date({width:`medium`});case`PPP`:return t.date({width:`long`});default:return t.date({width:`full`})}},vl=(e,t)=>{switch(e){case`p`:return t.time({width:`short`});case`pp`:return t.time({width:`medium`});case`ppp`:return t.time({width:`long`});default:return t.time({width:`full`})}},yl={p:vl,P:(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return _l(e,t);let a;switch(r){case`P`:a=t.dateTime({width:`short`});break;case`PP`:a=t.dateTime({width:`medium`});break;case`PPP`:a=t.dateTime({width:`long`});break;default:a=t.dateTime({width:`full`});break}return a.replace(`{{date}}`,_l(r,t)).replace(`{{time}}`,vl(i,t))}},bl=/^D+$/,xl=/^Y+$/,Sl=[`D`,`DD`,`YY`,`YYYY`];function Cl(e){return bl.test(e)}function wl(e){return xl.test(e)}function Tl(e,t,n){let r=El(e,t,n);if(console.warn(r),Sl.includes(e))throw RangeError(r)}function El(e,t,n){let r=e[0]===`Y`?`years`:`days of the month`;return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Dl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ol=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,kl=/^'([^]*?)'?$/,Al=/''/g,jl=/[a-zA-Z]/;function Ml(e,t,n){let r=mc(),i=n?.locale??r.locale??il,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=Q(e,n?.in);if(!Mc(s))throw RangeError(`Invalid time value`);let c=t.match(Ol).map(e=>{let t=e[0];if(t===`p`||t===`P`){let n=yl[t];return n(e,i.formatLong)}return e}).join(``).match(Dl).map(e=>{if(e===`''`)return{isToken:!1,value:`'`};let t=e[0];if(t===`'`)return{isToken:!1,value:Nl(e)};if(pl[t])return{isToken:!0,value:e};if(t.match(jl))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});i.localize.preprocessor&&(c=i.localize.preprocessor(s,c));let l={firstWeekContainsDate:a,weekStartsOn:o,locale:i};return c.map(r=>{if(!r.isToken)return r.value;let a=r.value;(!n?.useAdditionalWeekYearTokens&&wl(a)||!n?.useAdditionalDayOfYearTokens&&Cl(a))&&Tl(a,t,String(e));let o=pl[a[0]];return o(s,a,i.localize,l)}).join(``)}function Nl(e){let t=e.match(kl);return t?t[1].replace(Al,`'`):e}function Pl(e,t){return Q(e,t?.in).getDate()}function Fl(e,t){return Q(e,t?.in).getDay()}function Il(e,t){let n=Q(e,t?.in),r=n.getFullYear(),i=n.getMonth(),a=cc(n,0);return a.setFullYear(r,i+1,0),a.setHours(0,0,0,0),a.getDate()}function Ll(){return Object.assign({},mc())}function Rl(e,t){return Q(e,t?.in).getHours()}function zl(e,t){let n=Q(e,t?.in).getDay();return n===0?7:n}function Bl(e,t){return Q(e,t?.in).getMinutes()}function Vl(e,t){return Q(e,t?.in).getMonth()}function Hl(e){return Q(e).getSeconds()}function Ul(e){return+Q(e)}function Wl(e,t){return Q(e,t?.in).getFullYear()}function Gl(e,t){return+Q(e)>+Q(t)}function Kl(e,t){return+Q(e)<+Q(t)}function ql(e,t){return+Q(e)==+Q(t)}function Jl(e,t){let n=Yl(t)?new t(0):cc(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function Yl(e){return typeof e==`function`&&e.prototype?.constructor===e}var Xl=10,Zl=class{subPriority=0;validate(e,t){return!0}},Ql=class extends Zl{constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},$l=class extends Zl{priority=Xl;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>cc(t,e))}set(e,t){return t.timestampIsSet?e:cc(e,Jl(e,this.context))}},eu=class{run(e,t,n,r){let i=this.parse(e,t,n,r);return i?{setter:new Ql(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}},tu=class extends eu{priority=140;parse(e,t,n){switch(t){case`G`:case`GG`:case`GGG`:return n.era(e,{width:`abbreviated`})||n.era(e,{width:`narrow`});case`GGGGG`:return n.era(e,{width:`narrow`});default:return n.era(e,{width:`wide`})||n.era(e,{width:`abbreviated`})||n.era(e,{width:`narrow`})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`R`,`u`,`t`,`T`]},nu={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},ru={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function iu(e,t){return e&&{value:t(e.value),rest:e.rest}}function au(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function ou(e,t){let n=t.match(e);if(!n)return null;if(n[0]===`Z`)return{value:0,rest:t.slice(1)};let r=n[1]===`+`?1:-1,i=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,o=n[5]?parseInt(n[5],10):0;return{value:r*(i*ic+a*rc+o*ac),rest:t.slice(n[0].length)}}function su(e){return au(nu.anyDigitsSigned,e)}function cu(e,t){switch(e){case 1:return au(nu.singleDigit,t);case 2:return au(nu.twoDigits,t);case 3:return au(nu.threeDigits,t);case 4:return au(nu.fourDigits,t);default:return au(RegExp(`^\\d{1,`+e+`}`),t)}}function lu(e,t){switch(e){case 1:return au(nu.singleDigitSigned,t);case 2:return au(nu.twoDigitsSigned,t);case 3:return au(nu.threeDigitsSigned,t);case 4:return au(nu.fourDigitsSigned,t);default:return au(RegExp(`^-?\\d{1,`+e+`}`),t)}}function uu(e){switch(e){case`morning`:return 4;case`evening`:return 17;case`pm`:case`noon`:case`afternoon`:return 12;default:return 0}}function du(e,t){let n=t>0,r=n?t:1-t,i;if(r<=50)i=e||100;else{let t=r+50,n=Math.trunc(t/100)*100,a=e>=t%100;i=e+n-(a?100:0)}return n?i:1-i}function fu(e){return e%400==0||e%4==0&&e%100!=0}var pu=class extends eu{priority=130;incompatibleTokens=[`Y`,`R`,`u`,`w`,`I`,`i`,`e`,`c`,`t`,`T`];parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:t===`yy`});switch(t){case`y`:return iu(cu(4,e),r);case`yo`:return iu(n.ordinalNumber(e,{unit:`year`}),r);default:return iu(cu(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let r=e.getFullYear();if(n.isTwoDigitYear){let t=du(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i=!(`era`in t)||t.era===1?n.year:1-n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}},mu=class extends eu{priority=130;parse(e,t,n){let r=e=>({year:e,isTwoDigitYear:t===`YY`});switch(t){case`Y`:return iu(cu(4,e),r);case`Yo`:return iu(n.ordinalNumber(e,{unit:`year`}),r);default:return iu(cu(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){let i=sl(e,r);if(n.isTwoDigitYear){let t=du(n.year,i);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),hc(e,r)}let a=!(`era`in t)||t.era===1?n.year:1-n.year;return e.setFullYear(a,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),hc(e,r)}incompatibleTokens=[`y`,`R`,`u`,`Q`,`q`,`M`,`L`,`I`,`d`,`D`,`i`,`t`,`T`]},hu=class extends eu{priority=130;parse(e,t){return lu(t===`R`?4:t.length,e)}set(e,t,n){let r=cc(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),gc(r)}incompatibleTokens=[`G`,`y`,`Y`,`u`,`Q`,`q`,`M`,`L`,`w`,`d`,`D`,`e`,`c`,`t`,`T`]},gu=class extends eu{priority=130;parse(e,t){return lu(t===`u`?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`G`,`y`,`Y`,`R`,`w`,`I`,`i`,`e`,`c`,`t`,`T`]},_u=class extends eu{priority=120;parse(e,t,n){switch(t){case`Q`:case`QQ`:return cu(t.length,e);case`Qo`:return n.ordinalNumber(e,{unit:`quarter`});case`QQQ`:return n.quarter(e,{width:`abbreviated`,context:`formatting`})||n.quarter(e,{width:`narrow`,context:`formatting`});case`QQQQQ`:return n.quarter(e,{width:`narrow`,context:`formatting`});default:return n.quarter(e,{width:`wide`,context:`formatting`})||n.quarter(e,{width:`abbreviated`,context:`formatting`})||n.quarter(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`M`,`L`,`w`,`I`,`d`,`D`,`i`,`e`,`c`,`t`,`T`]},vu=class extends eu{priority=120;parse(e,t,n){switch(t){case`q`:case`qq`:return cu(t.length,e);case`qo`:return n.ordinalNumber(e,{unit:`quarter`});case`qqq`:return n.quarter(e,{width:`abbreviated`,context:`standalone`})||n.quarter(e,{width:`narrow`,context:`standalone`});case`qqqqq`:return n.quarter(e,{width:`narrow`,context:`standalone`});default:return n.quarter(e,{width:`wide`,context:`standalone`})||n.quarter(e,{width:`abbreviated`,context:`standalone`})||n.quarter(e,{width:`narrow`,context:`standalone`})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`Q`,`M`,`L`,`w`,`I`,`d`,`D`,`i`,`e`,`c`,`t`,`T`]},yu=class extends eu{incompatibleTokens=[`Y`,`R`,`q`,`Q`,`L`,`w`,`I`,`D`,`i`,`e`,`c`,`t`,`T`];priority=110;parse(e,t,n){let r=e=>e-1;switch(t){case`M`:return iu(au(nu.month,e),r);case`MM`:return iu(cu(2,e),r);case`Mo`:return iu(n.ordinalNumber(e,{unit:`month`}),r);case`MMM`:return n.month(e,{width:`abbreviated`,context:`formatting`})||n.month(e,{width:`narrow`,context:`formatting`});case`MMMMM`:return n.month(e,{width:`narrow`,context:`formatting`});default:return n.month(e,{width:`wide`,context:`formatting`})||n.month(e,{width:`abbreviated`,context:`formatting`})||n.month(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},bu=class extends eu{priority=110;parse(e,t,n){let r=e=>e-1;switch(t){case`L`:return iu(au(nu.month,e),r);case`LL`:return iu(cu(2,e),r);case`Lo`:return iu(n.ordinalNumber(e,{unit:`month`}),r);case`LLL`:return n.month(e,{width:`abbreviated`,context:`standalone`})||n.month(e,{width:`narrow`,context:`standalone`});case`LLLLL`:return n.month(e,{width:`narrow`,context:`standalone`});default:return n.month(e,{width:`wide`,context:`standalone`})||n.month(e,{width:`abbreviated`,context:`standalone`})||n.month(e,{width:`narrow`,context:`standalone`})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`Q`,`M`,`w`,`I`,`D`,`i`,`e`,`c`,`t`,`T`]};function xu(e,t,n){let r=Q(e,n?.in),i=ll(r,n)-t;return r.setDate(r.getDate()-i*7),Q(r,n?.in)}var Su=class extends eu{priority=100;parse(e,t,n){switch(t){case`w`:return au(nu.week,e);case`wo`:return n.ordinalNumber(e,{unit:`week`});default:return cu(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return hc(xu(e,n,r),r)}incompatibleTokens=[`y`,`R`,`u`,`q`,`Q`,`M`,`L`,`I`,`d`,`D`,`i`,`t`,`T`]};function Cu(e,t,n){let r=Q(e,n?.in),i=ol(r,n)-t;return r.setDate(r.getDate()-i*7),r}var wu=class extends eu{priority=100;parse(e,t,n){switch(t){case`I`:return au(nu.week,e);case`Io`:return n.ordinalNumber(e,{unit:`week`});default:return cu(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return gc(Cu(e,n))}incompatibleTokens=[`y`,`Y`,`u`,`q`,`Q`,`M`,`L`,`w`,`d`,`D`,`e`,`c`,`t`,`T`]},Tu=[31,28,31,30,31,30,31,31,30,31,30,31],Eu=[31,29,31,30,31,30,31,31,30,31,30,31],Du=class extends eu{priority=90;subPriority=1;parse(e,t,n){switch(t){case`d`:return au(nu.date,e);case`do`:return n.ordinalNumber(e,{unit:`date`});default:return cu(t.length,e)}}validate(e,t){let n=fu(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=Eu[r]:t>=1&&t<=Tu[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`Q`,`w`,`I`,`D`,`i`,`e`,`c`,`t`,`T`]},Ou=class extends eu{priority=90;subpriority=1;parse(e,t,n){switch(t){case`D`:case`DD`:return au(nu.dayOfYear,e);case`Do`:return n.ordinalNumber(e,{unit:`date`});default:return cu(t.length,e)}}validate(e,t){return fu(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=[`Y`,`R`,`q`,`Q`,`M`,`L`,`w`,`I`,`d`,`E`,`i`,`e`,`c`,`t`,`T`]};function ku(e,t,n){let r=mc(),i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=Q(e,n?.in),o=a.getDay(),s=(t%7+7)%7,c=7-i;return lc(a,t<0||t>6?t-(o+c)%7:(s+c)%7-(o+c)%7,n)}var Au=class extends eu{priority=90;parse(e,t,n){switch(t){case`E`:case`EE`:case`EEE`:return n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});case`EEEEE`:return n.day(e,{width:`narrow`,context:`formatting`});case`EEEEEE`:return n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});default:return n.day(e,{width:`wide`,context:`formatting`})||n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return e=ku(e,n,r),e.setHours(0,0,0,0),e}incompatibleTokens=[`D`,`i`,`e`,`c`,`t`,`T`]},ju=class extends eu{priority=90;parse(e,t,n,r){let i=e=>{let t=Math.floor((e-1)/7)*7;return(e+r.weekStartsOn+6)%7+t};switch(t){case`e`:case`ee`:return iu(cu(t.length,e),i);case`eo`:return iu(n.ordinalNumber(e,{unit:`day`}),i);case`eee`:return n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});case`eeeee`:return n.day(e,{width:`narrow`,context:`formatting`});case`eeeeee`:return n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`});default:return n.day(e,{width:`wide`,context:`formatting`})||n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return e=ku(e,n,r),e.setHours(0,0,0,0),e}incompatibleTokens=[`y`,`R`,`u`,`q`,`Q`,`M`,`L`,`I`,`d`,`D`,`E`,`i`,`c`,`t`,`T`]},Mu=class extends eu{priority=90;parse(e,t,n,r){let i=e=>{let t=Math.floor((e-1)/7)*7;return(e+r.weekStartsOn+6)%7+t};switch(t){case`c`:case`cc`:return iu(cu(t.length,e),i);case`co`:return iu(n.ordinalNumber(e,{unit:`day`}),i);case`ccc`:return n.day(e,{width:`abbreviated`,context:`standalone`})||n.day(e,{width:`short`,context:`standalone`})||n.day(e,{width:`narrow`,context:`standalone`});case`ccccc`:return n.day(e,{width:`narrow`,context:`standalone`});case`cccccc`:return n.day(e,{width:`short`,context:`standalone`})||n.day(e,{width:`narrow`,context:`standalone`});default:return n.day(e,{width:`wide`,context:`standalone`})||n.day(e,{width:`abbreviated`,context:`standalone`})||n.day(e,{width:`short`,context:`standalone`})||n.day(e,{width:`narrow`,context:`standalone`})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return e=ku(e,n,r),e.setHours(0,0,0,0),e}incompatibleTokens=[`y`,`R`,`u`,`q`,`Q`,`M`,`L`,`I`,`d`,`D`,`E`,`i`,`e`,`t`,`T`]};function Nu(e,t,n){let r=Q(e,n?.in);return lc(r,t-zl(r,n),n)}var Pu=class extends eu{priority=90;parse(e,t,n){let r=e=>e===0?7:e;switch(t){case`i`:case`ii`:return cu(t.length,e);case`io`:return n.ordinalNumber(e,{unit:`day`});case`iii`:return iu(n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`}),r);case`iiiii`:return iu(n.day(e,{width:`narrow`,context:`formatting`}),r);case`iiiiii`:return iu(n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`}),r);default:return iu(n.day(e,{width:`wide`,context:`formatting`})||n.day(e,{width:`abbreviated`,context:`formatting`})||n.day(e,{width:`short`,context:`formatting`})||n.day(e,{width:`narrow`,context:`formatting`}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return e=Nu(e,n),e.setHours(0,0,0,0),e}incompatibleTokens=[`y`,`Y`,`u`,`q`,`Q`,`M`,`L`,`w`,`d`,`D`,`E`,`e`,`c`,`t`,`T`]},Fu=class extends eu{priority=80;parse(e,t,n){switch(t){case`a`:case`aa`:case`aaa`:return n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`});case`aaaaa`:return n.dayPeriod(e,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(e,{width:`wide`,context:`formatting`})||n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`})}}set(e,t,n){return e.setHours(uu(n),0,0,0),e}incompatibleTokens=[`b`,`B`,`H`,`k`,`t`,`T`]},Iu=class extends eu{priority=80;parse(e,t,n){switch(t){case`b`:case`bb`:case`bbb`:return n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`});case`bbbbb`:return n.dayPeriod(e,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(e,{width:`wide`,context:`formatting`})||n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`})}}set(e,t,n){return e.setHours(uu(n),0,0,0),e}incompatibleTokens=[`a`,`B`,`H`,`k`,`t`,`T`]},Lu=class extends eu{priority=80;parse(e,t,n){switch(t){case`B`:case`BB`:case`BBB`:return n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`});case`BBBBB`:return n.dayPeriod(e,{width:`narrow`,context:`formatting`});default:return n.dayPeriod(e,{width:`wide`,context:`formatting`})||n.dayPeriod(e,{width:`abbreviated`,context:`formatting`})||n.dayPeriod(e,{width:`narrow`,context:`formatting`})}}set(e,t,n){return e.setHours(uu(n),0,0,0),e}incompatibleTokens=[`a`,`b`,`t`,`T`]},Ru=class extends eu{priority=70;parse(e,t,n){switch(t){case`h`:return au(nu.hour12h,e);case`ho`:return n.ordinalNumber(e,{unit:`hour`});default:return cu(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):!r&&n===12?e.setHours(0,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=[`H`,`K`,`k`,`t`,`T`]},zu=class extends eu{priority=70;parse(e,t,n){switch(t){case`H`:return au(nu.hour23h,e);case`Ho`:return n.ordinalNumber(e,{unit:`hour`});default:return cu(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=[`a`,`b`,`h`,`K`,`k`,`t`,`T`]},Bu=class extends eu{priority=70;parse(e,t,n){switch(t){case`K`:return au(nu.hour11h,e);case`Ko`:return n.ordinalNumber(e,{unit:`hour`});default:return cu(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=[`h`,`H`,`k`,`t`,`T`]},Vu=class extends eu{priority=70;parse(e,t,n){switch(t){case`k`:return au(nu.hour24h,e);case`ko`:return n.ordinalNumber(e,{unit:`hour`});default:return cu(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){let r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}incompatibleTokens=[`a`,`b`,`h`,`H`,`K`,`t`,`T`]},Hu=class extends eu{priority=60;parse(e,t,n){switch(t){case`m`:return au(nu.minute,e);case`mo`:return n.ordinalNumber(e,{unit:`minute`});default:return cu(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=[`t`,`T`]},Uu=class extends eu{priority=50;parse(e,t,n){switch(t){case`s`:return au(nu.second,e);case`so`:return n.ordinalNumber(e,{unit:`second`});default:return cu(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=[`t`,`T`]},Wu=class extends eu{priority=30;parse(e,t){return iu(cu(t.length,e),e=>Math.trunc(e*10**(-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=[`t`,`T`]},Gu=class extends eu{priority=10;parse(e,t){switch(t){case`X`:return ou(ru.basicOptionalMinutes,e);case`XX`:return ou(ru.basic,e);case`XXXX`:return ou(ru.basicOptionalSeconds,e);case`XXXXX`:return ou(ru.extendedOptionalSeconds,e);default:return ou(ru.extended,e)}}set(e,t,n){return t.timestampIsSet?e:cc(e,e.getTime()-vc(e)-n)}incompatibleTokens=[`t`,`T`,`x`]},Ku=class extends eu{priority=10;parse(e,t){switch(t){case`x`:return ou(ru.basicOptionalMinutes,e);case`xx`:return ou(ru.basic,e);case`xxxx`:return ou(ru.basicOptionalSeconds,e);case`xxxxx`:return ou(ru.extendedOptionalSeconds,e);default:return ou(ru.extended,e)}}set(e,t,n){return t.timestampIsSet?e:cc(e,e.getTime()-vc(e)-n)}incompatibleTokens=[`t`,`T`,`X`]},qu=class extends eu{priority=40;parse(e){return su(e)}set(e,t,n){return[cc(e,n*1e3),{timestampIsSet:!0}]}incompatibleTokens=`*`},Ju=class extends eu{priority=20;parse(e){return su(e)}set(e,t,n){return[cc(e,n),{timestampIsSet:!0}]}incompatibleTokens=`*`},Yu={G:new tu,y:new pu,Y:new mu,R:new hu,u:new gu,Q:new _u,q:new vu,M:new yu,L:new bu,w:new Su,I:new wu,d:new Du,D:new Ou,E:new Au,e:new ju,c:new Mu,i:new Pu,a:new Fu,b:new Iu,B:new Lu,h:new Ru,H:new zu,K:new Bu,k:new Vu,m:new Hu,s:new Uu,S:new Wu,X:new Gu,x:new Ku,t:new qu,T:new Ju},Xu=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Zu=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Qu=/^'([^]*?)'?$/,$u=/''/g,ed=/\S/,td=/[a-zA-Z]/;function nd(e,t,n,r){let i=()=>cc(r?.in||n,NaN),a=Ll(),o=r?.locale??a.locale??il,s=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0;if(!t)return e?i():Q(n,r?.in);let l={firstWeekContainsDate:s,weekStartsOn:c,locale:o},u=[new $l(r?.in,n)],d=t.match(Zu).map(e=>{let t=e[0];if(t in yl){let n=yl[t];return n(e,o.formatLong)}return e}).join(``).match(Xu),f=[];for(let n of d){!r?.useAdditionalWeekYearTokens&&wl(n)&&Tl(n,t,e),!r?.useAdditionalDayOfYearTokens&&Cl(n)&&Tl(n,t,e);let a=n[0],s=Yu[a];if(s){let{incompatibleTokens:t}=s;if(Array.isArray(t)){let e=f.find(e=>t.includes(e.token)||e.token===a);if(e)throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${n}\` at the same time`)}else if(s.incompatibleTokens===`*`&&f.length>0)throw RangeError(`The format string mustn't contain \`${n}\` and any other token at the same time`);f.push({token:a,fullToken:n});let r=s.run(e,n,o.match,l);if(!r)return i();u.push(r.setter),e=r.rest}else{if(a.match(td))throw RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");if(n===`''`?n=`'`:a===`'`&&(n=rd(n)),e.indexOf(n)===0)e=e.slice(n.length);else return i()}}if(e.length>0&&ed.test(e))return i();let p=u.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>u.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),m=Q(n,r?.in);if(isNaN(+m))return i();let h={};for(let e of p){if(!e.validate(m,l))return i();let t=e.set(m,h,l);Array.isArray(t)?(m=t[0],Object.assign(h,t[1])):m=t}return m}function rd(e){return e.match(Qu)[1].replace($u,`'`)}function id(e,t,n){let[r,i]=yc(n?.in,e,t);return r.getFullYear()===i.getFullYear()&&r.getMonth()===i.getMonth()}function ad(e,t,n){let[r,i]=yc(n?.in,e,t);return+Vc(r)==+Vc(i)}function od(e,t,n){let[r,i]=yc(n?.in,e,t);return r.getFullYear()===i.getFullYear()}
20function sd(e,t,n){let r=+Q(e,n?.in),[i,a]=[+Q(t.start,n?.in),+Q(t.end,n?.in)].sort((e,t)=>e-t);return r>=i&&r<=a}function cd(e,t,n){return lc(e,-t,n)}function ld(e,t){let n=()=>cc(t?.in,NaN),r=t?.additionalDigits??2,i=md(e),a;if(i.date){let e=hd(i.date,r);a=gd(e.restDateString,e.year)}if(!a||isNaN(+a))return n();let o=+a,s=0,c;if(i.time&&(s=vd(i.time),isNaN(s)))return n();if(i.timezone){if(c=bd(i.timezone),isNaN(c))return n()}else{let e=new Date(o+s),n=Q(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return Q(o+s+c,t?.in)}var ud={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},dd=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,fd=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,pd=/^([+-])(\d{2})(?::?(\d{2}))?$/;function md(e){let t={},n=e.split(ud.dateTimeDelimiter),r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],ud.timeZoneDelimiter.test(t.date)&&(t.date=e.split(ud.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){let e=ud.timezone.exec(r);e?(t.time=r.replace(e[1],``),t.timezone=e[1]):t.time=r}return t}function hd(e,t){let n=RegExp(`^(?:(\\d{4}|[+-]\\d{`+(4+t)+`})|(\\d{2}|[+-]\\d{`+(2+t)+`})$)`),r=e.match(n);if(!r)return{year:NaN,restDateString:``};let i=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:a===null?i:a*100,restDateString:e.slice((r[1]||r[2]).length)}}function gd(e,t){if(t===null)return new Date(NaN);let n=e.match(dd);if(!n)return new Date(NaN);let r=!!n[4],i=_d(n[1]),a=_d(n[2])-1,o=_d(n[3]),s=_d(n[4]),c=_d(n[5])-1;if(r)return Ed(t,s,c)?xd(t,s,c):new Date(NaN);{let e=new Date(0);return!wd(t,a,o)||!Td(t,i)?new Date(NaN):(e.setUTCFullYear(t,a,Math.max(i,o)),e)}}function _d(e){return e?parseInt(e):1}function vd(e){let t=e.match(fd);if(!t)return NaN;let n=yd(t[1]),r=yd(t[2]),i=yd(t[3]);return Dd(n,r,i)?n*ic+r*rc+i*1e3:NaN}function yd(e){return e&&parseFloat(e.replace(`,`,`.`))||0}function bd(e){if(e===`Z`)return 0;let t=e.match(pd);if(!t)return 0;let n=t[1]===`+`?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return Od(r,i)?n*(r*ic+i*rc):NaN}function xd(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7,a=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+a),r}var Sd=[31,null,31,30,31,30,31,31,30,31,30,31];function Cd(e){return e%400==0||e%4==0&&e%100!=0}function wd(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(Sd[t]||(Cd(e)?29:28))}function Td(e,t){return t>=1&&t<=(Cd(e)?366:365)}function Ed(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function Dd(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function Od(e,t){return t>=0&&t<=59}function kd(e,t,n){let r=Q(e,n?.in),i=r.getFullYear(),a=r.getDate(),o=cc(n?.in||e,0);o.setFullYear(i,t,15),o.setHours(0,0,0,0);let s=Il(o);return r.setMonth(t,Math.min(a,s)),r}function Ad(e,t,n){let r=Q(e,n?.in);return r.setHours(t),r}function jd(e,t,n){let r=Q(e,n?.in);return r.setMinutes(t),r}function Md(e,t,n){let r=Q(e,n?.in),i=t-(Math.trunc(r.getMonth()/3)+1);return kd(r,r.getMonth()+i*3)}function Nd(e,t,n){let r=Q(e,n?.in);return r.setSeconds(t),r}function Pd(e,t,n){let r=Q(e,n?.in);return isNaN(+r)?cc(n?.in||e,NaN):(r.setFullYear(t),r)}function Fd(e,t,n){return uc(e,-t,n)}function Id(e,t,n){return wc(e,-t,n)}function Ld(e,t,n){return Ec(e,-t,n)}function Rd(e,t,n){return Dc(e,-t,n)}function zd(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=zd(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Bd(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=zd(e))&&(r&&(r+=` `),r+=t);return r}function Vd(){return typeof window<`u`}function Hd(e){return Gd(e)?(e.nodeName||``).toLowerCase():`#document`}function Ud(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wd(e){return((Gd(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Gd(e){return Vd()?e instanceof Node||e instanceof Ud(e).Node:!1}function Kd(e){return Vd()?e instanceof Element||e instanceof Ud(e).Element:!1}function qd(e){return Vd()?e instanceof HTMLElement||e instanceof Ud(e).HTMLElement:!1}function Jd(e){return!Vd()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Ud(e).ShadowRoot}function Yd(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=sf(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Xd(e){return/^(table|td|th)$/.test(Hd(e))}function Zd(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Qd=/transform|translate|scale|rotate|perspective|filter/,$d=/paint|layout|strict|content/,ef=e=>!!e&&e!==`none`,tf;function nf(e){let t=Kd(e)?sf(e):e;return ef(t.transform)||ef(t.translate)||ef(t.scale)||ef(t.rotate)||ef(t.perspective)||!af()&&
20(ef(t.backdropFilter)||ef(t.filter))||Qd.test(t.willChange||``)||$d.test(t.contain||``)}function rf(e){let t=lf(e);for(;qd(t)&&!of(t);){if(nf(t))return t;if(Zd(t))return null;t=lf(t)}return null}function af(){return tf??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),tf}function of(e){return/^(html|body|#document)$/.test(Hd(e))}function sf(e){return Ud(e).getComputedStyle(e)}function cf(e){return Kd(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function lf(e){if(Hd(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Jd(e)&&e.host||Wd(e);return Jd(t)?t.host:t}function uf(e){let t=lf(e);return of(t)?(e.ownerDocument||e).body:qd(t)&&Yd(t)?t:uf(t)}function df(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=uf(e),i=r===e.ownerDocument?.body,a=Ud(r);if(i){let e=ff(a);return t.concat(a,a.visualViewport||[],Yd(r)?r:[],e&&n?df(e):[])}else return t.concat(r,df(r,[],n))}function ff(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var pf=Math.min,mf=Math.max,hf=Math.round,gf=Math.floor,_f=e=>({x:e,y:e}),vf={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function yf(e,t,n){return mf(e,pf(t,n))}function bf(e,t){return typeof e==`function`?e(t):e}function xf(e){return e.split(`-`)[0]}function Sf(e){return e.split(`-`)[1]}function Cf(e){return e===`x`?`y`:`x`}function wf(e){return e===`y`?`height`:`width`}function Tf(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Ef(e){return Cf(Tf(e))}function Df(e,t,n){n===void 0&&(n=!1);let r=Sf(e),i=Ef(e),a=wf(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=If(o)),[o,If(o)]}function Of(e){let t=If(e);return[kf(e),t,kf(t)]}function kf(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Af=[`left`,`right`],jf=[`right`,`left`],Mf=[`top`,`bottom`],Nf=[`bottom`,`top`];function Pf(e,t,n){switch(e){case`top`:case`bottom`:return n?t?jf:Af:t?Af:jf;case`left`:case`right`:return t?Mf:Nf;default:return[]}}function Ff(e,t,n,r){let i=Sf(e),a=Pf(xf(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(kf)))),a}function If(e){let t=xf(e);return vf[t]+e.slice(t.length)}function Lf(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function Rf(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Lf(e)}function zf(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}var Bf=typeof document<`u`?L.useLayoutEffect:function(){},Vf={...L}.useInsertionEffect||(e=>e());function Hf(e){let t=L.useRef(()=>{});return Vf(()=>{t.current=e}),L.useCallback(function(){var e=[...arguments];return t.current==null?void 0:t.current(...e)},[])}function Uf(e,t,n){let{reference:r,floating:i}=e,a=Tf(t),o=Ef(t),s=wf(o),c=xf(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Sf(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Wf(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=bf(t,e),p=Rf(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=zf(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=zf(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left
vendor: 4,246 bytes, line 20
20:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Gf=50,Kf=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Wf},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Uf(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<Gf&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Uf(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},qf=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=bf(e,t)||{};if(l==null)return{};let d=Rf(u),f={x:n,y:r},p=Ef(i),m=wf(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=pf(d[_],T),D=pf(d[v],T),O=C-h[m]-D,k=C/2-h[m]/2+w,A=yf(E,k,O),ee=!c.arrow&&Sf(i)!=null&&k!==A&&a.reference[m]/2-(k<E?E:D)-h[m]/2<0,te=ee?k<E?k-E:k-O:0;return{[p]:f[p]+te,data:{[p]:A,centerOffset:k-A-te,...ee&&{alignmentOffset:te}},reset:ee}}}),Jf=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=bf(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=xf(r),_=Tf(o),v=xf(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[If(o)]:Of(o)),x=p!==`none`;!d&&x&&b.push(...Ff(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=Df(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==Tf(t))||T.every(e=>Tf(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=Tf(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},Yf=new Set([`left`,`top`]);async function Xf(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=xf(n),s=Sf(n),c=Tf(n)===`y`,l=Yf.has(o)?-1:1,u=a&&c?-1:1,d=bf(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Zf=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Xf(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}};function Qf(e){let t=sf(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=qd(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=hf(n)!==a||hf(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function $f(e){return Kd(e)?e:e.contextElement}function ep(e){let t=$f(e);if(!qd(t))return _f(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Qf(t),o=(a?hf(n.width):n.width)/r,s=(a?hf(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var tp=_f(0);function np(e){let t=Ud(e);
vendor: 5,825 bytes, line 20
20return!af()||!t.visualViewport?tp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function rp(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Ud(e)}function ip(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=$f(e),o=_f(1);t&&(r?Kd(r)&&(o=ep(r)):o=ep(e));let s=rp(a,n,r)?np(a):_f(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=Ud(a),t=Kd(r)?Ud(r):r,n=e,i=ff(n);for(;i&&t!==n;){let e=ep(i),t=i.getBoundingClientRect(),r=sf(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Ud(i),i=ff(n)}}return zf({width:u,height:d,x:c,y:l})}function ap(e,t){let n=cf(e).scrollLeft;return t?t.left+n:ip(Wd(e)).left+n}function op(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ap(e,n),y:n.top+t.scrollTop}}function sp(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Wd(r),s=t?Zd(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=_f(1),u=_f(0),d=qd(r);if((d||!a)&&((Hd(r)!==`body`||Yd(o))&&(c=cf(r)),d)){let e=ip(r);l=ep(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?op(o,c):_f(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function cp(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function lp(e){let t=cf(e),n=e.ownerDocument.body,r=mf(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=mf(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+ap(e),o=-t.scrollTop;return sf(n).direction===`rtl`&&(a+=mf(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var up=25;function dp(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=Ud(e),a=Wd(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!af()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(ap(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=up&&(s-=o)}return{width:s,height:c,x:l,y:u}}function fp(e,t){let n=ip(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=ep(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function pp(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=dp(e,n,t);else if(t===`document`)r=lp(Wd(e));else if(Kd(t))r=fp(t,n);else{let n=np(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return zf(r)}function mp(e,t){let n=t.get(e);if(n)return n;let r=df(e,[],!1).filter(e=>Kd(e)&&Hd(e)!==`body`),i=null,a=sf(e).position===`fixed`,o=a?lf(e):e;for(;Kd(o)&&!of(o);){let e=sf(o),t=nf(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=lf(o)}return t.set(e,r),r}function hp(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Zd(t)?[]:mp(t,this._c):[].concat(n),r],o=pp(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=pp(t,a[e],i);s=mf(n.top,s),c=pf(n.right,c),l=pf(n.bottom,l),u=mf(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function gp(e){let{width:t,height:n}=Qf(e);return{width:t,height:n}}function _p(e,t,n){let r=qd(t),i=Wd(t),a=n===`fixed`,o=ip(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=_f(0);if((r||!a)&&((Hd(t)!==`body`||Yd(i))&&(s=cf(t)),r)){let e=ip(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=ap(i));let l=i&&!r&&!a?op(i,s):_f(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function vp(e){return sf(e).position===`static`}function yp(e,t){if(!qd(e)||sf(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Wd(e)===n&&(n=n.ownerDocument.body),n}function bp(e,t){let n=Ud(e);if(Zd(e))return n;if(!qd(e)){let t=lf(e);for(;t&&!of(t);){if(Kd(t)&&!vp(t))return t;t=lf(t)}return n}let r=yp(e,t);for(;r&&Xd(r)&&vp(r);)r=yp(r,t);return r&&of(r)&&vp(r)&&!nf(r)?n:r||rf(e)||n}var xp=async function(e){let t=this.getOffsetParent||bp,n=this.getDimensions,r=await n(e.floating);return{reference:_p(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Sp(e){return sf(e).direction===`rtl`}var Cp={convertOffsetParentRelativeRectToViewportRelativeRect:sp,getDocumentElement:Wd,getClippingRect:hp,getOffsetParent:bp,getElementRects:xp,getClientRects:cp,getDimensions:gp,getScale:ep,isElement:Kd,isRTL:Sp};function wp(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Tp(e,t,n){let r=null,i,a=Wd(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=gf(d),h=gf(a.clientWidth-(u+f)),g=gf(a.clientHeight-(d+p)),_=gf(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:mf(0,pf(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!wp(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=Ud(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Ep(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=$f(e),u=i||a?[...l?df(l):[],...t?df(t):[]]:[];
20u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Tp(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?ip(e):null;c&&g();function g(){let t=ip(e);h&&!wp(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Dp=Zf,Op=Jf,kp=qf,Ap=(e,t,n)=>{let r=new Map,i=n??{},a={...Cp,...i.platform,_c:r};return Kf(e,t,{...i,platform:a})},jp=n(c(),1),Mp=typeof document<`u`?L.useLayoutEffect:function(){};function Np(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Np(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!Np(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function Pp(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fp(e,t){let n=Pp(e);return Math.round(t*n)/n}function Ip(e){let t=L.useRef(e);return Mp(()=>{t.current=e}),t}function Lp(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=L.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=L.useState(r);Np(f,r)||p(r);let[m,h]=L.useState(null),[g,_]=L.useState(null),v=L.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=L.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=L.useRef(null),C=L.useRef(null),w=L.useRef(u),T=c!=null,E=Ip(c),D=Ip(i),O=Ip(l),k=L.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),Ap(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!Np(w.current,t)&&(w.current=t,jp.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);Mp(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=L.useRef(!1);Mp(()=>(A.current=!0,()=>{A.current=!1}),[]),Mp(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let ee=L.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),te=L.useMemo(()=>({reference:b,floating:x}),[b,x]),ne=L.useMemo(()=>{let e={position:n,left:0,top:0};if(!te.floating)return e;let t=Fp(te.floating,u.x),r=Fp(te.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...Pp(te.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,te.floating,u.x,u.y]);return L.useMemo(()=>({...u,update:k,refs:ee,elements:te,floatingStyles:ne}),[u,k,ee,te,ne])}var Rp=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:kp({element:r.current,padding:i}).fn(n):r?kp({element:r,padding:i}).fn(n):{}}}},zp=(e,t)=>{let n=Dp(e);return{name:n.name,fn:n.fn,options:[e,t]}},Bp=(e,t)=>{let n=Op(e);return{name:n.name,fn:n.fn,options:[e,t]}},Vp=(e,t)=>{let n=Rp(e);return{name:n.name,fn:n.fn,options:[e,t]}},Hp=`ArrowLeft`,Up=`ArrowRight`,Wp=`ArrowUp`,Gp=`ArrowDown`,Kp=[Hp,Up],qp=[Wp,Gp];[...Kp,...qp];var Jp={...L},Yp=!1,Xp=0,Zp=()=>`floating-ui-`+Math.random().toString(36).slice(2,6)+Xp++;function Qp(){let[e,t]=L.useState(()=>Yp?Zp():void 0);return Bf(()=>{e??t(Zp())},[]),L.useEffect(()=>{Yp=!0},[]),e}var $p=Jp.useId||Qp,em=L.forwardRef(function(e,t){let{context:{placement:n,elements:{floating:r},middlewareData:{arrow:i,shift:a}},width:o=14,height:s=7,tipRadius:c=0,strokeWidth:l=0,staticOffset:u,stroke:d,d:f,style:{transform:p,...m}={},...h}=e,g=$p(),[_,v]=L.useState(!1);if(Bf(()=>{r&&sf(r).direction===`rtl`&&v(!0)},[r]),!r)return null;let[y,b]=n.split(`-`),x=y===`top`||y===`bottom`,S=u;(x&&a!=null&&a.x||!x&&a!=null&&a.y)&&(S=null);let C=l*2,w=C/2,T=o/2*(c/-8+1),E=s/2*c/4,D=!!f,O=S&&b===`end`?`bottom`:`top`,k=S&&b===`end`?`right`:`left`;S&&_&&(k=b===`end`?`left`:`right`);let A=i?.x==null?``:S||i.x,ee=i?.y==null?``:S||i.y,te=f||`M0,0`+(` H`+o)+(` L`+(o-T)+`,`+(s-E))+(` Q`+o/2+`,`+s+` `+T+`,`+(s-E))+` Z`,ne={top:D?`rotate(180deg)`:``,left:D?`rotate(90deg)`:`rotate(-90deg)`,bottom:D?``:`rotate(180deg)`,right:D?`rotate(-90deg)`:`rotate(90deg)`}[y];return(0,I.jsxs)(`svg`,{...h,"aria-hidden":!0,ref:t,width:D?o:o+C,height:o,viewBox:`0 0 `+o+` `+(s>o?s:o),style:{position:`absolute`,pointerEvents:`none`,[k]:A,[O]:ee,[y]:x||D?`100%`:`calc(100% - `+C/2+`px)`,transform:[ne,p].filter(e=>!!e).join(` `),...m},children:[C>0&&(0,I.jsx)(`path`,{clipPath:`url(#`+g+`)`,fill:`none`,stroke:d,strokeWidth:C+ +!f,d:te}),(0,I.jsx)(`path`,{stroke:C&&!f?h.fill:`none`,d:te}),(0,I.jsx)(`clipPath`,{id:g,children:(0,I.jsx)(`rect`,{x:-w,y:w*(D?-1:1),width:o+C,height:o})})]})});function tm(){let e=new Map;return{emit(t,n){var r;
20(r=e.get(t))==null||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;(r=e.get(t))==null||r.delete(n)}}}var nm=L.createContext(null),rm=L.createContext(null),im=()=>L.useContext(nm)?.id||null,am=()=>L.useContext(rm);function om(e){let{open:t=!1,onOpenChange:n,elements:r}=e,i=$p(),a=L.useRef({}),[o]=L.useState(()=>tm()),s=im()!=null,[c,l]=L.useState(r.reference),u=Hf((e,t,r)=>{a.current.openEvent=e?t:void 0,o.emit(`openchange`,{open:e,event:t,reason:r,nested:s}),n?.(e,t,r)}),d=L.useMemo(()=>({setPositionReference:l}),[]),f=L.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return L.useMemo(()=>({dataRef:a,open:t,onOpenChange:u,elements:f,events:o,floatingId:i,refs:d}),[t,u,f,o,i,d])}function sm(e){let{elements:t,...n}=e===void 0?{}:e,{nodeId:r}=n,i=om({...n,elements:{reference:t?.reference??null,floating:t?.floating??null}}),a=n.rootContext||i,o=a.elements,[s,c]=L.useState(null),[l,u]=L.useState(null),d=o?.domReference||s,f=L.useRef(null),p=am();Bf(()=>{d&&(f.current=d)},[d]);let m=Lp({...n,elements:{...o,...l&&{reference:l}}}),h=L.useCallback(e=>{let t=Kd(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;u(t),m.refs.setReference(t)},[m.refs]),g=L.useCallback(e=>{(Kd(e)||e===null)&&(f.current=e,c(e)),(Kd(m.refs.reference.current)||m.refs.reference.current===null||e!==null&&!Kd(e))&&m.refs.setReference(e)},[m.refs]),_=L.useMemo(()=>({...m.refs,setReference:g,setPositionReference:h,domReference:f}),[m.refs,g,h]),v=L.useMemo(()=>({...m.elements,domReference:d}),[m.elements,d]),y=L.useMemo(()=>({...m,...a,refs:_,elements:v,nodeId:r}),[m,_,v,r,a]);return Bf(()=>{a.dataRef.current.floatingContext=y;let e=p?.nodesRef.current.find(e=>e.id===r);e&&(e.context=y)}),L.useMemo(()=>({...m,context:y,refs:_,elements:v}),[m,_,v,y])}var cm=function(e,t){return cm=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},cm(e,t)};function lm(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);cm(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var um=function(){return um=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},um.apply(this,arguments)};function dm(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var fm=function(e){var t=e.showTimeSelectOnly,n=t!==void 0&&t,r=e.showTime,i=r!==void 0&&r,a=e.className,o=e.children,s=e.inline,c=n?`Choose Time`:`Choose Date${i?` and Time`:``}`;return L.createElement(`div`,{className:a,"aria-label":c,role:s?void 0:`dialog`,"aria-modal":s?void 0:`true`},o)},pm=function(e,t){var n=(0,L.useRef)(null),r=(0,L.useRef)(e);(0,L.useEffect)(function(){r.current=e},[e]);var i=(0,L.useCallback)(function(e){var i,a=e.composed&&e.composedPath&&e.composedPath().find(function(e){return e instanceof Node})||e.target;n.current&&!n.current.contains(a)&&(t&&a instanceof HTMLElement&&a.classList.contains(t)||(i=r.current)==null||i.call(r,e))},[t]);return(0,L.useEffect)(function(){return document.addEventListener(`mousedown`,i),function(){document.removeEventListener(`mousedown`,i)}},[i]),n},mm=function(e){var t=e.children,n=e.onClickOutside,r=e.className,i=e.containerRef,a=e.style,o=e.ignoreClass,s=pm(n,o);return L.createElement(`div`,{className:r,style:a,ref:function(e){s.current=e,i&&(i.current=e)}},t)},$;(function(e){e.ArrowUp=`ArrowUp`,e.ArrowDown=`ArrowDown`,e.ArrowLeft=`ArrowLeft`,e.ArrowRight=`ArrowRight`,e.PageUp=`PageUp`,e.PageDown=`PageDown`,e.Home=`Home`,e.End=`End`,e.Enter=`Enter`,e.Space=` `,e.Tab=`Tab`,e.Escape=`Escape`,e.Backspace=`Backspace`,e.X=`x`})($||={});function hm(){return typeof window<`u`?window:globalThis}var gm=12;function _m(e){if(e==null)return new Date;var t=typeof e==`string`?ld(e):Q(e);return ym(t)?t:new Date}function vm(e,t,n,r,i){i===void 0&&(i=_m());for(var a=Wm(n)||Wm(Um()),o=Array.isArray(t)?t:[t],s=0,c=o;s<c.length;s++){var l=c[s],u=nd(e,l,i,{locale:a,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});if(ym(u)&&(!r||e===bm(u,l,n)))return u}return null}function ym(e,t){return Mc(e)&&!Kl(e,new Date(`1/1/1800`))}function bm(e,t,n){if(n===`en`)return Ml(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=n?Wm(n):void 0;return n&&!r&&console.warn(`A locale object was not found for the provided string ["${n}"].`),r||=Wm(Um()),Ml(e,t,{locale:r,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function xm(e,t){var n=t.dateFormat,r=t.locale,i=Array.isArray(n)&&n.length>0?n[0]:n;return e&&bm(e,i,r)||``}var Sm=` - `;function Cm(e,t,n){if(!e&&!t)return``;var r=e?xm(e,n):``,i=t?xm(t,n):``;return`${r}${n.rangeSeparator||Sm}${i}`}function wm(e,t){if(!e?.length)return``;var n=e[0]?xm(e[0],t):``;return e.length===1?n:e.length===2&&e[1]?`${n}, ${xm(e[1],t)}`:`${n} (+${e.length-1})`}function Tm(e,t){var n=t.hour,r=n===void 0?0:n,i=t.minute,a=i===void 0?0:i,o=t.second;return Ad(jd(Nd(e,o===void 0?0:o),a),r)}function Em(e){return ol(e)}function Dm(e,t){return bm(e,`ddd`,t)}
20function Om(e){return bc(e)}function km(e,t,n){return hc(e,{locale:Wm(t||Um()),weekStartsOn:n})}function Am(e){return Hc(e)}function jm(e){return Wc(e)}function Mm(e){return Vc(e)}function Nm(){return bc(_m())}function Pm(e){return zc(e)}function Fm(e){return Gc(e)}function Im(e){return Bc(e)}function Lm(e,t){return e&&t?od(e,t):!e&&!t}function Rm(e,t){return e&&t?id(e,t):!e&&!t}function zm(e,t){return e&&t?ad(e,t):!e&&!t}function Bm(e,t){return e&&t?Ac(e,t):!e&&!t}function Vm(e,t){return e&&t?ql(e,t):!e&&!t}function Hm(e,t,n){var r,i=bc(t),a=zc(n);try{r=sd(e,{start:i,end:a})}catch{r=!1}return r}function Um(){return hm().__localeId__}function Wm(e){if(typeof e==`string`){var t=hm();return t.__localeData__?t.__localeData__[e]:void 0}else return e}function Gm(e,t,n){return t(bm(e,`EEEE`,n))}function Km(e,t){return bm(e,`EEEEEE`,t)}function qm(e,t){return bm(e,`EEE`,t)}function Jm(e,t){return bm(kd(_m(),e),`LLLL`,t)}function Ym(e,t){return bm(kd(_m(),e),`LLL`,t)}function Xm(e,t){return bm(Md(_m(),e),`QQQ`,t)}function Zm(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.maxDate,a=n.excludeDates,o=n.excludeDateIntervals,s=n.includeDates,c=n.includeDateIntervals,l=n.filterDate;return n.disabled?!0:oh(e,{minDate:r,maxDate:i})||a&&a.some(function(t){return t instanceof Date?Bm(e,t):Bm(e,t.date)})||o&&o.some(function(t){var n=t.start,r=t.end;return sd(e,{start:n,end:r})})||s&&!s.some(function(t){return Bm(e,t)})||c&&!c.some(function(t){var n=t.start,r=t.end;return sd(e,{start:n,end:r})})||l&&!l(_m(e))||!1}function Qm(e,t){var n=t===void 0?{}:t,r=n.excludeDates,i=n.excludeDateIntervals;return i&&i.length>0?i.some(function(t){var n=t.start,r=t.end;return sd(e,{start:n,end:r})}):r&&r.some(function(t){return t instanceof Date?Bm(e,t):Bm(e,t.date??new Date)})||!1}function $m(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.maxDate,a=n.excludeDates,o=n.includeDates,s=n.filterDate;return oh(e,{minDate:r?Hc(r):void 0,maxDate:i?Bc(i):void 0})||a?.some(function(t){return Rm(e,t instanceof Date?t:t.date)})||o&&!o.some(function(t){return Rm(e,t)})||s&&!s(_m(e))||!1}function eh(e,t,n,r){var i=Wl(e),a=Vl(e),o=Wl(t),s=Vl(t),c=Wl(r);return i===o&&i===c?a<=n&&n<=s:i<o?c===i&&a<=n||c===o&&s>=n||c<o&&c>i:!1}function th(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.maxDate,a=n.excludeDates,o=n.includeDates;return oh(e,{minDate:r,maxDate:i})||a&&a.some(function(t){return Rm(t instanceof Date?t:t.date,e)})||o&&!o.some(function(t){return Rm(t,e)})||!1}function nh(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.maxDate,a=n.excludeDates,o=n.includeDates,s=n.filterDate;return n.disabled?!0:oh(e,{minDate:r,maxDate:i})||a?.some(function(t){return zm(e,t instanceof Date?t:t.date)})||o&&!o.some(function(t){return zm(e,t)})||s&&!s(_m(e))||!1}function rh(e,t,n){if(!t||!n||!Mc(t)||!Mc(n))return!1;var r=Wl(t),i=Wl(n);return r<=e&&i>=e}function ih(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.maxDate,a=n.excludeDates,o=n.includeDates,s=n.filterDate;if(n.disabled)return!0;var c=new Date(e,0,1);return oh(c,{minDate:r?Wc(r):void 0,maxDate:i?Uc(i):void 0})||a?.some(function(e){return Lm(c,e instanceof Date?e:e.date)})||o&&!o.some(function(e){return Lm(c,e)})||s&&!s(_m(c))||!1}function ah(e,t,n,r){var i=Wl(e),a=Pc(e),o=Wl(t),s=Pc(t),c=Wl(r);return i===o&&i===c?a<=n&&n<=s:i<o?c===i&&a<=n||c===o&&s>=n||c<o&&c>i:!1}function oh(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.maxDate;return(r&&xc(e,r)<0||i&&xc(e,i)>0)??!1}function sh(e,t){return t.some(function(t){return Rl(t)===Rl(e)&&Bl(t)===Bl(e)&&Hl(t)===Hl(e)})}function ch(e,t){var n=t===void 0?{}:t,r=n.excludeTimes,i=n.includeTimes,a=n.filterTime;return r&&sh(e,r)||i&&!sh(e,i)||a&&!a(e)||!1}function lh(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw Error(`Both minTime and maxTime props required`);var i=_m();i=Ad(i,Rl(e)),i=jd(i,Bl(e)),i=Nd(i,Hl(e));var a=_m();a=Ad(a,Rl(n)),a=jd(a,Bl(n)),a=Nd(a,Hl(n));var o=_m();o=Ad(o,Rl(r)),o=jd(o,Bl(r)),o=Nd(o,Hl(r));var s;try{s=!sd(i,{start:a,end:o})}catch{s=!1}return s}function uh(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.includeDates,a=Fd(e,1);return r&&Nc(r,a)>0||i&&i.every(function(e){return Nc(e,a)>0})||!1}function dh(e,t){var n=t===void 0?{}:t,r=n.maxDate,i=n.includeDates,a=uc(e,1);return r&&Nc(a,r)>0||i&&i.every(function(e){return Nc(a,e)>0})||!1}function fh(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.includeDates,a=Id(Wc(e),1);return r&&Fc(r,a)>0||i&&i.every(function(e){return Fc(e,a)>0})||!1}function ph(e,t){var n=t===void 0?{}:t,r=n.maxDate,i=n.includeDates,a=wc(Uc(e),1);return r&&Fc(a,r)>0||i&&i.every(function(e){return Fc(a,e)>0})||!1}function mh(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.includeDates,a=Rd(e,1);return r&&Ic(r,a)>0||i&&i.every(function(e){return Ic(e,a)>0})||!1}function hh(e,t){var n=t===void 0?{}:t,r=n.minDate,i=n.yearItemNumber,a=i===void 0?gm:i,o=Th(jm(Rd(e,a)),a).endPeriod,s=r&&Wl(r);return s&&s>o||!1}function gh(e,t){var n=t===void 0?{}:t,r=n.maxDate,i=n.includeDates,a=Dc(e,1);return r&&Ic(a,r)>0||i&&i.every(function(e){return Ic(a,e)>0})||!1}function _h(e,t){var n=t===void 0?{}:t,r=n.maxDate,i=n.yearItemNumber,a=i===void 0?gm:i,o=Th(Dc(e,a),a).startPeriod,s=r&&Wl(r);return s&&s<o||!1}function vh(e){var t=e.minDate,n=e.includeDates;return n&&t?kc(n.filter(function(e){return xc(e,t)>=0})):n?kc(n):t}function yh(e){var t=e.maxDate,n=e.includeDates;return n&&t?Oc(n.filter(function(e){return xc(e,t)<=0})):n?Oc(n):t}function bh(e,t){e===void 0&&(e=[]),t===void 0&&(t=`react-datepicker__day--highlighted`);for(var n=new Map,r=0,i=e.length;r<i;r++){var a=e[r];if(jc(a)){var o=bm(a,`MM.dd.yyyy`),s=n.get(o)||[];s.includes(t)||(s.push(t),n.set(o,s))}else if(typeof a==`object`){var c=Object.keys(a)[0]??``,l=a[c];if(typeof c==`string`&&Array.isArray(l))for(var u=0,d=l.length;u<d;u++){var f=l[u];if(f){var o=bm(f,`MM.dd.yyyy`),s=n.get(o)||[];s.includes(c)||(s.push(c),n.set(o,s))}}}}return n}function xh(e,t){return e.length===t.length&&e.every(function(e,n){return e===t[n]})}function Sh(e,t){e===void 0&&(e=[]),t===void 0&&(t=`react-datepicker__day--holidays`);var n=new Map;return e.forEach(function(e){var r=e.date,i=e.holidayName;if(jc(r)){var a=bm(r,`MM.dd.yyyy`),o=n.get(a)||{className:``,holidayNames:[]};if(!(`className`in o&&o.className===t&&xh(o.holidayNames,[i]))){o.className=t;var s=o.holidayNames;o.holidayNames=s?dm(dm([],s,!0),[i],!1):[i],n.set(a,o)}}}),n}function Ch(e,t,n,r,i){for(var a=i.length,o=[],s=0;s<a;s++){var c=e,l=i[s];l&&(c=fc(c,Rl(l)),c=Cc(c,Bl(l)),c=Tc(c,Hl(l)));var u=Cc(e,(n+1)*r);Gl(c,t)&&Kl(c,u)&&l!=null&&o.push(l)}return o}function wh(e){return e<10?`0${e}`:`${e}`}function Th(e,t){t===void 0&&(t=gm);var n=Math.ceil(Wl(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function Eh(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((n-+t)/36e5)}function Dh(e){var t=e.getSeconds(),n=e.getMilliseconds();return Q(e.getTime()-t*1e3-n)}function Oh(e,t){return Dh(e).getTime()===Dh(t).getTime()}function kh(e){if(!jc(e))throw Error(`Invalid date`);var t=new Date(e);return t.setHours(0,0,0,0),t}function Ah(e,t){if(!jc(e)||!jc(t))throw Error(`Invalid date received`);return Kl(kh(e),kh(t))}function jh(e){return e.key===$.Space}var Mh=function(e){lm(t,e);function t(t){var n=e.call(this,t)||this;return n.inputRef=L.createRef(),n.onTimeChange=function(e){var t,r;n.setState({time:e});var i=n.props.date,a=i instanceof Date&&!isNaN(+i)?i:new Date;if(e?.includes(`:`)){var o=e.split(`:`),s=o[0],c=o[1];a.setHours(Number(s)),a.setMinutes(Number(c))}(r=(t=n.props).onChange)==null||r.call(t,a)},n.renderTimeInput=function(){var e=n.state.time,t=n.props,r=t.date,i=t.timeStr
20ing,a=t.customTimeInput;return a?(0,L.cloneElement)(a,{date:r,value:e,onChange:n.onTimeChange}):L.createElement(`input`,{type:`time`,className:`react-datepicker-time__input`,placeholder:`Time`,name:`time-input`,ref:n.inputRef,onClick:function(){var e;(e=n.inputRef.current)==null||e.focus()},required:!0,value:e,onChange:function(e){n.onTimeChange(e.target.value||i)}})},n.state={time:n.props.timeString},n}return t.getDerivedStateFromProps=function(e,t){return e.timeString===t.time?null:{time:e.timeString}},t.prototype.render=function(){return L.createElement(`div`,{className:`react-datepicker__input-time-container`},L.createElement(`div`,{className:`react-datepicker-time__caption`},this.props.timeInputLabel),L.createElement(`div`,{className:`react-datepicker-time__input-container`},L.createElement(`div`,{className:`react-datepicker-time__input`},this.renderTimeInput())))},t}(L.Component),Nh=function(e){lm(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.dayEl=(0,L.createRef)(),t.handleClick=function(e){!t.isDisabled()&&t.props.onClick&&t.props.onClick(e)},t.handleMouseEnter=function(e){!t.isDisabled()&&t.props.onMouseEnter&&t.props.onMouseEnter(e)},t.handleOnKeyDown=function(e){var n,r;e.key===$.Space&&(e.preventDefault(),e.key=$.Enter),(r=(n=t.props).handleOnKeyDown)==null||r.call(n,e)},t.isSameDay=function(e){return Bm(t.props.day,e)},t.isKeyboardSelected=function(){if(t.props.disabledKeyboardNavigation)return!1;var e=t.props.selectsMultiple?t.props.selectedDates?.some(function(e){return t.isSameDayOrWeek(e)}):t.isSameDayOrWeek(t.props.selected),n=t.props.preSelection&&t.isDisabled(t.props.preSelection);return!e&&t.isSameDayOrWeek(t.props.preSelection)&&!n},t.isDisabled=function(e){return e===void 0&&(e=t.props.day),Zm(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate,disabled:t.props.disabled})},t.isExcluded=function(){return Qm(t.props.day,{excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals})},t.isStartOfWeek=function(){return Bm(t.props.day,km(t.props.day,t.props.locale,t.props.calendarStartDay))},t.isSameWeek=function(e){return t.props.showWeekPicker&&Bm(e,km(t.props.day,t.props.locale,t.props.calendarStartDay))},t.isSameDayOrWeek=function(e){return t.isSameDay(e)||t.isSameWeek(e)},t.getHighLightedClass=function(){var e=t.props,n=e.day,r=e.highlightDates;if(!r)return!1;var i=bm(n,`MM.dd.yyyy`);return r.get(i)},t.getHolidaysClass=function(){var e=t.props,n=e.day,r=e.holidays;if(!r)return[void 0];var i=bm(n,`MM.dd.yyyy`);return r.has(i)?[r.get(i)?.className]:[void 0]},t.isInRange=function(){var e=t.props,n=e.day,r=e.startDate,i=e.endDate;return!r||!i?!1:Hm(n,r,i)},t.isInSelectingRange=function(){var e=t.props,n=e.day,r=e.selectsStart,i=e.selectsEnd,a=e.selectsRange,o=e.selectsDisabledDaysInRange,s=e.startDate,c=e.swapRange,l=e.endDate,u=t.props.selectingDate??t.props.preSelection;if(!(r||i||a)||!u||!o&&t.isDisabled())return!1;if(r&&l&&(Kl(u,l)||Vm(u,l)))return Hm(n,u,l);if(i&&s&&(Gl(u,s)||Vm(u,s)))return Hm(n,s,u);if(a&&s&&!l){if(Vm(u,s)||Gl(u,s))return Hm(n,s,u);if(c&&Kl(u,s))return Hm(n,u,s)}return!1},t.isSelectingRangeStart=function(){if(!t.isInSelectingRange())return!1;var e=t.props,n=e.day,r=e.startDate,i=e.selectsStart,a=e.swapRange,o=e.selectsRange,s=t.props.selectingDate??t.props.preSelection;return i?Bm(n,s):o&&a&&r&&s?Bm(n,Kl(s,r)?s:r):Bm(n,r)},t.isSelectingRangeEnd=function(){if(!t.isInSelectingRange())return!1;var e=t.props,n=e.day,r=e.endDate,i=e.selectsEnd,a=e.selectsRange,o=e.swapRange,s=e.startDate,c=t.props.selectingDate??t.props.preSelection;return i?Bm(n,c):a&&o&&s&&c?Bm(n,Kl(c,s)?s:c):a?Bm(n,c):Bm(n,r)},t.isRangeStart=function(){var e=t.props,n=e.day,r=e.startDate,i=e.endDate;return!r||!i?!1:Bm(r,n)},t.isRangeEnd=function(){var e=t.props,n=e.day,r=e.startDate,i=e.endDate;return!r||!i?!1:Bm(i,n)},t.isWeekend=function(){var e=Fl(t.props.day);return e===0||e===6},t.isAfterMonth=function(){return t.props.month!==void 0&&(t.props.month+1)%12===Vl(t.props.day)},t.isBeforeMonth=function(){return t.props.month!==void 0&&(Vl(t.props.day)+1)%12===t.props.month},t.isCurrentDay=function(){return t.isSameDay(_m())},t.isSelected=function(){return t.props.selectsMultiple?t.props.selectedDates?.some(function(e){return t.isSameDayOrWeek(e)}
20):t.isSameDayOrWeek(t.props.selected)},t.getClassNames=function(e){return Bd(`react-datepicker__day`,t.props.dayClassName?t.props.dayClassName(e):void 0,`react-datepicker__day--`+Dm(t.props.day),{"react-datepicker__day--disabled":t.isDisabled(),"react-datepicker__day--excluded":t.isExcluded(),"react-datepicker__day--selected":t.isSelected(),"react-datepicker__day--keyboard-selected":t.isKeyboardSelected(),"react-datepicker__day--range-start":t.isRangeStart(),"react-datepicker__day--range-end":t.isRangeEnd(),"react-datepicker__day--in-range":t.isInRange(),"react-datepicker__day--in-selecting-range":t.isInSelectingRange(),"react-datepicker__day--selecting-range-start":t.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":t.isSelectingRangeEnd(),"react-datepicker__day--today":t.isCurrentDay(),"react-datepicker__day--weekend":t.isWeekend(),"react-datepicker__day--outside-month":t.isAfterMonth()||t.isBeforeMonth()},t.getHighLightedClass(),t.getHolidaysClass())},t.getAriaLabel=function(){var e=t.props,n=e.day,r=e.ariaLabelPrefixWhenEnabled,i=r===void 0?`Choose`:r,a=e.ariaLabelPrefixWhenDisabled,o=a===void 0?`Not available`:a;return`${t.isDisabled()||t.isExcluded()?o:i} ${bm(n,`PPPP`,t.props.locale)}`},t.getTitle=function(){var e=t.props,n=e.day,r=e.holidays,i=r===void 0?new Map:r,a=e.excludeDates,o=bm(n,`MM.dd.yyyy`),s=[];return i.has(o)&&s.push.apply(s,i.get(o).holidayNames),t.isExcluded()&&s.push(a?.filter(function(e){return e instanceof Date?Bm(e,n):Bm(e?.date,n)}).map(function(e){if(!(e instanceof Date))return e?.message})),s.join(`, `)},t.getTabIndex=function(){var e=t.props.selected,n=t.props.preSelection;return!(t.props.showWeekPicker&&(t.props.showWeekNumber||!t.isStartOfWeek()))&&(t.isKeyboardSelected()||t.isSameDay(e)&&Bm(n,e))?0:-1},t.handleFocusDay=function(){var e;t.shouldFocusDay()&&((e=t.dayEl.current)==null||e.focus({preventScroll:!0}))},t.renderDayContents=function(){return t.props.monthShowsDuplicateDaysEnd&&t.isAfterMonth()||t.props.monthShowsDuplicateDaysStart&&t.isBeforeMonth()?null:t.props.renderDayContents?t.props.renderDayContents(Pl(t.props.day),t.props.day):Pl(t.props.day)},t.render=function(){return L.createElement(`div`,{ref:t.dayEl,className:t.getClassNames(t.props.day),onKeyDown:t.handleOnKeyDown,onClick:t.handleClick,onMouseEnter:t.props.usePointerEvent?void 0:t.handleMouseEnter,onPointerEnter:t.props.usePointerEvent?t.handleMouseEnter:void 0,tabIndex:t.getTabIndex(),"aria-label":t.getAriaLabel(),role:`gridcell`,title:t.getTitle(),"aria-disabled":t.isDisabled(),"aria-current":t.isCurrentDay()?`date`:void 0,"aria-selected":t.isSelected()||t.isInRange()},t.renderDayContents(),t.getTitle()!==``&&L.createElement(`span`,{className:`overlay`},t.getTitle()))},t}return t.prototype.componentDidMount=function(){this.handleFocusDay()},t.prototype.componentDidUpdate=function(){this.handleFocusDay()},t.prototype.shouldFocusDay=function(){var e=!1;return this.getTabIndex()===0&&this.isSameDay(this.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(e=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(e=!1),this.isDayActiveElement()&&(e=!0),this.isDuplicateDay()&&(e=!1)),e},t.prototype.isDayActiveElement=function(){return(this.props.containerRef?.current)?.contains(document.activeElement)&&document.activeElement?.classList.contains(`react-datepicker__day`)},t.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},t}(L.Component),Ph=function(e){lm(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.weekNumberEl=(0,L.createRef)(),t.handleClick=function(e){t.props.onClick&&t.props.onClick(e)},t.handleOnKeyDown=function(e){var n,r;e.key===$.Space&&(e.preventDefault(),e.key=$.Enter),(r=(n=t.props).handleOnKeyDown)==null||r.call(n,e)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!Bm(t.props.date,t.props.selected)&&Bm(t.props.date,t.props.preSelection)},t.getTabIndex=function(){return t.props.showWeekPicker&&t.props.showWeekNumber&&(t.isKeyboardSelected()||Bm(t.props.date,t.props.selected)&&Bm(t.props.preSelection,t.props.selected))?0:-1},t.handleFocusWeekNumber=function(e){var n=!1;t.getTabIndex()===0&&!e?.isInputFocused&&Bm(t.props.date,t.props.preSelection)&&((!document.activeElement||document.activeElement===document.body)&&(n=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(n=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains(`react-datepicker__week-number`)&&(n=!0)),n&&t.weekNumber
20El.current&&t.weekNumberEl.current.focus({preventScroll:!0})},t}return Object.defineProperty(t,"defaultProps",{get:function(){return{ariaLabelPrefix:`week `}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},t.prototype.componentDidUpdate=function(e){this.handleFocusWeekNumber(e)},t.prototype.render=function(){var e=this.props,n=e.weekNumber,r=e.isWeekDisabled,i=e.ariaLabelPrefix,a=i===void 0?t.defaultProps.ariaLabelPrefix:i,o=e.onClick,s={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!o&&!r,"react-datepicker__week-number--selected":!!o&&Bm(this.props.date,this.props.selected)};return L.createElement(`div`,{ref:this.weekNumberEl,className:Bd(s),"aria-label":`${a} ${this.props.weekNumber}`,onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex(),role:`gridcell`},n)},t}(L.Component),Fh=function(e){lm(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.isDisabled=function(e){return Zm(e,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,excludeDateIntervals:n.props.excludeDateIntervals,includeDateIntervals:n.props.includeDateIntervals,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.handleDayClick=function(e,t){n.props.onDayClick&&n.props.onDayClick(e,t)},n.handleDayMouseEnter=function(e){n.props.onDayMouseEnter&&n.props.onDayMouseEnter(e)},n.handleWeekClick=function(e,r,i){for(var a,o,s=new Date(e),c=0;c<7;c++){var l=new Date(e);if(l.setDate(l.getDate()+c),!n.isDisabled(l)){s=l;break}}typeof n.props.onWeekSelect==`function`&&n.props.onWeekSelect(s,r,i),n.props.showWeekPicker&&n.handleDayClick(s,i),(n.props.shouldCloseOnSelect??t.defaultProps.shouldCloseOnSelect)&&((o=(a=n.props).setOpen)==null||o.call(a,!1))},n.formatWeekNumber=function(e){return n.props.formatWeekNumber?n.props.formatWeekNumber(e):Em(e)},n.isWeekDisabled=function(){for(var e=n.startOfWeek(),t=lc(e,6),r=new Date(e);r<=t;){if(!n.isDisabled(r))return!1;r=lc(r,1)}return!0},n.renderDays=function(){var e=n.startOfWeek(),r=[],i=n.formatWeekNumber(e);if(n.props.showWeekNumber){var a=n.props.onWeekSelect||n.props.showWeekPicker?n.handleWeekClick.bind(n,e,i):void 0;r.push(L.createElement(Ph,um({key:`W`},t.defaultProps,n.props,{weekNumber:i,isWeekDisabled:n.isWeekDisabled(),date:e,onClick:a})))}return r.concat([0,1,2,3,4,5,6].map(function(r){var i=lc(e,r);return L.createElement(Nh,um({},t.defaultProps,n.props,{ariaLabelPrefixWhenEnabled:n.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:n.props.disabledDayAriaLabelPrefix,key:i.valueOf(),day:i,onClick:n.handleDayClick.bind(n,i),onMouseEnter:n.handleDayMouseEnter.bind(n,i)}))}))},n.startOfWeek=function(){return km(n.props.day,n.props.locale,n.props.calendarStartDay)},n.isKeyboardSelected=function(){return!n.props.disabledKeyboardNavigation&&!Bm(n.startOfWeek(),n.props.selected)&&Bm(n.startOfWeek(),n.props.preSelection)},n}return Object.defineProperty(t,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e={"react-datepicker__week":!0,"react-datepicker__week--selected":Bm(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()},t=this.props.weekClassName?this.props.weekClassName(this.startOfWeek()):void 0;return L.createElement(`div`,{className:Bd(e,t),role:`row`},this.renderDays())},t}(L.Component),Ih,Lh=6,Rh={TWO_COLUMNS:`two_columns`,THREE_COLUMNS:`three_columns`,FOUR_COLUMNS:`four_columns`},zh=(Ih={},Ih[Rh.TWO_COLUMNS]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},Ih[Rh.THREE_COLUMNS]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},Ih[Rh.FOUR_COLUMNS]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},Ih),Bh=1;function Vh(e,t){return e?Rh.FOUR_COLUMNS:t?Rh.TWO_COLUMNS:Rh.THREE_COLUMNS}var Hh=function(e){lm(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.MONTH_REFS=dm([],Array(12),!0).map(function(){return(0,L.createRef)()}
20),t.QUARTER_REFS=dm([],[,,,,],!0).map(function(){return(0,L.createRef)()}),t.isDisabled=function(e){return Zm(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate,disabled:t.props.disabled})},t.isExcluded=function(e){return Qm(e,{excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals})},t.handleDayClick=function(e,n){var r,i;(i=(r=t.props).onDayClick)==null||i.call(r,e,n,t.props.orderInDisplay)},t.handleDayMouseEnter=function(e){var n,r;(r=(n=t.props).onDayMouseEnter)==null||r.call(n,e)},t.handleMouseLeave=function(){var e,n;(n=(e=t.props).onMouseLeave)==null||n.call(e)},t.isRangeStartMonth=function(e){var n=t.props,r=n.day,i=n.startDate,a=n.endDate;return!i||!a?!1:Rm(kd(r,e),i)},t.isRangeStartQuarter=function(e){var n=t.props,r=n.day,i=n.startDate,a=n.endDate;return!i||!a?!1:zm(Md(r,e),i)},t.isRangeEndMonth=function(e){var n=t.props,r=n.day,i=n.startDate,a=n.endDate;return!i||!a?!1:Rm(kd(r,e),a)},t.isRangeEndQuarter=function(e){var n=t.props,r=n.day,i=n.startDate,a=n.endDate;return!i||!a?!1:zm(Md(r,e),a)},t.isInSelectingRangeMonth=function(e){var n=t.props,r=n.day,i=n.selectsStart,a=n.selectsEnd,o=n.selectsRange,s=n.startDate,c=n.endDate,l=t.props.selectingDate??t.props.preSelection;return!(i||a||o)||!l?!1:i&&c?eh(l,c,e,r):a&&s||o&&s&&!c?eh(s,l,e,r):!1},t.isSelectingMonthRangeStart=function(e){if(!t.isInSelectingRangeMonth(e))return!1;var n=t.props,r=n.day,i=n.startDate,a=n.selectsStart,o=kd(r,e),s=t.props.selectingDate??t.props.preSelection;return a?Rm(o,s):Rm(o,i)},t.isSelectingMonthRangeEnd=function(e){if(!t.isInSelectingRangeMonth(e))return!1;var n=t.props,r=n.day,i=n.endDate,a=n.selectsEnd,o=n.selectsRange,s=kd(r,e),c=t.props.selectingDate??t.props.preSelection;return a||o?Rm(s,c):Rm(s,i)},t.isInSelectingRangeQuarter=function(e){var n=t.props,r=n.day,i=n.selectsStart,a=n.selectsEnd,o=n.selectsRange,s=n.startDate,c=n.endDate,l=t.props.selectingDate??t.props.preSelection;return!(i||a||o)||!l?!1:i&&c?ah(l,c,e,r):a&&s||o&&s&&!c?ah(s,l,e,r):!1},t.isWeekInMonth=function(e){var n=t.props.day,r=lc(e,6);return Rm(e,n)||Rm(r,n)},t.isCurrentMonth=function(e,t){return Wl(e)===Wl(_m())&&t===Vl(_m())},t.isCurrentQuarter=function(e,t){return Wl(e)===Wl(_m())&&t===Pc(_m())},t.isSelectedMonth=function(e,t,n){return Vl(n)===t&&Wl(e)===Wl(n)},t.isSelectMonthInList=function(e,n,r){return r.some(function(r){return t.isSelectedMonth(e,n,r)})},t.isSelectedQuarter=function(e,t,n){return Pc(n)===t&&Wl(e)===Wl(n)},t.isSelectQuarterInList=function(e,n,r){return r.some(function(r){return t.isSelectedQuarter(e,n,r)})},t.isMonthSelected=function(){var e=t.props,n=e.day,r=e.selected,i=e.selectedDates,a=e.selectsMultiple,o=Vl(n);return a?i?.some(function(e){return t.isSelectedMonth(n,o,e)}):!!r&&t.isSelectedMonth(n,o,r)},t.isQuarterSelected=function(){var e=t.props,n=e.day,r=e.selected,i=e.selectedDates,a=e.selectsMultiple,o=Pc(n);return a?i?.some(function(e){return t.isSelectedQuarter(n,o,e)}):!!r&&t.isSelectedQuarter(n,o,r)},t.renderWeeks=function(){if(!ym(t.props.day))return[];for(var e=[],n=t.props.fixedHeight,r=0,i=!1,a=km(Am(t.props.day),t.props.locale,t.props.calendarStartDay),o=function(e){return t.props.showWeekPicker?km(e,t.props.locale,t.props.calendarStartDay):t.props.preSelection},s=t.props.selected?function(e){return t.props.showWeekPicker?km(e,t.props.locale,t.props.calendarStartDay):t.props.selected}(t.props.selected):void 0,c=t.props.preSelection?o(t.props.preSelection):void 0;e.push(L.createElement(Fh,um({},t.props,{ariaLabelPrefix:t.props.weekAriaLabelPrefix,key:r,day:a,month:Vl(t.props.day),onDayClick:t.handleDayClick,onDayMouseEnter:t.handleDayMouseEnter,selected:s,preSelection:c,showWeekNumber:t.props.showWeekNumbers}))),!i;){r++,a=Ec(a,1);var l=n&&r>=Lh,u=!n&&!t.isWeekInMonth(a);if(l||u)if(t.props.peekNextMonth)i=!0;else break}return e},t.onMonthClick=function(e,n){var r=t.isMonthDisabledForLabelDate(n),i=r.isDisabled,a=r.labelDate;i||t.handleDayClick(Am(a),e)},t.onMonthMouseEnter=function(e){var n=t.isMonthDisabledForLabelDate(e),r=n.isDisabled,i=n.labelDate;r||t.handleDayMouseEnter(Am(i))},t.handleMonthNavigation=function(e,n){var r,i,a;(i=(r=t.props).setPreSelection)==null||i.call(r,n),(a=t.MONTH_REFS[e]?.current)==null||a.focus()},t.handleKeyboardNavigation=function(e,n,r){var i=t.props,a=i.selected,o=i.preSelection,s=i.setPreSelection,c=i.minDate,l=i.maxDate,u=i.showFourColumnMonthYearPicker,d=i.showTwoColumnMonthYearPicker;if(o){var f=Vh(u,d),p=t.getVerticalOffset(f),m=zh[f]?.grid,h=function(e,t,n){var r=t,i=n;switch(e){case $.ArrowRight:r=uc(t,Bh),i=n===11?0:n+Bh;break;case $.ArrowLeft:r=Fd(t,Bh),i=n===0?11:n-Bh;break;case $.ArrowUp:r=Fd(t,p),i=(m?.[0])?.includes(n)?n+12-p:n-p;break;case $.ArrowDown:r=uc(t,p),i=(m?.[m.length-1])?.includes(n)?n-12
20+p:n+p;break}return{newCalculatedDate:r,newCalculatedMonth:i}},g=function(e,n,r){for(var i=40,a=e,o=!1,s=0,u=h(a,n,r),d=u.newCalculatedDate,f=u.newCalculatedMonth;!o;){if(s>=i){d=n,f=r;break}if(c&&d<c){a=$.ArrowRight;var p=h(a,d,f);d=p.newCalculatedDate,f=p.newCalculatedMonth}if(l&&d>l){a=$.ArrowLeft;var p=h(a,d,f);d=p.newCalculatedDate,f=p.newCalculatedMonth}if(th(d,t.props)){var p=h(a,d,f);d=p.newCalculatedDate,f=p.newCalculatedMonth}else o=!0;s++}return{newCalculatedDate:d,newCalculatedMonth:f}};if(n===$.Enter){t.isMonthDisabled(r)||(t.onMonthClick(e,r),s?.(a));return}var _=g(n,o,r),v=_.newCalculatedDate,y=_.newCalculatedMonth;switch(n){case $.ArrowRight:case $.ArrowLeft:case $.ArrowUp:case $.ArrowDown:t.handleMonthNavigation(y,v);break}}},t.getVerticalOffset=function(e){return zh[e]?.verticalNavigationOffset??0},t.onMonthKeyDown=function(e,n){var r=t.props,i=r.disabledKeyboardNavigation,a=r.handleOnMonthKeyDown,o=e.key;o!==$.Tab&&e.preventDefault(),i||t.handleKeyboardNavigation(e,o,n),a&&a(e)},t.onQuarterClick=function(e,n){var r=Md(t.props.day,n);nh(r,t.props)||t.handleDayClick(Mm(r),e)},t.onQuarterMouseEnter=function(e){var n=Md(t.props.day,e);nh(n,t.props)||t.handleDayMouseEnter(Mm(n))},t.handleQuarterNavigation=function(e,n){var r,i,a;t.isDisabled(n)||t.isExcluded(n)||((i=(r=t.props).setPreSelection)==null||i.call(r,n),(a=t.QUARTER_REFS[e-1]?.current)==null||a.focus())},t.onQuarterKeyDown=function(e,n){var r,i,a=e.key;if(!t.props.disabledKeyboardNavigation)switch(a){case $.Enter:t.onQuarterClick(e,n),(i=(r=t.props).setPreSelection)==null||i.call(r,t.props.selected);break;case $.ArrowRight:if(!t.props.preSelection)break;t.handleQuarterNavigation(n===4?1:n+1,wc(t.props.preSelection,1));break;case $.ArrowLeft:if(!t.props.preSelection)break;t.handleQuarterNavigation(n===1?4:n-1,Id(t.props.preSelection,1));break}},t.isMonthDisabledForLabelDate=function(e){var n=t.props,r=n.day,i=n.disabled,a=n.minDate,o=n.maxDate,s=n.excludeDates,c=n.includeDates,l=kd(r,e);return i?{isDisabled:!0,labelDate:kd(r,e)}:{isDisabled:((a||o||s||c)&&$m(l,t.props))??!1,labelDate:l}},t.isMonthDisabled=function(e){return t.isMonthDisabledForLabelDate(e).isDisabled},t.getMonthClassNames=function(e){var n=t.props,r=n.day,i=n.startDate,a=n.endDate,o=n.preSelection,s=n.monthClassName,c=s?s(kd(r,e)):void 0,l=t.getSelection();return Bd(`react-datepicker__month-text`,`react-datepicker__month-${e}`,c,{"react-datepicker__month-text--disabled":t.isMonthDisabled(e),"react-datepicker__month-text--selected":l?t.isSelectMonthInList(r,e,l):void 0,"react-datepicker__month-text--keyboard-selected":!t.props.disabledKeyboardNavigation&&o&&t.isSelectedMonth(r,e,o)&&!t.isMonthSelected()&&!t.isMonthDisabled(e),"react-datepicker__month-text--in-selecting-range":t.isInSelectingRangeMonth(e),"react-datepicker__month-text--in-range":i&&a?eh(i,a,e,r):void 0,"react-datepicker__month-text--range-start":t.isRangeStartMonth(e),"react-datepicker__month-text--range-end":t.isRangeEndMonth(e),"react-datepicker__month-text--selecting-range-start":t.isSelectingMonthRangeStart(e),"react-datepicker__month-text--selecting-range-end":t.isSelectingMonthRangeEnd(e),"react-datepicker__month-text--today":t.isCurrentMonth(r,e)})},t.getTabIndex=function(e){if(t.props.preSelection==null)return`-1`;var n=Vl(t.props.preSelection),r=t.isMonthDisabledForLabelDate(n).isDisabled;return e===n&&!(r||t.props.disabledKeyboardNavigation)?`0`:`-1`},t.getQuarterTabIndex=function(e){if(t.props.preSelection==null)return`-1`;var n=Pc(t.props.preSelection),r=nh(t.props.day,t.props);return e===n&&!(r||t.props.disabledKeyboardNavigation)?`0`:`-1`},t.getAriaLabel=function(e){var n=t.props,r=n.chooseDayAriaLabelPrefix,i=r===void 0?`Choose`:r,a=n.disabledDayAriaLabelPrefix,o=a===void 0?`Not available`:a,s=n.day,c=n.locale,l=kd(s,e);return`${t.isDisabled(l)||t.isExcluded(l)?o:i} ${bm(l,`MMMM yyyy`,c)}`},t.getQuarterClassNames=function(e){var n=t.props,r=n.day,i=n.startDate,a=n.endDate,o=n.minDate,s=n.maxDate,c=n.excludeDates,l=n.includeDates,u=n.filterDate,d=n.preSelection,f=n.disabledKeyboardNavigation,p=n.disabled,m=(o||s||c||l||u||p)&&nh(Md(r,e),t.props),h=t.getSelection();return Bd(`react-datepicker__quarter-text`,`react-datepicker__quarter-${e}`,{"react-datepicker__quarter-text--disabled":m,"react-datepicker__quarter-text--selected":h?t.isSelectQuarterInList(r,e,h):void 0,"react-datepicker__quarter-text--keyboard-selected":!f&&d&&t.isSelectedQuarter(r,e,d)&&!t.isQuarterSelected()&&!m,"react-datepicker__quarter-text--in-selecting-range":t.isInSelectingRangeQuarter(e),"react-datepicker__quarter-text--in-range":i&&a?ah(i,a,e,r):void 0,"react-datepicker__quarter-text--range-start":t.isRangeStartQuarter(e),"react-datepicker__quarter-text--range-end":t.isRangeEndQuarter(e),"react-datepicker__quarter-text--today":t.isCurrentQuarter(r,e)})},t.getMonthContent=function(e){var n=t.props,r=n.showFullMonthYearPicker,i=n.renderMonthContent,a=n.locale,o=n.day,s=Ym(e,a),c=Jm(e,a);return i?i(e,s,c,o):r?c:s},t.getQuarterContent=function(e){var n=t.props,r=n.renderQuarterContent,i=n.locale,a=Xm(e,i);return r?.(e,a)??a},t.renderMonths=function(){var e=t.props,n=e.showTwoColumnMonthYearPicker,r=e.showFourColumnMonthYearPicker,i=e.day,a=e.selected;return(zh[Vh(r,n)]?.grid)?.map(function(e,n){return L.createElement(`div`,{className:`react-datepicker__month-wrapper`,key:n},e.map(function(e,n){return L.createElement(`div`,{ref:t.MONTH_REFS[e],key:n,onClick:function(n){t.onMonthClick(n,e)},onKeyDown:function(n){jh(n)&&(n.preventDefault(),n.key=$.Enter),t.onMonthKeyDown(n,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onMonthMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onMonthMouseEnter(e)}:void 0,tabIndex:Number(t.getTabIndex(e)),className:t.getMonthClassNames(e),"aria-disabled":t.isMonthDisabled(e),role:`option`,"aria-label":t.getAriaLabel(e),"aria-current":t.isCurrentMonth(i,e)?`date`:void 0,"aria-selected":a?t.isSelectedMonth(i,e,a):void 0},t.getMonthContent(e))}))})},t.renderQuarters=function(){var e=t.props,n=e.day,r=e.selected;return L.createElement(`div`,{className:`react-datepicker__quarter-wrapper`},[1,2,3,4].map(function(e,i){return L.createElement(`div`,{key:i,ref:t.QUARTER_REFS[i],role:`option`,onClick:function(n){t.onQuarterClick(n,e)},onKeyDown:function(n){t.onQuarterKeyDown(n,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onQuarterMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onQuarterMouseEnter(e)}:void 0,className:t.getQuarterClassNames(e),"aria-selected":r?t.isSelectedQuarter(n,e,r):void 0,tabIndex:Number(t.getQuarterTabIndex(e)),"aria-current":t.isCurrentQuarter(n,e)?`date`:void 0},t.getQuarterContent(e))}))},t.getClassNames=function(){var e=t.props,n=e.selectingDate,r=e.selectsStart,i=e.selectsEnd,a=e.showMonthYearPicker,o=e.showQuarterYearPicker,s=e.showWeekPicker;return Bd(`react-datepicker__month`,{"react-datepicker__month--selecting-range":n&&(r||i)},{"react-datepicker__monthPicker":a},{"react-datepicker__quarterPicker":o},{"react-datepicker__weekPicker":s})},t}return t.prototype.getSelection=function(){var e=this.props,t=e.selected,n=e.selectedDates;if(e.selectsMultiple)return n;if(t)return[t]},t.prototype.render=function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,i=e.ariaLabelPrefix,a=i===void 0?`Month `:i,o=a?a.trim()+` `:``,s=ym(r)?`${o}${bm(r,`MMMM, yyyy`,this.props.locale)}`:``;return t||n?L.createElement(`div`,{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":s,role:`listbox`},t?this.renderMonths():this.renderQuarters()):L.createElement(`div`,{role:`table`},this.props.dayNamesHeader&&L.createElement(`div`,{role:`rowgroup`},this.props.dayNamesHeader),L.createElement(`div`,{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":s,role:`rowgroup`},this.renderWeeks()))},t}(L.Component),Uh=function(e){lm(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.monthOptionButtonsRef={},t.isSelectedMonth=function(e){return t.props.month===e},t.handleOptionKeyDown=function(e,n){var r;switch(n.key){case`Enter`:n.preventDefault(),t.onChange(e);break;case`Escape`:n.preventDefault(),t.props.onCancel();break;case`ArrowUp`:case`ArrowDown`:n.preventDefault();var i=(e+(n.key===`ArrowUp`?-1:1)+t.props.monthNames.length)%t.props.monthNames.length;(r=t.monthOptionButtonsRef[i])==null||r.focus();break}},t.renderOptions=function(){return t.monthOptionButtonsRef={},t.props.monthNames.map(function(e,n){return L.createElement(`div`,{ref:function(e){t.monthOptionButtonsRef[n]=e,t.isSelectedMonth(n)&&e?.focus()},role:`button`,tabIndex:0,className:t.isSelectedMonth(n)?`react-datepicker__month-option react-datepicker__month-option--selected_month`:`react-datepicker__month-option`,key:e,onClick:t.onChange.bind(t,n),onKeyDown:t.handleOptionKeyDown.bind(t,n),"aria-selected":t.isSelectedMonth(n)?`true`:void 0},t.isSelectedMonth(n)?L.createElement(`span`,{className:`react-datepicker__month-option--selected`},`â`):``,e)})},t.onChange=function(e){return t.props.onChange(e)},t.handleClickOutside=function(){return t.props.onCancel()},t}return t.prototype.render=function(){return L.createElement(mm,{className:`react-datepicker__month-dropdown`,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(L.Component),Wh=function(e){lm(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(e){return e.map(function(e,t){return L.createElement(`option`,{key:e,value:t},e)})},t.renderSelectMode=function(e){return L.createElement(`select`,{value:t.props.month,className:`react-datepicker__month-select`,onChange:function(e){return t.onChange(parseInt(e.target.value))}},t.renderSelectOptions(e))},t.renderReadView=function(e,n){return L.createElement(`button`,{key:`read`,type:`button`,style:{visibility:e?`visible`:`hidden`},className:`react-datepicker__month-read-view`,onClick:t.toggleDropdown},L.createElement(`span`,{className:`react-datepicker__month-read-view--down-arrow`}),L.createElement(`span`,{className:`react-datepicker__month-read-view--selected-month`},n[t.props.month]))},t.renderDropdown=function(e){return L.createElement(Uh,um({key:`dropdown`},t.props,{monthNames:e,onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(e){var n=t.state.dropdownVisible,r=[t.renderReadView(!n,e)];return n&&r.unshift(t.renderDropdown(e)),r},t.onChange=function(e){t.toggleDropdown(),e!==t.props.month&&t.props.onChange(e)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return t.prototype.render=function(){var e=this,t=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(t){return Ym(t,e.props.locale)}:function(t){return Jm(t,e.props.locale)}),n;switch(this.props.dropdownMode){case`scroll`:n=this.renderScrollMode(t);break;case`select`:n=this.renderSelectMode(t);break}return L.createElement(`div`,{className:`react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--${this.props.dropdownMode}`},n)},t}(L.Component);function Gh(e,t){for(var n=[],r=Am(e),i=Am(t);!Gl(r,i);)n.push(_m(r)),r=uc(r,1);return n}var Kh=function(e){lm(t,e);function t(t){var n=e.call(this,t)||this;return n.renderOptions=function(){return n.state.monthYearsList.map(function(e){var t=Ul(e),r=Lm(n.props.date,e)&&Rm(n.props.date,e);return L.createElement(`div`,{className:r?`react-datepicker__month-year-option--selected_month-year`:`react-datepicker__month-year-option`,key:t,onClick:n.onChange.bind(n,t),"aria-selected":r?`true`:void 0},r?L.createElement(`span`,{className:`react-datepicker__month-year-option--selected`},`â`):``,bm(e,n.props.dateFormat,n.props.locale))})},n.onChange=function(e){return n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.state={monthYearsList:Gh(n.props.minDate,n.props.maxDate)},n}return t.prototype.render=function(){var e=Bd({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return L.createElement(mm,{className:e,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(L.Component),qh=function(e){lm(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=Am(t.props.minDate),n=Am(t.props.maxDate),r=[];!Gl(e,n);){var i=Ul(e);r.push(L.createElement(`option`,{key:i,value:i},bm(e,t.props.dateFormat,t.props.locale))),e=uc(e,1)}return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return L.createElement(`select`,{value:Ul(Am(t.props.date)),className:`react-datepicker__month-year-select`,onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){var n=bm(t.props.date,t.props.dateFormat,t.props.locale);return L.createElement(`div`,{key:`read`,style:{visibility:e?`visible`:`hidden`},className:`react-datepicker__month-year-read-view`,onClick:t.toggleDropdown},L.createElement(`span`,{className:`react-datepicker__month-year-read-view--down-arrow`}),L.createElement(`span`,{className:`react-datepicker__month-year-read-view--selected-month-year`},n))},t.renderDropdown=function(){return L.createElement(Kh,um({key:`dropdown`},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown();var n=_m(e);Lm(t.props.date,n)&&Rm(t.props.date,n)||t.props.onChange(n)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return t.prototype.render=function(){var e;switch(this.props.dropdownMode){case`scroll`:e=this.renderScrollMode();break;case`select`:e=this.renderSelectMode();break}return L.createElement(`div`,{className:`react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--${this.props.dropdownMode}`},e)},t}(L.Component),Jh=function(e){lm(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){n.list&&(n.list.scrollTop=(n.
20centerLi&&t.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-(n.header?.clientHeight??0):n.list.clientHeight,n.centerLi))??0)})},n.handleClick=function(e){var t,r;(n.props.minTime||n.props.maxTime)&&lh(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&ch(e,n.props)||(r=(t=n.props).onChange)==null||r.call(t,e)},n.isSelectedTime=function(e){return n.props.selected&&Oh(n.props.selected,e)},n.isDisabledTime=function(e){return(n.props.minTime||n.props.maxTime)&&lh(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&ch(e,n.props)},n.liClasses=function(e){var r=[`react-datepicker__time-list-item`,n.props.timeClassName?n.props.timeClassName(e):void 0];return n.isSelectedTime(e)&&r.push(`react-datepicker__time-list-item--selected`),n.isDisabledTime(e)&&r.push(`react-datepicker__time-list-item--disabled`),n.props.injectTimes&&(Rl(e)*3600+Bl(e)*60+Hl(e))%((n.props.intervals??t.defaultProps.intervals)*60)!=0&&r.push(`react-datepicker__time-list-item--injected`),r.join(` `)},n.handleOnKeyDown=function(e,t){var r,i;e.key===$.Space&&(e.preventDefault(),e.key=$.Enter),(e.key===$.ArrowUp||e.key===$.ArrowLeft)&&e.target instanceof HTMLElement&&e.target.previousSibling&&(e.preventDefault(),e.target.previousSibling instanceof HTMLElement&&e.target.previousSibling.focus()),(e.key===$.ArrowDown||e.key===$.ArrowRight)&&e.target instanceof HTMLElement&&e.target.nextSibling&&(e.preventDefault(),e.target.nextSibling instanceof HTMLElement&&e.target.nextSibling.focus()),e.key===$.Enter&&n.handleClick(t),(i=(r=n.props).handleOnKeyDown)==null||i.call(r,e)},n.renderTimes=function(){for(var e=[],r=typeof n.props.format==`string`?n.props.format:`p`,i=n.props.intervals??t.defaultProps.intervals,a=n.props.selected||n.props.openToDate||_m(),o=Om(a),s=n.props.injectTimes&&n.props.injectTimes.sort(function(e,t){return e.getTime()-t.getTime()}),c=60*Eh(a)/i,l=0;l<c;l++){var u=Cc(o,l*i);if(e.push(u),s){var d=Ch(o,u,l,i,s);e=e.concat(d)}}var f=e.reduce(function(e,t){return t.getTime()<=a.getTime()?t:e},e[0]);return e.map(function(e){return L.createElement(`li`,{key:e.valueOf(),onClick:n.handleClick.bind(n,e),className:n.liClasses(e),ref:function(t){e===f&&(n.centerLi=t)},onKeyDown:function(t){n.handleOnKeyDown(t,e)},tabIndex:e===f?0:-1,role:`option`,"aria-selected":n.isSelectedTime(e)?`true`:void 0,"aria-disabled":n.isDisabledTime(e)?`true`:void 0},bm(e,r,n.props.locale))})},n.renderTimeCaption=function(){return n.props.showTimeCaption===!1?L.createElement(L.Fragment,null):L.createElement(`div`,{className:`react-datepicker__header react-datepicker__header--time ${n.props.showTimeSelectOnly?`react-datepicker__header--time--only`:``}`,ref:function(e){n.header=e}},L.createElement(`div`,{className:`react-datepicker-time__header`},n.props.timeCaption))},n}return Object.defineProperty(t,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:`Time`,showTimeCaption:!0}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.observeDatePickerHeight
20Changes()},t.prototype.componentWillUnmount=function(){var e;(e=this.resizeObserver)==null||e.disconnect()},t.prototype.observeDatePickerHeightChanges=function(){var e=this,t=this.props.monthRef;this.updateContainerHeight(),t&&(this.resizeObserver=new ResizeObserver(function(){e.updateContainerHeight()}),this.resizeObserver.observe(t))},t.prototype.updateContainerHeight=function(){this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},t.prototype.render=function(){var e=this,n=this.state.height;return L.createElement(`div`,{className:`react-datepicker__time-container ${this.props.todayButton??t.defaultProps.todayButton?`react-datepicker__time-container--with-today-button`:``}`},this.renderTimeCaption(),L.createElement(`div`,{className:`react-datepicker__time`},L.createElement(`div`,{className:`react-datepicker__time-box`},L.createElement(`ul`,{className:`react-datepicker__time-list`,ref:function(t){e.list=t},style:n?{height:n}:{},role:`listbox`,"aria-label":this.props.timeCaption},this.renderTimes()))))},t.calcCenterPosition=function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)},t}(L.Component),Yh=3,Xh=function(e){lm(t,e);function t(t){var n=e.call(this,t)||this;return n.YEAR_REFS=dm([],Array(n.props.yearItemNumber),!0).map(function(){return(0,L.createRef)()}),n.isDisabled=function(e){return Zm(e,{minDate:n.props.minDate,maxDate:n.props.maxDate,excludeDates:n.props.excludeDates,includeDates:n.props.includeDates,filterDate:n.props.filterDate})},n.isExcluded=function(e){return Qm(e,{excludeDates:n.props.excludeDates})},n.selectingDate=function(){return n.props.selectingDate??n.props.preSelection},n.updateFocusOnPaginate=function(e){window.requestAnimationFrame(function(){var t;(t=n.YEAR_REFS[e]?.current)==null||t.focus()})},n.handleYearClick=function(e,t){n.props.onDayClick&&n.props.onDayClick(e,t)},n.handleYearNavigation=function(e,t){var r,i,a,o=n.props,s=o.date,c=o.yearItemNumber;if(!(s===void 0||c===void 0)){var l=Th(s,c).startPeriod;n.isDisabled(t)||n.isExcluded(t)||((i=(r=n.props).setPreSelection)==null||i.call(r,t),e-l<0?n.updateFocusOnPaginate(c-(l-e)):e-l>=c?n.updateFocusOnPaginate(Math.abs(c-(e-l))):(a=n.YEAR_REFS[e-l]?.current)==null||a.focus())}},n.isSameDay=function(e,t){return Bm(e,t)},n.isCurrentYear=function(e){return e===Wl(_m())},n.isRangeStart=function(e){return n.props.startDate&&n.props.endDate&&Lm(Pd(_m(),e),n.props.startDate)},n.isRangeEnd=function(e){return n.props.startDate&&n.props.endDate&&Lm(Pd(_m(),e),n.props.endDate)},n.isInRange=function(e){return rh(e,n.props.startDate,n.props.endDate)},n.isInSelectingRange=function(e){var t=n.props,r=t.selectsStart,i=t.selectsEnd,a=t.selectsRange,o=t.startDate,s=t.endDate;return!(r||i||a)||!n.selectingDate()?!1:r&&s?rh(e,n.selectingDate(),s):i&&o||a&&o&&!s?rh(e,o,n.selectingDate()):!1},n.isSelectingRangeStart=function(e){if(!n.isInSelectingRange(e))return!1;var t=n.props,r=t.startDate,i=t.selectsStart,a=Pd(_m(),e);return i?Lm(a,n.selectingDate()??null):Lm(a,r??null)},n.isSelectingRangeEnd=function(e){if(!n.isInSelectingRange(e))return!1;var t=n.props,r=t.endDate,i=t.selectsEnd,a=t.selectsRange,o=Pd(_m(),e);return i||a?Lm(o,n.selectingDate()??null):Lm(o,r??null)},n.isKeyboardSelected=function(e){if(!(n.props.disabledKeyboardNavigation||n.props.date===void 0||n.props.preSelection==null)){var t=n.props,r=t.minDate,i=t.maxDate,a=t.excludeDates,o=t.includeDates,s=t.filterDate,c=t.selected,l=jm(Pd(n.props.date,e)),u=(r||i||a||o||s)&&ih(e,n.props),d=!!c&&Bm(l,jm(c)),f=Bm(l,jm(n.props.preSelection));return!n.props.inline&&!d&&f&&!u}},n.isSelectedYear=function(e){var t=n.props,r=t.selectsMultiple,i=t.selected,a=t.selectedDates;return r?a?.some(function(t){return e===Wl(t)}):!!i&&e===Wl(i)},n.onYearClick=function(e,t){var r=n.props.date;r!==void 0&&n.handleYearClick(jm(Pd(r,t)),e)},n.onYearKeyDown=function(e,t){var r,i,a=e.key,o=n.props,s=o.date,c=o.yearItemNumber,l=o.handleOnKeyDown;if(a!==$.Tab&&e.preventDefault(),!n.props.disabledKeyboardNavigation)switch(a){case $.Enter:if(n.props.selected==null)break;n.onYearClick(e,t),(i=(r=n.props).setPreSelection)==null||i.call(r,n.props.selected);break;case $.ArrowRight:if(n.props.preSelection==null)break;n.handleYearNavigation(t+1,Dc(n.props.preSelection,1));break;case $.ArrowLeft:if(n.props.preSelection==null)break;n.handleYearNavigation(t-1,Rd(n.props.preSelection,1));break;case $.ArrowUp:if(s===void 0||c===void 0||n.props.preSelection==null)break;var u=Th(s,c).startPeriod,d=Yh,f=t-d;if(f<u){var p=c%d;t>=u&&t<u+p?d=p:d+=p,f=t-d}n.handleYearNavigation(f,Rd(n.props.preSelection,d));break;case $.ArrowDown:if(s===void 0||c===void 0||n.props.preSelection==null)break;var m=Th(s,c).endPeriod,d=Yh,f=t+d;if(f>m){var p=c%d;t<=m&&t>m-p?d=p:d+=p,f=t+d}n.handleYearNavigation(f,Dc(n.props.preSelection,d));break}l&&l(e)},n.getYearClassNames=function(e){var t=n.props,r=t.date,i=t.disabled,a=t.minDate,o=t.maxDate,s=t.excludeDates,c=t.includeDates,l=t.filterDate,u=t.yearClassName;return Bd(`react-datepicker__year-text`,`react-datepicker__year-${e}`,r?u?.(Pd(r,e)):void 0,{"react-datepicker__year-text--selected":n.isSelectedYear(e),"react-datepicker__year-text--disabled":(a||o||s||c||l||i)&&ih(e,n.props),"react-datepicker__year-text--keyboard-selected":n.isKeyboardSelected(e),"react-datepicker__year-text--range-start":n.isRangeStart(e),"react-datepicker__year-text--range-end":n.isRangeEnd(e),"react-datepicker__year-text--in-range":n.isInRange(e),"react-datepicker__year-text--in-selecting-range":n.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":n.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":n.isSelectingRangeEnd(e),"react-datepicker__year-text--today":n.isCurrentYear(e)})},n.getYearTabIndex=function(e){if(n.props.disabledKeyboardNavigation||n.props.preSelection==null)return`-1`;var t=Wl(n.props.preSelection),r=ih(e,n.props);return e===t&&!r?`0`:`-1`},n.getYearContent=function(e){return n.props.renderYearContent?n.props.renderYearContent(e):e},n}return t.prototype.render=function(){var e=this,t=[],n=this.props,r=n.date,i=n.yearItemNumber,a=n.onYearMouseEnter,o=n.onYearMouseLeave;if(r===void 0)return null;for(var s=Th(r,i),c=s.startPeriod,l=s.endPeriod,u=function(n){t.push(L.createElement(`div`,{ref:d.YEAR_REFS[n-c],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){jh(t)&&(t.preventDefault(),t.key=$.Enter),e.onYearKeyDown(t,n)},tabIndex:Number(d.getYearTabIndex(n)),className:d.getYearClassNames(n),onMouseEnter:d.props.usePointerEvent?void 0:function(e){return a(e,n)},onPointerEnter:d.props.usePointerEvent?function(e){return a(e,n)}:void 0,onMouseLeave:d.props.usePointerEvent?void 0:function(e){return o(e,n)},onPointerLeave:d.props.usePointerEvent?function(e){return o(e,n)}:void 0,key:n,"aria-current":d.isCurrentYear(n)?`date`:void 0},d.getYearContent(n)))},d=this,f=c;f<=l;f++)u(f);return L.createElement(`div`,{className:`react-datepicker__year`},L.createElement(`div`,{className:`react-datepicker__year-wrapper`,onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},t}(L.Component);function Zh(e,t,n,r){for(var i=[],a=0;a<2*t+1;a++){var o=e+t-a,s=!0;n&&(s=Wl(n)<=o),r&&s&&(s=Wl(r)>=o),s&&i.push(o)}return i}var Qh=function(e){lm(t,e);function t(t){var n=e.call(this,t)||this;n.yearOptionButtonsRef={},n.handleOptionKeyDown=function(e,t){var r;switch(t.key){case`Enter`:t.preventDefault(),n.onChange(e);break;case`Escape`:t.preventDefault(),n.props.onCancel();break;case`ArrowUp`:case`ArrowDown`:t.preventDefault();var i=e+(t.key===`ArrowUp`?1:-1);n.yearOptionButtonsRef[i]&&((r=n.yearOptionButtonsRef[i])==null||r.focus());break}},n.renderOptions=function(){n.yearOptionButtonsRef={};var e=n.props.year,t=n.state.yearsList.map(function(t){return L.createElement(`div`,{ref:function(r){n.yearOptionButtonsRef[t]=r,t===e&&r?.focus()},role:`button`,tabIndex:0,className:e===t?`react-datepicker__year-option react-datepicker__year-option--selected_year`:`react-datepicker__year-option`,key:t,onClick:n.onChange.bind(n,t),onKeyDown:n.handleOptionKeyDown.bind(n,t),"aria-selected":e===t?`true`:void 0},e===t?L.createElement(`span`,{className:`react-datepicker__year-option--selected`},`â`):``,t)}),r=n.props.minDate?Wl(n.props.minDate):null,i=n.props.maxDate?Wl(n.props.maxDate):null;return(!i||!n.state.yearsList.find(function(e){return e===i}))&&t.unshift(L.createElement(`div`,{className:`react-datepicker__year-option`,key:`upcoming`,onClick:n.incrementYears},L.createElement(`a`,{className:`react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming`}))),(!r||!n.state.yearsList.find(function(e){return e===r}
20))&&t.push(L.createElement(`div`,{className:`react-datepicker__year-option`,key:`previous`,onClick:n.decrementYears},L.createElement(`a`,{className:`react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous`}))),t},n.onChange=function(e){n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.shiftYears=function(e){var t=n.state.yearsList.map(function(t){return t+e});n.setState({yearsList:t})},n.incrementYears=function(){return n.shiftYears(1)},n.decrementYears=function(){return n.shiftYears(-1)};var r=t.yearDropdownItemNumber,i=t.scrollableYearDropdown,a=r||(i?10:5);return n.state={yearsList:Zh(n.props.year,a,n.props.minDate,n.props.maxDate)},n.dropdownRef=(0,L.createRef)(),n}return t.prototype.componentDidMount=function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find(function(e){return e.ariaSelected}):null;e.scrollTop=n&&n instanceof HTMLElement?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}},t.prototype.render=function(){var e=Bd({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return L.createElement(mm,{className:e,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(L.Component),$h=function(e){lm(t,e);function t(){var t=e!==null&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=t.props.minDate?Wl(t.props.minDate):1900,n=t.props.maxDate?Wl(t.props.maxDate):2100,r=[],i=e;i<=n;i++)r.push(L.createElement(`option`,{key:i,value:i},i));return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return L.createElement(`select`,{value:t.props.year,className:`react-datepicker__year-select`,onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){return L.createElement(`button`,{key:`read`,type:`button`,style:{visibility:e?`visible`:`hidden`},className:`react-datepicker__year-read-view`,onClick:t.toggleDropdown},L.createElement(`span`,{className:`react-datepicker__year-read-view--down-arrow`}),L.createElement(`span`,{className:`react-datepicker__year-read-view--selected-year`},t.props.year))},t.renderDropdown=function(){return L.createElement(Qh,um({key:`dropdown`},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown(),e!==t.props.year&&t.props.onChange(e)},t.toggleDropdown=function(e){t.setState({dropdownVisible:!t.state.dropdownVisible},function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,e)})},t.handleYearChange=function(e,n){var r;(r=t.onSelect)==null||r.call(t,e,n),t.setOpen()},t.onSelect=function(e,n){var r,i;(i=(r=t.props).onSelect)==null||i.call(r,e,n)},t.setOpen=function(){var e,n;(n=(e=t.props).setOpen)==null||n.call(e,!0)},t}return t.prototype.render=function(){var e;switch(this.props.dropdownMode){case`scroll`:e=this.renderScrollMode();break;case`select`:e=this.renderSelectMode();break}return L.createElement(`div`,{className:`react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--${this.props.dropdownMode}`},e)},t}(L.Component),eg=[`react-datepicker__year-select`,`react-datepicker__month-select`,`react-datepicker__month-year-select`],tg=`react-datepicker-ignore-onclickoutside`,ng=function(e){var t=(e.className||``).split(/\s+/);return eg.some(function(e){return t.indexOf(e)>=0})},rg=function(e){lm(t,e);function t(n){var r=e.call(this,n)||this;return r.monthContainer=void 0,r.handleClickOutside=function(e){r.props.onClickOutside(e)},r.setClickOutsideRef=function(){return r.containerRef.current},r.handleDropdownFocus=function(e){var t,n;ng(e.target)&&((n=(t=r.props).onDropdownFocus)==null||n.call(t,e))},r.getDateInView=function(){var e=r.props,t=e.preSelection,n=e.selected,i=e.openToDate,a=vh(r.props),o=yh(r.props),s=_m();return i||n||t||(a&&Kl(s,a)?a:o&&Gl(s,o)?o:s)},r.increaseMonth=function(){r.setState(function(e){var t=e.date;return{date:uc(t,1)}},function(){return r.handleMonthChange(r.state.date)})},r.decreaseMonth=function(){r.setState(function(e){var t=e.date;return{date:Fd(t,1)}},function(){return r.handleMonthChange(r.state.date)})},r.handleDayClick=function(e,t,n){r.props.onSelect(e,t,n),r.props.setPreSelection&&r.props.setPreSelection(e)},r.handleDayMouseEnter=function(e){r.setState({selectingDate:e}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)},r.handleMonthMouseLeave=function(){r.setState({selectingDate:void 0}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()},r.handleYearMouseEnter=function(e,t){r.setState({selectingDate:Pd(_m(),t)}
20),r.props.onYearMouseEnter&&r.props.onYearMouseEnter(e,t)},r.handleYearMouseLeave=function(e,t){r.props.onYearMouseLeave&&r.props.onYearMouseLeave(e,t)},r.handleYearChange=function(e){var t,n,i,a;(n=(t=r.props).onYearChange)==null||n.call(t,e),r.setState({isRenderAriaLiveMessage:!0}),r.props.adjustDateOnChange&&(r.props.onSelect(e),(a=(i=r.props).setOpen)==null||a.call(i,!0)),r.props.setPreSelection&&r.props.setPreSelection(e)},r.getEnabledPreSelectionDateForMonth=function(e){if(!Zm(e,r.props))return e;for(var t=Am(e),n=Lc(Im(e),t),i=null,a=0;a<=n;a++){var o=lc(t,a);if(!Zm(o,r.props)){i=o;break}}return i},r.handleMonthChange=function(e){var t,n,i=r.getEnabledPreSelectionDateForMonth(e)??e;r.handleCustomMonthChange(i),r.props.adjustDateOnChange&&(r.props.onSelect(i),(n=(t=r.props).setOpen)==null||n.call(t,!0)),r.props.setPreSelection&&r.props.setPreSelection(i)},r.handleCustomMonthChange=function(e){var t,n;(n=(t=r.props).onMonthChange)==null||n.call(t,e),r.setState({isRenderAriaLiveMessage:!0})},r.handleMonthYearChange=function(e){r.handleYearChange(e),r.handleMonthChange(e)},r.changeYear=function(e){r.setState(function(t){var n=t.date;return{date:Pd(n,Number(e))}},function(){return r.handleYearChange(r.state.date)})},r.changeMonth=function(e){r.setState(function(t){var n=t.date;return{date:kd(n,Number(e))}},function(){return r.handleMonthChange(r.state.date)})},r.changeMonthYear=function(e){r.setState(function(t){var n=t.date;return{date:Pd(kd(n,Vl(e)),Wl(e))}},function(){return r.handleMonthYearChange(r.state.date)})},r.header=function(e){if(e===void 0&&(e=r.state.date),!ym(e))return[];var t=r.props.disabled,n=km(e,r.props.locale,r.props.calendarStartDay),i=[];return r.props.showWeekNumbers&&i.push(L.createElement(`div`,{key:`W`,className:`react-datepicker__day-name ${t?`react-datepicker__day-name--disabled`:``}`,role:`columnheader`},L.createElement(`span`,{className:`react-datepicker__sr-only`},`Week number`),L.createElement(`span`,{"aria-hidden":`true`},r.props.weekLabel||`#`))),i.concat([0,1,2,3,4,5,6].map(function(e){var i=lc(n,e),a=r.formatWeekday(i,r.props.locale),o=r.props.weekDayClassName?r.props.weekDayClassName(i):void 0;return L.createElement(`div`,{key:e,role:`columnheader`,className:B
20d(`react-datepicker__day-name`,o,t?`react-datepicker__day-name--disabled`:``)},L.createElement(`span`,{className:`react-datepicker__sr-only`},bm(i,`EEEE`,r.props.locale)),L.createElement(`span`,{"aria-hidden":`true`},a))}))},r.formatWeekday=function(e,t){return r.props.formatWeekDay?Gm(e,r.props.formatWeekDay,t):r.props.useWeekdaysShort?qm(e,t):Km(e,t)},r.decreaseYear=function(){r.setState(function(e){var n=e.date;return{date:Rd(n,r.props.showYearPicker?r.props.yearItemNumber??t.defaultProps.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})},r.clearSelectingDate=function(){r.setState({selectingDate:void 0})},r.renderPreviousButton=function(){if(!r.props.renderCustomHeader){var e=r.props.monthsShown??t.defaultProps.monthsShown,n=r.props.showPreviousMonths?e-1:0,i=r.props.monthSelectedIn??n,a=Fd(r.state.date,i),o;switch(!0){case r.props.disabled:o=!0;break;case r.props.showMonthYearPicker:o=mh(r.state.date,r.props);break;case r.props.showYearPicker:o=hh(r.state.date,r.props);break;case r.props.showQuarterYearPicker:o=fh(r.state.date,r.props);break;default:o=uh(a,r.props);break}if(!(!(r.props.forceShowMonthNavigation??t.defaultProps.forceShowMonthNavigation)&&!r.props.showDisabledMonthNavigation&&o||r.props.showTimeSelectOnly)){var s=[`react-datepicker__navigation-icon`,`react-datepicker__navigation-icon--previous`],c=[`react-datepicker__navigation`,`react-datepicker__navigation--previous`],l=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(l=r.decreaseYear),o&&r.props.showDisabledMonthNavigation&&(c.push(`react-datepicker__navigation--previous--disabled`),l=void 0);var u=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,d=r.props,f=d.previousMonthButtonLabel,p=f===void 0?t.defaultProps.previousMonthButtonLabel:f,m=d.previousYearButtonLabel,h=m===void 0?t.defaultProps.previousYearButtonLabel:m,g=r.props,_=g.previousMonthAriaLabel,v=_===void 0?typeof p==`string`?p:`Previous Month`:_,y=g.previousYearAriaLabel,b=y===void 0?typeof h==`string`?h:`Previous Year`:y;return L.createElement(`button`,{type:`button`,className:c.join(` `),onClick:l,onKeyDown:r.props.handleOnKeyDown,"aria-label":u?b:v},L.createElement(`span`,{className:s.join(` `)},u?h:p))}}},r.increaseYear=function(){r.setState(function(e){var n=e.date;return{date:Dc(n,r.props.showYearPicker?r.props.yearItemNumber??t.defaultProps.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})},r.renderNextButton=function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.disabled:e=!0;break;case r.props.showMonthYearPicker:e=gh(r.state.date,r.props);break;case r.props.showYearPicker:e=_h(r.state.date,r.props);break;case r.props.showQuarterYearPicker:e=ph(r.state.date,r.props);break;default:e=dh(r.state.date,r.props);break}if(!(!(r.props.forceShowMonthNavigation??t.defaultProps.forceShowMonthNavigation)&&!r.props.showDisabledMonthNavigation&&e||r.props.showTimeSelectOnly)){var n=[`react-datepicker__navigation`,`react-datepicker__navigation--next`],i=[`react-datepicker__navigation-icon`,`react-datepicker__navigation-icon--next`];r.props.showTimeSelect&&n.push(`react-datepicker__navigation--next--with-time`),r.props.todayButton&&n.push(`react-datepicker__navigation--next--with-today-button`);var a=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(a=r.increaseYear),e&&r.props.showDisabledMonthNavigation&&(n.push(`react-datepicker__navigation--next--disabled`),a=void 0);var o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,s=r.props,c=s.nextMonthButtonLabel,l=c===void 0?t.defaultProps.nextMonthButtonLabel:c,u=s.nextYearButtonLabel,d=u===void 0?t.defaultProps.nextYearButtonLabel:u,f=r.props,p=f.nextMonthAriaLabel,m=p===void 0?typeof l==`string`?l:`Next Month`:p,h=f.nextYearAriaLabel,g=h===void 0?typeof d==`string`?d:`Next Year`:h;return L.createElement(`button`,{type:`button`,className:n.join(` `),onClick:a,onKeyDown:r.props.handleOnKeyDown,"aria-label":o?g:m},L.createElement(`span`,{className:i.join(` `)},o?d:l))}}},r.renderCurrentMonth=function(e){e===void 0&&(e=r.state.date);var t=[`react-datepicker__current-month`];return r.props.showYearDropdown&&t.push(`react-datepicker__current-month--hasYearDropdown`),r.props.showMonthDropdown&&t.push(`react-datepicker__current-month--hasMonthDropdown`),r.props.showMonthYearDropdown&&t.push(`react-datepicker__current-month--hasMonthYearDropdown`),L.createElement(`h2`,{className:t.join(` `)},ym(e)?bm(e,r.props.dateFormat,r.props.locale):``)},r.renderYearDropdown=function(e){if(e===void 0&&(e=!1),!(!r.props.showYearDropdown||e))return L.createElement($h,um({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeYear,year:Wl(r.state.date)}))},r.renderMonthDropdown=function(e){if(e===void 0&&(e=!1),!(!r.props.showMonthDropdown||e))return L.createElement(Wh,um({},t.defaultProps,r.props,{month:Vl(r.state.date),onChange:r.changeMonth}))},r.renderMonthYearDropdown=function(e){if(e===void 0&&(e=!1),!(!r.props.showMonthYearDropdown||e))return L.createElement(qh,um({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeMonthYear}))},r.handleTodayButtonClick=function(e){r.props.onSelect(Nm(),e),r.props.setPreSelection&&r.props.setPreSelection(Nm())},r.renderTodayButton=function(){if(!(!r.props.todayButton||r.props.showTimeSelectOnly))return L.createElement(`div`,{className:`react-datepicker__today-button`,onClick:r.handleTodayButtonClick},r.props.todayButton)},r.renderDayNamesHeader=function(e){return L.createElement(`div`,{className:`react-datepicker__day-names`,role:`row`},r.header(e))},r.renderDefaultHeader=function(e){var t=e.monthDate,n=e.i;return L.createElement(`div`,{className:`react-datepicker__header ${r.props.showTimeSelect?`react-datepicker__header--has-time-select`:``}`},r.renderCurrentMonth(t),L.createElement(`div`,{className:`react-datepicker__header__dropdown react-datepicker__header__dropdown--${r.props.dropdownMode}`,onFocus:r.handleDropdownFocus},r.renderMonthDropdown(n!==0),r.renderMonthYearDropdown(n!==0),r.renderYearDropdown(n!==0)))},r.renderCustomHeader=function(e){var t,n=e.monthDate,i=e.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var a=r.props,o=a.showYearPicker,s=a.yearItemNumber,c;if(o){var l=Th(n,s);c={startYear:l.startPeriod,endYear:l.endPeriod}}var u=uh(r.state.date,r.props),d=dh(r.state.date,r.props),f=mh(r.state.date,r.props),p=gh(r.state.date,r.props);return L.createElement(`div`,{className:`react-datepicker__header react-datepicker__header--custom`,onFocus:r.props.onDropdownFocus},(t=r.props).renderCustomHeader?.call(t,um(um(um({},r.state),o&&{visibleYearsRange:c}),{customHeaderCount:i,monthDate:n,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:u,nextMonthButtonDisabled:d,prevYearButtonDisabled:f,nextYearButtonDisabled:p})))},r.renderYearHeader=function(e){var n=e.monthDate,i=r.props,a=i.showYearPicker,o=i.yearItemNumber,s=Th(n,o===void 0?t.defaultProps.yearItemNumber:o),c=s.startPeriod,l=s.endPeriod;return L.createElement(`div`,{className:`react-datepicker__header react-datepicker-year-header`},a?`${c} - ${l}`:Wl(n))},r.renderHeader=function(e){var t=e.monthDate,n=e.i,i={monthDate:t,i:n===void 0?0:n};switch(!0){case r.props.renderCustomHeader!==void 0:return r.renderCustomHeader(i);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(i);default:return r.renderDefaultHeader(i)}},r.renderMonths=function(){if(!(r.props.showTimeSelectOnly||r.props.showYearPicker)){for(var e=[],n=r.props.monthsShown??t.defaultProps.monthsShown,i=r.props.showPreviousMonths?n-1:0,a=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Dc(r.state.date,i):Fd(r.state.date,i),o=r.props.monthSelectedIn??i,s=0;s<n;++s){var c=s-o+i,l=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Dc(a,c):uc(a,c),u=`month-${s}`,d=s<n-1,f=s>0;e.push(L.createElement(`div`,{key:u,ref:function(e){r.monthContainer=e??void 0},className:`react-datepicker__month-container`},r.renderHeader({monthDate:l,i:s}),L.createElement(Hh,um({},t.defaultProps,r.props,{containerRef:r.containerRef,ariaLabelPrefix:r.props.monthAriaLabelPrefix,day:l,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,handleOnMonthKeyDown:r.props.handleOnKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,orderInDisplay:s,selectingDate:r.state.selectingDate,monthShowsDuplicateDaysEnd:d,monthShowsDuplicateDaysStart:f,dayNamesHeader:r.renderDayNamesHeader(l)}))))}return e}},r.renderYears=function(){if(!r.props.showTimeSelectOnly&&r.props.showYearPicker)return L.createElement(`div`,{className:`react-datepicker__year--container`},r.renderHeader({monthDate:r.state.date}),L.createElement(Xh,um({},t.defaultProps,r.props,{selectingDate:r.state.selectingDate,date:r.state.date,onDayClick:r.handleDayClick,clearSelectingDate:r.clearSelectingDate,onYearMouseEnter:r.handleYearMouseEnter,onYearMouseLeave:r.handleYearMouseLeave})))},r.renderTimeSection=function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return L.createElement(Jh,um({},t.defaultProps,r.props,{onChange:r.props.onTimeChange,format:r.props.timeFormat,intervals:r.props.timeIntervals,monthRef:r.state.monthContainer}))},r.renderInputTimeSection=function(){var e=r.props.selected?new Date(r.props.selected):void 0,n=e&&ym(e)&&r.props.selected?`${wh(e.getHours())}:${wh(e.getMinutes())}`:``;if(r.props.showTimeInput)return L.createElement(Mh,um({}
20,t.defaultProps,r.props,{date:e,timeString:n,onChange:r.props.onTimeChange}))},r.renderAriaLiveRegion=function(){if(!ym(r.state.date))return L.createElement(`span`,{role:`alert`,"aria-live":`polite`,className:`react-datepicker__aria-live`});var e=Th(r.state.date,r.props.yearItemNumber??t.defaultProps.yearItemNumber),n=e.startPeriod,i=e.endPeriod,a=r.props.showYearPicker?`${n} - ${i}`:r.props.showMonthYearPicker||r.props.showQuarterYearPicker?Wl(r.state.date):`${Jm(Vl(r.state.date),r.props.locale)} ${Wl(r.state.date)}`;return L.createElement(`span`,{role:`alert`,"aria-live":`polite`,className:`react-datepicker__aria-live`},r.state.isRenderAriaLiveMessage&&a)},r.renderChildren=function(){if(r.props.children)return L.createElement(`div`,{className:`react-datepicker__children-container`},r.props.children)},r.containerRef=(0,L.createRef)(),r.state={date:r.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},r}return Object.defineProperty(t,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,outsideClickIgnoreClass:tg,timeCaption:`Time`,previousYearButtonLabel:`Previous Year`,nextYearButtonLabel:`Next Year`,previousMonthButtonLabel:`Previous Month`,nextMonthButtonLabel:`Next Month`,yearItemNumber:gm}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=(function(){e.setState({monthContainer:e.monthContainer})})())},t.prototype.componentDidUpdate=function(e){var t=this;if(this.props.preSelection&&ym(this.props.preSelection)&&(!Bm(this.props.preSelection,e.preSelection)||this.props.monthSelectedIn!==e.monthSelectedIn)){var n=!Rm(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return n&&t.handleCustomMonthChange(t.state.date)})}else this.props.openToDate&&!Bm(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate})},t.prototype.render=function(){var e=this.props.container||fm;return L.createElement(mm,{onClickOutside:this.handleClickOutside,style:{display:`contents`},ignoreClass:this.props.outsideClickIgnoreClass},L.createElement(`div`,{style:{display:`contents`},ref:this.containerRef},L.createElement(e,{className:Bd(`react-datepicker`,this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly,inline:this.props.inline},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren())))},t}(L.Component),ig=function(e){var t=e.icon,n=e.className,r=n===void 0?``:n,i=e.onClick,a=`react-datepicker__calendar-icon`;if(typeof t==`string`)return L.createElement(`i`,{className:`${a} ${t} ${r}`,"aria-hidden":`true`,onClick:i});if(L.isValidElement(t)){var o=t;return L.cloneElement(o,{className:`${o.props.className||``} ${a} ${r}`,onClick:function(e){typeof o.props.onClick==`function`&&o.props.onClick(e),typeof i==`function`&&i(e)}})}return L.createElement(`svg`,{className:`${a} ${r}`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 448 512`,onClick:i},L.createElement(`path`,{d:`M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z`}))},ag=function(e){lm(t,e);function t(t){var n=e.call(this,t)||this;return n.portalRoot=null,n.el=document.createElement(`div`),n}return t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement(`div`),this.portalRoot.setAttribute(`id`,this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return jp.createPortal(this.props.children,this.el)},t}(L.Component),og=`[tabindex], a, button, input, select, textarea`,sg=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&e.tabIndex!==-1},cg=function(e){lm(t,e);function t(t){var n=e.call(this,t)||this;return n.getTabChildren=function(){return Array.prototype.slice.call(n.tabLoopRef.current?.querySelectorAll(
20og),1,-1).filter(sg)},n.handleFocusStart=function(){var e=n.getTabChildren();e&&e.length>1&&e[e.length-1].focus()},n.handleFocusEnd=function(){var e=n.getTabChildren();e&&e.length>1&&e[0].focus()},n.tabLoopRef=(0,L.createRef)(),n}return t.prototype.render=function(){return this.props.enableTabLoop??t.defaultProps.enableTabLoop?L.createElement(`div`,{className:`react-datepicker__tab-loop`,ref:this.tabLoopRef},L.createElement(`div`,{className:`react-datepicker__tab-loop__start`,tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,L.createElement(`div`,{className:`react-datepicker__tab-loop__end`,tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(L.Component);function lg(e){function t(t){var n=typeof t.hidePopper!=`boolean`||t.hidePopper,r=(0,L.useRef)(null),i=sm(um({open:!n,whileElementsMounted:Ep,placement:t.popperPlacement,middleware:dm([Bp({padding:15}),zp(10),Vp({element:r})],t.popperModifiers??[],!0)},t.popperProps)),a=um(um({},t),{hidePopper:n,popperProps:um(um({},i),{arrowRef:r})});return L.createElement(e,um({},a))}return t.displayName=`withFloating(${e.displayName||e.name||`Component`})`,t}var ug=lg(function(e){var t=e.className,n=e.wrapperClassName,r=e.hidePopper,i=r===void 0||r,a=e.popperComponent,o=e.targetComponent,s=e.enableTabLoop,c=e.popperOnKeyDown,l=e.portalId,u=e.portalHost,d=e.popperProps,f=e.showArrow,p=void 0;if(!i){var m=Bd(`react-datepicker-popper`,t);p=L.createElement(cg,{enableTabLoop:s},L.createElement(`div`,{ref:d.refs.setFloating,style:d.floatingStyles,className:m,"data-placement":d.placement,onKeyDown:c},a,f&&L.createElement(em,{ref:d.arrowRef,context:d.context,fill:`currentColor`,strokeWidth:1,height:8,width:16,style:{transform:`translateY(-1px)`},className:`react-datepicker__triangle`})))}e.popperContainer&&(p=(0,L.createElement)(e.popperContainer,{},p)),l&&!i&&(p=L.createElement(ag,{portalId:l,portalHost:u},p));var h=Bd(`react-datepicker-wrapper`,n);return L.createElement(L.Fragment,null,L.createElement(`div`,{ref:d.refs.setReference,className:h},o),p)});function dg(e,t){return e&&t?Vl(e)!==Vl(t)||Wl(e)!==Wl(t):e!==t}var fg=`Date input not valid.`,pg=function(e){lm(t,e);function t(n){var r=e.call(this,n)||this;return r.calendar=null,r.input=null,r.getPreSelection=function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:_m()},r.modifyHolidays=function(){return r.props.holidays?.reduce(function(e,t){var n=new Date(t.date);return ym(n)?dm(dm([],e,!0),[um(um({},t),{date:n})],!1):e},[])},r.calcInitialState=function(){var e=r.getPreSelection(),t=vh(r.props),n=yh(r.props),i=t&&Kl(e,Om(t))?t:n&&Gl(e,Pm(n))?n:e;return{open:r.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:(r.props.selectsRange?r.props.startDate:r.props.selected)??i,highlightDates:bh(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},r.getInputValue=function(){var e=r.props,n=e.locale,i=e.startDate,a=e.endDate,o=e.rangeSeparator,s=e.selected,c=e.selectedDates,l=e.selectsMultiple,u=e.selectsRange,d=e.value,f=r.props.dateFormat??t.defaultProps.dateFormat,p=r.state.inputValue;return typeof d==`string`?d:typeof p==`string`?p:u?Cm(i,a,{dateFormat:f,locale:n,rangeSeparator:o}):l?wm(c??[],{dateFormat:f,locale:n}):xm(s,{dateFormat:f,locale:n})},r.resetHiddenStatus=function(){r.setState(um(um({},r.state),{wasHidden:!1}))},r.setHiddenStatus=function(){r.setState(um(um({},r.state),{wasHidden:!0}))},r.setHiddenStateOnVisibilityHidden=function(){document.visibilityState===`hidden`&&r.setHiddenStatus()},r.clearPreventFocusTimeout=function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)},r.setFocus=function(){var e,t;(t=(e=r.input)?.focus)==null||t.call(e,{preventScroll:!0})},r.setBlur=function(){var e,t;(t=(e=r.input)?.blur)==null||t.call(e),r.cancelFocusInput()},r.deferBlur=function(){requestAnimationFrame(function(){r.setBlur()})},r.setOpen=function(e,t){t===void 0&&(t=!1),r.setState({open:e,preSelection:e&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:hg},function(){e||r.setState(function(e){return{focused:t?e.focused:!1}},function(){!t&&r.deferBlur(),r.setState({inputValue:null})})})},r.inputOk=function(){return jc(r.state.preSelection)},r.isCalendarOpen=function(){return r.props.open===void 0?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open},r.handleFocus=function(e){var t,n,i=r.state.wasHidden,a=!i||r.state.open;i&&r.resetHiddenStatus(),r.state.preventFocus||((n=(t=r.props).onFocus)==null||n.call(t,e),a&&!r.props.preventOpenOnFocus&&!r.props.readOnly&&r.setOpen(!0)),r.setState({focused:!0})},r.sendFocusBackToInput=function(){r.preventFocusTimeout&&r.clearPreventFocusTimeout(),r.setState({preventFocus:!0},function(){r.preventFocusTimeout=setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})})}
20,r.cancelFocusInput=function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=void 0},r.deferFocusInput=function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout(function(){return r.setFocus()},1)},r.handleDropdownFocus=function(){r.cancelFocusInput()},r.resetInputValue=function(){r.setState(um(um({},r.state),{inputValue:null}))},r.handleBlur=function(e){var t,n;(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&((n=(t=r.props).onBlur)==null||n.call(t,e)),r.resetInputValue(),r.state.open&&r.props.open===!1&&r.setOpen(!1),r.setState({focused:!1})},r.handleCalendarClickOutside=function(e){var t,n;r.props.inline||r.setOpen(!1),(n=(t=r.props).onClickOutside)==null||n.call(t,e),r.props.withPortal&&e.preventDefault()},r.handleChange=function(){for(var e,n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var o=i[0];if(!(r.props.onChangeRaw&&(r.props.onChangeRaw.apply(r,i),!o||typeof o.isDefaultPrevented!=`function`||o.isDefaultPrevented()))){r.setState({inputValue:o?.target instanceof HTMLInputElement?o.target.value:null,lastPreSelectChange:mg});var s=r.props,c=s.selectsRange,l=s.startDate,u=s.endDate,d=r.props.dateFormat??t.defaultProps.dateFormat,f=r.props.strictParsing??t.defaultProps.strictParsing,p=o?.target instanceof HTMLInputElement?o.target.value:``;if(c){var m=r.props.rangeSeparator,h=m.trim(),g=p.split(d.includes(h)?m:h,2).map(function(e){return e.trim()}),_=g[0],v=g[1],y=vm(_??``,d,r.props.locale,f),b=y?vm(v??``,d,r.props.locale,f):null,x=l?.getTime()!==y?.getTime(),S=u?.getTime()!==b?.getTime();if(!x&&!S||y&&Zm(y,r.props)||b&&Zm(b,r.props))return;(n=(e=r.props).onChange)==null||n.call(e,[y,b],o)}else{var C=vm(p,d,r.props.locale,f,r.props.selected??void 0);(C||!p)&&r.setSelected(C,o,!0)}}},r.handleSelect=function(e,n,i){if(!r.props.readOnly){var a=r.props,o=a.selectsRange,s=a.startDate,c=a.endDate,l=a.locale,u=a.swapRange,d=r.props.dateFormat??t.defaultProps.dateFormat,f=!o||s&&!c&&(u||!Ah(e,s));if(r.props.shouldCloseOnSelect&&!r.props.showTimeSelect&&f&&r.sendFocusBackToInput(),r.props.onChangeRaw){var p=xm(e,{dateFormat:d,locale:l});r.props.onChangeRaw(n,{date:e,formattedDate:p})}r.setSelected(e,n,!1,i),r.props.showDateSelect&&r.setState({isRenderAriaLiveMessage:!0}),!r.props.shouldCloseOnSelect||r.props.showTimeSelect?r.setPreSelection(e):f&&r.setOpen(!1)}},r.setSelected=function(e,t,n,i){var a,o,s=e;if(r.props.showYearPicker){if(s!==null&&ih(Wl(s),r.props))return}else if(r.props.showMonthYearPicker){if(s!==null&&$m(s,r.props))return}else if(s!==null&&Zm(s,r.props))return;var c=r.props,l=c.onChange,u=c.selectsRange,d=c.startDate,f=c.endDate,p=c.selectsMultiple,m=c.selectedDates,h=c.minTime,g=c.swapRange;if(!Vm(r.props.selected,s)||r.props.allowSameDay||u||p)if(s!==null&&(r.props.selected&&(!n||!r.props.showTimeSelect&&!r.props.showTimeSelectOnly&&!r.props.showTimeInput)&&(s=Tm(s,{hour:Rl(r.props.selected),minute:Bl(r.props.selected),second:Hl(r.props.selected)})),!n&&(r.props.showTimeSelect||r.props.showTimeSelectOnly)&&h&&(s=Tm(s,{hour:h.getHours(),minute:h.getMinutes(),second:h.getSeconds()})),r.props.inline||r.setState({preSelection:s}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:i})),u){var _=!d&&!f,v=d&&!f,y=!d&&!!f,b=d&&f;_?l?.([s,null],t):v?s===null?l?.([null,null],t):Ah(s,d)?g?l?.([s,d],t):l?.([s,null],t):l?.([d,s],t):y&&(s&&Ah(s,f)?l?.([s,f],t):l?.([s,null],t)),b&&l?.([s,null],t)}else if(p){if(s!==null)if(!m?.length)l?.([s],t);else if(m.some(function(e){return Bm(e,s)})){var x=m.filter(function(e){return!Bm(e,s)});l?.(x,t)}else l?.(dm(dm([],m,!0),[s],!1),t)}else l?.(s,t);n||((o=(a=r.props).onSelect)==null||o.call(a,s,t),r.setState({inputValue:null}))},r.setPreSelection=function(e){if(!r.props.readOnly){var t=jc(r.props.minDate),n=jc(r.props.maxDate),i=!0;if(e){var a=Om(e);if(t&&n)i=Hm(e,r.props.minDate,r.props.maxDate);else if(t){var o=Om(r.props.minDate);i=Gl(e,o)||Vm(a,o)}else if(n){var s=Pm(r.props.maxDate);i=Kl(e,s)||Vm(a,s)}}i&&r.setState({preSelection:e})}},r.toggleCalendar=function(){r.setOpen(!r.state.open)},r.handleTimeChange=function(e){var t,n;if(!(r.props.selectsRange||r.props.selectsMultiple)){var i=r.props.selected?r.props.selected:r.getPreSelection(),a=r.props.selected?e:Tm(i,{hour:Rl(e),minute:Bl(e)});r.setState({preSelection:a}),(n=(t=r.props).onChange)==null||n.call(t,a),r.props.shouldCloseOnSelect&&!r.props.showTimeInput&&(r.sendFocusBackToInput(),r.setOpen(!1)),r.props.showTimeInput&&r.setOpen(!0),(r.props.showTimeSelectOnly||r.props.showTimeSelect)&&r.setState({isRenderAriaLiveMessage:!0}),r.setState({inputValue:null})}},r.onInputClick=function(){var e,t;!r.props.disabled&&!r.props.readOnly&&r.setOpen(!0),(t=(e=r.props).onInputClick)==null||t.call(e)},r.handleTimeOnlyArrowKey=function(e){var n,i,a=r.props.selected||r.state.preSelection||_m(),o=r.props.timeIntervals??30,s=r.props.dateFormat??t.defaultProps.dateFormat,c=Array.isArray(s)?s[0]:s,l=Om(
20a),u=Rl(a)*60+Bl(a),d=1440-o,f;if(e===$.ArrowUp){var p=Math.max(0,u-o);f=Cc(l,p)}else{var p=Math.min(d,u+o);f=Cc(l,p)}var m=bm(f,c||t.defaultProps.dateFormat,r.props.locale);if(r.setState({preSelection:f,inputValue:m}),!(r.props.selectsRange||r.props.selectsMultiple)){var h=r.props.selected?r.props.selected:r.getPreSelection(),g=r.props.selected?f:Tm(h,{hour:Rl(f),minute:Bl(f)});(i=(n=r.props).onChange)==null||i.call(n,g),(r.props.showTimeSelectOnly||r.props.showTimeSelect)&&r.setState({isRenderAriaLiveMessage:!0}),requestAnimationFrame(function(){r.scrollToTimeOption(f)})}},r.handleTimeOnlyEnterKey=function(e){var n=e.target.value,i=r.props.dateFormat??t.defaultProps.dateFormat,a=r.props.timeFormat||`p`,o=r.state.preSelection||r.props.selected||_m(),s=vm(n,i,r.props.locale,r.props.strictParsing??!1,o),c=o;if(s&&ym(s))c=s;else{var l=r.calendar?.containerRef.current instanceof Element&&r.calendar.containerRef.current.querySelector(`.react-datepicker__time-list-item[tabindex='0']`);if(l instanceof HTMLElement){var u=l.textContent?.trim();if(u){var d=vm(u,a,r.props.locale,!1,o);d&&ym(d)&&(c=d)}}}r.handleTimeChange(c),r.setOpen(!1),r.sendFocusBackToInput()},r.scrollToTimeOption=function(e){if(r.calendar?.containerRef.current){for(var t=r.calendar.containerRef.current,n=Array.from(t.querySelectorAll(`.react-datepicker__time-list-item`)),i=null,a=1/0,o=r.props.timeFormat||`p`,s=0,c=n;s<c.length;s++){var l=c[s],u=l.textContent?.trim();if(u){var d=vm(u,o,r.props.locale,!1,e);if(d&&ym(d)){if(Oh(d,e)){i=l;break}var f=Math.abs(d.getTime()-e.getTime());f<a&&(a=f,i=l)}}}i&&(n.forEach(function(e){e.setAttribute(`tabindex`,`-1`)}),i.setAttribute(`tabindex`,`0`),i.scrollIntoView({behavior:`smooth`,block:`center`}))}},r.onInputKeyDown=function(e){var t,n,i,a,o;(n=(t=r.props).onKeyDown)==null||n.call(t,e);var s=e.key;if(!r.state.open&&!r.props.inline&&!r.props.preventOpenOnFocus){(s===$.ArrowDown||s===$.ArrowUp||s===$.Enter)&&((i=r.onInputClick)==null||i.call(r));return}if(r.state.open&&r.props.showTimeSelectOnly){if(s===$.ArrowDown||s===$.ArrowUp){e.preventDefault(),r.handleTimeOnlyArrowKey(s);return}if(s===$.Enter){e.preventDefault(),r.handleTimeOnlyEnterKey(e);return}}if(r.state.open){if(s===$.ArrowDown||s===$.ArrowUp){e.preventDefault();var c=r.props.showTimeSelectOnly?`.react-datepicker__time-list-item[tabindex='0']`:r.props.showWeekPicker&&r.props.showWeekNumbers?`.react-datepicker__week-number[tabindex="0"]`:r.props.showFullMonthYearPicker||r.props.showMonthYearPicker?`.react-datepicker__month-text[tabindex="0"]`:`.react-datepicker__day[tabindex="0"]`,l=r.calendar?.containerRef.current instanceof Element&&r.calendar.containerRef.current.querySelector(c);l instanceof HTMLElement&&l.focus({preventScroll:!0});return}var u=_m(r.state.preSelection);s===$.Enter?(e.preventDefault(),e.target.blur(),r.inputOk()&&r.state.lastPreSelectChange===hg?(r.handleSelect(u,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(u)):r.setOpen(!1)):s===$.Escape?(e.preventDefault(),e.target.blur(),r.sendFocusBackToInput(),r.setOpen(!1)):s===$.Tab&&r.setOpen(!1),r.inputOk()||(o=(a=r.props).onInputError)==null||o.call(a,{code:1,msg:fg})}},r.onPortalKeyDown=function(e){e.key===$.Escape&&(e.preventDefault(),r.setState({preventFocus:!0},function(){r.setOpen(!1),setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})}))},r.onDayKeyDown=function(e){var t,n,i,a,o,s,c=r.props,l=c.minDate,u=c.maxDate,d=c.disabledKeyboardNavigation,f=c.showWeekPicker,p=c.shouldCloseOnSelect,m=c.locale,h=c.calendarStartDay,g=c.adjustDateOnChange,_=c.inline;if((n=(t=r.props).onKeyDown)==null||n.call(t,e),!d){var v=e.key,y=e.shiftKey,b=_m(r.state.preSelection),x=function(e,t){var n=t;switch(e){case $.ArrowRight:n=f?Ec(t,1):lc(t,1);break;case $.ArrowLeft:n=f?Ld(t,1):cd(t,1);break;case $.ArrowUp:n=Ld(t,1);break;case $.ArrowDown:n=Ec(t,1);break;case $.PageUp:n=y?Rd(t,1):Fd(t,1);break;case $.PageDown:n=y?Dc(t,1):uc(t,1);break;case $.Home:n=km(t,m,h);break;case $.End:n=Fm(t);break}return n},S=function(e,t){for(var n=40,i=e,a=!1,o=0,s=x(e,t);!a;){if(o>=n){s=t;break}l&&s<l&&(i=$.ArrowRight,s=Zm(l,r.props)?x(i,s):l),u&&s>u&&(i=$.ArrowLeft,s=Zm(u,r.props)?x(i,s):u),Zm(s,r.props)?((i===$.PageUp||i===$.Home)&&(i=$.ArrowRight),(i===$.PageDown||i===$.End)&&(i=$.ArrowLeft),s=x(i,s)):a=!0,o++}return s};if(v===$.Enter){e.preventDefault(),r.handleSelect(b,e),!p&&r.setPreSelection(b);return}else if(v===$.Escape){e.preventDefault(),r.setOpen(!1),r.inputOk()||(a=(i=r.props).onInputError)==null||a.call(i,{code:1,msg:fg});return}var C=null;switch(v){case $.ArrowLeft:case $.ArrowRight:case $.ArrowUp:case $.ArrowDown:case $.PageUp:case $.PageDown:case $.Home:case $.End:C=S(v,b);break}if(!C){(s=(o=r.props).onInputError)==null||s.call(o,{code:1,msg:fg});return}e.preventDefault(),r.setState({lastPreSelectChange:hg}),g&&r.setSelected(C),r.setPreSelection(C),_&&r.setState({shouldFocusDayInline:!0})}},r.onPopperKeyDown=function(e){e.key===$.Escape&&(e.preventDefault(),r.sendFocusBackToInput(),r.setOpen(!1))},r.onClearClick=function(e){e&&e.preventDefault&&e.preventDefault(),r.sendFocusBackToInput();var t=r.props,n=t.selectsRange,i=t.onChange;n?i?.([null,null],e):i?.(null,e),r.setState({inputValue:null})},r.clear=function(){r.onClearClick()},r.onScroll=function(e){typeof r.props.closeOnScroll==`boolean`&&r.props.closeOnScroll?(e.target===document||e.target===document.documentElement||e.target===document.body)&&r.setOpen(!1):typeof r.props.closeOnScroll==`function`&&r.props.closeOnScroll(e)&&r.setOpen(!1)},r.renderCalendar=function(){return!r.props.inline&&!r.isCalendarOpen()?null:L.createElement(rg,um({showMonthYearDropdown:void 0,ref:function(e){r.calendar=e}},r.props,r.state,{setOpen:r.setOpen,dateFormat:r.props.dateFormatCalendar??t.defaultProps.dateFormatCalendar,onSelect:r.handleSelect,onClickOutside:r.handleCalendarClickOutside,holidays:Sh(r.modifyHolidays()),outsideClickIgnoreClass:r.props.outsideClickIgnoreClass,onDropdownFocus:r.handleDropdownFocus,onTimeChange:r.handleTimeChange,className:r.props.calendarClassName,container:r.props.calendarContainer,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,setPreSelection:r.setPreSelection,dropdownMode:r.props.dropdownMode??t.defaultProps.dropdownMode}),r.props.children)},r.renderAriaLiveRegion=function(){var e=r.props.locale,n=r.props.dateFormat??t.defaultProps.dateFormat,i=r.props.showTimeInput||r.props.showTimeSelect?`PPPPp`:`PPPP`,a=r.props.selectsRange?`Selected start date: ${xm(r.props.startDate,{dateFormat:i,locale:e})}. ${r.props.endDate?`End date: `+xm(r.props.endDate,{dateFormat:i,locale:e}):``}`:r.props.showTimeSelectOnly?`Selected time: ${xm(r.props.selected,{dateFormat:n,locale:e})}`:r.props.showYearPicker?`Selected year: ${xm(r.props.selected,{dateFormat:`yyyy`,locale:e})}`:r.props.showMonthYearPicker?`Selected month: ${xm(r.props.selected,{dateFormat:`MMMM yyyy`,locale:e})}`:r.props.showQuarterYearPicker?`Selected quarter: ${xm(r.props.selected,{dateFormat:`yyyy, QQQ`,locale:e})}`:`Selected date: ${xm(r.props.selected,{dateFormat:i,locale:e})}`;return L.createElement(`span`,{role:`alert`,"aria-live":`polite`,className:`react-datepicker__aria-l
20ive`},a)},r.renderDateInput=function(){var e,n,i=Bd(r.props.className,(e={},e[r.props.outsideClickIgnoreClass||t.defaultProps.outsideClickIgnoreClass]=r.state.open,e)),a=r.props.customInput||L.createElement(`input`,{type:`text`}),o=r.props.customInputRef||`ref`,s={},c=r.props[`aria-describedby`]??r.props.ariaDescribedBy,l=r.props[`aria-invalid`]??r.props.ariaInvalid,u=r.props[`aria-labelledby`]??r.props.ariaLabelledBy,d=r.props[`aria-required`]??r.props.ariaRequired;return c!=null&&(s[`aria-describedby`]=c),l!=null&&(s[`aria-invalid`]=l),u!=null&&(s[`aria-labelledby`]=u),d!=null&&(s[`aria-required`]=d),(0,L.cloneElement)(a,um((n={},n[o]=function(e){r.input=e},n.value=r.getInputValue(),n.onBlur=r.handleBlur,n.onChange=r.handleChange,n.onClick=r.onInputClick,n.onFocus=r.handleFocus,n.onKeyDown=r.onInputKeyDown,n.id=r.props.id,n.name=r.props.name,n.form=r.props.form,n.autoFocus=r.props.autoFocus,n.placeholder=r.props.placeholderText,n.disabled=r.props.disabled,n.autoComplete=r.props.autoComplete,n.className=Bd(a.props.className,i),n.title=r.props.title,n.readOnly=r.props.readOnly,n.required=r.props.required,n.tabIndex=r.props.tabIndex,n),s))},r.renderClearButton=function(){var e=r.props,t=e.isClearable,n=e.disabled,i=e.selected,a=e.startDate,o=e.endDate,s=e.clearButtonTitle,c=e.clearButtonClassName,l=c===void 0?``:c,u=e.ariaLabelClose,d=u===void 0?`Close`:u,f=e.selectedDates,p=e.readOnly;return t&&!p&&(i!=null||a!=null||o!=null||f?.length)?L.createElement(`button`,{type:`button`,className:B
20d(`react-datepicker__close-icon`,l,{"react-datepicker__close-icon--disabled":n}),disabled:n,"aria-label":d,onClick:r.onClearClick,title:s,tabIndex:-1}):null},r.state=r.calcInitialState(),r.preventFocusTimeout=void 0,r}return Object.defineProperty(t,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:`MM/dd/yyyy`,dateFormatCalendar:`LLLL yyyy`,disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:`scroll`,preventOpenOnFocus:!1,monthsShown:1,outsideClickIgnoreClass:tg,readOnly:!1,rangeSeparator:Sm,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:`Time`,previousMonthAriaLabel:`Previous Month`,previousMonthButtonLabel:`Previous Month`,nextMonthAriaLabel:`Next Month`,nextMonthButtonLabel:`Next Month`,previousYearAriaLabel:`Previous Year`,previousYearButtonLabel:`Previous Year`,nextYearAriaLabel:`Next Year`,nextYearButtonLabel:`Next Year`,timeInputLabel:`Time`,enableTabLoop:!0,yearItemNumber:gm,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener(`scroll`,this.onScroll,!0),document.addEventListener(`visibilitychange`,this.setHiddenStateOnVisibilityHidden)},t.prototype.componentDidUpdate=function(e,t){var n,r,i,a;e.inline&&dg(e.selected,this.props.selected)&&this.setPreSelection(this.props.selected),this.state.monthSelectedIn!==void 0&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),this.props.selectsRange&&this.state.monthSelectedIn!==0&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:bh(this.props.highlightDates)}),!t.focused&&!Vm(e.selected,this.props.selected)&&this.setState({inputValue:null}),t.open!==this.state.open&&(t.open===!1&&this.state.open===!0&&((r=(n=this.props).onCalendarOpen)==null||r.call(n)),t.open===!0&&this.state.open===!1&&((a=(i=this.props).onCalendarClose)==null||a.call(i)))},t.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener(`scroll`,this.onScroll,!0),document.removeEventListener(`visibilitychange`,this.setHiddenStateOnVisibilityHidden)},t.prototype.renderInputContainer=function(){var e=this.props,t=e.showIcon,n=e.icon,r=e.calendarIconClassname,i=e.calendarIconClassName,a=e.toggleCalendarOnIconClick,o=this.state.open;return r&&console.warn(`calendarIconClassname props is deprecated. should use calendarIconClassName props.`),L.createElement(`div`,{className:`react-datepicker__input-container${t?` react-datepicker__view-calendar-icon`:``}`},t&&L.createElement(ig,um({icon:n,className:Bd(i,!i&&r,o&&`react-datepicker-ignore-onclickoutside`)},a?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},t.prototype.render=function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?L.createElement(cg,{enableTabLoop:this.props.enableTabLoop},L.createElement(`div`,{className:`react-datepicker__portal`,tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=L.createElement(ag,um({portalId:this.props.portalId},this.props),t)),L.createElement(`div`,null,this.renderInputContainer(),t)}return L.createElement(ug,um({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:e,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},t}(L.Component),mg=`input`,hg=`navigate`;function gg({name:e,label:t,isRequired:n=!1,showInline:r=!1,minDate:i,maxDate:a,init:o,callback:s,className:c,testId:l=`interactive-date-picker-test-id`}
20){let[u,d]=(0,L.useState)(null),[f,p]=(0,L.useState)({startDate:o?.startDate??null,endDate:o?.endDate??null}),m=e=>{let{startDate:t,endDate:r}=e;return!n&&t&&!r?`Please select both start and end dates.`:n&&(!t||!r)?`This field is required.`:null},h=()=>{d(m(f)),u===null&&s&&s(f)};return(0,I.jsxs)(`div`,{className:F(`interactive-date-picker`,f.startDate&&f.endDate?`selected`:``,c),"data-testid":l,children:[t&&(0,I.jsx)(Pn,{className:`text-secondary mb-08`,size:B.LG,type:En.EYEBROW,weight:V.FORTY,testId:`date-picker-label-test-id`,children:t}),(0,I.jsx)(pg,{selected:f.startDate,onChange:e=>{let[t,n]=e;p({startDate:t,endDate:n})},onCalendarClose:h,onBlur:h,startDate:f.startDate,endDate:f.endDate,selectsRange:!0,isClearable:!0,showMonthDropdown:!0,showYearDropdown:!0,disabledKeyboardNavigation:!0,dateFormat:`dd/MM/yyyy`,placeholderText:`DD/MM/YYYY - DD/MM/YYYY`,minDate:i,maxDate:a,inline:r,customInput:(0,I.jsx)(`input`,{id:e,name:e,value:f.startDate&&f.endDate?`${Ml(f.startDate,`dd/MM/yyyy`)} - ${Ml(f.endDate,`dd/MM/yyyy`)}`:``,readOnly:!0,"data-testid":`datepicker-input-test-id`,className:F(`w-full border border-default rounded px-16 py-12 placeholder:text-placeholder`,u===null?``:`border-error`)})}),u&&(0,I.jsx)($s,{type:Qs.ERROR,message:u,duration:0})]})}var _g=(0,L.createContext)({isOpen:!1,setIsOpen:()=>!1});function vg({children:e,className:t,testId:n=`dropdown-test-id`}){let[r,i]=(0,L.useState)(!1),a=(0,L.useRef)(null);return Hn(a,()=>{i(!1)}),(0,I.jsx)(_g.Provider,{value:{isOpen:r,setIsOpen:i},children:(0,I.jsx)(`div`,{ref:a,className:F(`block self-stretch relative min-h-40 print:hidden`,t),"data-testid":n,children:e})})}vg.Trigger=({children:e,className:t})=>{let{isOpen:n,setIsOpen:r}=(0,L.useContext)(_g);return(0,I.jsx)(`div`,{role:`button`,onClick:()=>{r(!n)},onKeyDown:()=>{r(!n)},tabIndex:0,className:t,"data-testid":`dropdown-trigger-wrapper-test-id`,children:e})},vg.Items=({children:e,className:t})=>{let{isOpen:n}=(0,L.useContext)(_g);if(n)return(0,I.jsx)(`div`,{className:F(`dropdown-items-wrapper z-10`,t),"data-testid":`dropdown-items-wrapper-test-id`,children:e})};function yg({title:e,children:t,isExpanded:n,handler:r,className:i,testId:a=`expandable-test-id`}){let[o,s]=(0,L.useState)(n);return(0,I.jsxs)(`div`,{"data-testid":a,className:F(`expandable-container`,i),children:[(0,I.jsxs)(`div`,{className:`expandable-header`,children:[e&&(0,I.jsx)(G,{size:B.XXSCURATOR,weight:V.FORTY,type:H.CONTAINER,children:e}),(0,I.jsx)(Z,{fill:K.NONE,type:q.ICON_ONLY,icon:{iconName:o?M.NAV_EXPAND_MORE:M.NAV_EXPAND_LESS},className:`p-00 cursor-pointer`,handler:()=>{r&&r(!o),s(!o)}})]}),(0,I.jsxs)(`div`,{className:F(`expandable-body`,!o&&`expanded`),children:[(0,I.jsx)(`div`,{children:t}),o&&(0,I.jsx)(`div`,{className:`gradient-overlay`})]})]})}var bg=({className:e,testId:t=`gradient-wall-test-id`,showFullArticle:n})=>{let{urlPath:r}
20=(0,L.useContext)(Yr),[i,a]=(0,L.useState)(!0);return(0,I.jsx)(`div`,{"data-testid":t,children:i&&(0,I.jsxs)(`div`,{className:F(`gradient-wall-wrapper`,e),children:[(0,I.jsx)(`div`,{className:`gradient-wall-overlay`}),(0,I.jsx)(`div`,{className:`gradient-wall-button-wrapper`,children:(0,I.jsx)(Z,{text:`Read full story`,fill:K.OUTLINE,size:Un.SMALL,className:`gradient-wall-read-more-button`,handler:()=>{n(),a(!1),_&&ft({eventCategory:lt.READ_THE_FULL_STORY,eventAction:`click`,eventLabel:`${p()}${r}`})}})})]})})},xg=[`Topics`,`Authors`],Sg=`Authors`,Cg=`Topics`,wg=`Log in to use myST+`,Tg=`Follow topics and authors, save articles and explore content that matters to you.`,Eg=`Log in / Sign up`,Dg=`You are following 30 topics`,Og=`To add more topics, go to your space in myST+ to remove the ones you no longer want to follow.`,kg=`You have followed 2 topics`,Ag=`Subscribe to follow more.`,jg=`You have followed 2 authors`,Mg=`Subscribe to follow more.`,Ng=`You are following 30 authors`,Pg=`To add other authors, go to your space in myST+ to remove the ones you no longer want to follow.`,Fg=`onboarding_visited`,Ig=`You have saved 60 articles`,Lg=`To keep current favourites, go to your space in myST+ to remove the ones you no longer want.`,Rg=`Manage Saved`,zg=`Explore`,Bg=`Log in / Sign up`,Vg=`You are not following any topic.`,Hg=`You're currently following all the recommended topics. Read more articles to discover new topics to follow!`,Ug=`You are not following any author.`,Wg=`You're currently following all the recommended authors. Read more articles to discover new authors to follow!`;async function Gg(e,t,n,r,i){let a=r?e:`${ee}${e}`,o=i?.[`Content-Type`]??`application/json`,s={method:t,headers:{...i,"Content-Type":o}};(t===`POST`||t===`DELETE`)&&(s.body=o===`application/json`?JSON.stringify(n):n);let c=await fetch(a,s);if(!c.ok&&c.status)throw Error(`HTTP error! Status: ${c.status}`);return c.json()}async function Kg(e,t,n,r,i){try{return await Gg(e,t,n,r,i)}catch(e){throw console.error(`Error occurred during fetch:`,e),e}}var qg=(e,t,n)=>{let r=(t-1)*n;return e.slice(r,r+n)},Jg=e=>e.filter(e=>!e.followed).reverse(),Yg=e=>e.filter(e=>e.followed).reverse(),Xg=(e,t)=>t?e<30:e<2;async function Zg(e,t,n,r){try{if(e===`topics`)return await Kg(`myst/followed/topics`,`POST`,{followedData:r},!1,{visitorid:t,subscribed:String(n)});if(e===`authors`){let e=await Kg(`myst/followed/authors`,`POST`,{followedData:r?(({name:e,id:t})=>({name:e,id:t}))(r):void 0},!1,{visitorid:t,subscribed:String(n)});if(R(e.data)){let t=e.data[e.data.length-1];e.data[e.data.length-1]={...r,id:t.id}}return e}}catch(e){return j(le.ERROR,`BAAS:: MyST GET Topic and Author Follow API request failed`,{err:e}),{status:!1,showMaxLimit:!1,data:[],message:`Failed to fetch followed topics or authors`}}return{status:!1,showMaxLimit:!1,data:[],message:`Invalid pageType provided`}}async function Qg(e,t,n,r,i,a,o,s,c){let l=$g(t,e),u=e_(s);if(!l?.followed){let s=await Zg(`topics`,c,u,l);if(s.status&&!s.showMaxLimit){ft({eventCategory:lt.MYST,eventAction:`follow`,eventLabel:`topics::`+l?.name});let r=n_(t,l),a=await r_(r??[],`topic`);R(a)?i(a):!R(a)&&r&&r.length>0&&i([]),n(t=>t.map(t=>t.id===e?{...t,followed:!t.followed}:t))}else s.showMaxLimit&&(r(!1),a(!0),o(!!u))}else if(await t_(c,l,u)){ft({eventCategory:lt.MYST,eventAction:`unfollow`,eventLabel:`topics::`+l.name});let r=t.map(t=>t.id===e?{...t,followed:!t.followed}:t),a=Yg(r);if(R(a)){let e=await r_(a,`topic`);R(e)?i(e):!R(e)&&a.length>0&&i([])}else i([]);n(r)}}function $g(e,t){return e.find(e=>e.id===t)}function e_(e){return e===Ft.SUBSCRIBER||e===It.SUBSCRIBER}async function t_(e,t,n){if(e)try{return await Kg(`topicUnFollow`,`POST`,{topicName:t?.name,topicId:t?.id},!1,{visitorId:e,subscribed:String(n)}).then(e=>e.code===200)}catch(e){return j(le.ERROR,`BAAS:: UnFollow Topic Button click API failed`,{err:e}),!1}return!1}function n_(e,t){let n=e.filter(e=>e.followed===!0);if(R(n)&&t!==void 0)return[t,...n];if(t!==void 0)return[t]}async function r_(e,t){let n=e.map(e=>e.name&&e.name.toString().toLowerCase().replace(/\s+/g,`-`)),r=e.map(({name:e,active:t,followed:n})=>({name:e,active:t,followed:n}));try{return await Kg(`mySTArticleListing`,`POST`,{pageType:t,searchParam:n,followedData:r,page:1},!1).then(e=>e.cards)}catch(e){return j(le.ERROR,`BAAS:: UnFollow Topic Button click API failed`,{err:e}),[]}}async function i_(e,t,n,r,i,a,o,s,c){let l=$g(t,e),u=e_(s);if(l?.active&&!l.followed){let s=await Zg(`authors`,c,u,l);if(s.status&&!s.showMaxLimit){ft({eventCategory:lt.MYST,eventAction:`follow`,eventLabel:`authors::`+l.n
20ame});let r=o_(t,l),a=await r_(r??[],`author`);R(a)?i(a):!R(a)&&r&&r.length>0&&i([]);let o=e,c=[];R(s.data)&&(o=s.data[s.data.length-1].id),R(t)&&(c=t.map(t=>t.id===e?{...t,followed:!t.followed,active:!0,id:o}:t)),n(c)}else s.showMaxLimit&&(r(!1),a(!0),o(!!u))}else if(l?.followed&&await a_(l.id,l.name,c,u)){ft({eventCategory:lt.MYST,eventAction:`unfollow`,eventLabel:`authors::`+l.name}),n(s_(t,e));let r=t.filter(e=>e.followed===!0&&e.id!==l.id);if(R(r)){let e=await r_(r,`author`);R(e)?i(e):!R(e)&&r.length>0&&i([])}else i([])}}async function a_(e,t,n,r){if(n)try{return await Kg(`authorUnFollow`,`POST`,{authorid:e,authorname:t},!1,{subscribed:String(r)}).then(e=>e.code===200)}catch(e){return j(le.ERROR,`BAAS:: UnFollow Author Button click API failed`,{err:e}),!1}return!1}function o_(e,t){let n=e.filter(e=>e.followed===!0);if(R(n)&&t!==void 0)return[t,...n];if(t!==void 0)return[t]}function s_(e,t){return R(e)?e.map(e=>e.id===t?{...e,followed:!e.followed,active:!0}:e):[]}function c_(e,t){return e===`Topics`&&t?{limitTitle:Dg,limitContent:Og}:e===`Topics`&&!t?{limitTitle:kg,limitContent:Ag}:e===`Authors`&&t?{limitTitle:Ng,limitContent:Pg}:e===`Authors`&&!t?{limitTitle:jg,limitContent:Mg}:{limitTitle:``,limitContent:``}}var l_=`This article contains affiliate links. If you buy through these links, we may earn a small commission.`,u_={SMART_PARENTING:{url:`/newsletter-signup?ref=inline-article#nl_st_smart_parenting`,content:`Get tips on how to help your child succeed`,target:`singapore_parenting-education`},FULLTIME_REPORT:{url:`/newsletter-signup?ref=inline-article#nl_fulltime_report`,content:`Get the biggest sports news in your inbox`,target:`sport`},ST_FOOD:{url:`/newsletter-signup?ref=inline-article#nl_st_food`,content:`Weekly recommendations for the best eats in town`,target:`life_food`},ASIAN_INSIDER_MY:{url:`/newsletter-signup?ref=inline-article#nl_asian_insider_malaysia_edition`,content:`Get insights on the biggest stories in Malaysia`,target:`malaysia`},ASIAN_INSIDER:{url:`/newsletter-signup?ref=inline-article#nl_asian_insider `,content:`Get insights on Asia's fast-moving developments`,target:`asia`},HEADSTART:{url:`/headstart-signup?ref=inline-article`,content:`Get tips on how to grow your career and money`,target:`st-headstart`},DEFAULT:{url:`/newsletter-signup?ref=inline-article`,content:`Get ST's newsletters delivered to your inbox`,target:``}};function d_({showPromoLiner:e}){let[t]=(0,L.useState)(f_((0,L.useContext)(Yr)));if(e)return(0,I.jsx)(`div`,{className:`flex gap-10 flex-nowrap items-center self-stretch`,"data-testid":`headline-stack-promo-liner-test-id`,children:(0,I.jsxs)(In,{category:U.CAPTION,size:B.BASELINE,style:W.REGULAR,className:`text-secondary`,children:[(0,I.jsx)(Sn,{type:z.CUSTOM,url:t.url,className:`link-default inline-block font-secondary-captions-baseline-semibold`,testId:`headline-stack-promo-liner-link-test-id`,children:`Sign up now:`}),` `,t.content]})})}function f_(e){let t=!!e.tags?.find(e=>e.slug===u_.HEADSTART.target),n=!!e.tags?.find(e=>e.slug===u_.ASIAN_INSIDER_MY.target);if(t)return u_.HEADSTART;let r=``;switch(r=e.category.length>1?e.category.map(e=>e.uniqueName).join(`,`):R(e.category)?e.category[0].uniqueName:``,!0){case r.includes(u_.SMART_PARENTING.target):return u_.SMART_PARENTING;case r.includes(u_.FULLTIME_REPORT.target)&&!r.includes(`transport`):return u_.FULLTIME_REPORT;case r.includes(u_.ST_FOOD.target):return u_.ST_FOOD;case r.includes(u_.ASIAN_INSIDER.target):return r.includes(`se-asia`)&&n?u_.ASIAN_INSIDER_MY:u_.ASIAN_INSIDER;default:return u_.DEFAULT}}var p_=function(e){return e.DEFAULT=`default`,e.LIVE=`live`,e.ASSET=`asset`,e}({}),m_=function(e){return e.DEFAULT=`default`,e.SMALL=`small`,e}({});function h_({title:e,standfirst:t,premium:n=!1,kicker:r,showPromoLiner:i=!0,className:a,testId:o=`headline-stack-test-id`}){let{isUserLoading:s,userInfo:c}=Rt(e=>e),l=!s&&c?.usertype,u=l&&e_(l);if(!(e===void 0||e===``))return(0,I.jsxs)(`div`,{className:F(`headline-stack flex flex-col items-start gap-16 dynamic-padding-y`,a),"data-testid":o,children:[(0,I.jsxs)(`div`,{className:`flex flex-col w-full items-start gap-08`,children:[n&&u&&(0,I.jsx)(GE,{}),r&&(0,I.jsx)(Uv,{type:p_.ASSET,size:m_.SMALL,textClassName:`text-secondary`,testId:`asset-kicker-test-id`,children:r}),(0,I.jsx)(In,{category:U.HEADLINE,size:B.XL,style:W.SEMIBOLD,className:F(`text-primary`,pr),element:`h1`,children:e}),t&&(0,I.jsx)(g_,{children:t})]}),(0,I.jsx)(d_,{showPromoLiner:i})]})}var g_=({children:e})=>(0,I.jsx)(`div`,{className:`flex items-center self-stretch`,children:(0,I.jsx)(In,{category:U.BODY,size:B.BASELINE,style:W.REGULAR,className:`text-primary`,children:e})});function __({current:e,length:t,className:n,textClassname:r,testId:i=`media-counter-test-id`}){return(0,I.jsx)(`div`,{className:F(`media-counter`,n),"data-testid":i,children:(0,I.jsxs)(Pn,{type:En.EYEBROW,size:B.BASELINE,className:F(`text-inverse`,r),children:[e,` of `,t]})})}var v_=r((e=>
20{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}})),y_=r(((e,t)=>{var n=NaN,r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,c=typeof global==`object`&&global&&global.Object===Object&&global,l=typeof self==`object`&&self&&self.Object===Object&&self,u=c||l||Function(`return this`)(),d=Object.prototype.toString,f=Math.max,p=Math.min,m=function(){return u.Date.now()};function h(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,h=!0;if(typeof e!=`function`)throw TypeError(`Expected a function`);t=y(t)||0,g(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?f(y(n.maxWait)||0,t):a,h=`trailing`in n?!!n.trailing:h);function _(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function v(e){return l=e,s=setTimeout(S,t),u?_(e):o}function b(e){var n=e-c,r=e-l,i=t-n;return d?p(i,a-r):i}function x(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function S(){var e=m();if(x(e))return C(e);s=setTimeout(S,b(e))}function C(e){return s=void 0,h&&r?_(e):(r=i=void 0,o)}function w(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function T(){return s===void 0?o:C(m())}function E(){var e=m(),n=x(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return v(c);if(d)return s=setTimeout(S,t),_(c)}return s===void 0&&(s=setTimeout(S,t)),o}return E.cancel=w,E.flush=T,E}function g(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function _(e){return!!e&&typeof e==`object`}function v(e){return typeof e==`symbol`||_(e)&&d.call(e)==`[object Symbol]`}function y(e){if(typeof e==`number`)return e;if(v(e))return n;if(g(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=g(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(r,``);var c=a.test(e);return c||o.test(e)?s(e.slice(2),c?2:8):i.test(e)?n:+e}t.exports=h})),b_=r((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(s());function n(e){return e&&e.__esModule?e:{default:e}}e.default={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return t.default.createElement(`ul`,{style:{display:`block`}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:`50px`,className:``,cssEase:`ease`,customPaging:function(e){return t.default.createElement(`button`,null,e+1)},dots:!1,dotsClass:`slick-dots`,draggable:!0,easing:`linear`,edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:`div`,slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null,unslick:!1}})),x_=r((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.checkSpecKeys=e.checkNavigable=e.changeSlide=e.canUseDOM=e.canGoNext=void 0,e.clamp=d,e.extractObject=void 0,e.filterSettings=ae,e.validSettings=e.swipeStart=e.swipeMove=e.swipeEnd=e.slidesOnRight=e.slidesOnLeft=e.slideHandler=e.siblingDirection=e.safePreventDefault=e.lazyStartIndex=e.lazySlidesOnRight=e.lazySlidesOnLeft=e.lazyEndIndex=e.keyHandler=e.initializedState=e.getWidth=e.getTrackLeft=e.getTrackCSS=e.getTrackAnimateCSS=e.getTotalSlides=e.getSwipeDirection=e.getSlideCount=e.getRequiredLazySlides=e.getPreClones=e.getPostClones=e.getOnDemandLazySlides=e.getNavigableIndexes=e.getHeight=void 0;var t=r(s()),n=r(b_());function r(e){return e&&e.__esModule?e:{default:e}}function i(e){"@babel/helpers - typeof";return i=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},i(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
20t%2?a(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return t=l(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){var t=u(e,`string`);return i(t)==`symbol`?t:String(t)}function u(e,t){if(i(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(i(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function d(e,t,n){return Math.max(t,Math.min(e,n))}var f=e.safePreventDefault=function(e){[`onTouchStart`,`onTouchMove`,`onWheel`].includes(e._reactName)||e.preventDefault()},p=e.getOnDemandLazySlides=function(e){for(var t=[],n=m(e),r=h(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t};e.getRequiredLazySlides=function(e){for(var t=[],n=m(e),r=h(e),i=n;i<r;i++)t.push(i);return t};var m=e.lazyStartIndex=function(e){return e.currentSlide-g(e)},h=e.lazyEndIndex=function(e){return e.currentSlide+_(e)},g=e.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+ +(parseInt(e.centerPadding)>0):0},_=e.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+ +(parseInt(e.centerPadding)>0):e.slidesToShow},v=e.getWidth=function(e){return e&&e.offsetWidth||0},y=e.getHeight=function(e){return e&&e.offsetHeight||0},b=e.getSwipeDirection=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=e.startX-e.curX,r=e.startY-e.curY,i=Math.round(Math.atan2(r,n)*180/Math.PI);return i<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?`left`:i>=135&&i<=225?`right`:t===!0?i>=35&&i<=135?`up`:`down`:`vertical`},x=e.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};e.extractObject=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},e.initializedState=function(e){var n=t.default.Children.count(e.children),r=e.listRef,i=Math.ceil(v(r)),a=e.trackRef&&e.trackRef.node,s=Math.ceil(v(a)),c;if(e.vertical)c=i;else{var l=e.centerMode&&parseInt(e.centerPadding)*2;typeof e.centerPadding==`string`&&e.centerPadding.slice(-1)===`%`&&(l*=i/100),c=Math.ceil((i-l)/e.slidesToShow)}var u=r&&y(r.querySelector(`[data-index="0"]`)),d=u*e.slidesToShow,f=e.currentSlide===void 0?e.initialSlide:e.currentSlide;e.rtl&&e.currentSlide===void 0&&(f=n-1-e.initialSlide);var m=e.lazyLoadedList||[],h=p(o(o({},e),{},{currentSlide:f,lazyLoadedList:m}));m=m.concat(h);var g={slideCount:n,slideWidth:c,listWidth:i,trackWidth:s,currentSlide:f,slideHeight:u,listHeight:d,lazyLoadedList:m};return e.autoplaying===null&&e.autoplay&&(g.autoplaying=`playing`),g},e.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,a=e.index,s=e.slideCount,c=e.lazyLoad,l=e.currentSlide,u=e.centerMode,f=e.slidesToScroll,m=e.slidesToShow,h=e.useCSS,g=e.lazyLoadedList;if(t&&n)return{};var _=a,v,y,b,S={},C={},w=i?a:d(a,0,s-1);if(r){if(!i&&(a<0||a>=s))return{};a<0?_=a+s:a>=s&&(_=a-s),c&&g.indexOf(_)<0&&(g=g.concat(_)),S={animating:!0,currentSlide:_,lazyLoadedList:g,targetSlide:_},C={animating:!1,targetSlide:_}}else v=_,_<0?(v=_+s,i?s%f!==0&&(v=s-s%f):v=0):!x(e)&&_>l?_=v=l:u&&_>=s?(_=i?s:s-1,v=i?0:s-1):_>=s&&(v=_-s,i?s%f!==0&&(v=0):v=s-m),!i&&_+m>=s&&(v=s-m),y=O(o(o({},e),{},{slideIndex:_})),b=O(o(o({},e),{},{slideIndex:v})),i||(y===b&&(_=v),y=b),c&&(g=g.concat(p(o(o({},e),{},{currentSlide:_})))),h?(S={animating:!0,currentSlide:v,trackStyle:D(o(o({},e),{},{left:y})),lazyLoadedList:g,targetSlide:w},C={animating:!1,currentSlide:v,trackStyle:E(o(o({},e),{},{left:b})),swipeLeft:null,targetSlide:w}):S={currentSlide:v,trackStyle:E(o(o({},e),{},{left:b})),lazyLoadedList:g,targetSlide:w};return{state:S,nextState:C}},e.changeSlide=function(e,t){var n,r,i,a,s,c=e.slidesToScroll,l=e.slidesToShow,u=e.slideCount,d=e.currentSlide,f=e.targetSlide,p=e.lazyLoad,m=e.infinite;if(a=u%c!==0,n=a?0:(u-d)%c,t.message===`previous`)i=n===0?c:l-n,s=d-i,p&&!m&&(r=d-i,s=r===-1?u-1:r),m||(s=f-c);else if(t.message===`next`)i=n===0?c:n,s=d+i,p&&!m&&(s=(d+c)%u+n),m||(s=f+c);
20else if(t.message===`dots`)s=t.index*t.slidesToScroll;else if(t.message===`children`){if(s=t.index,m){var h=te(o(o({},e),{},{targetSlide:s}));s>t.currentSlide&&h===`left`?s-=u:s<t.currentSlide&&h===`right`&&(s+=u)}}else t.message===`index`&&(s=Number(t.index));return s},e.keyHandler=function(e,t,n){return e.target.tagName.match(`TEXTAREA|INPUT|SELECT`)||!t?``:e.keyCode===37?n?`next`:`previous`:e.keyCode===39?n?`previous`:`next`:``},e.swipeStart=function(e,t,n){return e.target.tagName===`IMG`&&f(e),!t||!n&&e.type.indexOf(`mouse`)!==-1?``:{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},e.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,a=t.swipeToSlide,s=t.verticalSwiping,c=t.rtl,l=t.currentSlide,u=t.edgeFriction,d=t.edgeDragged,p=t.onEdge,m=t.swiped,h=t.swiping,g=t.slideCount,_=t.slidesToScroll,v=t.infinite,y=t.touchObject,S=t.swipeEvent,C=t.listHeight,w=t.listWidth;if(!n){if(r)return f(e);i&&a&&s&&f(e);var T,D={},k=O(t);y.curX=e.touches?e.touches[0].pageX:e.clientX,y.curY=e.touches?e.touches[0].pageY:e.clientY,y.swipeLength=Math.round(Math.sqrt((y.curX-y.startX)**2));var A=Math.round(Math.sqrt((y.curY-y.startY)**2));if(!s&&!h&&A>10)return{scrolling:!0};s&&(y.swipeLength=A);
20var ee=(c?-1:1)*(y.curX>y.startX?1:-1);s&&(ee=y.curY>y.startY?1:-1);var te=Math.ceil(g/_),ne=b(t.touchObject,s),re=y.swipeLength;return v||(l===0&&(ne===`right`||ne===`down`)||l+1>=te&&(ne===`left`||ne===`up`)||!x(t)&&(ne===`left`||ne===`up`))&&(re=y.swipeLength*u,d===!1&&p&&(p(ne),D.edgeDragged=!0)),!m&&S&&(S(ne),D.swiped=!0),T=i?k+C/w*re*ee:c?k-re*ee:k+re*ee,s&&(T=k+re*ee),D=o(o({},D),{},{touchObject:y,swipeLeft:T,trackStyle:E(o(o({},t),{},{left:T}))}),Math.abs(y.curX-y.startX)<Math.abs(y.curY-y.startY)*.8||y.swipeLength>10&&(D.swiping=!0,f(e)),D}},e.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,a=t.listWidth,s=t.touchThreshold,c=t.verticalSwiping,l=t.listHeight,u=t.swipeToSlide,d=t.scrolling,p=t.onSwipe,m=t.targetSlide,h=t.currentSlide,g=t.infinite;if(!n)return r&&f(e),{};var _=c?l/s:a/s,v=b(i,c),y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d||!i.swipeLength)return y;if(i.swipeLength>_){f(e),p&&p(v);var x,S,T=g?h:m;switch(v){case`left`:case`up`:S=T+w(t),x=u?C(t,S):S,y.currentDirection=0;break;case`right`:case`down`:S=T-w(t),x=u?C(t,S):S,y.currentDirection=1;break;default:x=T}y.triggerSlideHandler=x}else{var E=O(t);y.trackStyle=D(o(o({},t),{},{left:E}))}return y};var S=e.getNavigableIndexes=function(e){for(var t=e.infinite?e.slideCount*2:e.slideCount,n=e.infinite?e.slidesToShow*-1:0,r=e.infinite?e.slidesToShow*-1:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i},C=e.checkNavigable=function(e,t){var n=S(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t},w=e.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,i=r.querySelectorAll&&r.querySelectorAll(`.slick-slide`)||[];if(Array.from(i).every(function(r){if(!e.vertical){if(r.offsetLeft-t+v(r)/2>e.swipeLeft*-1)return n=r,!1}else if(r.offsetTop+y(r)/2>e.swipeLeft*-1)return n=r,!1;return!0}),!n)return 0;var a=e.rtl===!0?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-a)||1}else return e.slidesToScroll},T=e.checkSpecKeys=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error(`Keys Missing:`,e)},E=e.getTrackCSS=function(e){T(e,[`left`,`variableWidth`,`slideCount`,`slidesToShow`,`slideWidth`]);var t,n,r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=ee(e)*e.slideWidth;var i={opacity:1,transition:``,WebkitTransition:``};if(e.useTransform){var a=e.vertical?`translate3d(0px, `+e.left+`px, 0px)`:`translate3d(`+e.left+`px, 0px, 0px)`,s=e.vertical?`translate3d(0px, `+e.left+`px, 0px)`:`translate3d(`+e.left+`px, 0px, 0px)`,c=e.vertical?`translateY(`+e.left+`px)`:`translateX(`+e.left+`px)`;i=o(o({},i),{},{WebkitTransform:a,transform:s,msTransform:c})}else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+`px`:i.marginLeft=e.left+`px`),i},D=e.getTrackAnimateCSS=function(e){T(e,[`left`,`variableWidth`,`slideCount`,`slidesToShow`,`slideWidth`,`speed`,`cssEase`]);var t=E(e);return e.useTransform?(t.WebkitTransition=`-webkit-transform `+e.speed+`ms `+e.cssEase,t.transition=`transform `+e.speed+`ms `+e.cssEase):e.vertical?t.transition=`top `+e.speed+`ms `+e.cssEase:t.transition=`left `+e.speed+`ms `+e.cssEase,t},O=e.getTrackLeft=function(e){if(e.unslick)return 0;T(e,[`slideIndex`,`trackRef`,`infinite`,`centerMode`,`slideCount`,`slidesToShow`,`slidesToScroll`,`slideWidth`,`listWidth`,`variableWidth`,`slideHeight`]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,i=e.centerMode,a=e.slideCount,o=e.slidesToShow,s=e.slidesToScroll,c=e.slideWidth,l=e.listWidth,u=e.variableWidth,d=e.slideHeight,f=e.fade,p=e.vertical,m=0,h,g,_=0;if(f||e.slideCount===1)return 0;var v=0;if(r?(v=-k(e),a%s!==0&&t+s>a&&(v=-(t>a?o-(t-a):a%s)),i&&(v+=parseInt(o/2))):(a%s!==0&&t+s>a&&(v=o-a%s),i&&(v=parseInt(o/2))),m=v*c,_=v*d,h=p?t*d*-1+_:t*c*-1+m,u===!0){var y,b=n&&n.node;if(y=t+k(e),g=b&&b.childNodes[y],h=g?g.offsetLeft*-1:0,i===!0){y=r?t+k(e):t,g=b&&b.children[y],h=0;for(var x=0;x<y;x++)h-=b&&b.children[x]&&b.children[x].offsetWidth;h-=parseInt(e.centerPadding),h+=g&&(l-g.offsetWidth)/2}}return h},k=e.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+ +!!e.centerMode},A=e.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},ee=e.getTotalSlides=function(e){return e.slideCount===1?1:k(e)+e.slideCount+A(e)},te=e.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+ne(e)?`left`:`right`:e.targetSlide<e.currentSlide-re(e)?`right`:`left`},ne=e.slidesOnRight=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,
20i=e.centerPadding;if(n){var a=(t-1)/2+1;return parseInt(i)>0&&(a+=1),r&&t%2==0&&(a+=1),a}return r?0:t-1},re=e.slidesOnLeft=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var a=(t-1)/2+1;return parseInt(i)>0&&(a+=1),!r&&t%2==0&&(a+=1),a}return r?t-1:0};e.canUseDOM=function(){return!!(typeof window<`u`&&window.document&&window.document.createElement)};var ie=e.validSettings=Object.keys(n.default);function ae(e){return ie.reduce(function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t},{})}})),S_=r((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Track=void 0;var t=i(s()),n=i(y()),r=x_();function i(e){return e&&e.__esModule?e:{default:e}}function a(e){"@babel/helpers - typeof";return a=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},a(e)}function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,S(r.key),r)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){var t=g();return function(){var n=_(e),r;if(t){var i=_(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){if(t&&(a(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return h(e)}function h(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(g=function(){return!!e})()}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?v(Object(n),!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t,n){return t=S(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e){var t=C(e,`string`);return a(t)==`symbol`?t:String(t)}function C(e,t){if(a(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(a(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var w=function(e){var t,n,r,i,a=e.rtl?e.slideCount-1-e.index:e.index;r=a<0||a>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(a-e.currentSlide)%e.slideCount===0,a>e.currentSlide-i-1&&a<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow;var o=e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide;return{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":a===o}},T=function(e){var t={};return(e.variableWidth===void 0||e.variableWidth===!1)&&(t.width=e.slideWidth),e.fade&&(t.position=`relative`,e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=+(e.currentSlide===e.index),t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition=`opacity `+e.speed+`ms `+e.cssEase+`, visibility `+e.speed+`ms `+e.cssEase)),t},E=function(e,t){return e.key||t},D=function(e){var i,a=[],o=[],s=[],c=t.default.Children.count(e.children),l=(0,r.lazyStartIndex)(e),u=(0,r.lazyEndIndex)(e);
20return t.default.Children.forEach(e.children,function(d,f){var p,m={message:`children`,index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:t.default.createElement(`div`,null);var h=T(b(b({},e),{},{index:f})),g=p.props.className||``,_=w(b(b({},e),{},{index:f}));if(a.push(t.default.cloneElement(p,{key:`original`+E(p,f),"data-index":f,className:(0,n.default)(_,g),tabIndex:`-1`,"aria-hidden":!_[`slick-active`],style:b(b({outline:`none`},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})),e.infinite&&e.fade===!1){var v=c-f;v<=(0,r.getPreClones)(e)&&(i=-v,i>=l&&(p=d),_=w(b(b({},e),{},{index:i})),o.push(t.default.cloneElement(p,{key:`precloned`+E(p,i),"data-index":i,tabIndex:`-1`,className:(0,n.default)(_,g),"aria-hidden":!_[`slick-active`],style:b(b({},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}}))),i=c+f,i<u&&(p=d),_=w(b(b({},e),{},{index:i})),s.push(t.default.cloneElement(p,{key:`postcloned`+E(p,i),"data-index":i,tabIndex:`-1`,className:(0,n.default)(_,g),"aria-hidden":!_[`slick-active`],style:b(b({},p.props.style||{}),h),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}}))}}),e.rtl?o.concat(a,s).reverse():o.concat(a,s)};e.Track=function(e){d(r,e);var n=p(r);function r(){var e;c(this,r);var t=[...arguments];return e=n.call.apply(n,[this].concat(t)),x(h(e),`node`,null),x(h(e),`handleRef`,function(t){e.node=t}),e}return u(r,[{key:`render`,value:function(){var e=D(this.props),n=this.props,r={onMouseEnter:n.onMouseEnter,onMouseOver:n.onMouseOver,onMouseLeave:n.onMouseLeave};return t.default.createElement(`div`,o({ref:this.handleRef,className:`slick-track`,style:this.props.trackStyle},r),e)}}]),r}(t.default.PureComponent)})),C_=r((e=>{function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.Dots=void 0;var n=a(s()),r=a(y()),i=x_();function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?o(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t,n){return t=p(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e){var n=m(e,`string`);return t(n)==`symbol`?n:String(n)}function m(e,n){if(t(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,n||`default`);if(t(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(e)}function h(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function _(e){var t=x();return function(){var n=S(e),r;if(t){var i=S(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,n){if(n&&(t(n)===`object`||typeof n==`function`))return n;if(n!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return b(e)}function b(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(x=function(){return!!e})()}
20function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var C=function(e){return e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1};e.Dots=function(e){h(a,e);var t=_(a);function a(){return u(this,a),t.apply(this,arguments)}return f(a,[{key:`clickHandler`,value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:`render`,value:function(){for(var e=this.props,t=e.onMouseEnter,a=e.onMouseOver,o=e.onMouseLeave,s=e.infinite,l=e.slidesToScroll,u=e.slidesToShow,d=e.slideCount,f=e.currentSlide,p=C({slideCount:d,slidesToScroll:l,slidesToShow:u,infinite:s}),m={onMouseEnter:t,onMouseOver:a,onMouseLeave:o},h=[],g=0;g<p;g++){var _=(g+1)*l-1,v=s?_:(0,i.clamp)(_,0,d-1),y=v-(l-1),b=s?y:(0,i.clamp)(y,0,d-1),x=(0,r.default)({"slick-active":s?f>=b&&f<=v:f===b}),S={message:`dots`,index:g,slidesToScroll:l,currentSlide:f},w=this.clickHandler.bind(this,S);h=h.concat(n.default.createElement(`li`,{key:g,className:x},n.default.cloneElement(this.props.customPaging(g),{onClick:w})))}return n.default.cloneElement(this.props.appendDots(h),c({className:this.props.dotsClass},m))}}]),a}(n.default.PureComponent)})),w_=r((e=>{function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.PrevArrow=e.NextArrow=void 0;var n=a(s()),r=a(y()),i=x_();function a(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?c(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return t=m(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){var n=h(e,`string`);return t(n)==`symbol`?n:String(n)}function h(e,n){if(t(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,n||`default`);if(t(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(e)}function g(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}function v(e){var t=S();return function(){var n=C(e),r;if(t){var i=C(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,n){if(n&&(t(n)===`object`||typeof n==`function`))return n;if(n!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return x(e)}function x(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(S=function(){return!!e})()}
20function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}e.PrevArrow=function(e){g(i,e);var t=v(i);function i(){return d(this,i),t.apply(this,arguments)}return p(i,[{key:`clickHandler`,value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:`render`,value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:`previous`});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(e[`slick-disabled`]=!0,t=null);var i={key:`0`,"data-role":`none`,className:(0,r.default)(e),style:{display:`block`},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.default.cloneElement(this.props.prevArrow,l(l({},i),a)):n.default.createElement(`button`,o({key:`0`,type:`button`},i),` `,`Previous`)}}]),i}(n.default.PureComponent),e.NextArrow=function(e){g(a,e);var t=v(a);function a(){return d(this,a),t.apply(this,arguments)}return p(a,[{key:`clickHandler`,value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:`render`,value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:`next`});(0,i.canGoNext)(this.props)||(e[`slick-disabled`]=!0,t=null);var a={key:`1`,"data-role":`none`,className:(0,r.default)(e),style:{display:`block`},onClick:t},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.default.cloneElement(this.props.nextArrow,l(l({},a),s)):n.default.createElement(`button`,o({key:`1`,type:`button`},a),` `,`Next`)}}]),a}(n.default.PureComponent)})),T_=o({default:()=>ev});function E_(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&s()}function o(){z_(a)}function s(){var e=Date.now();if(n){if(e-i<B_)return;r=!0}else n=!0,r=!1,setTimeout(o,t);i=e}return s}function D_(e){return parseFloat(e)||0}function O_(e){return[...arguments].slice(1).reduce(function(t,n){var r=e[`border-`+n+`-width`];return t+D_(r)},0)}function k_(e){for(var t=[`top`,`right`,`bottom`,`left`],n={},r=0,i=t;r<i.length;r++){var a=i[r],o=e[`padding-`+a];n[a]=D_(o)}return n}function A_(e){var t=e.getBBox();return F_(0,0,t.width,t.height)}function j_(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return q_;var r=K_(e).getComputedStyle(e),i=k_(r),a=i.left+i.right,o=i.top+i.bottom,s=D_(r.width),c=D_(r.height);if(r.boxSizing===`border-box`&&(Math.round(s+a)!==t&&(s-=O_(r,`left`,`right`)+a),Math.round(c+o)!==n&&(c-=O_(r,`top`,`bottom`)+o)),!M_(e)){var l=Math.round(s+a)-t,u=Math.round(c+o)-n;Math.abs(l)!==1&&(s-=l),Math.abs(u)!==1&&(c-=u)}return F_(i.left,i.top,s,c)}function M_(e){return e===K_(e).document.documentElement}function N_(e){return L_?J_(e)?A_(e):j_(e):q_}function P_(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=Object.create((typeof DOMRectReadOnly<`u`?DOMRectReadOnly:Object).prototype);return G_(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function F_(e,t,n,r){return{x:e,y:t,width:n,height:r}}var I_,L_,R_,z_,B_,V_,H_,U_,W_,G_,K_,q_,J_,Y_,X_,Z_,Q_,$_,ev,tv=i((()=>{I_=(function(){if(typeof Map<`u`)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t?(n=r,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){t===void 0&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()})(),L_=typeof window<`u`&&typeof document<`u`&&window.document===document,R_=(function(){return typeof global<`u`&&global.Math===Math?global:typeof self<`u`&&self.Math===Math?self:typeof window<`u`&&window.Math===Math?window:Function(`return this`)()})(),z_=(function(){return typeof requestAnimationFrame==`function`?requestAnimationFrame.bind(R_):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),B_=2,V_=20,H_=[`top`,`right`,`bottom`,`left`,`width`,`height`,`size`,`weight`],U_=typeof MutationObserver<`u`,W_=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=E_(this.refresh.bind(this),V_)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){!L_||this.connected_||(document.addEventListener(`transitionend`,this.onTransitionEnd_),window.addEventListener(`resize`,this.refresh),U_?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener(`DOMSubtreeModified`,this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!L_||!this.connected_||(document.removeEventListener(`transitionend`,this.onTransitionEnd_),window.removeEventListener(`resize`,this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener(`DOMSubtreeModified`,this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=t===void 0?``:t;H_.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||=new e,this.instance_},e.instance_=null,e}(),G_=(function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,
vendor: 4,335 bytes, line 20
20configurable:!0})}return e}),K_=(function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||R_}),q_=F_(0,0,0,0),J_=(function(){return typeof SVGGraphicsElement<`u`?function(e){return e instanceof K_(e).SVGGraphicsElement}:function(e){return e instanceof K_(e).SVGElement&&typeof e.getBBox==`function`}})(),Y_=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=F_(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=N_(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),X_=function(){function e(e,t){var n=P_(t);G_(this,{target:e,contentRect:n})}return e}(),Z_=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new I_,typeof e!=`function`)throw TypeError(`The callback provided as parameter 1 is not a function.`);this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof K_(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)||(t.set(e,new Y_(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof K_(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new X_(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Q_=typeof WeakMap<`u`?new WeakMap:new I_,$_=function(){function e(t){if(!(this instanceof e))throw TypeError(`Cannot call a class as a function.`);if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);var n=new Z_(t,W_.getInstance(),this);Q_.set(this,n)}return e}(),[`observe`,`unobserve`,`disconnect`].forEach(function(e){$_.prototype[e]=function(){var t;return(t=Q_.get(this))[e].apply(t,arguments)}}),ev=(function(){return R_.ResizeObserver===void 0?$_:R_.ResizeObserver})()})),nv=r((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.InnerSlider=void 0;var n=f(s()),r=f(v_()),i=f(y_()),a=f(y()),o=x_(),c=S_(),l=C_(),u=w_(),d=f((tv(),t(T_)));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){"@babel/helpers - typeof";return p=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},p(e)}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function h(e,t){if(e==null)return{};var n=g(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function g(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
20t%2?_(Object(n),!0).forEach(function(t){A(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,ee(r.key),r)}}function S(e,t,n){return t&&x(e.prototype,t),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function C(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)}function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function T(e){var t=O();return function(){var n=k(e),r;if(t){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return E(this,r)}}function E(e,t){if(t&&(p(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return D(e)}function D(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(O=function(){return!!e})()}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function A(e,t,n){return t=ee(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ee(e){var t=te(e,`string`);return p(t)==`symbol`?t:String(t)}function te(e,t){if(p(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(p(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}e.InnerSlider=function(e){C(s,e);var t=T(s);function s(e){var f;b(this,s),f=t.call(this,e),A(D(f),`listRefHandler`,function(e){return f.list=e}),A(D(f),`trackRefHandler`,function(e){return f.track=e}),A(D(f),`adaptHeight`,function(){if(f.props.adaptiveHeight&&f.list){var e=f.list.querySelector(`[data-index="${f.state.currentSlide}"]`);f.list.style.height=(0,o.getHeight)(e)+`px`}}),A(D(f),`componentDidMount`,function(){if(f.props.onInit&&f.props.onInit(),f.props.lazyLoad){var e=(0,o.getOnDemandLazySlides)(v(v({},f.props),f.state));e.length>0&&(f.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),f.props.onLazyLoad&&f.props.onLazyLoad(e))}var t=v({listRef:f.list,trackRef:f.track},f.props);f.updateState(t,!0,function(){f.adaptHeight(),f.props.autoplay&&f.autoPlay(`update`)}),f.props.lazyLoad===`progressive`&&(f.lazyLoadTimer=setInterval(f.progressiveLazyLoad,1e3)),f.ro=new d.default(function(){f.state.animating?(f.onWindowResized(!1),f.callbackTimers.push(setTimeout(function(){return f.onWindowResized()},f.props.speed))):f.onWindowResized()}),f.ro.observe(f.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(`.slick-slide`),function(e){e.onfocus=f.props.pauseOnFocus?f.onSlideFocus:null,e.onblur=f.props.pauseOnFocus?f.onSlideBlur:null}),window.addEventListener?window.addEventListener(`resize`,f.onWindowResized):window.attachEvent(`onresize`,f.onWindowResized)}),A(D(f),`componentWillUnmount`,function(){f.animationEndCallback&&clearTimeout(f.animationEndCallback),f.lazyLoadTimer&&clearInterval(f.lazyLoadTimer),f.callbackTimers.length&&(f.callbackTimers.forEach(function(e){return clearTimeout(e)}),f.callbackTimers=[]),window.addEventListener?window.removeEventListener(`resize`,f.onWindowResized):window.detachEvent(`onresize`,f.onWindowResized),f.autoplayTimer&&clearInterval(f.autoplayTimer),f.ro.disconnect()}),A(D(f),`componentDidUpdate`,function(e){if(f.checkImagesLoad(),f.props.onReInit&&f.props.onReInit(),f.props.lazyLoad){var t=(0,o.getOnDemandLazySlides)(v(v({},f.props),f.state));t.length>0&&(f.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),f.props.onLazyLoad&&f.props.onLazyLoad(t))}f.adaptHeight();var r=v(v({listRef:f.list,trackRef:f.track},f.props),f.state),i=f.didPropsChange(e);i&&f.updateState(r,i,function(){f.state.currentSlide>=n.default.Children.count(f.props.children)&&f.changeSlide({message:`index`,index:n.default.Children.count(f.props.children)-f.props.slidesToShow,currentSlide:f.state.currentSlide}),f.props.autoplay?f.autoPlay(`update`):f.pause(`paused`)})}),A(D(f),`onWindowResized`,function(e){f.debouncedResize&&f.debouncedResize.cancel(),f.debouncedResize=(0,i.default)(function(){return f.resizeWindow(e)},50),f.debouncedResize()}),A(D(f),`resizeWindow`,function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(f.track&&f.track.node){var t=v(v({listRef:f.list,trackRef:f.track},f.props),f.state);f.updateState(t,e,function(){f.props.autoplay?f.autoPlay(`update`):f.pause(`paused`)}),f.setState({animating:!1}),clearTimeout(f.animationEndCallback),delete f.animationEndCallback}}),A(D(f),`updateState`,function(e,t,r){var i=(0,o.initializedState)(e);e=v(v(v({},e),i),{},{slideIndex:i.currentSlide});var a=(0,o.getTrackLeft)(e);e=v(v({},e),{},{left:a});var s=(0,o.getTrackCSS)(e);(t||n.default.Children.count(f.props.children)!==n.default.Children.count(e.children))&&(i.trackStyle=s),f.setState(i,r)}),A(D(f),`ssrInit`,function(){if(f.props.variableWidth){var e=0,t=0,r=[],i=(0,o.getPreClones)(v(v(v({},f.props),f.state),{},{slideCount:f.props.children.length})),a=(0,o.getPostClones)(v(v(v({},f.props),f.state),{},{slideCount:f.props.children.length}));
20f.props.children.forEach(function(t){r.push(t.props.style.width),e+=t.props.style.width});for(var s=0;s<i;s++)t+=r[r.length-1-s],e+=r[r.length-1-s];for(var c=0;c<a;c++)e+=r[c];for(var l=0;l<f.state.currentSlide;l++)t+=r[l];var u={width:e+`px`,left:-t+`px`};if(f.props.centerMode){var d=`${r[f.state.currentSlide]}px`;u.left=`calc(${u.left} + (100% - ${d}) / 2 ) `}return{trackStyle:u}}var p=n.default.Children.count(f.props.children),m=v(v(v({},f.props),f.state),{},{slideCount:p}),h=(0,o.getPreClones)(m)+(0,o.getPostClones)(m)+p,g=100/f.props.slidesToShow*h,_=100/h,y=-_*((0,o.getPreClones)(m)+f.state.currentSlide)*g/100;f.props.centerMode&&(y+=(100-_*g/100)/2);var b={width:g+`%`,left:y+`%`};return{slideWidth:_+`%`,trackStyle:b}}),A(D(f),`checkImagesLoad`,function(){var e=f.list&&f.list.querySelectorAll&&f.list.querySelectorAll(`.slick-slide img`)||[],t=e.length,n=0;Array.prototype.forEach.call(e,function(e){var r=function(){return++n&&n>=t&&f.onWindowResized()};if(!e.onclick)e.onclick=function(){return e.parentNode.focus()};else{var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}e.onload||(f.props.lazyLoad?e.onload=function(){f.adaptHeight(),f.callbackTimers.push(setTimeout(f.onWindowResized,f.props.speed))}:(e.onload=r,e.onerror=function(){r(),f.props.onLazyLoadError&&f.props.onLazyLoadError()}))})}),A(D(f),`progressiveLazyLoad`,function(){for(var e=[],t=v(v({},f.props),f.state),n=f.state.currentSlide;n<f.state.slideCount+(0,o.getPostClones)(t);n++)if(f.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var r=f.state.currentSlide-1;r>=-(0,o.getPreClones)(t);r--)if(f.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(f.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),f.props.onLazyLoad&&f.props.onLazyLoad(e)):f.lazyLoadTimer&&(clearInterval(f.lazyLoadTimer),delete f.lazyLoadTimer)}),A(D(f),`slideHandler`,function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=f.props,r=n.asNavFor,i=n.beforeChange,a=n.onLazyLoad,s=n.speed,c=n.afterChange,l=f.state.currentSlide,u=(0,o.slideHandler)(v(v(v({index:e},f.props),f.state),{},{trackRef:f.track,useCSS:f.props.useCSS&&!t})),d=u.state,p=u.nextState;if(d){i&&i(l,d.currentSlide);var m=d.lazyLoadedList.filter(function(e){return f.state.lazyLoadedList.indexOf(e)<0});a&&m.length>0&&a(m),!f.props.waitForAnimate&&f.animationEndCallback&&(clearTimeout(f.animationEndCallback),c&&c(l),delete f.animationEndCallback),f.setState(d,function(){r&&f.asNavForIndex!==e&&(f.asNavForIndex=e,r.innerSlider.slideHandler(e)),p&&(f.animationEndCallback=setTimeout(function(){var e=p.animating,t=h(p,[`animating`]);f.setState(t,function(){f.callbackTimers.push(setTimeout(function(){return f.setState({animating:e})},10)),c&&c(d.currentSlide),delete f.animationEndCallback})},s))})}}),A(D(f),`changeSlide`,function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=v(v({},f.props),f.state),r=(0,o.changeSlide)(n,e);if(!(r!==0&&!r)&&(t===!0?f.slideHandler(r,t):f.slideHandler(r),f.props.autoplay&&f.autoPlay(`update`),f.props.focusOnSelect)){var i=f.list.querySelectorAll(`.slick-current`);i[0]&&i[0].focus()}}),A(D(f),`clickHandler`,function(e){f.clickable===!1&&(e.stopPropagation(),e.preventDefault()),f.clickable=!0}),A(D(f),`keyHandler`,function(e){var t=(0,o.keyHandler)(e,f.props.accessibility,f.props.rtl);t!==``&&f.changeSlide({message:t})}),A(D(f),`selectHandler`,function(e){f.changeSlide(e)}),A(D(f),`disableBodyScroll`,function(){window.ontouchmove=function(e){e||=window.event,e.preventDefault&&e.preventDefault(),e.returnValue=!1}}),A(D(f),`enableBodyScroll`,function(){window.ontouchmove=null}),A(D(f),`swipeStart`,function(e){f.props.verticalSwiping&&f.disableBodyScroll();var t=(0,o.swipeStart)(e,f.props.swipe,f.props.draggable);t!==``&&f.setState(t)}),A(D(f),`swipeMove`,function(e){var t=(0,o.swipeMove)(e,v(v(v({},f.props),f.state),{},{trackRef:f.track,listRef:f.list,slideIndex:f.state.currentSlide}));t&&(t.swiping&&(f.clickable=!1),f.setState(t))}),A(D(f),`swipeEnd`,function(e){var t=(0,o.swipeEnd)(e,v(v(v({},f.props),f.state),{},{trackRef:f.track,listRef:f.list,slideIndex:f.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,f.setState(t),n!==void 0&&(f.slideHandler(n),f.props.verticalSwiping&&f.enableBodyScroll())}}),A(D(f),`touchEnd`,function(e){f.swipeEnd(e),f.clickable=!0}),A(D(f),`slickPrev`,function(){f.callbackTimers.push(setTimeout(function(){return f.changeSlide({message:`previous`})},0))}),A(D(f),`slickNext`,function(){f.callbackTimers.push(setTimeout(function(){return f.changeSlide({message:`next`})},0))}),A(D(f),`slickGoTo`,function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(e=Number(e),isNaN(e))return``;f.callbackTimers.push(setTimeout(function(){return f.changeSlide({message:`index`,index:e,currentSlide:f.state.currentSlide},t)},0))}),A(D(f),`play`,function(){var e;if(f.props.rtl)e=f.state.currentSlide-f.props.slidesToScroll;else if((0,o.canGoNext)(v(v({}
20,f.props),f.state)))e=f.state.currentSlide+f.props.slidesToScroll;else return!1;f.slideHandler(e)}),A(D(f),`autoPlay`,function(e){f.autoplayTimer&&clearInterval(f.autoplayTimer);var t=f.state.autoplaying;if(e===`update`){if(t===`hovered`||t===`focused`||t===`paused`)return}else if(e===`leave`){if(t===`paused`||t===`focused`)return}else if(e===`blur`&&(t===`paused`||t===`hovered`))return;f.autoplayTimer=setInterval(f.play,f.props.autoplaySpeed+50),f.setState({autoplaying:`playing`})}),A(D(f),`pause`,function(e){f.autoplayTimer&&(clearInterval(f.autoplayTimer),f.autoplayTimer=null);var t=f.state.autoplaying;e===`paused`?f.setState({autoplaying:`paused`}):e===`focused`?(t===`hovered`||t===`playing`)&&f.setState({autoplaying:`focused`}):t===`playing`&&f.setState({autoplaying:`hovered`})}),A(D(f),`onDotsOver`,function(){return f.props.autoplay&&f.pause(`hovered`)}),A(D(f),`onDotsLeave`,function(){return f.props.autoplay&&f.state.autoplaying===`hovered`&&f.autoPlay(`leave`)}),A(D(f),`onTrackOver`,function(){return f.props.autoplay&&f.pause(`hovered`)}),A(D(f),`onTrackLeave`,function(){return f.props.autoplay&&f.state.autoplaying===`hovered`&&f.autoPlay(`leave`)}),A(D(f),`onSlideFocus`,function(){return f.props.autoplay&&f.pause(`focused`)}),A(D(f),`onSlideBlur`,function(){return f.props.autoplay&&f.state.autoplaying===`focused`&&f.autoPlay(`blur`)}),A(D(f),`render`,function(){var e=(0,a.default)(`slick-slider`,f.props.className,{"slick-vertical":f.props.vertical,"slick-initialized":!0}),t=v(v({},f.props),f.state),r=(0,o.extractObject)(t,[`fade`,`cssEase`,`speed`,`infinite`,`centerMode`,`focusOnSelect`,`currentSlide`,`lazyLoad`,`lazyLoadedList`,`rtl`,`slideWidth`,`slideHeight`,`listHeight`,`vertical`,`slidesToShow`,`slidesToScroll`,`slideCount`,`trackStyle`,`variableWidth`,`unslick`,`centerPadding`,`targetSlide`,`useCSS`]),i=f.props.pauseOnHover;r=v(v({},r),{},{onMouseEnter:i?f.onTrackOver:null,onMouseLeave:i?f.onTrackLeave:null,onMouseOver:i?f.onTrackOver:null,focusOnSelect:f.props.focusOnSelect&&f.clickable?f.selectHandler:null});var s;if(f.props.dots===!0&&f.state.slideCount>=f.props.slidesToShow){var d=(0,o.extractObject)(t,[`dotsClass`,`slideCount`,`slidesToShow`,`currentSlide`,`slidesToScroll`,`clickHandler`,`children`,`customPaging`,`infinite`,`appendDots`]),p=f.props.pauseOnDotsHover;d=v(v({},d),{},{clickHandler:f.changeSlide,onMouseEnter:p?f.onDotsLeave:null,onMouseOver:p?f.onDotsOver:null,onMouseLeave:p?f.onDotsLeave:null}),s=n.default.createElement(l.Dots,d)}var h,g,_=(0,o.extractObject)(t,[`infinite`,`centerMode`,`currentSlide`,`slideCount`,`slidesToShow`,`prevArrow`,`nextArrow`]);_.clickHandler=f.changeSlide,f.props.arrows&&(h=n.default.createElement(u.PrevArrow,_),g=n.default.createElement(u.NextArrow,_));var y=null;f.props.vertical&&(y={height:f.state.listHeight});var b=null;f.props.vertical===!1?f.props.centerMode===!0&&(b={padding:`0px `+f.props.centerPadding}):f.props.centerMode===!0&&(b={padding:f.props.centerPadding+` 0px`});var x=v(v({},y),b),S=f.props.touchMove,C={className:`slick-list`,style:x,onClick:f.clickHandler,onMouseDown:S?f.swipeStart:null,onMouseMove:f.state.dragging&&S?f.swipeMove:null,onMouseUp:S?f.swipeEnd:null,onMouseLeave:f.state.dragging&&S?f.swipeEnd:null,onTouchStart:S?f.swipeStart:null,onTouchMove:f.state.dragging&&S?f.swipeMove:null,onTouchEnd:S?f.touchEnd:null,onTouchCancel:f.state.dragging&&S?f.swipeEnd:null,onKeyDown:f.props.accessibility?f.keyHandler:null},w={className:e,dir:`ltr`,style:f.props.style};return f.props.unslick&&(C={className:`slick-list`},w={className:e}),n.default.createElement(`div`,w,f.props.unslick?``:h,n.default.createElement(`div`,m({ref:f.listRefHandler},C),n.default.createElement(c.Track,m({ref:f.trackRefHandler},r),f.props.children)),f.props.unslick?``:g,f.props.unslick?``:s)}),f.list=null,f.track=null,f.state=v(v({},r.default),{},{currentSlide:f.props.initialSlide,targetSlide:f.props.initialSlide?f.props.initialSlide:0,slideCount:n.default.Children.count(f.props.children)}),f.callbackTimers=[],f.clickable=!0,f.debouncedResize=null;var p=f.ssrInit();return f.state=v(v({},f.state),p),f}return S(s,[{key:`didPropsChange`,value:function(e){for(var t=!1,r=0,i=Object.keys(this.props);r<i.length;r++){var a=i[r];if(!e.hasOwnProperty(a)){t=!0;break}if(!(p(e[a])===`object`||typeof e[a]==`function`||isNaN(e[a]))&&e[a]!==this.props[a]){t=!0;break}}return t||n.default.Children.count(this.props.children)!==n.default.Children.count(e.children)}}]),s}(n.default.Component)})),rv=r(((e,t)=>{t.exports=function(e){return e.replace(/[A-Z]/g,function(e){return`-`+e.toLowerCase()}).toLowerCase()}})),iv=r(((e,t)=>{var n=rv(),r=function(e){return/[height|width]$/.test(e)},i=function(e){var t=``,i=Object.keys(e);
20return i.forEach(function(a,o){var s=e[a];a=n(a),r(a)&&typeof s==`number`&&(s+=`px`),s===!0?t+=a:s===!1?t+=`not `+a:t+=`(`+a+`: `+s+`)`,o<i.length-1&&(t+=` and `)}),t};t.exports=function(e){var t=``;return typeof e==`string`?e:e instanceof Array?(e.forEach(function(n,r){t+=i(n),r<e.length-1&&(t+=`, `)}),t):i(e)}})),av=r(((e,t)=>{function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},t.exports=n})),ov=r(((e,t)=>{function n(e,t){for(var n=0,r=e.length,i;n<r&&(i=t(e[n],n),i!==!1);n++);}function r(e){return Object.prototype.toString.apply(e)===`[object Array]`}function i(e){return typeof e==`function`}t.exports={isFunction:i,isArray:r,each:n}})),sv=r(((e,t)=>{var n=av(),r=ov().each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;r(t,function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){r(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?`on`:`off`;r(this.handlers,function(t){t[e]()})}},t.exports=i})),cv=r(((e,t)=>{var n=sv(),r=ov(),i=r.each,a=r.isFunction,o=r.isArray;
20function s(){if(!window.matchMedia)throw Error(`matchMedia not present, legacy browsers require a polyfill`);this.queries={},this.browserIsIncapable=!window.matchMedia(`only all`).matches}s.prototype={constructor:s,register:function(e,t,r){var s=this.queries,c=r&&this.browserIsIncapable;return s[e]||(s[e]=new n(e,c)),a(t)&&(t={match:t}),o(t)||(t=[t]),i(t,function(t){a(t)&&(t={match:t}),s[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},t.exports=s})),lv=r(((e,t)=>{t.exports=new(cv())})),uv=r((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(s()),n=nv(),r=o(iv()),i=o(b_()),a=x_();function o(e){return e&&e.__esModule?e:{default:e}}function c(e){"@babel/helpers - typeof";return c=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},c(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?u(Object(n),!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,C(r.key),r)}}function m(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function h(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function _(e){var t=b();return function(){var n=x(e),r;if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){if(t&&(c(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return y(e)}function y(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(b=function(){return!!e})()}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function S(e,t,n){return t=C(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e){var t=w(e,`string`);return c(t)==`symbol`?t:String(t)}function w(e,t){if(c(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(c(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var T=(0,a.canUseDOM)()&&lv();e.default=function(e){h(s,e);var o=_(s);function s(e){var t;return f(this,s),t=o.call(this,e),S(y(t),`innerSliderRefHandler`,function(e){return t.innerSlider=e}),S(y(t),`slickPrev`,function(){return t.innerSlider.slickPrev()}),S(y(t),`slickNext`,function(){return t.innerSlider.slickNext()}),S(y(t),`slickGoTo`,function(e){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return t.innerSlider.slickGoTo(e,n)}),S(y(t),`slickPause`,function(){return t.innerSlider.pause(`paused`)}),S(y(t),`slickPlay`,function(){return t.innerSlider.autoPlay(`play`)}),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return m(s,[{key:`media`,value:function(e,t){T.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:`componentDidMount`,value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,i){var o=i===0?(0,r.default)({minWidth:0,maxWidth:n}):(0,r.default)({minWidth:t[i-1]+1,maxWidth:n});(0,a.canUseDOM)()&&e.media(o,function(){e.setState({breakpoint:n})})});var n=(0,r.default)({minWidth:t.slice(-1)[0]});(0,a.canUseDOM)()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:`componentWillUnmount`,value:function(){this._responsiveMediaHandlers.forEac
20h(function(e){T.unregister(e.query,e.handler)})}},{key:`render`,value:function(){var e=this,r,o;this.state.breakpoint?(o=this.props.responsive.filter(function(t){return t.breakpoint===e.state.breakpoint}),r=o[0].settings===`unslick`?`unslick`:d(d(d({},i.default),this.props),o[0].settings)):r=d(d({},i.default),this.props),r.centerMode&&(r.slidesToScroll,r.slidesToScroll=1),r.fade&&(r.slidesToShow,r.slidesToScroll,r.slidesToShow=1,r.slidesToScroll=1);var s=t.default.Children.toArray(this.props.children);s=s.filter(function(e){return typeof e==`string`?!!e.trim():!!e}),r.variableWidth&&(r.rows>1||r.slidesPerRow>1)&&(console.warn(`variableWidth is not supported in case of rows > 1 or slidesPerRow > 1`),r.variableWidth=!1);for(var c=[],u=null,f=0;f<s.length;f+=r.rows*r.slidesPerRow){for(var p=[],m=f;m<f+r.rows*r.slidesPerRow;m+=r.slidesPerRow){for(var h=[],g=m;g<m+r.slidesPerRow&&(r.variableWidth&&s[g].props.style&&(u=s[g].props.style.width),!(g>=s.length));g+=1)h.push(t.default.cloneElement(s[g],{key:100*f+10*m+g,tabIndex:-1,style:{width:`${100/r.slidesPerRow}%`,display:`inline-block`}}));p.push(t.default.createElement(`div`,{key:10*f+m},h))}r.variableWidth?c.push(t.default.createElement(`div`,{key:f,style:{width:u}},p)):c.push(t.default.createElement(`div`,{key:f},p))}if(r===`unslick`){var _=`regular slider `+(this.props.className||``);return t.default.createElement(`div`,{className:_},s)}else c.length<=r.slidesToShow&&!r.infinite&&(r.unslick=!0);return t.default.createElement(n.InnerSlider,l({style:this.props.style,ref:this.innerSliderRefHandler},(0,a.filterSettings)(r)),c)}}]),s}(t.default.Component)})),dv=r((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(uv());function n(e){return e&&e.__esModule?e:{default:e}}e.default=t.default})),fv=e=>_?(window.addEventListener(`resize`,e),window.addEventListener(`orientationchange`,e),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`orientationchange`,e)}):()=>void 0,pv=()=>hv()===`mobile`,mv=()=>(0,L.useSyncExternalStore)(fv,pv,()=>!1);function hv(){let e=_&&window.innerWidth||0;return e<600?`mobile`:e>=600&&e<=1024?`tablet`:`desktop`}var gv=e=>{let[t,n]=(0,L.useState)(hv());return(0,L.useEffect)(()=>{if(e)return;let t=()=>{n(hv())};return _&&(window.addEventListener(`resize`,t),window.addEventListener(`orientationchange`,t),window.addEventListener(`load`,t),window.addEventListener(`reload`,t)),()=>{_&&(window.removeEventListener(`resize`,t),window.removeEventListener(`orientationchange`,t),window.removeEventListener(`load`,t),window.removeEventListener(`reload`,t))}},[e]),{deviceType:t}},_v=function(e){return e.RIGHT=`right`,e.LEFT=`left`,e}({}),vv=function(e){return e.SMALL=`small`,e.MEDIUM=`medium`,e}({});function yv({direction:e=_v.RIGHT,size:t=vv.MEDIUM,className:n,testId:r=`carousel-control-${e}-test-id`}){let{deviceType:i}=gv(!0);return(0,I.jsx)(`div`,{className:`carousel-controls hover:bg-white layer-two z-10 cursor-pointer`,"data-testid":r,children:(0,I.jsx)(X,{iconName:e===_v.LEFT?M.NAV_CHEVRON_LEFT:M.NAV_CHEVRON_RIGHT,iconWidth:t===vv.MEDIUM&&i===`desktop`?N.REGULAR:N.SMALL,className:F(``,n)})})}function bv({onClick:e,showGradient:t=!1,customHandler:n,totalSlides:r=0,currentSlide:i}){if(!(r!==0&&i===r-1))return(0,I.jsxs)(I.Fragment,{children:[t&&(0,I.jsx)(`div`,{className:F(`h-full bg-gradient-to-l from-white/80 to-transparent w-128 absolute right-00 top-00 z-500`)}),(0,I.jsx)(`button`,{className:`absolute block z-550 right-00 top-1/2 px-24 print:hidden`,onClick:t=>{e&&e(t),n&&n()},"aria-label":`next carousel button`,children:(0,I.jsx)(yv,{direction:_v.RIGHT,size:vv.MEDIUM})})]})}function xv({onClick:e,currentSlide:t,showGradient:n=!1,customHandler:r}){if(t!==0)return(0,I.jsxs)(I.Fragment,{children:[n&&(0,I.jsx)(`div`,{className:F(`h-full bg-gradient-to-r from-white/80 to-transparent w-128 absolute left-00 top-00 z-500`)}),(0,I.jsx)(`button`,{className:`absolute block z-550 left-00 top-1/2 px-24 print:hidden`,onClick:t=>{e&&e(t),r&&r()},"aria-label":`prev carousel button`,children:(0,I.jsx)(yv,{direction:_v.LEFT,size:vv.MEDIUM})})]})}var Sv=n(dv(),1),Cv=Sv.default.default??Sv.default;function wv({renderItems:e,arrows:t=!0,autoplay:n=!0,fade:r=!0,swipe:i=!1,slidesToShow:a=1,slidesToScroll:o=1,infinite:s=!0,dots:c,responsive:l,easing:u,swipeToSlide:d,speed:f,cssEase:p,autoplaySpeed:m,className:h,showCounter:g=!1,showCaption:v=!1,showGradient:y=!1,testId:b=`carousel-test-id`,prevArrowHandler:x,nextArrowHandler:C}
20){let[w,T]=(0,L.useState)(1),[E,D]=(0,L.useState)(0),O={infinite:s,fade:r,swipe:i,speed:f??1e3,slidesToShow:a,slidesToScroll:o,autoplay:n,waitForAnimate:!0,arrows:t,dots:c,responsive:l,easing:u,swipeToSlide:d,cssEase:p,autoplaySpeed:m,prevArrow:(0,I.jsx)(xv,{showGradient:y,customHandler:x}),nextArrow:(0,I.jsx)(bv,{showGradient:y,customHandler:C,totalSlides:s?0:e?.length}),onInit(){D(e?.length)}};if(_&&!(e===void 0||e.length<1))return(0,I.jsxs)(S,{children:[(0,I.jsxs)(`div`,{className:F(`hero-media`,h),"data-testid":b,children:[(0,I.jsx)(Cv,{...O,beforeChange:(e,t)=>{T(t+1)},children:e.map((e,t)=>Ev(e,t))}),g&&(0,I.jsx)(`div`,{className:`relative col-span-full print:hidden`,children:(0,I.jsx)(__,{current:w,length:E})})]}),v&&Dv(e[w-1])]})}function Tv({media:e,url:t,className:n,testId:r=`article-hero-media-test-id`}){if(!R(e))return;let i=`https://www.straitstimes.com${t}`;return(0,I.jsx)(`div`,{className:F(`hero-media-wrapper`,n),"data-testid":r,children:e.length>1?(0,I.jsx)(wv,{renderItems:e,arrows:!0,autoplay:!1,speed:300,fade:!1,swipe:!1,showCaption:!0,showCounter:!0,infinite:!1,prevArrowHandler:()=>{ft({eventLabel:i,eventAction:lt.CLICK_LEFT,eventCategory:`photo gallery`})},nextArrowHandler:()=>{ft({eventLabel:i,eventAction:lt.CLICK_RIGHT,eventCategory:`photo gallery`})}}):(0,I.jsxs)(L.Fragment,{children:[(0,I.jsx)(`div`,{className:F(`hero-media`,R(e)&&e[0].type!==J.IMAGE&&`print:hidden`),children:Ev(e[0])}),Dv(e[0])]})})}var Ev=(e,t)=>{if(e.type===J.IMAGE)return(0,I.jsx)(Ky,{testId:`hero-media-content-test-id`,size:Y.LANDSCAPE,type:J.IMAGE,src:e.image?.src||`/assets/image-placeholder-default-BgLcQODD.jpg`,alt:e.image?.alt||``,loadLazy:!1,wrapperClassName:`w-full aspect-landscape`},`hero-media-${t||e.custom?.id}`);if(e.type===J.BRIGHTCOVE||e.type===J.YOUTUBE){let n=Nr(e.type===J.BRIGHTCOVE?Dr.BRIGHTCOVE:Dr.YOUTUBE,e.custom?.id);return(0,I.jsx)(`div`,{className:`card-media`,children:(0,I.jsx)(Vv,{title:e.custom?.info?.caption||``,src:n,className:`aspect-`+Y.LANDSCAPE,loading:`eager`,testId:`carousel-iframe-${e.type}`},`hero-media-${t||e.custom?.id}`)},`hero-media-${t||e.custom?.id}`)}},Dv=e=>{let t=e.image?.caption||e.custom?.info?.caption,n=e.image?.credit||e.custom?.info?.credit;if(!(t===``&&n===``))return(0,I.jsxs)(`div`,{className:F(`hero-media-caption`,e.type!==J.IMAGE&&`print:hidden`),children:[t!==``&&(0,I.jsx)(In,{category:U.CAPTION,size:B.BASELINE,style:W.REGULAR,className:`text-secondary inline col-start-4 col-end-21 break-words`,children:t}),n!==``&&(0,I.jsxs)(In,{category:U.CAPTION,size:B.BASELINE,style:W.REGULAR,className:`text-tertiary inline col-start-4 col-end-21 break-words`,children:[t!==``&&` `,n]})]})},Ov=function(e){return e.SMALL=`small`,e.DEFAULT=`default`,e}({}),kv=function(e){return e.LEFT=`left`,e.RIGHT=`right`,e}({});function Av({name:e,id:t=`${e}`,title:n,items:r,size:i=Ov.DEFAULT,position:a=kv.LEFT,className:o,itemClassName:s,itemLabelClassName:c,itemLabelWeightChange:l=!0,wrapperClassName:u,titleClassName:d,orientation:f=`horizontal`,allowMultiValue:p=!1,init:m,testId:h=`${t}-checkbox-button-test-id`,handler:g}){let[_,v]=(0,L.useState)();(0,L.useEffect)(()=>{v(p?Array.isArray(m)?m.map(e=>typeof e==`string`?e.toLowerCase():``):[]:typeof m==`string`?m.toLowerCase():``)},[p,m]);let y=(0,L.useCallback)(e=>{let t=e.toLowerCase();v(p?e=>{let n=Array.isArray(e)?[...e]:[],r=n.indexOf(t);return r===-1?n.push(t):n.splice(r,1),g?.(n),n}:e=>{let n=e===t?``:t;return g?.(n),n})},[p,g]);return R(r)&&(0,I.jsxs)(`div`,{className:F(`w-full`,o),"data-testid":h,children:[n&&(0,I.jsx)(Pn,{type:En.NAVIGATION,weight:V.THIRTY,size:B.SM,className:F(`text-placeholder`,d),children:n}),(0,I.jsx)(`div`,{className:F(`checkbox`,f===`horizontal`?`flex-row`:`flex-col`,u),children:r.map((n,r)=>{let o=`${t}-checkbox-item-${r}`,u=p?Array.isArray(_)&&_.includes(n.value.toLowerCase()):_===n.value.toLowerCase();return(0,I.jsx)(`span`,{className:F(`group`,s,n.disabled?`disabled`:``),onClick:()=>{y(n.value)},tabIndex:r,role:`presentation`,children:a===kv.LEFT?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`input`,{type:`checkbox`,checked:u,id:o,value:n.value,
20name:e,"data-testid":`${o}-test-id`,onChange:e=>{e.target.tagName!==`INPUT`&&y(n.value)},className:F(i===Ov.DEFAULT?`size-24`:`size-16`,`accent-brand-70 layer-no-hover`,`focus:border-selected`,`invalid:[&:not(:placeholder-shown):not(:focus)]:border-error`,`disabled:border-dark disabled:placeholder:text-disabled disabled:layer-two disabled:hover:layer-two disabled:cursor-not-allowed`),disabled:n.disabled}),(0,I.jsx)(`label`,{htmlFor:o,className:F(`h-full flex gap-08 items-center`,l&&`group-has-[input:checked]:font-secondary-label-md-semibold font-secondary-label-md-regular`,n.disabled&&`text-disabled cursor-not-allowed`,c),children:n.label})]}):(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`label`,{htmlFor:o,className:F(`h-full`,l&&`group-has-[input:checked]:font-secondary-label-md-semibold font-secondary-label-md-regular`,n.disabled&&`text-disabled cursor-not-allowed`,c),children:n.label}),(0,I.jsx)(`input`,{type:`checkbox`,checked:u,id:o,value:n.value,name:e,"data-testid":`${o}-test-id`,onChange:e=>{e.target.tagName!==`INPUT`&&y(n.value)},className:F(i===Ov.DEFAULT?`size-24`:`size-16`,`accent-brand-70 layer-no-hover`,`focus:border-selected`,`invalid:[&:not(:placeholder-shown):not(:focus)]:border-error`,`disabled:border-dark disabled:placeholder:text-disabled disabled:layer-two disabled:hover:layer-two disabled:cursor-not-allowed`),disabled:n.disabled})]})},n.value)})})]})}var jv=function(e){return e.SMALL=`small`,e.DEFAULT=`default`,e}({}),Mv=function(e){return e.LEFT=`left`,e.RIGHT=`right`,e}({});function Nv({name:e,id:t=`${e}`,title:n,items:r,size:i=jv.DEFAULT,position:a=Mv.LEFT,className:o,itemClassName:s,wrapperClassName:c,titleClassName:l,orientation:u=`horizontal`,init:d,testId:f=`${t}-radio-button-test-id`,handler:p}
20){let[m,h]=(0,L.useState)(d?.toLowerCase()??``),g=(0,L.useCallback)(e=>{p&&p(e),h(e)},[h,p]);if((0,L.useEffect)(()=>{h(d?.toLowerCase()??`/`)},[d]),R(r))return(0,I.jsxs)(`div`,{className:F(`w-full`,o),"data-testid":f,children:[(0,I.jsx)(Pn,{type:En.NAVIGATION,weight:V.THIRTY,size:B.SM,className:F(`text-placeholder`,l),children:n}),(0,I.jsx)(`div`,{className:F(`radio`,u===`horizontal`?`flex-row`:`flex-col`,c),children:r.map((n,r)=>(0,I.jsx)(`span`,{className:s,onClick:()=>{g(n.value)},tabIndex:r,role:`presentation`,children:a===Mv.LEFT?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`input`,{type:`radio`,checked:m===n.value,id:t,value:n.value,name:e,"data-testid":`${t}-radio-item-test-id`,onChange:()=>{g(n.value)},className:F(i===jv.DEFAULT?`size-24`:`h-16 w-18`),disabled:n.disabled??!1},r),(0,I.jsx)(`label`,{htmlFor:n.value,className:F(`h-full`,m===n.value?`font-secondary-label-sm-semibold`:`font-secondary-label-sm-regular`,i===jv.DEFAULT?`h-26`:`h-18`,n.disabled&&`text-disabled cursor-not-allowed`),children:n.label})]}):(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`label`,{htmlFor:n.value,className:F(`h-full`,m===n.value?`font-button-sm-semibold`:`font-button-sm-regular`,i===jv.DEFAULT?`h-26`:`h-18`,n.disabled&&`text-disabled cursor-not-allowed`),children:n.label}),(0,I.jsx)(`input`,{type:`radio`,checked:m===n.value,id:t,value:n.value,name:e,"data-testid":`${t}-radio-item-test-id`,onChange:()=>{g(n.value)},className:F(i===jv.DEFAULT?`size-24`:`size-16`),disabled:n.disabled??!1},r)]})},r))})]})}function Pv({name:e,value:t,label:n,type:r=`text`,placeholder:i,required:a=!1,pattern:o,className:s,wrapperClassName:c,validationMessage:l,validationMessageClassName:u,showIcon:d=!1,icon:f,iconPlacement:p=`left`,orientation:m=`vertical`,testId:h=`textbox-input-default-test-id`,isValid:g,readOnly:_=!1}){let[v,y]=(0,L.useState)(t),b=e=>{y(e.target.value),g&&e.target.value!==``&&g(!e.target.validity.patternMismatch)};if(!(e===void 0||t===void 0))return(0,I.jsx)(I.Fragment,{children:(0,I.jsxs)(`label`,{htmlFor:e,className:F(`flex gap-08`,m===`vertical`?`flex-col`:`flex-row`,c),children:[(n||d)&&(0,I.jsx)(Fv,{label:n,icon:f,iconPlacement:p}),(0,I.jsx)(`input`,{id:`${e}-id`,name:e,value:v,type:r,placeholder:i,onChange:b,className:F(`peer/textbox w-full text-primary rounded px-16 py-12 border border-default placeholder:text-primary`,`focus:border-selected`,`invalid:[&:not(:placeholder-shown):not(:focus)]:border-error`,`disabled:border-dark disabled:placeholder:text-disabled disabled:layer-two disabled:hover:layer-two`,s),"data-testid":h,required:a,pattern:o,readOnly:_}),l&&(0,I.jsx)(`span`,{className:F(`hidden peer-[&:not(:placeholder-shown):not(:focus):invalid]/textbox:block`,`status-error-text font-secondary-label-md-regular`,u),children:l})]})})}var Fv=({label:e,icon:t,iconPlacement:n})=>(0,I.jsxs)(`div`,{className:`flex gap-04 items-center`,children:[t!==void 0&&n===`left`&&(0,I.jsx)(X,{...t}),(0,I.jsx)(`span`,{className:` whitespace-nowrap font-secondary-label-md-semibold`,children:e}),t!==void 0&&n===`right`&&(0,I.jsx)(X,{...t})]}),Iv={};function Lv({scriptUrl:e,verifyScriptLoaded:t=()=>!0,scriptId:n,async:r=!1}){let i;return new Promise(function(a,o){function s(){let e=()=>{clearTimeout(i),i=setTimeout(function(){let e=t();e&&a({script:c,isVerified:e})},200)};if(document.readyState===`complete`){e();return}document.addEventListener(`readystatechange`,()=>{document.readyState===`complete`&&e()})}let c=document.querySelector(`script[src="${e}"]`);if(c&&!t()){c.onload=s;return}if(c&&t()){a({script:c,isVerified:!0});return}let l=document.createElement(`script`);l.type=`text/javascript`,l.src=e,r&&(l.async=!0),n&&(l.id=n),l.onload=s,l.onerror=function(){o(Error(`Failed to load script: `+e))},document.head.appendChild(l)})}function Rv(e,t=!1){let n=Iv[e];return n||=Iv[e]=new Promise((n,r)=>{let i=document.createElement(`script`);i.src=e,i.async=t,i.addEventListener(`load`,()=>{n()}),i.addEventListener(`error`,r),document.body.appendChild(i)}),n}function zv(e,t,n){if(document.getElementById(e)||!_)return;let r=document.createElement(`script`);r.type=`text/javascript`,r.innerHTML=t,r.id=e,document[n].appendChild(r)}function Bv({src:e,id:t,onLoad:n,onError:r,checkScriptIsLoaded:i=()=>!1,part:a=`head`}
20){let[o,s]=(0,L.useState)(!1);return(0,L.useEffect)(()=>{if(typeof window<`u`){if(i()){s(!0);return}if(document.getElementById(t))return;Lv({scriptUrl:e,scriptId:t,verifyScriptLoaded:()=>!0}).then(()=>{s(!0),typeof n==`function`&&n()}).catch(()=>{console.error(`Error! Failed to load script ${t}`),typeof r==`function`&&r()})}},[e,t,n,r,s,i,a]),{isScriptReady:o}}m();function Vv({src:e,title:t,loading:n,embedPathAmends:r,autoplay:i,className:a,srcHeight:o,style:s,testId:c=`responsiveIframe`}){let l=(0,L.useRef)(null),u=(0,L.useRef)(!1),[d,f]=(0,L.useMemo)(()=>Pr(e,r,n),[e,r,n]),p=(0,L.useCallback)(()=>{if(!_)return!1;let e=window.iFrameResize;if(!e)return!1;if(u.current)return!0;let t=l.current;return t&&(!t.src||t.src.startsWith(`data:`))?!1:(e({log:!1,checkOrigin:!1}),u.current=!0,!0)},[]);Bv({id:`iframe-resizer`,src:`https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.4.4/iframeResizer.min.js`,part:`body`,checkScriptIsLoaded:()=>{if(!_)return!1;let e=!!window.iFrameResize;return e&&p(),e}}),(0,L.useEffect)(()=>{_&&p()},[p]);let m=(0,L.useCallback)(()=>{p()},[p]);return(0,L.useEffect)(()=>{!_||!window.iFrameResize||window.iFrameResize({log:!1})},[]),(0,I.jsx)(`iframe`,{ref:l,onLoad:m,className:F(`responsive-iframe-base`,f,a),title:t,scrolling:`no`,src:d,allowFullScreen:!0,allow:`accelerometer;${i&&` autoplay; `}clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share;`,loading:n,height:o,"data-testid":c,style:s,suppressHydrationWarning:!0})}function Hv({className:e,testId:t=`interactive-graphics-test-id`,interactiveWidget:n}){let r=!n||!n.url||!n.srcHeight.web||!n.srcHeight.tablet||!n.srcHeight.mobile,{deviceType:i}=gv(r);return r?(0,I.jsx)(`div`,{}):(0,I.jsx)(`div`,{className:F(`mobile:pt-08 mobile:pb-16 tablet:py-12 desktop:pt-16 desktop:pb-32 mobile:px-16 tablet:px-24 desktop:px-00`,e),"data-testid":t,children:(0,I.jsx)(Vv,{src:n?.url??``,srcHeight:n?.srcHeight[i===`desktop`?`web`:i],title:`Graphics Interactive`,className:`transition-[height] duration-300 ease-linear`})})}function Uv({children:e,type:t=p_.DEFAULT,size:n=m_.DEFAULT,className:r,textClassName:i,testId:a=`kicker-test-id`}){let o=n===m_.DEFAULT?20:18,s=i??(t===p_.LIVE?`text-live`:`text-secondary`);return(0,I.jsxs)(`div`,{className:F(`flex items-center gap-00 desktop:gap-04`,t===p_.LIVE&&`text-live`,r),"data-testid":a,children:[t===p_.LIVE&&(0,I.jsx)(`img`,{src:`/assets/live-CC0cpi9-.gif`,height:o,width:o,alt:`Live now`}),(0,I.jsx)(In,{category:U.LABEL,size:n===m_.DEFAULT?B.MD:B.SM,style:t===p_.LIVE?W.BOLD:W.REGULAR,className:F(`line-limit-1`,s),children:e})]})}var Wv=({isLive:e=!1,live:t,asset:n,size:r=m_.DEFAULT,kicker:i,className:a,textClassName:o})=>e?(0,I.jsx)(Uv,{type:p_.LIVE,size:r,testId:`live-kicker-test-id`,className:a,textClassName:F(o),children:t}):n?(0,I.jsx)(Uv,{type:p_.ASSET,size:r,testId:`asset-kicker-test-id`,className:a,textClassName:F(o),children:n}):i?(0,I.jsx)(Uv,{type:p_.DEFAULT,size:r,testId:`default-kicker-test-id`,className:a,textClassName:F(o),children:i}):(0,I.jsx)(I.Fragment,{});function Gv({children:e,className:t,testId:n=`list-item-test-id`}){if(e!==void 0)return(0,I.jsx)(`div`,{className:F(`pl-16 tablet:pl-24 layer-two w-full`,t),"data-testid":n,children:e})}function Kv({arrayList:e,vertical:t=!1,className:n,testId:r,linkProps:i,divider:a=!1,dividerType:o=qn.DEFAULT,isHeading:s=!1,headingProps:c={type:H.CONTAINER,size:B.XSCURATOR,weight:V.FIFTY},refCode:l}){return(0,L.useEffect)(()=>{e.length}),(0,I.jsx)(`div`,{className:F(`flex w-full items-center justify-center`,t&&`flex-col`,n),"data-testid":r??`lists-links-wrapper`,children:e.map((e,n)=>{let r=Ir(l,e.url);return(0,I.jsxs)(L.Fragment,{children:[a&&(0,I.jsx)(Jn,{vertical:!t,type:o,className:F(`mx-16`,t&&`w-full h-1`)}),s?(0,I.jsx)(Sn,{testId:i?.testId??`lists-links-${n}`,url:r??e.url,title:e.title,...i,target:e.target,type:z.CUSTOM,children:(0,I.jsx)(G,{...c,children:e.title})}):(0,I.jsx)(Sn,{testId:i?.testId??`lists-links-${n}`,url:r??``,title:e.title,...i})]},n)})})}function qv(e){return e?e.startsWith(`#`)?e.slice(1):e:``}function Jv(e){return e===void 0?_?new URLSearchParams(window.location.search).get(`eventId`):null:e?new URLSearchParams(e).get(`eventId`):null}function Yv(e,t){return e.find(e=>e.value?.toString()===t)}function Xv({search:e,multidayLiveBlogMapping:t,isMultidayLiveblog:n,defaultDate:r,defaultBlogId:i}){let a=i===``?void 0:i,o=Jv(e);
20if(!o||!n||!R(t))return{date:r,blogId:a,skipHashNavigation:!1};let s=Yv(t,o);return s?{date:s.key,blogId:o,skipHashNavigation:!1}:{date:r,blogId:a,skipHashNavigation:!0}}function Zv(e,t,n){return t?`${e}?eventId=${n}&postId=${t}&utm_source=liveblog&utm_medium=web-share&utm_campaign=${e.replace(/^\//,``)}#${t}`:e}function Qv(e,t){let n=qv(t);return n?e.hashLink===n:!1}function $v(e){let t=document.createElement(`div`);t.innerHTML=e;let n=t.querySelectorAll(`img`),r=Array.from(n).map(e=>new Promise(t=>{let n=new Image;n.src=e.src,n.onload=()=>{n.naturalWidth>n.naturalHeight?e.classList.add(`landscape`):e.classList.add(`portrait`),t()},n.onerror=()=>{t()}}));return Promise.all(r).then(()=>t.innerHTML.trim())}function ey(e){let t=document.createElement(`div`);return t.innerHTML=e,Array.from(t.querySelectorAll(`iframe`)).map(e=>{let t=e.parentElement,n=parseInt(e.getAttribute(`width`)??`0`,10),r=parseInt(e.getAttribute(`height`)??`0`,10);if(!n||!r){let t=e.getAttribute(`style`)||``,i=t.match(/width:\s*(\d+)px/),a=t.match(/height:\s*(\d+)px/);n=i?parseInt(i[1],10):560,r=a?parseInt(a[1],10):315}let i=n/r;n===r?t?.classList.add(`equal-video`):i<1?t?.classList.add(`vertical-video`):t?.classList.add(`horizontal-video`)}),t.innerHTML.trim()}function ty(e){let t=document.createElement(`div`);return t.innerHTML=e,Array.from(t.querySelectorAll(`a`)).map(e=>{let t=e.getAttribute(`href`);if(t&&t.trim()!==``)try{let n=new URL(t,_?window.location.origin:void 0);n.searchParams.has(`eventId`)||e.setAttribute(`target`,`_blank`),!n.searchParams.has(`ref`)&&(n.protocol===`http:`||n.protocol===`https:`)&&(n.searchParams.append(`ref`,`liveblog-summary`),e.setAttribute(`href`,n.toString()))}catch{}}),t.innerHTML.trim()}async function ny(e){if(!e)return;let t=ey(e);return t=await $v(t),t}function ry(e){return e.getBoundingClientRect().bottom>0}function iy(e,t){_&&(window.sessionStorage.getItem(`setnewpost_`+e)==`true`||window.sessionStorage.setItem(`totalpost_`+e,t),window.sessionStorage.setItem(`newpostcount_`+e,t))}function ay(e){if(!_)return;let t=window.sessionStorage.getItem(`newpostcount_`+e)??``;sessionStorage.setItem(`totalpost_`+e,t)}function oy(e){if(!_)return;window.sessionStorage.setItem(`postpopup_`+e,`false`);let t=window.sessionStorage.getItem(`newpostcount_`+e)??``;window.sessionStorage.setItem(`totalpost_`+e,t)}function sy(){if(!_)return;if(document.getElementById(`facebook-jssdk-stlb`)===null){let e=document.createElement(`script`);
20e.type=`text/javascript`,e.id=`facebook-jssdk-stlb`,e.src=`//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3`,document.body.appendChild(e)}let e=document.getElementById(`instgrm-jssdk-stlb`);if(e===null){let e=document.createElement(`script`);e.type=`text/javascript`,e.id=`instgrm-jssdk-stlb`,e.src=`//www.instagram.com/embed.js`,e.onload=()=>{setTimeout(()=>{my()},100)},document.body.appendChild(e)}else if(window.instgrm!=null)setTimeout(()=>{my()},100);else{let t=e;t.onload===null&&(t.onload=()=>{setTimeout(()=>{my()},100)})}if(document.getElementById(`twitter-wjs`)===null){let e=document.createElement(`script`);e.id=`twitter-wjs`,e.src=u,e.async=!0,document.body.appendChild(e)}if(document.getElementById(`tiktok-embed-script`)===null){let e=document.createElement(`script`);e.id=`tiktok-embed-script`,e.src=d,e.async=!0,document.body.appendChild(e)}}function cy(e){_&&(window.sessionStorage.setItem(`setnewpost_`+e,`true`),my())}function ly(){return document.querySelector(`.live-blog-posts`)}function uy(e){return Array.from(e.querySelectorAll(`blockquote.tiktok-embed`)).some(e=>!e.querySelector(`iframe`))}function dy(){if(!_||!ly()?.querySelectorAll(`.instagram-media`)?.length)return;let e=()=>window.instgrm==null?!1:(window.instgrm.Embeds.process(),!0);if(e())return;let t=setInterval(()=>{e()&&clearInterval(t)},100);setTimeout(()=>{clearInterval(t)},1e4)}function fy(){if(!_)return;document.getElementById(`tiktok-embed-script`)?.remove();let e=document.createElement(`script`);e.id=`tiktok-embed-script`,e.src=`${d}?t=${Date.now()}`,e.async=!0,document.body.appendChild(e)}function py(){if(!_)return;let e=ly();!e||!uy(e)||fy()}function my(){if(!_)return;let e=document.querySelectorAll(`.fb-post`);e&&e!==void 0&&e.forEach(e=>{e.setAttribute(`data-width`,`500`);let t=e.querySelector(`iframe`);t&&(t.style.width=`500px`)}),dy(),setTimeout(function(){window.FB!==void 0&&window.FB.XFBML.parse(),window.twttr!==void 0&&typeof window.twttr.widgets.load==`function`&&window.twttr.widgets.load(),py()},500),setTimeout(function(){dy(),py()},3e3)}function hy(e,t,n){ft({eventName:ct.CUSTOM,eventCategory:`liveblog::${e}`,eventAction:t,eventLabel:n})}function gy(e){_&&(window.sessionStorage.setItem(`postpopup_`+e,`true`),window.sessionStorage.setItem(`setnewpost_`+e,`false`))}function _y(e){return e.replace(/(?:<p[^>]*>(?:\s| |<br\s*\/?>)*<\/p>\s*)+$/i,``)}function vy({htmlData:e,contentId:t=``,className:n,testId:r=`live-coverage-content-test-id`}){if(!e)return(0,I.jsx)(I.Fragment,{});let i=_y(e);return(0,I.jsx)(`div`,{className:F(`live-blog-post`,n),dangerouslySetInnerHTML:{__html:i},"data-testid":r,suppressHydrationWarning:!0},`live-coverage-${t}`)}function yy({summary:t,isExpanded:n=!1,className:r,testId:i=`live-blog-summary-test-id`}){let{pathname:a}=e();return R(t)?(0,I.jsxs)(`div`,{className:F(`live-blog-summary`,r),"data-testid":i,children:[(0,I.jsx)(Jn,{vertical:!1,type:qn.DASHED,className:`h-00 mt-08 mx-00`}),(0,I.jsx)(yg,{title:`Key summary`,isExpanded:n,handler:e=>{e?hy(`dropdown`,`expand`,a):hy(`dropdown`,`collapse`,a)},className:`mobile:ml-8`,children:(0,I.jsx)(`div`,{className:F(`font-body-baseline-regular`),children:t.map((e,t)=>(0,I.jsx)(`div`,{"data-testid":`live-blog-summary-item-test-id`,className:`py-08`,children:(0,I.jsx)(`div`,{className:`flex flex-row gap-04`,children:(0,I.jsx)(`div`,{dangerouslySetInnerHTML:{__html:ty(e)},suppressHydrationWarning:!0})})},`live-blog-summary-${t}`))})}),(0,I.jsx)(Jn,{vertical:!1,type:qn.DASHED,className:`h-00 my-08 mx-00`})]}):(0,I.jsx)(I.Fragment,{})}var by=`mySPHAccessTokenAdded`,xy=`mySPHAccessTokenRemoved`;function Sy(e){let t=()=>{e()};return window.addEventListener(xy,t),window.addEventListener(by,t),()=>{window.removeEventListener(by,t),window.removeEventListener(xy,t)}}function Cy(e){return(0,L.useSyncExternalStore)(Sy,(0,L.useCallback)(()=>{if(!e?.getAccessTokenIfExist)return null;let t=e.getAccessTokenIfExist();return t?t.accessToken:null},[e]),()=>null)}function wy(e){for(let t in e)if(Object.hasOwn(e,t))return!1;return!0}function Ty(){let[e,t]=(0,L.useState)(null);return(0,L.useEffect)(()=>
20{if(e)return;if(window.mySPHLightbox&&!wy(window.mySPHLightbox)&&Ey(window.mySPHLightbox)){t(window.mySPHLightbox);return}let n=()=>{t(window.mySPHLightbox??null)};return window.addEventListener(`mySPHLightboxReady`,n),()=>{window.removeEventListener(`mySPHLightboxReady`,n)}},[e]),{lightbox:e,...Dy(e)}}function Ey(e){return!!(e.initiateLogin&&e.getUserInfo&&e.initiateLogout)}function Dy(e){let t=Cy(e),[n,r]=(0,L.useState)(!1);(0,L.useEffect)(()=>{(async()=>{if(!e)return;let t=await e.isAuthenticated();r(t)})()},[e,t]);let[i,a]=(0,L.useState)(null);return(0,L.useEffect)(()=>{(async()=>{if(!e?.getUserInfo)return;let t=await e.getUserInfo();a(t)})()},[e,t]),{isAuthenticated:n,userInfo:i,accessToken:t}}var Oy=(0,L.createContext)(null);Oy.displayName=`LightboxContext`;var ky={exports:{}},Ay={},jy;function My(){if(jy)return Ay;jy=1;var e=Symbol.for(`react.transitional.element`),t=Symbol.for(`react.fragment`);function n(t,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:i,ref:n===void 0?null:n,props:r}}return Ay.Fragment=t,Ay.jsx=n,Ay.jsxs=n,Ay}var Ny;function Py(){return Ny||(Ny=1,ky.exports=My()),ky.exports}var Fy=Py();function Iy({children:e}){let t=Ty();return Fy.jsx(Oy,{value:t,children:e})}function Ly(){let e=(0,L.use)(Oy);if(!e)throw new Ry(`useLightboxContext has to be used within <LightboxProvider>`,`LightboxContext`);return e}var Ry=class extends Error{contextName;constructor(e,t){super(e),this.contextName=t,this.name=`MissingContextProviderError`}};function zy({children:e,fallback:t=null,enabled:n=!1}){return n?e:t}var By=`unique_vwo_user_id`;function Vy(){let{isUserLoading:e,userInfo:t}=Rt(e=>e),n=t?.display_name,{lightbox:r}=Ly(),i=(0,L.useCallback)(()=>{n||(Qt(r),ft({eventName:ct.CUSTOM,eventCategory:lt.LOGIN,eventAction:`click`,eventLabel:`log in / sign up for free`,click_reference:`login-header`}))},[n,r]);return(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(zy,{enabled:_t.ACCOUNT_HUB_ENTRYPOINT,fallback:(0,I.jsx)(Hy,{}),children:n?(0,I.jsx)(Uy,{}):(0,I.jsx)(Z,{handler:i,text:`Log in / sign up for free`,fill:K.NONE,type:q.ICON_LEFT,size:Un.SMALL,icon:e?void 0:{iconName:M.NAV_LOGIN},className:`flex !px-08 !py-16`,textClassName:`font-secondary-label-sm-regular hidden tablet:flex`,testId:`mysph-login-button-test-id`,isLoading:e})})})}function Hy(){let{isUserLoading:e,userInfo:t,isAuthenticated:n}=Rt(e=>
20e),[r,i]=(0,L.useState)(t?.display_name??``),[a,o]=(0,L.useState)(t?.loginid??``),[s,c]=(0,L.useState)(n);(0,L.useEffect)(()=>{i(t?.display_name??``),o(t?.loginid??``),c(n)},[t,n]);let{lightbox:l}=Ly(),u=(0,L.useCallback)(()=>{s||Qt(l)},[s,l]),d=(0,L.useCallback)(()=>{en(l)},[l]),f=(0,L.useCallback)(()=>{tn(l)},[l]);return(0,I.jsx)(I.Fragment,{children:(0,I.jsxs)(vg,{className:`inline-block my-auto`,children:[(0,I.jsxs)(vg.Trigger,{className:`flex items-center`,children:[(0,I.jsx)(Z,{handler:u,text:e?``:r||`Log in`,fill:K.NONE,type:q.ICON_LEFT,size:Un.SMALL,icon:e?void 0:{iconName:r?M.NAV_USER_FILLED:M.NAV_LOGIN},className:`hidden tablet:flex !px-08 !py-16`,textClassName:`font-secondary-label-sm-regular`,testId:`mysph-login-desktop-button-test-id`,isLoading:e}),(0,I.jsx)(Z,{handler:u,fill:K.NONE,type:q.ICON_ONLY,size:Un.SMALL,icon:{iconName:r?M.NAV_USER_FILLED:M.NAV_LOGIN},className:`flex tablet:hidden !px-08 !py-12`,textClassName:`font-secondary-label-sm-regular`,testId:`mysph-login-mobile-button-test-id`}),a&&(0,I.jsx)(`span`,{className:`hidden`,id:`sph_user_name`,children:a})]}),r&&(0,I.jsxs)(vg.Items,{testId:`user-menu-items-test-id`,className:`right mt-00`,children:[(0,I.jsx)(Z,{type:q.TEXT_ONLY,fill:K.NONE,handler:()=>{},text:r,testId:`user-name-menu-item-test-id`,className:`dropdown-items tablet:!hidden min-h-40 layer-no-hover`,textClassName:F(`font-secondary-label-sm-semibold`,`text-left w-13ch overflow-hidden text-ellipsis text-nowrap`)},`user-name-menu-item-test-id`),(0,I.jsx)(Sn,{type:z.TEXT_ONLY,url:`https://subscribe.sph.com.sg/?login=1&referral=/your-account/?pub-code=st&utm_campaign=manageaccount&go-back-url=https%3A%2F%2Fwww.straitstimes.com%2F`,target:`_blank`,title:`Manage account`,testId:`manage-account-menu-item-test-id`,className:`dropdown-items`,textClassName:`font-secondary-label-lg-regular text-primary`},`manage-account-menu-item-test-id`),(0,I.jsx)(Z,{type:q.TEXT_ONLY,fill:K.NONE,handler:f,text:`Update password`,testId:`update-password-menu-item-test-id`,className:`dropdown-items min-h-40`,textClassName:`font-secondary-label-lg-regular text-primary`},`update-password-menu-item-test-id`),(0,I.jsx)(Z,{type:q.ICON_LEFT,fill:K.NONE,icon:{iconName:M.NAV_LOGOUT_EXIT},handler:d,text:`Log out`,testId:`logout-menu-item-test-id`,className:`dropdown-items min-h-40`,textClassName:`font-secondary-label-lg-regular text-primary`},`logout-menu-item-test-id`)]})]})})}function Uy(){let{userInfo:e}=Rt(e=>e),t=e?.display_name;return t?(0,I.jsx)(`div`,{className:`px-08 py-12`,children:(0,I.jsx)(Sn,{url:`/account`,type:z.CUSTOM,className:F(`rounded-full border-2 uppercase w-28 h-28 font-ui-semibold text-xxs leading-100%`,`flex justify-center items-center`,e.usertype===Ft.SUBSCRIBER?`button-premium-subtle border-teal-40 text-tertiary`:`button-primary-subtle text-white border-transparent`),testId:`mysph-login-button-test-id`,children:t?vn(t):`ð¤`})}):(0,I.jsx)(I.Fragment,{})}function Wy({element:e,className:t,testId:n=`inline-media-test-id`}){if(e===void 0||e.src===``)return;let r;if(e.cssClass===`portrait`){let t=Fr(e);r=t?{"--aspect-article-portrait":t}:void 0}return(0,I.jsxs)(`figure`,{className:F(e.cssClass,`inline-media-wrapper`,t),style:r,"data-testid":n,children:[e.imageLink?(0,I.jsx)(Sn,{type:z.CUSTOM,url:e.imageLink,noClass:!0,testId:`inline-image-link`,children:(0,I.jsx)(Gy,{element:e})}):(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(Gy,{element:e})}),(e.caption||e.credit)&&(0,I.jsxs)(`figcaption`,{className:`mobile:mx-16 tablet:mx-00 pt-08 pb-16`,children:[e.displayCaption&&e.caption&&(0,I.jsx)(In,{category:U.CAPTION,size:B.BASELINE,style:W.REGULAR,className:`inline text-secondary`,testId:`inline-media-caption-test-id`,children:e.caption}),e.credit&&(0,I.jsxs)(In,{category:U.CAPTION,size:B.BASELINE,style:W.REGULAR,className:`inline text-tertiary`,testId:`inline-media-credit-test-id`,children:[e.displayCaption&&e.caption&&` `,e.credit]})]})]})}function Gy({element:e}){return(0,I.jsx)(Ky,{src:e.src,size:e.cssClass,maxWidth:e.srcWidth,className:F(e.cssClass,`article-${e.cssClass}`,e.cssClass===`portrait`&&`object-contain`,`mobile:w-auto tablet:w-auto`),alt:e.alt||``})}function Ky({src:e,alt:t,size:n=Y.LANDSCAPE,type:r=J.IMAGE,className:i,wrapperClassName:a,testId:o=`image-test-id`,maxWidth:s,loadLazy:c=!0}){let l=(0,L.useRef)(null),u=e&&e.trim()!==``?e:wr,[d,f]=(0,L.use
20State)(!1),{smSrcSet:p,mdSrcSet:m,lgSrcSet:h,xlSrcSet:g}=Er(u,s);return(0,L.useEffect)(()=>{l.current?.complete&&l.current.naturalWidth>0&&f(!0)},[]),(0,I.jsxs)(`div`,{className:F(`flex flex-col items-start relative w-fit`,a),children:[(0,I.jsxs)(`picture`,{children:[(0,I.jsx)(`source`,{media:`(max-width: 480px)`,srcSet:p}),(0,I.jsx)(`source`,{media:`(min-width: 481px) and (max-width: 720px)`,srcSet:m}),(0,I.jsx)(`source`,{media:`(min-width: 721px and max-width: 3999px)`,srcSet:h}),(0,I.jsx)(`source`,{media:`(min-width: 4000px)`,srcSet:g}),(0,I.jsx)(`img`,{ref:l,src:u,alt:t??`image-alt`,className:F(`aspect-${n}`,`flex items-start shrink-0 object-cover`,i),"data-testid":o,onLoad:()=>{f(!0)},loading:c?`lazy`:`eager`,suppressHydrationWarning:!0})]}),(r===J.YOUTUBE||r===J.PODCAST||r===J.BRIGHTCOVE)&&d&&e&&(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(`div`,{className:F(`flex items-end gap-00 absolute media-gradient bottom-00 h-1/3 w-full`,n===Y.SQUARE?`p-08`:`p-16`),"data-testid":`${r}-gradient-test-id`,children:r!==J.PODCAST&&(0,I.jsx)(X,{iconName:M.MULTIMEDIA_PLAY,symmetric:!0,iconWidth:N.LARGE,className:F(`icon-inverse flex items-end absolute`)})})})]})}var qy=()=>_?[`Win`,`Linux`,`Mac`].find(e=>navigator.userAgent.includes(e))?.toLowerCase()??`unknown`:`unknown`;function Jy({type:e=qn.STRONG,testId:t,linerText:n,title:r,url:i,linerTextClassName:a,titleClassName:o,dividerClassName:s,className:c,divider:l=!0,icon:u=!0,logo:d,variant:f=`DEFAULT`}){let[p,m]=(0,L.useState)(``);return(0,L.useEffect)(()=>{_&&m(`platform-${qy()}`)},[]),(0,I.jsxs)(`div`,{"data-testid":t??`content-block-header`,className:F(`flex flex-col p-16 desktop:px-00 content-block-header`,c),children:[l&&(0,I.jsx)(Jn,{type:e,className:F(`mx-0 mb-16 border-darker h-00`,s)}),(0,I.jsxs)(`div`,{className:`flex items-center`,children:[d&&(0,I.jsx)(`img`,{src:d,alt:`navigation-header-logo`,className:`h-24 w-24 mr-12 aspect-square`,"data-testid":`image-test-id`}),r&&(i?(0,I.jsxs)(Sn,{url:i,type:z.CUSTOM,testId:t?`${t}-link-text`:`content-block-header-link-text`,className:`flex gap-04 items-center`,children:[Yy({title:r,titleClassName:o,logo:d,icon:u,fontCssClass:p,variant:f}),u&&(0,I.jsx)(X,{iconName:M.NAV_CHEVRON_RIGHT,iconWidth:N.SMALL,className:`mt-04`})]}):(0,I.jsx)(I.Fragment,{children:Yy({title:r,titleClassName:o,logo:d,icon:u,fontCssClass:p,variant:f})}))]}),n&&(0,I.jsx)(Pn,{type:En.CAPTION,size:B.BASELINE,weight:V.THIRTY,className:F(`text-secondary break-words pt-08`,a),testId:t?`${t}-liner-text`:`content-block-header-liner-text`,children:n})]})}var Yy=({title:e,titleClassName:t,logo:n,icon:r,fontCssClass:i,variant:a})=>a===`DEFAULT`?(0,I.jsx)(G,{type:H.CONTAINER,size:B.XXSCURATOR,weight:V.FIFTY,className:F(`break-words`,(r||n)&&`h-22 desktop:h-24 pt-3`,(r||n)&&i,t),children:e}):(0,I.jsx)(G,{type:a,size:B.XXSCURATOR,weight:V.FIFTY,className:F(`break-words`,(r||n)&&`h-22 desktop:h-24 pt-3`,(r||n)&&i,t),children:e});function Xy({testId:e,linerText:t,title:n,url:r,linerTextClassName:i,titleClassName:a,className:o,navigationItems:s,navigationItemClassName:c,icon:l=!0,divider:u=!0,logo:d,refCode:f}){let[p,m]=(0,L.useState)(``);return(0,L.useEffect)(()=>{_&&m(`platform-${qy()}`)},[]),(0,I.jsxs)(`div`,{"data-testid":e??`content-navigation-bar`,className:F(`flex flex-col p-16 desktop:px-00 content-navigation-bar`,o),children:[u&&(0,I.jsx)(Jn,{type:qn.STRONG,className:`mx-0 mb-16 border-darker h-00`}),(0,I.jsxs)(`div`,{className:`w-full flex items-center overflow-x-scroll overflow-y-clip no-scrollbar`,children:[d&&(0,I.jsx)(`img`,{src:d,alt:`navigation-bar-logo`,className:`h-24 w-24 mr-12 aspect-square`,"data-testid":`image-test-id`}),n&&(r?(0,I.jsxs)(Sn,{url:r,type:z.CUSTOM,testId:e?`${e}-link-text`:`content-navigation-bar-link-text`,className:`flex gap-04 items-center`,children:[Zy({title:n,titleClassName:a,logo:d,icon:l,fontCssClass:p}),l&&(0,I.jsx)(X,{iconName:M.NAV_CHEVRON_RIGHT,iconWidth:N.SMALL,className:`mt-04`})]}):(0,I.jsx)(I.Fragment,{children:Zy({title:n,titleClassName:a,logo:d,icon:l,fontCssClass:p})})),R(s)&&s.length>0&&(0,I.jsx)(Kv,{arrayList:s,vertical:!1,divider:!0,isHeading:!0,refCode:f,headingProps:{type:H.CONTAINER,size:B.XXSCURATOR,weight:V.THIRTY,className:F(`break-words w-max`,(l||d)&&`h-22 desktop:h-24 pt-3`,(l||d)&&p)},className:`navigation-list-item justify-start flex-1`,linkProps:{textClassName:F(`break-words w-max`,c),testId:e?`${e}-lists`:`content-navigation-bar-lists`}})]}),t&&(0,I.jsx)(Pn,{type:En.CAPTION,size:B.BASELINE,weight:V.THIRTY,className:F(`text-secondary break-words pt-12`,i),testId:e?`${e}-liner-text`:`content-navigation-bar-liner-text`,children:t})]})}var Zy=({title:e,titleClassName:t,logo:n,icon:r,fontCssClass:i})=>(0,I.jsx)(G,{type:H.CONTAINER,size:B.XXSCURATOR,weight:V.FIFTY,className:F(`break-words text-nowrap`,(r||n)&&`h-22 desktop:h-24 pt-3`,(r||n)&&i,t),children:e});function Qy({title:e,titleClassName:t,successButton:n,cancelButton:r,modalHeight
20Class:i,showSuccessButton:a,showCancelButton:o,successFill:s,children:c,cancelFill:l,onClose:u,onSuccessClick:d,onCancelClick:f,className:p,testId:m=`modal-test-id`}){return(0,I.jsxs)(`div`,{className:F(`modal-container layer-no-hover`,p),"data-testid":m,children:[(0,I.jsxs)(`div`,{className:`modal-main-title`,children:[(0,I.jsx)(G,{className:F(`modal-title `,t),size:B.XXSCURATOR,type:H.CONTAINER,weight:V.FIFTY,children:e}),(0,I.jsx)(Z,{fill:K.NONE,icon:{iconName:M.NAV_CROSS,iconWidth:N.REGULAR},handler:()=>{u&&u()},type:q.ICON_ONLY,size:Un.DEFAULT,className:`!p-00`,testId:`modal-close-test-id`})]}),(0,I.jsx)(`div`,{className:F(`modal-content`,i),children:c}),(0,I.jsxs)(`div`,{className:`button-group empty:hidden`,children:[a&&(0,I.jsx)(Z,{text:n,type:q.TEXT_ONLY,fill:s,size:Un.DEFAULT,handler:()=>{d&&d()},className:`modal-button-style button-no-hover`,testId:`modal-success-test-id`}),o&&(0,I.jsx)(Z,{text:r,type:q.TEXT_ONLY,fill:l,size:Un.DEFAULT,handler:()=>{f&&f()},className:`modal-button-style`,testId:`modal-cancel-test-id`})]})]})}function $y({mySTSubscriber:e,modalTitle:t,modalContent:n,onModalClose:r,testId:i=`myst-limit-test-id`}){let a=(0,L.useCallback)(()=>{_&&ft({eventCategory:lt.SUBSCRIBE,eventAction:`click`,eventLabel:window.location.href,click_reference:`subscribe-mystplus`})},[]);return(0,I.jsx)(`div`,{"data-testid":i,children:e?(0,I.jsx)(`div`,{className:`following-modal`,"data-testid":`subscriber-${i}`,children:(0,I.jsx)(Qy,{title:t,titleClassName:`tablet-header-XS-bold`,successButton:`Ok`,showSuccessButton:!0,successFill:K.OUTLINE,onSuccessClick:()=>{r()},onClose:()=>{r()},children:n})}):(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(`div`,{className:`following-modal`,"data-testid":`register-${i}`,children:(0,I.jsx)(Qy,{title:t,titleClassName:`tablet-header-XS-bold`,successButton:`Subscribe Now`,showSuccessButton:!0,successFill:K.PREMIUM,onClose:()=>{r()},onSuccessClick:()=>{a(),_&&window.open(`/subscribe?eshop_ref=subscribe-mystplus`,`_self`,`noopener noreferrer`)},children:n})})})})}function eb(){let{isUserLoading:e,userInfo:t}=Rt(e=>e),n=e?``:t?.mysphw;return!e&&n?{visitorId:n,userInfo:t,isUserLoading:e}:{visitorId:``,userInfo:``,isUserLoading:!0}}async function tb(e,t,n,r,i){try{if(t&&e&&n){let a=await Kg(`baasAddFollowTags`,`GET`,{},!1,{tagId:e,visitorID:t,tagName:n});a.code===200&&a.success?(r(!0),i&&i(t),ft({eventCategory:lt.MYST,eventAction:`follow`,eventLabel:`topics::`+n})):(r(!1),i&&i(t))}}catch(e){j(le.ERROR,`BAAS:: V3 follow topic api failed`,{error:e})}}async function nb(e,t,n,r,i){try{if(t&&e&&n){let a=await Kg(`baasRemoveFollowTags`,`GET`,{},!1,{tagId:e,visitorID:t,tagName:n});a.code===200&&a.success&&(r(!1),i&&i(t),ft({eventCategory:lt.MYST,eventAction:`unfollow`,eventLabel:`topics::`+n}))}}catch(e){j(le.ERROR,`BAAS:: V3 unfollow topic api failed`,{error:e})}}async function rb(e,t,n,r,i){if(t&&e&&n){let a=await Kg(`baasaddfollowauthors`,`GET`,{},!1,{authorId:String(e),authorName:n});a.code===200&&a.success?(r&&r(!0),i&&i(t),ft({eventCategory:lt.MYST,eventAction:`follow`,eventLabel:`authors::`+n})):r&&r(!1)}}async function ib(e,t,n,r,i){if(t&&e&&n){let a=await Kg(`baasremovefollowauthors`,`GET`,{},!1,{authorId:String(e),visitorID:t,authorName:n});a.code===200&&a.success?(r&&r(!1),i&&await i(t),ft({eventCategory:lt.MYST,eventAction:`unfollow`,eventLabel:`authors::`+n})):r&&r(!0)}}function ab(e){return R(e)?e.map(e=>e.cueId):[]}function ob(e,t){let n=t===`Topics`?`topics::`:`authors::`;if(R(e)){let t=n+sb(e);ft({eventCategory:lt.MYST,eventAction:`api call`,eventLabel:t.substring(0,500)}),t.length>500&&ft({eventCategory:lt.MYST,eventAction:`api call`,eventLabel:t.substring(500)})}}function sb(e){if(R(e))return e.map(e=>e.name).join(` | `)}var cb=(e,t)=>{let[n,r]=(0,L.useState)(),i=(0,L.useCallback)(async()=>{try{if(t===``)return[];let e=await Kg(`baasGetFollowedDetails`,`GET`,{},!1,{visitorID:t});return e.code===200&&e.tags?(r({topicResponse:e.tags}),e.tags):(r({topicResponse:[]}),[])}catch(e){return r({topicResponse:[]}),j(le.ERROR,`BAAS:: Follow Author API failed`,{error:e}),[]}},[e,t]);return{topicResponse:n?.topicResponse??[],getFollowedTopic:i}},lb=function(e){return e.TOPICS=`topics`,e.EMOJI=`emoji`,e.NAVIGATION=`navigation`,e}({}),ub=function(e){return e.TEXT_ONLY=`text-only`,e.ICON_LEFT=`icon-left`,e.ICON_RIGHT=`icon-right`,e}({});function db({tagId:e,visitorId:t,title:n,userInfo:r}
20){let[i,a]=(0,L.useState)(!1),[o,s]=(0,L.useState)(!1),[c,l]=(0,L.useState)(!1),[u,d]=(0,L.useState)(!1),f=r&&r.usertype,{topicResponse:p,getFollowedTopic:m}=cb(e,t);(0,L.useEffect)(()=>{f&&m()},[m,f]);let h=ab(p),{lightbox:g}=Ly();(0,L.useMemo)(()=>{R(h)&&e&&(a(h.includes(e)),ob(p,Cg))},[e,h.length]);let v=(0,L.useCallback)(async r=>{if(!t){d(!0);return}let i=f&&e_(f);if(!(!e||!n))if(r)nb(e,t,n,a);else{let r=(await m()).length;Xg(r,i)?tb(e,t,n,a):(l(!!i),s(!0))}},[t,f,e,n,m]),{limitTitle:y,limitContent:b}=c_(Cg,c);return(0,I.jsxs)(I.Fragment,{children:[u&&(0,I.jsx)(`div`,{className:`following-modal`,children:(0,I.jsx)(Qy,{title:`Log in to use myST+`,successButton:`Log in / Sign up`,showSuccessButton:!0,successFill:K.PRIMARY,onClose:()=>{d(!1)},onSuccessClick:()=>{_&&Qt(g)},children:`Follow topics and authors, save articles and explore content that matters to you.`})}),o&&(0,I.jsx)($y,{mySTSubscriber:c,modalTitle:y,modalContent:b,onModalClose:()=>{s(!1)}}),(0,I.jsx)(LC,{className:F(`mr-32 ml-16 tablet:mx-16`,i?`following`:`follow`),action:i?ub.ICON_LEFT:ub.ICON_RIGHT,text:`Follow topic`,icon:{iconName:i?M.STATUS_SUCCESS_FILLED:M.ACTION_ADD,iconWidth:N.SMALL,className:F(i&&`status-success-icon`)},handler:()=>{v(i)},textClassName:F(i?`toggle-text-right`:`toggle-text-left`)})]})}function fb({testId:e=`keyword-listing-bar-test-id`,title:t,url:n,titleClassName:r,className:i,visitorId:a,tagId:o,userInfo:s}){return(0,I.jsxs)(`div`,{"data-testid":e,className:F(`flex flex-col justify-center mobile:h-56 desktop:h-64 relative`,i),children:[(0,I.jsxs)(`div`,{className:`keyword-listing-bar-content container flex w-full items-center`,children:[(0,I.jsx)(`div`,{className:`flex items-center flex-shrink min-w-00`,children:t&&(n?(0,I.jsx)(Sn,{url:n,type:z.CUSTOM,testId:`${e}-link-text`,className:`flex gap-04 items-center truncate`,children:pb({title:t,titleClassName:r})}):(0,I.jsx)(I.Fragment,{children:pb({title:t,titleClassName:r})}))}),(0,I.jsxs)(`div`,{className:`flex items-center flex-shrink-0`,children:[(0,I.jsx)(Jn,{className:`h-32 w-01 mx-00 ml-16`,type:qn.STRONG,vertical:!0}),(0,I.jsx)(db,{tagId:o??``,visitorId:a??``,title:t??``,userInfo:s})]})]}),(0,I.jsx)(Jn,{className:`mx-00 h-01 absolute w-full left-00 bottom-00`})]})}var pb=({title:e,titleClassName:t})=>(0,I.jsx)(G,{type:H.SECTION_SEO,size:B.XLCURATOR,weight:V.FIFTY,className:F(`truncate`,t),children:e});function mb({navigationItems:t,url:n,title:r,className:i,titleClassName:a,navigationItemClassName:o,testId:s=`section-navigation-bar-test-id`,isSectionPage:c=!1,isSubSectionPage:l=!1}){let{pathname:u}=e(),d=(0,L.useRef)(null);return(0,L.useEffect)(()=>{if(c){let e=d.current,t=t=>{t.persisted&&e&&(e.scrollLeft=0)};return _&&window.addEventListener(`pageshow`,t),()=>{_&&window.removeEventListener(`pageshow`,t)}}},[c]),(0,I.jsxs)(`div`,{"data-testid":s,className:F(i),children:[(0,I.jsx)(`div`,{className:`container`,children:(0,I.jsxs)(`div`,{ref:d,className:F(`w-full flex items-center h-56 desktop:h-64 overflow-x-scroll no-scrollbar whitespace-nowrap`),children:[r&&(n?(0,I.jsx)(Sn,{url:n,type:z.CUSTOM,testId:`${s}-link-text`,className:`flex flex-2 gap-04 items-center`,children:hb(l?{title:r,titleClassName:a}:{title:r,titleClassName:a,SEO:!0})}):(0,I.jsx)(I.Fragment,{children:hb(l?{title:r,titleClassName:a}:{title:r,titleClassName:a,SEO:!0})})),R(t)&&(0,I.jsxs)(`div`,{className:`flex h-full items-center`,children:[(0,I.jsx)(Jn,{className:`h-24 w-01 mx-16`,type:qn.STRONG,vertical:!0}),t.map((e,t)=>(0,I.jsx)(Zs,{title:e.title,url:Ir(`top-navbar`,e.url)??e.url,selected:e.url===u,className:t===0?`hidden`:``,contentLinkTextClassName:o,isSubSectionPage:l},`subsection-menu-key${t}`))]})]})}),(0,I.jsx)(Jn,{className:`flex desktop:w-full bottom-00 h-01 mx-00 self-stretch flex-shrink-0`,type:qn.DEFAULT})]})}var hb=({title:e,titleClassName:t,SEO:n=!1})=>(0,I.jsx)(In,{category:U.TITLE,size:B.LG,style:W.BOLD,className:F(`break-words text-primary`,t),element:n?`h1`:`p`,children:e}),gb=`https://cdp.sph.com.sg/activation/activation.js`,_b=`c9875acb-576c-44bb-9484-aafb59ace74c`,vb=`https://cdp.activation.sph.com.sg`,yb=`https://prdnewsapi.sphdigital.com/v2/cc-ivt/web`,bb=`https://adtag.sphdigital.com/pub/st/apm-runtime.js`,xb=`https://neuron.platform.sphdigital.com.sg/config/`,Sb=`https://liveblog.straitstimes.com/Feed/view/`,Cb=`https://liveblog.straitstimes.com/Feed/livevideo/`,wb=`https://liveblog.straitstimes.com/s3fs-public/liveblog-videos/`,Tb=`334157`,Eb=`https://adtag.sphdigital.com/pub/st/apm-init.js`,Db=`https://adtag.sphdigital.com/pub/st/prebid.js`,Ob=`0oauayrzilc8WhiSR4x7`,kb=`https://static.idp.sph.com.sg/mySPH-lightbox/5.x.x/js/mySPH.js`,Ab=`https://www.straitstimes.com`,jb=`8b091a81007a5fbeafaeab9d12c1464c`,Mb=`786871`,Nb=e=>{if(R(e)){if(e.length===1)return e[0];let t=Math;return e[t.floor(t.random()*e.length)]}},Pb=(e,t)=>{if(!(e===void 0||e.length===0)){if(e.length===1)return e;if(R(e))return e=e.slice(0,t-1),e}}
20,Fb=[`is_sponsored`,`is_branded`,`is_deals`],Ib=(e=``,t=!1)=>!Fb.includes(e)&&!t||!1;function Lb({element:e,className:t,testId:n}){if(!e||!e.children||!R(e.children))return;let r=e.type===zt.LIST_NUMBERED?`ol`:`ul`,i=n??e.type===zt.LIST_NUMBERED?`numbered-article-list-test-id`:`bulleted-article-list-test-id`,a=n?`item-${n}`:e.type===zt.LIST_NUMBERED?`numbered-article-list-item-test-id`:`bulleted-article-list-item-test-id`;return(0,I.jsx)(`div`,{className:F(`article-list-container`,t),"data-testid":i,children:(0,I.jsx)(r,{className:F(`pl-22`,e.type===zt.LIST_NUMBERED?`list-decimal marker:font-tertiary-body-baseline-regular`:`list-disc`,`article-list-wrapper`),children:Rb(e,a)})})}var Rb=(e,t)=>e.children.map((e,n)=>{if(!(e.type===zt.PARAGRAPH&&(e.value===``||e.value===void 0))&&!(e.type===zt.SUB_HEAD&&(e.text===``||e.text===void 0)))return(0,I.jsx)(`li`,{className:`article-list-item list-item`,"data-testid":t,children:$x({element:e,index:n})},n)}),zb=function(e){return e.ARTICLE=`article`,e.HOME=`home`,e.TAGS=`tags`,e.LISTING=`listing`,e.AUTHOR=`author`,e.LIVE_BLOG=`liveblog`,e.BREAKING_NEWS=`breakingnews`,e.DEFAULT=`default`,e}({}),Bb={home:[{key:`page`,value:`home`}],tags:[{key:`page`,value:`tag`}],listing:[{key:`page`,value:`listing`}],article:[{key:`page`,value:`article`}],author:[{key:`page`,value:`listing`}],liveblog:[{key:`page`,value:`liveblog`}],breakingnews:[{key:`page`,value:`listing`}],default:[{key:`page`,value:`listing`}]},Vb=function(e){return e.LB1=`lb1`,e.LB2=`lb2`,e.LB3=`lb3`,e.LB4=`lb4`,e.LB5=`lb5`,e.IMU1=`imu1`,e.IMU2=`imu2`,e.IMU3=`imu3`,e.IMU4=`imu4`,e.IMU5=`imu5`,e.BI1=`bi1`,e.BI2=`bi2`,e.BI3=`bi3`,e.BI4=`bi4`,e.BI5=`bi5`,e.BI6=`bi6`,e.MIDARTICLESPECIAL=`midarticlespecial`,e.MIDARTICLESPECIAL2=`midarticlespecial2`,e.PRESTITIAL=`prestitial`,e.CATFISH=`catfish`,e}({}),Hb=`dfp-ad-`,Ub=`/5908/st`,Wb={lb1:[[320,50],[728,90],[970,90],[320,100],[320,250],[970,250],[1,1],`fluid`],lb2:[[970,250],[970,90],[728,90],[320,50],[320,100],[320,250],[1,1],`fluid`],lb3:[[970,250],[970,90],[728,90],[320,50],[320,100],[320,250],[1,1],`fluid`],lb4:[[970,250],[970,90],[728,90],[320,50],[320,100],[320,250],[1,1],`fluid`],lb5:[[970,250],[970,90],[728,90],[320,50],[320,100],[320,250],[1,1],`fluid`],prestitial:[1,1],catfish:[1,1],imu1:[[970,250],[728,90],[320,50],[320,100],[300,250],[320,250],`fluid`,[1,1]],imu2:[[300,250],[300,600],`fluid`,[1,1]],midarticlespecial:[[970,250],[728,90],[1,1],[300,250],`fluid`],midarticlespecial2:[[970,250],[728,90],[1,1],[300,250],`fluid`],bi1:[`fluid`],bi2:[`fluid`],bi3:[`fluid`],bi4:[`fluid`],bi5:[`fluid`],bi6:[`fluid`]},Gb={lb1:[[[1024,0],[[970,90],[728,90],[970,250],[1,1],`fluid`]],[[740,0],[[728,90],[1,1],`fluid`]],[[320,0],[[320,50],[320,100],[320,250],[1,1],`fluid`]],[[0,0],[[320,50],[320,100],[320,250],[1,1],`fluid`]]],lb2:[[[1024,0],[[970,90],[728,90],[970,250],[1,1],`fluid`]],[[740,0],[[728,90],[300,250],[1,1],`fluid`]],[[320,0],[[320,50],[320,100],[300,250],[1,1],`fluid`]],[[0,0],[[320,50],[320,100],[300,250],[1,1],`fluid`]]],lb3:[[[1024,0],[[970,90],[728,90],[970,250],[1,1],`fluid`]],[[740,0],[[728,90],[300,250],[1,1],`fluid`]],[[320,0],[[320,50],[320,100],[300,250],[1,1],`fluid`]],[[0,0],[[320,50],[320,100],[300,250],[1,1],`fluid`]]],lb4:[[[1024,0],[[970,90],[728,90],[970,250],[1,1],`fluid`]],[[740,0],[[728,90],[300,250],[1,1],`fluid`]],[[320,0],[[320,50],[320,100],[300,250],[1,1],`fluid`]],[[0,0],[[320,50],[320,100],[300,250],[1,1],`fluid`]]],lb5:[[[1024,0],[[970,90],[728,90],[970,250],[1,1],`fluid`]],[[740,0],[[728,90],[300,250],[1,1],`fluid`]],[[320,0],[[320,50],[320,100],[300,250],[1,1],`fluid`]],[[0,0],[[320,50],[320,100],[300,250],[1,1],`fluid`]]],imu1:[[[1024,0],[[970,250],[728,90],[300,250],[1,1],`fluid`]],[[740,0],[[300,250],[1,1],`fluid`]],[[320,0],[[300,250],[1,1],`fluid`]],[[0,0],[[300,250],[1,1],`fluid`]]],midarticlespecial:[[[1024,0],[[970,250],[728,90],[300,250],[1,1],`fluid`]],[[740,0],[[300,250],[1,1],`fluid`]],[[320,0],[[300,250],[1,1],`fluid`]],[[0,0],[[300,250],[1,1],`fluid`]]],midarticlespecial2:[[[1024,0],[[970,250],[728,90],[300,250],[1,1],`fluid`]],[[740,0],[[300,250],[1,1],`fluid`]],[[320,0],[[300,250],[1,1],`fluid`]],[[0,0],[[300,250],[1,1],`fluid`]]],c
20atfish:[[[320,0],[[1,1]]],[[0,0],[[1,1]]]],bi1:[[[1024,0],[`fluid`]],[[740,0],[`fluid`]],[[320,0],[`fluid`]],[[0,0],[`fluid`]]]},Kb={prestitial:[{key:`pos`,value:`prestitial`},{key:`weight`,value:`1`}],catfish:[{key:`pos`,value:`catfish`},{key:`weight`,value:`1`}],lb1:[{key:`pos`,value:`2`},{key:`weight`,value:`1`}],lb2:[{key:`pos`,value:`3`},{key:`weight`,value:`2`}],lb3:[{key:`pos`,value:`4`},{key:`weight`,value:`3`}],lb4:[{key:`pos`,value:`5`},{key:`weight`,value:`4`}],lb5:[{key:`pos`,value:`6`},{key:`weight`,value:`5`}],imu1:[{key:`pos`,value:`imu1`},{key:`weight`,value:`1`}],imu2:[{key:`pos`,value:`imu2`},{key:`weight`,value:`2`}],midarticlespecial:[{key:`pos`,value:`midarticlespecial`},{key:`weight`,value:`3`}],midarticlespecial2:[{key:`pos`,value:`midarticlespecial2`},{key:`weight`,value:`4`}],bi1:[{key:`pos`,value:`bi1`},{key:`weight`,value:`1`}]},qb=[Vb.LB1,Vb.IMU2];Vb.IMU2;var Jb=[Vb.LB1],Yb=[Vb.LB1],Xb=[Vb.LB1],Zb=[Vb.IMU1,Vb.MIDARTICLESPECIAL,Vb.MIDARTICLESPECIAL2],Qb=[Vb.LB1,Vb.LB2,Vb.LB3,Vb.LB4,Vb.LB5],$b=`sphmedia-straitstimes`,ex=`//cdn.taboola.com/libtrc/sphmedia-straitstimes/loader.js`,tx=`//static.tblcontent.com/libtrc/sphmedia-straitstimes/loader.privacy.js`,nx=`thumbnails-base-widget`,rx=function(e){return e.BELOW_ARTICLE_THUMBNAILS=`Below Article Thumbnails`,e.BELOW_HOME_THUMBNAILS=`Below Home Thumbnails`,e}({}),ix=function(e){return e.BELOW_ARTICLE_THUMBNAILS=`below-article-thumbnails`,e.BELOW_HOME_THUMBNAILS=`below-home-thumbnails`,e}({}),ax=function(e){return e.HOMEPAGE=`homepage`,e.ARTICLE=`article`,e}({}),ox=`dd_demo`;function sx({id:e,className:t,testId:n=`advertisement-test-id`}){return(0,L.useEffect)(()=>{if(_&&e&&e!==`dfp-ad-`+Vb.PRESTITIAL&&e!==`dfp-ad-`+Vb.CATFISH)try{googletag.cmd.push(function(){googletag.display(e)})}catch{}},[e]),(0,I.jsx)(`div`,{className:F(`ad-wrapper`,(e===`dfp-ad-`+Vb.IMU1||e===`dfp-ad-`+Vb.MIDARTICLESPECIAL||e===`dfp-ad-`+Vb.MIDARTICLESPECIAL2)&&`min-h-249`,t),suppressHydrationWarning:!0,children:(0,I.jsx)(`div`,{id:e,"data-testid":n})})}var cx=`/assets/gift-hero-CWhZFQ8B.png`;function lx({openToast:e,setOpenModal:t,children:n,testId:r=`gift-generate-modal-wrapper-test-id`}){let i=(0,L.useRef)(null);return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`div`,{className:`gifting-modal-overlay`,"data-testid":r}),(0,I.jsx)(`div`,{className:`gifting-modal-container`,children:(0,I.jsx)(`div`,{className:`gifting-modal-wrapper`,children:(0,I.jsxs)(`div`,{className:`gifting-modal-content`,ref:i,children:[(0,I.jsx)(Z,{fill:K.NONE,icon:{iconName:M.NAV_CROSS,iconWidth:N.REGULAR},handler:()=>{t(!1)},type:q.ICON_ONLY,size:Un.DEFAULT,className:`gifting-modal-close-button`,testId:`gift-generate-modal-close-test-id`}),(0,I.jsx)(`div`,{className:F(`gifting-modal-toast-wrapper`,e&&`opacity-100 flex`),children:(0,I.jsx)($s,{duration:3e3,message:`Link copied!`,type:Qs.SUCCESS,className:`gifting-modal-toast`})}),(0,I.jsx)(`img`,{src:cx,alt:`gift box`,className:`gifting-modal-image`}),n]})})})]})}var ux=function(e){return e.GENERATE=`Gift-a-story`,e.QUOTA=`You have reached your limit of subscriber-only articles this month`,e.ANONYMOUS=`You have a present!`,e.ACKNOWLEDGE=`All done! This article is now fully available for you`,e.EXPIRED=`This gift link for this subscriber-only article has expired`,e.UNVERIFIED=`Please verify your e-mail to read this subscriber-only article in full`,e}({}),dx=function(e){return e.GENERATE=`Share this story link with friends and family so they can also see the full story after signing up for a free account.`,e.QUOTA_EXPIRED=`Get unlimited access to all stories at $0.99/month for the first 3 months.`,e}({});function fx({title:e,url:t,setOpenModal:n}){let[r,i]=(0,L.useState)(!1);return Hn((0,L.useRef)(null),()=>{n(!1)}),(0,I.jsxs)(lx,{setOpenModal:n,openToast:r,testId:`gift-generate-modal-wrapper-test-id`,children:[(0,I.jsx)(Nx,{title:ux.GENERATE,description:dx.GENERATE}),(0,I.jsx)(Px,{title:e}),(0,I.jsx)(Fx,{url:t,setOpenToast:i}),(0,I.jsx)(Jn,{className:`mx-00 h-01`}),(0,I.jsx)(Ix,{url:t,title:e})]})}var px=`gift/generate`,mx=`gift/validate`,hx=function(e){return e.VERIFIED=`verified`,e.UNVERIFIED=`unverified`,e.INVALID=`invali
20d`,e.ANONYMOUS=`anonymous`,e.QUOTA=`quota`,e}({});function gx(){async function e({articleUrl:e,userId:t}){let n=``;try{await Kg(px,`POST`,{articleURL:e,aovisitorID:t},!1).then(e=>{n=e.subUserQuotaExceeded?`quota`:e.giftURL}).catch(()=>{j(le.ERROR,`Error while generating token.`)})}catch{j(le.ERROR,`Error try-catch while generating token.`)}return n}return{generateToken:e}}function _x({className:e,testId:t=`gift-button-test-id`}){let[n,r]=(0,L.useState)(!1),[i,a]=(0,L.useState)(!1),[o,s]=(0,L.useState)(``),{urlPath:c,title:l,paywall:u}=(0,L.useContext)(Yr),{generateToken:d}=gx(),{userType:f,serviceType:p,visitorId:m}=an(),h=(0,L.useCallback)(async()=>{_&&(vx(`gift icon`),a(!0),await d({articleUrl:O+c,userId:m}).then(e=>{e===`quota`?(a(!0),s(`quota`),r(!0)):(a(!1),s(e),r(!0))}))},[d,c,m]);if((0,L.useEffect)(()=>{n&&o!==``?document.documentElement.setAttribute(`style`,`overflow-y: hidden !important`):document.documentElement.removeAttribute(`style`)},[n,o]),u.contentAccess!==Vt.FREE)return f.includes(`sub`)&&p===Ut.TWO&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Z,{handler:()=>{h().catch(()=>{})},fill:K.OUTLINE,type:q.ICON_ONLY,icon:{iconName:M.ACTION_GIFT,iconWidth:N.SMALL},className:F(`py-08 px-12 h-full min-h-40`,e),testId:t,disabled:i}),n&&(o===`quota`?(0,I.jsx)(Ux,{title:l,setOpenModal:r}):o===``?(0,I.jsx)(I.Fragment,{}):(0,I.jsx)(fx,{title:l,url:o,setOpenModal:r}))]})}function vx(e){ft({eventLabel:e,eventAction:`click`,eventCategory:`subshare`})}var yx=function(e){return e.ARTICLE=`article`,e.STORIES=`stories`,e.VIDEOS=`videos`,e.STICKY_HEADLINE=`sticky_headline`,e.
20LIVE_BLOG=`live_blog`,e}({}),bx=[`PRINT`,`PURCHASE`],xx=[`EMAIL`,`PRINT`,`PURCHASE`],Sx=[{name:`Telegram`,icon:{iconName:M.SOCIAL_TELEGRAM},alternateIcon:{iconName:M.SOCIAL_TELEGRAM_COLOURED},socialLinkIndex:`TELEGRAM`,dropdownItem:!1,testId:`social-telegram-button-test-id`},{name:`Facebook`,icon:{iconName:M.SOCIAL_FACEBOOK},alternateIcon:{iconName:M.SOCIAL_FACEBOOK_COLOURED},socialLinkIndex:`FACEBOOK`,dropdownItem:!1,testId:`social-facebook-button-test-id`},{name:`WhatsApp`,icon:{iconName:M.SOCIAL_WHATSAPP_COLOURED},socialLinkIndex:`WHATSAPP`,dropdownItem:!0,testId:`dropdown-item-whatsapp-test-id`},{name:`Twitter`,icon:{iconName:M.SOCIAL_TWITTER},socialLinkIndex:`TWITTER`,dropdownItem:!0,testId:`dropdown-item-twitter-test-id`},{name:`LinkedIn`,icon:{iconName:M.SOCIAL_LINKEDIN_COLOURED},socialLinkIndex:`LINKEDIN`,dropdownItem:!0,testId:`dropdown-item-linkedin-test-id`},{name:`FB Messenger`,icon:{iconName:M.SOCIAL_MESSENGER_COLOURED},socialLinkIndex:`MESSENGER`,dropdownItem:!0,testId:`dropdown-item-messenger-test-id`},{name:`Email`,icon:{iconName:M.NAV_MAIL_FILLED},socialLinkIndex:`EMAIL`,dropdownItem:!0,testId:`dropdown-item-mail-test-id`},{name:`Print`,icon:{iconName:M.ACTION_PRINT},socialLinkIndex:`PRINT`,dropdownItem:!0,testId:`dropdown-item-print-test-id`},{name:`Purchase Article`,icon:{iconName:M.ACTION_CARD},socialLinkIndex:`PURCHASE`,dropdownItem:!0,testId:`dropdown-item-purchase-test-id`},{name:`Copy Link`,icon:{iconName:M.ACTION_COPY_LINK},socialLinkIndex:`COPY`,dropdownItem:!0,testId:`dropdown-item-copy-test-id`}],Cx=[{name:`Telegram`,icon:{iconName:M.SOCIAL_TELEGRAM_COLOURED},socialLinkIndex:`TELEGRAM`,dropdownItem:!1,testId:`popup-social-telegram-test-id`},{name:`Facebook`,icon:{iconName:M.SOCIAL_FACEBOOK_COLOURED},socialLinkIndex:`FACEBOOK`,dropdownItem:!1,testId:`popup-social-facebook-test-id`},{name:`WhatsApp`,icon:{iconName:M.SOCIAL_WHATSAPP_COLOURED},socialLinkIndex:`WHATSAPP`,dropdownItem:!0,testId:`popup-social-whatsapp-test-id`},{name:`Twitter`,icon:{iconName:M.SOCIAL_TWITTER},socialLinkIndex:`TWITTER`,dropdownItem:!0,testId:`popup-social-twitter-test-id`},{name:`LinkedIn`,icon:{iconName:M.SOCIAL_LINKEDIN_COLOURED},socialLinkIndex:`LINKEDIN`,dropdownItem:!0,testId:`popup-social-linkedin-test-id`},{name:`Email`,icon:{iconName:M.NAV_MAIL_FILLED},socialLinkIndex:`EMAIL`,dropdownItem:!0,testId:`popup-social-mail-test-id`}],wx=[{name:`WhatsApp`,icon:{iconName:M.SOCIAL_WHATSAPP_COLOURED},socialLinkIndex:`WHATSAPP`,dropdownItem:!0,testId:`gift-generate-modal-social-whatsapp-test-id`},{name:`Email`,icon:{iconName:M.NAV_MAIL_FILLED},socialLinkIndex:`EMAIL`,dropdownItem:!0,testId:`gift-generate-modal-social-mail-test-id`},{name:`Facebook`,icon:{iconName:M.SOCIAL_FACEBOOK_COLOURED},socialLinkIndex:`FACEBOOK`,dropdownItem:!1,testId:`gift-generate-modal-social-facebook-test-id`},{name:`Twitter`,icon:{iconName:M.SOCIAL_TWITTER},socialLinkIndex:`TWITTER`,dropdownItem:!0,testId:`gift-generate-modal-social-twitter-test-id`}],Tx=()=>!!(_&&navigator.userAgent.toLowerCase().includes(`com.sph.stiphone`)),Ex=()=>!!(_&&navigator.userAgent.toLowerCase().includes(`com.buuuk.st`)),Dx=()=>Tx()||Ex(),Ox=()=>_?window.navigator.userAgent.toLowerCase().includes(`googlebot`):!1,kx=(e,t,n,r)=>{if(!e&&!t)return``;let i=encodeURIComponent(n||``),a=`https://www.straitstimes.com`,o=t.startsWith(a)?t:sn(a)+`/`+cn(t),s=Ir(r,o),c=encodeURIComponent(s??o);switch(e){case`FACEBOOK`:return`https://www.facebook.com/sharer/sharer.php?u=${c}&t=${i}`;case`TELEGRAM`:return`https://t.me/share/url?url=${c}&text=${i}`;case`LINKEDIN`:return`https://www.linkedin.com/feed/?linkOrigin=LI_BADGE&shareActive=true&shareUrl=${c}`;case`WHATSAPP`:return`https://api.whatsapp.com/send?text=${i}%20${c}`;case`TWITTER`:return`https://x.com/intent/tweet?text=${i}&url=${c}`;case`MESSENGER`:return C?`https://www.m.me?text=${c}`:`https://www.facebook.com/dialog/send?app_id=2927136990683378&display=popup&link=${c}&redirect_uri=${c}`;case`EMAIL`:return`mailto:?subject=${i}&body=${c}`;case`PURCHASE`:return`https://newspost.newslink.sg/?publication=ST&title=${i}&referrer=${c}`;default:return c}},Ax=async(e,t,n,r,i)=>{if(!e&&!t)return;let a=`https://www.straitstimes.com`.replace(/\/+$/,``),o=t.startsWith(`/`)?t:`/${t}`,s=Ir(r,`${a}${o}`),c=i?t:s??`${a}${o}`,l={title:n,text:n,url:c};switch(e){case`PRINT`:jx();break;case`COPY`:Mx(c);break;case`NATIVE`:if(Dx())_&&window.flutter_inappwebview&&window.flutter_inappwebview.callHandler(`onShareClick`,l);else if(navigator.share)try{await navigator.share(l)}catch(e){j(le.ERROR,`Sharing failed :: (${e.name}) ${e.message}`)}else alert(`Web Share API not supported on this browser.`);break}};function jx(){_&&window.print()}function Mx(e){navigator.clipboard.writeText(e).catch(()=>{console.error(`Failed to copy the str to clipboard:`)})}var Nx=({title:e,description:t})=>(0,I.jsxs)(`div`,{className:`flex flex-col gap-y-16`,children:[(0,I.jsx)(G,{type:H.CONTAINER,size:B.XXSCURATOR,weight:V.FIFTY,className:`text-center text-primary`,children:e}),t&&(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.THIRTY,className:`w-full text-center text-wrap text-primary`,children:t})]}),Px=({title:e})=>(0,I.jsx)(`div`,{className:`w-full layer-two layer-no-hover`,children:(0,I.jsx)(G,{type:H.SUBSECTION,size:B.XS,weight:V.FORTY,className:`dynamic-padding-x py-16 text-wrap text-center text-primary`,children:e})}),Fx=({url:e,setOpenToast:t})=>(0,I.jsxs)(`div`,{className:`flex flex-col gap-y-16`,children:[(0,I.jsx)(G,{type:H.CONTAINER,size:B.XXSCURATOR,weight:V.FIFTY,className:`mx-auto text-primary`,children:`Share link:`}),(0,I.jsxs)(`div`,{className:`flex w-full items-start tablet:px-24 desktop:px-32 gap-x-04 `,children:[(0,I.jsx)(X,{iconName:M.ACTION_COPY_LINK,iconWidth:N.REGULAR,symmetric:!0,className:`block flex-shrink-0 w-24`}),(0,I.jsx)(`div`,{className:`block flex-shrink-1 w-full overflow-x-clip text-ellipsis text-nowrap min-w-00 text-primary`,children:e})]}),(0,I.jsx)(Z,{type:q.TEXT_ONLY,handler:()=>{Mx(e??``),vx(`copy link`),t(!0),setTimeout(()=>{t(!1)},3e3)},text:`Copy gift link`,className:`w-auto mx-auto`,testId:`gift-generate-modal-copy-button-test-id`})]}),Ix=({url:e,title:t})=>(0,I.jsxs)(`div`,{className:`flex flex-col gap-y-16 w-auto items-center`,children:[(0,I.jsx)(G,{type:H.CONTAINER,size:B.XXSCURATOR,weight:V.FIFTY,className:`mx-auto text-primary`,children:`Or share via:`}),(0,I.jsx)(`div`,{className:`flex gap-x-08`,children:wx.map(n=>(0,I.jsx)(Z,{type:q.ICON_ONLY,fill:K.OUTLINE,icon:{iconName:n.icon.iconName,iconWidth:N.SMALL,iconHeight:N.REGULAR,symmetric:!1},handler:()=>{_&&(window.open(kx(n.socialLinkIndex,e??``,t)),vx(n.socialLinkIndex.toLowerCase()))},testId:n.testId,className:`px-12 py-08`},n.testId))})]}),Lx=`gift-validate-modal-wrapper-test-id`;function Rx({title:e,openModal:t,modalType:n,acknowledgeCallback:r}
20){let[i,a]=(0,L.useState)(t);return(0,L.useEffect)(()=>{if(_){if(i){let e=setTimeout(()=>{document.documentElement.setAttribute(`style`,`overflow-y: hidden !important`)},500);return()=>{clearTimeout(e)}}document.documentElement.removeAttribute(`style`)}},[i]),i&&zx(n,e,a,r)}var zx=(e,t,n,r)=>{switch(e){case`verified`:return(0,I.jsx)(Bx,{title:t,setOpenModal:n,btnHandler:r});case`unverified`:return(0,I.jsx)(Vx,{title:t,setOpenModal:n});case`invalid`:return(0,I.jsx)(Hx,{title:t,setOpenModal:n});case`anonymous`:return(0,I.jsx)(Wx,{title:t,setOpenModal:n});case`quota`:return(0,I.jsx)(Ux,{title:t,setOpenModal:n});default:return(0,I.jsx)(I.Fragment,{})}};function Bx({title:e,setOpenModal:t,btnHandler:n}){return(0,I.jsxs)(lx,{setOpenModal:t,openToast:!1,testId:Lx,children:[(0,I.jsx)(Nx,{title:ux.ACKNOWLEDGE}),(0,I.jsx)(Px,{title:e}),(0,I.jsx)(`div`,{className:`flex flex-col gap-y-16`,children:(0,I.jsx)(Z,{type:q.TEXT_ONLY,handler:()=>{n&&n(),t(!1)},text:`Read now`,className:`w-auto mx-auto`,testId:`gift-validate-modal-acknowledge-button-test-id`})})]})}function Vx({title:e,setOpenModal:t}){return(0,I.jsxs)(lx,{setOpenModal:t,openToast:!1,testId:Lx,children:[(0,I.jsx)(Nx,{title:ux.UNVERIFIED}),(0,I.jsx)(Px,{title:e}),(0,I.jsx)(`div`,{className:`flex flex-col gap-y-16`,children:(0,I.jsx)(Z,{type:q.TEXT_ONLY,handler:()=>{nn()},text:`Resend verification e-mail`,className:`w-auto mx-auto`,testId:`gift-validate-modal-resend-verification-button-test-id`})})]})}function Hx({title:e,setOpenModal:t}){return(0,I.jsxs)(lx,{setOpenModal:t,openToast:!1,testId:Lx,children:[(0,I.jsx)(Nx,{title:ux.EXPIRED,description:dx.QUOTA_EXPIRED}),(0,I.jsx)(Px,{title:e})]})}function Ux({title:e,setOpenModal:t}){return(0,I.jsxs)(lx,{setOpenModal:t,openToast:!1,testId:Lx,children:[(0,I.jsx)(Nx,{title:ux.QUOTA,description:dx.QUOTA_EXPIRED}),(0,I.jsx)(Px,{title:e})]})}function Wx({title:e,setOpenModal:t}){let{lightbox:n}=Ly();return(0,I.jsxs)(lx,{setOpenModal:t,openToast:!1,testId:Lx,children:[(0,I.jsx)(Nx,{title:ux.ANONYMOUS}),(0,I.jsxs)(`div`,{className:`w-full text-center text-wrap font-eyebrow-baseline-regular`,children:[`Just`,` `,(0,I.jsx)(Z,{type:q.TEXT_ONLY,fill:K.NONE,className:`m-00 p-00 link-default`,handler:()=>{n?.initiateLogin()},text:`sign up`}),` `,`for free account and`,` `,(0,I.jsx)(Z,{type:q.TEXT_ONLY,fill:K.NONE,className:`m-00 p-00 link-default`,handler:()=>{Qt(n)},text:`log in`}),` `,`to continue reading.`]}),(0,I.jsx)(Px,{title:e}),(0,I.jsx)(`div`,{className:`flex flex-col gap-y-16`,children:(0,I.jsx)(Z,{type:q.TEXT_ONLY,handler:()=>{Qt(n)},text:`Sign up`,className:`w-auto mx-auto`,testId:`gift-validate-modal-signup-button-test-id`})}),(0,I.jsxs)(`div`,{className:`w-full text-center text-wrap font-eyebrow-lg-regular`,children:[`Already have an account?`,` `,(0,I.jsx)(Z,{type:q.TEXT_ONLY,fill:K.NONE,className:`m-00 p-00 link-default`,handler:()=>{Qt(n)},text:`Log in.`})]})]})}function Gx({element:e,className:t,testId:n=`ceros-embed-test-id`}){let{deviceType:r}
20=gv(!0),[i,a]=(0,L.useState)(`1.9`);return(0,L.useEffect)(()=>{if(document.getElementById(`ceros-origin-domains`))return;let e=document.createElement(`script`);e.id=`ceros-origin-domains`,e.dataset.testid=`ceros-origin-domains`,e.src=`https://view.ceros.com/scroll-proxy.min.js`,e.async=!0,e.setAttribute(`data-ceros-origin-domains`,`view.ceros.com`),document.body.appendChild(e)},[]),(0,L.useEffect)(()=>{if(r===void 0||e===void 0||e.aspectRatio===void 0)return;let t;switch(r){case`desktop`:t=e.aspectRatio.desktop||`3.1818`;break;case`tablet`:t=e.aspectRatio.tablet||`3.1818`;break;case`mobile`:t=e.aspectRatio.mobile||`1.9`;break;default:t=`1.9`}a(t)},[r,e]),e===void 0||e.url===``?(0,I.jsx)(I.Fragment,{}):(0,I.jsx)(`div`,{className:t,"data-testid":n,children:(0,I.jsx)(Vv,{title:`ceros-wrapper`,src:e.url,className:`ceros-experience`,loading:`eager`,style:{aspectRatio:i}},`ceros-${r}-${i}`)})}var Kx=e=>{if(_&&e.data[`datawrapper-height`]!==void 0){let t=document.querySelectorAll(`iframe`);for(let n in e.data[`datawrapper-height`])for(let r=0;r<t.length;r++)if(t[r].contentWindow===e.source){let i=t[r];i.style.height=e.data[`datawrapper-height`][n]+`px`}}};function qx({element:e,className:t,testId:n=`datawrapper-embed-test-id`}){if((0,L.useEffect)(()=>(_&&window.addEventListener(`message`,Kx),()=>{_&&window.removeEventListener(`message`,Kx)}),[]),!(e===void 0||e.url===``))return(0,I.jsx)(`div`,{className:F(t,`my-10`),"data-testid":n,children:(0,I.jsx)(Vv,{title:zt.DYNAMIC_IFRAME_WRAPPER,loading:`lazy`,src:e.url})})}function Jx({testId:e=`sphwave-intervention-test-id`,className:t}){let[n,r]=(0,L.useState)(!1),i=Xt.get(`exit_intervention`);return(0,L.useEffect)(()=>{if(console.log(`[cdp::intervention] loadInterventionScript invoked`),_&&typeof window.SPH_CDP==`function`&&i===void 0&&!n)try{console.log(`[cdp::intervention] invoked:: attaching runner try - in `),r(!0),window.SPH_CDP().init(`51`,vb,_b).run(),console.log(`[cdp::intervention] invoked:: attaching runner try - out`)}catch(e){j(le.ERROR,`[cdp::intervention] failed initializing script:: ${e}`)}},[`51`,i,n]),(0,L.useEffect)(()=>{if(!_||i!==void 0||!n)return;console.log(`[cdp::intervention] ready`);let e=document.querySelector(`#ei-btn-subscribe`),t=document.querySelector(`#ei-btn-cancel`);if(!(!e||!t))return e.addEventListener(`click`,Yx),t.addEventListener(`click`,Yx),()=>{e.removeEventListener(`click`,Yx),t.removeEventListener(`click`,Yx)}},[n,i]),(0,I.jsx)(`div`,{id:`sph_cdp_51`,"data-testid":e,className:F(`sphwave-intervention print:hidden`,t)})}var Yx=()=>{try{if(!_)return;let e=document.querySelector(`#ei_subscribe`);if(!e)return;e.hidden=!0}catch{console.log(`[cdp::intervention] failed jQuery, fallback close`)}};function Xx({testId:t=`sphwave-paywall-test-id`,className:n,index:r}){let i=e(),a=r===0?`4`:`4_${r}`,[o,s]=(0,L.useState)(!1),{isUserLoading:c}=Rt(e=>e),{lightbox:l}=Ly();return(0,L.useEffect)(()=>{if(_&&!c){if(window._data===void 0||window._data.level2===void 0||typeof window.SPH_CDP!=`function`)return;console.log(`[cdp::paywall] inside useffect checks`);try{window.SPH_CDP().init(a,vb,_b).run(),console.log(`[cdp::paywall] CDP script ran`),setTimeout(()=>{s(!0)},750)}catch(e){console.error(e)}}},[s,c,a,i.pathname]),(0,L.useEffect)(()=>{if(!_||!o)return;console.log(`[cdp::paywall] ready`);let e=document.querySelector(`.st.login.mysph_login`);if(!e)return;let t=()=>{l?.initiateLogin()};return e.addEventListener(`click`,t),()=>{e.removeEventListener(`click`,t)}},[o,l]),(0,I.jsx)(`div`,{id:`sph_cdp_${a}`,"data-testid":t,className:F(`article-page-grid w-full pt-16 overflow-x-clip print:hidden`,n),suppressHydrationWarning:!0})}function Zx({isValidCall:t}){let n=e(),r=new URLSearchParams(n.search).get(`gift`),[i,a]=(0,L.use
20State)(),{serviceType:o,userType:s,visitorId:c}=an(),l=(0,L.useRef)(!0),u=(0,L.useRef)(n.pathname),d=(0,L.useRef)({giftTokenValid:!1,type:hx.INVALID});return(0,L.useMemo)(()=>{if(console.log(`[gifting::validate] invalid call check`),t&&(console.log(`[gifting::validate] flags`,o,s),!(!r||r===void 0)&&(console.log(`[gifting::validate] token`,r),!(o===Ut.TWO||s===Ft.SUBSCRIBER)))){if(o===Ut.ONE&&s.includes(`anoy`))return console.log(`[gifting::validate] y-anoy`),l.current=!1,d.current={giftTokenValid:!1,type:hx.ANONYMOUS};if(s.includes(`reg`)&&o===Ut.THIRTEEN)return console.log(`[gifting::validate] y-reg unverified`),l.current=!1,d.current={giftTokenValid:!1,type:hx.UNVERIFIED};if(i){console.log(`[gifting::validate] y-reg verified`);let e=i.regUserQuotaExceeded;return e!==void 0&&e?d.current={giftTokenValid:!1,type:hx.QUOTA}:d.current={giftTokenValid:i.giftTokenValid??!1,type:i.giftTokenValid?hx.VERIFIED:hx.INVALID,articleBodyElements:i.articleBodyElements}}}},[r,i,o,s,t]),(0,L.useEffect)(()=>{c&&(c===``||c===void 0)||!r||r===void 0||o===Ut.TWO||s===Ft.SUBSCRIBER||(async()=>{console.log(`[gifting::validate] run`,o,s);let e=await await Kg(mx,`POST`,{articleURL:`${O}${u.current}`,aovisitorID:c,giftToken:r});a(e),l.current=!1})().catch(()=>{})},[r,o,c,s]),(0,L.useEffect)(()=>{switch(d.current.type){case hx.VERIFIED:d.current.giftTokenValid?d.current.type=hx.VERIFIED:d.current.type=hx.INVALID;break;case hx.UNVERIFIED:d.current.type=hx.UNVERIFIED;break;case hx.INVALID:d.current.type=hx.INVALID;break;case hx.ANONYMOUS:d.current.type=hx.ANONYMOUS;break;default:return}}),!r||r===void 0?{}:{cachedResponse:d,isLoading:l}}function Qx({showFullArticle:e=!0}){let t=0,{title:n,type:r,source:i,infiniteScrolling:a,paywall:o,processedElements:s,displayType:c,displaySetting:l,articleIndex:u,variant:d}
20=(0,L.useContext)(Yr),[f,p]=(0,L.useState)(s),m=(0,L.useRef)(!1),h=o.contentAccess===Vt.PREMIUM&&u===0,{cachedResponse:g,isLoading:_}=Zx({isValidCall:h}),v=(0,L.useCallback)(()=>{R(g?.current.articleBodyElements)&&(m.current||=(p([...s,...g.current.articleBodyElements]),!0))},[]);(0,L.useEffect)(()=>{e&&a?.hiddenProcessedElements&&p(a.hiddenProcessedElements)},[e]);let y=(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(HE,{showStoriesFeature:Ib(l?.displayAssets,l?.hideOutbrain),className:`print:hidden track-impression`})}),{isUserLoading:b,userInfo:S}=Rt(e=>e),C=!b&&S?.usertype,w=C&&e_(C)&&f.findLastIndex(e=>e.type===zt.PARAGRAPH);return R(f)&&(0,I.jsxs)(`div`,{className:F(`storyline-wrapper pt-16`,c,o.contentAccess===Vt.PREMIUM&&`paywall-content`),children:[f.map((e,n)=>{switch(e.type){case zt.PARAGRAPH:return t++,r===`drupalStory`&&i===`st-drupal-node`?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`div`,{className:`archival-wrapper`,dangerouslySetInnerHTML:{__html:e.value??``}},n),t===7&&y]}):(0,I.jsxs)(L.Fragment,{children:[(0,I.jsx)(Hr,{element:e,className:F(n===w&&o.contentAccess===Vt.PREMIUM&&`subscriber-exclusive-icon`,t===1&&`article-summary`)},n),t===7&&y,t===7&&(0,I.jsx)(I.Fragment,{children:!1}),t===2&&f.length<=3&&d===Ht.PARTIAL&&o.contentAccess===Vt.PREMIUM&&(0,I.jsx)(Xx,{index:0,className:`print:hidden paywall`})]},n);case zt.GROUPED_RELATION:return(0,I.jsx)(oS,{element:e},n);case zt.SUB_HEAD:return(0,I.jsx)(Kr,{element:e},n);case zt.IMAGE:return(0,I.jsx)(Wy,{element:e},n);case zt.ADVERTISEMENT:return(0,I.jsx)(`div`,{className:`article-ads-wrapper`,children:(0,I.jsx)(sx,{...e.advertisement,className:`article-ads`})},n);case zt.LIST_BULLETED:case zt.LIST_NUMBERED:return(0,I.jsx)(Lb,{element:e},n);case zt.NESTED_ELEMENTS:return(0,I.jsx)(eS,{elements:e},n);case zt.BRIGHTCOVE_VIDEO:return(0,I.jsx)(x,{"data-testid":`storyline-embed-brightcove-test-id`,attrs:{className:`brightcove-video-player show-assets print:hidden ${e.orientation}`},videoId:e.url,accountId:4800266888001,playerId:`UFbjeWg96`,embedId:`default`,options:{noUITitleAttributes:!1}},n);case zt.YOUTUBE_VIDEO:case zt.OMNY_PODCAST:case zt.DYNAMIC_IFRAME_WRAPPER:case zt.EMBED:return e.url.includes(`datawrapper`)?(0,I.jsx)(qx,{element:e,className:`print:hidden`},n):e.url.includes(`ceros`)?(0,I.jsx)(Gx,{element:e},n):(0,I.jsx)(Nw,{element:e,className:`print:hidden`},n);case zt.HORIZONTAL_ROW:return(0,I.jsx)(`hr`,{className:`border-default`});default:return null}}),_!==void 0&&!_.current&&(0,I.jsx)(Rx,{modalType:g.current.type,openModal:h,title:n,acknowledgeCallback:v}),d===Ht.FULL&&o.contentAccess===Vt.PREMIUM&&(0,I.jsx)(Xx,{index:0,className:`print:hidden paywall`})]})}function $x({element:e,index:t}){let{type:n,source:r}=(0,L.useContext)(Yr);switch(e.type){case zt.PARAGRAPH:return n===`drupalStory`&&r===`st-drupal-node`?(0,I.jsx)(`div`,{className:`archival-wrapper`,dangerouslySetInnerHTML:{__html:e.value??``}}):(0,I.jsx)(Hr,{element:e},t);case zt.SUB_HEAD:return(0,I.jsx)(Kr,{element:e},t);case zt.IMAGE:return(0,I.jsx)(Wy,{element:e},t);case zt.LIST_BULLETED:case zt.LIST_NUMBERED:return(0,I.jsx)(Lb,{element:e},t);case zt.BRIGHTCOVE_VIDEO:return(0,I.jsx)(x,{"data-testid":`storyline-embed-brightcove-test-id`,attrs:{className:`brightcove-video-player show-assets print:hidden`},videoId:e.url,accountId:w,playerId:T,embedId:`default`,options:{noUITitleAttributes:!1}});case zt.YOUTUBE_VIDEO:case zt.OMNY_PODCAST:case zt.DYNAMIC_IFRAME_WRAPPER:case zt.EMBED:return e.url.includes(`datawrapper`)?(0,I.jsx)(qx,{element:e,className:`print:hidden`},t):e.url.includes(`ceros`)?(0,I.jsx)(Gx,{element:e}):(0,I.jsx)(Nw,{element:e,className:`print:hidden`},t);default:return(0,I.jsx)(`pre`,{children:`UNIMPLEMENTED NESTED ELEMENT CHILD : ${e.type}`})}}function eS({elements:e,className:t,testId:n=`nested-elements-test-id`}){if(e!==void 0&&R(e.children))return(0,I.jsx)(`div`,{className:F(`flex flex-col gap-16 p-16 tablet:p-24 border border-default nested-element rounded-md break-words tablet:break-normal`,t),"data-testid":n,children:e.children.map((e,t)=>(0,I.jsx)(L.Fragment,{children:$x({element:e,index:t})},t))})}var tS=`/assets/OnBoarding-Mobile-DT5KlhA8.png`,nS=`/assets/OnBoarding-Web-BLRUPLmn.png`;function rS({isUserLogin:t,testId:n=`onboard-page-test-id`}
20){let r=e(),i=a(),o=new URLSearchParams(r.search).get(`from`)||``,s=`/myst`;o.includes(`saved`)?s=`/myst/saved`:o.includes(`explore`)&&(s=`/myst/explore`);let{lightbox:c}=Ly();return(0,L.useEffect)(()=>{if(_){let e=Xt.get(`mySPHUserType`)||Ft.ANONYMOUS,t=Xt.get(`visitorcat`)||`0`;(e===Ft.SUBSCRIBER||e===Ft.REGISTERED)&&t!==`4`&&(Xt.set(Fg,`1`),o&&i(s,{replace:!0}))}},[o,i,s]),(0,I.jsx)(`div`,{className:F(`container`),children:(0,I.jsxs)(`div`,{className:`onboard-wrapper`,"data-testid":n,children:[(0,I.jsxs)(`div`,{className:`onboard-col justify-self-center`,children:[(0,I.jsx)(Ky,{src:nS,size:Y.SQUARE,alt:`onboarding-tablet-web`,className:`w-full mx-auto mobile:hidden tablet:flex`}),(0,I.jsx)(Ky,{src:tS,size:Y.SQUARE,alt:`onboarding-mobile`,className:`mx-auto tablet:hidden mobile:flex `,wrapperClassName:`mobile:w-full`})]}),(0,I.jsxs)(`div`,{className:`onboard-heading`,children:[(0,I.jsxs)(`div`,{className:`onboard-heading-bottom`,children:[(0,I.jsx)(G,{type:H.SECTION_SEO,size:B.XL,weight:V.FIFTY,className:`tablet:text-center self-stretch pb-12`,children:`The all-new myST+`}),(0,I.jsx)(G,{type:H.CONTAINER,size:B.XXSCURATOR,weight:V.THIRTY,className:`tablet:text-center self-stretch`,children:t?`Discover what matters to you in one convenient location`:`Explore what matters to you in one convenient location`})]}),(0,I.jsxs)(`div`,{className:`onboard-bottom-bullet`,children:[(0,I.jsxs)(`div`,{className:`onboard-bottom-bullet-data`,children:[(0,I.jsx)(X,{iconName:M.STATUS_SUCCESS_OUTLINED,iconWidth:N.SMALL}),(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.LG,weight:V.THIRTY,children:t?`Follow topics and authors`:`Find and follow writers and topics of interest`})]}),(0,I.jsxs)(`div`,{className:`onboard-bottom-bullet-data`,children:[(0,I.jsx)(X,{iconName:M.STATUS_SUCCESS_OUTLINED,iconWidth:N.SMALL}),(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.LG,weight:V.THIRTY,children:`Save keep-worthy articles`})]})]}),(0,I.jsx)(Z,{type:q.TEXT_ONLY,fill:K.PRIMARY,size:Un.DEFAULT,handler:()=>{_&&(t?window.location.assign(s):c&&c.initiateLogin())},text:t?zg:Bg,className:`onboard-bottom-button`,testId:`onboard-login-signup-explore-test-id`})]})]})})}function iS({currentPage:e=1,totalItems:t,itemsPerPage:n,onPageChange:r,buttonClassName:i,className:a,dataPerPage:o,testId:s=`pagination-button-test-id`}){let c=Math.ceil(t/n);if(o===0&&e>1){r(e-1);return}if(!(t<=n))return(0,I.jsxs)(`div`,{className:F(`flex justify-end items-center gap-08 self-stretch`,a),"data-testid":s,children:[(0,I.jsx)(`button`,{"data-testid":`pagination-left-test-id`,className:F(`p-00`,i),disabled:e===1,onClick:()=>{r(e-1)},"aria-label":`left pagination button`,children:(0,I.jsx)(X,{iconName:M.ACTION_CI_CHEVRON_LEFT,iconWidth:N.LARGE,className:F(e===1?`icon-disabled`:`icon-secondary`)})}),(0,I.jsx)(`button`,{"data-testid":`pagination-right-test-id`,className:F(`p-00`,i),disabled:e>=c,onClick:()=>{r(e+1)},"aria-label":`right pagination button`,children:(0,I.jsx)(X,{iconName:M.ACTION_CI_CHEVRON_RIGHT,iconWidth:N.LARGE,className:F(e>=c?`icon-disabled`:`icon-secondary`)})})]})}function aS({isBreaking:e=!1,isQuickTake:t=!1,title:n,className:r,textClassName:i,testId:a=`read-only-tag-test-id`}){if(!(!e&&!t&&!n))return(0,I.jsx)(`div`,{className:F(`rounded-s rounded-e p-08`,e&&`background-live`,t&&`background-brand`,r),"data-testid":a,children:(0,I.jsx)(Pn,{type:En.EYEBROW,weight:V.FORTY,size:B.BASELINE,className:F(`text-inverse`,i),children:e?`Breaking`:t?`Quick take`:n})})}function oS({element:e,className:t,testId:n=`more-on-this-topic-test-id`}){if(e===void 0)return;let{relatedLinks:r}=e;if(R(r)&&!(r[0].url===``||r[0].title===``))return(0,I.jsxs)(`div`,{className:F(`more-on-this-topic-wrapper pb-16`,t),"data-testid":n,children:[(0,I.jsx)(Jy,{title:`More on this topic`,type:qn.STRONG,className:`px-00`}),r.map((e,t)=>{if(!(e.url===``||e.title===``))return(0,I.jsx)(sS,{url:Ir(`more-on-this-topic`,e.url)??e.url,title:e.title,topDivider:!1,bottomDivider:!0},t)})]})}function sS({title:e,url:t,className:n,rel:r=`noopener noreferrer`,target:i=`_self`,topDivider:a=!0,bottomDivider:o=!1,testId:s=`related-link-test-id`}){if(!(e===``||e===void 0))return(0,I.jsxs)(`div`,{className:F(`flex flex-col items-start gap-00 related-link`,n),"data-testid":s,children:[a&&(0,I.jsx)(Jn,{type:qn.DASHED,className:`mx-00 w-full h-01`}),(0,I.jsx)(Sn,{url:t,type:z.CUSTOM,rel:r,target:i,className:`py-16 link-default select-auto`,children:(0,I.jsx)(G,{type:H.SUBSECTION,size:B.XS,weight:V.FORTY,children:e})}),o&&(0,I.jsx)(Jn,{type:qn.DASHED,className:`mx-00 w-full h-01`})]})}var cS=(e=>(e.INFO=`info`,e.DEBUG=`debug`,e.WARN=`warn`,e.ERROR=`error`,e))(cS||{}),lS=class{logger;constructor(){this.logger=console}log(e,t,n){this.logger[e]({level:e,message:t,data:n,timestamp:new Date().toISOString()})}info(e,t={}){this.log(`info`,e,t)}debug(e,t={}){this.log(`debug`,e,t)}warn(e,t={}){this.log(`warn`,e,t)}
20error(e,t={}){this.log(`error`,e,t)}getLoggerName(){return`console`}};function uS(e,t,n){let r=Ll(),i=pS(e,n.timeZone,n.locale??r.locale);return`formatToParts`in i?dS(i,t):fS(i,t)}function dS(e,t){let n=e.formatToParts(t);for(let e=n.length-1;e>=0;--e)if(n[e].type===`timeZoneName`)return n[e].value}function fS(e,t){let n=e.format(t).replace(/\u200E/g,``),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):``}function pS(e,t,n){return new Intl.DateTimeFormat(n?[n.code,`en-US`]:void 0,{timeZone:t,timeZoneName:e})}function mS(e,t){let n=xS(t);return`formatToParts`in n?gS(n,e):_S(n,e)}var hS={year:0,month:1,day:2,hour:3,minute:4,second:5};function gS(e,t){try{let n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){let t=hS[n[e].type];t!==void 0&&(r[t]=parseInt(n[e].value,10))}return r}catch(e){if(e instanceof RangeError)return[NaN];throw e}}function _S(e,t){let n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(r[3],10),parseInt(r[1],10),parseInt(r[2],10),parseInt(r[4],10),parseInt(r[5],10),parseInt(r[6],10)]}var vS={},yS=new Intl.DateTimeFormat(`en-US`,{hourCycle:`h23`,timeZone:`America/New_York`,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`}).format(new Date(`2014-06-25T04:00:00.123Z`)),bS=yS===`06/25/2014, 00:00:00`||yS===`â06â/â25â/â2014â â00â:â00â:â00`;function xS(e){return vS[e]||(vS[e]=bS?new Intl.DateTimeFormat(`en-US`,{hourCycle:`h23`,timeZone:e,year:`numeric`,month:`numeric`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`}):new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`numeric`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`})),vS[e]}function SS(e,t,n,r,i,a,o){let s=new Date(0);return s.setUTCFullYear(e,t,n),s.setUTCHours(r,i,a,o),s}var CS=36e5,wS=6e4,TS={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function ES(e,t,n){if(!e)return 0;let r=TS.timezoneZ.exec(e);if(r)return 0;let i,a;if(r=TS.timezoneHH.exec(e),r)return i=parseInt(r[1],10),AS(i)?-(i*CS):NaN;if(r=TS.timezoneHHMM.exec(e),r){i=parseInt(r[2],10);let e=parseInt(r[3],10);return AS(i,e)?(a=Math.abs(i)*CS+e*wS,r[1]===`+`?-a:a):NaN}if(MS(e)){t=new Date(t||Date.now());let r=OS(n?t:DS(t),e);return-(n?r:kS(t,r,e))}return NaN}function DS(e){return SS(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function OS(e,t){let n=mS(e,t),r=SS(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),a=i%1e3;return i-=a>=0?a:1e3+a,r-i}function kS(e,t,n){let r=e.getTime()-t,i=OS(new Date(r),n);if(t===i)return t;r-=i-t;let a=OS(new Date(r),n);return i===a?i:Math.max(i,a)}function AS(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var jS={};function MS(e){if(jS[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),jS[e]=!0,!0}catch{return!1}}var NS=60*1e3,PS={X:function(e,t,n){let r=FS(n.timeZone,e);if(r===0)return`Z`;switch(t){case`X`:return RS(r);case`XXXX`:case`XX`:return LS(r);default:return LS(r,`:`)}},x:function(e,t,n){let r=FS(n.timeZone,e);switch(t){case`x`:return RS(r);case`xxxx`:case`xx`:return LS(r);default:return LS(r,`:`)}},O:function(e,t,n){let r=FS(n.timeZone,e);switch(t){case`O`:case`OO`:case`OOO`:return`GMT`+zS(r,`:`);default:return`GMT`+LS(r,`:`)}},z:function(e,t,n){switch(t){case`z`:case`zz`:case`zzz`:return uS(`short`,e,n);default:return uS(`long`,e,n)}}};function FS(e,t){let n=e?ES(e,t,!0)/NS:t?.getTimezoneOffset()??0;if(Number.isNaN(n))throw RangeError(`Invalid time zone specified: `+e);return n}function IS(e,t){let n=e<0?`-`:``,r=Math.abs(e).toString();for(;r.length<t;)r=`0`+r;return n+r}function LS(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=IS(Math.floor(r/60),2),a=IS(Math.floor(r%60),2);return n+i+t+a}function RS(e,t){return e%60==0?(e>0?`-`:`+`)+IS(Math.abs(e)/60,2):LS(e,t)}function zS(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.floor(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+IS(a,2)}function BS(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-+t}var VS=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,HS=36e5,US=6e4,WS=2,GS={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:VS};function KS(e,t={}){if(arguments.length<1)throw TypeError(`1 argument required, but only `+arguments.length+` present`);if(e===null)return new Date(NaN);let n=t.additionalDigits==null?WS:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw RangeError(`additionalDigits must be 0, 1 or 2`);if(e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`)return new Date(e.getTime());if(typeof e==`number`||Object.prototype.toString.call(e)===`[object Number]`)return new Date(e);if(Object.prototype.toString.call(e)!==`[object String]`)return new Date(NaN);let r=qS(e),{year:i,restDateString:a}=JS(r.date,n),o=YS(a,i);if(o===null||isNaN(o.getTime()))return new Date(NaN);if(o){let e=o.getTime(),n=0,i;if(r.time&&(n=XS(r.time),n===null||isNaN(n)))return new Date(NaN);if(r.timeZone||t.timeZone){if(i=ES(r.timeZone||t.timeZone,new Date(e+n)),isNaN(i))return new Date(NaN)}else i=BS(new Date(e+n)),i=BS(new Date(e+n+i));return new Date(e+n+i)}else return new Date(NaN)}function qS(e){let t={},n=GS.dateTimePattern.exec(e),r;if(n?(t.date=n[1],r=n[3]):(n=GS.datePattern.exec(e),n?(t.date=n[1],r=n[2]):(t.date=null,r=e)),r){let e=GS.timeZone.exec(r);e?(t.time=r.replace(e[1],``),t.timeZone=e[1].trim()):t.time=r}return t}function JS(e,t){if(e){let n=GS.YYY[t],r=GS.YYYYY[t],i=GS.YYYY.exec(e)||r.exec(e);if(i){let t=i[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(i=GS.YY.exec(e)||n.exec(e),i){let t=i[1];return{year:parseInt(t,10)*100,restDateString:e.slice(t.length)}}}return{year:null}}function YS(e,t){if(t===null)return null;let n,r,i;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let a=GS.MM.exec(e);if(a)return n=new Date(0),r=parseInt(a[1],10)-1,tC(t,r)?(n.setUTCFullYear(t,r),n):new Date(NaN);if(a=GS.DDD.exec(e),a){n=new Date(0);let e=parseInt(a[1],10);return nC(t,e)?(n.setUTCFullYear(t,0,e),n):new Date(NaN)}if(a=GS.MMDD.exec(e),a){n=new Date(0),r=parseInt(a[1],10)-1;let e=parseInt(a[2],10);return tC(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(NaN)}if(a=GS.Www.exec(e),a)return i=parseInt(a[1],10)-1,rC(i)?ZS(t,i):new Date(NaN);if(a=GS.WwwD.exec(e),a){i=parseInt(a[1],10)-1;let e=parseInt(a[2],10)-1;return rC(i,e)?ZS(t,i,e):new Date(NaN)}return null}function XS(e){let t,n,r=GS.HH.exec(e);if(r)return t=parseFloat(r[1].replace(`,`,`.`)),iC(t)?t%24*HS:NaN;if(r=GS.HHMM.exec(e),r)return t=parseInt(r[1],10),n=parseFloat(r[2].replace(`,`,`.`)),iC(t,n)?t%24*HS+n*US:NaN;if(r=GS.HHMMSS.exec(e),r){t=parseInt(r[1],10),n=parseInt(r[2],10);let e=parseFloat(r[3].replace(`,`,`.`));return iC(t,n,e)?t%24*HS+n*US+e*1e3:NaN}return null}function ZS(e,t,n){t||=0,n||=0;let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7,a=t*7+n+1-i;return r.setUTCDate(r.getUTCDate()+a),r}var QS=[31,28,31,30,31,30,31,31,30,31,30,31],$S=[31,29,31,30,31,30,31,31,30,31,30,31];function eC(e){return e%400==0||e%4==0&&e%100!=0}
20function tC(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let r=eC(e);if(r&&n>$S[t]||!r&&n>QS[t])return!1}return!0}function nC(e,t){if(t<1)return!1;let n=eC(e);return!(n&&t>366||!n&&t>365)}function rC(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function iC(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var aC=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function oC(e,t,n={}){t=String(t);let r=t.match(aC);if(r){let i=KS(n.originalDate||e,n);t=r.reduce(function(e,t){if(t[0]===`'`)return e;let r=e.indexOf(t),a=e[r-1]===`'`,o=e.replace(t,`'`+PS[t[0]](i,t,n)+`'`);return a?o.substring(0,r-1)+o.substring(r+1):o},t)}return Ml(e,t,n)}function sC(e,t,n){e=KS(e,n);let r=ES(t,e,!0),i=new Date(e.getTime()-r),a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}function cC(e,t,n,r){return r={...r,timeZone:t,originalDate:e},oC(sC(e,t,{timeZone:r.timeZone}),n,r)}var lC=`Asia/Singapore`;function uC(e,t){let n=t||`MMM d, yyyy, h:mm a`;return cC(new Date(e),lC,n)}var dC=e=>{let t=new Date(e),n=Math.floor((new Date().getTime()-t.getTime())/1e3),r=3600;if(isNaN(n))return``;if(n>=86400)return`invalid`;if(n<60)return n===1?`${n} second ago`:`${n} seconds ago`;if(n<r)return`${Math.floor(n/60)} min ago`;{let e=Math.floor(n/r);return e===1?`${e} hour ago`:`${e} hours ago`}},fC=(e=!0)=>{let t=-480;if(typeof window>`u`)return e?`-480`:t;try{let t=new Date().getTimezoneOffset();return e?t.toString():t}catch{return e?`-480`:t}},pC=e=>e?e.replaceAll(` `,`-`).toLowerCase():null,mC=async e=>{try{return await Kg(`search?${new URLSearchParams(Object.fromEntries(Object.entries(e).map(([e,t])=>[e,String(t)]))).toString()}`,`GET`,{},!1)}catch(e){throw j(cS.ERROR,`BAAS:: Search API request failed`,{err:e}),e}},hC=e=>{if(!e||!e.includes(`,`))return{startDate:``,endDate:``};let[t,n]=e.split(`,`);return{startDate:uC(t,`MM/dd/yyyy`),endDate:uC(n,`MM/dd/yyyy`)}},gC=e=>{let t=e.startsWith(`?`)?e.slice(1):e,n=new URLSearchParams(t),r={};for(let[e,t]of n.entries())r[e]=t;return r},_C=(e,t)=>{let n=t?.startsWith(`?`)?t.slice(1):t,r=new URLSearchParams(n);return Object.entries(e).forEach(([e,t])=>{t!=null&&t!==``?r.set(e,t):r.delete(e)}),r.toString()};function vC({init:e=``,initShowOptions:t=!1,name:n,placeholder:r=`Select`,labelText:i,labelIcon:a,disabled:o,options:s,textClassName:c,wrapperClassName:l,callback:u,className:d,testId:f=`${n}-select-test-id`,isSection:p=!1,isRequired:m=!1,allowReselect:h=!1}){let[g,_]=(0,L.useState)(e),[v,y]=(0,L.useState)(t),b=(0,L.useRef)(null),x=(0,L.useRef)(null),{deviceType:S}=gv(!0);(0,L.useEffect)(()=>{v&&((S===`mobile`||S===`tablet`)&&p&&document.getElementById(`${n}-options`)?.scrollIntoView({behavior:`auto`,block:`nearest`}),document.querySelector(`.options button.selected`)?.scrollIntoView({behavior:`auto`,block:`nearest`}))},[v]);let C=e=>{if(!v||!s)return;let t=e.key;if(t.length===1&&/^[a-zA-Z0-9]$/.test(t)){let e=s.find(e=>e.key.toLowerCase().startsWith(t));if(e){let t=document.querySelector(`.options button.${pC(e.key)}`);document.querySelector(`.options button.focus`)?.classList.toggle(`focus`),t?.classList.toggle(`focus`),t?.scrollIntoView({behavior:`auto`,block:`nearest`}),b.current=e.key}}t===`Enter`&&b.current&&(w(b.current),y(!1))};Hn(x,()=>{y(!1)});let w=(e=``)=>{if(g===e){_(``);return}else _(e)};return(0,I.jsxs)(`div`,{className:F(`interactive-select`,d),"data-testid":f,children:[(i||a)&&(0,I.jsxs)(`label`,{className:`flex flex-row h-full mb-08`,children:[i&&(0,I.jsx)(`span`,{className:`mr-04 font-eyebrow-lg-semibold text-secondary`,children:i}),a&&(0,I.jsx)(X,{testId:`label-icon-test-id`,...a})]}),(0,I.jsxs)(`div`,{ref:x,className:`select`,children:[(0,I.jsxs)(`button`,{className:F(`input-select`,o&&`text-disabled pointer-events-none`,l),onClick:()=>{y(!v)},children:[(0,I.jsx)(`input`,{"data-testid":`input-select-field-test-id`,placeholder:r,value:g,disabled:o,readOnly:!0,required:m,onKeyDown:C,className:`font-button-baseline-regular w-full focus:outline-0 hover:cursor-pointer invalid:border invalid:border-error`}),(0,I.jsx)(X,{iconName:v?M.NAV_EXPAND_LESS:M.NAV_EXPAND_MORE})]}),R(s)&&v&&(0,I.jsx)(`div`,{className:`options layer-no-hover`,id:`${n}-options`,children:s.map(e=>(0,I.jsx)(Z,{text:e.key,fill:K.NONE,type:g===e.key?q.ICON_RIGHT:q.TEXT_ONLY,icon:{iconName:M.STATUS_SUCCESS_OUTLINED,iconWidth:N.SMALL,className:`icon-interactive`},className:F(`w-full px-16 py-12`,pC(e.key),g===e.key?`selected`:``),textClassName:F(`font-button-baseline-regular w-full text-left`,g===e.key?`link-default`:``,c),handler:()=>{if(h&&g===e.key){y(!1),u&&u(e.key);return}w(e.key),y(!1),u&&u(g===e.key?``:e.key)}},`item-${pC(e.key)}`))})]})]})}function yC({title:e,path:t,shortUrl:n,refCode:r=``,callBack:i,className:a,testId:o=`social-share-popup-test-id`}
20){let[s,c]=(0,L.useState)(!1),l=(0,L.useRef)(null),u=`https://www.straitstimes.com${t}`,d=(0,L.useCallback)(()=>{i&&i()},[i]);return Hn(l,()=>{d()}),(0,I.jsxs)(`div`,{ref:l,"data-testid":o,className:F(`social-share-popup`,a),children:[(0,I.jsx)(`div`,{className:`social-share-popup-bg`,onClick:d,onKeyDown:d,tabIndex:0,role:`button`,"data-testid":`social-share-popup-bg-test-id`}),(0,I.jsxs)(`div`,{className:`popup-container`,children:[(0,I.jsxs)(`div`,{className:`top-toolbar`,children:[(0,I.jsx)(X,{iconName:M.ST_INITIAL_LOGO_DEFAULT,iconWidth:N.XL,className:`st-logo`,testId:`st-logo`}),(0,I.jsxs)(`div`,{className:`flex-1 text-left cursor-auto w-10/12 pl-04`,children:[(0,I.jsx)(G,{type:H.SUBSECTION,weight:V.FIFTY,size:B.XXSCURATOR,className:`mb-08`,children:`Share this article`}),(0,I.jsx)(Pn,{type:En.BODY,weight:V.THIRTY,size:B.SM,className:`line-clamp-1 block`,children:e})]})]}),(0,I.jsxs)(`div`,{children:[Cx.map(n=>(0,I.jsx)(Sn,{target:`_blank`,type:z.ICON_LEFT,leftIconProps:{iconName:n.icon.iconName,iconWidth:N.REGULAR},url:kx(n.socialLinkIndex,t,e,r),title:n.name,testId:n.testId,className:`popup-items text-secondary gap-x-16 mb-16 last:mb-00`},n.testId)),(0,I.jsx)(Z,{fill:K.NONE,type:q.ICON_LEFT,text:s?`Link Copied!`:`Copy Link`,icon:{iconName:M.ACTION_COPY_LINK,iconWidth:N.REGULAR},handler:()=>{Mx(`${n||u}${r?`?ref=${r}`:``}`),c(!0)},textClassName:`font-secondary-label-lg-regular text-secondary`,className:`popup-items gap-x-16 p-00`,testId:`popup-item-copy-test-id`},`social-copy-button-test-id`)]})]})]})}var bC=(e,t)=>{ft({eventLabel:`https://www.straitstimes.com${e}`,eventAction:t,eventCategory:`share article`})};function xC({type:e=yx.ARTICLE,refCode:t=``,className:n,testId:r=`social-share-test-id`,title:i,url:a,shortUrl:o,callBack:s}){let[c,l]=(0,L.useState)(!1),u=(0,L.useCallback)(()=>{l(e=>!e),s?.()},[s]);if(!i||!a)return null;if(e===yx.STORIES)return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)(`div`,{className:F(`hidden desktop:flex`,n),"data-testid":`popup-${r}`,children:[c&&(0,I.jsx)(yC,{title:i,path:a,callBack:u,refCode:t,className:n}),(0,I.jsx)(Z,{fill:K.NONE,type:q.ICON_ONLY,icon:{iconName:M.ACTION_SHARE_OUTLINED,iconWidth:N.REGULAR},handler:u,testId:`popup-social-share-unified-button-test-id`,className:c?`disable`:``})]}),(0,I.jsx)(`div`,{className:F(`flex desktop:hidden`,n),"data-testid":r,children:(0,I.jsx)(Z,{fill:K.NONE,type:q.ICON_ONLY,icon:{iconName:M.ACTION_SHARE_OUTLINED,iconWidth:N.REGULAR},handler:()=>{Ax(`NATIVE`,a,i)},testId:`social-share-unified-button-test-id`})})]});if(e===yx.STICKY_HEADLINE){let e=Sx.map(e=>({...e,icon:{iconName:e.alternateIcon?.iconName??e.icon.iconName}}));return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`div`,{className:F(`hidden desktop:flex`,n),"data-testid":r,children:(0,I.jsxs)(vg,{children:[(0,I.jsx)(vg.Trigger,{children:(0,I.jsx)(Z,{className:`action-button social-share-button`,fill:K.NONE,type:q.ICON_ONLY,icon:{iconName:M.ACTION_SHARE_OUTLINED,iconWidth:N.REGULAR},handler:()=>{}})}),(0,I.jsx)(vg.Items,{testId:`social-dropdown-items-test-id`,children:e.map(e=>SC(e,e.socialLinkIndex===`COPY`&&o?o:a,i,t,!!(e.socialLinkIndex===`COPY`&&o)))})]})}),(0,I.jsx)(`div`,{className:F(`flex desktop:hidden`,n),"data-testid":r,children:(0,I.jsx)(Z,{className:`social-share-button`,fill:K.NONE,type:q.ICON_ONLY,testId:`social-share-sticky-headline-unified-button-test-id`,icon:{iconName:M.ACTION_SHARE_OUTLINED,iconWidth:N.REGULAR},handler:()=>{_&&Ax(`NATIVE`,a,i)}})})]})}else if(e===yx.LIVE_BLOG){let e=Sx.filter(e=>!xx.includes(e.socialLinkIndex)).map(e=>({...e,icon:{iconName:e.alternateIcon?.iconName??e.icon.iconName}}));return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`div`,{className:F(`hidden desktop:flex`,n),"data-testid":r,children:(0,I.jsxs)(vg,{children:[(0,I.jsx)(vg.Trigger,{children:(0,I.jsx)(Z,{className:`action-button social-share-button`,fill:K.NONE,type:q.ICON_ONLY,icon:{iconName:M.ACTION_SHARE_OUTLINED,iconWidth:N.REGULAR},handler:()=>{}})}),(0,I.jsx)(vg.Items,{testId:`social-dropdown-items-test-id`,children:e.map(e=>SC(e,e.socialLinkIndex===`COPY`&&o?o:a,i,t,!!(e.socialLinkIndex===`COPY`&&o)))})]})}),(0,I.jsx)(`div`,{className:F(`flex desktop:hidden`,n),"data-testid":r,children:(0,I.jsx)(Z,{className:`s
20ocial-share-button`,fill:K.NONE,type:q.ICON_ONLY,testId:`social-share-sticky-headline-unified-button-test-id`,icon:{iconName:M.ACTION_SHARE_OUTLINED,iconWidth:N.REGULAR},handler:()=>{_&&Ax(`NATIVE`,a,i)}})})]})}return(0,I.jsx)(I.Fragment,{children:(0,I.jsxs)(`div`,{className:F(`flex`,n),"data-testid":r,children:[(0,I.jsx)(Z,{fill:K.OUTLINE,type:q.ICON_ONLY,icon:{iconName:M.SOCIAL_TELEGRAM,iconWidth:N.SMALL},handler:()=>{_&&window.open(kx(`TELEGRAM`,a,i)),bC(a,`telegram`)},className:`py-08 px-12 h-full min-h-40 hidden desktop:block`,testId:`social-telegram-button-test-id`}),(0,I.jsx)(Z,{fill:K.OUTLINE,type:q.ICON_ONLY,icon:{iconName:M.SOCIAL_FACEBOOK,iconWidth:N.SMALL},handler:()=>{_&&window.open(kx(`FACEBOOK`,a,i)),bC(a,`facebook`)},className:`py-08 px-12 h-full min-h-40 hidden desktop:block`,testId:`social-facebook-button-test-id`}),e===yx.ARTICLE&&(0,I.jsx)(_x,{}),(0,I.jsx)(Z,{fill:K.OUTLINE,type:q.ICON_ONLY,icon:{iconName:M.ACTION_SHARE_OUTLINED,iconWidth:N.SMALL},handler:()=>{Ax(`NATIVE`,a,i),bC(a,`native`)},className:`py-08 px-12 h-full min-h-40 block desktop:hidden`,testId:`social-share-unified-button-test-id`}),(0,I.jsxs)(vg,{children:[(0,I.jsx)(vg.Trigger,{className:`h-full`,children:(0,I.jsx)(Z,{fill:K.OUTLINE,type:q.ICON_ONLY,icon:{iconName:M.NAV_MORE_HORIZ,iconWidth:N.SMALL},handler:()=>{},className:`dropdown-trigger hidden desktop:block`,testId:`social-toggle-button-test-id`})}),(0,I.jsx)(vg.Items,{testId:`social-dropdown-items-test-id`,children:Sx.filter(t=>t.dropdownItem&&(e!==yx.VIDEOS||!bx.includes(t.socialLinkIndex))).map(e=>SC(e,e.socialLinkIndex===`COPY`&&o?o:a,i,t,!!(e.socialLinkIndex===`COPY`&&o)))})]})]})})}var SC=(e,t,n,r,i=!1)=>(0,I.jsx)(Z,{type:q.ICON_LEFT,fill:K.NONE,icon:{iconName:e.icon.iconName},handler:()=>{e.socialLinkIndex===`NATIVE`||e.socialLinkIndex===`COPY`||e.socialLinkIndex===`PRINT`?Ax(e.socialLinkIndex,t,n,r,i):_&&window.open(kx(e.socialLinkIndex,t,n)),bC(t,e.name.toLowerCase())},text:e.name,testId:e.testId,className:`dropdown-items min-h-40`,textClassName:`font-secondary-label-lg-regular`},e.testId),CC=function(e){return e.DEFAULT=`default`,e.ACCOUNT_HUB=`account-hub`,e.CUSTOM=`custom`,e}({}),wC=function(e){return e.ACTIVE=`active`,e.TRIAL=`trial`,e.EXPIRING=`expiring soon`,e.ACTION=`action`,e.EXPIRED=`expired`,e}({}),TC={[wC.ACTIVE]:{className:`status-success-background`,options:{icon:{iconName:M.STATUS_ELLIPSIS,iconWidth:N.XS},content:`Active`,contentClassName:`status-success-text font-secondary-label-xs-semibold`,iconClassName:`status-success-icon`}},[wC.TRIAL]:{className:`status-success-background`,options:{icon:{iconName:M.STATUS_ELLIPSIS,iconWidth:N.XS},content:`Trial`,contentClassName:`status-success-text font-secondary-label-xs-semibold`,iconClassName:`status-success-icon`}},[wC.EXPIRING]:{className:`status-warning-background`,options:{icon:{iconName:M.STATUS_ELLIPSIS,iconWidth:N.XS},content:`Expiring Soon`,contentClassName:`status-warning-text font-secondary-label-xs-semibold`,iconClassName:`status-warning-icon`}},[wC.ACTION]:{className:`status-error-background`,options:{icon:{iconName:M.STATUS_ELLIPSIS,iconWidth:N.XS},content:`Action needed`,contentClassName:`status-error-text font-secondary-label-xs-semibold`,iconClassName:`status-error-icon`}},[wC.EXPIRED]:{className:`border bg-white border-strong `,options:{icon:{iconName:M.STATUS_ELLIPSIS,iconWidth:N.XS},content:`Expired`,contentClassName:`text-tertiary font-secondary-label-xs-semibold`,iconClassName:`icon-tertiary`}}};function EC({options:e={},preset:t,type:n=CC.DEFAULT,className:r,testId:i=`status-badge-${n}-test-id`}){let a=DC({type:n,preset:t,options:e});return(0,I.jsxs)(`div`,{className:F(`flex gap-04 rounded-full py-04 px-08 w-fit items-center justify-center self-stretch`,a.className??`bg-white border border-default`,r),"data-testid":i,children:[a.options&&a.options.icon!==void 0?(0,I.jsx)(`div`,{"data-testid":`status-badge-${n}${t===void 0?``:`-`+t}-icon-test-id`,children:(0,I.jsx)(X,{...a.options.icon,className:a.options.iconClassName})}):(0,I.jsx)(`div`,{"data-testid":`status-badge-${n}-icon-test-id`,children:(0,I.jsx)(X,{iconName:M.NAV_INFO_FILLED,iconWidth:N.XS,className:`icon-primary`})}),a.options&&a.options.content!==void 0?(0,I.jsx)(In,{category:U.LABEL,size:B.XS,style:W.SEMIBOLD,className:a.options.contentClassName,testId:`status-badge-${n}${t===void 0?``:`-`+t}-text-test-id`,children:a.options.content}):(0,I.jsx)(In,{category:U.LABEL,size:B.XS,style:W.SEMIBOLD,className:`text-primary`,testId:`status-badge-${n}-text-test-id`,children:`Status`})]})}function DC({type:e,preset:t,options:n}){switch(e){case CC.DEFAULT:return{};case CC.ACCOUNT_HUB:return OC(t)?TC[t]:{};case CC.CUSTOM:return{options:n}}}function OC(e){return typeof e==`string`&&e in TC}function kC({title:e=`See more on`,className:t,testId:n=`tags-test-id`}){let{tags:r}=(0,L.useContext)(Yr);if(R(r))return(0,I.jsxs)(`div`,{className:F(`article-page-grid w-full flex flex-col pb-32`,t),"data-testid":n,children:[(0,I.jsx)(Jy,{title:e,divider:!0,className:`w-full px-00`}),(0,I.jsx)(`div`,{className:`flex w-full flex-wrap gap-16`,children:r.map((e,t)=>{if(!(t>4))return(0,I.jsx)(WC,{text:e.name,url:e.path||`/tags/${e.slug}?ref=see-more-on`,testId:`${n}-${t}`},t)})})]})}var AC=n(f(),1),jC=n(g(),1),MC=n(b(),1),NC=n(v(),1),{extend:PC}=AC.default;PC(jC.default),PC(MC.default),PC(NC.default);function FC({format:e=`default`,parsable:t=``,options:n={},formatString:r=``,className:i,textClassName:a,testId:o=`timestamp-test-id`,affix:s}){return t===``?(0,I.jsx)(`div`,{"data-testid":o,children:`INVALID TIME`}):(0,I.jsx)(`div`,{className:F(`timestamp-element`,i),"data-testid":o,children:(0,I.jsxs)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.THIRTY,className:F(`flex flex-nowrap`,a),children:[s,`\xA0`,IC({parsable:t,formatString:r,format:e,options:n})]})})}var IC=({parsable:e,formatString:t,format:n,options:r})=>{let i=(0,AC.default)(e);if(t)return i.format(t);switch(n){case`relative`:return i.fromNow();case`article`:return AC.default.utc(e).tz(`Asia/Singapore`).locale(`en-sg`).format(`MMM DD, YYYY, hh:mm A`);
20default:return new Date(e).toLocaleString(`en-SG`,Object.keys(r).length>0?r:{dateStyle:`short`,timeStyle:`short`})}};function LC({text:e,action:t=ub.TEXT_ONLY,icon:n,variant:r=lb.TOPICS,className:i,textClassName:a,testId:o=`toggle-unit-test`,handler:s}){return(0,I.jsx)(`button`,{"data-testid":o,className:F(RC(r),``,i),onClick:s,"aria-label":e?`toogle button for ${e}`:n?`toogle button for ${n.iconName}`:`toogle button`,children:zC({action:t,text:e,icon:n,baseClass:`font-secondary-label-md-semibold`,textClassName:a})})}var RC=e=>{switch(e){case lb.TOPICS:return`interactive-toggle`;case lb.EMOJI:return`emoji-toggle`;case lb.NAVIGATION:return`navigation-toggle default`}},zC=({action:e,text:t,icon:n,baseClass:r,textClassName:i})=>{switch(e){case ub.TEXT_ONLY:return(0,I.jsx)(`span`,{className:F(i,r),children:t});case ub.ICON_LEFT:return(0,I.jsxs)(I.Fragment,{children:[n&&(0,I.jsx)(X,{...n}),(0,I.jsx)(`span`,{className:F(i,r),children:t})]});case ub.ICON_RIGHT:return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`span`,{className:F(i,r),children:t}),n&&(0,I.jsx)(X,{...n})]})}},BC=function(e){return e.TOP=`top`,e.BOTTOM=`bottom`,e}({}),VC=function(e){return e.LEFT=`left`,e.RIGHT=`right`,e.CENTER=`center`,e}({}),HC=({className:e,testId:t=`tooltip-test-id`,tooltipAlignment:n=VC.RIGHT,tooltipLabel:r,tooltipPosition:i=BC.BOTTOM,tooltipTitle:a,triggerIcon:o,triggerText:s,triggerTextClassName:c})=>{let[l,u]=(0,L.useState)(!1),d=(0,L.useRef)(null);return(0,L.useEffect)(()=>{let e=e=>{let t=d.current;t&&!t.contains(e.target)&&u(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,I.jsxs)(`div`,{className:F(`tooltip-container`,n,e),ref:d,children:[(0,I.jsxs)(`span`,{className:F(`cursor-pointer hidden desktop:flex items-center`,s&&`gap-08`),onMouseEnter:()=>{u(!0)},onMouseLeave:()=>{u(!1)},"data-testid":`desktop-${t}`,children:[(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.FORTY,children:s}),(0,I.jsx)(X,{iconName:o,iconWidth:N.SMALL,symmetric:!0})]}),(0,I.jsx)(Z,{className:F(`flex desktop:hidden py-00 `,s?`gap-08 px-00`:`px-16`),textClassName:c,fill:K.NONE,type:q.ICON_RIGHT,icon:{iconName:o,iconWidth:N.SMALL},text:s,handler:()=>{u(e=>!e)},testId:`mobile-${t}`}),l&&(0,I.jsxs)(`div`,{className:F(`tooltip-label`,i),"data-testid":`message-box-test-id`,children:[a&&(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.FORTY,children:a}),(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.THIRTY,children:r})]})]})},UC=function(e){return e.DEFAULT=`default`,e.ICON_LEFT=`icon-left`,e.ICON_RIGHT=`icon-right`,e.ICON_ONLY=`icon-only`,e.CUSTOM=`custom`,e}({});function WC({size:e=`default`,type:t=`default`,text:n,icon:r,url:i,contentClassName:a,className:o,isLoading:s=!1,testId:c=`topic-tag-link-test-id`}){if(!(!n||!i||n===``||i===``))return(0,I.jsxs)(`a`,{"data-testid":c,href:i,rel:`noopener`,className:F(`topic-tag`,e===`small`?`small`:`default`,s&&`transition-all duration-100 ease-linear`,o),"aria-label":n?`topic tag for ${n}`:r?`topic tag for ${r.iconName}`:`topic tag`,children:[GC(t,e,n,r,a),s&&(0,I.jsx)(X,{iconName:M.LOADER,className:`!icon-placeholder`,iconWidth:e==="default"?N.REGULAR:N.SMALL})]})}var GC=(e,t,n,r,i)=>{switch(e){case`default`:return(0,I.jsx)(In,{category:U.LABEL,size:t==="default"?B.MD:B.SM,style:W.SEMIBOLD,testId:`topic-tag-content-test-id`,className:i,children:n});case`icon-left`:return(0,I.jsxs)(I.Fragment,{children:[r&&(0,I.jsx)(X,{...r}),(0,I.jsx)(In,{category:U.LABEL,size:t==="default"?B.MD:B.SM,style:W.SEMIBOLD,testId:`topic-tag-content-test-id`,className:i,children:n})]});case`icon-right`:return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(In,{category:U.LABEL,size:t==="default"?B.MD:B.SM,style:W.SEMIBOLD,testId:`topic-tag-content-test-id`,className:i,children:n}),r&&(0,I.jsx)(X,{...r})]});case`icon-only`:return(0,I.jsx)(I.Fragment,{children:r&&(0,I.jsx)(X,{...r})});default:return(0,I.jsx)(In,{category:U.LABEL,size:t==="default"?B.MD:B.SM,style:W.SEMIBOLD,testId:`topic-tag-content-test-id`,className:i,children:n})}},KC=`read original version`,qC={question:`Was this translation helpful to you?`,thankYouMessage:`Thank you for your feedback`},JC={submitOrigin:`https://submit.jotform.com`,submissionAction:`submission-completed`,closeDelayMs:3e3};function YC(e){return e}var XC=YC({"zh-hans":{path:`zh-hans`,caasLanguageCode:`zh`,htmlLang:`zh-Hans`,locale:`zh_Hans`,listingTypographyClass:`mandarin-listing-typography`,adPageLang:`chinese`,heroTitle:`䏿ç (beta)`,loadMoreText:`Load more`,metaTitle:`æµ·å³¡æ¶æ¥ä¸æç - The Straits Times Chinese`,metaDescription:`æ°å 塿µ·å³¡æ¶æ¥ä¸æçï¼ä¸ºæ¨æä¾ææ°çæ°å å¡åå½é
æ°é»ã深度æ¥éåè¯è®ºã`,gaChapter1:``,gaCh
20apter2:``,translateButtonLabel:`é
读ç®ä½ä¸æç (beta)`,translateCTAEventLabel:`é
读ç®ä½ä¸æç`,sitemapStartDate:{year:2026,month:5},translateFeedbackCopy:{question:`æ¤ç¿»è¯å¯¹æ¨æ¯å¦æå¸®å©?`,thankYouMessage:`æè°¢æ¨çåé¦`},feedbackFormUrl:`https://form.jotform.com/262000738193048`,feedbackFormIframeTitle:`Chinese Translation (beta) Feedback Form`}}),ZC=Object.values(XC).map(e=>e.path);function QC(e){return Object.prototype.hasOwnProperty.call(XC,e)}[`breakingNews`,`onlineStory`,`featureStory`,`galleryStory`,`videoStory`,`brandedContent`,`commentaryStory`,`editorialStory`,`drupalStory`,`drupalContainer`].map(e=>({match:{"data.context.type":e}}));function $C(e){if(QC(e))return XC[e]}function ew(e){return e?$C(e)?.translateFeedbackCopy??qC:qC}function tw(e){if(e)return $C(e)?.feedbackFormUrl}function nw(e){if(e)return $C(e)?.feedbackFormIframeTitle}function rw(e){return iw(e)?KC:XC[ZC[0]].translateCTAEventLabel}function iw(e){let t=e.replace(/^\/+/,``).split(`/`)[0]||``;if(QC(t))return XC[t]}function aw(e){return!!iw(e)}function ow({label:e,urlPath:t,lang:n,className:r,testId:i=`translate-article-button-test-id`}){function a(){_&&(ft({eventCategory:lt.TRANSLATION_CTA,eventAction:`click`,eventLabel:rw(window.location.pathname)}),window.location.href=t)}return(0,I.jsx)(`div`,{className:F(`flex shrink-0 print:hidden`,r),"data-testid":i,lang:n,children:(0,I.jsx)(Z,{className:`translate-article-button-simple`,fill:K.OUTLINE,type:q.ICON_LEFT,size:Un.SMALL,icon:{iconName:M.ACTION_TRANSLATE,iconWidth:N.SMALL},text:e,handler:a,textClassName:`font-secondary-label-md-semibold font-localized-label-md`,testId:`translate-article-inner-button-test-id`})})}var sw=`æ¬æç± AI ç¿»è¯ï¼å
³é®äºå®è¯·ä»¥åæä¸ºåã`,cw=`ç¿»è¯ç±AIçæãè½ç¶æä»¬åªåç¡®ä¿åç¡®æ§ï¼ä½å
容ä»ä»¥è±æåæä¸ºåã`;function lw({className:e,testId:t=`translation-disclaimer-test-id`}){let[n,r]=(0,L.useState)(!1),i=(0,L.useRef)(null);return(0,L.useEffect)(()=>{let e=e=>{i.current&&!i.current.contains(e.target)&&r(!1)};return document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[]),(0,I.jsx)(`div`,{className:F(`article-page-grid pt-12 pb-08 print:hidden`,e),"data-testid":t,lang:`zh-Hans`,children:(0,I.jsxs)(`div`,{ref:i,className:`relative flex flex-row items-center py-12 px-16 gap-16 bg-neutral-5`,children:[(0,I.jsxs)(`div`,{className:`flex flex-row items-center gap-08 flex-grow`,children:[(0,I.jsx)(X,{iconName:M.MENU_SMART,iconWidth:N.SMALL,className:`icon-secondary flex-shrink-0`}),(0,I.jsx)(`span`,{className:`text-secondary font-secondary-label-md-regular font-localized-label-md`,children:sw})]}),(0,I.jsx)(`button`,{className:`flex-shrink-0 cursor-pointer`,onClick:()=>{r(e=>!e)},onMouseEnter:()=>{r(!0)},onMouseLeave:()=>{r(!1)},"aria-label":`Translation disclaimer info`,children:(0,I.jsx)(X,{iconName:M.NAV_INFO_OUTLINED,iconWidth:N.SMALL,className:`icon-secondary`})}),n&&(0,I.jsx)(`div`,{className:`translation-disclaimer-tooltip`,children:(0,I.jsx)(`span`,{className:`font-secondary-label-md-regular font-localized-label-md text-secondary`,children:cw})})]})})}function uw(e){(0,L.useEffect)(()=>{if(!e)return;let t=t=>{t.key===`Escape`&&e()};return _&&window.addEventListener(`keydown`,t),()=>{_&&window.removeEventListener(`keydown`,t)}},[e])}function dw(e){try{return JSON.parse(e)}catch{return null}}function fw(e){return e.match(/\d{10,}/)?.[0]}var pw=`hide-ads-wrapper`,mw=`button:not([disabled]), iframe, input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [href], [tabindex]:not([tabindex="-1"])`;function hw({open:e,onClose:t,onSubmit:n,feedbackFormUrl:r,iframeTitle:i=`Translation Feedback Form`,testId:a=`translate-feedback-sheet`}){let o=(0,L.useRef)(null),s=(0,L.useRef)(null),c=(0,L.useCallback)(()=>{e&&t()},[e,t]);uw(e?t:void 0),Hn(o,c),(0,L.useEffect)(()=>{if(!e)return;let{body:t,documentElement:n}=document,r=t.classList.contains(pw),i=n.style.getPropertyValue(`overflow`),a=n.style.getPropertyPriority(`overflow`);return t.classList.add(pw),n.style.setProperty(`overflow`,`hidden`,`important`),()=>{i?n.style.setProperty(`overflow`,i,a):n.style.removeProperty(`overflow`),r||t.classList.remove(pw)}},[e]),(0,L.useEffect)(()=>
20{if(!e)return;let t=document.activeElement instanceof HTMLElement?document.activeElement:null;return(o.current?.querySelector(`button:not([disabled])`))?.focus({preventScroll:!0}),()=>{t?.isConnected&&t.focus({preventScroll:!0})}},[e]),(0,L.useEffect)(()=>{if(!e)return;let t=fw(r),i,a=e=>{if(e.origin!==JC.submitOrigin||e.source!==s.current?.contentWindow)return;let r=e.data,a=typeof r==`string`?dw(r):r;if(!a||typeof a!=`object`)return;let o=a;o.action!==JC.submissionAction||!t||String(o.formID)!==t||(i||=setTimeout(n,JC.closeDelayMs))};return window.addEventListener(`message`,a),()=>{window.removeEventListener(`message`,a),i&&clearTimeout(i)}},[e,n,r]);function l(){return Array.from(o.current?.querySelectorAll(mw)??[])}function u(){l()[0]?.focus({preventScroll:!0})}function d(){l().at(-1)?.focus({preventScroll:!0})}return e?(0,I.jsxs)(`div`,{className:`translate-feedback-sheet-overlay`,"data-testid":a,role:`presentation`,children:[(0,I.jsx)(`button`,{type:`button`,"aria-label":`End of feedback dialog`,className:`fixed h-00 w-00 overflow-hidden`,onFocus:d,"data-testid":`translate-feedback-focus-start`}),(0,I.jsxs)(`div`,{ref:o,role:`dialog`,"aria-modal":`true`,"aria-label":i,className:`translate-feedback-sheet-card`,children:[(0,I.jsx)(`div`,{className:`translate-feedback-sheet-grabber`}),(0,I.jsx)(Qy,{title:i,onClose:t,showSuccessButton:!1,showCancelButton:!1,testId:`translate-feedback-sheet-modal`,children:(0,I.jsx)(`iframe`,{ref:s,src:r,title:i,loading:`lazy`,sandbox:`allow-forms allow-popups allow-same-origin allow-scripts`,className:`translate-feedback-sheet-iframe`})})]}),(0,I.jsx)(`button`,{type:`button`,"aria-label":`Start of feedback dialog`,className:`fixed h-00 w-00 overflow-hidden`,onFocus:u,"data-testid":`translate-feedback-focus-end`})]}):null}var gw={iconName:M.ACTION_THUMBS_UP,iconWidth:N.REGULAR,iconHeight:N.REGULAR,symmetric:!0,className:`icon-secondary`},_w={iconName:M.ACTION_THUMBS_DOWN,iconWidth:N.REGULAR,iconHeight:N.REGULAR,symmetric:!0,className:`icon-secondary`};function vw({multilingualPath:e,className:t,testId:n=`translate-feedback-bar`}
20){let[r,i]=(0,L.useState)(!1),[a,o]=(0,L.useState)(!1),s=(0,L.useRef)(null),c=(0,L.useRef)(null),{question:l,thankYouMessage:u}=ew(e),d=tw(e),f=nw(e),p=$C(e??``)?.htmlLang;(0,L.useEffect)(()=>{r&&c.current?.focus({preventScroll:!0})},[r]);function m(e){if(e===`thumbs down`&&d){o(!0),ft({eventCategory:lt.TRANSLATE_FEEDBACK,eventAction:`click`,eventLabel:e});return}i(!0),ft({eventCategory:lt.TRANSLATE_FEEDBACK,eventAction:`click`,eventLabel:e})}function h(){o(!1),s.current?.querySelector(`button`)?.focus({preventScroll:!0})}function g(){o(!1),i(!0)}return(0,I.jsxs)(`div`,{className:F(`print:hidden layer-two layer-no-hover flex flex-col items-center gap-10 px-16 py-12 tablet:flex-row tablet:gap-16`,t),"data-testid":n,lang:p,children:[(0,I.jsx)(`div`,{className:`flex w-full items-center justify-center whitespace-nowrap text-center text-secondary font-secondary-label-md-semibold font-localized-label-md tablet:flex-1 tablet:justify-start tablet:text-left`,children:l}),r?(0,I.jsx)(`div`,{ref:c,role:`status`,tabIndex:-1,className:`flex w-full items-center justify-center text-center text-secondary font-secondary-label-md-regular font-localized-label-md tablet:w-auto tablet:shrink-0 tablet:justify-start tablet:text-left`,children:u}):(0,I.jsxs)(`div`,{className:`flex shrink-0 flex-row items-center gap-08`,children:[(0,I.jsx)(Z,{type:q.ICON_ONLY,fill:K.OUTLINE,size:Un.DEFAULT,handler:()=>{m(`thumbs up`)},icon:gw,className:`translate-feedback-button border border-default`}),(0,I.jsx)(`span`,{ref:s,className:`contents`,children:(0,I.jsx)(Z,{type:q.ICON_ONLY,fill:K.OUTLINE,size:Un.DEFAULT,handler:()=>{m(`thumbs down`)},icon:_w,className:`translate-feedback-button border border-default`,testId:`translate-feedback-thumbs-down`})})]}),a&&d&&(0,I.jsx)(hw,{open:!0,onClose:h,onSubmit:g,feedbackFormUrl:d,iframeTitle:f})]})}function yw({videoId:e,className:t,testId:n=`youtube-player-test-id`,onPlay:r,onPause:i,onPlayerReady:a,shouldPause:o=!1}){let s=(0,L.useRef)(null),c=(0,L.useRef)(null),l=(0,L.useRef)(0),u=(0,L.useRef)(null),d=(0,L.useRef)(``),f=(0,L.useRef)(r),p=(0,L.useRef)(i),m=(0,L.useRef)(a);return(0,L.useEffect)(()=>{f.current=r,p.current=i,m.current=a},[r,i,a]),(0,L.useEffect)(()=>{if(!_||!e||c.current&&d.current===e)return;if(c.current&&d.current!==e){try{c.current.destroy()}catch(e){console.log(`Error destroying previous player:`,e)}c.current=null}d.current=e,l.current=0;let t=()=>{if(!s.current){l.current<5?(l.current+=1,u.current=setTimeout(()=>{t()},200)):console.warn(`YoutubePlayer: iframe ref not available after retries`);return}if(!window.YT||!window.YT.Player){l.current<5?(l.current+=1,u.current=setTimeout(()=>{t()},200)):console.warn(`YoutubePlayer: YouTube API not available after retries`);return}try{c.current?.destroy&&c.current.destroy(),c.current=new window.YT.Player(s.current,{videoId:e,playerVars:{enablejsapi:1,mute:1,rel:0,modestbranding:1,playsinline:1},events:{onReady:e=>{m.current?.(e.target)},onError:e=>{console.error(`YoutubePlayer error:`,e.data)},onStateChange:e=>{window.YT&&(e.data===window.YT.PlayerState.PLAYING?f.current?.():(e.data===window.YT.PlayerState.PAUSED||e.data===window.YT.PlayerState.ENDED)&&p.current?.())}}})}catch(e){console.error(`YoutubePlayer initialization error:`,e),l.current<3&&(l.current+=1,u.current=setTimeout(()=>{t()},500))}};if(window.YT)u.current=setTimeout(()=>{t()},100);else{if(!document.querySelector(`script[src="https://www.youtube.com/iframe_api"]`)){let e=document.createElement(`script`);e.src=`https://www.youtube.com/iframe_api`,e.async=!0,document.body.appendChild(e)}let e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{e&&typeof e==`function`&&e(),t()},window.YT&&`Player`in window.YT&&t()}return()=>{if(u.current&&clearTimeout(u.current),c.current?.destroy)try{c.current.destroy()}catch(e){console.log(`Error destroying player on cleanup:`,e)}}},[e]),(0,L.useEffect)(()=>{c.current&&o&&c.current.pauseVideo()},[o]),(0,I.jsx)(`div`,{className:F(`aspect-video w-full`,t),"data-testid":n,children:(0,I.jsx)(`div`,{ref:s,title:`YouTube video player`,className:`w-full h-full`,"data-testid":`youtube-iframe`})})}var bw=Sv.default.default??Sv.default;function xw({arrows:e,autoplay:t=!1,autoplaySpeed:n,className:r,children:i,cssEase:a=`ease-in-out`,dots:o=!1,easing:s,fade:c=!1,infinite:l=!1,responsive:u=[],showScrollbar:d=!0,showGradient:f=!0,slidesToShow:p,slidesToScroll:m=1,speed:h,swipe:g=!0,swipeToSlide:_=!0,testId:v=`carousel-wrapper-test-id`}){let y={infinite:l,fade:c,swipe:g,speed:h??300,slidesToShow:p,slidesToScroll:m,autoplay:t,waitForAnimate:!0,arrows:e,dots:o,responsive:u,easing:s,swipeToSlide:_,cssEase:a,autoplaySpeed:n,adaptiveHeight:!1,variableWidth:!0,prevArrow:(0,I.jsx)(xv,{showGradient:f}),nextArrow:(0,I.jsx)(bv,{showGradient:f,slideToShow:p})};if(i)return(0,I.jsx)(`div`,{"data-testid":v,className:r,children:(0,I.jsx)(S,{children:(0,I.jsx)(bw,{...y,className:F(`carousel-wrapper`,!d&&`no-scrollbar`),"data-testid":v,children:i})})})}function Sw({videoData:e,testId:t=`video-blog-block-test-id`,className:n}){let r=wb,i=(0,L.useRef)(null),a=(0,L.useRef)(null),o=(0,L.useRef)(null),s=(0,L.useRef)(null),c=(0,L.useRef)(null),[l,u]=(0,L.use
20State)(),d=(0,L.useRef)(!1),f=(0,L.useRef)(!1),[p,m]=(0,L.useState)(()=>e.length>0&&e[0].videoId?e[0].videoId:``),[h,g]=(0,L.useState)(!1),[v,y]=(0,L.useState)(!1),[b,x]=(0,L.useState)(!1),[S,C]=(0,L.useState)(!1),[w,T]=(0,L.useState)(!1),[E,D]=(0,L.useState)(Number),O=(0,L.useCallback)(()=>{if(o.current)try{let e=o.current.getPlayerState(),t=e===1;D(e),t!==v&&y(t),t&&y(t),b&&(C(!0),t&&(T(!1),d.current=!1))}catch(e){console.log(`Error checking video state:`,e)}},[v,b,o.current]);(0,L.useEffect)(()=>(b&&o.current?c.current=setInterval(O,1e3):c.current&&clearInterval(c.current),()=>{c.current&&clearInterval(c.current)}),[b,O]);let k=(0,L.useCallback)(()=>{if(d.current||!i.current||!a.current||!S||w)return;let e=i.current.closest(`.video-blog-carousel`);if(!e)return;let t=e.getBoundingClientRect().bottom<-50;t&&E===1?g(!0):!t&&h&&g(!1),A()&&g(!1)},[h,S,w,E]),A=()=>{let e=document.querySelector(`.footer-main-container`);if(!e)return;let t=e.getBoundingClientRect();return t.top<window.innerHeight&&t.bottom>=0};if((0,L.useEffect)(()=>{if(!_)return;window.addEventListener(`scroll`,k,{passive:!0});let e=s.current;return()=>{window.removeEventListener(`scroll`,k),e&&clearTimeout(e)}},[k]),e.length===0)return(0,I.jsx)(`div`,{"data-testid":`empty-${t}`});let ee=e=>{d.current=!1,m(e),x(!0),T(!1),setTimeout(()=>{y(!0),C(!0)},2e3),f.current=!0},te=()=>{d.current=!1,x(!0),y(!0),C(!0),T(!1)},ne=()=>{y(!1)},re=e=>{if(u(e),e&&(o.current=e,f.current))try{typeof e.playVideo==`function`&&typeof e.getPlayerState==`function`&&setTimeout(()=>{try{typeof e.playVideo==`function`&&(e.playVideo(),f.current=!1)}catch(e){j(cS.ERROR,`Error playing video:`,{error:e})}if(typeof e.getPlayerState==`function`){let t=e.getPlayerState();(t===1||t===5)&&typeof e.isMuted==`function`&&e.isMuted()&&typeof e.unMute==`function`&&e.unMute()}},100)}catch(e){j(cS.ERROR,`Error checking player state for autoplay:`,{error:e})}},ie=()=>{if(l&&typeof l.pauseVideo==`function`&&l.pauseVideo(),d.current=!0,T(!0),g(!1),o.current)try{o.current.pauseVideo()}catch(e){console.log(`Error pausing video:`,e)}},ae=()=>{h||(d.current=!1),x(!0),T(!1),C(!0)},oe=t=>R(e)?e.map((e,n)=>{let i=r?`${r}${e.thumbnail}`:e.thumbnail;return(0,I.jsx)(Cw,{id:e.videoId,uniqueId:n,name:e.videoTitle??`Video ${n+1}`,thumbnail:i,poster:i,description:``,duration:0,formattedTime:``,className:F(`mobile:p-08 tablet:pb-16 desktop:p-16`,t),isPlaying:p===e.videoId,showPlayIcon:!0,onClickHandler:ee},`${e.videoId}-${n}`)}):null,se=e.length>1;return(0,I.jsxs)(`div`,{className:F(`video-blog-carousel`,n),"data-testid":t,children:[(0,I.jsx)(`div`,{ref:i,className:F(`pb-16`,h&&`aspect-video w-full bg-gray-100`),children:(0,I.jsxs)(`div`,{ref:a,className:F(``,h?`fixed top-100 mobile:right-16 tablet:right-24 desktop:right-32 z-50 mobile:w-253 tablet:w-353 desktop:w-379`:`aspect-video w-full`),role:`button`,tabIndex:0,onClick:ae,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&ae()},children:[h&&(0,I.jsx)(`div`,{className:`absolute -top-40 w-full bg-neutral-90 h-40 text-white flex items-center justify-end text-sm pr-10`,children:(0,I.jsxs)(`button`,{onClick:ie,className:`flex font-primary-semi-bold items-center gap-04`,"aria-label":`Close sticky video`,children:[(0,I.jsx)(`span`,{children:`Close`}),(0,I.jsx)(X,{iconName:M.NAV_CROSS,className:`icon-inverse`,iconWidth:N.SMALL})]})}),p&&(0,I.jsx)(yw,{videoId:p,className:`w-full h-full`,onPlay:te,onPause:ne,onPlayerReady:re},`youtube-player-${p}`)]})}),se&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`div`,{className:F(`hidden desktop:block mb-32`),children:(0,I.jsx)(xw,{className:`h-max video-blog-carousel custom-liveblog-carousel`,slidesToShow:3,showScrollbar:!0,swipe:!1,children:oe(`h-full`)})}),(0,I.jsx)(`div`,{className:F(`pl-16 tablet:p-00 desktop:p-00 blog-video-thumbnail flex desktop:hidden overflow-y-clip overflow-x-auto h-max mobile:mb-16 tablet:mb-24 desktop:mt-16 desktop:mb-32 pb-08`),children:oe(``)})]})]})}function Cw({isPlaying:e=!1,id:t,uniqueId:n,testId:r=`video-thumbnail-test-id`,className:i,thumbnail:a,formattedTime:o,name:s,onClickHandler:c,showPlayIcon:l=!1}){return t?(0,I.jsxs)(`button`,{"data-testid":r,className:F(`video-thumbnail`,e&&`layer-selected`,i),onClick:e=>{e.preventDefault(),c&&c(t)},"aria-label":`videothumbnail button for ${s}`,children:[(0,I.jsxs)(`div`,{className:`relative self-stretch layer-disabled`,children:[(0,I.jsx)(`img`,{src:a,alt:s}),(0,I.jsxs)(`div`,{className:`video-thumbnail-overlay`,children:[l&&!e&&(0,I.jsx)(X,{iconName:M.MULTIMEDIA_PLAY,className:`icon-inverse`}),(0,I.jsx)(Pn,{type:En.CAPTION,size:B.BASELINE,weight:V.FORTY,className:`text-on-primary pt-04`,children:o})]})]}),(0,I.jsxs)(`div`,{className:`flex flex-col`,children:[(0,I.jsx)(G,{type:H.SUBHEADLINE,size:B.SM,weight:V.FORTY,className:`text-primary py-16 desktop:pb:00`,children:s}),e&&(0,I.jsxs)(`div`,{className:`flex flex-row gap-04 items-center -ml-04`,children:[(0,I.jsx)(X,{iconName:M.MULTIMEDIA_PLAY,iconWidth:N.SMALL,className:`icon-tertiary`}),(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.FORTY,className:`text-tertiary pt-04`,children:`Now playing`})]})]})]},n):(0,I.jsx)(I.Fragment,{})}var ww=function(e){return e.INDEX=``,e.LISTING=`listing`,e.ARTICLE=`1`,e.ARTICLE_VIRTUAL_PV=`article`,e.ARTICLE_VIDEO=`video`,e.PHOTO=`2`,e.VIDEO=`3`,e.LIVE_BLOG=`live blog`,e}({}),Tw=function(e){return e[e.ANONYMOUS=1]=`ANONYMOUS`,e[e.SUBSCRIBER=2]=`SUBSCRIBER`,e[e.REGIST
20ERED=3]=`REGISTERED`,e[e.SPH_ANONYMOUS=4]=`SPH_ANONYMOUS`,e[e.LITE=5]=`LITE`,e[e.FREE_TRIAL=6]=`FREE_TRIAL`,e[e.IN_APP_PURCHASE=7]=`IN_APP_PURCHASE`,e[e.CORP_MOE=8]=`CORP_MOE`,e[e.CORP_MOE_POLY=9]=`CORP_MOE_POLY`,e[e.CORP_MOE_ITE=10]=`CORP_MOE_ITE`,e[e.AGENCY_HEADS=11]=`AGENCY_HEADS`,e[e.VERIFIED_REG=12]=`VERIFIED_REG`,e[e.NON_VERIFIED_REG=13]=`NON_VERIFIED_REG`,e[e.CORP_MHA=14]=`CORP_MHA`,e[e.GEN_G_SUBSCRIBER=15]=`GEN_G_SUBSCRIBER`,e}({}),Ew=function(e){return e.ARCHIVAL=`archival`,e.ST2=`st2`,e}({});function Dw(e){let[t,n]=(0,L.useState)(!1);(0,L.useEffect)(()=>{if(n(!0),window._data!==void 0){let e=mn(`visitorcat`),t=mn(`mysphw`);e!=null&&t!=null&&(window._data.visitorcat=e,window._data.at=t);let n=mn(`svc`);n!=null&&(window._data.svc=n)}},[]);let r=Rt(e=>e.userInfo),{articleid:i=``,author:a=``,chapter1:o=``,chapter2:s=``,chapter3:c=``,contentcat:l=Vt.FREE,contenttype:u=``,keyword:d=``,level2:f=``,pagination:p=`1`,pubdate:m=``,story_threads:h=``,title:g=``,title_ga:_=``,article_source:v=``,follow_authors:y=``,user_keyword:b=``}=e,x=t?e.at??r?.mysphw??``:e.at??``,S=t?e.visitorcat??(r?.usertype===Ft.SUBSCRIBER?2:1):e.visitorcat??1,C=t?mn(`visitorcat`):void 0,w=t?mn(`mysphw`):void 0,T=t?mn(`svc`):void 0;return(0,I.jsx)(`script`,{id:`ga_data_layer`,children:` 21 var _data = {}; 22 _data = { 23 "articleid" : "${i}", 24 "cue_articleid" : "${v===`st-drupal-node`?``:i}", 25 "at" : "${x}", 26 "author" : "${a}", 27 "chapter1" : "${o}", 28 "chapter2" : "${s}", 29 "chapter3" : "${c}", 30 "contentcat" : "${l}", 31 "contenttype" : "${u}", 32 "keyword" : "${d}", 33 "article_source" : "${v}", 34 "level2" : "${f}", 35 "pagination" : "${p}", 36 "pubdate" : "${m}", 37 "story_threads" : "${h}", 38 "title" : "${g}", 39 "title_ga" : "${_}", 40 "visitorcat" : "${S}", 41 "abVariant" : "ST-DEFAULT", 42 "articlecount" : "0", 43 "cd_version" : "${v===`st-drupal-node`?`archival`:`st2`}", 44 "follow_authors" : "${y}", 45 "user_keyword" : "${b}", 46 }; 47 var isArticlePage = false; 48 if (typeof _data != "undefined" && typeof _data.articleid != "undefined" && _data.articleid != "") { 49 isArticlePage = true; 50 } 51 if (typeof getCookieValue === 'function') { 52 53 if(${C} != undefined && ${w} != undefined) { 54 var visitorcat = ${C}; 55 _data.visitorcat = visitorcat; 56 _data.at = ${w}; 57 } 58 59 if(${T} != undefined) { 60 var svc = ${T}; 61 _data.svc = svc; 62 } 63 } 64 `})}function Ow(e){if(_){let{at:t,visitorcat:n}=window._data;if(window._data={articleid:e.articleid,cue_articleid:e.article_source===`st-drupal-node`?``:e.articleid,at:t,author:e.author,chapter1:e.chapter1||``,chapter2:e.chapter2||``,chapter3:e.chapter3||``,contentcat:e.contentcat||Vt.FREE,contenttype:e.contenttype,keyword:e.keyword,article_source:e.article_source,level2:e.level2,pagination:e.pagination||`1`,pubdate:e.pubdate,story_threads:e.story_threads||``,title:e.title||``,title_ga:e.title_ga||``,visitorcat:n,abVariant:e.abVariant||`ST-DEFAULT`,abVariant_user:e.abVariant_user||`ST-DEFAULT`,articlecount:`0`,cd_version:e.article_source===`st-drupal-node`?Ew.ARCHIVAL:Ew.ST2,follow_authors:e.follow_authors||``,user_keyword:e.user_keyword||``},window._data!==void 0&&window._data.articleid!==void 0&&window._data.articleid!=``&&(window.isArticlePage=!0),mn(`visitorcat`)!=null&&mn(`mysphw`)!=null){let e=mn(`visitorcat`);window._data.visitorcat=e||void 0,window._data.at=mn(`mysphw`)||``}if(mn(`svc`)!=null){let e=mn(`svc`);window._data.svc=e||``}}}function kw({src:e,title:t,embedPathAmends:n,className:r,testId:i=`facebook-embed-test-id`}){let[a,o]=Pr(e,n),s=Aw[o],[c,l]=(0,L.useState)(!!s),[u,d]=(0,L.useState)(!0);if((0,L.useEffect)(()=>{s&&Rv(s.script).then(()=>{s.callback&&s.callback(),l(!1)}).catch(()=>{l(!1),d(!1),j(le.ERROR,`Error loading the embed script`)})},[s]),!e||e===``||!u)return;let f=e.includes(`videos`)?`fb-video`:`fb-post`;return(0,I.jsx)(`div`,{className:F(`facebook-container`,c&&`loading-embed-script`,r),"data-testid":i,children:(0,I.jsx)(`div`,{title:t,className:F(`responsive-iframe-base`,f),"data-href":e,"data-show-text":`true`})})}var Aw={[Dr.FACEBOOK]:{script:h,callback:()=>{window.FB.XFBML.parse()}}},jw={conversation:`none`,align:`center`};function Mw({src:e,embedPathAmends:t,className:n,options:r=jw,testId:i=`twitter-embed-test-id`}
64){let[a]=Pr(e,t),o=(0,L.useRef)(null),[s,c]=(0,L.useState)(!0),[l,d]=(0,L.useState)(!0),f=a.split(`/`).pop();if((0,L.useEffect)(()=>{if(!f)return;let e;return Rv(u,!0).then(()=>{if(o.current&&!e)return o.current.childElementCount&&(o.current.replaceChildren(),c(!0)),window.twttr.widgets.createTweet(f,o.current,r).then(()=>{c(!1)}),!0}).catch(e=>{j(le.ERROR,`TwitterEmbed: An error occured :: ${e}`),d(!1)}),()=>{e=!0}},[f,r]),!(!e||e===``||!l))return(0,I.jsx)(`div`,{title:`twitter embed`,ref:o,className:F(`twitter-embed`,s&&`twitter-loading`,n),"data-testid":i})}function Nw({element:e,className:t,testId:n=`social-media-embed-test-id`}){if(e===void 0||e.url===``)return;let r=on(e.url),i=Ar(r),a=e.height?parseInt(e.height,10):void 0,o={title:`${i} embed`,src:e.url,loading:`eager`,className:`${Fw(i,r)} ${i}-embed`,autoplay:!1,srcHeight:Pw(i,r,a)};return(0,I.jsx)(`div`,{className:F(`inline-embed-container`,t),"data-testid":n,children:Iw(i,o)})}var Pw=(e,t,n)=>{switch(e){case Dr.PODCAST:return t?.pathname.includes(`playlists`)?500:180;case Dr.ST_VISUALS:case Dr.NONE:return n;default:return}},Fw=(e,t)=>{switch(e){case Dr.PODCAST:return`aspect-landscape`;case Dr.VIMEO:case Dr.YOUTUBE:return t?.pathname.includes(`shorts`)?`aspect-portrait shorts`:`aspect-video`;default:return``}},Iw=(e,t)=>{switch(e){case Dr.FACEBOOK:return(0,I.jsx)(kw,{...t});case Dr.TWITTER:return(0,I.jsx)(Mw,{...t});default:return(0,I.jsx)(Vv,{...t,embedPathAmends:{"www.instagram.com":`captioned/`}})}},Lw=`top-stories`,Rw=`Other categories`,zw=`There are no other categories available at the moment, check back later.`,Bw=`stories-card`,Vw=1e4,Hw={REGULAR:`default`,CHARTBEAT_BY_CONCURRENTS:`chartbeatByConcurrents`,CHARTBEAT_BY_ENGAGED_PAGE_VIEWS:`chartbeatByEngagedPageViews`},Uw=`contentRecommendation`,Ww=`gaVariant`,Gw={DEFAULT:`default`,RELATED_ENGAGED_PAGEVIEWS:`related`,RELATED_CONCURRENTS:`relatedConcurrents`},Kw=`ctrTopStories`,qw={CONCURRENTS:`concurrents`,ENGAGED_PAGE_VIEWS:`engaged_page_views`};Hw.CHARTBEAT_BY_CONCURRENTS,qw.CONCURRENTS,Hw.CHARTBEAT_BY_ENGAGED_PAGE_VIEWS,qw.ENGAGED_PAGE_VIEWS;var Jw=(0,L.createContext)({widgetData:[],topStoriesData:[]}),Yw=(0,L.createContext)({carrouselData:[]}),Xw=`suid`,Zw=()=>Xt.get(Xw)||void 0,Qw=e=>{Ow({...window._data,abVariant:e,abVariant_user:e}),googletag.cmd.push(function(){googletag.setConfig({targeting:{abvariant:e}})})};function $w(){return`; path=/; SameSite=Lax${typeof window<`u`&&window.location.protocol===`https:`?`; Secure`:``}`}function eT(e,t,n){if(typeof window>`u`)return;let r=n?`; max-age=${n*24*60*60}`:``;window.document.cookie=`${encodeURIComponent(e)}=${encodeURIComponent(t)}${r}${$w()}`}function tT(e){if(typeof window>`u`)return;let t=window.document.cookie.split(`; `).find(t=>t.startsWith(`${encodeURIComponent(e)}=`));if(t)return decodeURIComponent(t.split(`=`)[1])}function nT(){if(typeof window.crypto.randomUUID==`function`)return window.crypto.randomUUID();let e=window.crypto.getRandomValues(new Uint8Array(16));e[6]=e[6]&15|64,e[8]=e[8]&63|128;let t=Array.from(e,e=>e.toString(16).padStart(2,`0`));return`${t.slice(0,4).join(``)}-${t.slice(4,6).join(``)}-${t.slice(6,8).join(``)}-${t.slice(8,10).join(``)}-${t.slice(10,16).join(``)}`}var rT=()=>{typeof window>`u`||tT(`unique_vwo_user_id`)||eT(By,nT(),365)},iT=()=>{if(!(typeof window>`u`))return tT(By)},aT=e=>e||(rT(),iT()),oT=r(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof e==`object`?e.vwoSdk=r():n.vwoSdk=r()})(e,(()=>(()=>{var e={11:function(e,t,n){var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!(`get`in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)}
64,function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n=r(e),o=0;o<n.length;o++)n[o]!=="default"&&i(t,e,n[o]);return a(t,e),t}),s=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},c=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGetCall=function(e,t){return v(l.HttpMethodEnum.GET,e,t)},t.sendPostCall=function(e,t){return v(l.HttpMethodEnum.POST,e,t)};var l=n(8202),u=n(8667),d=n(8754),f=n(7128),p=n(9693),m=n(5573),h=null,g=null;function _(e){return s(this,void 0,void 0,(function(){var t=this;return c(this,(function(r){return h?[2,h]:(g||=s(t,void 0,void 0,(function(){var t,r,i;return c(this,(function(a){switch(a.label){case 0:if(typeof fetch<`u`)return e.debug((0,d.buildMessage)(f.DebugLogMessagesEnum.USING_API_WITH_PROCESS,{api:`Global fetch`,process:`undefined`})),h=fetch,[2,fetch];a.label=1;case 1:return a.trys.push([1,3,,4]),e.debug((0,d.buildMessage)(f.DebugLogMessagesEnum.USING_API_WITH_PROCESS,{api:`Node-fetch`,process:`undefined`})),[4,Promise.resolve(`node-fetch`).then((function(e){return o(n(6306)(e))}))];case 2:return t=a.sent(),r=t.default||t,h=r,[2,r];case 3:return i=a.sent(),e.error((0,d.buildMessage)(f.ErrorLogMessagesEnum.ERROR_INITIALIZING_FETCH,{error:(0,u.getFormattedErrorMessage)(i)})),[3,4];case 4:return[2]}}
64))})),[2,g])}))}))}function v(e,t,n){return s(this,void 0,void 0,(function(){var r,i,a,o,s,d,f,h,g,v,y;return c(this,(function(c){switch(c.label){case 0:r=new m.ResponseModel,i=t.getOptions(),a=`${i.scheme}://${i.hostname}${i.path}`,i.port&&(a=`${i.scheme}://${i.hostname}:${i.port}${i.path}`),o=0,c.label=1;case 1:return c.trys.push([1,3,,4]),[4,_(n)];case 2:return s=c.sent(),d=t.getRetryConfig(),f=d.shouldRetry,h=d.maxRetries,e===l.HttpMethodEnum.POST&&(i.body=JSON.stringify(i.body)),g=function(){return new Promise((function(n,c){s(a,i).then((function(i){return i.text().then((function(a){r.setStatusCode(i.status),o>0&&(r.setTotalAttempts(o),r.setError(t.getLastError()));try{e===l.HttpMethodEnum.GET?r.setData(JSON.parse(a)):r.setData(a)}catch(e){r.setError((0,u.getFormattedErrorMessage)(e)),c(r)}i.status===200?n(r):i.status===400?(r.setError((0,u.getFormattedErrorMessage)(i.statusText)),r.setTotalAttempts(o),c(r)):v(`${i.statusText}, status: ${i.status}`,n,c)}))})).catch((function(e){var t=(0,u.getFormattedErrorMessage)(e);e&&e.cause&&(t=`${t} ${e.cause}`),v(t,n,c)}))}))},v=function(e,s,c){var l=String(i.path||a).split(`?`)[0];if(f&&o<h){var m=d.initialDelay*d.backoffMultiplier**+o*1e3;o++,n.errorLog(`ATTEMPTING_RETRY_FOR_FAILED_NETWORK_CALL`,{endPoint:l,err:(0,u.getFormattedErrorMessage)(e),delay:m/1e3,attempt:o,maxRetries:h},{},!1),t.setLastError((0,u.getFormattedErrorMessage)(e)),setTimeout((function(){g().then(s).catch(c)}),m)}else String(i.path).includes(p.EventEnum.DEBUGGER_EVENT)||n.errorLog(`NETWORK_CALL_FAILURE_AFTER_MAX_RETRIES`,{extraData:l,attempts:o,err:(0,u.getFormattedErrorMessage)(e)},{},!1),r.setError((0,u.getFormattedErrorMessage)(e)),r.setTotalAttempts(o),c(r)},[2,g()];case 3:throw y=c.sent(),r.setError((0,u.getFormattedErrorMessage)(y)),r.setTotalAttempts(o),r;case 4:return[2]}}
64))}))}},162:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendImpressionForVariationShownInBatch=t.sendImpressionForVariationShown=void 0;var a=n(8925),o=n(9693),s=n(9181),c=n(9181),l=n(5399),u=n(9315),d=n(7098);t.sendImpressionForVariationShown=function(e,t,n,u,d,f){return r(void 0,void 0,void 0,(function(){var r,p,m,h,g;return i(this,(function(i){switch(i.label){case 0:return r=(0,a.getEventsBaseProperties)(e.getSettingsService(),o.EventEnum.VARIATION_SHOWN,encodeURIComponent(u.getUserAgent()),u.getIpAddress()),p=(0,s.getCampaignKeyFromCampaignId)(e.getSettings(),t),m=(0,c.getVariationNameFromCampaignIdAndVariationId)(e.getSettings(),t,n),h=``,h=d===p?l.Constants.IMPACT_ANALYSIS:p?.split(`${d}_`)[1],g=(0,s.getCampaignTypeFromCampaignId)(e.getSettings(),t),e.getBatchEventsQueue()?(e.getBatchEventsQueue().enqueue(f),[3,3]):[3,1];case 1:return[4,(0,a.sendPostApiRequest)(e,r,f,u.getId(),{},{campaignKey:h,variationName:m,featureKey:d,campaignType:g})];case 2:i.sent(),i.label=3;case 3:return[2]}}
64))}))},t.sendImpressionForVariationShownInBatch=function(e,t){return r(void 0,void 0,void 0,(function(){var n,r,a;return i(this,(function(i){if(e.getBatchEventsQueue())for(n=0,r=t;n<r.length;n++)a=r[n],e.getBatchEventsQueue().enqueue(a);else u.BatchEventsDispatcher.dispatch(e,{ev:t},(function(){}),{a:e.getSettingsService().accountId,env:e.getSettingsService().sdkKey,sn:d.SDKMetaUtil.getInstance().getSdkName(),sv:d.SDKMetaUtil.getInstance().getVersion()});return[2]}))}))}},324:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RuleModel=void 0,t.RuleModel=function(){function e(){}return e.prototype.modelFromDictionary=function(e){return this.type=e.type,this.status=e.status,this.variationId=e.variationId,this.campaignId=e.campaignId,this.ruleKey=e.ruleKey,this},e.prototype.getCampaignId=function(){return this.campaignId},e.prototype.getVariationId=function(){return this.variationId},e.prototype.getStatus=function(){return this.status},e.prototype.getType=function(){return this.type},e.prototype.getRuleKey=function(){return this.ruleKey},e}()},362:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setSettingsAndAddCampaignsToRules=function(e,t,n){t.settings=new r.SettingsModel(e),t.originalSettings=e;var s=t.settings.getCampaigns();s.forEach((function(e,t){(0,i.setVariationAllocation)(e,n),s[t]=e})),(0,a.addLinkedCampaignsToSettings)(t.settings),(0,o.addIsGatewayServiceRequiredFlag)(t.settings)};var r=n(6130),i=n(9181),a=n(8667),o=n(2898)},415:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RequestHandler=void 0,t.RequestHandler=function(){function e(){}return e.prototype.createRequest=function(e,t){if(!(t.getBaseUrl()!==null&&t.getBaseUrl()!==void 0||e.getUrl()!==null&&e.getUrl()!==void 0))return null;e.setUrl(e.getUrl()||t.getBaseUrl()),e.setTimeout(e.getTimeout()||t.getTimeout()),e.setBody(e.getBody()||t.getBody()),e.setHeaders(e.getHeaders()||t.getHeaders());var n=e.getQuery()||{},r=t.getQuery()||{};for(var i in r)Object.prototype.hasOwnProperty.call(n,i)||(n[i]=r[i]);return e.setQuery(n),e},e}()},470:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsService=void 0;var o=n(6710),s=n(4782),c=n(5399),l=n(2346),u=n(8202),d=n(7128),f=n(9846),p=n(8754),m=n(8925),h=n(8205),g=n(8667),_=n(4237),v=n(8792),y=n(1359),b=n(7098);t.SettingsService=function(){function e(e,t){var n,r;if(this.isGatewayServiceProvided=!1,this.settingsFetchTime=void 0,this.isSettingsValid=!1,this.proxyProvided=!1,this.isStorageServiceProvided=!1,this.isEdgeEnvironment=!1,this.isSettingsProvi
64dedInInit=!1,this.startTimeForInit=void 0,this.gatewayServiceConfig={hostname:null,protocol:null,port:null},this.logManager=t,this.sdkKey=e.sdkKey,this.accountId=e.accountId,this.expiry=e?.settings?.expiry||c.Constants.SETTINGS_EXPIRY,this.networkTimeout=e?.settings?.timeout||c.Constants.SETTINGS_TIMEOUT,this.isStorageServiceProvided=e?.isStorageServiceProvided||!1,e!=null&&e.edgeConfig&&Object.keys(e?.edgeConfig).length>0&&(this.isEdgeEnvironment=!0),typeof XMLHttpRequest<`u`&&(this.isGatewayServiceProvided=!0),e?.proxyUrl){this.proxyProvided=!0;var i=void 0;i=e.proxyUrl.startsWith(l.HTTP_PROTOCOL)||e.proxyUrl.startsWith(l.HTTPS_PROTOCOL)?new URL(`${e.proxyUrl}`):new URL(`${l.HTTPS_PROTOCOL}${e.proxyUrl}`),this.hostname=i.hostname,this.protocol=i.protocol.replace(`:`,``),i.port&&(this.port=parseInt(i.port))}e?.gatewayService?.url?(i=void 0,this.isGatewayServiceProvided=!0,i=e.gatewayService.url.startsWith(l.HTTP_PROTOCOL)||e.gatewayService.url.startsWith(l.HTTPS_PROTOCOL)?new URL(`${e.gatewayService.url}`):e.gatewayService?.protocol?new URL(`${e.gatewayService.protocol}://${e.gatewayService.url}`):new URL(`${l.HTTPS_PROTOCOL}${e.gatewayService.url}`),this.proxyProvided?(this.gatewayServiceConfig.hostname=i.hostname,this.gatewayServiceConfig.protocol=i.protocol.replace(`:`,``),i.port?this.gatewayServiceConfig.port=parseInt(i.port):(r=e.gatewayService)!=null&&r.port&&(this.gatewayServiceConfig.port=e.gatewayService.port)):(this.hostname=i.hostname,this.protocol=i.protocol.replace(`:`,``),i.port?this.port=parseInt(i.port):(n=e.gatewayService)!=null&&n.port&&(this.port=e.gatewayService.port))):this.proxyProvided||(this.hostname=c.Constants.HOST_NAME),this.proxyProvided||e?.gatewayService?.url?this.collectionHostname=this.hostname:(this.collectionHostname=c.Constants.COLLECTION_HOST_NAME,this.hostname||=c.Constants.HOST_NAME),this.logManager.debug((0,p.buildMessage)(d.DebugLogMessagesEnum.SERVICE_INITIALIZED,{service:c.Constants.SETTINGS_MANAGER_NAME}))}return e.prototype.injectServiceContainer=function(e){this.serviceContainer=e},e.prototype.isProxyProvided=function(){return this.proxyProvided},e.prototype.getCollectionHostname=function(){return this.collectionHostname},e.prototype.normalizeSettings=function(e){var t=r({},e);return t.features&&Object.keys(t.features).length!==0||(t.features=[]),t.campaigns&&Object.keys(t.campaigns).length!==0||(t.campaigns=[]),t},e.prototype.fetchSettings=function(e,t){var n=this;e===void 0&&(e=!1),t===void 0&&(t=_.ApiEnum.INIT);var r=new s.Deferred;this.sdkKey&&this.accountId||r.reject(Error(`sdkKey is required for fetching account settings. Aborting!`));var i=(0,m.getSettingsPath)(this.sdkKey,this.accountId),a=this.serviceContainer.getNetworkManager().getRetryConfig();i.platform=c.Constants.PLATFORM,i.sn=b.SDKMetaUtil.getInstance().getSdkName(),i.sv=b.SDKMetaUtil.getInstance().getVersion(),i[`api-version`]=c.Constants.API_VERSION,this.serviceContainer.getNetworkManager().getConfig().getDevelopmentMode()||(i.s=`prod`);var l=c.Constants.SETTINGS_ENDPOINT;e&&(l=c.Constants.WEBHOOK_SETTINGS_ENDPOINT);try{var d=Date.now(),f=new o.RequestModel(this.hostname,u.HttpMethodEnum.GET,l,i,null,null,this.protocol,this.port,a);return f.setTimeout(this.networkTimeout),this.serviceContainer.getNetworkManager().get(f).then((function(i){if(n.settingsFetchTime=Date.now()-d,i.getTotalAttempts()>0){var a=(0,m.createNetWorkAndRetryDebugEvent)(i,``,e?_.ApiEnum.UPDATE_SETTINGS:t,l);(0,h.sendDebugEventToWingify)(n.serviceContainer,a)}r.resolve(i.getData())})).catch((function(i){var a=(0,m.createNetWorkAndRetryDebugEvent)(i,``,e?_.ApiEnum.UPDATE_SETTINGS:t,l);(0,h.sendDebugEventToWingify)(n.serviceContainer,a),r.reject(i)})),r.promise}catch(n){return this.logManager.errorLog(`ERROR_FETCHING_SETTINGS`,{err:(0,g.getFormattedErrorMessage)(n)},{an:e?_.ApiEnum.UPDATE_SETTINGS:t},!1),r.reject(n),r.promise}},e.prototype.getSettings=function(){return i(this,void 0,void 0,(function(){var e,t,n,r,i,o;return a(this,(function(a){switch(a.label){case 0:e=new s.Deferred,a.label=1;case 1:return a.trys.push([1,13,,14]),this.isStorageServiceProvided?[4,(t=ne
vendor: 1,543 bytes, line 64
64w v.StorageService(this.serviceContainer)).getSettingsFromStorage(this.accountId,this.sdkKey,!this.isEdgeEnvironment)]:[3,9];case 2:return!(n=a.sent())||(0,y.isEmptyObject)(n)?[3,3]:(this.logManager.info((0,p.buildMessage)(d.InfoLogMessagesEnum.SETTINGS_FETCH_FROM_CACHE)),e.resolve(n),[3,8]);case 3:return this.logManager.info((0,p.buildMessage)(d.InfoLogMessagesEnum.SETTINGS_CACHE_MISS)),[4,this.fetchSettings()];case 4:return r=a.sent(),[4,this.normalizeSettings(r)];case 5:return i=a.sent(),this.isSettingsValid=new f.SettingsSchema().isSettingsValid(i),this.isSettingsValid?(this.logManager.info((0,p.buildMessage)(d.InfoLogMessagesEnum.SETTINGS_FETCH_SUCCESS)),[4,t.setSettingsInStorage(this.accountId,this.sdkKey,i)]):[3,7];case 6:return a.sent(),e.resolve(i),[3,8];case 7:this.logManager.errorLog(`INVALID_SETTINGS_SCHEMA`,{},{an:_.ApiEnum.INIT},!1),e.resolve({}),a.label=8;case 8:return[3,12];case 9:return[4,this.fetchSettings()];case 10:return r=a.sent(),[4,this.normalizeSettings(r)];case 11:i=a.sent(),this.isSettingsValid=new f.SettingsSchema().isSettingsValid(i),this.isSettingsValid?(this.logManager.info((0,p.buildMessage)(d.InfoLogMessagesEnum.SETTINGS_FETCH_SUCCESS)),e.resolve(i)):(this.logManager.errorLog(`INVALID_SETTINGS_SCHEMA`,{},{an:_.ApiEnum.INIT},!1),e.resolve({})),a.label=12;case 12:return[3,14];case 13:return o=a.sent(),this.logManager.errorLog(`ERROR_FETCHING_SETTINGS`,{err:(0,g.getFormattedErrorMessage)(o)},{an:_.ApiEnum.INIT},!1),e.resolve({}),[3,14];case 14:return[2,e.promise]}}))}))},e}()},502:(e,t)=>
64{Object.defineProperty(t,"__esModule",{value:!0}),t.VariableModel=void 0,t.VariableModel=function(){function e(e,t,n,r){this.value=r,this.type=t,this.key=n,this.id=e}return e.modelFromDictionary=function(t){return new e(t.i??t.id,t.type,t.k??t.key,t.val??t.value)},e.prototype.setValue=function(e){this.value=e},e.prototype.setKey=function(e){this.key=e},e.prototype.setType=function(e){this.type=e},e.prototype.getId=function(){return this.id},e.prototype.getValue=function(){return this.value},e.prototype.getType=function(){return this.type},e.prototype.getKey=function(){return this.key},e}()},743:e=>{e.exports=JSON.parse(`{"ON_INIT_ALREADY_RESOLVED":"[INFO]: {logPrefix} {date} {apiName} already resolved","ON_INIT_SETTINGS_FAILED":"[INFO]: {logPrefix} {date} {brand} settings could not be fetched","POLLING_SET_SETTINGS":"There's a change in settings from the last settings fetched. Hence, instantiating a new {brand} client internally","POLLING_NO_CHANGE_IN_SETTINGS":"No change in settings with the last settings fetched. Hence, not instantiating new {brand} client","SETTINGS_FETCH_SUCCESS":"Settings fetched successfully","SETTINGS_FETCH_FROM_CACHE":"Settings retrieved from cache","SETTINGS_BACKGROUND_UPDATE":"Settings asynchronously fetched and cache updated","SETTINGS_CACHE_MISS":"Settings not in cache; fetching from server","SETTINGS_PASSED_IN_INIT_VALID":"Settings passed in init are valid","SETTINGS_CACHE_MISS_KEY_ACCOUNT_ID_MISMATCH":"Cached settings not matches with the provided sdk-key/account-id. Fetching latest settings from the server","SETTINGS_EXPIRED":"Cached settings expired. Fetching latest settings from server","SETTINGS_RETRIEVED_FROM_STORAGE":"Valid settings retrieved from storage","SETTINGS_SUCCESSFULLY_STORED":"Settings successfully stored in storage","SETTINGS_UPDATED_WITH_FRESH_DATA":"Settings updated with latest settings fetched from the server","SETTINGS_USING_CACHED_SETTINGS":"Serving settings from cache because alwaysUseCachedSettings is enabled in the init options","CLIENT_INITIALIZED":"{brand} Client initialized","STORED_VARIATION_FOUND":"Variation {variationKey} found in storage for the user {userId} for the {experimentType} experiment:{experimentKey}","USER_PART_OF_CAMPAIGN":"User ID:{userId} is {notPart} part of experiment:{campaignKey}","SEGMENTATION_SKIP":"For userId:{userId} of experiment:{campaignKey}, segments were missing. Hence, skipping segmentation","SEGMENTATION_STATUS":"Segmentation {status} for userId:{userId} of experiment:{campaignKey}","USER_CAMPAIGN_BUCKET_INFO":"User ID:{userId} for experiment:{campaignKey} {status}","WHITELISTING_SKIP":"Whitelisting is not used for experiment:{campaignKey}, hence skipping evaluating whitelisting {variation} for User ID:{userId}","WHITELISTING_STATUS":"User ID:{userId} for experiment:{campaignKey} {status} whitelisting {variationString}","VARIATION_RANGE_ALLOCATION":"Variation:{variationKey} of experiment:{campaignKey} having weight:{variationWeight} got bucketing range: ({startRange} - {endRange})","IMPACT_ANALYSIS":"Tracking feature:{featureKey} being {status} for Impact Analysis Campaign for the user {userId}","MEG_SKIP_ROLLOUT_EVALUATE_EXPERIMENTS":"No rollout rule found for feature:{featureKey}. Hence, evaluating experiments","MEG_CAMPAIGN_FOUND_IN_STORAGE":"Campaign {campaignKey} found in storage for user ID:{userId}","MEG_CAMPAIGN_ELIGIBLE":"Campaign {campaignKey} is eligible for user ID:{userId}","MEG_WINNER_CAMPAIGN":"MEG: Campaign {campaignKey} is the winner for group {groupId} for user ID:{userId} {algo}","SETTINGS_UPDATED":"Settings fetched and updated successfully on the current {brand} client instance when API: {apiName} got called having isViaWebhook param as {isViaWebhook}","NETWORK_CALL_SUCCESS":"Impression for {event} - {endPoint} was successfully received by {brand} having Account ID:{accountId}, User ID:{userId} and UUID: {uuid}","EVENT_BATCH_DEFAULTS":"{parameter} in SDK configuration is missing or invalid (should be greater than {minLimit}). Using default value: {defaultValue}","EVENT_QUEUE":"Event with payload:{event} pushed to the {queueType} queue","EVENT_BATCH_After_FLUSHING":"Event queue having {length} events has been flushed {manually}","IMPRESSION_BATCH_SUCCESS":"Impression event - {endPoint} was successfully received by {brand} having Account ID:{accountId}","IMPRESSION_BATCH_FAILED":"Batch events could not be received by {brand}. Calling Flush Callback with error and data","EVENT_BATCH_MAX_LIMIT":"{parameter} passed in SDK configuration is greater than the maximum limit of {maxLimit}. Setting it to the maximum limit","GATEWAY_AND_BATCH_EVENTS_CONFIG_MISMATCH":"Batch Events config passed in SDK configuration will not work as the gatewayService is already configured. Please check the documentation for more details","PROXY_URL_SET":"Proxy URL is set and will be used for all network requests","ALIAS_ENABLED":"Aliasing enabled, using {userId} as userId","NETWORK_CALL_SUCCESS_WITH_RETRIES":"Network call for {extraData} succeeded after {attempts} retry attempt(s). Previous attempts failed with error: {err}","ERROR_READING_DATA_FROM_BROWSER_STORAGE":"Error while reading from browser storage. Error: {err}","STORED_HOLDOUT_DECISION_FOUND":"User: {userId} already part of holdout with ID:{holdoutId} for feature: {featureKey}
64","HOLDOUT_SHOULD_EXCLUDE_USER":"User: {userId} ({bucketValue}%) is in holdout: {holdoutGroupName} with targeted traffic percent: {percentTraffic}% for feature ID: {featureId}","USER_IN_HOLDOUT_GROUP":"User: {userId} is in holdout group: {holdoutGroupName} for feature {featureKey}. Feature not evaluated","USER_NOT_EXCLUDED_DUE_TO_HOLDOUT":"User ID:{userId} is not excluded from feature:{featureKey} due to any holdout groups","HOLDOUT_SEGMENTATION_SKIP":"No segments found for holdout: {holdoutId} and user ID: {userId}. Hence skipping segmentation"}`)},973:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.CampaignDecisionService=void 0;var a=n(6775),o=n(5399),s=n(4273),c=n(7128),l=n(1359),u=n(8754);t.CampaignDecisionService=function(){function e(){}return e.prototype.isUserPartOfCampaign=function(e,t,n){if(!t||!e.getId())return!1;var r=e.getId(),i=e.getBucketingSeed()||r,o=t.getType()===s.CampaignTypeEnum.ROLLOUT||t.getType()===s.CampaignTypeEnum.PERSONALIZE,l=o?t.getVariations()[0].getSalt():t.getSalt(),d=o?t.getVariations()[0].getWeight():t.getTraffic(),f=l?`${l}_${i}`:`${t.getId()}_${i}`,p=new a.DecisionMaker().getBucketValueForUser(f),m=p!==0&&p<=d;return n.getLogManager().info((0,u.buildMessage)(c.InfoLogMessagesEnum.USER_PART_OF_CAMPAIGN,{userId:i===r?r:`${r} (Seed: ${i})`,notPart:m?``:`not`,campaignKey:t.getType()===s.CampaignTypeEnum.AB?t.getKey():t.getName()+`_`+t.getRuleKey()})),m},e.prototype.getVariation=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t>=r.getStartRangeVariation()&&t<=r.getEndRangeVariation())return r}return null},e.prototype.checkInRange=function(e,t){if(t>=e.getStartRangeVariation()&&t<=e.getEndRangeVariation())return e},e.prototype.bucketUserToVariation=function(e,t,n,r){var i,s=e.getId(),l=e.getBucketingSeed()||s;if(!n||!l)return null;n.getTraffic()&&(i=1);var d=n.getTraffic(),f=n.getSalt(),p=f?`${f}_${t}_${l}`:`${n.getId()}_${t}_${l}`,m=new a.DecisionMaker().generateHashValue(p),h=new a.DecisionMaker().generateBucketValue(m,o.Constants.MAX_TRAFFIC_VALUE,i);return r.getLogManager().debug((0,u.buildMessage)(c.DebugLogMessagesEnum.USER_BUCKET_TO_VARIATION,{userId:l===s?s:`${s} (Seed: ${l})`,campaignKey:n.getKey(),percentTraffic:d,bucketValue:h,hashValue:m})),this.getVariation(n.getVariations(),h)},e.prototype.getPreSegmentationDecision=function(e,t,n){return r(this,void 0,void 0,(function(){var r,a;return i(this,(function(i){switch(i.label){case 0:return r=e.getType(),a={},r===s.CampaignTypeEnum.ROLLOUT||r===s.CampaignTypeEnum.PERSONALIZE?a=e.getVariations()[0].getSegments():r===s.CampaignTypeEnum.AB&&(a=e.getSegments()),!(0,l.isObject)(a)||Object.keys(a).length?[3,1]:(n.getLogManager().info((0,u.buildMessage)(c.InfoLogMessagesEnum.SEGMENTATION_SKIP,{userId:t.getId(),campaignKey:e.getType()===s.CampaignTypeEnum.AB?e.getKey():e.getName()+`_`+e.getRuleKey()})),[2,!0]);case 1:return[4,n.getSegmentationManager().validateSegmentation(a,t.getCustomVariables())];case 2:return i.sent()?(n.getLogManager().info((0,u.buildMessage)(c.InfoLogMessagesEnum.SEGMENTATION_STATUS,{userId:t.getId(),campaignKey:e.getType()===s.CampaignTypeEnum.AB?e.getKey():e.getName()+`_`+e.getRuleKey(),status:`passed`})),[2,!0]):(n.getLogManager().info((0,u.buildMessage)(c.InfoLogMessagesEnum.SEGMENTATION_STATUS,{userId:t.getId(),campaignKey:e.getType()===s.CampaignTypeEnum.AB?e.getKey():e.getName()+`_`+e.getRuleKey(),status:`failed`})),[2,!1])}}))}))},e.prototype.getVariationAlloted=function(e,t,n,r){var i=this.isUserPartOfCampaign(e,n,r);return n.getType()===s.CampaignTypeEnum.ROLLOUT||n.getType()===s.CampaignTypeEnum.PERSONALIZE?i?n.getVariations()[0]:null:i?this.bucketUserToVariation(e,t,n,r):null},e}()},977:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(
64o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TrackApi=void 0;var a=n(4237),o=n(8667),s=n(8925);t.TrackApi=function(){function e(){}return e.prototype.track=function(e,t,n,s){return r(this,void 0,void 0,(function(){var r,l;return i(this,(function(i){switch(i.label){case 0:return(0,o.doesEventBelongToAnyFeature)(t,e.getSettings())||(0,o.doesEventBelongToAnyHoldout)(t,e.getSettings())?e.getShouldWaitForTrackingCalls()?[4,c(e,t,n,s)]:[3,2]:[3,4];case 1:return i.sent(),[3,3];case 2:c(e,t,n,s),i.label=3;case 3:return e.getHooksService().set({eventName:t,api:a.ApiEnum.TRACK_EVENT}),e.getHooksService().execute(e.getHooksService().get()),[2,(r={},r[t]=!0,r)];case 4:return e.getLogManager().errorLog(`EVENT_NOT_FOUND`,{eventName:t},{an:a.ApiEnum.TRACK_EVENT,uuid:n.getUuid(),sId:n.getSessionId()}),[2,(l={},l[t]=!1,l)]}}))}))},e}();var c=function(e,t,n,a){return r(void 0,void 0,void 0,(function(){var r,o,c,l,u;return i(this,(function(i){switch(i.label){case 0:return r=!0===((u=(e?.getSettings)?.call(e))?.getDevMode)?.call(u),o=!0===(n?.getIsDevMode)?.call(n),r&&o?[2]:(c=(0,s.getEventsBaseProperties)(e.getSettingsService(),t,encodeURIComponent(n.getUserAgent()),n.getIpAddress()),l=(0,s.getTrackGoalPayloadData)(e,t,a,n),e.getBatchEventsQueue()?(e.getBatchEventsQueue().enqueue(l),[3,3]):[3,1]);case 1:return[4,(0,s.sendPostApiRequest)(e,c,l,n.getId(),a)];case 2:i.sent(),i.label=3;case 3:return[2]}}
64))}))}},1114:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendSdkInitEvent=function(e,t,n){return r(this,void 0,void 0,(function(){var r,s;return i(this,(function(i){switch(i.label){case 0:return r=(0,a.getEventsBaseProperties)(n.getSettingsService(),o.EventEnum.INIT_CALLED),s=(0,a.getSDKInitEventPayload)(n.getSettingsService(),o.EventEnum.INIT_CALLED,e,t),n.getBatchEventsQueue()?(n.getBatchEventsQueue().enqueue(s),[3,3]):[3,1];case 1:return[4,(0,a.sendEvent)(n,r,s,o.EventEnum.INIT_CALLED).catch((function(){}))];case 2:i.sent(),i.label=3;case 3:return[2]}}
64))}))},t.sendSDKUsageStatsEvent=function(e,t,n){return r(this,void 0,void 0,(function(){var r,s;return i(this,(function(i){switch(i.label){case 0:return r=(0,a.getEventsBaseProperties)(t.getSettingsService(),o.EventEnum.USAGE_STATS,null,null,!0,e),s=(0,a.getSDKUsageStatsEventPayload)(t.getSettingsService(),o.EventEnum.USAGE_STATS,e,n),t.getBatchEventsQueue()?(t.getBatchEventsQueue().enqueue(s),[3,3]):[3,1];case 1:return[4,(0,a.sendEvent)(t,r,s,o.EventEnum.USAGE_STATS).catch((function(){}))];case 2:i.sent(),i.label=3;case 3:return[2]}}))}))};var a=n(8925),o=n(9693)},1172:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StorageEnum=void 0,function(e){e[e.STORAGE_UNDEFINED=0]=`STORAGE_UNDEFINED`,e[e.INCORRECT_DATA=1]=`INCORRECT_DATA`,e[e.NO_DATA_FOUND=2]=`NO_DATA_FOUND`,e[e.CAMPAIGN_PAUSED=3]=`CAMPAIGN_PAUSED`,e[e.VARIATION_NOT_FOUND=4]=`VARIATION_NOT_FOUND`,e[e.WHITELISTED_VARIATION=5]=`WHITELISTED_VARIATION`}(n||(t.StorageEnum=n={}))},1263:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkServerLessClient=void 0;var r=n(11),i=n(4782);t.NetworkServerLessClient=function(){function e(e){this.logManager=e}return e.prototype.GET=function(e){var t=new i.Deferred;return(0,r.sendGetCall)(e,this.logManager).then((function(e){t.resolve(e)})).catch((function(e){t.reject(e)})),t.promise},e.prototype.POST=function(e){var t=new i.Deferred;return(0,r.sendPostCall)(e,this.logManager).then((function(e){t.resolve(e)})).catch((function(e){t.reject(e)})),t.promise},e}()},1274:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);function n(){this.constructor=e}r(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserStorageConnector=void 0;var a=n(5399),o=n(4782),s=n(1359),c=n(8667);t.BrowserStorageConnector=function(e){function t(t,n,r){var i=e.call(this)||this;return i.SETTINGS_KEY=a.Constants.DEFAULT_SETTINGS_STORAGE_KEY,i.storageKey=t?.key||n,i.logManager=r,i.storage=t?.provider||window.localStorage,i.isDisabled=t?.isDisabled||!1,i.alwaysUseCachedSettings=t?.alwaysUseCachedSettings||!1,!(0,s.isNumber)(t?.ttl)||t.ttl<a.Constants.MIN_TTL_MS?(i.logManager.debug(`TTL is not passed or invalid (less than 1 minute), using default value of 2 hours`),i.ttl=a.Constants.SETTINGS_TTL):i.ttl=t?.ttl||a.Constants.SETTINGS_TTL,(0,s.isBoolean)(t?.alwaysUseCachedSettings)?i.alwaysUseCachedSettings=t?.alwaysUseCachedSettings||!1:(i.logManager.debug(`AlwaysUseCachedSettings is not passed or invalid, using default value of false`),i.alwaysUseCachedSettings=!1),i}return i(t,e),t.prototype.getStoredData=function(){if(this.isDisabled)return{};try{var e=this.storage.getItem(this.storageKey);return e?JSON.parse(e):{}}catch(e){return this.logManager.errorLog(`ERROR_READING_DATA_FROM_BROWSER_STORAGE`,{err:(0,c.getFormattedErrorMessage)(e)},{an:a.Constants.STORAGE}),{}}},t.prototype.storeData=function(e){if(!this.isDisabled)try{var t=JSON.stringify(e);this.storage.setItem(this.storageKey,t)}catch(e){this.logManager.errorLog(`ERROR_STORING_DATA_IN_BROWSER_STORAGE`,{err:(0,c.getFormattedErrorMessage)(e)},{an:a.Constants.STORAGE})}},t.prototype.set=function(e){var t=new o.Deferred;if(this.isDisabled)t.resolve();else try{var n=this.getStoredData(),r=`${e.featureKey}_${e.userId}`;n[r]=e,this.storeData(n),this.logManager.info(`Stored data in storage for key: ${r}`),t.resolve()}catch(e){this.logManager.errorLog(`ERROR_STORING_DATA_IN_BROWSER_STORAGE`,{err:(0,c.getFormattedErrorMessage)(e)},{an:a.Constants.STORAGE}),t.reject(e)}return t.promise},t.prototype.get=function(e,t){var n=new o.Deferred;if(this.isDisabled)n.resolve({});else try{var r=this.getStoredData(),i=`${e}_${t}`,s=r[i]??{};this.logManager.info(`Retrieved data from storage for key: ${i}`),n.resolve(s)}catch(e){this.logManager.errorLog(`ERROR_READING_DATA_FROM_BROWSER_STORAGE`,{err:(0,c.getFormattedErrorMessage)(e)},{an:a.Constants.STORAGE}),n.resolve({})}return n.promise},t.prototype.getSettings=function(e,t){var n=new o.Deferred;if(this.isDisabled)n.resolve({});else try{var r=this.getStoredData()[this.SETTINGS_KEY];if(r&&r.settings&&r.settings.sdkKey)try{r.settings.sdkKey=atob(r.settings.sdkKey)}catch(e){this.logManager.errorLog(`ERROR_DECODING_SDK_KEY_FROM_STORAGE`,{err:(0,c.getFormattedErrorMessage)(e)},{an:a.Constants.STORAGE})}n.resolve(r)}catch{n.resolve({})}return n.promise},t.prototype.setSettings=function(e){var t=new o.Deferred;if(this.isDisabled)t.resolve();else try{var n=this.getStoredData();e.settings&&e.settings.sdkKey&&(e.settings.sdkKey=btoa(e.settings.sdkKey)),n[this.SETTINGS_KEY]=e,this.storeData(n),t.resolve()}catch(e){t.reject(e)}return t.promise},t}(n(5030).Connector)},1359:(e,t)=>{function n(e){return Object.prototype.toString.call(e)===`[object Object]`}function r(e){return Object.prototype.toString.call(e)===`[object Array]`}function i(e){return Object.prototype.toString.call(e)===`[object Null]`}function a(e){return Object.prototype.toString.call(e)===`[object Undef
64ined]`}function o(e){return Object.prototype.toString.call(e)===`[object Number]`}function s(e){return Object.prototype.toString.call(e)===`[object String]`}function c(e){return Object.prototype.toString.call(e)===`[object Boolean]`}function l(e){return Object.prototype.toString.call(e)===`[object Function]`}function u(e){return Object.prototype.toString.call(e)===`[object Promise]`}Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=n,t.isEmptyObject=function(e){return n(e)&&Object.keys(e).length===0},t.isArray=r,t.isNull=i,t.isUndefined=a,t.isNumber=o,t.isString=s,t.isBoolean=c,t.isFunction=l,t.isPromise=u,t.getType=function(e){return n(e)?`Object`:r(e)?`Array`:i(e)?`Null`:a(e)?`Undefined`:o(e)?`Number`:s(e)?`String`:c(e)?`Boolean`:l(e)?`Function`:u(e)?`Promise`:`Unknown Type`}},1488:e=>{e.exports=JSON.parse(`{"INVALID_OPTIONS":"Options should be of type:object","INVALID_SDK_KEY_IN_OPTIONS":"SDK Key is required in the options and should be of type:string","INVALID_ACCOUNT_ID_IN_OPTIONS":"Account ID is required in the options and should be of type:string|number","INVALID_POLLING_CONFIGURATION":"Invalid key:{key} passed in options. Should be of type:{correctType} and greater than equal to 1000","ERROR_FETCHING_SETTINGS":"Settings could not be fetched. Error:{err}","ERROR_FETCHING_SETTINGS_WITH_POLLING":"Settings could not be fetched with polling. Error:{err}","UPDATING_CLIENT_INSTANCE_FAILED_WHEN_WEBHOOK_TRIGGERED":"Failed to fetch settings. {brand} client instance couldn't be updated. API:{apiName} called having isViaWebhook:{isViaWebhook}. Error: {err}","INVALID_SETTINGS_SCHEMA":"Settings are not valid. Failed schema validation","EXECUTION_FAILED":"API - {apiName} failed to execute. Error:{err}","INVALID_PARAM":"Key:{key} passed to API:{apiName} is not of valid type. Got type:{type}, should be:{correctType}","INVALID_CONTEXT_PASSED":"Context should be of type:object and must contain a mandatory key: id, which is User ID","FEATURE_NOT_FOUND":"Feature not found for the key:{featureKey}","FEATURE_NOT_FOUND_WITH_ID":"Feature not found for the id:{featureId}","EVENT_NOT_FOUND":"Event:{eventName} not found in any of the features
vendor: 3,900 bytes, line 64
64' metrics","ERROR_READING_STORED_DATA_IN_STORAGE":"Error reading data from storage. Error:{err}","ERROR_STORING_DATA_IN_STORAGE":"Key:{featureKey} is not valid. Unable to store data into storage","ERROR_READING_DATA_FROM_BROWSER_STORAGE":"Failed to read data from browser storage. Error: {err}","ERROR_STORING_DATA_IN_BROWSER_STORAGE":"Error while writing to browserstorage. Error: {err}","ERROR_DECODING_SDK_KEY_FROM_STORAGE":"Failed to decode sdkKey from browser storage. Error: {err}","ERROR_STORING_SETTINGS_IN_STORAGE":"Failed to store settings in storage. Error: {err}","ERROR_READING_SETTINGS_FROM_STORAGE":"Failed to read settings from storage. Error: {err}","ERROR_STORING_FRESH_SETTINGS_IN_STORAGE":"Failed to store latest settings in storage. Error: {err}","INVALID_GATEWAY_URL":"Invalid URL for {brand} Gateway Service while initializing the SDK","NETWORK_CALL_FAILED":"Error occurred while sending {method} request. Error:{err}","ATTEMPTING_RETRY_FOR_FAILED_NETWORK_CALL":"Request failed for {endPoint}. Error: {err}. Retrying in {delay} seconds, attempt {attempt} of {maxRetries}","NETWORK_CALL_FAILURE_AFTER_MAX_RETRIES":"Network call for {extraData} failed after {attempts} retry attempt(s). Got Error: {err}","INVALID_RETRY_CONFIG":"Retry config is invalid. Should be of type:object","SDK_INIT_EVENT_FAILED":"Error occurred while sending SDK init event. Error:{err}","INVALID_NETWORK_RESPONSE_DATA":"Received invalid or empty response data from the network request","ALIAS_CALLED_BUT_NOT_PASSED":"Aliasing is not enabled. Set isAliasingEnabled:true in init to enable","ERROR_SETTING_SEGMENTATION_CONTEXT":"Error in setting contextual data for segmentation. Error: {err}","USER_AGENT_VALIDATION_ERROR":"Failed to validate user agent. Error: {err}","INVALID_IP_ADDRESS_IN_CONTEXT_FOR_PRE_SEGMENTATION":"ipAddress is required in context to evaluate location pre-segmentation","INVALID_USER_AGENT_IN_CONTEXT_FOR_PRE_SEGMENTATION":"userAgent is required in context to evaluate user-agent pre-segmentation","INVALID_ATTRIBUTE_LIST_FORMAT":"Invalid inList operand format","INVALID_WEB_TESTING_CAMPAIGN_VARIATION_OPERAND_EMPTY":"Web Testing pre-segmentation: campaignVariation must be a non-empty string after trimming whitespace. Expected: \\"C\\" (e.g. 122), \\"C_V\\" (122_2), \\"C_!V\\" (122_!1), or \\"!C\\" (!122).","INVALID_WEB_TESTING_CAMPAIGN_VARIATION_OPERAND_FORMAT":"Web Testing pre-segmentation: unrecognized campaignVariation \\"{operand}\\". Expected: \\"C\\", \\"C_V\\", \\"C_!V\\", or \\"!C\\"; use an underscore before ! (e.g. 122_!1), not a colon.","INVALID_WEB_TESTING_CAMPAIGNS_JSON":"Web Testing pre-segmentation: platformVariables.webTestingCampaigns must be JSON that parses to a plain object (campaign id â variation id), not an array or primitive.","INVALID_WEB_TESTING_CAMPAIGNS_TYPE":"Web Testing pre-segmentation: platformVariables.webTestingCampaigns must be a plain object or a JSON string of an object (campaign id â variation id). Received type: {kind}.","INVALID_WEB_TESTING_CAMPAIGN_VARIATION_OPERAND_TYPE":"Web Testing pre-segmentation: campaignVariation must be a string (e.g. \\"122\\", \\"122_2\\", \\"122_!1\\", \\"!122\\"). Received type: {type}.","ERROR_FETCHING_DATA_FROM_GATEWAY":"Failed to fetch data from gateway. Error: {err}","INVALID_BATCH_EVENTS_CONFIG":"Invalid batch events config. Should be an object - eventsPerRequest and requestTimeInterval should be of type:number and > 0","BATCHING_NOT_ENABLED":"Batching is not enabled. Pass batchEventData in the SDK configuration while invoking init API","ERROR_INITIALIZING_FETCH":"Failed to initialize the fetch API. Error: {error}","INVALID_NETWORK_TRANSPORT_MODE":"Invalid network transport mode. Expected one of: {validModes}. Received: {networkTransportMode}. Falling back to default mode: {defaultMode}","SEND_BEACON_ERROR":"Failed to send sendBeacon request to {brand}. Error: {err}"}
64`)},1703:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkBrowserClient=void 0;var r=n(3890),i=n(4782),a=n(5573),o=n(8667),s=n(8754),c=n(7128),l=n(1359),u=n(3443);t.NetworkBrowserClient=function(){function e(e,t){t===void 0&&(t=u.NetworkTransportModeEnum.SEND_BEACON),this.logManager=e,this.networkTransportMode=t}return e.prototype.GET=function(e){var t=new i.Deferred;return(0,r.sendGetCall)({requestModel:e,successCallback:function(e){t.resolve(e)},errorCallback:function(e){t.reject(e)}},this.logManager),t.promise},e.prototype.POST=function(e){var t=new i.Deferred;if(this.networkTransportMode.toLowerCase()===u.NetworkTransportModeEnum.XHR.toLowerCase()||typeof navigator>`u`||typeof navigator.sendBeacon!=`function`)return this.logManager.debug((0,s.buildMessage)(c.DebugLogMessagesEnum.USING_API_WITH_PROCESS,{api:u.NetworkTransportModeEnum.XHR,process:`undefined`})),this.POST_XHR(e);var n=new a.ResponseModel;try{this.logManager.debug((0,s.buildMessage)(c.DebugLogMessagesEnum.USING_API_WITH_PROCESS,{api:u.NetworkTransportModeEnum.SEND_BEACON,process:`undefined`}));var r=e.getOptions(),d=`${r.scheme}://${r.hostname}${r.path}`;r.port&&(d=`${r.scheme}://${r.hostname}:${r.port}${r.path}`);var f=r.body,p=(0,l.isString)(f)?f:JSON.stringify(f||{});return navigator.sendBeacon(d,p)?(n.setStatusCode(200),n.setData(void 0),t.resolve(n),t.promise):this.POST_XHR(e)}catch(e){var m=(0,o.getFormattedErrorMessage)(e);return this.logManager.errorLog(`SEND_BEACON_ERROR`,{err:m},{},!1),n.setStatusCode(0),n.setError(m),t.reject(n),t.promise}},e.prototype.POST_XHR=function(e){var t=new i.Deferred;return(0,r.sendPostCall)({requestModel:e,successCallback:function(e){t.resolve(e)},errorCallback:function(e){t.reject(e)}},this.logManager),t.promise},e}()},1720:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getRandomUUID=function(e){var t=(0,a.v5)(e,a.v5.DNS);return(0,a.v5)((0,i.v4)(),t)},t.getUUID=function(e,t){var n=(0,a.v5)(r.Constants.SEED_URL,a.v5.URL);e=String(e);var i=o(t=String(t),n);return o(e,i)?.replace(/-/gi,``).toUpperCase()},t.generateUUID=o,t.isWebUuid=function(e){return typeof e==`string`&&/^[DJ][0-9A-Fa-f]{32}$/.test(e)};var r=n(5399),i=n(2831),a=n(2831);function o(e,t){if(e&&t)return(0,a.v5)(e,t)}},1953:e=>{e.exports=JSON.parse(`{"INIT_OPTIONS_ERROR":"[ERROR]: {logPrefix} {date} Options should be of type object","INIT_OPTIONS_SDK_KEY_ERROR":"[ERROR]: {logPrefix} {date} Please provide the sdkKey in the options and should be a of type string","INIT_OPTIONS_ACCOUNT_ID_ERROR":"[ERROR]: {logPrefix} {date} Please provide {brand} account ID in the options and should be a of type string|number","INIT_OPTIONS_INVALID":"Invalid key:{key} passed in options. Should be of type:{correctType} and greater than equal to 1000","SETTINGS_FETCH_ERROR":"Settings could not be fetched. Error:{err}","SETTINGS_SCHEMA_INVALID":"Settings are not valid. Failed schema validation","POLLING_FETCH_SETTINGS_FAILED":"Error while fetching {brand} settings with polling","API_THROW_ERROR":"API - {apiName} failed to execute. Trace:{err}","API_INVALID_PARAM":"Key:{key} passed to API:{apiName} is not of valid type. Got type:{type}, should be:{correctType}","API_SETTING_INVALID":"Settings are not valid. Contact {brand} Support","API_CONTEXT_INVALID":"Context should be an object and must contain a mandatory key - id, which is User ID","FEATURE_NOT_FOUND":"Feature not found for the key:{featureKey}","EVENT_NOT_FOUND":"Event:{eventName} not found in any of the features' metrics","STORED_DATA_ERROR":"Error in getting data from storage. Error:{err}","STORING_DATA_ERROR":"Key:{featureKey} is not valid. Not able to store data into storage","GATEWAY_URL_ERROR":"Please provide a valid URL for {brand} Gateway Service while initializing the SDK","NETWORK_CALL_FAILED":"Error occurred while sending {method} request. Error:{err}","SETTINGS_FETCH_FAILED":"Failed to fetch settings and hence {brand} client instance couldn't be updated when API: {apiName} got called having isViaWebhook param as {isViaWebhook}. Error: {err}","NETWORK_CALL_RETRY_ATTEMPT":"Request failed for {endPoint}, Error: {err}. Retrying in {delay} seconds, attempt {attempt} of {maxRetries}","NETWORK_CALL_RETRY_FAILED":"Max retries reached. Request failed for {endPoint}, Error: {err}","CONFIG_PARAMETER_INVALID":"{parameter} paased in {api} API is not correct. It should be of type:{type}}","BATCH_QUEUE_EMPTY":"No batch queue present for account:{accountId} when calling flushEvents API. Check batchEvents config in launch API","RETRY_CONFIG_INVALID":"Retry config is invali
64d. Please check the {brand} developer documentation. Current retry config: {retryConfig}","SDK_INIT_EVENT_FAILED":"Error occurred while sending SDK init event. Error:{err}","INVALID_NETWORK_RESPONSE_DATA":"Received invalid or empty response data from the network request","ALIAS_NOT_ENABLED":"Aliasing is not enabled. Set isAliasingEnabled in init to enable aliasing"}`)},2144:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CampaignModel=void 0;var r=n(9094),i=n(502),a=n(2365);t.CampaignModel=function(){function e(){this.variations=[],this.metrics=[],this.variables=[]}return e.prototype.copy=function(e){this.metrics=e.metrics,this.variations=e.variations,this.variables=e.variables,this.processCampaignKeys(e)},e.prototype.modelFromDictionary=function(e){return this.processCampaignProperties(e),this.processCampaignKeys(e),this},e.prototype.processCampaignProperties=function(e){var t=this;e.variables&&(e.variables.constructor==={}.constructor?this.variables=[]:e.variables.forEach((function(e){t.variables.push(i.VariableModel.modelFromDictionary(e))}))),e.variations&&(e.variations.constructor==={}.constructor?this.variations=[]:e.variations.forEach((function(e){t.variations.push(new a.VariationModel().modelFromDictionary(e))}))),e.metrics&&(e.metrics&&e.metrics.constructor==={}.constructor?this.metrics=[]:(e.metrics||[]).forEach((function(e){t.metrics.push(new r.MetricModel().modelFromDictionary(e))})))},e.prototype.processCampaignKeys=function(e){this.id=e.id,this.percentTraffic=e.percentTraffic,this.name=e.name,this.variationId=e.variationId,this.campaignId=e.campaignId,this.ruleKey=e.ruleKey,this.isForcedVariationEnabled=e.isForcedVariationEnabled,this.isUserListEnabled=e.isUserListEnabled,this.segments=e.segments,this.key=e.key,this.type=e.type,this.salt=e.salt},e.prototype.getId=function(){return this.id},e.prototype.getName=function(){return this.name},e.prototype.getSegments=function(){return this.segments},e.prototype.getTraffic=function(){return this.percentTraffic},e.prototype.getType=function(){return this.type},e.prototype.getIsForcedVariationEnabled=function(){return this.isForcedVariationEnabled},e.prototype.getIsUserListEnabled=function(){return this.isUserListEnabled},e.prototype.getKey=function(){return this.key},e.prototype.getMetrics=function(){return this.metrics},e.prototype.getVariations=function(){return this.variations},e.prototype.getVariables=function(){return this.variables},e.prototype.getRuleKey=function(){return this.ruleKey},e.prototype.getSalt=function(){return this.salt},e}()},2245:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};
64Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateTrafficAndGetVariation=t.checkWhitelistingAndPreSeg=void 0;var a=n(4273),o=n(9217),s=n(7128),c=n(2365),l=n(6775),u=n(973),d=n(1359),f=n(5399),p=n(9181),m=n(8754),h=n(7928),g=n(1720),_=n(3780);t.checkWhitelistingAndPreSeg=function(e,t,n,o,c,l,d,y){return r(void 0,void 0,void 0,(function(){var r,b,x,S,C,w,T,E;return i(this,(function(i){switch(i.label){case 0:return r=(0,g.getUUID)(o.getId(),e.getSettings().getAccountId()),b=n.getId(),n.getType()===a.CampaignTypeEnum.AB?(o.setVariationTargetingVariables(Object.assign({},o.getVariationTargetingVariables(),{_wingifyUserId:n.getIsUserListEnabled()?r:o.getId()})),Object.assign(y,{variationTargetingVariables:o.getVariationTargetingVariables()}),n.getIsForcedVariationEnabled()?[4,v(n,o,e)]:[3,2]):[3,3];case 1:return(x=i.sent())&&Object.keys(x).length>0?[2,[!0,x]]:[3,3];case 2:e.getLogManager().info((0,m.buildMessage)(s.InfoLogMessagesEnum.WHITELISTING_SKIP,{campaignKey:n.getRuleKey(),userId:o.getId()})),i.label=3;case 3:if(o.setCustomVariables(Object.assign({},o.getCustomVariables(),{_wingifyUserId:n.getIsUserListEnabled()?r:o.getId()})),Object.assign(y,{customVariables:o.getCustomVariables()}),S=(0,p.getGroupDetailsIfCampaignPartOfIt)(e.getSettings(),n.getId(),n.getType()===a.CampaignTypeEnum.PERSONALIZE?n.getVariations()[0].getId():null).groupId,!(C=l?.get(S)))return[3,4];if(n.getType()===a.CampaignTypeEnum.AB){if(C===b)return[2,[!0,null]]}else if(n.getType()===a.CampaignTypeEnum.PERSONALIZE&&C===b+`_`+n.getVariations()[0].getId())return[2,[!0,null]];return[2,[!1,null]];case 4:return S?[4,new _.StorageDecorator().getFeatureFromStorage(`${f.Constants.META_MEG_KEY}${S}`,o,d,e)]:[3,6];case 5:if((w=i.sent())&&w.experimentKey&&w.experimentId)return e.getLogManager().info((0,m.buildMessage)(s.InfoLogMessagesEnum.MEG_CAMPAIGN_FOUND_IN_STORAGE,{campaignKey:w.experimentKey,userId:o.getId()})),w.experimentId===b?n.getType()===a.CampaignTypeEnum.PERSONALIZE?w.experimentVariationId===n.getVariations()[0].getId()?[2,[!0,null]]:(l.set(S,w.experimentId+`_`+w.experimentVariationId),[2,[!1,null]]):[2,[!0,null]]:(w.experimentVariationId==-1?l.set(S,w.experimentId):l.set(S,w.experimentId+`_`+w.experimentVariationId),[2,[!1,null]]);i.label=6;case 6:return[4,new u.CampaignDecisionService().getPreSegmentationDecision(n,o,e)];case 7:return(T=i.sent())&&S?[4,(0,h.evaluateGroups)(e,t,S,c,o,d)]:[3,9];case 8:return(E=i.sent())&&E.id===b?E.type===a.CampaignTypeEnum.AB||E.variations[0].id===n.getVariations()[0].getId()?[2,[!0,null]]:(l.set(S,E.id+`_`+E.variations[0].id),[2,[!1,null]]):E?(E.type===a.CampaignTypeEnum.AB?l.set(S,E.id):l.set(S,E.id+`_`+E.variations[0].id),[2,[!1,null]]):(l.set(S,-1),[2,[!1,null]]);case 9:return[2,[T,null]]}}))}))},t.evaluateTrafficAndGetVariation=function(e,t,n){var r=new u.CampaignDecisionService().getVariationAlloted(n,e.getSettings().getAccountId(),t,e),i=n.getId(),o=n.getBucketingSeed()||i;return r?(e.getLogManager().info((0,m.buildMessage)(s.InfoLogMessagesEnum.USER_CAMPAIGN_BUCKET_INFO,{campaignKey:t.getType()===a.CampaignTypeEnum.AB?t.getKey():t.getName()+`_`+t.getRuleKey(),userId:o===i?i:`${i} (Seed: ${o})`,status:`got variation:${r.getKey()}`})),r):(e.getLogManager().info((0,m.buildMessage)(s.InfoLogMessagesEnum.USER_CAMPAIGN_BUCKET_INFO,{campaignKey:t.getType()===a.CampaignTypeEnum.AB?t.getKey():t.getName()+`_`+t.getRuleKey(),userId:o===i?i:`${i} (Seed: ${o})`,status:`did not get any variation`})),null)};var v=function(e,t,n){return r(void 0,void 0,void 0,(function(){var r,c,l;return i(this,(function(i){switch(i.label){case 0:return[4,y(e,t,n)];case 1:return r=i.sent(),c=r?o.StatusEnum.PASSED:o.StatusEnum.FAILED,l=r?r.variation.getKey():``,n.getLogManager().info((0,m.buildMessage)(s.InfoLogMessagesEnum.WHITELISTING_STATUS,{userId:t.getId(),campaignKey:e.getType()===a.CampaignTypeEnum.AB?e.getKey():e.getName()+`_`+e.getRuleKey(),status:c,variationString:l})),[2,r]}}))}))},y=function(e,t,n){return r(void 0,void 0,void 0,(function(){var o,f,h,g,_,v,y,b,x;return i(this,(function(S){switch(S.label){case 0:return o=e.getVariations(),[4,Promise.all(o.map((function(o){return r(void 0,void 0,void 0,(function(){return i(this,(function(r){switch(r.label){case 0:return(0,d.isObject)(o.getSegments())&&!Object.keys(o.getSegments()).length?(n.getLogManager().info((0,m.buildMessage)(s.InfoLogMessagesEnum.WHITELISTING_SKIP,{campaignKey:e.getType()===a.CampaignTypeEnum.AB?e.getKey():e.getName()+`_`+e.getRuleKey(),userId:t.getId(),variation:o.getKey()?`for variation: ${o.getKey()}`:``})),[2,{matched:!1,variation:o}]):(0,d.isObject)(o.getSegments())?[4,n.getSegmentationManager().validateSegmentation(o.getSegments(),t.getVariationTargetingVariables())]:[2,{matched:!1,variation:o}];case 1:return[2,{matched:r.sent(),variation:o}]}}))}))})))];case 1:if(f=S.sent(),(h=f.filter((function(e){return e.matched})).map((function(e){return e.variation}))).length===0)return[2];if(h.length===1)return[2,{variation:g=h[0],variationName:g.getKey(),variationId:g.getId()}];for(_=h.map((function(e){return t=e,new c.VariationModel().modelFromDictionary(JSON.parse(JSON.stringify(t)));var t})),(0,p.scaleVariationWeights)(_),v=0,y=0,b=0;v<_.length;v++)b=(0,p.assignRangeValues)(_[v],y),y+=b;return(x=new u.CampaignDecisionService().getVariation(_,new l.DecisionMaker().calculateBucketValue((0,p.getBucketingSeed)(t.getBucketingSeed()||t.getId(),e,null))))?[2,{variation:x,variationName:x.getKey(),variationId:x.getId()}]:[2]}}))}))}},2263:(e,t,n)=>
64{Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeWebTestingCampaignsMap=a,t.parseWebTestingCampaignsFromContext=function(e,t){var n=e.getPlatformVariables()?.webTestingCampaigns;if((0,i.isNull)(n)||(0,i.isUndefined)(n))return null;if((0,i.isObject)(n))return a(n);if((0,i.isString)(n)){var o=n.trim();if(o===``)return null;try{var s=o.match(/"([^"\\]*)"\s*:/g);if(s){var c=s.map((function(e){return e.replace(/"\s*:$/,``).slice(1)}));c.length!==new Set(c).size&&t.getLogManager().errorLog(`INVALID_WEB_TESTING_CAMPAIGNS_DUPLICATE_KEY`,{},{an:r.ApiEnum.GET_FLAG,uuid:e.getUuid(),sId:e.getSessionId()})}var l=JSON.parse(o);if((0,i.isObject)(l))return a(l);t.getLogManager().errorLog(`INVALID_WEB_TESTING_CAMPAIGNS_JSON`,{},{an:r.ApiEnum.GET_FLAG,uuid:e.getUuid(),sId:e.getSessionId()})}catch{t.getLogManager().errorLog(`INVALID_WEB_TESTING_CAMPAIGNS_JSON`,{},{an:r.ApiEnum.GET_FLAG,uuid:e.getUuid(),sId:e.getSessionId()})}return null}if(!(0,i.isUndefined)(n)&&!(0,i.isNull)(n)){var u=(0,i.isArray)(n)?`array`:(0,i.getType)(n).toLowerCase();t.getLogManager().errorLog(`INVALID_WEB_TESTING_CAMPAIGNS_TYPE`,{kind:u},{an:r.ApiEnum.GET_FLAG,uuid:e.getUuid(),sId:e.getSessionId()})}return null},t.evaluateWebTestingCampaignVariation=function(e,t){var n=t??{},r=/^!(\d+)$/.exec(e);if(r){var i=r[1];return{result:!Object.prototype.hasOwnProperty.call(n,i),invalidFormat:!1}}if(r=/^(\d+)_!(\d+)$/.exec(e)){i=r[1];var a=r[2];return Object.prototype.hasOwnProperty.call(n,i)?{result:n[i]!==a,invalidFormat:!1}:{result:!1,invalidFormat:!1}}return(r=/^(\d+)_(\d+)$/.exec(e))?(i=r[1],a=r[2],Object.prototype.hasOwnProperty.call(n,i)?{result:n[i]===a,invalidFormat:!1}:{result:!1,invalidFormat:!1}):(r=/^(\d+)$/.exec(e))?(i=r[1],{result:Object.prototype.hasOwnProperty.call(n,i),invalidFormat:!1}):{result:!1,invalidFormat:!0}};var r=n(4237),i=n(1359);function a(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var a=r[n],o=e[a];!(0,i.isUndefined)(o)&&!(0,i.isNull)(o)&&String(a).length>0&&(t[String(a)]=String(o))}return t}},2311:(e,t)=>{function n(e){return 14+(e+64>>>9<<4)+1}function r(e,t){let n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,i,a,o){return r((s=r(r(t,e),r(i,o)))<<(c=a)|s>>>32-c,n);var s,c}function a(e,t,n,r,a,o,s){return i(t&n|~t&r,e,t,a,o,s)}function o(e,t,n,r,a,o,s){return i(t&r|n&~r,e,t,a,o,s)}function s(e,t,n,r,a,o,s){return i(t^n^r,e,t,a,o,s)}function c(e,t,n,r,a,o,s){return i(n^(t|~r),e,t,a,o,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){if(typeof e==`string`){let t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){let t=[],n=32*e.length,r=`0123456789abcdef`;for(let i=0;i<n;i+=8){let n=e[i>>5]>>>i%32&255,a=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let i=1732584193,l=-271733879,u=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){let n=i,f=l,p=u,m=d;i=a(i,l,u,d,e[t],7,-680876936),d=a(d,i,l,u,e[t+1],12,-389564586),u=a(u,d,i,l,e[t+2],17,606105819),l=a(l,u,d,i,e[t+3],22,-1044525330),i=a(i,l,u,d,e[t+4],7,-176418897),d=a(d,i,l,u,e[t+5],12,1200080426),u=a(u,d,i,l,e[t+6],17,-1473231341),l=a(l,u,d,i,e[t+7],22,-45705983),i=a(i,l,u,d,e[t+8],7,1770035416),d=a(d,i,l,u,e[t+9],12,-1958414417),u=a(u,d,i,l,e[t+10],17,-42063),l=a(l,u,d,i,e[t+11],22,-1990404162),i=a(i,l,u,d,e[t+12],7,1804603682),d=a(d,i,l,u,e[t+13],12,-40341101),u=a(u,d,i,l,e[t+14],17,-1502002290),l=a(l,u,d,i,e[t+15],22,1236535329),i=o(i,l,u,d,e[t+1],5,-165796510),d=o(d,i,l,u,e[t+6],9,-1069501632),u=o(u,d,i,l,e[t+11],14,643717713),l=o(l,u,d,i,e[t],20,-373897302),i=o(i,l,u,d,e[t+5],5,-701558691),d=o(d,i,l,u,e[t+10],9,38016083),u=o(u,d,i,l,e[t+15],14,-660478335),l=o(l,u,d,i,e[t+4],20,-405537848),i=o(i,l,u,d,e[t+9],5,568446438),d=o(d,i,l,u,e[t+14],9,-1019803690),u=o(u,d,i,l,e[t+3],14,-187363961),l=o(l,u,d,i,e[t+8],20,1163531501),i=o(i,l,u,d,e[t+13],5,-1444681467),d=o(d,i,l,u,e[t+2],9,-51403784),u=o(u,d,i,l,e[t+7],14,1735328473),l=o(l,u,d,i,e[t+12],20,-1926607734),i=s(i,l,u,d,e[t+5],4,-378558),d=s(d,i,l,u,e[t+8],11,-2022574463),u=s(u,d,i,l,e[t+11],16,1839030562),l=s(l,u,d,i,e[t+14],23,-35309556),i=s(i,l,u,d,e[t+1
64],4,-1530992060),d=s(d,i,l,u,e[t+4],11,1272893353),u=s(u,d,i,l,e[t+7],16,-155497632),l=s(l,u,d,i,e[t+10],23,-1094730640),i=s(i,l,u,d,e[t+13],4,681279174),d=s(d,i,l,u,e[t],11,-358537222),u=s(u,d,i,l,e[t+3],16,-722521979),l=s(l,u,d,i,e[t+6],23,76029189),i=s(i,l,u,d,e[t+9],4,-640364487),d=s(d,i,l,u,e[t+12],11,-421815835),u=s(u,d,i,l,e[t+15],16,530742520),l=s(l,u,d,i,e[t+2],23,-995338651),i=c(i,l,u,d,e[t],6,-198630844),d=c(d,i,l,u,e[t+7],10,1126891415),u=c(u,d,i,l,e[t+14],15,-1416354905),l=c(l,u,d,i,e[t+5],21,-57434055),i=c(i,l,u,d,e[t+12],6,1700485571),d=c(d,i,l,u,e[t+3],10,-1894986606),u=c(u,d,i,l,e[t+10],15,-1051523),l=c(l,u,d,i,e[t+1],21,-2054922799),i=c(i,l,u,d,e[t+8],6,1873313359),d=c(d,i,l,u,e[t+15],10,-30611744),u=c(u,d,i,l,e[t+6],15,-1560198380),l=c(l,u,d,i,e[t+13],21,1309151649),i=c(i,l,u,d,e[t+4],6,-145523070),d=c(d,i,l,u,e[t+11],10,-1120210379),u=c(u,d,i,l,e[t+2],15,718787259),l=c(l,u,d,i,e[t+9],21,-343485551),i=r(i,n),l=r(l,f),u=r(u,p),d=r(d,m)}return[i,l,u,d]}(function(e){if(e.length===0)return[];let t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))}},2346:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HTTPS_PROTOCOL=t.HTTP_PROTOCOL=t.SEED_URL=t.HTTPS=t.HTTP=void 0,t.HTTP=`http`,t.HTTPS=`https`,t.SEED_URL=`https://vwo.com`,t.HTTP_PROTOCOL=`${t.HTTP}://`,t.HTTPS_PROTOCOL=`${t.HTTPS}`},2365:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VariationModel=void 0;var r=n(502);t.VariationModel=function(){function e(){this.variables=[],this.variations=[]}return e.prototype.modelFromDictionary=function(t){var n=this;return this.id=t.i||t.id,this.key=t.n||t.key||t.name,this.weight=t.w||t.weight,this.ruleKey=t.ruleKey,this.salt=t.salt,this.type=t.type,this.setStartRange(t.startRangeVariation),this.setEndRange(t.endRangeVariation),(t.seg||t.segments)&&(this.segments=t.seg||t.segments),t.variables&&(t.variables.constructor==={}
64.constructor?this.variables=[]:t.variables.forEach((function(e){n.variables.push(r.VariableModel.modelFromDictionary(e))}))),t.variations&&(t.variations.constructor==={}.constructor?this.variations=[]:t.variations.forEach((function(t){n.variations.push(new e().modelFromDictionary(t))}))),this},e.prototype.setStartRange=function(e){this.startRangeVariation=e},e.prototype.setEndRange=function(e){this.endRangeVariation=e},e.prototype.setWeight=function(e){this.weight=e},e.prototype.getId=function(){return this.id},e.prototype.getKey=function(){return this.key},e.prototype.getRuleKey=function(){return this.ruleKey},e.prototype.getWeight=function(){return this.weight},e.prototype.getSegments=function(){return this.segments},e.prototype.getStartRangeVariation=function(){return this.startRangeVariation},e.prototype.getEndRangeVariation=function(){return this.endRangeVariation},e.prototype.getVariables=function(){return this.variables},e.prototype.getVariations=function(){return this.variations},e.prototype.getType=function(){return this.type},e.prototype.getSalt=function(){return this.salt},e}()},2727:e=>{e.exports={}},2752:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogMessageBuilder=void 0;var r=n(4940),i=`\x1B[1m`,a=`\x1B[0m`;t.LogMessageBuilder=function(){function e(e,t){this.loggerConfig=e,this.transportConfig=t,this.prefix=this.transportConfig.prefix||this.loggerConfig.prefix||``,this.dateTimeFormat=this.transportConfig.dateTimeFormat||this.loggerConfig.dateTimeFormat}return e.prototype.formatMessage=function(e,t){return`[${this.getFormattedLevel(e)}]: ${this.getFormattedPrefix(this.prefix)} ${this.getFormattedDateTime()} ${t}`},e.prototype.getFormattedPrefix=function(e){return this.loggerConfig.isAnsiColorEnabled?`${i}�[32m${e}${a}`:`${e}`},e.prototype.getFormattedLevel=function(e){var t,n,o,s=e.toUpperCase();return this.loggerConfig.isAnsiColorEnabled?((t={})[r.LogLevelEnum.TRACE]=`${i}�[30m${s}${a}`,t[r.LogLevelEnum.DEBUG]=`${i}�[94m${s}${a}`,t[r.LogLevelEnum.INFO]=`${i}�[36m${s}${a}`,t[r.LogLevelEnum.WARN]=`${i}�[33m${s}${a}`,t[r.LogLevelEnum.ERROR]=`${i}�[31m${s}${a}`,o=t):((n={})[r.LogLevelEnum.TRACE]=s,n[r.LogLevelEnum.DEBUG]=s,n[r.LogLevelEnum.INFO]=s,n[r.LogLevelEnum.WARN]=s,n[r.LogLevelEnum.ERROR]=s,o=n),o[e]},e.prototype.getFormattedDateTime=function(){return this.dateTimeFormat()},e}()},2780:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=void 0,t.Storage=function(){function e(e){(((e?.prototype?.constructor)?.toString())?.trim())?.substring(0,5)===`class`?this.connector=new e:this.connector=e}return e.prototype.getConnector=function(){return this.connector},e}()},2831:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return c.default}});var r=f(n(3518)),i=f(n(4948)),a=f(n(5073)),o=f(n(7186)),s=f(n(4808)),c=f(n(7775)),l=f(n(7037)),u=f(n(9910)),d=f(n(6792));function f(e){return e&&e.__esModule?e:{default:e}}},2858:(e,t)=>{let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n&&(n=typeof crypto<`u`&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);return n(r)};let r=new Uint8Array(16)},2887:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};
64Object.defineProperty(t,"__esModule",{value:!0}),t.RequestModel=void 0;var i=n(8202),a=n(2346),o=n(5399),s=n(1359),c=n(8667);t.RequestModel=function(){function e(e,t,n,r,s,c,l,u,d){t===void 0&&(t=i.HttpMethodEnum.GET),l===void 0&&(l=a.HTTPS),this.whiteListedKeys=[`eventName`,`uuid`,`campaignId`,`eventProperties`],this.url=e,this.method=t,this.path=n,this.query=r,this.body=s,this.headers=c,this.scheme=l,this.port=u,this.retryConfig=d||o.Constants.DEFAULT_RETRY_CONFIG}return e.prototype.getMethod=function(){return this.method},e.prototype.setMethod=function(e){this.method=e},e.prototype.getBody=function(){return this.body},e.prototype.setBody=function(e){this.body=e},e.prototype.setQuery=function(e){this.query=e},e.prototype.getQuery=function(){return this.query},e.prototype.setHeaders=function(e){return this.headers=e,this},e.prototype.getHeaders=function(){return this.headers},e.prototype.setTimeout=function(e){return this.timeout=e,this},e.prototype.getTimeout=function(){return this.timeout},e.prototype.getUrl=function(){return this.url},e.prototype.setUrl=function(e){return this.url=e,this},e.prototype.getScheme=function(){return this.scheme},e.prototype.setScheme=function(e){return this.scheme=e,this},e.prototype.getPort=function(){return this.port},e.prototype.setPort=function(e){return this.port=e,this},e.prototype.getPath=function(){return this.path},e.prototype.setPath=function(e){return this.path=e,this},e.prototype.getRetryConfig=function(){return r({},this.retryConfig)},e.prototype.setRetryConfig=function(e){return this.retryConfig=e,this},e.prototype.setEventName=function(e){return this.eventName=e,this},e.prototype.getEventName=function(){return this.eventName},e.prototype.setUuid=function(e){return this.uuid=e,this},e.prototype.getUuid=function(){return this.uuid},e.prototype.setCampaignId=function(e){return this.campaignId=e,this},e.prototype.getCampaignId=function(){return this.campaignId},e.prototype.setEventProperties=function(e){return this.eventProperties=e,this},e.prototype.getEventProperties=function(){return this.eventProperties},e.prototype.getLastError=function(){return this.lastError},e.prototype.setLastError=function(e){return this.lastError=(0,c.getFormattedErrorMessage)(e),this},e.prototype.getOptions=function(){var e=``;for(var t in this.query)e+=`${t}=${this.query[t]}&`;var n=this.url.split(`/`),r=n[0],i=n[1],a={hostname:r};if(this.scheme&&(a.scheme=this.scheme),this.port&&(a.port=this.port),this.headers&&(a.headers=this.headers),this.method&&(a.method=this.method),this.body){var o=JSON.stringify(this.body);a.headers=a.headers||{},a.headers[`Content-Type`]=`application/json`,typeof Buffer>`u`?a.headers[`Content-Length`]=new TextEncoder().encode(o).length:a.headers[`Content-Length`]=Buffer.byteLength(o),a.body=this.body}return this.path&&(a.path=e===``?this.path:this.path+`?`+e||``),i&&(a.path=`/${i}`+a.path),this.timeout&&(a.timeout=this.timeout),a.path.charAt(a.path.length-1)===`&`&&(a.path=a.path.substring(0,a.path.length-1)),a.retryConfig=this.retryConfig,a},e.prototype.getExtraInfo=function(){var e=this;return Object.fromEntries(Object.entries(this).filter((function(t){var n=t[0],r=t[1];return!(0,s.isNull)(r)&&!(0,s.isUndefined)(r)&&e.whiteListedKeys.includes(n)})))},e}()},2898:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};
64Object.defineProperty(t,"__esModule",{value:!0}),t.getFromGatewayService=function(e,t,n,o){return r(this,void 0,void 0,(function(){var r,u,d,f,p,m,h;return i(this,(function(i){if(r=new l.Deferred,u=e.getNetworkManager(),d=u.getRetryConfig(),!e.getSettingsService().isGatewayServiceProvided)return e.getLogManager().errorLog(`INVALID_GATEWAY_URL`,{},{an:a.ApiEnum.GET_FLAG,uuid:o.getUuid(),sId:o.getSessionId()}),r.resolve(!1),[2,r.promise];t.accountId=e.getSettingsService().accountId,f=null,p=null,m=null,e.getSettingsService().gatewayServiceConfig.hostname==null?(f=e.getSettingsService().hostname,p=e.getSettingsService().port,m=e.getSettingsService().protocol):(f=e.getSettingsService().gatewayServiceConfig.hostname,p=e.getSettingsService().gatewayServiceConfig.port,m=e.getSettingsService().gatewayServiceConfig.protocol);try{return h=new c.RequestModel(f,s.HttpMethodEnum.GET,n,t,null,null,m,p,d),u.get(h).then((function(e){r.resolve(e.getData())})).catch((function(e){r.reject(e)})),[2,r.promise]}catch{return r.resolve(!1),[2,r.promise]}return[2]}))}))},t.getQueryParams=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],a=i[0],o=i[1];t[a]=encodeURIComponent(String(o))}return t},t.addIsGatewayServiceRequiredFlag=function(e){for(var t=/\b(country|region|city|os|device_type|browser_string|ua|browser_version|os_version)\b/g,n=/"custom_variable"\s*:\s*{[^}]*inlist\([^)]*\)/g,r=0,i=e.getFeatures();r<i.length;r++)for(var a=i[r],s=0,c=a.getRulesLinkedCampaign();s<c.length;s++){var l=c[s],u=l.getType()===o.CampaignTypeEnum.ROLLOUT,d=l.getType()===o.CampaignTypeEnum.PERSONALIZE,f=null;if(u||d){var p=l.getVariations();p&&p.length>0&&(f=p[0].getSegments())}else f=l.getSegments();if(f){var m=(v=JSON.stringify(f)).match(t),h=v.match(n);if(m&&m.length>0||h&&h.length>0){a.setIsGatewayServiceRequired(!0);break}}}for(var g=0,_=e.getHoldouts();g<_.length;g++){var v,y=_[g];if((f=y.getSegments())&&(m=(v=JSON.stringify(f)).match(t),h=v.match(n),m&&m.length>0||h&&h.length>0)){y.setIsGatewayServiceRequired(!0);break}}};var a=n(4237),o=n(4273),s=n(8202),c=n(6710),l=n(4782)},3183:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WingifyBuilder=void 0;var o=n(4580),s=n(6710),c=n(9401),l=n(6449),u=n(470),d=n(7128),f=n(1359),p=n(8667),m=n(8754),h=n(4782),g=n(1720),_=n(4140),v=n(5399),y=n(4237),b=n(8092),x=n(4990),S=n(3443);t.WingifyBuilder=function(){function e(e){this.originalSettings={},this.isValidPollIntervalPassedFromInit=!1,this.pollTimerId=null,this.isPollingStopped=!1,this.isSettingsValid=!1,this.settingsFetchTime=void 0,this.options=e,this.defaultServiceContainer=new x.ServiceContainer(this.options)}return e.prototype.setNetworkManager=function(){var e;if(this.options.edgeConfig&&!(0,f.isEmptyObject)(this.options?.edgeConfig)&&(this.options.shouldWaitForTrackingCalls=!0),typeof window<`u`&&this.options?.browserConfig?.networkTransportMode){var t=this.options?.browserConfig?.networkTransportMode;(!(0,f.isString)(t)||t.toLowerCase()!==S.NetworkTransportModeEnum.XHR.toLowerCase()&&t.toLowerCase()!==S.NetworkTransportModeEnum.SEND_BEACON.toLowerCase())&&(this.logManager.error((0,m.buildMessage)(d.ErrorLogMessagesEnum.INVALID_
64NETWORK_TRANSPORT_MODE,{validModes:[S.NetworkTransportModeEnum.XHR,S.NetworkTransportModeEnum.SEND_BEACON].join(`, `),networkTransportMode:t,defaultMode:S.NetworkTransportModeEnum.SEND_BEACON})),this.options.browserConfig.networkTransportMode=S.NetworkTransportModeEnum.SEND_BEACON)}return this.networkManager=new s.NetworkManager(this.logManager,this.options?.network?.client,this.options?.retryConfig,(e=this.options?.shouldWaitForTrackingCalls)!=null&&e,this.options?.httpsAgentConfig,this.options?.browserConfig?.networkTransportMode??S.NetworkTransportModeEnum.SEND_BEACON),this.logManager.debug((0,m.buildMessage)(d.DebugLogMessagesEnum.SERVICE_INITIALIZED,{service:v.Constants.NETWORK_LAYER_NAME})),this.defaultServiceContainer.setNetworkManager(this.networkManager),this},e.prototype.initBatching=function(){if(this.options.edgeConfig&&!(0,f.isEmptyObject)(this.options?.edgeConfig)){var e=new b.EdgeConfigModel().modelFromDictionary(this.options.edgeConfig);this.options.batchEventData={eventsPerRequest:e.getMaxEventsToBatch(),isEdgeEnvironment:!0}}return!0!==this.options?.isBatchingDisabled&&(this.options.batchEventData=r({eventsPerRequest:v.Constants.DEFAULT_EVENTS_PER_REQUEST,requestTimeInterval:v.Constants.DEFAULT_REQUEST_TIME_INTERVAL},this.options.batchEventData||{})),this.options.batchEventData&&(this.settingFileManager.isGatewayServiceProvided?this.logManager.info((0,m.buildMessage)(d.InfoLogMessagesEnum.GATEWAY_AND_BATCH_EVENTS_CONFIG_MISMATCH)):(!(0,f.isNumber)(this.options.batchEventData.eventsPerRequest)||this.options.batchEventData.eventsPerRequest<=0)&&(!(0,f.isNumber)(this.options.batchEventData.requestTimeInterval)||this.options.batchEventData.requestTimeInterval<=0)?this.logManager.errorLog(`INVALID_BATCH_EVENTS_CONFIG`,{},{an:y.ApiEnum.INIT}):(this.options.batchEventData.accountId=parseInt(this.options.accountId),this.batchEventsQueue=new _.BatchEventsQueue(Object.assign({},this.options.batchEventData),this.logManager))),this.defaultServiceContainer.setBatchEventsQueue(this.batchEventsQueue),this.defaultServiceContainer.injectServiceContainer(this.defaultServiceContainer),this},e.prototype.fetchSettings=function(){var e=this,t=new h.Deferred;return this.isSettingsFetchInProgress?(t.resolve(this.originalSettings),t.promise):(this.isSettingsFetchInProgress=!0,this.settingFileManager.getSettings().then((function(n){e.isSettingsValid=e.settingFileManager.isSettingsValid,e.settingsFetchTime=e.settingFileManager.settingsFetchTime,e.isSettingsFetchInProgress=!1,t.resolve(n)})),t.promise)},e.prototype.getSettings=function(){var e=new h.Deferred;try{this.settings?(this.logManager.info(`Using already fetched and cached settings`),e.resolve(this.settings)):this.fetchSettings().then((function(t){e.resolve(t)}))}catch(t){this.logManager.errorLog(`ERROR_FETCHING_SETTINGS`,{err:(0,p.getFormattedErrorMessage)(t)},{an:y.ApiEnum.INIT},!1),e.resolve({})}return e.promise},e.prototype.setStorage=function(){if(this.options.storage)this.storage=new c.Storage(this.options.storage),this.settingFileManager.isStorageServiceProvided=!0;else if(typeof window<`u`&&window.localStorage){var e=this.options.browserConfig?.clientStorage??this.options.clientStorage??{},t=n(1274).BrowserStorageConnector,i=btoa(this.options.sdkKey),a=`${v.Constants.PRODUCT_NAME}_${this.options.accountId}_${i}`;this.storage=new c.Storage(new t(r(r({},e),{alwaysUseCachedSettings:e?.alwaysUseCachedSettings,ttl:e?.ttl}),a,this.logManager)),this.logManager.debug((0,m.buildMessage)(d.DebugLogMessagesEnum.SERVICE_INITIALIZED,{service:this.options?.clientStorage?.provider===sessionStorage?v.Constants.SESSION_STORAGE_NAME:v.Constants.LOCAL_STORAGE_NAME})),this.settingFileManager.isStorageServiceProvided=!0}else this.storage=null;return this.defaultServiceContainer.setStorage(this.storage),this},e.prototype.setSettingsService=function(){return this.settingFileManager=new u.SettingsService(this.options,this.logManager),this.defaultServiceContainer.setSettingsService(this.settingFileManager),this},e.prototype.getLogger=function(){return this.logManager},e.prototype.getSettingsService=function(){return this.settingFileManager},e.prototype.getStorage=function(){return this.storage},e.prototype.setLogger=function(){return this.logManager=new o.LogManager(this.options.logger||{}),this.logManager.debug((0,m.buildMessage)(d.DebugLogMessagesEnum.SERVICE_INITIALIZED,{service:v.Constants.LOGGER_NAME})),this.defaultServiceContainer.setLogManager(this.logManager),this},e.prototype.getRandomUserId=function(){var e=`getRandomUserId`;try{return this.logManager.debug((0,m.buildMessage)(d.DebugLogMessagesEnum.API_CALLED,{apiName:e})),(0,g.getRandomUUID)(this.options.sdkKey)}catch(t){this.logManager.errorLog(`EXECUTION_FAILED`,{apiName:e,err:(0,p.getFormattedErrorMessage)(t)})}},e.prototype.initPolling=function(){var e=this.options.pollInterval;return e!=null&&(0,f.isNumber)(e)&&e>=1e3?(this.isValidPollIntervalPassedFromInit=!0,this.checkAndPoll()):e!=null&&this.logManager.errorLog(`INVALID_POLLING_CONFIGURATION`,{key:`pollInterval`,correctType:`number >= 1000`},{an:y.ApiEnum.INIT}),this},e.prototype.build=function(e){return this.originalSettings=e,this.wingifyInstance=new l.WingifyClient(e,this.options,this.defaultServiceContainer),this.updatePollIntervalAndCheckAn
vendor: 1,087 bytes, line 64
64dPoll(e,!0),this.wingifyInstance},e.prototype.checkAndPoll=function(){var e=this;this.defaultServiceContainer.setPollingStopCallback((function(){return e.stopPolling()}));var t=function(){return i(e,void 0,void 0,(function(){var e,n,r,i;return a(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,3,4]),[4,this.getSettings()];case 1:return(e=a.sent())&&Object.keys(e).length>0&&JSON.stringify(e)!==JSON.stringify(this.originalSettings)?(this.originalSettings=e,n=(0,p.cloneObject)(e),this.logManager.info((0,m.buildMessage)(d.InfoLogMessagesEnum.POLLING_SET_SETTINGS)),this.wingifyInstance.updateSettings(n,!1),this.updatePollIntervalAndCheckAndPoll(e,!1)):e&&this.logManager.info((0,m.buildMessage)(d.InfoLogMessagesEnum.POLLING_NO_CHANGE_IN_SETTINGS)),[3,4];case 2:return r=a.sent(),this.logManager.errorLog(`ERROR_FETCHING_SETTINGS_WITH_POLLING`,{err:(0,p.getFormattedErrorMessage)(r)},{an:v.Constants.POLLING}),[3,4];case 3:return this.isPollingStopped||(i=this.options.pollInterval??v.Constants.POLLING_INTERVAL,this.pollTimerId=setTimeout(t,i)),[7];case 4:return[2]}}
64))}))},n=this.options.pollInterval??v.Constants.POLLING_INTERVAL;this.pollTimerId=setTimeout(t,n)},e.prototype.stopPolling=function(){this.isPollingStopped=!0,this.pollTimerId!=null&&(clearTimeout(this.pollTimerId),this.pollTimerId=null)},e.prototype.updatePollIntervalAndCheckAndPoll=function(e,t){if(!this.isValidPollIntervalPassedFromInit){var n=e?.pollInterval??v.Constants.POLLING_INTERVAL;this.logManager.debug((0,m.buildMessage)(d.DebugLogMessagesEnum.USING_POLL_INTERVAL_FROM_SETTINGS,{source:e?.pollInterval?`settings`:`default`,pollInterval:n.toString()})),this.options.pollInterval=n}t&&!this.isValidPollIntervalPassedFromInit&&this.checkAndPoll()},e}()},3185:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class n extends TypeError{constructor(e,t){let n,{message:r,...i}=e,{path:a}=e;super(a.length===0?r:`At path: `+a.join(`.`)+` -- `+r),Object.assign(this,i),this.name=this.constructor.name,this.failures=()=>n??=[e,...t()]}}function r(e){return typeof e==`object`&&!!e}function i(e){if(Object.prototype.toString.call(e)!==`[object Object]`)return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function a(e){return typeof e==`string`?JSON.stringify(e):``+e}function o(e,t,n,r){if(!0===e)return;!1===e?e={}:typeof e==`string`&&(e={message:e});let{path:i,branch:o}=t,{type:s}=n,{refinement:c,message:l="Expected a value of type `"+s+"`"+(c?" with refinement `"+c+"`":``)+", but received: `"+a(r)+"`"}=e;return{value:r,type:s,refinement:c,key:i[i.length-1],path:i,branch:o,...e,message:l}}function*s(e,t,n,i){var a;r(a=e)&&typeof a[Symbol.iterator]==`function`||(e=[e]);for(let r of e){let e=o(r,t,n,i);e&&(yield e)}}function*c(e,t,n={}){let{path:i=[],branch:a=[e],coerce:o=!1,mask:s=!1}=n,l={path:i,branch:a};if(o&&(e=t.coercer(e,l),s&&t.type!==`type`&&r(t.schema)&&r(e)&&!Array.isArray(e)))for(let n in e)t.schema[n]===void 0&&delete e[n];let u=!0;for(let n of t.validator(e,l))u=!1,yield[n,void 0];for(let[n,d,f]of t.entries(e,l)){let t=c(d,f,{path:n===void 0?i:[...i,n],branch:n===void 0?a:[...a,d],coerce:o,mask:s});for(let i of t)i[0]?(u=!1,yield[i[0],void 0]):o&&(d=i[1],n===void 0?e=d:e instanceof Map?e.set(n,d):e instanceof Set?e.add(d):r(e)&&(e[n]=d))}if(u)for(let n of t.refiner(e,l))u=!1,yield[n,void 0];u&&(yield[void 0,e])}class l{constructor(e){let{type:t,schema:n,validator:r,refiner:i,coercer:a=e=>e,entries:o=function*(){}}=e;this.type=t,this.schema=n,this.entries=o,this.coercer=a,this.validator=r?(e,t)=>s(r(e,t),t,this,e):()=>[],this.refiner=i?(e,t)=>s(i(e,t),t,this,e):()=>[]}assert(e){return u(e,this)}create(e){return d(e,this)}is(e){return p(e,this)}mask(e){return f(e,this)}validate(e,t={}){return m(e,this,t)}}function u(e,t){let n=m(e,t);if(n[0])throw n[0]}function d(e,t){let n=m(e,t,{coerce:!0});if(n[0])throw n[0];return n[1]}function f(e,t){let n=m(e,t,{coerce:!0,mask:!0});if(n[0])throw n[0];return n[1]}function p(e,t){return!m(e,t)[0]}function m(e,t,r={}){let i=c(e,t,r),a=function(e){let{done:t,value:n}=e.next();return t?void 0:n}(i);return a[0]?[new n(a[0],(function*(){for(let e of i)e[0]&&(yield e[0])})),void 0]:[void 0,a[1]]}function h(e,t){return new l({type:e,schema:null,validator:t})}function g(){return h(`never`,(()=>!1))}function _(e){let t=e?Object.keys(e):[],n=g();return new l({type:`object`,schema:e||null,*entries(i){if(e&&r(i)){let r=new Set(Object.keys(i));for(let n of t)r.delete(n),yield[n,i[n],e[n]];for(let e of r)yield[e,i[e],n]}},validator:e=>r(e)||`Expected an object, but received: `+a(e),coercer:e=>r(e)?{...e}:e})}function v(e){return new l({...e,validator:(t,n)=>t===void 0||e.validator(t,n),refiner:(t,n)=>t===void 0||e.refiner(t,n)})}function y(){return h(`string`,(e=>typeof e==`string`||`Expected a string, but received: `+a(e)))}function b(){return h(`unknown`,(()=>!0))}function x(e,t,n){return new l({...e,coercer:(r,i)=>p(r,t)?e.coercer(n(r,i),i):e.coercer(r,i)})}function S(e,t,n){return new l({...e,*refiner(r,i){yield*e.refiner(r,i);let a=s(n(r,i),i,e,r);for(let e of a)yield{...e,refinement:t}}})}t.Struct=l,t.StructError=n,t.any=function(){return h(`any`,(()=>!0))},t.array=function(e){return new l({type:`array`,schema:e,*entries(t){if(e&&Array.isArray(t))for(let[n,r]of t.entries())yield[n,r,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: `+a(e)})},t.assert=u,t.assign=function(...e){let t=e.map((e=>e.schema));return _(Object.assign({},...t))},t.boolean=function(){return h(`boolean`,(e=>typeof e==`boolean`))},t.coerce=x,t.create=d,t.date=function(){return h(`date`,(e=>e instanceof Date&&!isNaN(e.getTime())||"Expected a valid `Date` object, but received: "+a(e)))},t.defaulted=function(e,t,n={}){return x(e,b(),(e=>{let r=typeof t==`function`?t():t;if(e===void 0)return r;if(!n.strict&&i(e)&&i(r)){let t={...e},n=!1;for(let e in r)t[e]===void 0&&(t[e]=r[e],n=!0);if(n)return t}return e}))},t.define=h,t.deprecated=function(e,t){return new l({...e,refiner:(t,n)=>t===void 0||e.refiner(t,n),validator:(n,r)=>n===void 0||(t(n,r),e.validator(n,r))})},t.dynamic=function(e){return new l({type:`dynamic`,schema:null,*entries(t,n){yield*e(t,n).entr
64ies(t,n)},validator:(t,n)=>e(t,n).validator(t,n),coercer:(t,n)=>e(t,n).coercer(t,n)})},t.empty=function(e){let t=`Expected an empty `+e.type;return S(e,`empty`,(e=>{if(e instanceof Map||e instanceof Set){let{size:n}=e;return n===0||t+" but received one with a size of `"+n+"`"}{let{length:n}=e;return n===0||t+" but received one with a length of `"+n+"`"}}))},t.enums=function(e){let t={},n=e.map((e=>a(e))).join();for(let n of e)t[n]=n;return new l({type:`enums`,schema:t,validator:t=>e.includes(t)||"Expected one of `"+n+"`, but received: "+a(t)})},t.func=function(){return h(`func`,(e=>typeof e==`function`||`Expected a function, but received: `+a(e)))},t.instance=function(e){return h(`instance`,(t=>t instanceof e||"Expected a `"+e.name+"` instance, but received: "+a(t)))},t.integer=function(){return h(`integer`,(e=>typeof e==`number`&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: `+a(e)))},t.intersection=function(e){return new l({type:`intersection`,schema:null,*entries(t,n){for(let r of e)yield*r.entries(t,n)},*validator(t,n){for(let r of e)yield*r.validator(t,n)},*refiner(t,n){for(let r of e)yield*r.refiner(t,n)}})},t.is=p,t.lazy=function(e){let t;return new l({type:`lazy`,schema:null,*entries(n,r){t??=e(),yield*t.entries(n,r)},validator:(n,r)=>(t??=e(),t.validator(n,r)),coercer:(n,r)=>(t??=e(),t.coercer(n,r))})},t.literal=function(e){let t=a(e),n=typeof e;return new l({type:`literal`,schema:n===`string`||n===`number`||n===`boolean`?e:null,validator:n=>n===e||"Expected the literal `"+t+"`, but received: "+a(n)})},t.map=function(e,t){return new l({type:`map`,schema:null,*entries(n){if(e&&t&&n instanceof Map)for(let[r,i]of n.entries())yield[r,r,e],yield[r,i,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||"Expected a `Map` object, but received: "+a(e)})},t.mask=f,t.max=function(e,t,n={}){let{exclusive:r}=n;return S(e,`max`,(n=>r?n<t:n<=t||`Expected a `+e.type+` greater than `+(r?``:`or equal to `)+t+" but received `"+n+"`"))},t.min=function(e,t,n={}){let{exclusive:r}=n;return S(e,`min`,(n=>r?n>t:n>=t||`Expected a `+e.type+` greater than `+(r?``:`or equal to `)+t+" but received `"+n+"`"))},t.never=g,t.nullable=function(e){return new l({...e,validator:(t,n)=>t===null||e.validator(t,n),refiner:(t,n)=>t===null||e.refiner(t,n)})},t.number=function(){return h(`number`,(e=>typeof e==`number`&&!isNaN(e)||`Expected a number, but received: `+a(e)))},t.object=_,t.omit=function(e,t){let{schema:n}=e,r={...n};for(let e of t)delete r[e];return _(r)},t.optional=v,t.partial=function(e){let t=e instanceof l?{...e.schema}:{...e};for(let e in t)t[e]=v(t[e]);return _(t)},t.pattern=function(e,t){return S(e,`pattern`,(n=>t.test(n)||`Expected a `+e.type+" matching `/"+t.source+'/` but received "'+n+`"`))},t.pick=function(e,t){let{schema:n}=e,r={};for(let e of t)r[e]=n[e];return _(r)},t.record=function(e,t){return new l({type:`record`,schema:null,*entries(n){if(r(n))for(let r in n){let i=n[r];yield[r,r,e],yield[r,i,t]}},validator:e=>r(e)||`Expected an object, but received: `+a(e)})},t.refine=S,t.regexp=function(){return h(`regexp`,(e=>e instanceof RegExp))},t.set=function(e){return new l({type:`set`,schema:null,*entries(t){if(e&&t instanceof Set)for(let n of t)yield[n,n,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||"Expected a `Set` object, but received: "+a(e)})},t.size=function(e,t,n=t){let r=`Expected a `+e.type,i=t===n?"of `"+t+"`":"between `"+t+"` and `"+n+"`";return S(e,`size`,(e=>{if(typeof e==`number`||e instanceof Date)return t<=e&&e<=n||r+` `+i+" but received `"+e+"`";if(e instanceof Map||e instanceof Set){let{size:a}=e;return t<=a&&a<=n||r+` with a size `+i+" but received one with a size of `"+a+"`"}{let{length:a}=e;return t<=a&&a<=n||r+` with a length `+i+" but received one with a length of `"+a+"`"}}))},t.string=y,t.struct=function(e,t){return console.warn("[email protected] - The `struct` helper has been renamed to `define`."),h(e,t)},t.trimmed=function(e){return x(e,y(),(e=>e.trim()))},t.tuple=function(e){let t=g();return new l({type:`tuple`,schema:null,*entries(n){if(Array.isArray(n)){let r=Math.max(e.length,n.length);for(let i=0;i<r;i++)yield[i,n[i],e[i]||t]}},validator:e=>Array.isArray(e)||`Expected an array, but received: `+a(e)})},t.type=function(e){let t=Object.keys(e);return new l({type:`type`,schema:e,*entries(n){if(r(n))for(let r of t)yield[r,n[r],e[r]]},validator:e=>r(e)||`Expected an object, but received: `+a(e)})},t.union=function(e){let t=e.map((e=>e.type)).join(` | `);return new l({type:`union`,schema:null,validator(n,r){let i=[];for(let t of e){let[...e]=c(n,t,r),[a]=e;if(!a[0])return[];for(let[t]of e)t&&i.push(t)}return["Expected the value to satisfy a union of `"+t+"`, but received: "+a(n),...i]}})},t.unknown=b,t.validate=m},3236:e=>{e.exports={version:`1.60.0`}}
64,3293:function(e,t,n){var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Class extends value `+String(t)+` is not a constructor or null`);function n(){this.constructor=e}r(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.LogManager=void 0;var o=n(2831),s=n(5374),c=n(4820),l=n(1359),u=n(4940),d=n(8754),f=n(3368),p=n(8205),m=n(7128),h=n(8667),g=n(5399);t.LogManager=function(e){function t(t){var n=e.call(this)||this;return n.name=g.Constants.LOGGER_NAME,n.requestId=(0,o.v4)(),n.level=u.LogLevelEnum.ERROR,n.prefix=g.Constants.LOG_PREFIX,n.shouldLogToStandardOutput=!1,n.config=t,n.config.name=t.name||n.name,n.config.requestId=t.requestId||n.requestId,n.config.level=t.level||n.level,n.config.prefix=t.prefix||n.prefix,n.config.dateTimeFormat=t.dateTimeFormat||n.dateTimeFormat,n.config.shouldLogToStandardOutput=t.shouldLogToStandardOutput||n.shouldLogToStandardOutput,n.transportManager=new c.LogTransportManager(n.config),n.handleTransports(),n}return i(t,e),t.prototype.dateTimeFormat=function(){return new Date().toISOString()},t.prototype.injectServiceContainer=function(e){this.serviceContainer=e},t.prototype.handleTransports=function(){this.config.transports?.length?this.addTransports(this.config.transports):this.config.transport&&(0,l.isObject)(this.config.transport)&&this.addTransport(this.config.transport)},t.prototype.addTransport=function(e){this.transportManager.addTransport(e)},t.prototype.addTransports=function(e){for(var t=0;t<e.length;t++)this.addTransport(e[t])},t.prototype.trace=function(e){this.transportManager.log(u.LogLevelEnum.TRACE,e)},t.prototype.debug=function(e){this.transportManager.log(u.LogLevelEnum.DEBUG,e)},t.prototype.info=function(e){this.transportManager.log(u.LogLevelEnum.INFO,e)},t.prototype.warn=function(e){this.transportManager.log(u.LogLevelEnum.WARN,e)},t.prototype.error=function(e){this.transportManager.log(u.LogLevelEnum.ERROR,e)},t.prototype.errorLog=function(e,t,n,r){t===void 0&&(t={}),n===void 0&&(n={}),r===void 0&&(r=!0);try{var i=(0,d.buildMessage)(m.ErrorLogMessagesEnum[e],t);if(this.error(i),r&&this.serviceContainer){var o=a(a(a({},n),t),{msg_t:e,msg:i,lt:u.LogLevelEnum.ERROR.toString(),cg:f.DebuggerCategoryEnum.ERROR});(0,p.sendDebugEventToWingify)(this.serviceContainer,o)}}catch(e){console.error(`Got error while logging error`+(0,h.getFormattedErrorMessage)(e))}},t}(s.Logger)},3368:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DebuggerCategoryEnum=void 0,function(e){e.NETWORK=`network`,e.DECISION=`decision`,e.INITIALIZATION=`initialization`,e.RETRY=`retry`,e.ERROR=`error`}(n||(t.DebuggerCategoryEnum=n={}))},3443:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkTransportModeEnum=void 0,function(e){e.SEND_BEACON=`sendBeacon`,e.XHR=`xhr`}(n||(t.NetworkTransportModeEnum=n={}))},3518:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(2858))&&r.__esModule?r:{default:r},a=n(9910);let o,s,c=0,l=0;t.default=function(e,t,n){let r=t&&n||0,u=t||Array(16),d=(e||={}).node||o,f=e.clockseq===void 0?s:e.clockseq;if(d==null||f==null){let t=e.random||(e.rng||i.default)();d??=o=[1|t[0],t[1],t[2],t[3],t[4],t[5]],f??=s=16383&(t[6]<<8|t[7])}let p=e.msecs===void 0?Date.now():e.msecs,m=e.nsecs===void 0?l+1:e.nsecs,h=p-c+(m-l)/1e4;if(h<0&&e.clockseq===void 0&&(f=f+1&16383),(h<0||p>c)&&e.nsecs===void 0&&(m=0),m>=1e4)throw Error(`uuid.v1(): Can't create more than 10M uuids/sec`);c=p,l=m,s=f,p+=0xb1d069b5400;let g=(1e4*(268435455&p)+m)%4294967296;u[r++]=g>>>24&255,u[r++]=g>>>16&255,u[r++]=g>>>8&255,u[r++]=255&g;let _=p/4294967296*1e4&268435455;u[r++]=_>>>8&255,u[r++]=255&_,u[r++]=_>>>
6424&15|16,u[r++]=_>>>16&255,u[r++]=f>>>8|128,u[r++]=255&f;for(let e=0;e<6;++e)u[r+e]=d[e];return t||(0,a.unsafeStringify)(u)}},3722:e=>{e.exports=JSON.parse(`{"API_CALLED":"API - {apiName} called","SERVICE_INITIALIZED":"{service} initialized while creating an instance of SDK","EXPERIMENTS_EVALUATION_WHEN_ROLLOUT_PASSED":"Rollout rule got passed for user {userId}. Hence, evaluating experiments","EXPERIMENTS_EVALUATION_WHEN_NO_ROLLOUT_PRESENT":"No Rollout rules present for the feature. Hence, checking experiment rules","USER_BUCKET_TO_VARIATION":"User ID:{userId} for experiment:{campaignKey} having percent traffic:{percentTraffic} got bucket-value:{bucketValue} and hash-value:{hashValue}","IMPRESSION_FOR_TRACK_USER":"Impression built for vwo_variationShown({brand} standard event for tracking user) event haivng Account ID:{accountId}, User ID:{userId}, and experiment ID:{campaignId}","IMPRESSION_FOR_TRACK_GOAL":"Impression built for event:{eventName} event having Account ID:{accountId}, and user ID:{userId}","IMPRESSION_FOR_SYNC_VISITOR_PROP":"Impression built for {eventName}({brand} internal event) event for Account ID:{accountId}, and user ID:{userId}","CONFIG_BATCH_EVENT_LIMIT_EXCEEDED":"Impression event - {endPoint} failed due to exceeding payload size. Parameter eventsPerRequest in batchEvents config in launch API has value:{eventsPerRequest} for account ID:{accountId}. Please read the official documentation for knowing the size limits","EVENT_BATCH_BEFORE_FLUSHING":"Flushing event queue {manually} having {length} events for Account ID:{accountId}. {timer}","EVENT_BATCH_FLUSH":"Manually flushing batch events for Account ID:{accountId} having {queueLength} events","BATCH_QUEUE_EMPTY":"Batch queue is empty, nothing to flush","USING_POLL_INTERVAL_FROM_SETTINGS":"key: pollInterval not found or invalid. Using pollInterval from {source} {pollInterval}","USING_API_WITH_PROCESS":"API: {api} is being used with process: {process}","WEB_UUID_FOUND":"{brand} Web Testing UUID {uuid} identified as the Context ID for API {apiName}","HOLDOUT_SEGMENTATION_FAIL":"User ID: {userId} does not qualify segmentation for Holdout: {holdoutGroupName}","HOLDOUT_SHOULD_NOT_EXCLUDE_USER":"User ID: {userId} is not part of Holdout: {holdoutGroupName} for feature: {featureId}","PART_OF_HOLDOUT_IN_MEG":"MEG: User ID:{userId} is part of holdout: {holdoutId} for feature: {featureKey}","HOLDOUT_SKIP_EVALUATION":"Skip holdout reevaluation for holdout ID: {holdoutId} because {reason}"}`)},3769:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getKeyValue=function(e){if((0,r.isObject)(e)){var t=Object.keys(e)[0];return{key:t,value:e[t]}}},t.matchWithRegex=function(e,t){try{return e.match(new RegExp(t))}catch{return null}};var r=n(1359)},3780:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};
64Object.defineProperty(t,"__esModule",{value:!0}),t.StorageDecorator=void 0;var a=n(1172),o=n(4782),s=n(4237);t.StorageDecorator=function(){function e(){}return e.prototype.getFeatureFromStorage=function(e,t,n,s){return r(this,void 0,void 0,(function(){var r;return i(this,(function(i){return r=new o.Deferred,n.getDataInStorage(e,t,s).then((function(e){switch(e){case a.StorageEnum.STORAGE_UNDEFINED:case a.StorageEnum.NO_DATA_FOUND:r.resolve(null);break;case a.StorageEnum.INCORRECT_DATA:r.resolve(a.StorageEnum.INCORRECT_DATA);break;case a.StorageEnum.CAMPAIGN_PAUSED:r.resolve(null);break;case a.StorageEnum.VARIATION_NOT_FOUND:r.resolve(a.StorageEnum.VARIATION_NOT_FOUND);break;case a.StorageEnum.WHITELISTED_VARIATION:r.resolve(null);break;default:r.resolve(e)}})),[2,r.promise]}))}))},e.prototype.setDataInStorage=function(e,t,n){var r=new o.Deferred,i=e.featureKey,a=e.featureId,c=e.context,l=e.rolloutId,u=e.rolloutKey,d=e.rolloutVariationId,f=e.experimentId,p=e.experimentKey,m=e.experimentVariationId,h=e.isInHoldoutId,g=e.notInHoldoutId;return i?c.id?!u||p||d?p&&!m?(n.getLogManager().errorLog(`ERROR_STORING_DATA_IN_STORAGE`,{key:`Variation:(experimentKey or rolloutVariationId)`},{an:s.ApiEnum.GET_FLAG,uuid:c.getUuid(),sId:c.getSessionId()}),void r.reject()):(t.setDataInStorage({featureKey:i,featureId:a,userId:c.id,rolloutId:l,rolloutKey:u,rolloutVariationId:d,experimentId:f,experimentKey:p,experimentVariationId:m,isInHoldoutId:h,notInHoldoutId:g},n),r.resolve(),r.promise):(n.getLogManager().errorLog(`ERROR_STORING_DATA_IN_STORAGE`,{key:`Variation:(rolloutKey, experimentKey or rolloutVariationId)`},{an:s.ApiEnum.GET_FLAG,uuid:c.getUuid(),sId:c.getSessionId()}),void r.reject()):(n.getLogManager().errorLog(`ERROR_STORING_DATA_IN_STORAGE`,{key:`Context or Context.id`},{an:s.ApiEnum.GET_FLAG,uuid:c.getUuid(),sId:c.getSessionId()}),void r.reject()):(n.getLogManager().errorLog(`ERROR_STORING_DATA_IN_STORAGE`,{key:`featureKey`},{an:s.ApiEnum.GET_FLAG,uuid:c.getUuid(),sId:c.getSessionId()}),void r.reject())},e}()},3836:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FeatureModel=void 0;var r=n(9378),i=n(9094),a=n(324);t.FeatureModel=function(){function e(){this.m=[],this.metrics=[],this.rules=[],this.impactCampaign=null,this.isDebuggerEnabled=!1,this.rulesLinkedCampaign=[],this.isGatewayServiceRequired=!1}return e.prototype.modelFromDictionary=function(e){var t=this;if(this.id=e.id,this.key=e.key,this.name=e.name,this.type=e.type,e!=null&&e.isDebuggerEnabled&&(this.isDebuggerEnabled=e.isDebuggerEnabled),e!=null&&e.isGatewayServiceRequired&&(this.isGatewayServiceRequired=e.isGatewayServiceRequired),e.impactCampaign&&(this.impactCampaign=new r.ImpactCapmaignModel().modelFromDictionary(e.impactCampaign)),e.m&&e.m.constructor==={}.constructor||e.metrics?.constructor==={}.constructor?this.metrics=[]:(e.m||e.metrics)?.forEach((function(e){t.metrics.push(new i.MetricModel().modelFromDictionary(e))})),e?.rules?.constructor==={}.constructor?this.rules=[]:e.rules?.forEach((function(e){t.rules.push(new a.RuleModel().modelFromDictionary(e))})),e?.rulesLinkedCampaign&&e.rulesLinkedCampaign?.constructor!=={}.constructor){var n=e.rulesLinkedCampaign;this.rulesLinkedCampaign=n}return this},e.prototype.getName=function(){return this.name},e.prototype.getType=function(){return this.type},e.prototype.getId=function(){return this.id},e.prototype.getKey=function(){return this.key},e.prototype.getRules=function(){return this.rules},e.prototype.getImpactCampaign=function(){return this.impactCampaign},e.prototype.getRulesLinkedCampaign=function(){return this.rulesLinkedCampaign},e.prototype.setRulesLinkedCampaign=function(e){this.rulesLinkedCampaign=e},e.prototype.getMetrics=function(){return this.metrics},e.prototype.getIsGatewayServiceRequired=function(){return this.isGatewayServiceRequired},e.prototype.setIsGatewayServiceRequired=function(e){this.isGatewayServiceRequired=e},e.prototype.getIsDebuggerEnabled=function(){return this.isDebuggerEnabled},e}()},3890:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sendGetCall=function(e,t){c(r.HttpMethodEnum.GET,e,t)},t.sendPostCall=function(e,t){c(r.HttpMethodEnum.POST,e,t)};var r=n(8202),i=n(9693),a=n(5573),o=n(8667),s=function(){};
64function c(e,t,n){var c=t.requestModel,l=t.successCallback,u=l===void 0?s:l,d=t.errorCallback,f=d===void 0?s:d,p=c.getOptions(),m=0,h=p.retryConfig.shouldRetry,g=p.retryConfig.maxRetries;(function t(){var s=new a.ResponseModel,l=`${p.scheme}://${p.hostname}${p.path}`;p.port&&(l=`${p.scheme}://${p.hostname}:${p.port}${p.path}`);var d=p.body,_=p.headers||{},v=p.timeout,y=new XMLHttpRequest;function b(e){if(h&&m<g){var r=p.retryConfig.initialDelay*p.retryConfig.backoffMultiplier**+m*1e3;m++,n.errorLog(`ATTEMPTING_RETRY_FOR_FAILED_NETWORK_CALL`,{endPoint:l.split(`?`)[0],err:(0,o.getFormattedErrorMessage)(e),delay:r/1e3,attempt:m,maxRetries:g},{},!1),c.setLastError(e),setTimeout(t,r)}else String(p.path).includes(i.EventEnum.DEBUGGER_EVENT)||n.errorLog(`NETWORK_CALL_FAILURE_AFTER_MAX_RETRIES`,{extraData:l.split(`?`)[0],attempts:m,err:(0,o.getFormattedErrorMessage)(e)},{},!1),s.setTotalAttempts(m),s.setError((0,o.getFormattedErrorMessage)(e)),f(s)}for(var x in v&&(y.timeout=v),y.onload=function(){if(s.setStatusCode(y.status),y.status>=200&&y.status<300){var t=y.responseText;if(m>0&&(s.setTotalAttempts(m),s.setError(c.getLastError())),e===r.HttpMethodEnum.GET){var n=JSON.parse(t);s.setData(n),u(s)}else s.setData(t),u(s)}else y.status===400?(s.setTotalAttempts(m),s.setError(y.responseText),f(s)):b(y.statusText)},y.onerror=function(){b(`${y.statusText}, status: ${y.status}`)},v&&(y.ontimeout=function(){b(`Request timed out`)}),y.open(e,l,!0),_)x in _&&x!==`Content-Type`&&x!==`Content-Length`&&y.setRequestHeader(x,_[x]);e===r.HttpMethodEnum.POST&&typeof d!=`string`?y.send(JSON.stringify(d)):e===r.HttpMethodEnum.GET&&y.send()})()}},4019:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HeadersEnum=void 0,function(e){e.USER_AGENT=`X-Device-User-Agent`,e.IP=`VWO-X-Forwarded-For`}(n||(t.HeadersEnum=n={}))},4036:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalRequestModel=void 0;var r=n(5399);t.GlobalRequestModel=function(){function e(e,t,n,i){this.timeout=r.Constants.EVENTS_CALL_TIMEOUT,this.url=e,this.query=t,this.body=n,this.headers=i}return e.prototype.setQuery=function(e){this.query=e},e.prototype.getQuery=function(){return this.query},e.prototype.setBody=function(e){this.body=e},e.prototype.getBody=function(){return this.body},e.prototype.setBaseUrl=function(e){this.url=e},e.prototype.getBaseUrl=function(){return this.url},e.prototype.setTimeout=function(e){this.timeout=e},e.prototype.getTimeout=function(){return this.timeout},e.prototype.setHeaders=function(e){this.headers=e},e.prototype.getHeaders=function(){return this.headers},e.prototype.setDevelopmentMode=function(e){this.isDevelopmentMode=e},e.prototype.getDevelopmentMode=function(){return this.isDevelopmentMode},e}()},4076:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentOperatorValueEnum=void 0,function(e){e.AND=`and`,e.NOT=`not`,e.OR=`or`,e.CUSTOM_VARIABLE=`custom_variable`,e.USER=`user`,e.COUNTRY=`country`,e.REGION=`region`,e.CITY=`city`,e.OPERATING_SYSTEM=`os`,e.DEVICE_TYPE=`device_type`,e.DEVICE=`device`,e.BROWSER_AGENT=`browser_string`,e.UA=`ua`,e.FEATURE_ID=`featureId`,e.IP=`ip_address`,e.BROWSER_VERSION=`browser_version`,e.OS_VERSION=`os_version`,e.WEB_CAMPAIGN_VARIATION=`campaignVariation`}(n||(t.SegmentOperatorValueEnum=n={}))},4140:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}
vendor: 4,292 bytes, line 64
64,a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BatchEventsQueue=void 0;var o=n(5399),s=n(1359),c=n(8754),l=n(7128),u=a(n(9315)),d=n(7098),f=function(){function e(e,t){return e===void 0&&(e={}),this.queue=[],this.timer=null,this.isEdgeEnvironment=!1,this.logManager=t,(0,s.isBoolean)(e.isEdgeEnvironment)&&(this.isEdgeEnvironment=e.isEdgeEnvironment),(0,s.isNumber)(e.requestTimeInterval)&&e.requestTimeInterval>=1?this.requestTimeInterval=e.requestTimeInterval:(this.requestTimeInterval=o.Constants.DEFAULT_REQUEST_TIME_INTERVAL,this.isEdgeEnvironment||this.logManager.info((0,c.buildMessage)(l.InfoLogMessagesEnum.EVENT_BATCH_DEFAULTS,{parameter:`requestTimeInterval`,minLimit:0,defaultValue:this.requestTimeInterval.toString()}))),(0,s.isNumber)(e.eventsPerRequest)&&e.eventsPerRequest>0&&e.eventsPerRequest<=o.Constants.MAX_EVENTS_PER_REQUEST?this.eventsPerRequest=e.eventsPerRequest:e.eventsPerRequest>o.Constants.MAX_EVENTS_PER_REQUEST?(this.eventsPerRequest=o.Constants.MAX_EVENTS_PER_REQUEST,this.logManager.info((0,c.buildMessage)(l.InfoLogMessagesEnum.EVENT_BATCH_MAX_LIMIT,{parameter:`eventsPerRequest`,maxLimit:o.Constants.MAX_EVENTS_PER_REQUEST.toString()}))):(this.eventsPerRequest=o.Constants.DEFAULT_EVENTS_PER_REQUEST,this.logManager.info((0,c.buildMessage)(l.InfoLogMessagesEnum.EVENT_BATCH_DEFAULTS,{parameter:`eventsPerRequest`,minLimit:0,defaultValue:this.eventsPerRequest.toString()}))),this.flushCallback=(0,s.isFunction)(e.flushCallback)?e.flushCallback:function(){},this.accountId=e.accountId,this}return e.prototype.injectServiceContainer=function(e){this.serviceContainer=e},e.prototype.enqueue=function(e){this.queue.push(e),this.logManager.info((0,c.buildMessage)(l.InfoLogMessagesEnum.EVENT_QUEUE,{queueType:`batch`,event:JSON.stringify(e)})),this.isEdgeEnvironment||this.timer||this.createNewBatchTimer(),this.queue.length>=this.eventsPerRequest&&this.flush()},e.prototype.flush=function(){return r(this,arguments,void 0,(function(e){var t,n=this;return e===void 0&&(e=!1),i(this,(function(r){switch(r.label){case 0:return this.queue.length?(this.logManager.debug((0,c.buildMessage)(l.DebugLogMessagesEnum.EVENT_BATCH_BEFORE_FLUSHING,{manually:e?`manually`:``,length:this.queue.length,accountId:this.accountId,timer:e?`Timer will be cleared and registered again`:``})),t=e?this.queue.splice(0,this.queue.length):this.queue.splice(0,this.eventsPerRequest),[4,u.default.dispatch(this.serviceContainer,{ev:t},this.flushCallback,Object.assign({},{a:this.accountId,env:this.serviceContainer.getSettingsService().sdkKey,sn:d.SDKMetaUtil.getInstance().getSdkName(),sv:d.SDKMetaUtil.getInstance().getVersion()})).then((function(r){return r.status===`success`?(n.logManager.info((0,c.buildMessage)(l.InfoLogMessagesEnum.EVENT_BATCH_After_FLUSHING,{manually:e?`manually`:``,length:t.length})),r):(n.queue=t.concat(n.queue),r)})).catch((function(){return n.queue=t.concat(n.queue),{status:`error`,events:t}}))]):[3,2];case 1:return[2,r.sent()];case 2:return this.logManager.debug((0,c.buildMessage)(l.DebugLogMessagesEnum.BATCH_QUEUE_EMPTY)),[2,new Promise((function(e){e({status:`success`,events:[]})}))]}}))}))},e.prototype.createNewBatchTimer=function(){var e=this;this.timer=setTimeout((function(){return r(e,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return this.timer=null,[4,this.flush()];case 1:return e.sent(),this.queue.length&&this.createNewBatchTimer(),[2]}}))}))}),1e3*this.requestTimeInterval)},e.prototype.clearRequestTimer=function(){clearTimeout(this.timer),this.timer=null},e.prototype.flushAndClearTimer=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return this.isEdgeEnvironment||this.clearRequestTimer(),[4,this.flush(!0)];case 1:return[2,e.sent()]}}))}))},e}();t.BatchEventsQueue=f,t.default=f},4164:e=>{e.exports={}},4237:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ApiEnum=void 0,function(e){e.INIT=`init`,e.ON_INIT=`onInit`,e.GET_FLAG=`getFlag`,e.TRACK_EVENT=`trackEvent`,e.SET_ATTRIBUTE=`setAttribute`,e.FLUSH_EVENTS=`flushEvents`,e.UPDATE_SETTINGS=`updateSettings`,e.SET_ALIAS=`setAlias`,e.SHUTDOWN=`shutdown`}(n||(t.ApiEnum=n={}))},4273:(e,t)=>{var n;
64Object.defineProperty(t,"__esModule",{value:!0}),t.CampaignTypeEnum=void 0,function(e){e.ROLLOUT=`FLAG_ROLLOUT`,e.AB=`FLAG_TESTING`,e.PERSONALIZE=`FLAG_PERSONALIZE`}(n||(t.CampaignTypeEnum=n={}))},4580:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevelEnum=t.LogManager=void 0;var r=n(3293);Object.defineProperty(t,"LogManager",{enumerable:!0,get:function(){return r.LogManager}});var i=n(4940);Object.defineProperty(t,"LogLevelEnum",{enumerable:!0,get:function(){return i.LogLevelEnum}})},4782:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Deferred=function(){var e=this;return this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),this}},4808:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=`00000000-0000-0000-0000-000000000000`},4820:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogTransportManager=t.LogLevelNumberEnum=void 0;var r,i=n(4940),a=n(2752),o=n(1359),s=n(6325);(function(e){e[e.TRACE=0]=`TRACE`,e[e.DEBUG=1]=`DEBUG`,e[e.INFO=2]=`INFO`,e[e.WARN=3]=`WARN`,e[e.ERROR=4]=`ERROR`})(r||(t.LogLevelNumberEnum=r={})),t.LogTransportManager=function(){function e(e){this.transports=[],this.config=e,this.consoleTransport=new s.ConsoleTransport({level:e.level})}return e.prototype.addTransport=function(e){this.transports.push(e)},e.prototype.shouldLog=function(e,t){return r[e.toUpperCase()]>=r[(t||this.config.level).toUpperCase()]},e.prototype.trace=function(e){this.log(i.LogLevelEnum.TRACE,e)},e.prototype.debug=function(e){this.log(i.LogLevelEnum.DEBUG,e)},e.prototype.info=function(e){this.log(i.LogLevelEnum.INFO,e)},e.prototype.warn=function(e){this.log(i.LogLevelEnum.WARN,e)},e.prototype.error=function(e){this.log(i.LogLevelEnum.ERROR,e)},e.prototype.log=function(e,t){var n=new a.LogMessageBuilder(this.config,this.consoleTransport).formatMessage(e,t);this.config.level&&(this.transports.length===0||this.transports.length>0&&this.config.shouldLogToStandardOutput)&&this.shouldLog(e,this.config.level)&&this.consoleTransport[e](n);for(var r=0;r<this.transports.length;r++)this.shouldLog(e,this.transports[r].level)&&this.transports[r].log&&(0,o.isFunction)(this.transports[r].log)&&this.transports[r].log(e,t)},e}()},4940:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevelEnum=void 0,function(e){e.TRACE=`trace`,e.DEBUG=`debug`,e.INFO=`info`,e.WARN=`warn`,e.ERROR=`error`}(n||(t.LogLevelEnum=n={}))},4948:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(9025)),i=a(n(2311));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.default)(`v3`,48,i.default)},4990:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ServiceContainer=void 0;var i=n(6373),a=r(n(7675)),o=n(1359);t.ServiceContainer=function(){function e(e){this.BatchEventsQueue=null,this.pollingStopCallback=null,this.vwoOptions=e,this.HooksService=new a.default(this.vwoOptions),this.SegmentationManager=new i.SegmentationManager}return e.prototype.getLogManager=function(){return this.logManager},e.prototype.setLogManager=function(e){this.logManager=e},e.prototype.getSettingsService=function(){return this.SettingsService},e.prototype.setSettingsService=function(e){this.SettingsService=e},e.prototype.getHooksService=function(){return this.HooksService},e.prototype.getWingifyOptions=function(){return this.vwoOptions},e.prototype.getBatchEventsQueue=function(){return this.BatchEventsQueue},e.prototype.setBatchEventsQueue=function(e){this.BatchEventsQueue=e},e.prototype.getSegmentationManager=function(){return this.SegmentationManager},e.prototype.getSettings=function(){return this.SettingsModel},e.prototype.setSettings=function(e){this.SettingsModel=e},e.prototype.getUpdatedEndpointWithCollectionPrefix=function(e,t){return t===void 0&&(t=!1),t?e:this.SettingsModel&&e&&this.SettingsModel.getCollectionPrefix()&&(0,o.isString)(this.SettingsModel.getCollectionPrefix())?`/${this.SettingsModel.getCollectionPrefix()}${e}`:e},e.prototype.getNetworkManager=function(){return this.NetworkManager},e.prototype.setNetworkManager=function(e){this.NetworkManager=e},e.prototype.getStorageConnector=function(){return this.Storage?this.Storage.getConnector():null},e.prototype.setStorage=function(e){this.Storage=e},e.prototype.injectServiceContainer=function(e){this.SettingsService&&this.SettingsService.injectServiceContainer(e),this.NetworkManager&&this.NetworkManager.injectServiceContainer(e),this.BatchEventsQueue&&this.BatchEventsQueue.injectServiceContainer(e),this.logManager&&this.logManager.injectServiceContainer(e)},e.prototype.setShouldWaitForTrackingCalls=function(e){this.shouldWaitForTrackingCalls=e},e.prototype.getShouldWaitForTrackingCalls=function(){return this.shouldWaitForTrackingCalls},e.prototype.setPollingStopCallback=function(e){this.pollingStopCallback=e},e.prototype.stopPolling=function(){this.pollingStopCallback&&=(this.pollingStopCallback(),null)},e}()},5030:(e,t)=>
64{Object.defineProperty(t,"__esModule",{value:!0}),t.Connector=void 0,t.Connector=function(){}},5073:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(6140)),i=o(n(2858)),a=n(9910);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n){if(r.default.randomUUID&&!t&&!e)return r.default.randomUUID();let o=(e||={}).random||(e.rng||i.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n||=0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return(0,a.unsafeStringify)(o)}},5374:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=void 0,t.Logger=function(){}},5389:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.getUserId=function(e,t,n){return r(this,void 0,void 0,(function(){var r,c;return i(this,(function(i){switch(i.label){case 0:return t?n.getSettingsService().isGatewayServiceProvided?[4,a.AliasingUtil.getAlias(e,n)]:[3,2]:[3,4];case 1:return r=i.sent(),c=r.find((function(t){return t.aliasId===e})),n.getLogManager().info((0,s.buildMessage)(o.InfoLogMessagesEnum.ALIAS_ENABLED,{userId:c?.userId})),[2,c?.userId||e];case 2:return n.getLogManager().error((0,s.buildMessage)(o.ErrorLogMessagesEnum.INVALID_GATEWAY_URL)),[2,e];case 3:return[3,5];case 4:return[2,e];case 5:return[2]}}
64))}))};var a=n(7487),o=n(7128),s=n(8754)},5399:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0;var i,a,o=n(5520),s=n(2346);i={name:`vwo-fme-javascript-sdk`,version:r(n(3236)).default.version},a=o.PlatformEnum.CLIENT,t.Constants={SDK_NAME:i.name,SDK_VERSION:i.version,PLATFORM:a,MAX_TRAFFIC_PERCENT:100,MAX_TRAFFIC_VALUE:1e4,STATUS_RUNNING:`RUNNING`,SEED_VALUE:1,MAX_EVENTS_PER_REQUEST:5e3,DEFAULT_REQUEST_TIME_INTERVAL:3,DEFAULT_EVENTS_PER_REQUEST:100,SEED_URL:s.SEED_URL,HTTP_PROTOCOL:s.HTTP_PROTOCOL,HTTPS_PROTOCOL:s.HTTPS_PROTOCOL,SETTINGS:`settings`,SETTINGS_EXPIRY:1e7,SETTINGS_TIMEOUT:5e4,EVENTS_CALL_TIMEOUT:1e4,SETTINGS_TTL:72e5,ALWAYS_USE_CACHED_SETTINGS:!1,MIN_TTL_MS:6e4,HOST_NAME:`dev.visualwebsiteoptimizer.com`,COLLECTION_HOST_NAME:`dev.visualwebsiteoptimizer.com`,SETTINGS_ENDPOINT:`/server-side/v2-settings`,WEBHOOK_SETTINGS_ENDPOINT:`/server-side/v2-pull`,LOCATION_ENDPOINT:`/getLocation`,FS_ENVIRONMENT_KEY:`vwo_fs_environment`,RANDOM_ALGO:1,API_VERSION:`1`,META_MEG_KEY:`_vwo_meta_meg_`,DEFAULT_RETRY_CONFIG:{shouldRetry:!0,initialDelay:2,maxRetries:3,backoffMultiplier:2},DEFAULT_SETTINGS_STORAGE_KEY:`vwo_fme_settings`,POLLING_INTERVAL:6e5,PRODUCT_NAME:`fme`,BRAND_DISPLAY_NAME:`VWO`,LOG_PREFIX:`VWO-SDK`,LOGGER_NAME:`VWO Logger`,SETTINGS_MANAGER_NAME:`VWO Settings Manager`,NETWORK_LAYER_NAME:`VWO Network Layer`,LOCAL_STORAGE_NAME:`VWO Local Storage`,SESSION_STORAGE_NAME:`VWO Session Storage`,SETTINGS_FETCH_ERROR:`VWO settings could not be fetched`,V2_SETTINGS:`v2-settings`,POLLING:`polling`,BATCH_EVENTS:`batch-events`,STORAGE:`storage`,FLAG_DECISION_GIVEN:`FLAG_DECISION_GIVEN`,NETWORK_CALL_FAILURE_AFTER_MAX_RETRIES:`NETWORK_CALL_FAILURE_AFTER_MAX_RETRIES`,NETWORK_CALL_SUCCESS_WITH_RETRIES:`NETWORK_CALL_SUCCESS_WITH_RETRIES`,IMPACT_ANALYSIS:`IMPACT_ANALYSIS`,VARIATION_IS_PART_OF_HOLDOUT:1,VARIATION_NOT_PART_OF_HOLDOUT:2,DEFAULT_HTTPS_AGENT:{keepAlive:!0,maxSockets:100,maxFreeSockets:20,timeout:6e4},MIN_SOCKETS:50,MIN_FREE_SOCKETS:10,MIN_TIMEOUT:3e4}},5520:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.PlatformEnum=void 0,function(e){e.CLIENT=`client`,e.SERVER=`server`}(n||(t.PlatformEnum=n={}))},5573:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseModel=void 0;var r=n(8667);t.ResponseModel=function(){function e(){}return e.prototype.setStatusCode=function(e){this.statusCode=e},e.prototype.setHeaders=function(e){this.headers=e},e.prototype.setData=function(e){this.data=e},e.prototype.setError=function(e){this.error=(0,r.getFormattedErrorMessage)(e)},e.prototype.getHeaders=function(){return this.headers},e.prototype.getData=function(){return this.data},e.prototype.getStatusCode=function(){return this.statusCode},e.prototype.getError=function(){return this.error},e.prototype.setTotalAttempts=function(e){this.totalAttempts=e},e.prototype.getTotalAttempts=function(){return this.totalAttempts},e}()},5623:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HoldoutModel=void 0;var r=n(9094);t.HoldoutModel=function(){function e(){this.segments={},this.featureIds=[],this.m=[],this.metrics=[],this.isGatewayServiceRequired=!1,this.name=``}return e.prototype.modelFromDictionary=function(e){var t=this;return e?(this.id=e.id,this.segments=e.segments||{},this.percentTraffic=e.percentTraffic||0,this.isGlobal=!!e.isGlobal,this.featureIds=Array.isArray(e.featureIds)?e.featureIds:[],this.name=e.name||``,e!=null&&e.isGatewayServiceRequired&&(this.isGatewayServiceRequired=e.isGatewayServiceRequired),e.m&&e.m.constructor==={}.constructor||e.metrics?.constructor==={}.constructor?this.metrics=[]:(e.m||e.metrics)?.forEach((function(e){t.metrics.push(new r.MetricModel().modelFromDictionary(e))})),this):this},e.prototype.getId=function(){return this.id},e.prototype.getSegments=function(){return this.segments||{}},e.prototype.getPercentTraffic=function(){return this.percentTraffic},e.prototype.getIsGlobal=function(){return this.isGlobal},e.prototype.getFeatureIds=function(){return this.featureIds},e.prototype.getMetrics=function(){return this.metrics},e.prototype.getIsGatewayServiceRequired=function(){return this.isGatewayServiceRequired},e.prototype.setIsGatewayServiceRequired=function(e){this.isGatewayServiceRequired=e},e.prototype.getName=function(){return this.name},e.prototype.setName=function(e){this.name=e},e}()},6130:(e,t,n)=>
64{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsModel=void 0;var r=n(2144),i=n(3836),a=n(5623);t.SettingsModel=function(){function e(e){var t=this;return this.f=[],this.features=[],this.c=[],this.campaigns=[],this.campaignGroups={},this.cG={},this.groups={},this.g={},this.holdouts=[],this.sdkKey=e.sK||e.sdkKey,this.accountId=e.a||e.accountId,this.version=e.v||e.version,this.collectionPrefix=e.collectionPrefix,this.usageStatsAccountId=e.usageStatsAccountId,e.devMode&&(this.devMode=e.devMode),(e.f&&e.f.constructor!=={}.constructor||e.features&&e.features.constructor!=={}.constructor)&&(e.f||e.features).forEach((function(e){t.features.push(new i.FeatureModel().modelFromDictionary(e))})),(e.c&&e.c.constructor!=={}.constructor||e.campaigns&&e.campaigns.constructor!=={}.constructor)&&(e.c||e.campaigns).forEach((function(e){t.campaigns.push(new r.CampaignModel().modelFromDictionary(e))})),(e.cG||e.campaignGroups)&&(this.campaignGroups=e.cG||e.campaignGroups),(e.g||e.groups)&&(this.groups=e.g||e.groups),e.pollInterval&&(this.pollInterval=e.pollInterval),e.isWebConnectivityEnabled&&(this.isWebConnectivityEnabled=e.isWebConnectivityEnabled),e.isMAU!==void 0&&(this.isMAU=e.isMAU),Array.isArray(e.holdouts)&&e.holdouts.forEach((function(e){t.holdouts.push(new a.HoldoutModel().modelFromDictionary(e))})),this}return e.prototype.getFeatures=function(){return this.features},e.prototype.getCampaigns=function(){return this.campaigns},e.prototype.getSdkkey=function(){return this.sdkKey},e.prototype.getAccountId=function(){return this.accountId},e.prototype.getVersion=function(){return this.version},e.prototype.getCollectionPrefix=function(){return this.collectionPrefix},e.prototype.getCampaignGroups=function(){return this.campaignGroups},e.prototype.getGroups=function(){return this.groups},e.prototype.setPollInterval=function(e){this.pollInterval=e},e.prototype.getPollInterval=function(){return this.pollInterval},e.prototype.getUsageStatsAccountId=function(){return this.usageStatsAccountId},e.prototype.getIsWebConnectivityEnabled=function(){return this.isWebConnectivityEnabled},e.prototype.getHoldouts=function(){return Array.isArray(this.holdouts)?this.holdouts:[]},e.prototype.getDevMode=function(){return!0===this.devMode},e.prototype.getIsTrackingUsageEnabled=function(){return!0===this.isMAU},e}()},6140:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={randomUUID:typeof crypto<`u`&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},6149:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextWingifyModel=void 0,t.ContextWingifyModel=function(){function e(){}return e.prototype.modelFromDictionary=function(e){return e!=null&&e.location&&(this.location=e.location),e!=null&&e.userAgent&&(this.userAgent=e.userAgent),this},e.prototype.getLocation=function(){return this.location},e.prototype.getUaInfo=function(){return this.userAgent},e}()},6195:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};
64Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateRule=void 0;var a=n(1359),o=n(2245),s=n(8925),c=n(9693);t.evaluateRule=function(e,t,n,l,u,d,f,p){return r(void 0,void 0,void 0,(function(){var r,m,h,g;return i(this,(function(i){switch(i.label){case 0:return r=null,[4,(0,o.checkWhitelistingAndPreSeg)(e,t,n,l,u,d,f,p)];case 1:return m=i.sent(),h=m[0],g=m[1],h&&(0,a.isObject)(g)&&Object.keys(g).length>0&&(Object.assign(p,{experimentId:n.getId(),experimentKey:n.getKey(),experimentVariationId:g.variationId}),r=(0,s.getTrackUserPayloadData)(e,c.EventEnum.VARIATION_SHOWN,n.getId(),g.variation.id,l)),[2,{preSegmentationResult:h,whitelistedObject:g,updatedDecision:p,payload:r}]}}))}))}},6306:e=>{function t(e){var t=Error(`Cannot find module '`+e+`'`);throw t.code=`MODULE_NOT_FOUND`,t}t.keys=()=>[],t.resolve=t,t.id=6306,e.exports=t},6325:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleTransport=void 0;var r=n(4940);t.ConsoleTransport=function(){function e(e){e===void 0&&(e={}),this.config=e,this.level=this.config.level}return e.prototype.trace=function(e){this.consoleLog(r.LogLevelEnum.TRACE,e)},e.prototype.debug=function(e){this.consoleLog(r.LogLevelEnum.DEBUG,e)},e.prototype.info=function(e){this.consoleLog(r.LogLevelEnum.INFO,e)},e.prototype.warn=function(e){this.consoleLog(r.LogLevelEnum.WARN,e)},e.prototype.error=function(e){this.consoleLog(r.LogLevelEnum.ERROR,e)},e.prototype.consoleLog=function(e,t){console[e](t)},e}()},6373:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentationManager=void 0;var a=n(8011),o=n(2898),s=n(9528),c=n(6149),l=n(1359),u=n(4237),d=n(8667),f=n(9750),p=n(4076);t.SegmentationManager=function(){function e(){this.evaluator=new a.SegmentEvaluator}return e.prototype.setContextualData=function(e,t,n){return r(this,void 0,void 0,(function(){var r,a,p,m,h,g,_;return i(this,(function(i){switch(i.label){case 0:if(this.evaluator.serviceContainer=e,this.evaluator.context=n,this.evaluator.feature=t,this.evaluator.segmentOperandEvaluator=new f.SegmentOperandEvaluator(e),n?.getUserAgent()===null&&n?.getIpAddress()===null)return[2];if(r=e.getSettings(),a=r.getHoldouts()||[],p=a.filter((function(e){return!0===e.getIsGatewayServiceRequired()})).length>0,!0!==t.getIsGatewayServiceRequired()&&!p||!e.getSettingsService().isGatewayServiceProvided||!(0,l.isUndefined)(n.getVwo())&&n.getVwo()!==null)return[3,4];m={},n!=null&&n.getUserAgent()&&(m.userAgent=n.getUserAgent()),n!=null&&n.getIpAddress()&&(m.ipAddress=n.getIpAddress()),i.label=1;case 1:return i.trys.push([1,3,,4]),h=(0,o.getQueryParams)(m),[4,(0,o.getFromGatewayService)(e,h,s.UrlEnum.GET_USER_DATA,n)];case 2:return g=i.sent(),n.setVwo(new c.ContextWingifyModel().modelFromDictionary(g)),this.evaluator.context=n,[3,4];case 3:return _=i.sent(),e.getLogManager().errorLog(`ERROR_SETTING_SEGMENTATION_CONTEXT`,{err:(0,d.getFormattedErrorMessage)(_)},{an:u.ApiEnum.GET_FLAG,uuid:n.getUuid(),sId:n.getSessionId()}),[3,4];case 4:return[2]}}
64))}))},e.prototype.validateSegmentation=function(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){switch(n.label){case 0:return this.hasCampaignVariationNode(e)&&!this.evaluator.context?.getPlatformVariables()?.webTestingCampaigns?[2,!1]:[4,this.evaluator.isSegmentationValid(e,t)];case 1:return[2,n.sent()]}}))}))},e.prototype.hasCampaignVariationNode=function(e){if(!(0,l.isObject)(e))return!1;for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];if(r===p.SegmentOperatorValueEnum.WEB_CAMPAIGN_VARIATION)return!0;var i=e[r];if(Array.isArray(i))for(var a=0,o=i;a<o.length;a++){var s=o[a];if(this.hasCampaignVariationNode(s))return!0}else if((0,l.isObject)(i)&&this.hasCampaignVariationNode(i))return!0}return!1},e}()},6449:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WingifyClient=void 0;var o=n(6612),s=n(8164),c=n(977),l=n(7128),u=n(9846),d=n(9752),f=n(1359),p=n(8754),m=n(4782),h=n(362),g=n(2365),_=n(4237),v=n(7487),y=n(5389),b=n(1359),x=n(8667),S=n(1114),C=n(7241),w=n(8792),T=n(1720),E=n(7098);t.WingifyClient=function(){function e(e,t,n){this.isShutdown=!1;try{this.options=t,this.serviceContainer=n,this.isSettingsValid=new u.SettingsSchema().isSettingsValid(e),this.isAliasingEnabled=t.isAliasingEnabled||!1,this.isSettingsValid&&!this.serviceContainer.getSettingsService().isSettingsProvidedInInit?this.serviceContainer.getLogManager().info((0,p.buildMessage)(l.InfoLogMessagesEnum.SETTINGS_FETCH_SUCCESS)):!this.isSettingsValid&&this.options.settings&&this.serviceContainer.getLogManager().errorLog(`INVALID_SETTINGS_SCHEMA`,{},{an:_.ApiEnum.INIT},!1),(0,h.setSettingsAndAddCampaignsToRules)(e,this,this.serviceContainer.getLogManager()),this.serviceContainer.setSettings(this.settings),this.serviceContainer.injectServiceContainer(this.serviceContainer),this.serviceContainer.setShouldWaitForTrackingCalls(this.options.shouldWaitForTrackingCalls||!1),this.serviceContainer.getLogManager().info((0,p.buildMessage)(l.InfoLogMessagesEnum.CLIENT_INITIALIZED)),this.wingifyClientInstance=this;var r=new C.UsageStatsUtil(this.options);return this.sendSdkInitAndUsageStatsEvents(r),new E.SDKMetaUtil(this.options),this}catch(e){this.serviceContainer.getLogManager().errorLog(`EXECUTION_FAILED`,{apiName:_.ApiEnum.INIT,err:(0,x.getFormattedErrorMessage)(e)},{an:_.ApiEnum.INIT},!1)}}return e.prototype.sendSdkInitAndUsageStatsEvents=function(e){return i(this,void 0,void 0,(function(){var t,n,r,i;return a(this,(function(a){switch(a.label){case 0:return a.trys.push([0,7,,8]),t=this.serviceContainer.getSettingsService().settingsFetchTime,this.serviceContainer.getSettingsService().isSettingsProvi
64dedInInit&&(t=0),n=Date.now()-this.serviceContainer.getSettingsService().startTimeForInit,!this.isSettingsValid||this.originalSettings?.sdkMetaInfo?.wasInitializedEarlier?[3,3]:this.options.shouldWaitForTrackingCalls?[4,(0,S.sendSdkInitEvent)(t,n,this.serviceContainer)]:[3,2];case 1:return a.sent(),[3,3];case 2:(0,S.sendSdkInitEvent)(t,n,this.serviceContainer),a.label=3;case 3:return(r=this.originalSettings?.usageStatsAccountId)?this.options.shouldWaitForTrackingCalls?[4,(0,S.sendSDKUsageStatsEvent)(r,this.serviceContainer,e)]:[3,5]:[3,6];case 4:return a.sent(),[3,6];case 5:(0,S.sendSDKUsageStatsEvent)(r,this.serviceContainer,e),a.label=6;case 6:return[3,8];case 7:return i=a.sent(),this.serviceContainer.getLogManager().error((0,p.buildMessage)(l.ErrorLogMessagesEnum.SDK_INIT_EVENT_FAILED,{err:(0,x.getFormattedErrorMessage)(i)})),[3,8];case 8:return[2]}}))}))},e.prototype.getFlag=function(e,t){return i(this,void 0,void 0,(function(){var n,i,s,c,u,h,v,S,C;return a(this,(function(a){switch(a.label){case 0:n=_.ApiEnum.GET_FLAG,i=new m.Deferred;try{this.serviceContainer.getLogManager().debug((0,p.buildMessage)(l.DebugLogMessagesEnum.API_CALLED,{apiName:n})),s=this.getUUIDFromContext(t,n)}catch(e){return this.serviceContainer.getLogManager().errorLog(`EXECUTION_FAILED`,{apiName:n,err:(0,x.getFormattedErrorMessage)(e)},{an:_.ApiEnum.GET_FLAG}),i.resolve(new o.Flag(!1,t?.sessionId??(0,x.getCurrentUnixTimestamp)(),null,new g.VariationModel)),[2,i.promise]}c=new o.Flag(!1,t?.sessionId??(0,x.getCurrentUnixTimestamp)(),s,new g.VariationModel),a.label=1;case 1:if(a.trys.push([1,3,,4]),!(0,f.isString)(e))throw this.serviceContainer.getLogManager().errorLog(`INVALID_PARAM`,{apiName:n,key:`featureKey`,type:(0,f.getType)(e),correctType:`string`},{an:_.ApiEnum.GET_FLAG},!1),TypeError(`TypeError: featureKey should be a string, got `+(0,f.getType)(e));if(!this.isSettingsValid)throw this.serviceContainer.getLogManager().errorLog(`INVALID_SETTINGS_SCHEMA`,{},{an:_.ApiEnum.GET_FLAG},!1),Error(`TypeError: Invalid Settings`);if(!t||!t.id)throw this.serviceContainer.getLogManager().errorLog(`INVALID_CONTEXT_PASSED`,{},{an:_.ApiEnum.GET_FLAG},!1),TypeError(`TypeError: Invalid context`);return[4,(0,y.getUserId)(t.id,this.isAliasingEnabled,this.serviceContainer)];case 2:return u=a.sent(),(h=r({},t)).id=u,h.id===t.id?h.uuid=s:h.uuid=this.getUUIDFromContext(h,n),`bucketingSeed`in h&&((v=h.bucketingSeed)==null||(0,f.isNumber)(v)||(0,f.isObject)(v)||(0,b.isArray)(v)||(0,f.isString)(v)&&v.trim().length===0)&&(this.serviceContainer.getLogManager().errorLog(`INVALID_BUCKETING_SEED`,{apiName:n,type:(0,f.getType)(v)},{an:_.ApiEnum.GET_FLAG},!1),delete h.bucketingSeed),S=new d.ContextModel().modelFromDictionary(h,this.options),o.FlagApi.get(e,S,this.serviceContainer).then((function(e){i.resolve(e)})).catch((function(){i.resolve(c)})),[3,4];case 3:return C=a.sent(),this.serviceContainer.getLogManager().errorLog(`EXECUTION_FAILED`,{apiName:n,err:(0,x.getFormattedErrorMessage)(C)},{an:_.ApiEnum.GET_FLAG}),i.resolve(c),[3,4];case 4:return[2,i.promise]}}))}))},e.prototype.trackEvent=function(e,t){return i(this,arguments,void 0,(function(e,t,n){var i,o,s,u,h,g,v;return n===void 0&&(n={}),a(this,(function(a){switch(a.label){case 0:i=_.ApiEnum.TRACK_EVENT,o=new m.Deferred,a.label=1;case 1:if(a.trys.push([1,3,,4]),this.serviceContainer.getLogManager().debug((0,p.buildMessage)(l.DebugLogMessagesEnum.API_CALLED,{apiName:i})),!(0,f.isString)(e))throw this.serviceContainer.getLogManager().errorLog(`INVALID_PARAM`,{apiName:i,key:`eventName`,type:(0,f.getType)(e),correctType:`string`},{an:_.ApiEnum.TRACK_EVENT},!1),TypeError(`TypeError: Event-name should be a string, got `+(0,f.getType)(e));if(!(0,f.isObject)(n))throw this.serviceContainer.getLogManager().errorLog(`INVALID_PARAM`,{apiName:i,key:`eventProperties`,type:(0,f.getType)(n),correctType:`object`},{an:_.ApiEnum.TRACK_EVENT},!1),TypeError(`TypeError: eventProperties should be an object, got `+(0,f.getType)(n));if(!this.isSettingsValid)throw this.serviceContainer.getLogManager().errorLog(`INVALID_SETTINGS_SCHEMA`,{},{an:_.ApiEnum.TRACK_EVENT},!1),Error(`TypeError: Invalid Settings`);if(!t||!t.id)throw this.serviceContainer.getLogManager().errorLog(`INVALID_CONTEXT_PASSED`,{},{an:_.ApiEnum.TRACK_EVENT},!1),TypeError(`TypeError: Invalid context`);return[4,(0,y.getUserId)(t.id,this.isAliasingEnabled,this.serviceContainer)];case 2:return s=a.sent(),(u=r({},t)).id=s,u.uuid=this.getUUIDFromContext(u,i),h=new d.ContextModel().modelFromDictionary(u,this.options),new c.TrackApi().track(this.serviceContainer,e,h,n).then((function(e){o.resolve(e)})).catch((function(){var t;o.resolve(((t={})[e]=!1,t))})),[3,4];case 3:return g=a.sent(),this.serviceContainer.getLogManager().errorLog(`EXECUTION_FAILED`,{apiName:i,err:(0,x.getFormattedErrorMessage)(g)},{an:_.ApiEnum.TRACK_EVENT}),o.resolve(((v={})[e]=!1,v)),[3,4];case 4:return[2,o.promise]}}))}))},e.prototype.setAttribute=function(e,t,n){return i(this,void 0,void 0,(function(){var i,o,c,u,m,h,g,v,b,S;return a(this,(function(a){switch(a.label){case 0:i=_.ApiEnum.SET_ATTRIBUTE,a.label=1;case 1:if(a.trys.push([1,8,,9]),!(0,f.isObject)(e))return[3,4];if(this.serviceContainer.getLogManager().debug((0,p.buildMessage)(l.DebugLogMessagesEnum.API_CALLED,{apiName:i})),Object.entries(e).length<1)throw TypeError(`TypeError: Attributes should be an object c
64ontaining at least 1 key-value pair`);if(o=e,!(0,f.isObject)(o))throw TypeError(`TypeError: attributes should be an object containing key-value pairs`);if(Object.entries(o).forEach((function(e){var t=e[0],n=e[1];if(typeof n!=`boolean`&&typeof n!=`string`&&typeof n!=`number`)throw TypeError(`Invalid attribute type for key "${t}". Expected boolean, string or number, but got ${(0,f.getType)(n)}`);if(Array.isArray(n)||typeof n==`object`&&n)throw TypeError(`Invalid attribute value for key "${t}". Arrays and objects are not supported.`)})),!n&&t&&(n=t),!n||!n.id)throw this.serviceContainer.getLogManager().errorLog(`INVALID_CONTEXT_PASSED`,{},{an:_.ApiEnum.SET_ATTRIBUTE},!1),TypeError(`TypeError: Invalid context`);return[4,(0,y.getUserId)(n.id,this.isAliasingEnabled,this.serviceContainer)];case 2:return m=a.sent(),(h=r({},n)).id=m,h.uuid=this.getUUIDFromContext(h,i),g=new d.ContextModel().modelFromDictionary(h,this.options),[4,new s.SetAttributeApi().setAttribute(this.serviceContainer,o,g)];case 3:return a.sent(),[3,7];case 4:if(c=e,u=t,!(0,f.isString)(c))throw TypeError(`attributeKey should be a string`);if(!(0,f.isBoolean)(u)&&!(0,f.isString)(u)&&!(0,f.isNumber)(u))throw TypeError(`attributeValue should be a boolean, string, or number`);if(!n||!n.id)throw TypeError(`Invalid context`);return[4,(0,y.getUserId)(n.id,this.isAliasingEnabled,this.serviceContainer)];case 5:return m=a.sent(),(h=r({},n)).id=m,g=new d.ContextModel().modelFromDictionary(h,this.options),(S={})[c]=u,v=S,[4,new s.SetAttributeApi().setAttribute(this.serviceContainer,v,g)];case 6:a.sent(),a.label=7;case 7:return[3,9];case 8:return b=a.sent(),this.serviceContainer.getLogManager().errorLog(`EXECUTION_FAILED`,{apiName:i,err:(0,x.getFormattedErrorMessage)(b)},{an:_.ApiEnum.SET_ATTRIBUTE}),[3,9];case 9:return[2]}}
64))}))},e.prototype.updateSettings=function(e){return i(this,arguments,void 0,(function(e,t){var n,r,i,o,s;return t===void 0&&(t=!0),a(this,(function(a){switch(a.label){case 0:n=_.ApiEnum.UPDATE_SETTINGS,a.label=1;case 1:return a.trys.push([1,5,,6]),this.serviceContainer.getLogManager().debug((0,p.buildMessage)(l.DebugLogMessagesEnum.API_CALLED,{apiName:n})),e&&Object.keys(e).length!==0?[3,3]:[4,this.serviceContainer.getSettingsService().fetchSettings(t,n)];case 2:return i=a.sent(),[3,4];case 3:i=e,a.label=4;case 4:if(r=i,o=this.serviceContainer.getSettingsService().normalizeSettings(r),!new u.SettingsSchema().isSettingsValid(o))throw Error(`TypeError: Invalid Settings schema`);return(0,h.setSettingsAndAddCampaignsToRules)(o,this.wingifyClientInstance,this.serviceContainer.getLogManager()),this.serviceContainer.setSettings(this.wingifyClientInstance.settings),this.serviceContainer.injectServiceContainer(this.serviceContainer),this.serviceContainer.getLogManager().info((0,p.buildMessage)(l.InfoLogMessagesEnum.SETTINGS_UPDATED,{apiName:n,isViaWebhook:t})),[3,6];case 5:return s=a.sent(),this.serviceContainer.getLogManager().errorLog(`UPDATING_CLIENT_INSTANCE_FAILED_WHEN_WEBHOOK_TRIGGERED`,{apiName:n,isViaWebhook:t,err:(0,x.getFormattedErrorMessage)(s)},{an:_.ApiEnum.UPDATE_SETTINGS}),[3,6];case 6:return[2]}}
64))}))},e.prototype.flushEvents=function(){return i(this,void 0,void 0,(function(){var e,t,n,r,i,o,s,c=this;return a(this,(function(a){switch(a.label){case 0:e=_.ApiEnum.FLUSH_EVENTS,a.label=1;case 1:return a.trys.push([1,3,,4]),this.serviceContainer.getLogManager().debug((0,p.buildMessage)(l.DebugLogMessagesEnum.API_CALLED,{apiName:e})),this.serviceContainer.getBatchEventsQueue()?(t=[this.serviceContainer.getBatchEventsQueue().flushAndClearTimer()],(i=this.options)!=null&&i.edgeConfig&&Object.keys(this.options.edgeConfig).length>0&&(o=this.options)!=null&&o.accountId&&(s=this.options)!=null&&s.sdkKey&&(n=new w.StorageService(this.serviceContainer),t.push(n.setFreshSettingsInStorage(parseInt(this.options.accountId),this.options.sdkKey).catch((function(e){c.serviceContainer.getLogManager().errorLog(`ERROR_STORING_SETTINGS_IN_STORAGE`,{err:(0,x.getFormattedErrorMessage)(e)},{an:_.ApiEnum.FLUSH_EVENTS})})))),[4,Promise.all(t)]):(this.serviceContainer.getLogManager().errorLog(`BATCHING_NOT_ENABLED`,{},{an:_.ApiEnum.FLUSH_EVENTS}),[2,{status:`error`,events:[]}]);case 2:return[2,a.sent()[0]];case 3:return r=a.sent(),this.serviceContainer.getLogManager().errorLog(`EXECUTION_FAILED`,{apiName:e,err:(0,x.getFormattedErrorMessage)(r)},{an:_.ApiEnum.FLUSH_EVENTS}),[2,{status:`error`,events:[]}];case 4:return[2]}}
64))}))},e.prototype.setAlias=function(e,t){return i(this,void 0,void 0,(function(){var n,r,i;return a(this,(function(a){switch(a.label){case 0:n=_.ApiEnum.SET_ALIAS,a.label=1;case 1:if(a.trys.push([1,3,,4]),this.serviceContainer.getLogManager().debug((0,p.buildMessage)(l.DebugLogMessagesEnum.API_CALLED,{apiName:n})),!this.isAliasingEnabled)return this.serviceContainer.getLogManager().errorLog(`ALIAS_CALLED_BUT_NOT_PASSED`,{},{an:_.ApiEnum.SET_ALIAS}),[2,!1];if(!this.serviceContainer.getSettingsService().isGatewayServiceProvided)return this.serviceContainer.getLogManager().errorLog(`INVALID_GATEWAY_URL`,{},{an:_.ApiEnum.SET_ALIAS}),[2,!1];if(!t)throw TypeError(`TypeError: Invalid aliasId`);if((0,b.isArray)(t))throw TypeError(`TypeError: aliasId cannot be an array`);if(t=t.trim(),r=void 0,typeof e==`string`){if((e=e.trim())===t)throw TypeError(`UserId and aliasId cannot be the same.`);if(!e)throw TypeError(`TypeError: Invalid userId`);if((0,b.isArray)(e))throw TypeError(`TypeError: userId cannot be an array`);r=e}else{if(!e||!e.id)throw TypeError(`TypeError: Invalid context`);if((0,b.isArray)(e.id))throw TypeError(`TypeError: context.id cannot be an array`);if(e.id=e.id.trim(),e.id===t)throw TypeError(`UserId and aliasId cannot be the same.`);r=e.id}return[4,v.AliasingUtil.setAlias(r,t,this.serviceContainer)];case 2:return a.sent(),[2,!0];case 3:return i=a.sent(),this.serviceContainer.getLogManager().errorLog(`EXECUTION_FAILED`,{apiName:n,err:(0,x.getFormattedErrorMessage)(i)},{an:_.ApiEnum.SET_ALIAS}),[2,!1];case 4:return[2]}}
64))}))},e.prototype.getUUIDFromContext=function(e,t){if(!1!==this.settings.getIsWebConnectivityEnabled()){if((0,T.isWebUuid)(e?.id))return this.serviceContainer.getLogManager().debug((0,p.buildMessage)(l.DebugLogMessagesEnum.WEB_UUID_FOUND,{apiName:t,uuid:e.id})),e.id;if(!0===e?.useIdForWeb)throw Error(`UUID passed in context.id is not a valid UUID`);return(0,T.getUUID)((e?.id)?.toString()??`${this.options?.accountId}_${this.options?.sdkKey}`,(this.options?.accountId)?.toString())}return(0,T.getUUID)((e?.id)?.toString()??`${this.options?.accountId}_${this.options?.sdkKey}`,(this.options?.accountId)?.toString())},e.prototype.shutdown=function(){return i(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return t.trys.push([0,4,,5]),this.serviceContainer.getLogManager().debug((0,p.buildMessage)(l.DebugLogMessagesEnum.API_CALLED,{apiName:_.ApiEnum.SHUTDOWN})),this.isShutdown?(this.serviceContainer.getLogManager().info((0,p.buildMessage)(l.InfoLogMessagesEnum.SHUTDOWN_ALREADY_COMPLETED)),[2]):(this.isShutdown=!0,this.serviceContainer.stopPolling(),this.serviceContainer.getBatchEventsQueue()?[4,this.flushEvents()]:[3,2]);case 1:return t.sent(),this.serviceContainer.getLogManager().info((0,p.buildMessage)(l.InfoLogMessagesEnum.SHUTDOWN_COMPLETED_WITH_FLUSH)),this.serviceContainer.setBatchEventsQueue(null),[3,3];case 2:this.serviceContainer.getLogManager().info((0,p.buildMessage)(l.InfoLogMessagesEnum.SHUTDOWN_COMPLETED_WITHOUT_FLUSH)),t.label=3;case 3:return[3,5];case 4:return e=t.sent(),this.serviceContainer.getLogManager().errorLog(`EXECUTION_FAILED`,{apiName:_.ApiEnum.SHUTDOWN,err:(0,x.getFormattedErrorMessage)(e)},{an:_.ApiEnum.SHUTDOWN}),[3,5];case 5:return[2]}}
64))}))},e}()},6612:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},o=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||=Array.prototype.slice.call(t,0,i),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.FlagApi=t.Flag=void 0;var s=n(3780),c=n(4237),l=n(4273),u=n(7128),d=n(2144),f=n(502),p=n(2365),m=n(4580),h=n(8792),g=n(9181),_=n(1359),v=n(2245),y=n(8667),b=n(8754),x=n(4782),S=n(6195),C=n(8205),w=n(3368),T=n(5399),E=n(8824),D=n(162),O=n(9693),k=n(8925),A=function(){function e(e,t,n,r){this.enabled=e,this.variation=r,this.sessionId=t,this.uuid=n}return e.prototype.isEnabled=function(){return this.enabled},e.prototype.getSessionId=function(){return this.sessionId},e.prototype.getUUID=function(){return this.uuid},e.prototype.getVariables=function(){return this.variation?.getVariables()||[]},e.prototype.getVariable=function(e,t){var n=(this.variation?.getVariables().find((function(t){return f.VariableModel.modelFromDictionary(t).getKey()===e})))?.getValue();return n===void 0?t:n},e}();t.Flag=A;var ee=function(){function e(){}return e.get=function(e,t,n){return i(this,void 0,void 0,(function(){var i,f,ee,re,ie,ae,oe,se,ce,le,ue,j,M,N,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,P,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,F,I,ot;return a(this,(function(a){switch(a.label){case 0:return i=!1,f=null,ee=null,re=!1,ie={},ae=new x.Deferred,oe=new Map,se=[],ce=[],le=!0===((I=n.getSettings())?.getDevMode)?.call(I),ue=!0===(t?.getIsDevMode)?.call(t),j=le&&ue,M=!0===((ot=n.getSettings())?.getIsTrackingUsageEnabled)?.call(ot),N=!1,de=(0,y.getFeatureFromKey)(n.getSettings(),e),fe={featureName:de?.getName(),featureId:de?.getId(),featureKey:de?.getKey(),userId:t?.getId(),api:c.ApiEnum.GET_FLAG,holdoutIDs:[],isPartOfHoldout:!1,isHoldoutPresent:!1,isUserPartOfCampaign:!1},pe={an:c.ApiEnum.GET_FLAG,uuid:t.getUuid(),fk:de?.getKey(),sId:t.getSessionId()},me=new h.StorageService(n),[4,new s.StorageDecorator().getFeatureFromStorage(e,t,me,n)];case 1:if(he=a.sent(),ge=he?.isInHoldoutId??he?.holdoutGroupId,_e=he?.notInHoldoutId??[],!ge||(0,_.isArray)(ge)&&!(ge.length>0)||!((ve=(0,E.getApplicableHoldouts)(n.getSettings(),de.getId())).length>0))return[3,10];ye=0,be=ve,a.label=2;case 2:return ye<be.length?(xe=be[ye],ge.includes(xe.getId())?(n.getLogManager().info((0,b.buildMessage)(u.InfoLogMessagesEnum.STORED_HOLDOUT_DECISION_FOUND,{featureKey:e,userId:t.getId(),holdoutId:ge})),[4,(0,E.getMatchedHoldouts)(n,de,t,he)]):[3,9]):[3,10];case 3:if(Se=a.sent(),je=Se.matchedHoldouts,Me=Se.notMatchedHoldouts,Ne=Se.holdoutPayloads,Ce=o(o([],ge,!0),je.map((function(e){return e.getId()})),!0),Oe=o(o([],_e,!0),Me.map((function(e){return e.getId()})),!0),new s.StorageDecorator().setDataInStorage({featureKey:e,context:t,isInHoldoutId:Ce,notInHoldoutId:Oe},me,n),j)return[3,8];if(!n.getSettingsService().isGatewayServiceProvided)return[3,4];for(we=0,Te=Ne;we<Te.length;we++)F=Te[we],(0,D.sendImpressionForVariationShown)(n,F.d.event.props.id,F.d.event.props.variation,t,e,F);return[3,8];case 4:if(!n.getBatchEventsQueue())return[3,5];for(Ee=0,De=Ne;Ee<De.length;Ee++)F=De[Ee],n.getBatchEventsQueue().enqueue(F);return[3,8];case 5:return n.getShouldWaitForTrackingCalls()?[4,(0,D.sendImpressionForVariationShownInBatch)(n,Ne)]:[3,7];case 6:return a.sent(),[3,8];case 7:(0,D.sendImpressionForVariationShownInBatch)(n,Ne),a.label=8;case 8:return ne(n,t,M,j,e),ae.resolve(new A(!1,t.getSessionId(),t.getUuid(),new p.VariationModel)),[2,ae.promise];case 9:return ye++,[3,2];case 10:return he?.featureId&&(0,g.isFeatureIdPresentInSettings)(n.getSettings(),he.featureId)?he?.experimentVariationId?he.experimentKey&&(at=(0,g.getVariationFromCampaignKey)(n.getSettings(),he.experimentKey,he.experimentVariationId))?(n.getLogManager().info((0,b.buildMessage)(u.InfoLogMessagesEnum.STORED_VARIATION_FOUND,{variationKey:at.getKey(),userId:t.getId(),experimentType:`experiment`,experimentKey:he.experimentKey})),fe.isUserPartOfCampaign=!0,[4,(0,E.sendNetworkCallsForNotInHoldouts)(n,de,t,fe,he,me)]):[3,12]:[3,13]:[3,15];case 11:return a.sent(),ne(n,t,M,j,e),ae.resolve(new A(!0,t.getSessionId(),t.getUuid(),at)),[2,ae.promise];case 12:return[3,15];case 13:return he?.rolloutKey&&he?.rolloutId&&(at=(0,g.getVariationFromCampaignKey)(n.getSettings(),he.rolloutKey,he.rolloutVariationId))?(n.getLogManager().info((0,b.buildMessage)(u.InfoLogMessagesEnum.STORED_VARIATION_FOUND,{variationKey:at.getKey(),userId:t.getId(),experimentType:`rollout`,experimentKey:he.rolloutKey})),fe.isUserPartOfCampaign=!0,n.getLogManager().debug((0,b.buildMessage)(u.DebugLogMessagesEnum.EXPERIMENTS_EVALUATION_WHEN_ROLLOUT_PASSED,{userId:t.getId()})),[4,(0,E.sendNetworkCallsForNotInHoldouts)(n,de,t,fe,he,me)]):[3,15];case 14:Oe=a.sent(),se.push.apply(se,Oe),i=!0,re=!0,f=at,ke={rolloutId:he.rolloutId,rolloutKey:he.rolloutKey,rolloutVariationId:he.rolloutVariationId},oe.set(e,ke),Object.assign(ie,ke),a.label=15;case 15:return(0,_.isObject)(de)&&de!==void 0?[4,n.getSegmentationManager().setContextualData(n,de,t)]:(n.getLogManager().errorLog(`FEATURE_NOT_FOUND`,{featureKey:e},pe),ne(n,t,M,j,e),ae.reject({}),[2,ae.promise]);case 16:return a.sent(),i?[3,24]:[4,(0,E.getMatchedHoldouts)(n,de,t,he)];case 17:if(Ae=a.sent(),je=Ae.matchedHoldouts,Me=Ae.notMatchedHoldouts,Ne=Ae.holdoutPayloads,fe.isPartOfHoldout=je!==null&&je.length>0,(je!==null&&je.length>0||Me!==null&&Me.length>0)&&(fe.isHoldoutPresent=!0),!(je!==null&&je.length>0))return[3,23];
64if(Pe=je.map((function(e){return e.getName()})).join(`,`),fe.holdoutIDs=je.map((function(e){return e.getId()})),n.getLogManager().info((0,b.buildMessage)(u.InfoLogMessagesEnum.USER_IN_HOLDOUT_GROUP,{userId:t.getId(),holdoutGroupName:Pe,featureKey:e})),new s.StorageDecorator().setDataInStorage({featureKey:e,context:t,isInHoldoutId:je.map((function(e){return e.getId()})),notInHoldoutId:Me.map((function(e){return e.getId()}))},me,n),fe.isEnabled=!1,n.getHooksService().set(fe),n.getHooksService().execute(n.getHooksService().get()),!n.getSettingsService().isGatewayServiceProvided)return[3,18];for(Fe=0,Ie=Ne;Fe<Ie.length;Fe++)F=Ie[Fe],(0,D.sendImpressionForVariationShown)(n,F.d.event.props.id,F.d.event.props.variation,t,e,F);return[3,22];case 18:if(!n.getBatchEventsQueue())return[3,19];for(Le=0,Re=Ne;Le<Re.length;Le++)F=Re[Le],n.getBatchEventsQueue().enqueue(F);return[3,22];case 19:return n.getShouldWaitForTrackingCalls()?[4,(0,D.sendImpressionForVariationShownInBatch)(n,Ne)]:[3,21];case 20:return a.sent(),[3,22];case 21:(0,D.sendImpressionForVariationShownInBatch)(n,Ne),a.label=22;case 22:return ae.resolve(new A(!1,t.getSessionId(),t.getUuid(),new p.VariationModel)),[2,ae.promise];case 23:if(n.getLogManager().info((0,b.buildMessage)(u.InfoLogMessagesEnum.USER_NOT_EXCLUDED_DUE_TO_HOLDOUT,{featureKey:e,userId:t.getId()})),se.push.apply(se,Me.map((function(e){return e.getId()}))),!j){if(n.getSettingsService().isGatewayServiceProvided)for(ze=0,Be=Ne;ze<Be.length;ze++)F=Be[ze],(0,D.sendImpressionForVariationShown)(n,F.d.event.props.id,F.d.event.props.variation,t,e,F);else if(n.getBatchEventsQueue())for(Ve=0,He=Ne;Ve<He.length;Ve++)F=He[Ve],n.getBatchEventsQueue().enqueue(F);else ce.push.apply(ce,Ne);Ne.length>0&&(N=!0)}a.label=24;case 24:if(!((Ue=(0,y.getSpecificRulesBasedOnType)(de,l.CampaignTypeEnum.ROLLOUT)).length>0)||i)return[3,40];We=[],Ge=0,Ke=Ue,a.label=25;case 25:return Ge<Ke.length?($e=Ke[Ge],[4,(0,S.evaluateRule)(n,de,$e,t,oe,null,me,fe)]):[3,34];case 26:return P=a.sent(),tt=P.preSegmentationResult,rt=P.updatedDecision,F=P.payload,Object.assign(fe,rt),F&&(N=!0),tt?(We.push($e),n.getShouldWaitForTrackingCalls()?n.getSettingsService().isGatewayServiceProvided&&F!=null?[4,(0,D.sendImpressionForVariationShown)(n,$e.getId(),$e.getVariations()[0]?.getId(),t,e,F)]:[3,28]:[3,30]):[3,32];case 27:return a.sent(),[3,29];case 28:F!=null&&ce.push(F),a.label=29;case 29:return[3,31];case 30:n.getSettingsService().isGatewayServiceProvided&&F!=null?(0,D.sendImpressionForVariationShown)(n,$e.getId(),$e.getVariations()[0]?.getId(),t,e,F):F!=null&&ce.push(F),a.label=31;case 31:return oe.set(e,{rolloutId:$e.getId(),rolloutKey:$e.getKey(),rolloutVariationId:$e.getVariations()[0]?.getId()}),[3,34];case 32:return[3,33];case 33:return Ge++,[3,25];case 34:return We.length>0?(qe=new d.CampaignModel().modelFromDictionary(We[0]),at=(0,v.evaluateTrafficAndGetVariation)(n,qe,t),(0,_.isObject)(at)&&Object.keys(at).length>0?(i=!0,re=!0,f=at,fe.isUserPartOfCampaign=!0,te(qe,at,ie,fe),j?[3,39]:((F=(0,k.getTrackUserPayloadData)(n,O.EventEnum.VARIATION_SHOWN,qe.getId(),at.getId(),t))&&(N=!0),n.getShouldWaitForTrackingCalls()?n.getSettingsService().isGatewayServiceProvided&&F!=null?[4,(0,D.sendImpressionForVariationShown)(n,qe.getId(),at.getId(),t,e,F)]:[3,36]:[3,38])):[3,39]):[3,39];case 35:return a.sent(),[3,37];case 36:F!=null&&ce.push(F),a.label=37;case 37:return[3,39];case 38:n.getSettingsService().isGatewayServiceProvided&&F!=null?(0,D.sendImpressionForVariationShown)(n,qe.getId(),at.getId(),t,e,F):F!=null&&ce.push(F),a.label=39;case 39:return[3,41];case 40:Ue.length===0&&(n.getLogManager().debug((0,b.buildMessage)(u.DebugLogMessagesEnum.EXPERIMENTS_EVALUATION_WHEN_NO_ROLLOUT_PRESENT)),re=!0),a.label=41;case 41:if(!re)return[3,57];Je=[],Ye=(0,y.getAllExperimentRules)(de),Xe=new Map,Ze=0,Qe=Ye,a.label=42;case 42:return Ze<Qe.length?($e=Qe[Ze],[4,(0,S.evaluateRule)(n,de,$e,t,oe,Xe,me,fe)]):[3,52];case 43:return et=a.sent(),tt=et.preSegmentationResult,nt=et.whitelistedObject,rt=et.updatedDecision,F=et.payload,Object.assign(fe,rt),F&&(N=!0),tt?nt===null?(Je.push($e),[3,49]):[3,44]:[3,50];case 44:return i=!0,fe.isUserPartOfCampaign=!0,ee=nt.variation,Object.assign(ie,{experimentId:$e.getId(),experimentKey:$e.getKey(),experimentVariationId:nt.variationId}),j?[3,49]:n.getShouldWaitForTrackingCalls()?n.getSettingsService().isGatewayServiceProvided&&F!=null?[4,(0,D.sendImpressionForVariationShown)(n,$e.getId(),nt.variationId,t,e,F)]:[3,46]:[3,48];case 45:return a.sent(),[3,47];case 46:F!=null&&ce.push(F),a.label=47;case 47:return[3,49];case 48:n.getSettingsService().isGatewayServiceProvided&&F!=null?(0,D.sendImpressionForVariationShown)(n,$e.getId(),nt.variationId,t,e,F):F!=null&&ce.push(F),a.label=49;case 49:return[3,52];case 50:return[3,51];case 51:return Ze++,[3,42];case 52:return Je.length>0?(it=new d.CampaignModel().modelFromDictionary(Je[0]),at=(0,v.evaluateTrafficAndGetVariation)(n,it,t),(0,_.isObject)(at)&&Object.keys(at).length>0?(i=!0,fe.isUserPartOfCampaign=!0,ee=at,te(it,at,ie,fe),j?[3,57]:((F=(0,k.getTrackUserPayloadData)(n,O.EventEnum.VARIATION_SHOWN,it.getId(),at.getId(),t))&&(N=!0),n.getShouldWaitForTrackingCalls()?n.getSettingsService().isGatewayServiceProvided&&F!=null?[4,(0,D.sendImpressionForVariationShown)(n,it.getId(),at.getId(),t,e,F)]:[3,54]:[3,56])):[3,57]):[3,57];case 53:return a.sent(),[3,55];case 54:F!=null&&ce.push(F),a.label=55;case 55:return[3,57];
64case 56:n.getSettingsService().isGatewayServiceProvided&&F!=null?(0,D.sendImpressionForVariationShown)(n,it.getId(),at.getId(),t,e,F):F!=null&&ce.push(F),a.label=57;case 57:return i?new s.StorageDecorator().setDataInStorage(r(r({featureKey:e,featureId:de.getId(),context:t},ie),{notInHoldoutId:se}),me,n):new s.StorageDecorator().setDataInStorage({featureKey:e,context:t,notInHoldoutId:se},me,n),n.getHooksService().set(fe),n.getHooksService().execute(n.getHooksService().get()),de.getIsDebuggerEnabled()&&(pe.cg=w.DebuggerCategoryEnum.DECISION,pe.lt=m.LogLevelEnum.INFO.toString(),pe.msg_t=T.Constants.FLAG_DECISION_GIVEN,function(e,t){var n=(0,C.extractDecisionKeys)(t),r=`Flag decision given for feature:${t.featureKey}.`;t.rolloutKey&&t.rolloutVariationId&&(r+=` Got rollout:${t.rolloutKey.substring((t.featureKey+`_`).length)} with variation:${t.rolloutVariationId}`),t.experimentKey&&t.experimentVariationId&&(r+=` and experiment:${t.experimentKey.substring((t.featureKey+`_`).length)} with variation:${t.experimentVariationId}`),e.msg=r,Object.assign(e,n)}(pe,fe),(0,C.sendDebugEventToWingify)(n,pe)),de.getImpactCampaign()?.getCampaignId()?(n.getLogManager().info((0,b.buildMessage)(u.InfoLogMessagesEnum.IMPACT_ANALYSIS,{userId:t.getId(),featureKey:e,status:i?`enabled`:`disabled`})),j?[3,62]:((F=(0,k.getTrackUserPayloadData)(n,O.EventEnum.VARIATION_SHOWN,de.getImpactCampaign()?.getCampaignId(),i?2:1,t))&&(N=!0),n.getShouldWaitForTrackingCalls()?n.getSettingsService().isGatewayServiceProvided&&F!=null?[4,(0,D.sendImpressionForVariationShown)(n,de.getImpactCampaign()?.getCampaignId(),i?2:1,t,e,F)]:[3,59]:[3,61])):[3,62];case 58:return a.sent(),[3,60];case 59:F!=null&&ce.push(F),a.label=60;case 60:return[3,62];case 61:n.getSettingsService().isGatewayServiceProvided&&F!=null?(0,D.sendImpressionForVariationShown)(n,de.getImpactCampaign()?.getCampaignId(),i?2:1,t,e,F):F!=null&&ce.push(F),a.label=62;case 62:return N?[3,65]:n.getShouldWaitForTrackingCalls()?[4,ne(n,t,M,j,e,!0)]:[3,64];case 63:return a.sent(),[3,65];case 64:ne(n,t,M,j,e),a.label=65;case 65:return ae.resolve(new A(i,t.getSessionId(),t.getUuid(),new p.VariationModel().modelFromDictionary(ee??f))),!n.getSettingsService().isGatewayServiceProvided&&ce.length>0?j?[3,68]:n.getShouldWaitForTrackingCalls()?[4,(0,D.sendImpressionForVariationShownInBatch)(n,ce)]:[3,67]:[3,68];case 66:return a.sent(),[3,68];case 67:(0,D.sendImpressionForVariationShownInBatch)(n,ce),a.label=68;case 68:return[2,ae.promise]}}))}))},e}();function te(e,t,n,r){e.getType()===l.CampaignTypeEnum.ROLLOUT?Object.assign(n,{rolloutId:e.getId(),rolloutKey:e.getKey(),rolloutVariationId:t.getId()}):Object.assign(n,{experimentId:e.getId(),experimentKey:e.getKey(),experimentVariationId:t.getId()}),Object.assign(r,n)}function ne(e,t,n,r,o){return i(this,arguments,void 0,(function(e,t,n,r,i,o){var s,c;return o===void 0&&(o=!1),a(this,(function(a){switch(a.label){case 0:return!n||r?[2]:(s=(0,k.getTrackingUsagePayloadData)(e,t),e.getLogManager().info((0,b.buildMessage)(u.InfoLogMessagesEnum.USAGE_TRACKING_CALL_SENT,{accountId:e.getSettingsService().accountId.toString(),userId:t.getId(),featureKey:i})),e.getBatchEventsQueue()?(e.getBatchEventsQueue().enqueue(s),[3,8]):[3,1]);case 1:return e.getSettingsService().isGatewayServiceProvided?(c=(0,k.getEventsBaseProperties)(e.getSettingsService(),O.EventEnum.USER_EVALUATED,encodeURIComponent(t.getUserAgent()),t.getIpAddress()),o?[4,(0,k.sendPostApiRequest)(e,c,s,t.getId())]:[3,3]):[3,5];case 2:return a.sent(),[3,4];case 3:(0,k.sendPostApiRequest)(e,c,s,t.getId()),a.label=4;case 4:return[3,8];case 5:return o?[4,(0,D.sendImpressionForVariationShownInBatch)(e,[s])]:[3,7];case 6:return a.sent(),[3,8];case 7:(0,D.sendImpressionForVariationShownInBatch)(e,[s]),a.label=8;case 8:return[2]}}
64))}))}t.FlagApi=ee},6614:(e,t,n)=>{e.exports={debugMessages:n(3722),infoMessages:n(743),warnMessages:n(2727),errorMessages:n(1953),errorMessagesV2:n(1488),traceMessages:n(4164)}},6710:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseModel=t.RequestModel=t.GlobalRequestModel=t.NetworkManager=void 0;var r=n(7885);Object.defineProperty(t,"NetworkManager",{enumerable:!0,get:function(){return r.NetworkManager}});var i=n(4036);Object.defineProperty(t,"GlobalRequestModel",{enumerable:!0,get:function(){return i.GlobalRequestModel}});var a=n(2887);Object.defineProperty(t,"RequestModel",{enumerable:!0,get:function(){return a.RequestModel}});var o=n(5573);Object.defineProperty(t,"ResponseModel",{enumerable:!0,get:function(){return o.ResponseModel}})},6775:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DecisionMaker=void 0;var i=r(n(8005)).default;i.v3||=i,t.DecisionMaker=function(){function e(){}return e.prototype.generateBucketValue=function(e,t,n){n===void 0&&(n=1);var r=(e/2**32*t+1)*n;return Math.floor(r)},e.prototype.getBucketValueForUser=function(e,t){t===void 0&&(t=100);var n=i.v3(e,1);return this.generateBucketValue(n,t)},e.prototype.calculateBucketValue=function(e,t,n){t===void 0&&(t=1),n===void 0&&(n=1e4);var r=this.generateHashValue(e);return this.generateBucketValue(r,n,t)},e.prototype.generateHashValue=function(e){return i.v3(e,1)},e}()},6792:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(7037))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,i.default)(e))throw TypeError(`Invalid UUID`);let t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}},6905:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentOperandValueEnum=void 0,function(e){e[e.LOWER_VALUE=1]=`LOWER_VALUE`,e[e.STARTING_ENDING_STAR_VALUE=2]=`STARTING_ENDING_STAR_VALUE`,e[e.STARTING_STAR_VALUE=3]=`STARTING_STAR_VALUE`,e[e.ENDING_STAR_VALUE=4]=`ENDING_STAR_VALUE`,e[e.REGEX_VALUE=5]=`REGEX_VALUE`,e[e.EQUAL_VALUE=6]=`EQUAL_VALUE`,e[e.GREATER_THAN_VALUE=7]=`GREATER_THAN_VALUE`,e[e.GREATER_THAN_EQUAL_TO_VALUE=8]=`GREATER_THAN_EQUAL_TO_VALUE`,e[e.LESS_THAN_VALUE=9]=`LESS_THAN_VALUE`,e[e.LESS_THAN_EQUAL_TO_VALUE=10]=`LESS_THAN_EQUAL_TO_VALUE`}(n||(t.SegmentOperandValueEnum=n={}))},6947:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentOperandRegexEnum=void 0,function(e){e.LOWER=`^lower`,e.LOWER_MATCH=`^lower\\((.*)\\)`,e.WILDCARD=`^wildcard`,e.WILDCARD_MATCH=`^wildcard\\((.*)\\)`,e.REGEX=`^regex`,e.REGEX_MATCH=`^regex\\((.*)\\)`,e.STARTING_STAR=`^\\*`,e.ENDING_STAR=`\\*$`,e.GREATER_THAN_MATCH=`^gt\\((\\d+(?:\\.\\d+)*|\\.\\d+)\\)`,e.GREATER_THAN_EQUAL_TO_MATCH=`^gte\\((\\d+(?:\\.\\d+)*|\\.\\d+)\\)`,e.LESS_THAN_MATCH=`^lt\\((\\d+(?:\\.\\d+)*|\\.\\d+)\\)`,e.LESS_THAN_EQUAL_TO_MATCH=`^lte\\((\\d+(?:\\.\\d+)*|\\.\\d+)\\)`}(n||(t.SegmentOperandRegexEnum=n={}))},7037:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(7656))&&r.__esModule?r:{default:r};t.default=function(e){return typeof e==`string`&&i.default.test(e)}},7098:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SDKMetaUtil=void 0;var r=n(5399);t.SDKMetaUtil=function(){function e(t){var n=t?.sdkMeta;this.sdkName=n?._wingify_sdkName??n?._vwo_sdkName??r.Constants.SDK_NAME,this.version=n?._wingify_sdkVersion??n?._vwo_sdkVersion??r.Constants.SDK_VERSION,e.instance=this}return e.getInstance=function(){return e.instance||=new e(null),e.instance},e.prototype.getSdkName=function(){return this.sdkName},e.prototype.getVersion=function(){return this.version},e.prototype.getMeta=function(){return{sdkName:this.sdkName,version:this.version}},e.instance=null,e}()},7128:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esMo
64dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorLogMessagesEnum=t.InfoLogMessagesEnum=t.DebugLogMessagesEnum=void 0;var i=r(n(6614)),a=i.default.default||i.default;t.DebugLogMessagesEnum=a.debugMessages,t.InfoLogMessagesEnum=a.infoMessages,t.ErrorLogMessagesEnum=a.errorMessagesV2},7186:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(9025)),i=a(n(9042));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.default)(`v5`,80,i.default)},7241:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UsageStatsUtil=void 0;var r=n(4820);t.UsageStatsUtil=function(){function e(e){this.usageStatsData={},this.setUsageStats(e)}return e.prototype.setUsageStats=function(e){var t=e.storage,n=e.logger,i=e.batchEventData,a=e.gatewayService,o=e.integrations,s=e.pollInterval,c=e._wingify_meta,l=e._vwo_meta,u=e.shouldWaitForTrackingCalls,d={};d.a=e.accountId,d.env=e.sdkKey,o&&(d.ig=1),i&&(d.eb=1),n&&(n.transport||n.transports)&&(d.cl=1),t&&(d.ss=1),n!=null&&n.level&&(d.ll=r.LogLevelNumberEnum[n.level.toUpperCase()]??-1),a&&(d.gs=1),s&&(d.pi=s),u&&(d.swtc=1);var f=c||l;f&&f.ea&&(d._ea=1),this.usageStatsData=d},e.prototype.getUsageStats=function(){return this.usageStatsData},e.prototype.clearUsageStats=function(){this.usageStatsData={}},e}()},7487:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AliasingUtil=void 0;var a=n(6710),o=n(8202),s=n(9528),c=n(4782);t.AliasingUtil=function(){function e(){}return e.getAlias=function(e,t){return r(this,void 0,void 0,(function(){var n,r,s,l,u,d,f;return i(this,(function(i){n=new c.Deferred;try{return r=null,s=null,l=null,u=t.getNetworkManager().getRetryConfig(),t.getSettingsService().gatewayServiceConfig.hostname==null?(r=t.getSettingsService().hostname,s=t.getSettingsService().port,l=t.getSettingsService().protocol):(r=t.getSettingsService().gatewayServiceConfig.hostname,s=t.getSettingsService().gatewayServiceConfig.port,l=t.getSettingsService().gatewayServiceConfig.protocol),(d={}).accountId=t.getSettingsService().accountId,d.sdkKey=t.getSettingsService().sdkKey,d[this.KEY_USER_ID]=JSON.stringify([e]),f=new a.RequestModel(r,o.HttpMethodEnum.GET,this.GET_ALIAS_URL,d,null,null,l,s,u),t.getNetworkManager().get(f).then((function(e){n.resolve(e.getData())})).catch((function(e){n.reject(e)})),[2,n.promise]}catch{return n.resolve(!1),[2,n.promise]}return[2]}))}))},e.setAlias=function(e,t,n){return r(this,void 0,void 0,(function(){var r,s,l,u,d,f,p,m,h;return i(this,(function(i){r=new c.Deferred;try{return s=null,l=null,u=null,d=n.getNetworkManager().getRetryConfig(),n.getSettingsService().gatewayServiceConfig.hostname==null?(s=n.get
64SettingsService().hostname,l=n.getSettingsService().port,u=n.getSettingsService().protocol):(s=n.getSettingsService().gatewayServiceConfig.hostname,l=n.getSettingsService().gatewayServiceConfig.port,u=n.getSettingsService().gatewayServiceConfig.protocol),(f={}).accountId=n.getSettingsService().accountId,f.sdkKey=n.getSettingsService().sdkKey,f[this.KEY_USER_ID]=e,f[this.KEY_ALIAS_ID]=t,(h={})[this.KEY_USER_ID]=e,h[this.KEY_ALIAS_ID]=t,p=h,m=new a.RequestModel(s,o.HttpMethodEnum.POST,this.SET_ALIAS_URL,f,p,null,u,l,d),n.getNetworkManager().post(m).then((function(e){r.resolve(e.getData())})).catch((function(e){r.reject(e)})),[2,r.promise]}catch{return r.resolve(!1),[2,r.promise]}return[2]}))}))},e.KEY_USER_ID=`userId`,e.KEY_ALIAS_ID=`aliasId`,e.GET_ALIAS_URL=s.UrlEnum.GET_ALIAS,e.SET_ALIAS_URL=s.UrlEnum.SET_ALIAS,e}()},7656:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},7675:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n(1359);t.default=function(){function e(e){this.callback=e.integrations?.callback,this.isCallBackFunction=(0,r.isFunction)(this.callback),this.decision={}}return e.prototype.execute=function(e){this.isCallBackFunction&&this.callback(e)},e.prototype.set=function(e){this.isCallBackFunction&&(this.decision=e)},e.prototype.get=function(){return this.decision},e}()},7775:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(7037))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,i.default)(e))throw TypeError(`Invalid UUID`);return parseInt(e.slice(14,15),16)}},7885:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkManager=void 0;var i=n(4782),a=n(415),o=n(4036),s=n(5399),c=n(1359),l=n(1263),u=n(1703),d=(n(8754),n(7128),n(2346),n(3443));t.NetworkManager=function(){function e(e,t,n,i,a,c){i===void 0&&(i=!1),c===void 0&&(c=d.NetworkTransportModeEnum.SEND_BEACON),this.logManager=e;var f=r(r({},s.Constants.DEFAULT_HTTPS_AGENT),a||{});if(this.httpsAgentConfig=this.validateHttpsAgentConfig(f),!this.retryConfig||n){var p=s.Constants.DEFAULT_RETRY_CONFIG,m=r(r({},p),n||{});this.retryConfig=this.validateRetryConfig(m),i&&(this.retryConfig.shouldRetry=!1)}typeof XMLHttpRequest>`u`?this.client=t||new l.NetworkServerLessClient(this.logManager):this.client=t||new u.NetworkBrowserClient(this.logManager,c),this.config=new o.GlobalRequestModel(null,null,null,null)}return e.prototype.validateRetryConfig=function(e){var t=r({},e);return(0,c.isBoolean)(t.shouldRetry)||(t.shouldRetry=s.Constants.DEFAULT_RETRY_CONFIG.shouldRetry,this.isInvalidRetryConfig=!0),(!(0,c.isNumber)(t.maxRetries)||!Number.isInteger(t.maxRetries)||t.maxRetries<1)&&(t.maxRetries=s.Constants.DEFAULT_RETRY_CONFIG.maxRetries,this.isInvalidRetryConfig=!0),(!(0,c.isNumber)(t.initialDelay)||!Number.isInteger(t.initialDelay)||t.initialDelay<1)&&(t.initialDelay=s.Constants.DEFAULT_RETRY_CONFIG.initialDelay,this.isInvalidRetryConfig=!0),(!(0,c.isNumber)(t.backoffMultiplier)||!Number.isInteger(t.backoffMultiplier)||t.backoffMultiplier<2)&&(t.backoffMultiplier=s.Constants.DEFAULT_RETRY_CONFIG.backoffMultiplier,this.isInvalidRetryConfig=!0),this.isInvalidRetryConfig?s.Constants.DEFAULT_RETRY_CONFIG:t},e.prototype.validateHttpsAgentConfig=function(e){var t=r({},e),n=s.Constants.DEFAULT_HTTPS_AGENT;return(!(0,c.isNumber)(t.maxSockets)||!Number.isInteger(t.maxSockets)||t.maxSockets<s.Constants.MIN_SOCKETS)&&(t.maxSockets=n.maxSockets),(!(0,c.isNumber)(t.maxFreeSockets)||!Number.isInteger(t.maxFreeSockets)||t.maxFreeSockets<s.Constants.MIN_FREE_SOCKETS)&&(t.maxFreeSockets=n.maxFreeSockets),(!(0,c.isNumber)(t.timeout)||!Number.isInteger(t.timeout)||t.timeout<s.Constants.MIN_TIMEOUT)&&(t.timeout=n.timeout),t},e.prototype.getIsInvalidRetryConfig=function(){return this.isInvalidRetryConfig},e.prototype.getRetryConfig=function(){return r({},this.retryConfig)}
64,e.prototype.injectServiceContainer=function(e){this.serviceContainer=e},e.prototype.setConfig=function(e){this.config=e},e.prototype.getConfig=function(){return this.config},e.prototype.createRequest=function(e){return new a.RequestHandler().createRequest(e,this.config)},e.prototype.get=function(e){var t=new i.Deferred,n=this.createRequest(e);return n.getUrl()?this.client.GET(n).then((function(e){t.resolve(e)})).catch((function(e){t.reject(e)})):t.reject(Error(`no url found`)),t.promise},e.prototype.post=function(e){var t=new i.Deferred,n=this.createRequest(e);return n.getUrl()?this.client.POST(n).then((function(e){t.resolve(e)})).catch((function(e){t.reject(e)})):t.reject(Error(`no url found`)),t.promise},e}()},7928:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateGroups=void 0,t.getFeatureKeysFromGroup=b;var a=n(5399),o=n(3780),s=n(4273),c=n(7128),l=n(2144),u=n(2365),d=n(6775),f=n(973),p=n(6195),m=n(9181),h=n(1359),g=n(2245),_=n(8824),v=n(8667),y=n(8754);function b(e,t){var n=(0,m.getCampaignsByGroupId)(e,t);return{featureKeys:(0,m.getFeatureKeysFromCampaignIds)(e,n),groupCampaignIds:n}}t.evaluateGroups=function(e,t,n,a,s,l){return r(void 0,void 0,void 0,(function(){var r,u,d,f,p,m,g,w,T,E,D,O;return i(this,(function(k){switch(k.label){case 0:r=[],u=new Map,d=b(e.getSettings(),n),f=d.featureKeys,p=d.groupCampaignIds,m=function(t){var n,d,f,m,g;return i(this,(function(i){switch(i.label){case 0:return n=(0,v.getFeatureFromKey)(e.getSettings(),t),r.includes(t)?[2,`continue`]:[4,new o.StorageDecorator().getFeatureFromStorage(t,s,l,e)];case 1:return d=i.sent(),(f=d?.isInHoldoutId??d?.holdoutGroupId)&&(!(0,h.isArray)(f)||f.length>0)?(r.push(t),e.getLogManager().debug((0,y.buildMessage)(c.DebugLogMessagesEnum.PART_OF_HOLDOUT_IN_MEG,{featureKey:t,holdoutId:f,userId:s.getId()})),[2,`continue`]):[4,(0,_.getMatchedHoldouts)(e,n,s,d)];case 2:return(m=i.sent().matchedHoldouts)!==null&&m.length>0?(r.push(t),g=m.map((function(e){return e.getId()})).join(`,`),new o.StorageDecorator().setDataInStorage({featureKey:t,context:s,isInHoldoutId:m.map((function(e){return e.getId()}))},l,e),e.getLogManager().debug((0,y.buildMessage)(c.DebugLogMessagesEnum.PART_OF_HOLDOUT_IN_MEG,{featureKey:t,holdoutId:g,userId:s.getId()})),[3,5]):[3,3];case 3:return[4,x(e,n,a,r,l,s)];case 4:i.sent()&&e.getSettings().getFeatures().forEach((function(e){e.getKey()===t&&e.getRulesLinkedCampaign().forEac
64h((function(e){(p.includes(e.getId().toString())||p.includes(`${e.getId()}_${e.getVariations()[0].getId()}`.toString()))&&(u.has(t)||u.set(t,[]),u.get(t).findIndex((function(t){return t.ruleKey===e.getRuleKey()}))===-1&&u.get(t).push(e))}))})),i.label=5;case 5:return[2]}}))},g=0,w=f,k.label=1;case 1:return g<w.length?(T=w[g],[5,m(T)]):[3,4];case 2:k.sent(),k.label=3;case 3:return g++,[3,1];case 4:return[4,S(e,u,s,l)];case 5:return E=k.sent(),D=E.eligibleCampaigns,O=E.eligibleCampaignsWithStorage,[4,C(e,t.getKey(),D,O,n,s,l)];case 6:return[2,k.sent()]}}))}))};var x=function(e,t,n,a,o,u){return r(void 0,void 0,void 0,(function(){var r,d,f,m,_,b,x;return i(this,(function(i){switch(i.label){case 0:if(n.has(t.getKey())&&`rolloutId`in n.get(t.getKey()))return[2,!0];if(!((r=(0,v.getSpecificRulesBasedOnType)(t,s.CampaignTypeEnum.ROLLOUT)).length>0))return[3,5];d=null,f=0,m=r,i.label=1;case 1:return f<m.length?(_=m[f],[4,(0,p.evaluateRule)(e,t,_,u,n,null,o,{})]):[3,4];case 2:return i.sent().preSegmentationResult?(d=_,[3,4]):[3,3];case 3:return f++,[3,1];case 4:return d!==null&&(b=new l.CampaignModel().modelFromDictionary(d),x=(0,g.evaluateTrafficAndGetVariation)(e,b,u),(0,h.isObject)(x)&&Object.keys(x).length>0)?(n.set(t.getKey(),{rolloutId:d.id,rolloutKey:d.key,rolloutVariationId:d.variations[0].id}),[2,!0]):(a.push(t.getKey()),[2,!1]);case 5:return e.getLogManager().info((0,y.buildMessage)(c.InfoLogMessagesEnum.MEG_SKIP_ROLLOUT_EVALUATE_EXPERIMENTS,{featureKey:t.getKey()})),[2,!0]}}))}))},S=function(e,t,n,a){return r(void 0,void 0,void 0,(function(){var r,u,d,p,h,g,_,v,b,x,S,C,w;return i(this,(function(T){switch(T.label){case 0:r=[],u=[],d=[],p=Array.from(t),h=0,g=p,T.label=1;case 1:if(!(h<g.length))return[3,6];_=g[h],v=_[0],b=_[1],x=function(t){var p;return i(this,(function(i){switch(i.label){case 0:return[4,new o.StorageDecorator().getFeatureFromStorage(v,n,a,e)];case 1:return(p=i.sent())?.experimentVariationId&&p.experimentKey&&p.experimentKey===t.getKey()&&(0,m.getVariationFromCampaignKey)(e.getSettings(),p.experimentKey,p.experimentVariationId)?(e.getLogManager().info((0,y.buildMessage)(c.InfoLogMessagesEnum.MEG_CAMPAIGN_FOUND_IN_STORAGE,{campaignKey:p.experimentKey,userId:n.getId()})),u.findIndex((function(e){return e.key===t.getKey()}))===-1&&u.push(t),[2,`continue`]):[4,new f.CampaignDecisionService().getPreSegmentationDecision(new l.CampaignModel().modelFromDictionary(t),n,e)];case 2:return i.sent()&&new f.CampaignDecisionService().isUserPartOfCampaign(n,t,e)?(e.getLogManager().info((0,y.buildMessage)(c.InfoLogMessagesEnum.MEG_CAMPAIGN_ELIGIBLE,{campaignKey:t.getType()===s.CampaignTypeEnum.AB?t.getKey():t.getName()+`_`+t.getRuleKey(),userId:n.getId()})),r.push(t),[2,`continue`]):(d.push(t),[2])}}))},S=0,C=b,T.label=2;case 2:return S<C.length?(w=C[S],[5,x(w)]):[3,5];case 3:T.sent(),T.label=4;case 4:return S++,[3,2];case 5:return h++,[3,1];case 6:return[2,Promise.resolve({eligibleCampaigns:r,eligibleCampaignsWithStorage:u,inEligibleCampaigns:d})]}}))}))},C=function(e,t,n,o,l,u,d){return r(void 0,void 0,void 0,(function(){var r,f,p;return i(this,(function(i){return r=null,f=(0,m.getCampaignIdsFromFeatureKey)(e.getSettings(),t),p=(0,h.isUndefined)(e.getSettings()?.getGroups()[l]?.et)?a.Constants.RANDOM_ALGO:e.getSettings().getGroups()[l].et,o.length===1?(r=o[0],e.getLogManager().info((0,y.buildMessage)(c.InfoLogMessagesEnum.MEG_WINNER_CAMPAIGN,{campaignKey:o[0].getType()===s.CampaignTypeEnum.AB?o[0].getKey():o[0].getName()+`_`+o[0].getRuleKey(),groupId:l,userId:u.getId(),algo:``}))):o.length>1&&p===a.Constants.RANDOM_ALGO?r=w(e,o,u,f,l,d):o.length>1&&(r=T(e,o,u,f,l,d)),o.length===0&&(n.length===1?(r=n[0],e.getLogManager().info((0,y.buildMessage)(c.InfoLogMessagesEnum.MEG_WINNER_CAMPAIGN,{campaignKey:n[0].getType()===s.CampaignTypeEnum.AB?n[0].getKey():n[0].getName()+`_`+n[0].getRuleKey(),groupId:l,userId:u.getId(),algo:``}))):n.length>1&&p===a.Constants.RANDOM_ALGO?r=w(e,n,u,f,l,d):n.length>1&&(r=T(e,n,u,f,l,d))),[2,r]}))}))},w=function(e,t,n,r,i,l){t.forEach((function(e){e.weight=Math.round(100/t.length*1e4)/1e4})),t=t.map((function(e){return new u.VariationModel().modelFromDictionary(e)})),(0,m.setCampaignAllocation)(t);var p=new f.CampaignDecisionService().getVariation(t,new d.DecisionMaker().calculateBucketValue((0,m.getBucketingSeed)(n.getBucketingSeed()||n.getId(),void 0,i)));return e.getLogManager().info((0,y.buildMessage)(c.InfoLogMessagesEnum.MEG_WINNER_CAMPAIGN,{campaignKey:p.getType()===s.CampaignTypeEnum.AB?p.getKey():p.getKey()+`_`+p.getRuleKey(),groupId:i,userId:n.getId(),algo:`using random algorithm`})),p&&(new o.StorageDecorator().setDataInStorage({featureKey:`${a.C
64onstants.META_MEG_KEY}${i}`,context:n,experimentId:p.getId(),experimentKey:p.getKey(),experimentVariationId:p.getType()===s.CampaignTypeEnum.PERSONALIZE?p.getVariations()[0].getId():-1},l,e),r.includes(p.getId()))?p:null},T=function(e,t,n,r,i,l){for(var p=null,g=!1,_=(0,h.isUndefined)(e.getSettings().getGroups()[i].p)?{}:e.getSettings().getGroups()[i].p,b=(0,h.isUndefined)(e.getSettings().getGroups()[i].wt)?{}:e.getSettings().getGroups()[i].wt,x=0;x<_.length;x++){for(var S=0;S<t.length;S++){if(t[S].id==_[x]){p=(0,v.cloneObject)(t[S]),g=!0;break}if(t[S].id+`_`+t[S].variations[0].id===_[x]){p=(0,v.cloneObject)(t[S]),g=!0;break}}if(!0===g)break}if(p===null){var C=[];for(x=0;x<t.length;x++){var w=t[x].id;if((0,h.isUndefined)(b[w])){if(!(0,h.isUndefined)(b[w+`_`+t[x].variations[0].id])){var T;(T=(0,v.cloneObject)(t[x])).weight=b[w+`_`+t[x].variations[0].id],C.push(T)}}else(T=(0,v.cloneObject)(t[x])).weight=b[w],C.push(T)}C=C.map((function(e){return new u.VariationModel().modelFromDictionary(e)})),(0,m.setCampaignAllocation)(C),p=new f.CampaignDecisionService().getVariation(C,new d.DecisionMaker().calculateBucketValue((0,m.getBucketingSeed)(n.getBucketingSeed()||n.getId(),void 0,i)))}return p?e.getLogManager().info((0,y.buildMessage)(c.InfoLogMessagesEnum.MEG_WINNER_CAMPAIGN,{campaignKey:p.type===s.CampaignTypeEnum.AB?p.key:p.key+`_`+p.ruleKey,groupId:i,userId:n.getId(),algo:`using advanced algorithm`})):e.getLogManager().info(`No winner campaign found for MEG group: ${i}`),p&&(new o.StorageDecorator().setDataInStorage({featureKey:`${a.Constants.META_MEG_KEY}${i}`,context:n,experimentId:p.id,experimentKey:p.key,experimentVariationId:p.type===s.CampaignTypeEnum.PERSONALIZE?p.variations[0].id:-1},l,e),r.includes(p.id))?p:null}},8005:e=>{(function(){let t=e=>new TextEncoder().encode(e);function n(e,n){let r,i,a,o,s,c,l,u;for(typeof e==`string`&&(e=t(e)),r=3&e.length,i=e.length-r,a=n,s=3432918353,c=461845907,u=0;u<i;)l=255&e[u]|(255&e[++u])<<8|(255&e[++u])<<16|(255&e[++u])<<24,++u,l=(65535&l)*s+(((l>>>16)*s&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*c+(((l>>>16)*c&65535)<<16)&4294967295,a^=l,a=a<<13|a>>>19,o=5*(65535&a)+((5*(a>>>16)&65535)<<16)&4294967295,a=27492+(65535&o)+((58964+(o>>>16)&65535)<<16);switch(l=0,r){case 3:l^=(255&e[u+2])<<16;case 2:l^=(255&e[u+1])<<8;case 1:l^=255&e[u],l=(65535&l)*s+(((l>>>16)*s&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*c+(((l>>>16)*c&65535)<<16)&4294967295,a^=l}return a^=e.length,a^=a>>>16,a=2246822507*(65535&a)+((2246822507*(a>>>16)&65535)<<16)&4294967295,a^=a>>>13,a=3266489909*(65535&a)+((3266489909*(a>>>16)&65535)<<16)&4294967295,a^=a>>>16,a>>>0}let r=n;r.v2=function(e,n){typeof e==`string`&&(e=t(e));let r,i=e.length,a=n^i,o=0;for(;i>=4;)r=255&e[o]|(255&e[++o])<<8|(255&e[++o])<<16|(255&e[++o])<<24,r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16),r^=r>>>24,r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16),a=1540483477*(65535&a)+((1540483477*(a>>>16)&65535)<<16)^r,i-=4,++o;switch(i){case 3:a^=(255&e[o+2])<<16;case 2:a^=(255&e[o+1])<<8;case 1:a^=255&e[o],a=1540483477*(65535&a)+((1540483477*(a>>>16)&65535)<<16)}return a^=a>>>13,a=1540483477*(65535&a)+((1540483477*(a>>>16)&65535)<<16),a^=a>>>15,a>>>0},r.v3=n,e.exports=r})()},8011:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};
64Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentEvaluator=void 0;var a=n(3780),o=n(8792),s=n(1359),c=n(4076),l=n(3769),u=n(4237),d=n(8667);t.SegmentEvaluator=function(){function e(){}return e.prototype.isSegmentationValid=function(e,t){return r(this,void 0,void 0,(function(){var n,r,a,o;return i(this,(function(i){switch(i.label){case 0:switch(n=(0,l.getKeyValue)(e),r=n.key,a=n.value,o=a,r){case c.SegmentOperatorValueEnum.NOT:return[3,1];case c.SegmentOperatorValueEnum.AND:return[3,3];case c.SegmentOperatorValueEnum.OR:return[3,5];case c.SegmentOperatorValueEnum.CUSTOM_VARIABLE:return[3,7];case c.SegmentOperatorValueEnum.USER:return[3,9];case c.SegmentOperatorValueEnum.UA:return[3,10];case c.SegmentOperatorValueEnum.IP:return[3,11];case c.SegmentOperatorValueEnum.BROWSER_VERSION:return[3,12];case c.SegmentOperatorValueEnum.OS_VERSION:return[3,13];case c.SegmentOperatorValueEnum.WEB_CAMPAIGN_VARIATION:return[3,14]}return[3,15];case 1:return[4,this.isSegmentationValid(o,t)];case 2:return[2,!i.sent()];case 3:return[4,this.every(o,t)];case 4:case 6:case 8:return[2,i.sent()];case 5:return[4,this.some(o,t)];case 7:return[4,this.segmentOperandEvaluator.evaluateCustomVariableDSL(o,t,this.context)];case 9:return[2,this.segmentOperandEvaluator.evaluateUserDSL(o,t)];case 10:return[2,this.segmentOperandEvaluator.evaluateUserAgentDSL(o,this.context)];case 11:return[2,this.segmentOperandEvaluator.evaluateStringOperandDSL(o,this.context,c.SegmentOperatorValueEnum.IP)];case 12:return[2,this.segmentOperandEvaluator.evaluateStringOperandDSL(o,this.context,c.SegmentOperatorValueEnum.BROWSER_VERSION)];case 13:return[2,this.segmentOperandEvaluator.evaluateStringOperandDSL(o,this.context,c.SegmentOperatorValueEnum.OS_VERSION)];case 14:return[2,this.segmentOperandEvaluator.evaluateCampaignVariationDSL(o,this.context)];case 15:return[2,!1]}}))}))},e.prototype.some=function(e,t){return r(this,void 0,void 0,(function(){var n,r,a,o,s,l,f,p,m,h,g,_,v,y;return i(this,(function(b){switch(b.label){case 0:n={},r=0,a=!1,o=0,s=e,b.label=1;case 1:if(!(o<s.length))return[3,12];for(g in l=s[o],f=function(e){var t,o,s,d,f,m,h,g;return i(this,(function(i){switch(i.label){case 0:return e!==c.SegmentOperatorValueEnum.OPERATING_SYSTEM&&e!==c.SegmentOperatorValueEnum.BROWSER_AGENT&&e!==c.SegmentOperatorValueEnum.DEVICE_TYPE&&e!==c.SegmentOperatorValueEnum.DEVICE||(a=!0,t=l[e],n[e]||(n[e]=[]),(Array.isArray(t)?t:[t]).forEach((function(t){typeof t==`string`&&n[e].push(t)})),r++),e===c.SegmentOperatorValueEnum.FEATURE_ID?(o=l[e],s=Object.keys(o)[0],(d=o[s])!==`on`&&d!==`off`?[3,3]:(f=p.serviceContainer.getSettings().getFeatures(),(m=f.find((function(e){return e.getId()===parseInt(s)})))?(h=m.getKey(),[4,p.checkInUserStorage(p.serviceContainer.getSettings(),h,p.context)]):[3,2])):[3,3];case 1:return g=i.sent(),d===`off`?[2,{value:!g}]:[2,{value:g}];case 2:return p.serviceContainer.getLogManager().errorLog(`FEATURE_NOT_FOUND_WITH_ID`,{featureId:s},{an:u.ApiEnum.GET_FLAG,uuid:p.context.getUuid(),sId:p.context.getSessionId()}),[2,{value:null}];case 3:return[2]}}
64))},p=this,h=[],m=l)h.push(g);_=0,b.label=2;case 2:return _<h.length?(g=h[_])in m?[5,f(g)]:[3,4]:[3,5];case 3:if(typeof(v=b.sent())==`object`)return[2,v.value];b.label=4;case 4:return _++,[3,2];case 5:if(!a||r!==e.length)return[3,9];b.label=6;case 6:return b.trys.push([6,8,,9]),[4,this.checkUserAgentParser(n)];case 7:return[2,b.sent()];case 8:return y=b.sent(),this.serviceContainer.getLogManager().errorLog(`USER_AGENT_VALIDATION_ERROR`,{err:(0,d.getFormattedErrorMessage)(y)},{an:u.ApiEnum.GET_FLAG,uuid:this.context.getUuid(),sId:this.context.getSessionId()}),[3,9];case 9:return[4,this.isSegmentationValid(l,t)];case 10:if(b.sent())return[2,!0];b.label=11;case 11:return o++,[3,1];case 12:return[2,!1]}}))}))},e.prototype.every=function(e,t){return r(this,void 0,void 0,(function(){var n,r,a,o;return i(this,(function(i){switch(i.label){case 0:n={},r=0,a=e,i.label=1;case 1:return r<a.length?(o=a[r],c.SegmentOperatorValueEnum.COUNTRY in o||c.SegmentOperatorValueEnum.REGION in o||c.SegmentOperatorValueEnum.CITY in o?(this.addLocationValuesToMap(o,n),Object.keys(n).length===e.length?[4,this.checkLocationPreSegmentation(n)]:[3,3]):[3,4]):[3,7];case 2:return[2,i.sent()];case 3:return[3,6];case 4:return[4,this.isSegmentationValid(o,t)];case 5:if(!i.sent())return[2,!1];i.label=6;case 6:return r++,[3,1];case 7:return[2,!0]}}))}))},e.prototype.addLocationValuesToMap=function(e,t){c.SegmentOperatorValueEnum.COUNTRY in e&&(t[c.SegmentOperatorValueEnum.COUNTRY]=e[c.SegmentOperatorValueEnum.COUNTRY]),c.SegmentOperatorValueEnum.REGION in e&&(t[c.SegmentOperatorValueEnum.REGION]=e[c.SegmentOperatorValueEnum.REGION]),c.SegmentOperatorValueEnum.CITY in e&&(t[c.SegmentOperatorValueEnum.CITY]=e[c.SegmentOperatorValueEnum.CITY])},e.prototype.checkLocationPreSegmentation=function(e){return r(this,void 0,void 0,(function(){var t;return i(this,(function(n){return(t=this.context)==null||t.getIpAddress(),(this.context?.getVwo())?.getLocation()&&(this.context?.getVwo())?.getLocation()!==void 0&&(this.context?.getVwo())?.getLocation()!==null?[2,this.valuesMatch(e,(this.context?.getVwo())?.getLocation())]:[2,!1]}))}))},e.prototype.checkUserAgentParser=function(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){return this.context?.getUserAgent()&&this.context?.getUserAgent()!==void 0?(this.context?.getVwo())?.getUaInfo()&&(this.context?.getVwo())?.getUaInfo()!==void 0?[2,this.checkValuePresent(e,(this.context?.getVwo())?.getUaInfo())]:[2,!1]:(this.serviceContainer.getLogManager().errorLog(`INVALID_USER_AGENT_IN_CONTEXT_FOR_PRE_SEGMENTATION`,{},{an:u.ApiEnum.GET_FLAG,uuid:this.context.getUuid(),sId:this.context.getSessionId()}),[2,!1])}))}))},e.prototype.checkInUserStorage=function(e,t,n){return r(this,void 0,void 0,(function(){var e,r;return i(this,(function(i){switch(i.label){case 0:return e=new o.StorageService(this.serviceContainer),[4,new a.StorageDecorator().getFeatureFromStorage(t,n,e,this.serviceContainer)];case 1:return r=i.sent(),(0,s.isObject)(r)&&Object.keys(r).length>0?[2,!0]:[2,!1]}}))}))},e.prototype.checkValuePresent=function(e,t){return r(this,void 0,void 0,(function(){var n,r,a;return i(this,(function(i){for(r in n=function(n){if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];r.forEach((function(e,t){r[t]=e.toLowerCase()}));for(var i=t[n],a=0,o=r;a<o.length;a++){var s=o[a];if(s.startsWith(`wildcard(`)&&s.endsWith(`)`)){var c=s.slice(9,-1);if(new RegExp(c.replace(/\*/g,`.*`),`i`).test(i))return{value:!0}}}if(r.includes(i?.toLowerCase()))return{value:!0}}},t)if(typeof(a=n(r))==`object`)return[2,a.value];return[2,!1]}))}))},e.prototype.valuesMatch=function(e,t){return r(this,void 0,void 0,(function(){var n,r,a,o,s,c,l;return i(this,(function(i){for(n=0,r=Object.entries(e);n<r.length;n++)if(a=r[n],o=a[0],s=a[1],!(o in t)||(c=this.normalizeValue(s),l=this.normalizeValue(t[o]),c!==l))return[2,!1];return[2,!0]}))}))},e.prototype.normalizeValue=function(e){return e==null?null:e.toString().replace(/^"|"$/g,``).trim()},e}()},8092:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EdgeConfigModel=void 0;var r=n(5399);t.EdgeConfigModel=function(){function e(){this.shouldWaitForTrackingCalls=!0}return e.prototype.modelFromDictionary=function(e){return e.shouldWaitForTrackingCalls&&(this.shouldWaitForTrackingCalls=e.shouldWaitForTrackingCalls),e.maxEventsToBatch?this.maxEventsToBatch=e.maxEventsToBatch:this.maxEventsToBatch=r.Constants.MAX_EVENTS_PER_REQUEST,this},e.prototype.getShouldWaitForTrackingCalls=function(){return this.shouldWaitForTrackingCalls},e.prototype.getMaxEventsToBatch=function(){return this.maxEventsToBatch},e}()},8164:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(
64o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.SetAttributeApi=void 0;var a=n(9693),o=n(8925);t.SetAttributeApi=function(){function e(){}return e.prototype.setAttribute=function(e,t,n){return r(this,void 0,void 0,(function(){return i(this,(function(r){switch(r.label){case 0:return e.getShouldWaitForTrackingCalls()?[4,s(e,t,n)]:[3,2];case 1:return r.sent(),[3,3];case 2:s(e,t,n),r.label=3;case 3:return[2]}}
64))}))},e}();var s=function(e,t,n){return r(void 0,void 0,void 0,(function(){var r,s,c,l,u;return i(this,(function(i){switch(i.label){case 0:return r=!0===((u=(e?.getSettings)?.call(e))?.getDevMode)?.call(u),s=!0===(n?.getIsDevMode)?.call(n),r&&s?[2]:(c=(0,o.getEventsBaseProperties)(e.getSettingsService(),a.EventEnum.SYNC_VISITOR_PROP,encodeURIComponent(n.getUserAgent()),n.getIpAddress()),l=(0,o.getAttributePayloadData)(e,a.EventEnum.SYNC_VISITOR_PROP,t,n),e.getBatchEventsQueue()?(e.getBatchEventsQueue().enqueue(l),[3,3]):[3,1]);case 1:return[4,(0,o.sendPostApiRequest)(e,c,l,n.getId())];case 2:i.sent(),i.label=3;case 3:return[2]}}))}))}},8202:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HttpMethodEnum=void 0,function(e){e.GET=`GET`,e.POST=`POST`}(n||(t.HttpMethodEnum=n={}))},8205:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.extractDecisionKeys=function(e){e===void 0&&(e={});var t={};return e.rolloutId&&(t.rId=e.rolloutId),e.rolloutVariationId&&(t.rvId=e.rolloutVariationId),e.experimentId&&(t.eId=e.experimentId),e.experimentVariationId&&(t.evId=e.experimentVariationId),t},t.sendDebugEventToWingify=function(e){return r(this,arguments,void 0,(function(e,t){var n,r;return t===void 0&&(t={}),i(this,(function(i){switch(i.label){case 0:return n=(0,a.getEventsBaseProperties)(e.getSettingsService(),o.EventEnum.DEBUGGER_EVENT,null,null),r=(0,a.getDebuggerEventPayload)(e.getSettingsService(),t),e.getBatchEventsQueue()?(e.getBatchEventsQueue().enqueue(r),[3,3]):[3,1];case 1:return[4,(0,a.sendEvent)(e,n,r,o.EventEnum.DEBUGGER_EVENT).catch((function(){}))];case 2:i.sent(),i.label=3;case 3:return[2]}}
64))}))};var a=n(8925),o=n(9693)},8667:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneObject=function(e){return e&&JSON.parse(JSON.stringify(e))},t.getCurrentTime=function(){return new Date().toISOString()},t.getCurrentUnixTimestamp=function(){return Math.ceil(new Date/1e3)},t.getCurrentUnixTimestampInMillis=function(){return+new Date},t.getRandomNumber=function(){return Math.random()},t.getSpecificRulesBasedOnType=function(e,t){return t===void 0&&(t=null),e&&!e?.getRulesLinkedCampaign()?[]:e&&e.getRulesLinkedCampaign()&&t&&(0,o.isString)(t)?e.getRulesLinkedCampaign().filter((function(e){return new a.CampaignModel().modelFromDictionary(e).getType()===t})):e.getRulesLinkedCampaign()},t.getAllExperimentRules=function(e){return e?.getRulesLinkedCampaign().filter((function(e){return e.getType()===i.CampaignTypeEnum.AB||e.getType()===i.CampaignTypeEnum.PERSONALIZE}))||[]},t.getFeatureFromKey=function(e,t){return(e?.getFeatures())?.find((function(e){return e.getKey()===t}))},t.doesEventBelongToAnyFeature=function(e,t){return t.getFeatures().some((function(t){return t.getMetrics().some((function(t){return t.getIdentifier()===e}))}))},t.doesEventBelongToAnyHoldout=function(e,t){return t.getHoldouts().some((function(t){return t.getMetrics().some((function(t){return t.getIdentifier()===e}))}))},t.addLinkedCampaignsToSettings=function(e){for(var t=new Map(e.getCampaigns().map((function(e){return[e.getId(),e]}))),n=0,i=e.getFeatures();n<i.length;n++){var o=i[n],s=o.getRules().map((function(e){var n=t.get(e.getCampaignId());if(!n)return null;var i=r(r({key:n.getKey()},n),{ruleKey:e.getRuleKey()});if(e.getVariationId()){var a=n.getVariations().find((function(t){return t.getId()===e.getVariationId()}));a&&(i.variations=[a])}return i})).filter((function(e){return e!==null})).map((function(e){var t=new a.CampaignModel;return t.modelFromDictionary(e),t}));o.setRulesLinkedCampaign(s)}},t.getFormattedErrorMessage=function(e){var t=``;return e instanceof Error?t=e.message:typeof e==`string`?t=e:e&&typeof e==`object`&&(t=JSON.stringify(e)),t};var i=n(4273),a=n(2144),o=n(1359)},8754:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.buildMessage=function(e,t){e===void 0&&(e=``),t===void 0&&(t={});var n=r({brand:a.Constants.BRAND_DISPLAY_NAME,logPrefix:a.Constants.LOG_PREFIX},t);try{return e.replace(o,(function(t,r,a){if(e[a-1]===`{`&&e[a+t.length]===`}`)return r;var o=n[r];return o==null?``:(0,i.isFunction)(o)?o():o}))}catch{return e}};var i=n(1359),a=n(5399),o=/\{([0-9a-zA-Z_]+)\}/g},8792:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};
vendor: 5,011 bytes, line 64
64Object.defineProperty(t,"__esModule",{value:!0}),t.StorageService=void 0;var o=n(1172),s=n(1359),c=n(4782),l=n(4237),u=n(8667),d=n(5399),f=n(9846),p=n(8754),m=n(7128);t.StorageService=function(){function e(e){this.storageData={},this.serviceContainer=e}return e.prototype.getDataInStorage=function(e,t){return i(this,void 0,void 0,(function(){var n,r=this;return a(this,(function(i){return n=new c.Deferred,(0,s.isNull)(this.serviceContainer.getStorageConnector())||(0,s.isUndefined)(this.serviceContainer.getStorageConnector())?n.resolve(o.StorageEnum.STORAGE_UNDEFINED):this.serviceContainer.getStorageConnector().get(e,t.getId()).then((function(e){n.resolve(e)})).catch((function(e){r.serviceContainer.getLogManager().errorLog(`ERROR_READING_STORED_DATA_IN_STORAGE`,{err:e},{an:l.ApiEnum.GET_FLAG,uuid:t.getUuid(),sId:t.getSessionId()}),n.resolve(o.StorageEnum.NO_DATA_FOUND)})),[2,n.promise]}))}))},e.prototype.setDataInStorage=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(n){return t=new c.Deferred,this.serviceContainer.getStorageConnector()===null||this.serviceContainer.getStorageConnector()===void 0?t.resolve(!1):this.serviceContainer.getStorageConnector().set(e).then((function(){t.resolve(!0)})).catch((function(){t.resolve(!1)})),[2,t.promise]}))}))},e.prototype.getSettingsFromStorage=function(e,t){return i(this,arguments,void 0,(function(e,t,n){var r,i,o,l,f,h,g;return n===void 0&&(n=!0),a(this,(function(a){switch(a.label){case 0:r=new c.Deferred,a.label=1;case 1:return a.trys.push([1,5,,6]),this.serviceContainer.getStorageConnector()&&typeof this.serviceContainer.getStorageConnector().getSettings==`function`?[4,this.serviceContainer.getStorageConnector().getSettings(e,t)]:[3,3];case 2:if(!(i=a.sent())||(0,s.isEmptyObject)(i))return r.resolve({}),[2,r.promise];if(o=i.settings,l=i.timestamp,!o||o.sdkKey!==t||String(o.accountId??o.a)!==String(e))return this.serviceContainer.getLogManager().info((0,p.buildMessage)(m.InfoLogMessagesEnum.SETTINGS_CACHE_MISS_KEY_ACCOUNT_ID_MISMATCH)),r.resolve({}),[2,r.promise];if(this.serviceContainer.getStorageConnector().alwaysUseCachedSettings||d.Constants.ALWAYS_USE_CACHED_SETTINGS)return this.serviceContainer.getLogManager().info((0,p.buildMessage)(m.InfoLogMessagesEnum.SETTINGS_USING_CACHED_SETTINGS)),r.resolve(o),[2,r.promise];if(f=Date.now(),h=this.serviceContainer.getStorageConnector().ttl||d.Constants.SETTINGS_TTL,f-l>h)this.serviceContainer.getLogManager().info((0,p.buildMessage)(m.InfoLogMessagesEnum.SETTINGS_EXPIRED)),r.resolve({});else{if(this.serviceContainer.getLogManager().info((0,p.buildMessage)(m.InfoLogMessagesEnum.SETTINGS_RETRIEVED_FROM_STORAGE)),n&&this.setFreshSettingsInStorage(e,t),o&&o.sdkKey)try{o.sdkKey=atob(o.sdkKey)}catch(e){this.serviceContainer.getLogManager().errorLog(`ERROR_DECODING_SDK_KEY_FROM_STORAGE`,{err:(0,u.getFormattedErrorMessage)(e)},{an:d.Constants.STORAGE})}r.resolve(o)}return[3,4];case 3:r.resolve({}),a.label=4;case 4:return[3,6];case 5:return g=a.sent(),this.serviceContainer.getLogManager().errorLog(`ERROR_READING_SETTINGS_FROM_STORAGE`,{err:(0,u.getFormattedErrorMessage)(g)},{an:d.Constants.STORAGE}),r.resolve({}),[3,6];case 6:return[2,r.promise]}}))}))},e.prototype.setSettingsInStorage=function(e,t,n){return i(this,void 0,void 0,(function(){var e,t,i,o;return a(this,(function(a){switch(a.label){case 0:e=new c.Deferred,a.label=1;case 1:return a.trys.push([1,5,,6]),this.serviceContainer.getStorageConnector()&&typeof this.serviceContainer.getStorageConnector().setSettings==`function`?(t=r({},n),i={settings:t,timestamp:Date.now()},[4,this.serviceContainer.getStorageConnector().setSettings(i)]):[3,3];case 2:return a.sent(),this.serviceContainer.getLogManager().info((0,p.buildMessage)(m.InfoLogMessagesEnum.SETTINGS_SUCCESSFULLY_STORED)),e.resolve(),[3,4];case 3:e.resolve(),a.label=4;case 4:return[3,6];case 5:return o=a.sent(),this.serviceContainer.getLogManager().errorLog(`ERROR_STORING_SETTINGS_IN_STORAGE`,{err:(0,u.getFormattedErrorMessage)(o)},{an:d.Constants.STORAGE}),e.resolve(),[3,6];case 6:return[2,e.promise]}}))}))},e.prototype.setFreshSettingsInStorage=function(e,t){return i(this,void 0,void 0,(function(){var n,r=this;return a(this,(function(o){return n=new c.Deferred,this.serviceContainer.getSettingsService()&&this.serviceContainer.getStorageConnector()&&typeof this.serviceContainer.getStorageConnector().setSettings==`function`?(this.serviceContainer.getSettingsService().fetchSettings().then((function(o){return i(r,void 0,void 0,(function(){return a(this,(function(r){switch(r.label){case 0:return o&&new f.SettingsSchema().isSettingsValid(o)?[4,this.setSettingsInStorage(e,t,o)]:[3,2];case 1:r.sent(),this.serviceContainer.getLogManager().info((0,p.buildMessage)(m.InfoLogMessagesEnum.SETTINGS_UPDATED_WITH_FRESH_DATA)),r.label=2;case 2:return n.resolve(),[2]}}))}))})).catch((function(e){r.serviceContainer.getLogManager().errorLog(`ERROR_STORING_FRESH_SETTINGS_IN_STORAGE`,{err:(0,u.getFormattedErrorMessage)(e)}
64,{an:d.Constants.STORAGE}),n.resolve()})),[2,n.promise]):[2]}))}))},e}()},8824:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},a=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||=Array.prototype.slice.call(t,0,i),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.getApplicableHoldouts=m,t.getMatchedHoldouts=function(e,t,n,d){return r(this,void 0,void 0,(function(){var r,p,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,ee;return i(this,(function(i){switch(i.label){case 0:if(r=e.getSettings(),p=d?.isInHoldoutId??[],h=d?.notInHoldoutId??[],g=a(a([],p,!0),h,!0),_=t.getId(),v=m(r,_),y=[],!v.length)return[2,{matchedHoldouts:[],notMatchedHoldouts:[],holdoutPayloads:[]}];b=[],x=[],S=0,C=v,i.label=1;case 1:return S<C.length?(w=C[S],g.includes(w.getId())?(e.getLogManager().debug((0,s.buildMessage)(c.DebugLogMessagesEnum.HOLDOUT_SKIP_EVALUATION,{holdoutId:w.getId(),reason:`user ${n.getId()} was already evaluated for feature with id: ${_}; SKIP decision making altogether.`})),[3,5]):(T=w.getSegments()||{},E=!0,T&&Object.keys(T).length>0?[4,e.getSegmentationManager().validateSegmentation(T,n.getCustomVariables())]:[3,3])):[3,6];case 2:return E=i.sent(),[3,4];case 3:e.getLogManager().info((0,s.buildMessage)(c.InfoLogMessagesEnum.HOLDOUT_SEGMENTATION_SKIP,{holdoutId:w.getId(),userId:n.getId()})),i.label=4;case 4:D=void 0,O=!1,E?(k=`${r.getAccountId()}_${w.getId()}_${n.getId()}`,A=new o.DecisionMaker().getBucketValueForUser(k,100),O=A!==0&&A<=w.getPercentTraffic(),D=O?f.Constants.VARIATION_IS_PART_OF_HOLDOUT:f.Constants.VARIATION_NOT_PART_OF_HOLDOUT,O?(e.getLogManager().info((0,s.buildMessage)(c.InfoLogMessagesEnum.HOLDOUT_SHOULD_EXCLUDE_USER,{userId:n.getId(),bucketValue:A,holdoutGroupName:w.getName(),percentTraffic:w.getPercentTraffic(),featureId:_})),b.push(w)):(e.getLogManager().debug((0,s.buildMessage)(c.DebugLogMessagesEnum.HOLDOUT_SHOULD_NOT_EXCLUDE_USER,{userId:n.getId(),holdoutGroupName:w.getName(),featureId:_})),y.push(w))):(e.getLogManager().info((0,s.buildMessage)(c.DebugLogMessagesEnum.HOLDOUT_SEGMENTATION_FAIL,{userId:n.getId(),holdoutGroupName:w.getName()})),D=f.Constants.VARIATION_NOT_PART_OF_HOLDOUT,y.push(w)),ee=(0,l.createHoldoutPayload)(e,u.EventEnum.VARIATION_SHOWN,w.getId(),D,n,_),x.push(ee),i.label=5;case 5:return S++,[3,1];case 6:return[2,{matchedHoldouts:b,notMatchedHoldouts:y,holdoutPayloads:x}]}}))}))},t.sendNetworkCallsForNotInHoldouts=function(e,t,n,o,s,c){return r(this,void 0,void 0,(function(){var r,h,g,_,v,y,b,x,S,C;return i(this,(function(i){switch(i.label){case 0:r=m(e.getSettings(),t.getId()),h=a([],s?.notInHoldoutId??[],!0),g=a([],s?.isInHoldoutId??[],!0),_=[],v=h.length,r.length>0&&(o.isHoldoutPresent=!0),y=0,b=r,i.label=1;case 1:return y<b.length?(x=b[y],h?.includes(x.getId())||g?.includes(x.getId())?[3,5]:(h.push(x.getId()),S=(0,l.createHoldoutPayload)(e,u.EventEnum.VARIATION_SHOWN,x.getId(),f.Constants.VARIATION_NOT_PART_OF_HOLDOUT,n,t.getId()),e.getSettingsService().isGatewayServiceProvided&&S!=null?(C=(0,d.sendImpressionForVariationShown)(e,x.getId(),f.Constants.VARIATION_NOT_PART_OF_HOLDOUT,n,t.getKey(),S),e.getShouldWaitForTrackingCalls()?[4,C]:[3,3]):[3,4])):[3,6];case 2:i.sent(),i.label=3;case 3:return[3,5];case 4:S!=null&&_.push(S),i.label=5;case 5:return y++,[3,1];case 6:return h.length>v&&new p.StorageDecorator().setDataInStorage({featureKey:t.getKey(),context:n,notInHoldoutId:h},c,e),_.length>0?e.getShouldWaitForTrackingCalls()?[4,(0,d.sendImpressionForVariationShownInBatch)(e,_)]:[3,8]:[3,9];case 7:return i.sent(),[3,9];case 8:(0,d.sendImpressionForVariationShownInBatch)(e,_),i.label=9;case 9:return[2,h]}}))}))};var o=n(6775),s=n(8754),c=n(7128),l=n(8925),u=n(9693),d=n(162),f=n(5399),p=n(3780);function m(e,t){return(e.getHoldouts()||[]).filter((function(e){return e.getIsGlobal()||e.getFeatureIds().includes(t)}))}},8925:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(
64o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.getSettingsPath=function(e,t){return{i:`${e}`,r:Math.random(),a:t}},t.getTrackEventPath=function(e,t,n){return{event_type:e,account_id:t,uId:n,u:(0,s.getUUID)(n,t),sdk:C.SDKMetaUtil.getInstance().getSdkName(),"sdk-v":C.SDKMetaUtil.getInstance().getVersion(),random:(0,o.getRandomNumber)(),ap:c.Constants.PLATFORM,sId:(0,o.getCurrentUnixTimestamp)(),ed:JSON.stringify({p:`server`})}},t.getEventsBaseProperties=function(e,t,n,r,i,a){n===void 0&&(n=``),r===void 0&&(r=``),i===void 0&&(i=!1),a===void 0&&(a=null);var s=Object.assign({en:t,a:e.accountId.toString(),eTime:(0,o.getCurrentUnixTimestampInMillis)(),random:(0,o.getRandomNumber)(),p:`FS`,visitor_ua:n,visitor_ip:r,sn:C.SDKMetaUtil.getInstance().getSdkName(),sv:C.SDKMetaUtil.getInstance().getVersion()});return i?s.a=a:s.env=e.sdkKey,typeof window<`u`&&(s.dh=1),s},t._getEventBasePayload=w,t.getTrackUserPayloadData=function(e,t,n,r,i){var a=i.getId(),s=i.getUserAgent(),c=i.getIpAddress(),l=i.getCustomVariables(),u=i.getPostSegmentationVariables(),d=w(e.getSettingsService(),a,t,s,c);if(i.getSessionId()!==0&&(d.d.sessionId=i.getSessionId()),i.getUuid()&&(d.d.msgId=`${i.getUuid()}-${(0,o.getCurrentUnixTimestampInMillis)()}`,d.d.visId=i.getUuid()),d.d.event.props.id=n,d.d.event.props.variation=r,d.d.event.props.isFirst=1,u&&u.length>0&&l&&Object.keys(l).length>0)for(var p=0,m=u;p<m.length;p++){var h=m[p];l[h]&&(d.d.visitor.props[h]=l[h])}return c&&(d.d.visitor.props.ip=c),e.getLogManager().debug((0,g.buildMessage)(f.DebugLogMessagesEnum.IMPRESSION_FOR_TRACK_USER,{accountId:e.getSettingsService().accountId.toString(),userId:a,campaignId:n})),d},t.getTrackGoalPayloadData=function(e,t,n,r){var i=w(e.getSettingsService(),r.getId(),t,r.getUserAgent(),r.getIpAddress());if(r.getSessionId()!==0&&(i.d.sessionId=r.getSessionId()),r.getUuid()&&(i.d.msgId=`${r.getUuid()}-${(0,o.getCurrentUnixTimestampInMillis)()}`,i.d.visId=r.getUuid()),i.d.event.props.isCustomEvent=!0,i.d.event.props.variation=1,i.d.event.props.id=1,n&&(0,h.isObject)(n)&&Object.keys(n).length>0)for(var a in n)i.d.event.props[a]=n[a];return e.getLogManager().debug((0,g.buildMessage)(f.DebugLogMessagesEnum.IMPRESSION_FOR_TRACK_GOAL,{eventName:t,accountId:e.getSettingsService().accountId.toString(),userId:r.getId()})),i},t.getAttributePayloadData=function(e,t,n,r){var i=w(e.getSettingsService(),r.getId(),t,r.getUserAgent(),r.getIpAddress());r.getSessionId()!==0&&(i.d.sessionId=r.getSessionId()),r.getUuid()&&(i.d.msgId=`${r.getUuid()}-${(0,o.getCurrentUnixTimestampInMillis)()}`,i.d.visId=r.getUuid()),i.d.event.props.isCustomEvent=!0,i.d.event.props[c.Constants.FS_ENVIRONMENT_KEY]=e.getSettingsService().sdkKey;for(var a=0,s=Object.entries(n);a<s.length;a++){var l=s[a],u=l[0],d=l[1];i.d.visitor.props[u]=d}return e.getLogManager().debug((0,g.buildMessage)(f.DebugLogMessagesEnum.IMPRESSION_FOR_SYNC_VISITOR_PROP,{eventName:t,accountId:e.getSettingsService().accountId.toString(),userId:r.getId()})),i},t.getTrackingUsagePayloadData=function(e,t){var n=t.getId(),r=w(e.getSettingsService(),n,v.EventEnum.USER_EVALUATED,t.getUserAgent(),t.getIpAddress());return t.getSessionId()!==0&&(r.d.sessionId=t.getSessionId()),t.getUuid()&&(r.d.msgId=`${t.getUuid()}-${(0,o.getCurrentUnixTimestampInMillis)()}`,r.d.visId=t.getUuid()),e.getLogManager().debug((0,g.buildMessage)(f.DebugLogMessagesEnum.IMPRESSION_FOR_TRACKING_USAGE,{accountId:e.getSettingsService().accountId.toString(),userId:n})),r},t.sendPostApiRequest=function(e,t,n,r){return i(this,arguments,void 0,(function(e,t,n,r,i,s){var c,p,h,_,y,C,w,E;return i===void 0&&(i={}),s===void 0&&(s={}),a(this,(function(a){switch(a.label){case 0:return c=e.getNetworkManager().getRetryConfig(),p=!!e.getWingifyOptions()?.gatewayService,h={},_=n.d.visitor_ua,y=n.d.visitor_ip,_&&(h[l.HeadersEnum.USER_AGENT]=_),y&&(h[l.HeadersEnum.IP]=y),(C=new m.RequestModel(e.getSettingsService().getCollectionHostname(),u.HttpMethodEnum.POST,e.getUpdatedEndpointWithCollectionPrefix(d.UrlEnum.EVENTS,p),t,n,h,e.getSettingsService().protocol,e.getSettingsService().port,c)).setEventName(t.en),C.setUuid(n.d.visId),t.en===v.EventEnum.VARIATION_SHOWN?(w=x.ApiEnum.GET_FLAG,E=s.campaignType===S.CampaignTypeEnum.ROLLOUT||s.campaignType===S.CampaignTypeEnum.PERSONALIZE?`feature: ${s.featureKey}, rule: ${s.variationName}`:`feature: ${s.featureKey}, rule: ${s.campaignKey} and variation: ${s.variationName}`,C.setCampaignId(n.d.event.props.id)):t.en!=v.EventEnum.VARIATION_SHOWN&&(t.en===v.EventEnum.SYNC_VISITOR_PROP?(w=x.ApiEnum.SET_ATTRIBUTE,E=w):t.en!==v.EventEnum.DEBUGGER_EVENT&&t.en!==v.EventEnum.LOG_EVENT&&t.en!==v.EventEnum.INIT_CALLED&&(w=x.ApiEnum.TRACK_EVENT,E=`event: ${t.en}`),Object.keys(i).length>0&&C.setEventProperties(i)),[4,e.getNetworkManager().post(C).then((function(i){if(i.getTotalAttempts()>0){var a=T(i,n,w,E);a.uuid=C.getUuid(),(0,b.sendDebugEventToWingify)(e,a)}e.getLogManager().info((0,g.buildMessage)(f.InfoLogMessagesEnum.NETWORK_CALL_SUCCESS,{event:t.en,endPoint:d.UrlEnum.EVENTS,accountId:e.getSettingsService().accountId.toString(),userId:r,uuid:n.d.visId}))})).catch((function(t){var r=T(t,n,w,E);r.uuid=C.getUuid(),(0,b.sendDebugEventToWingify)(e,r),e.getLogManager().errorLog(`NETWORK_CALL_FAILED`,{method:u.HttpMethodEnum.POST,err:(0,o.getFormattedErrorMessage)(t)},{},!1)}))];case 1:return a.sent(),[2]}}))}))},t.getMessagingEventPayload=function(e,t,n,i,a){a===void 0&&(a={});var s=w(e,e.accountId+`_`+e.sdkKey,i);s.d.event.props[c.Constants.FS_ENVIRONMENT_KEY]=e.sdkKey,s.d.event.props.product=c.Constants.PRODUCT_NAME;var l={type:t,content:{title:n,dateTime:(0,o.getCurrentUnixTimestampInMillis)()},metaInfo:r({},a)};return s.d.event.props.data=l,s},t.getSDKInitEventPayload=function(e,t,n,r){var i=w(e,e.accountId+`_`+e.sdkKey,t);i.d.event.props[c.Constants.FS_ENVIRONMENT_KEY]=e.sdkKey,i.d.event.props.product=c.Constants.PRODUCT_NAME;var a={isSDKInitialized:!0,settingsFetchTime:n,sdkInitTime:r};return i.d.event.props.data=a,i},t.getSDKUsageStatsEventPayload=function(e,t,n,r){var i=w(e,e.accountId+`_`+e.sdkKey,t,``,``,!0,n);return i.d.event.props.product=c.Constants.PRODUCT_NAME,i.d.event.props.vwoMeta=r.getUsageStats(),i},t.getDebuggerEventPayload=function(e,t){t===void 0&&(t={});var n,i=e.accountId.toString(),a=e.sdkKey;t.uuid?n=t.uuid:(n=(0,s.getUUID)(i+`_`+a,i),t.uuid=n);var o=w(e,n,v.EventEnum.DEBUGGER_EVENT,``,``,!1,null,!1);return o.d.event.props={},t.sId?o.d.sessionId=t.sId:t.sId=o.d.sessionId,t.an||=v.EventEnum.DEBUGGER_EVENT,o.d.event.props.vwoMeta=r(r({},t),{a:e.accountId.toString(),product:c.Constants.PRODUCT_NAME,sn:C.SDKMetaUtil.getInstance().getSdkName(),sv:C.SDKMetaUtil.getInstance().getVersion(),"src-v":c.Constants.SDK_NAME+`-`+c.Constants.SDK_VERSION,eventId:(0,s.getRandomUUID)(e.sdkKey)}),o},t.sendEvent=function(e,t,n,r){return i(this,void 0,void 0,(function(){var i,o,s,c;return a(this,(function(a){i=new _.Deferred,o=!!e.getWingifyOptions()?.gatewayService,s=e.getNetworkManager().getRetryConfig(),r===v.EventEnum.DEBUGGER_EVENT&&(s.shouldRetry=!1);try{return(c=new m.RequestModel(e.getSettingsService().getCollectionHostname(),u.HttpMethodEnum.POST,e.getUpdatedEndpointWithCollectionPrefix(d.UrlEnum.EVENTS,o),t,n,null,e.getSettingsService().protocol,e.getSettingsService().port,s)).setEventName(t.en),e.getNetworkManager().post(c).then((function(e){i.resolve(e.getData())})).catch((function(e){i.reject(e)})),[2,i.promise]}catch{return i.resolve(!1),[2,i.promise]}return[2]}))}))},t.createNetWorkAndRetryDebugEvent=T,t.createHoldoutPayload=function(e,t,n,r,i,a){var o=i.getId(),s=w(e.getSettingsService(),o,t,i?.getUserAgent(),i?.getIpAddress());return s.d.event.props.id=n,s.d.event.props.variation=r,s.d.event.props.isFirst=1,s.d.event.props.fId=a,s};var o=n(8667),s=n(1720),c=n(5399),l=n(4019),u=n(8202),d=n(9528),f=n(7128),p=n(4580),m=n(6710),h=n(1359),g=n(8754),_=n(4782),v=n(9693),y=n(3368),b=n(8205),x=n(4237),S=n(4273),C=n(7098);function w(e,t,n,r,i,a,c,l){r===void 0&&(r=``),i===void 0&&(i=``),a===void 0&&(a=!1),c===void 0&&(c=null),l===void 0&&(l=!0);var u,d=e.accountId;a&&(d=c),u=l?(0,s.getUUID)(t.toString(),d.toString()):t.toString();var f={vwo_sdkName:C.SDKMetaUtil.getInstance().getSdkName(),vwo_sdkVersion:C.SDKMetaUtil.getInstance().getVersion()};a||(f.vwo_envKey=e.sdkKey);var p={d:{msgId:`${u}-${(0,o.getCurrentUnixTimestampInMillis)()}`,visId:u,sessionId:(0,o.getCurrentUnixTimestamp)(),visitor_ua:r,visitor_ip:i,event:{props:f,name:n,time:(0,o.getCurrentUnixTimestampInMillis)()}}};return a||(p.d.visitor={props:{vwo_fs_environment:e.sdkKey}}),p}function T(e,t,n,r){try{var i=y.DebuggerCategoryEnum.RETRY,a=c.C
64onstants.NETWORK_CALL_SUCCESS_WITH_RETRIES,s=(0,g.buildMessage)(f.InfoLogMessagesEnum.NETWORK_CALL_SUCCESS_WITH_RETRIES,{extraData:r,attempts:e.getTotalAttempts(),err:(0,o.getFormattedErrorMessage)(e.getError())}),l=p.LogLevelEnum.INFO.toString();e.getStatusCode()!==200&&(i=y.DebuggerCategoryEnum.NETWORK,a=c.Constants.NETWORK_CALL_FAILURE_AFTER_MAX_RETRIES,s=(0,g.buildMessage)(f.ErrorLogMessagesEnum.NETWORK_CALL_FAILURE_AFTER_MAX_RETRIES,{extraData:r,attempts:e.getTotalAttempts(),err:(0,o.getFormattedErrorMessage)(e.getError())}),l=p.LogLevelEnum.ERROR.toString());var u={cg:i,msg_t:a,msg:s,lt:l};return n&&(u.an=n),t?.d?.sessionId?u.sId=t.d.sessionId:u.sId=(0,o.getCurrentUnixTimestamp)(),u}catch(e){return{cg:y.DebuggerCategoryEnum.NETWORK,an:n,msg_t:`NETWORK_CALL_FAILED`,msg:(0,g.buildMessage)(f.ErrorLogMessagesEnum.NETWORK_CALL_FAILED,{method:r,err:(0,o.getFormattedErrorMessage)(e)}),lt:p.LogLevelEnum.ERROR.toString(),sId:(0,o.getCurrentUnixTimestamp)()}}}},9025:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,n){function r(e,r,o,s){if(typeof e==`string`&&(e=function(e){e=unescape(encodeURIComponent(e));let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),typeof r==`string`&&(r=(0,a.default)(r)),r?.length!==16)throw TypeError(`Namespace must be array-like (16 iterable integer values, 0-255)`);let c=new Uint8Array(16+e.length);if(c.set(r),c.set(e,r.length),c=n(c),c[6]=15&c[6]|t,c[8]=63&c[8]|128,o){s||=0;for(let e=0;e<16;++e)o[s+e]=c[e];return o}return(0,i.unsafeStringify)(c)}try{r.name=e}catch{}return r.DNS=o,r.URL=s,r};var r,i=n(9910),a=(r=n(6792))&&r.__esModule?r:{default:r};let o=`6ba7b810-9dad-11d1-80b4-00c04fd430c8`;t.DNS=o;let s=`6ba7b811-9dad-11d1-80b4-00c04fd430c8`;t.URL=s},9030:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.Wingify=void 0,t.init=function(e){return r(this,void 0,void 0,(function(){var t,n,r,a,g;return i(this,(function(i){t=d.ApiEnum.INIT,n=new Date().toISOString();try{return r=`[ERROR]: ${p.Constants.LOG_PREFIX} ${n} `,(0,o.isObject)(e)||(g=r+(0,l.buildMessage)(c.ErrorLogMessagesEnum.INVALID_OPTIONS),console.error(g)),e!=null&&e.sdkKey&&(0,o.isString)(e?.sdkKey)||(g=r+(0,l.buildMessage)(c.ErrorLogMessagesEnum.INVALID_SDK_KEY_IN_OPTIONS),console.error(g)),e.accountId||(g=r+(0,l.buildMessage)(c.ErrorLogMessagesEnum.INVALID_ACCOUNT_ID_IN_OPTIONS),console.error(g)),e.isAliasingEnabled&&!e.gatewayService&&(g=r+(0,l.buildMessage)(c.ErrorLogMessagesEnum.INVALID_GATEWAY_URL,{date:n}),console.error(g)),e.platform=u.PlatformEnum.CLIENT,a=new m(e),h={vwoInitDeferred:new s.Deferred,isSettingsFetched:!1,instance:null},[2,a.then((function(e){return h.isSettingsFetched=!0,h.instance=e,h.vwoInitDeferred.resolve(e),e}))]}catch(e){g=(0,l.buildMessage)(c.ErrorLogMessagesEnum.EXECUTION_FAILED,{apiName:t,err:(0,f.getFormattedErrorMessage)(e)}),console.info(`[INFO]: ${p.Constants.LOG_PREFIX} ${new Date().toISOString()} ${g}`)}return[2]}))}))},t.onInit=function(){return r(this,void 0,void 0,(function(){var e,t,n;return i(this,(function(r){e=d.ApiEnum.ON_INIT;try{return h.vwoInitDeferred=new s.Deferred,t=new Date().toISOString(),h.isSettingsFetched?(n=(0,l.buildMessage)(c.InfoLogMessagesEnum.ON_INIT_ALREADY_RESOLVED,{date:t,apiName:e}),console.info(n),h.vwoInitDeferred.resolve(h.instance)):setTimeout((function(){if(!h.isSettingsFetched){var e=(0,l.buildMessage)(c.InfoLogMessagesEnum.ON_INIT_SETTINGS_FAILED,{date:t});console.error(e),h.vwoInitDeferred.reject(Error(p.Constants.SETTINGS_FETCH_ERROR))}}),5e3),[2,h.vwoInitDeferred.promise]}catch(t){n=(0,l.buildMessage)(c.ErrorLogMessagesEnum.EXECUTION_FAILED,{apiName:e,err:(0,f.getFormattedErrorMessage)(t)}),console.info(`[INFO]: ${p.Constants.LOG_PREFIX} ${new Date().toISOString()} ${n}`)}return[2]}))}))};var a=n(3183),o=n(1359),s=n(4782),c=n(7128),l=n(8754),u=n(5520),d=n(4237),f=n(8667),p=n(5399),m=function(){function e(t){return e.setInstance(t)}return e.setInstance=function(e){var t=this,n=Date.now(),r=e?.wingifyBuilder||e?.vwoBuilder;return this.wingifyBuilder=r||new a.WingifyBuilder(e),this.instance=this.wingifyBuilder.setLogger().setSettingsService().setStorage().setNetworkManager().initPolling().initBatching(),this.wingifyBuilder.getSettingsService().startTimeForInit=n,e?.settings?(this.wingifyBuilder.getSettingsService().isSettingsProvi
64dedInInit=!0,Promise.resolve(this.wingifyBuilder.build(e.settings))):this.wingifyBuilder.getSettings().then((function(e){return t.wingifyBuilder.build(e)}))},Object.defineProperty(e,"Instance",{get:function(){return this.instance},enumerable:!1,configurable:!0}),e}();t.Wingify=m;var h={}},9042:(e,t)=>{function n(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function r(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){let t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof e==`string`){let t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);let a=e.length/4+2,o=Math.ceil(a/16),s=Array(o);for(let t=0;t<o;++t){let n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];s[t]=n}s[o-1][14]=8*(e.length-1)/2**32,s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<o;++e){let a=new Uint32Array(80);for(let t=0;t<16;++t)a[t]=s[e][t];for(let e=16;e<80;++e)a[e]=r(a[e-3]^a[e-8]^a[e-14]^a[e-16],1);let o=i[0],c=i[1],l=i[2],u=i[3],d=i[4];for(let e=0;e<80;++e){let i=Math.floor(e/20),s=r(o,5)+n(i,c,l,u)+d+t[i]+a[e]>>>0;d=u,u=l,l=r(c,30)>>>0,c=o,o=s}i[0]=i[0]+o>>>0,i[1]=i[1]+c>>>0,i[2]=i[2]+l>>>0,i[3]=i[3]+u>>>0,i[4]=i[4]+d>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}},9094:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MetricModel=void 0,t.MetricModel=function(){function e(){}return e.prototype.modelFromDictionary=function(e){return this.identifier=e.identifier||e.key,this.id=e.i||e.id,this.type=e.t||e.type,this},e.prototype.getId=function(){return this.id},e.prototype.getIdentifier=function(){return this.identifier},e.prototype.getType=function(){return this.type},e}()},9181:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.setVariationAllocation=function(e,t){if(e.getType()===i.CampaignTypeEnum.ROLLOUT||e.getType()===i.CampaignTypeEnum.PERSONALIZE)(function(e,t){for(var n=0;n<e.getVariations().length;n++){var r=e.getVariations()[n],i=100*e.getVariations()[n].getWeight();r.setStartRange(1),r.setEndRange(i),t.info((0,s.buildMessage)(a.InfoLogMessagesEnum.VARIATION_RANGE_ALLOCATION,{variationKey:r.getKey(),campaignKey:e.getKey(),variationWeight:r.getWeight(),startRange:1,endRange:i}))}})(e,t);else{var n=0;e.getVariations().forEach((function(r){var i=c(r,n);n+=i,t.info((0,s.buildMessage)(a.InfoLogMessagesEnum.VARIATION_RANGE_ALLOCATION,{variationKey:r.getKey(),campaignKey:e.getKey(),variationWeight:r.getWeight(),startRange:r.getStartRangeVariation(),endRange:r.getEndRangeVariation()}))}))}},t.assignRangeValues=c,t.scaleVariationWeights=function(e){var t=e.reduce((function(e,t){return e+t.weight}),0);if(t)e.forEach((function(e){return e.weight=e.weight/t*100}));else{var n=100/e.length;e.forEach((function(e){return e.weight=n}))}},t.getBucketingSeed=function(e,t,n){if(n)return`${n}_${e}`;var r=t.getType()===i.CampaignTypeEnum.ROLLOUT||t.getType()===i.CampaignTypeEnum.PERSONALIZE?t.getVariations()[0].getSalt():t.getSalt();return r?`${r}_${e}`:`${t.getId()}_${e}`},t.getVariationFromCampaignKey=function(e,t,n){var r=e.getCampaigns().find((function(e){return e.getKey()===t}));if(r){var i=r.getVariations().find((function(e){return e.getId()===n}));if(i)return new o.VariationModel().modelFromDictionary(i)}return null},t.getCampaignKeyFromCampaignId=function(e,t){var n=e.getCampaigns().find((function(e){return e.getId()===t}));return n?n.getKey():null},t.getVariationNameFromCampaignIdAndVariationId=function(e,t,n){var r=e.getCampaigns().find((function(e){return e.getId()===t}));if(r){var i=r.getVariations().find((function(e){return e.getId()===n}));if(i)return i.getKey()}return null},t.getCampaignTypeFromCampaignId=function(e,t){var n=e.getCampaigns().find((function(e){return e.getId()===t}));return n?n.getType():null},t.isFeatureIdPresentInSettings=function(e,t){return e.getFeatures().some((function(e){return e.getId()===t}))},t.setCampaignAllocation=function(e){for(var t=0,n=0;t<e.length;t++)n+=l(e[t],n)}
64,t.getGroupDetailsIfCampaignPartOfIt=function(e,t,n){n===void 0&&(n=null);var r=t.toString();return n!==null&&(r=`${t}_${n}`.toString()),e.getCampaignGroups()&&Object.prototype.hasOwnProperty.call(e.getCampaignGroups(),r)?{groupId:e.getCampaignGroups()[r],groupName:e.getGroups()[e.getCampaignGroups()[r]].name}:{}},t.getCampaignsByGroupId=function(e,t){var n=e.getGroups()[t];return n?n.campaigns:[]},t.getFeatureKeysFromCampaignIds=function(e,t){for(var n=[],r=function(t){var r=t.split(`_`).map(Number),i=r[0],a=r[1];e.getFeatures().forEach((function(e){n.indexOf(e.getKey())===-1&&e.getRules().forEach((function(t){t.getCampaignId()===i&&(a==null||t.getVariationId()===a)&&n.push(e.getKey())}))}))},i=0,a=t;i<a.length;i++)r(a[i]);return n},t.getCampaignIdsFromFeatureKey=function(e,t){var n=[];return e.getFeatures().forEach((function(e){e.getKey()===t&&e.getRules().forEach((function(e){n.push(e.getCampaignId())}))})),n},t.assignRangeValuesMEG=l;var r=n(5399),i=n(4273),a=n(7128),o=n(2365),s=n(8754);function c(e,t){var n=u(e.getWeight());return n?(e.setStartRange(t+1),e.setEndRange(t+n)):(e.setStartRange(-1),e.setEndRange(-1)),n}function l(e,t){var n=u(e.weight);return n?(e.startRangeVariation=t+1,e.endRangeVariation=t+n):(e.startRangeVariation=-1,e.endRangeVariation=-1),n}function u(e){if(!e||e===0)return 0;var t=Math.ceil(100*e);return Math.min(t,r.Constants.MAX_TRAFFIC_VALUE)}},9217:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.StatusEnum=void 0,function(e){e.PASSED=`passed`,e.FAILED=`failed`}(n||(t.StatusEnum=n={}))},9315:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.BatchEventsDispatcher=void 0;var a=n(6710),o=n(8202),s=n(9528),c=n(8754),l=n(7128),u=n(1359),d=n(4782),f=n(8667),p=n(5399),m=n(8205),h=n(8925),g=n(9693),_=function(){function e(){}return e.dispatch=function(e,t,n,a){return r(this,void 0,void 0,(function(){return i(this,(function(r){switch(r.label){case 0:return[4,this.sendPostApiRequest(e,a,t,n)];case 1:return[2,r.sent()]}}))}))},e.sendPostApiRequest=function(e,t,n,c){return r(this,void 0,void 0,(function(){var r,l,u,g,_,v,y,b,x,S=this;return i(this,(function(i){r=new d.Deferred,l=e.getNetworkManager().getRetryConfig(),(u={}).Authorization=e.getSettingsService().sdkKey,g=new a.RequestModel(e.getSettingsService().getCollectionHostname(),o.HttpMethodEnum.POST,e.getUpdatedEndpointWithCollectionPrefix(s.UrlEnum.BATCH_EVENTS),t,n,u,e.getSettingsService().protocol,e.getSettingsService().port,l),_=this.extractEventCounts(n),v=_.variationShownCount,y=_.setAttributeCount,b=_.customEventCount,x=`${p.Constants.BATCH_EVENTS} having `,v>0&&(x+=`getFlag events: ${v}, `),b>0&&(x+=`conversion events: ${b}, `),y>0&&(x+=`setAttribute events: ${y}, `);try{return e.getNetworkManager().post(g).then((function(i){if(i.getTotalAttempts()>0){var a=(0,h.createNetWorkAndRetryDebugEvent)(i,``,p.Constants.BATCH_EVENTS,x);(0,m.sendDebugEventToWingify)(e,a)}var o=S.handleBatchResponse(e.getLogManager(),s.UrlEnum.BATCH_EVENTS,n,t,null,i,c);r.resolve(o)})).catch((function(i){var a=(0,h.createNetWorkAndRetryDebugEvent)(i,``,p.Constants.BATCH_EVENTS,x);(0,m.sendDebugEventToWingify)(e,a);var o=S.handleBatchResponse(e.getLogManager(),s.UrlEnum.BATCH_EVENTS,n,t,null,i,c);r.resolve(o)})),[2,r.promise]}catch(t){return e.getLogManager().errorLog(`EXECUTION_FAILED`,{apiName:p.Constants.BATCH_EVENTS,err:(0,f.getFormattedErrorMessage)(t)},{an:p.Constants.BATCH_EVENTS}),r.resolve({status:`error`,events:n}),[2,r.promise]}return[2]}))}))},e.handleBatchResponse=function(e,t,n,r,i,a,s){var d=n.ev.length,f=r.a,p=i||a?.getError();if(!p||p instanceof Error||((0,u.isString)(p)?p=Error(p):p instanceof Object&&(p=Error(JSON.stringify(p)))),p)return e.info((0,c.buildMessage)(l.InfoLogMessagesEnum.IMPRESSION_BATCH_FAILED)),e.errorLog(`NETWORK_CALL_FAILED`,{method:o.HttpMethodEnum.POST,err:p.message},{},!1),s(p,n),{status:`error`,events:n};var m=a?.getStatusCode();return m===200?(e.info((0,c.buildMessage)(l.InfoLogMessagesEnum.IMPRESSION_BATCH_SUCCESS,{accountId:f,endPoint:t})),s(null,n),{status:`success`,events:n}):m===413?(e.errorLog(`CONFIG_BATCH_EVENT_LIMIT_EXCEEDED`,{accountId:f,endPoint:t,eventsPerRequest:d},{},!1),e.errorLog(`NETWORK_CALL_FAILED`,{method:o.HttpMethodEnum.POST,err:p.message},{},!1),s(p,n),{status:`error`,events:n}):(e.errorLog(`IMPRESSION_BATCH_FAILED`,{},{},!1),e.errorLog(`NETWORK_CALL_FAILED`,{method:o.HttpMethodEnum.POST,err:p.message},{},!1),s(p,n),{status:`error`,events:n})},e.extractEventCounts=function(e){for(var t={variationShownCount:0,setAttributeCount:0,customEventCount:0},n=new Set(Object.values(g.EventEnum)),r=0,i=e?.ev??[];r<i.length;r++){var a=i[r]?.d?.event?.name;a&&(a===g.EventEnum.VARIATION_SHOWN?t.variationShownCount+=1:a===g.EventEnum.SYNC_VISITOR_PROP?t.setAttributeCount+=1:n.has(a)||(t.customEventCount+=1))}return t},e}();
64t.BatchEventsDispatcher=_,t.default=_},9378:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ImpactCapmaignModel=void 0,t.ImpactCapmaignModel=function(){function e(){}return e.prototype.modelFromDictionary=function(e){return this.type=e.type,this.campaignId=e.campaignId,this},e.prototype.getCampaignId=function(){return this.campaignId},e.prototype.getType=function(){return this.type},e}()},9401:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=void 0;var r=n(2780);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return r.Storage}})},9528:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.UrlEnum=void 0,function(e){e.EVENTS=`/events/t`,e.ATTRIBUTE_CHECK=`/check-attribute`,e.GET_USER_DATA=`/get-user-details`,e.BATCH_EVENTS=`/server-side/batch-events-v2`,e.SET_ALIAS=`/user-alias/setUserAlias`,e.GET_ALIAS=`/user-alias/getAliasUserId`}(n||(t.UrlEnum=n={}))},9693:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.EventEnum=void 0,function(e){e.VARIATION_SHOWN=`vwo_variationShown`,e.SYNC_VISITOR_PROP=`vwo_syncVisitorProp`,e.LOG_EVENT=`vwo_log`,e.INIT_CALLED=`vwo_fmeSdkInit`,e.USAGE_STATS=`vwo_sdkUsageStats`,e.HOLDOUT=`vwo_holdout`,e.DEBUGGER_EVENT=`vwo_sdkDebug`,e.USER_EVALUATED=`vwo_feTrackUsage`}(n||(t.EventEnum=n={}))},9709:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.init=function(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){return[2,(0,a.init)(e)]}))}))},t.onInit=function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return[2,(0,a.onInit)()]}))}))};var a=n(9030)},9750:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||=Promise)((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator==`function`?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol==`function`&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw TypeError(`Generator is already executing.`);for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||s[0]!==6&&s[0]!==2)){a=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(s[0]===6&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};
vendor: 1,536 bytes, line 64
64Object.defineProperty(t,"__esModule",{value:!0}),t.SegmentOperandEvaluator=void 0;var a=n(3769),o=n(2263),s=n(6905),c=n(6947),l=n(4076),u=n(1359),d=n(2898),f=n(9528),p=n(4237),m=n(8667);t.SegmentOperandEvaluator=function(){function e(e){this.serviceContainer=e}return e.prototype.evaluateCustomVariableDSL=function(e,t,n){return r(this,void 0,void 0,(function(){var r,o,s,c,l,u,h,g,_,v,y,b,x,S,C,w,T;return i(this,(function(i){switch(i.label){case 0:if(r=(0,a.getKeyValue)(e),o=r.key,s=r.value,c=o,l=s,!Object.prototype.hasOwnProperty.call(t,c))return[2,!1];if(!l.includes(`inlist`))return[3,5];if(u=/inlist\(([^)]+)\)/,!(h=l.match(u))||h.length<2)return this.serviceContainer.getLogManager().errorLog(`INVALID_ATTRIBUTE_LIST_FORMAT`,{},{an:p.ApiEnum.GET_FLAG,uuid:n.getUuid(),sId:n.getSessionId()}),[2,!1];x=t[c],g=this.preProcessTagValue(x),_=h[1],v={attribute:g,listId:_},i.label=1;case 1:return i.trys.push([1,3,,4]),[4,(0,d.getFromGatewayService)(this.serviceContainer,v,f.UrlEnum.ATTRIBUTE_CHECK,n)];case 2:return(y=i.sent())&&y!==void 0&&y!==`false`&&y.status!==0?[2,y]:[2,!1];case 3:return b=i.sent(),this.serviceContainer.getLogManager().errorLog(`ERROR_FETCHING_DATA_FROM_GATEWAY`,{err:(0,m.getFormattedErrorMessage)(b)},{an:p.ApiEnum.GET_FLAG,uuid:n.getUuid(),sId:n.getSessionId()}),[2,!1];case 4:return[3,6];case 5:return x=t[c],x=this.preProcessTagValue(x),S=this.preProcessOperandValue(l),C=S.operandType,w=S.operandValue,T=this.processValues(w,x),x=T.tagValue,[2,this.extractResult(C,T.operandValue,x)];case 6:return[2]}}
64))}))},e.prototype.evaluateUserDSL=function(e,t){for(var n=t._wingifyUserId??t._vwoUserId,r=e.split(`,`),i=0;i<r.length;i++)if(r[i].trim()==n)return!0;return!1},e.prototype.evaluateUserAgentDSL=function(e,t){var n=e;if(!t.getUserAgent()||t.getUserAgent()===void 0)return this.serviceContainer.getLogManager().errorLog(`INVALID_USER_AGENT_IN_CONTEXT_FOR_PRE_SEGMENTATION`,{},{an:p.ApiEnum.GET_FLAG,uuid:t.getUuid(),sId:t.getSessionId()}),!1;var r=decodeURIComponent(t.getUserAgent()),i=this.preProcessOperandValue(n),a=i.operandType,o=i.operandValue,s=this.processValues(o,r);return r=s.tagValue,this.extractResult(a,s.operandValue,r)},e.prototype.evaluateCampaignVariationDSL=function(e,t){var n;if((0,u.isNumber)(e)&&Number.isFinite(e)?n=String(e):(0,u.isString)(e)&&(n=e),(0,u.isUndefined)(n)){var r=(0,u.getType)(e).toLowerCase();return this.serviceContainer.getLogManager().errorLog(`INVALID_WEB_TESTING_CAMPAIGN_VARIATION_OPERAND_TYPE`,{type:r},{an:p.ApiEnum.GET_FLAG,uuid:t.getUuid(),sId:t.getSessionId()}),!1}if(n.length===0)return this.serviceContainer.getLogManager().errorLog(`INVALID_WEB_TESTING_CAMPAIGN_VARIATION_OPERAND_EMPTY`,{},{an:p.ApiEnum.GET_FLAG,uuid:t.getUuid(),sId:t.getSessionId()}),!1;var i=n.trim();if(i.length===0)return this.serviceContainer.getLogManager().errorLog(`INVALID_WEB_TESTING_CAMPAIGN_VARIATION_OPERAND_EMPTY`,{},{an:p.ApiEnum.GET_FLAG,uuid:t.getUuid(),sId:t.getSessionId()}),!1;var a=(0,o.parseWebTestingCampaignsFromContext)(t,this.serviceContainer),s=(0,o.evaluateWebTestingCampaignVariation)(i,a),c=s.result;return s.invalidFormat&&this.serviceContainer.getLogManager().errorLog(`INVALID_WEB_TESTING_CAMPAIGN_VARIATION_OPERAND_FORMAT`,{operand:i},{an:p.ApiEnum.GET_FLAG,uuid:t.getUuid(),sId:t.getSessionId()}),c},e.prototype.preProcessTagValue=function(e){return e===void 0&&(e=``),(0,u.isBoolean)(e)&&(e=!!e),e!==null&&(e=e.toString()),e},e.prototype.preProcessOperandValue=function(e){var t,n;if((0,a.matchWithRegex)(e,c.SegmentOperandRegexEnum.LOWER_MATCH))t=s.SegmentOperandValueEnum.LOWER_VALUE,n=this.extractOperandValue(e,c.SegmentOperandRegexEnum.LOWER_MATCH);else if((0,a.matchWithRegex)(e,c.SegmentOperandRegexEnum.WILDCARD_MATCH)){n=this.extractOperandValue(e,c.SegmentOperandRegexEnum.WILDCARD_MATCH);var r=(0,a.matchWithRegex)(n,c.SegmentOperandRegexEnum.STARTING_STAR),i=(0,a.matchWithRegex)(n,c.SegmentOperandRegexEnum.ENDING_STAR);r&&i?t=s.SegmentOperandValueEnum.STARTING_ENDING_STAR_VALUE:r?t=s.SegmentOperandValueEnum.STARTING_STAR_VALUE:i&&(t=s.SegmentOperandValueEnum.ENDING_STAR_VALUE),n=n.replace(new RegExp(c.SegmentOperandRegexEnum.STARTING_STAR),``).replace(new RegExp(c.SegmentOperandRegexEnum.ENDING_STAR),``)}else(0,a.matchWithRegex)(e,c.SegmentOperandRegexEnum.REGEX_MATCH)?(t=s.SegmentOperandValueEnum.REGEX_VALUE,n=this.extractOperandValue(e,c.SegmentOperandRegexEnum.REGEX_MATCH)):(0,a.matchWithRegex)(e,c.SegmentOperandRegexEnum.GREATER_THAN_MATCH)?(t=s.SegmentOperandValueEnum.GREATER_THAN_VALUE,n=this.extractOperandValue(e,c.SegmentOperandRegexEnum.GREATER_THAN_MATCH)):(0,a.matchWithRegex)(e,c.SegmentOperandRegexEnum.GREATER_THAN_EQUAL_TO_MATCH)?(t=s.SegmentOperandValueEnum.GREATER_THAN_EQUAL_TO_VALUE,n=this.extractOperandValue(e,c.SegmentOperandRegexEnum.GREATER_THAN_EQUAL_TO_MATCH)):(0,a.matchWithRegex)(e,c.SegmentOperandRegexEnum.LESS_THAN_MATCH)?(t=s.SegmentOperandValueEnum.LESS_THAN_VALUE,n=this.extractOperandValue(e,c.SegmentOperandRegexEnum.LESS_THAN_MATCH)):(0,a.matchWithRegex)(e,c.SegmentOperandRegexEnum.LESS_THAN_EQUAL_TO_MATCH)?(t=s.SegmentOperandValueEnum.LESS_THAN_EQUAL_TO_VALUE,n=this.extractOperandValue(e,c.SegmentOperandRegexEnum.LESS_THAN_EQUAL_TO_MATCH)):(t=s.SegmentOperandValueEnum.EQUAL_VALUE,n=e);return{operandType:t,operandValue:n}},e.prototype.extractOperandValue=function(e,t){return(0,a.matchWithRegex)(e,t)&&(0,a.matchWithRegex)(e,t)[1]},e.prototype.processValues=function(t,n,r){if(r===void 0&&(r=void 0),r===l.SegmentOperatorValueEnum.IP||r===l.SegmentOperatorValueEnum.BROWSER_VERSION||r===l.SegmentOperatorValueEnum.OS_VERSION||e.NON_NUMERIC_PATTERN.test(n))return{operandValue:t,tagValue:n};var i=parseFloat(t),a=parseFloat(n);return i&&a?{operandValue:i.toString(),tagValue:a.toString()}:{operandValue:t,tagValue:n}},e.prototype.extractResult=function(e,t,n){var r=!1;if(n===null)return!1;var i=String(t),a=String(n);switch(e){case s.SegmentOperandValueEnum.LOWER_VALUE:r=i.toLowerCase()===a.toLowerCase();break;case s.SegmentOperandValueEnum.STARTING_ENDING_STAR_VALUE:r=a.indexOf(i)!==-1;break;case s.SegmentOperandValueEnum.STARTING_STAR_VALUE:r=a.endsWith(i);break;case s.SegmentOperandValueEnum.ENDING_STAR_VALUE:r=a.startsWith(i);break;case s.SegmentOperandValueEnum.REGEX_VALUE:try{r=new RegExp(i).exec(a)!==null}catch{r=!1}break;case s.SegmentOperandValueEnum.GREATER_THAN_VALUE:r=this.compareVersions(a,i)>0;break;case s.SegmentOperandValueEnum.GREATER_THAN_EQUAL_TO_VALUE:r=this.compareVersions(a,i)>=0;break;case s.SegmentOperandValueEnum.LESS_THAN_VALUE:r=this.compareVersions(a,i)<0;break;case s.SegmentOperandValueEnum.LESS_THAN_EQUAL_TO_VALUE:r=this.compareVersions(a,i)<=0;break;default:r=this.isVersionString(a)&&this.isVersionString(i)?this.compareVersions(a,i)===0:a===i}return r},e.prototype.evaluateStringOperandDSL=function(e,t,n){var r=String(e),i=this.getTagValueForOperandType(t,n);if(i===null)return this.logMissingContextError(n),!1;var a=this.preProcessOperandValue(r),o=this.processValues(a.operandValue,i,n),s=o.tagValue;return this.extractResult(a.operandType,String(o.operandValue).trim().replace(/"/g,``),s)},e.prototype.getTagValueForOperandType=function(e,t){return t===l.SegmentOperatorValueEnum.IP?e.getIpAddress()||null:t===l.SegmentOperatorValueEnum.BROWSER_VERSION?this.getBrowserVersionFromContext(e):this.getOsVersionFromContext(e)},e.prototype.getBrowserVersionFromContext=function(e){var t=e.getVwo()?.getUaInfo();return t&&typeof t==`object`&&Object.keys(t).length!==0&&`browser_version`in t&&t.browser_version!==null?String(t.browser_version):null},e.prototype.getOsVersionFromContext=function(e){var t=e.getVwo()?.getUaInfo();return t&&typeof t==`object`&&Object.keys(t).length!==0&&`os_version`in t&&t.os_version!==null?String(t.os_version):null},e.prototype.logMissingContextError=function(e){e===l.SegmentOperatorValueEnum.IP?this.serviceContainer.getLogManager().info(`To evaluate IP segmentation, please provide ipAddress in context`):e===l.SegmentOperatorValueEnum.BROWSER_VERSION?this.serviceContainer.getLogManager().info(`To evaluate browser version segmentation, please provide userAgent in context`):this.serviceContainer.getLogManager().info(`To evaluate OS version segmentation, please provide userAgent in context`)},e.prototype.isVersionString=function(e){return/^(\d+\.)*\d+$/.test(e)},e.prototype.compareVersions=function(e,t){for(var n=e.split(`.`).map((function(e){return e.match(/^\d+$/)?parseInt(e,10):0})),r=t.split(`.`).map((function(e){return e.match(/^\d+$/)?parseInt(e,10):0})),i=Math.max(n.length,r.length),a=0;a<i;a++){var o=a<n.length?n[a]:0,s=a<r.length?r[a]:0;if(o<s)return-1;if(o>s)return 1}return 0},e.NON_NUMERIC_PATTERN=/[^0-9.]/,e}()},9752:function(e,t,n){var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};
64Object.defineProperty(t,"__esModule",{value:!0}),t.ContextModel=void 0;var i=n(6149),a=n(1720),o=n(8667);t.ContextModel=function(){function e(){}return e.prototype.modelFromDictionary=function(e,t){return this.id=e.id,this.userAgent=e.userAgent,this.ipAddress=e.ipAddress,typeof XMLHttpRequest>`u`||e.userAgent||(this.userAgent=navigator.userAgent),e!=null&&e.customVariables&&(this.customVariables=e.customVariables),e!=null&&e.variationTargetingVariables&&(this.variationTargetingVariables=e.variationTargetingVariables),(e!=null&&e._wingify||e!=null&&e._vwo)&&(this._wingify=new i.ContextWingifyModel().modelFromDictionary(e._wingify||e._vwo)),e!=null&&e.postSegmentationVariables&&(this.postSegmentationVariables=e.postSegmentationVariables),e!=null&&e.bucketingSeed&&(this.bucketingSeed=e.bucketingSeed),e!=null&&e.platformVariables&&(this.platformVariables=r({},e.platformVariables)),e!=null&&e.isDevMode&&(this.isDevMode=!0===e.isDevMode),this._wingify_uuid=e?.uuid??(0,a.getUUID)((e?.id)?.toString()??`${t?.accountId}_${t?.sdkKey}`,(t?.accountId)?.toString()),e?.sessionId?this.sessionId=e.sessionId:this.sessionId=(0,o.getCurrentUnixTimestamp)(),this},e.prototype.getId=function(){return this.id?.toString()},e.prototype.getUserAgent=function(){return this.userAgent},e.prototype.getIpAddress=function(){return this.ipAddress},e.prototype.getCustomVariables=function(){return this.customVariables},e.prototype.setCustomVariables=function(e){this.customVariables=e},e.prototype.getVariationTargetingVariables=function(){return this.variationTargetingVariables},e.prototype.setVariationTargetingVariables=function(e){this.variationTargetingVariables=e},e.prototype.getVwo=function(){return this._wingify},e.prototype.setVwo=function(e){this._wingify=e},e.prototype.getPostSegmentationVariables=function(){return this.postSegmentationVariables},e.prototype.setPostSegmentationVariables=function(e){this.postSegmentationVariables=e},e.prototype.getUuid=function(){return this._wingify_uuid},e.prototype.getSessionId=function(){return this.sessionId},e.prototype.getBucketingSeed=function(){return this.bucketingSeed?.toString()},e.prototype.getPlatformVariables=function(){return this.platformVariables},e.prototype.setPlatformVariables=function(e){this.platformVariables=e},e.prototype.getIsDevMode=function(){return!0===this.isDevMode},e}()},9846:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsSchema=void 0;var r=n(3185);t.SettingsSchema=function(){function e(){this.initializeSchemas()}return e.prototype.initializeSchemas=function(){this.campaignMetricSchema=(0,r.type)({id:(0,r.union)([(0,r.number)(),(0,r.string)()]),type:(0,r.string)(),identifier:(0,r.string)(),mca:(0,r.optional)((0,r.union)([(0,r.number)(),(0,r.string)()])),hasProps:(0,r.optional)((0,r.boolean)()),revenueProp:(0,r.optional)((0,r.string)())}),this.variableObjectSchema=(0,r.type)({id:(0,r.union)([(0,r.number)(),(0,r.string)()]),type:(0,r.string)(),key:(0,r.string)(),value:(0,r.union)([(0,r.number)(),(0,r.string)(),(0,r.boolean)(),(0,r.object)()])}),this.campaignVariationSchema=(0,r.type)({id:(0,r.union)([(0,r.number)(),(0,r.string)()]),name:(0,r.string)(),weight:(0,r.union)([(0,r.number)(),(0,r.string)()]),segments:(0,r.optional)((0,r.object)()),variables:(0,r.optional)((0,r.array)(this.variableObjectSchema)),startRangeVariation:(0,r.optional)((0,r.number)()),endRangeVariation:(0,r.optional)((0,r.number)()),salt:(0,r.optional)((0,r.string)())}),this.campaignObjectSchema=(0,r.type)({id:(0,r.union)([(0,r.number)(),(0,r.string)()]),type:(0,r.string)(),key:(0,r.string)(),percentTraffic:(0,r.optional)((0,r.number)()),status:(0,r.string)(),variations:(0,r.array)(this.campaignVariationSchema),segments:(0,r.object)(),isForcedVariationEnabled:(0,r.optional)((0,r.boolean)()),isAlwaysCheckSegment:(0,r.optional)((0,r.boolean)()),name:(0,r.string)(),salt:(0,r.optional)((0,r.string)())}),this.ruleSchema=(0,r.type)({type:(0,r.string)(),ruleKey:(0,r.string)(),campaignId:(0,r.number)(),variationId:(0,r.optional)((0,r.number)())}),this.featureSchema=(0,r.type)({id:(0,r.union)([(0,r.number)(),(0,r.string)()]),key:(0,r.string)(),status:(0,r.string)(),name:(0,r.string)(),type:(0,r.string)(),metrics:(0,r.array)(this.campaignMetricSchema),impactCampaign:(0,r.optional)((0,r.object)()),rules:(0,r.optional)((0,r.array)(this.ruleSchema)),variables:(0,r.optional)((0,r.array)(this.variableObjectSchema))}),this.holdoutSchema=(0,r.type)({metrics:(0,r.array)(this.campaignMetricSchema),segments:(0,r.object)(),featureIds:(0,r.array)((0,r.number)()),isGlobal:(0,r.boolean)(),name:(0,r.string)(),id:(0,r.union)([(0,r.number)(),(0,r.string)()]),percentTraffic:(0,r.number)()});var e=(0,r.union)([(0,r.array)(this.holdoutSchema),(0,r.refine)((0,r.object)(),`EmptyObject`,(function(e){return Object.keys(e).length===0}))]);this.settingsSchema=(0,r.type)({sdkKey:(0,r.optional)((0,r.string)()),version:(0,r.union)([(0,r.number)(),(0,r.string)()]),accountId:(0,r.union)([(0,r.number)(),(0,r.string)()]),usageStatsAccountId:(0,r.optional)((0,r.number)()),features:(0,r.optional)((0,r.array)(this.featureSchema)),holdouts:(0,r.optional)(e),campaigns:(0,r.array)(this.campaignObjectSchema),groups:(0,r.optional)((0,r.object)()),campaignGroups:(0,r.optional)((0,r.object)()),collectionPrefix:(0,r.optional)((0,r.string)()),sdkMetaInfo:(0,r.optional)((0,r.object)({wasInitializedEarlier:(0,r.optional)((0,r.boolean)())})),pollInterval:(0,r.optional)((0,r.number)())})},e.prototype.isSettingsValid=function(e){return!!e&&!(0,r.validate)(e,this.settingsSchema)[0]},e}()},9910:(e,t,n)=>
64{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=o;var r,i=(r=n(7037))&&r.__esModule?r:{default:r};let a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));function o(e,t=0){return a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+`-`+a[e[t+4]]+a[e[t+5]]+`-`+a[e[t+6]]+a[e[t+7]]+`-`+a[e[t+8]]+a[e[t+9]]+`-`+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]}t.default=function(e,t=0){let n=o(e,t);if(!(0,i.default)(n))throw TypeError(`Stringified UUID is invalid`);return n}}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.NetworkTransportModeEnum=e.getUUID=e.Flag=e.StorageConnector=e.LogLevelEnum=e.onInit=e.init=void 0;var t=n(4940);Object.defineProperty(e,"LogLevelEnum",{enumerable:!0,get:function(){return t.LogLevelEnum}});var i=n(5030);Object.defineProperty(e,"StorageConnector",{enumerable:!0,get:function(){return i.Connector}});var a=n(6612);Object.defineProperty(e,"Flag",{enumerable:!0,get:function(){return a.Flag}});var o=n(1720);Object.defineProperty(e,"getUUID",{enumerable:!0,get:function(){return o.getUUID}});var s=n(3443);Object.defineProperty(e,"NetworkTransportModeEnum",{enumerable:!0,get:function(){return s.NetworkTransportModeEnum}});var c=n(9709);Object.defineProperty(e,"init",{enumerable:!0,get:function(){return c.init}}),Object.defineProperty(e,"onInit",{enumerable:!0,get:function(){return c.onInit}})})(),r})()))})),sT=r(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof e==`object`?e.vwoFmeLogger=r():n.vwoFmeLogger=r()})(e,(()=>(()=>{var e={10:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(449)),i=a(n(210));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.default)(`v5`,80,i.default)},26:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevelEnum=void 0,function(e){e.TRACE=`trace`,e.DEBUG=`debug`,e.INFO=`info`,e.WARN=`warn`,e.ERROR=`error`}(n||(t.LogLevelEnum=n={}))},210:(e,t)=>{function n(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function r(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){let t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof e==`string`){let t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);let a=e.length/4+2,o=Math.ceil(a/16),s=Array(o);for(let t=0;t<o;++t){let n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];s[t]=n}s[o-1][14]=8*(e.length-1)/2**32,s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<o;++e){let a=new Uint32Array(80);for(let t=0;t<16;++t)a[t]=s[e][t];for(let e=16;e<80;++e)a[e]=r(a[e-3]^a[e-8]^a[e-14]^a[e-16],1);let o=i[0],c=i[1],l=i[2],u=i[3],d=i[4];for(let e=0;e<80;++e){let i=Math.floor(e/20),s=r(o,5)+n(i,c,l,u)+d+t[i]+a[e]>>>0;d=u,u=l,l=r(c,30)>>>0,c=o,o=s}i[0]=i[0]+o>>>0,i[1]=i[1]+c>>>0,i[2]=i[2]+l>>>0,i[3]=i[3]+u>>>0,i[4]=i[4]+d>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}},264:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},391:(e,t)=>{function n(e){return 14+(e+64>>>9<<4)+1}function r(e,t){let n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,i,a,o){return r((s=r(r(t,e),r(i,o)))<<(c=a)|s>>>32-c,n);var s,c}function a(e,t,n,r,a,o,s){return i(t&n|~t&r,e,t,a,o,s)}function o(e,t,n,r,a,o,s){return i(t&r|n&~r,e,t,a,o,s)}function s(e,t,n,r,a,o,s){return i(t^n^r,e,t,a,o,s)}function c(e,t,n,r,a,o,s){return i(n^(t|~r),e,t,a,o,s)}
64Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){if(typeof e==`string`){let t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){let t=[],n=32*e.length,r=`0123456789abcdef`;for(let i=0;i<n;i+=8){let n=e[i>>5]>>>i%32&255,a=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(a)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let i=1732584193,l=-271733879,u=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){let n=i,f=l,p=u,m=d;i=a(i,l,u,d,e[t],7,-680876936),d=a(d,i,l,u,e[t+1],12,-389564586),u=a(u,d,i,l,e[t+2],17,606105819),l=a(l,u,d,i,e[t+3],22,-1044525330),i=a(i,l,u,d,e[t+4],7,-176418897),d=a(d,i,l,u,e[t+5],12,1200080426),u=a(u,d,i,l,e[t+6],17,-1473231341),l=a(l,u,d,i,e[t+7],22,-45705983),i=a(i,l,u,d,e[t+8],7,1770035416),d=a(d,i,l,u,e[t+9],12,-1958414417),u=a(u,d,i,l,e[t+10],17,-42063),l=a(l,u,d,i,e[t+11],22,-1990404162),i=a(i,l,u,d,e[t+12],7,1804603682),d=a(d,i,l,u,e[t+13],12,-40341101),u=a(u,d,i,l,e[t+14],17,-1502002290),l=a(l,u,d,i,e[t+15],22,1236535329),i=o(i,l,u,d,e[t+1],5,-165796510),d=o(d,i,l,u,e[t+6],9,-1069501632),u=o(u,d,i,l,e[t+11],14,643717713),l=o(l,u,d,i,e[t],20,-373897302),i=o(i,l,u,d,e[t+5],5,-701558691),d=o(d,i,l,u,e[t+10],9,38016083),u=o(u,d,i,l,e[t+15],14,-660478335),l=o(l,u,d,i,e[t+4],20,-405537848),i=o(i,l,u,d,e[t+9],5,568446438),d=o(d,i,l,u,e[t+14],9,-1019803690),u=o(u,d,i,l,e[t+3],14,-187363961),l=o(l,u,d,i,e[t+8],20,1163531501),i=o(i,l,u,d,e[t+13],5,-1444681467),d=o(d,i,l,u,e[t+2],9,-51403784),u=o(u,d,i,l,e[t+7],14,1735328473),l=o(l,u,d,i,e[t+12],20,-1926607734),i=s(i,l,u,d,e[t+5],4,-378558),d=s(d,i,l,u,e[t+8],11,-2022574463),u=s(u,d,i,l,e[t+11],16,1839030562),l=s(l,u,d,i,e[t+14],23,-35309556),i=s(i,l,u,d,e[t+1],4,-1530992060),d=s(d,i,l,u,e[t+4],11,1272893353),u=s(u,d,i,l,e[t+7],16,-155497632),l=s(l,u,d,i,e[t+10],23,-1094730640),i=s(i,l,u,d,e[t+13],4,681279174),d=s(d,i,l,u,e[t],11,-358537222),u=s(u,d,i,l,e[t+3],16,-722521979),l=s(l,u,d,i,e[t+6],23,76029189),i=s(i,l,u,d,e[t+9],4,-640364487),d=s(d,i,l,u,e[t+12],11,-421815835),u=s(u,d,i,l,e[t+15],16,530742520),l=s(l,u,d,i,e[t+2],23,-995338651),i=c(i,l,u,d,e[t],6,-198630844),d=c(d,i,l,u,e[t+7],10,1126891415),u=c(u,d,i,l,e[t+14],15,-1416354905),l=c(l,u,d,i,e[t+5],21,-57434055),i=c(i,l,u,d,e[t+12],6,1700485571),d=c(d,i,l,u,e[t+3],10,-1894986606),u=c(u,d,i,l,e[t+10],15,-1051523),l=c(l,u,d,i,e[t+1],21,-2054922799),i=c(i,l,u,d,e[t+8],6,1873313359),d=c(d,i,l,u,e[t+15],10,-30611744),u=c(u,d,i,l,e[t+6],15,-1560198380),l=c(l,u,d,i,e[t+13],21,1309151649),i=c(i,l,u,d,e[t+4],6,-145523070),d=c(d,i,l,u,e[t+11],10,-1120210379),u=c(u,d,i,l,e[t+2],15,718787259),l=c(l,u,d,i,e[t+9],21,-343485551),i=r(i,n),l=r(l,f),u=r(u,p),d=r(d,m)}return[i,l,u,d]}(function(e){if(e.length===0)return[];let t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))}},449:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,n){function r(e,r,o,s){if(typeof e==`string`&&(e=function(e){e=unescape(encodeURIComponent(e));let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),typeof r==`string`&&(r=(0,a.default)(r)),r?.length!==16)throw TypeError(`Namespace must be array-like (16 iterable integer values, 0-255)`);let c=new Uint8Array(16+e.length);if(c.set(r),c.set(e,r.length),c=n(c),c[6]=15&c[6]|t,c[8]=63&c[8]|128,o){s||=0;for(let e=0;e<16;++e)o[s+e]=c[e];return o}return(0,i.unsafeStringify)(c)}try{r.name=e}catch{}return r.DNS=o,r.URL=s,r};var r,i=n(750),a=(r=n(512))&&r.__esModule?r:{default:r};let o=`6ba7b810-9dad-11d1-80b4-00c04fd430c8`;t.DNS=o;let s=`6ba7b811-9dad-11d1-80b4-00c04fd430c8`;t.URL=s},450:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogMessageBuilder=void 0;let r=n(26),i=`\x1B[1m`,a=`\x1B[0m`;t.LogMessageBuilder=class{constructor(e,t){this.loggerConfig=e,this.transportConfig=t,this.prefix=this.transportConfig.prefix||this.loggerConfig.prefix||``,this.dateTimeFormat=this.transportConfig.dateTimeFormat||this.loggerConfig.dateTimeFormat}formatMessage(e,t){return`[${this.getFormattedLevel(e)}]: ${this.getFormattedPrefix(this.prefix)} ${this.getFormattedDateTime()} ${t}`}getFormattedPrefix(e){return this.loggerConfig.isAnsiColorEnabled?`${i}�[32m${e}${a}`:`${e}`}getFormattedLevel(e){let t=e.toUpperCase(),n;return n=this.loggerConfig.isAnsiColorEnabled?{[r.LogLevelEnum.TRACE]:`${i}�[30m${t}${a}
64`,[r.LogLevelEnum.DEBUG]:`${i}�[94m${t}${a}`,[r.LogLevelEnum.INFO]:`${i}�[36m${t}${a}`,[r.LogLevelEnum.WARN]:`${i}�[33m${t}${a}`,[r.LogLevelEnum.ERROR]:`${i}�[31m${t}${a}`}:{[r.LogLevelEnum.TRACE]:t,[r.LogLevelEnum.DEBUG]:t,[r.LogLevelEnum.INFO]:t,[r.LogLevelEnum.WARN]:t,[r.LogLevelEnum.ERROR]:t},n[e]}getFormattedDateTime(){return this.dateTimeFormat()}}},460:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={randomUUID:typeof crypto<`u`&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},512:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(893))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,i.default)(e))throw TypeError(`Invalid UUID`);let t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}},514:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogTransportManager=void 0;let r=n(26),i=n(450),a=n(747),o=n(783);t.LogTransportManager=class{constructor(e){this.transports=[],this.config=e}addTransport(e){this.transports.push(e)}shouldLog(e,t){return o.LogLevelNumberEnum[e.toUpperCase()]>=o.LogLevelNumberEnum[(t||this.config.level).toUpperCase()]}trace(e){this.log(r.LogLevelEnum.TRACE,e)}debug(e){this.log(r.LogLevelEnum.DEBUG,e)}info(e){this.log(r.LogLevelEnum.INFO,e)}warn(e){this.log(r.LogLevelEnum.WARN,e)}error(e){this.log(r.LogLevelEnum.ERROR,e)}log(e,t){for(let n=0;n<this.transports.length;n++){let r=new i.LogMessageBuilder(this.config,this.transports[n]).formatMessage(e,t);this.shouldLog(e,this.transports[n].level)&&(this.transports[n].log&&(0,a.isFunction)(this.transports[n].log)?this.transports[n].log(e,t):this.transports[n][e](r))}}}},521:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(460)),i=o(n(722)),a=n(750);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n){if(r.default.randomUUID&&!t&&!e)return r.default.randomUUID();let o=(e||={}).random||(e.rng||i.default)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n||=0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return(0,a.unsafeStringify)(o)}},532:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(449)),i=a(n(391));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.default)(`v3`,48,i.default)},664:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=void 0,t.Logger=class{}},671:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogManager=void 0;let r=n(935),i=n(664),a=n(927),o=n(514),s=n(747),c=n(26);class l extends i.Logger{dateTimeFormat(){return new Date().toISOString()}constructor(e){return super(),this.name=`VWO Logger`,this.requestId=(0,r.v4)(),this.level=c.LogLevelEnum.ERROR,this.prefix=`VWO-SDK`,this.config=e,!e.isAlwaysNewInstance&&l.instance||(l.instance=this,this.config.name=e.name||this.name,this.config.requestId=e.requestId||this.requestId,this.config.level=e.level||this.level,this.config.prefix=e.prefix||this.prefix,this.config.dateTimeFormat=e.dateTimeFormat||this.dateTimeFormat,this.transportManager=new o.LogTransportManager(this.config),this.handleTransports()),l.instance}static get Instance(){return l.instance}handleTransports(){this.config.transports?.length?this.addTransports(this.config.transports):this.config.transport&&(0,s.isObject)(this.config.transport)?this.addTransport(this.config.transport):this.addTransport(new a.ConsoleTransport({level:this.config.level}))}addTransport(e){this.transportManager.addTransport(e)}addTransports(e){for(let t=0;t<e.length;t++)this.addTransport(e[t])}trace(e){this.transportManager.log(c.LogLevelEnum.TRACE,e)}debug(e){this.transportManager.log(c.LogLevelEnum.DEBUG,e)}info(e){this.transportManager.log(c.LogLevelEnum.INFO,e)}warn(e){this.transportManager.log(c.LogLevelEnum.WARN,e)}
64error(e,t={}){this.transportManager.log(c.LogLevelEnum.ERROR,e),t.shouldSendToVWO&&t.sendLogToVWO(e,c.LogLevelEnum.ERROR)}}t.LogManager=l},687:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(893))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,i.default)(e))throw TypeError(`Invalid UUID`);return parseInt(e.slice(14,15),16)}},688:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=`00000000-0000-0000-0000-000000000000`},722:(e,t)=>{let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n&&(n=typeof crypto<`u`&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);return n(r)};let r=new Uint8Array(16)},747:(e,t)=>{function n(e){return Object.prototype.toString.call(e)===`[object Object]`}function r(e){return Object.prototype.toString.call(e)===`[object Array]`}function i(e){return Object.prototype.toString.call(e)===`[object Null]`}function a(e){return Object.prototype.toString.call(e)===`[object Undefined]`}function o(e){return Object.prototype.toString.call(e)===`[object Number]`}function s(e){return Object.prototype.toString.call(e)===`[object String]`}function c(e){return Object.prototype.toString.call(e)===`[object Boolean]`}function l(e){return Object.prototype.toString.call(e)===`[object Function]`}function u(e){return Object.prototype.toString.call(e)===`[object Promise]`}Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=n,t.isArray=r,t.isNull=i,t.isUndefined=a,t.isNumber=o,t.isString=s,t.isBoolean=c,t.isFunction=l,t.isPromise=u,t.getType=function(e){return n(e)?`Object`:r(e)?`Array`:i(e)?`Null`:a(e)?`Undefined`:o(e)?`Number`:s(e)?`String`:c(e)?`Boolean`:l(e)?`Function`:u(e)?`Promise`:`Unknown Type`}},750:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=o;var r,i=(r=n(893))&&r.__esModule?r:{default:r};let a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));function o(e,t=0){return a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+`-`+a[e[t+4]]+a[e[t+5]]+`-`+a[e[t+6]]+a[e[t+7]]+`-`+a[e[t+8]]+a[e[t+9]]+`-`+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]}t.default=function(e,t=0){let n=o(e,t);if(!(0,i.default)(n))throw TypeError(`Stringified UUID is invalid`);return n}},766:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(722))&&r.__esModule?r:{default:r},a=n(750);let o,s,c=0,l=0;t.default=function(e,t,n){let r=t&&n||0,u=t||Array(16),d=(e||={}).node||o,f=e.clockseq===void 0?s:e.clockseq;if(d==null||f==null){let t=e.random||(e.rng||i.default)();d??=o=[1|t[0],t[1],t[2],t[3],t[4],t[5]],f??=s=16383&(t[6]<<8|t[7])}let p=e.msecs===void 0?Date.now():e.msecs,m=e.nsecs===void 0?l+1:e.nsecs,h=p-c+(m-l)/1e4;if(h<0&&e.clockseq===void 0&&(f=f+1&16383),(h<0||p>c)&&e.nsecs===void 0&&(m=0),m>=1e4)throw Error(`uuid.v1(): Can't create more than 10M uuids/sec`);c=p,l=m,s=f,p+=0xb1d069b5400;let g=(1e4*(268435455&p)+m)%4294967296;u[r++]=g>>>24&255,u[r++]=g>>>16&255,u[r++]=g>>>8&255,u[r++]=255&g;let _=p/4294967296*1e4&268435455;u[r++]=_>>>8&255,u[r++]=255&_,u[r++]=_>>>24&15|16,u[r++]=_>>>16&255,u[r++]=f>>>8|128,u[r++]=255&f;for(let e=0;e<6;++e)u[r+e]=d[e];return t||(0,a.unsafeStringify)(u)}},783:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LogLevelNumberEnum=void 0,function(e){e[e.TRACE=0]=`TRACE`,e[e.DEBUG=1]=`DEBUG`,e[e.INFO=2]=`INFO`,e[e.WARN=3]=`WARN`,e[e.ERROR=4]=`ERROR`}(n||(t.LogLevelNumberEnum=n={}))},893:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(264))&&r.__esModule?r:{default:r};t.default=function(e){return typeof e==`string`&&i.default.test(e)}},927:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ConsoleTransport=void 0;let r=n(26);t.ConsoleTransport=class{constructor(e={}){this.config=e,this.level=this.config.level}trace(e){this.consoleLog(r.LogLevelEnum.TRACE,e)}debug(e){this.consoleLog(r.LogLevelEnum.DEBUG,e)}info(e){this.consoleLog(r.LogLevelEnum.INFO,e)}warn(e){this.consoleLog(r.LogLevelEnum.WARN,e)}error(e){this.consoleLog(r.LogLevelEnum.ERROR,e)}consoleLog(e,t){console[e](t)}}},935:(e,t,n)=>
64{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return c.default}});var r=f(n(766)),i=f(n(532)),a=f(n(521)),o=f(n(10)),s=f(n(688)),c=f(n(687)),l=f(n(893)),u=f(n(750)),d=f(n(512));function f(e){return e&&e.__esModule?e:{default:e}}}},t={};function n(r){var i=t[r];if(i!==void 0)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.Logger=e.LogLevelNumberEnum=e.LogLevelEnum=e.LogManager=void 0;var t=n(671);Object.defineProperty(e,"LogManager",{enumerable:!0,get:function(){return t.LogManager}});var i=n(26);Object.defineProperty(e,"LogLevelEnum",{enumerable:!0,get:function(){return i.LogLevelEnum}});var a=n(783);Object.defineProperty(e,"LogLevelNumberEnum",{enumerable:!0,get:function(){return a.LogLevelNumberEnum}});var o=n(664);Object.defineProperty(e,"Logger",{enumerable:!0,get:function(){return o.Logger}})})(),r})()))})),cT=r(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t==`object`?t.exports=r():typeof define==`function`&&define.amd?define([],r):typeof e==`object`?e.vwoFmeUtilDataType=r():n.vwoFmeUtilDataType=r()})(e,(()=>(()=>{var e={};return(()=>{var t=e;function n(e){return Object.prototype.toString.call(e)===`[object Object]`}function r(e){return Object.prototype.toString.call(e)===`[object Array]`}function i(e){return Object.prototype.toString.call(e)===`[object Null]`}function a(e){return Object.prototype.toString.call(e)===`[object Undefined]`}function o(e){return Object.prototype.toString.call(e)===`[object Number]`}function s(e){return Object.prototype.toString.call(e)===`[object String]`}function c(e){return Object.prototype.toString.call(e)===`[object Boolean]`}function l(e){return Object.prototype.toString.call(e)===`[object Function]`}function u(e){return Object.prototype.toString.call(e)===`[object Promise]`}Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=n,t.isArray=r,t.isNull=i,t.isUndefined=a,t.isNumber=o,t.isString=s,t.isBoolean=c,t.isFunction=l,t.isPromise=u,t.getType=function(e){return n(e)?`Object`:r(e)?`Array`:i(e)?`Null`:a(e)?`Undefined`:o(e)?`Number`:s(e)?`String`:c(e)?`Boolean`:l(e)?`Function`:u(e)?`Promise`:`Unknown Type`}})(),e})()))})),lT=r((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t,n=s(),r=(t=n)&&typeof t==`object`&&`default`in t?t.default:t,i=oT(),a=sT(),o=cT(),c=null;function l(e){return c||=new a.LogManager(e?.logger||{}),c}function u(){return c||=new a.LogManager({level:`error`}),c}var d;(function(e){e.VWO_CLIENT_MISSING=`VWO Client is missing in {hookName} hook. Ensure VWOProvider is correctly initialized.`,e.INVALID_CONTEXT=`Invalid user context in {hookName} hook. Ensure a valid userContext is provided.`,e.HOOK_ERROR=`Error in {hookName} hook: {error}`,e.INVALID_HOOK_USAGE=`{hookName} must be used within a VWOProvider !!`,e.VWO_PROVIDER_CLIENT_CONFIG_WARNING="VWOProvider Warning: Both `client` and `config` are provided. The `client` prop will take precedence, and the `config` props will be disregarded.",e.VWO_PROVIDER_CONFIG_REQUIRED="VWOProvider Error: Either `client` or `config` must be provided.",e.VWO_SDK_INITIALIZATION_FAILED=`VWO-SDK Initialization failed: {error}`,e.VWO_TRACK_EVENT_NAME_REQUIRED=`Event name is required for useTrackEvent hook and it should be a string`,e.VWO_TRACK_EVENT_ERROR=`Error tracking event - {eventName}: {error}`,e.VWO_SET_ATTRIBUTE_MAP_REQUIRED=`attributeMap (object having key-value pairs of user attributes) is required for use
64SetAttribute hook`,e.VWO_SET_ATTRIBUTE_ERROR=`Error setting attributes: {error}`,e.VWO_SET_ATTRIBUTE_SUCCESS=`User attributes set: {attributes}`,e.VWO_NOT_READY_IN_USE_GET_FLAG=`VWO is not ready in useGetFlag hook`,e.VWO_GET_FLAG_FEATURE_KEY_REQUIRED=`Feature key is required for useGetFlag hook`,e.VWO_GET_FLAG_ERROR=`Error fetching feature flag - {featureKey}: {error}`,e.VWO_GET_FLAG_VARIABLES_FLAG_REQUIRED=`Flag is required for useGetFlagVariables hook and should be an object`,e.VWO_GET_FLAG_VARIABLES_ERROR=`Error getting flag variables: {error}`,e.VWO_GET_FLAG_VARIABLE_REQUIRED=`Flag and variable key are required for useGetFlagVariable hook`,e.VWO_GET_FLAG_VARIABLE_ERROR=`Error getting flag variable: {error}`})(d||={});var f=/\{([0-9a-zA-Z_]+)\}/g;function p(e,t={}){try{return e.replace(f,(n,r,i)=>{if(e[i-1]===`{`&&e[i+n.length]===`}`)return r;let a=t[r];return a==null?``:o.isFunction(a)?a():a})}catch{return e}}function m(e,t={},n){try{e.error(p(n,t))}catch(e){console.error(`Error logging hook. Error: `+e)}}var h;(function(e){e.VWO_CLIENT=`useVWOClient`,e.VWO_CONTEXT=`useVWOContext`,e.VWO_GET_FLAG=`useGetFlag`,e.VWO_GET_FLAG_VARIABLE=`useGetFlagVariable`,e.VWO_GET_FLAG_VARIABLES=`useGetFlagVariables`,e.VWO_TRACK_EVENT=`useTrackEvent`,e.VWO_SET_ATTRIBUTE=`useSetAttribute`})(h||={});var g=n.createContext({vwoClient:null,userContext:null,setUserContext:void 0,isReady:!1}),_=()=>{let e;try{return e=u(),n.useContext(g)||(e.error(p(d.INVALID_HOOK_USAGE,{hookName:h.VWO_CONTEXT})),null)}catch(t){return m(e,{error:t,hookName:h.VWO_CONTEXT},d.HOOK_ERROR),null}},v={vwoClient:null,isReady:!1};Object.defineProperty(e,"Flag",{enumerable:!0,get:function(){return i.Flag}}),Object.defineProperty(e,"LogLevelEnum",{enumerable:!0,get:function(){return i.LogLevelEnum}}),Object.defineProperty(e,"StorageConnector",{enumerable:!0,get:function(){return i.StorageConnector}}),Object.defineProperty(e,"getUUID",{enumerable:!0,get:function(){return i.getUUID}}),Object.defineProperty(e,"init",{enumerable:!0,get:function(){return i.init}}),e.VWOProvider=function(e){let{userContext:t,children:a,fallbackComponent:o}=e,s=`client`in e?e.client:null,c=`config`in e?e.config:null,[u,f]=n.useState(s||null),[p,h]=n.useState(t||null),[_,v]=n.useState(!1),y=n.useMemo(()=>c||s?.options,[]),b;return n.useEffect(()=>{try{if(b=l(s?.options||c),c&&u&&b.warn(d.VWO_PROVIDER_CLIENT_CONFIG_WARNING),u)return void v(!0);if(!c)return void b.error(d.VWO_PROVIDER_CONFIG_REQUIRED);!u&&c&&(async()=>{if(!u&&c){let e=await i.init(c);f(e),v(!0)}})()}catch(e){m(b,e,d.VWO_SDK_INITIALIZATION_FAILED)}},[y]),r.createElement(g.Provider,{value:{vwoClient:u,userContext:p,setUserContext:h,isReady:_}},o&&!_?o:a)},e.useGetFlag=(e,t)=>{let{vwoClient:r,userContext:i,setUserContext:a,isReady:s}=_(),[c,l]=n.useState({isEnabled:()=>!1,getVariables:()=>[],getVariable:(e,t)=>
64t}),[f,g]=n.useState(!0),v=u(),y=n.useMemo(()=>t||i||{},[JSON.stringify(t||i||{})]),b=n.useCallback(async()=>{try{if(!s)return void v.error(d.VWO_NOT_READY_IN_USE_GET_FLAG);let t=await r.getFlag(e,y);l(t),a(y)}catch(t){m(v,{error:t,featureKey:e},d.VWO_GET_FLAG_ERROR)}finally{g(!1)}},[e,y,s]);return n.useEffect(()=>{try{if(!e)return void v.error(d.VWO_GET_FLAG_FEATURE_KEY_REQUIRED);if(!o.isObject(y)||!y.id)return void v.error(p(d.INVALID_CONTEXT,{hookName:h.VWO_GET_FLAG}));s&&r&&y&&b()}catch(t){m(v,{error:t,featureKey:e},d.VWO_GET_FLAG_ERROR)}},[e,JSON.stringify(y),s]),{flag:c,isReady:!f&&!!c}},e.useGetFlagVariable=(e,t,n)=>{let r;try{return r=u(),e&&o.isObject(e)?t?e.getVariable(t,n):(r.error(d.VWO_GET_FLAG_VARIABLE_REQUIRED),n):n}catch(e){return m(r,{error:e},d.VWO_GET_FLAG_VARIABLE_ERROR),n}},e.useGetFlagVariables=e=>{let t;try{return t=u(),e&&o.isObject(e)?e.getVariables():(t.error(d.VWO_GET_FLAG_VARIABLES_FLAG_REQUIRED),[])}catch(e){return m(t,{error:e},d.VWO_GET_FLAG_VARIABLES_ERROR),[]}},e.useSetAttribute=()=>{let e,t,n,r;try{e=u(),{vwoClient:t,userContext:n,isReady:r}=_()}catch(t){return m(e,{error:t},d.VWO_SET_ATTRIBUTE_ERROR),{setAttribute:()=>{},isReady:!1}}return{setAttribute:i=>{try{if(!r)return void e.error(p(d.VWO_CLIENT_MISSING,{hookName:h.VWO_SET_ATTRIBUTE}));if(!n||!o.isObject(n)||!n.id)return void e.error(p(d.INVALID_CONTEXT,{hookName:h.VWO_SET_ATTRIBUTE}));if(!i||!o.isObject(i)||Object.keys(i).length===0)return void e.error(d.VWO_SET_ATTRIBUTE_MAP_REQUIRED);t.setAttribute(i,n),e.info(p(d.VWO_SET_ATTRIBUTE_SUCCESS,{attributes:JSON.stringify(i)}))}catch(t){m(e,{error:t},d.VWO_SET_ATTRIBUTE_ERROR)}},isReady:r}},e.useTrackEvent=()=>{let e,t,n,r;try{e=u(),{vwoClient:t,userContext:n,isReady:r}=_()}catch(t){return m(e,{error:t},d.VWO_TRACK_EVENT_ERROR),{trackEvent:()=>Promise.resolve({}),isReady:!1}}return{trackEvent:async(i,a={})=>{try{return r?i&&o.isString(i)?n&&o.isObject(n)&&n.id?await t.trackEvent(i,n,a):(e.error(p(d.INVALID_CONTEXT,{hookName:h.VWO_TRACK_EVENT})),Promise.resolve({})):(e.error(d.VWO_TRACK_EVENT_NAME_REQUIRED),Promise.resolve({})):(e.error(p(d.VWO_CLIENT_MISSING,{hookName:h.VWO_TRACK_EVENT})),Promise.resolve({}))}catch(t){return m(e,{error:t instanceof Error?t.message:t,eventName:i},d.VWO_TRACK_EVENT_ERROR),Promise.resolve({})}},isReady:r}},e.useVWOClient=()=>{let e;try{e=u();let t=_();return t?t.isReady?{vwoClient:t.vwoClient,isReady:!0}:v:(e.error(p(d.INVALID_HOOK_USAGE,{hookName:h.VWO_CLIENT})),v)}catch(t){return m(e,{error:t,hookName:h.VWO_CLIENT},d.HOOK_ERROR),v}},e.useVWOContext=_})),uT=`control`;function dT({sdkKey:e,accountId:t}){return{sdkKey:e,accountId:t}}function fT({loggerLevel:e,isDevelopmentMode:t}={}){return{loggerLevel:e,isDevelopmentMode:t}}function pT(e){return!!(e.sdkKey&&e.accountId)}function mT({sdkKey:e,accountId:t,loggerLevel:n=`error`,isDevelopmentMode:r}){return{sdkKey:e,accountId:t,...r===void 0?{}:{isDevelopmentMode:r},logger:{level:n}}}var hT=lT();function gT({flagName:e,defaultValue:t,uniqueUserId:n,variableKey:r}
64){let[i,a]=(0,L.useState)(!1),[o,s]=(0,L.useState)(``);(0,L.useEffect)(()=>{s(aT(n)??``),a(!0)},[n]);let{flag:c,isReady:l}=(0,hT.useGetFlag)(e,o?{id:o}:void 0),u=(0,hT.useGetFlagVariable)(c,r,t??`control`);return i?o?l?{isReady:!0,isEnabled:c.isEnabled(),variant:u}:{isReady:!1,isEnabled:!1,variant:void 0}:{isReady:!0,isEnabled:!1,variant:uT}:{isReady:!1,isEnabled:!1,variant:void 0}}function _T({flagName:e,variableKey:t,uniqueUserId:n,defaultVariant:r,resolveVariant:i,reportToAnalytics:a=!0}){n||=Zw();let{isReady:o,isEnabled:s,variant:c}=gT({flagName:e,variableKey:t,uniqueUserId:n,defaultValue:r}),l=s&&!!c,u=l?c:r,d=i?i(u):u,f=(0,L.useRef)(!1);return(0,L.useEffect)(()=>{o&&a&&l&&!f.current&&(f.current=!0,Qw(d))},[o,a,l,d]),{isReady:o,variant:d}}var vT=function(e){return e.PREVIEW_DEFAULT=`preview-default-card`,e.PREVIEW_READ_MORE=`preview-read-more-card`,e.EXPANDED_DEFAULT=`expanded-default-card`,e.EXPANDED_READ_MORE=`expanded-read-more-card`,e}({}),yT=function(e){return e.AUTOPLAY=`autoplay`,e.MANUAL=`manual`,e}({});function bT({maxSliderLength:e=20,defaultSliderIndex:t=0,showReadMoreCard:n=!1,carouselCallback:r}){let{carrouselData:i}=(0,L.useContext)(Yw),{id:a}=(0,L.useContext)(Yr),o=Pb(i,e),[s,c]=(0,L.useState)(R(o)?o:[]),[l,u]=(0,L.useState)([]),[d,f]=(0,L.useState)(Lw),[p,m]=(0,L.useState)(!1),[h,g]=(0,L.useState)(!1),[v,y]=(0,L.useState)(!1),[b,x]=(0,L.useState)(!0),S=(0,L.useRef)(null),C=(0,L.useRef)(!1),w=(0,L.useRef)(t),[T,E]=(0,L.useState)({index:w.current||0}),[D,O]=(0,L.useState)({activeLeftControl:!1,activeRightControl:!1}),{deviceType:k}=gv(!1),A=`https://www.straitstimes.com`,ee=k===`mobile`,te=(0,L.useRef)({previewCardClick:!1}),ne=n?s.length:s.length-1;uw(r),(0,L.useEffect)(()=>{te.current.previewCardClick||(te.current.previewCardClick=!0)},[s,t]),(0,L.useEffect)(()=>{if(R(s)){O({activeLeftControl:T.index>0,activeRightControl:T.index<ne}),x(!0),oe(T.index);let e=s.at(T.index);_&&!C.current&&window.location.pathname===e?.urlPath&&e.gaData&&typeof e.gaData==`object`&&(Ow(e.gaData),mt(ct.VIRTUAL_PV,{...window._data,contenttype:ww.ARTICLE_VIRTUAL_PV,pagination:(T.index+1).toString(),context:`story_card::${b?`autoplay`:`manual`}`}),C.current=!0)}},[T,ne,s]),(0,L.useEffect)(()=>{(async()=>{try{let e=await Kg(`getstories/section`,`GET`,{},!1);u(e)}catch(e){j(le.ERROR,`BAAS:: STories API request failed`,{err:e})}})()},[]),(0,L.useEffect)(()=>{y(p||h),(!p||!h)&&x(!0)},[p,h]),(0,L.useEffect)(()=>{if(!b)return;let e=()=>{S.current=setTimeout(()=>{ie(_v.RIGHT,yT.AUTOPLAY),e()},Vw)};e();let t=()=>{S.current!==null&&clearTimeout(S.current),x(!1)};return(T.index===ne||v)&&S.current&&t(),()=>{t()}},[b,T,ne,v]);let re=e=>{x(e||!b)},ie=(0,L.useCallback)((e,t)=>{if(!h&&!p){let n=T.index;if(e===_v.RIGHT?n=Math.min(ne,T.index+1):e===_v.LEFT&&(n=Math.max(0,T.index-1)),E({index:n,action:e}),O({activeLeftControl:n>0,activeRightControl:n<ne}),_){let r=s.at(n);window.history.replaceState({},``,r?.urlPath||`/top-stories-read-more`),typeof r?.title==`string`&&(document.title=r.title),r?.gaData&&typeof r.gaData==`object`&&(Ow(r.gaData),mt(ct.VIRTUAL_PV,{...window._data,contenttype:ww.ARTICLE_VIRTUAL_PV,pagination:(n+1).toString(),context:`story_card::${t||`unknown`}::${e||`unknown`}`}))}}},[T,ne,h,p]),ae=(0,L.useCallback)(t=>{let n=s.at(T.index);ft({eventCategory:lt.STORIES_FEATURE,eventAction:`categories::click::${t}`,eventLabel:`${A}${n?.urlPath}`||``}),(async()=>{try{let n=Pb(await Kg(`getstories/${t}`,`GET`,{},!1),e);if(R(n)){let e=n.filter(e=>{if(e.id===a)return!1;let t=(e.aiSummary&&R(e.aiSummary))??!1,n=e.processedElements.some(e=>e.type===`paragraph`&&!!e.value);return t||n});c(e)}else j(le.WARN,`BAAS:: No data extracted or empty`),c([]);se()}catch(e){j(le.ERROR,`BAAS:: STories API request failed`,{err:e})}})(),f(t),se()},[s,a,e,T.index,A]),oe=e=>{if(!_)return;let t=s.at(e);if(!t)return;let n=t.urlPath||`/top-stories-read-more`;!n||window.location.pathname===n||(window.history.replaceState({},``,n),typeof t.title==`string`&&(document.title=t.title))},se=()=>{m(!1),g(!1),w.current=0,y(!1),E({index:0,action:`right`})};return{carouselDataset:s,widgetData:l,activeMenu:d,showWidgetCard:p,setShowWidgetCard:m,showExpandSummary:h,setShowExpandSummary:g,isDisabled:v,sliderIndex:T,sliderLength:ne,selectedIndex:w,currentDirection:D,handleSliderControl:ie,handleWidgetCallback:ae,handleAutoplay:re,isMobile:ee,isAutoplay:b}}function xT({onSwipeLeft:e,onSwipeRight:t,onPressStart:n,onPressEnd:r,range:i=30,pressDelay:a=1e3}={}){let o=(0,L.useRef)(null),s=(0,L.useRef)(null),c=(0,L.useRef)(!1),l=(0,L.useRef)(!1),u=(0,L.useRef)(null),d=(0,L.useRef)(null),f=()=>{u.current&&=(clearTimeout(u.current),null)},p=()=>{o.current=null,s.current=null,c.current=!1,r&&l.current&&r(),l.current=!1,f(),d.current!==null&&(cancelAnimationFrame(d.current),d.current=null)};return(0,L.useEffect)(()=>()=>{f(),d.current!==null&&cancelAnimationFrame(d.current)},[]),{onTouchStart:e=>{e.touches.length&&(o.current=e.touches[0].clientX,s.current=null,c.current=!1,n&&(u.current=setTimeout(()=>{l.current=!0,n()},a)))},onTouchMove:e=>{e.touches.length&&(d.current!==null&&cancelAnimationFrame(d.current),d.current=requestAnimationFrame(()=>{if(o.current===null)return;s.current=e.touches[0].clientX;let t=s.current-o.current,n=Math.abs(t);!c.current&&n>8&&f(),!c.current&&n>i&&(c.current=!0)}))},onTouchEnd:()=>
64{if(d.current!==null&&(cancelAnimationFrame(d.current),d.current=null),f(),o.current!==null&&s.current!==null&&c.current&&!l.current){let n=s.current-o.current;n>i?t?.():n<-i&&e?.()}p()},onTouchCancel:()=>{p()}}}var ST=`/assets/image-placeholder-portrait-CIIVK3Tx.png`;function CT({title:e,urlPath:t,isMobile:n=!1,isAutoplay:r,slideIndex:i,pauseAutoplay:a,showWidgetCard:o,closeExpandedView:s}){let c=`https://www.straitstimes.com`;return(0,I.jsxs)(`div`,{className:`nav-toolbar`,children:[n?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Z,{fill:K.NONE,size:Un.DEFAULT,type:q.ICON_ONLY,testId:`stories-expanded-view-close-btn-test-id`,className:`close-btn cursor-pointer icon-inverse`,icon:{iconName:M.NAV_CROSS,iconWidth:N.REGULAR},handler:()=>s?.()}),(0,I.jsx)(Z,{fill:K.NONE,size:Un.SMALL,type:q.ICON_ONLY,testId:`stories-widget-button-test-id`,icon:{iconName:M.NAV_WIDGETS,iconWidth:N.REGULAR},className:`icon-inverse`,handler:()=>{o?.(!0),ft({eventCategory:lt.STORIES_FEATURE,eventAction:`card::click::story widget::${(i??0)+1}`,eventLabel:`${c}${t}`||``})}})]}):(0,I.jsx)(Z,{fill:K.NONE,size:Un.DEFAULT,type:q.ICON_ONLY,testId:`stories-expanded-view-autoplay-btn-test-id`,className:`autoplay-btn cursor-pointer icon-inverse`,icon:{iconName:r?M.MULTIMEDIA_PAUSE:M.MULTIMEDIA_PLAY,iconWidth:N.REGULAR},handler:()=>{a?.(!r),ft({eventCategory:lt.STORIES_FEATURE,eventAction:`card::click::${r?`pause`:`play`}::${(i??0)+1}`,eventLabel:`${c}${t}`||``})}}),t&&t!==`/top-stories-read-more`&&(0,I.jsx)(xC,{type:yx.STORIES,title:e,url:t,refCode:`stories-card`,callBack:()=>{let e=!r;a?.(e),e||ft({eventCategory:lt.STORIES_FEATURE,eventAction:`card::click::share::${(i??0)+1}`,eventLabel:`${c}${t}`||``})}})]})}function wT({active:e=!1,articleContent:t,readMoreContent:n={title:`For stories and more`,urlPath:`https://www.straitstimes.com`},cardType:r=vT.EXPANDED_DEFAULT,slideIndex:i,isAutoplay:a,baseArticle:o,pauseAutoplay:s,showWidgetCard:c,closeExpandedView:l,className:u,testId:d=`stories-expanded-card-test-id`}){let f=r===vT.EXPANDED_DEFAULT,{deviceType:p}
64=gv(!1),[m,h]=(0,L.useState)(p===`mobile`),[g,v]=(0,L.useState)(!1),{id:y,title:b,urlPath:x,category:S,media:C}={id:t?.id||void 0,title:t?.title||``,urlPath:t?.urlPath||``,category:t?.category||void 0,media:t?.media||void 0},w=Tr(R(C)?C:[]),T=R(t?.aiSummary),E=!T&&R(t?.processedElements),{isUserLoading:D,userInfo:O}=Rt(e=>e),k=!D&&O?.usertype,A=k&&e_(k),ee=t?.contentAccess===Vt.PREMIUM,te=(0,L.useCallback)(()=>{n.urlPath&&!f&&_&&window.location.assign(n.urlPath)},[n,f]);return(0,L.useEffect)(()=>{_&&h(p===`mobile`)},[p]),(0,L.useEffect)(()=>{e||v(!1)},[e]),(0,I.jsxs)(`div`,{"data-testid":d,className:F(`stories-expanded-card`,r,g?`expanded`:`collapsed`,u),children:[(0,I.jsx)(`div`,{className:`card-media`,children:R(w)?(0,I.jsx)(Ky,{size:Y.LANDSCAPE,type:w[0]?.type??J.NONE,src:w[0]?.src||`/assets/image-placeholder-portrait-CIIVK3Tx.png`,alt:w[0]?.alt||``,wrapperClassName:`card-media-wrapper`,loadLazy:!1,testId:`stories-card-media-test-id`}):(0,I.jsx)(Ky,{size:Y.LANDSCAPE,type:J.NONE,src:ST,alt:``,wrapperClassName:`card-media-wrapper`,testId:`stories-card-media-test-id`})}),(0,I.jsx)(`div`,{className:`card-body`,children:f?(0,I.jsxs)(I.Fragment,{children:[ee&&A&&(0,I.jsx)(GE,{className:`mb-08`}),S?.name&&(0,I.jsx)(In,{category:U.LABEL,size:B.MD,style:W.REGULAR,className:`mobile-only`,children:S.name}),b&&wT.heading(b),T&&(0,I.jsx)(er,{data:t.aiSummary||[]}),E&&t.processedElements.map((e,t)=>(0,I.jsx)(Hr,{element:e},`teaser-paragraph-${t}`)),(0,I.jsx)(`div`,{className:`bottom-toolbar`,children:(0,I.jsx)(Z,{type:q.ICON_RIGHT,text:`Continue reading`,className:`text-inverse`,testId:`continue-reading-button-test-id`,icon:{iconName:M.NAV_CHEVRON_RIGHT,iconWidth:N.SMALL,className:`icon-interactive`},handler:()=>{s?.(!1),ft({eventCategory:lt.STORIES_FEATURE,eventAction:`card::click::continue reading::${(i??0)+1}::${b}`,eventLabel:`https://www.straitstimes.com${x}`||``}),_&&(o?.urlPath&&window.history.pushState({oldUrl:o.urlPath},document.title,o.urlPath),window.location.href=`${x}?ref=${Bw}`)}})})]}):(0,I.jsx)(wT.readmore,{title:n.title,handleButtonClick:te})}),(0,I.jsx)(CT,{title:t?.title,urlPath:t?.urlPath,slideIndex:i,isMobile:m,isAutoplay:a,showWidgetCard:c,closeExpandedView:l,pauseAutoplay:s})]},`stories-expanded-card-${y||`read-more`}`)}wT.heading=e=>(0,I.jsx)(G,{size:B.LG,weight:V.FORTY,type:H.SECTION,testId:`headline-test-id`,className:`card-title mobile-only`,children:e}),wT.readmore=({title:e,handleButtonClick:t})=>(0,I.jsxs)(`div`,{children:[(0,I.jsx)(X,{iconName:M.ST_INITIAL_LOGO_DEFAULT,iconWidth:`85px`,className:`readmore-st-logo`,testId:`st-logo`}),(0,I.jsx)(G,{size:B.LG,weight:V.FORTY,type:H.SECTION,className:`card-title`,children:e||`For stories and more`}),(0,I.jsx)(Z,{fill:K.OUTLINE,size:Un.DEFAULT,type:q.TEXT_ONLY,text:`Visit our homepage`,handler:t})]});function TT({title:e,urlPath:t,isLive:n,liveHeader:r=`Live`,isPremium:i=!1,kicker:a,asset:o,testId:s=`headline-baseline-card-test-id`,className:c,refCode:l}){let{isUserLoading:u,userInfo:d}=Rt(e=>e),f=!u&&d?.usertype,p=f&&e_(f);return(0,I.jsx)(Sn,{url:Ir(l,t)??t,type:z.CUSTOM,className:`items-stretch flex-grow-1 basis-full tablet:basis-1/3`,children:(0,I.jsxs)(`div`,{className:F(`flex flex-col px-00 card gap-08`,c),"data-testid":s,children:[i&&p&&(0,I.jsx)(GE,{}),Wv({isLive:n,live:r,asset:o,kicker:a,size:m_.SMALL,textClassName:`font-eyebrow-baseline-regular h-unset text-secondary`}),(0,I.jsx)(G,{type:H.SUBHEADLINE,size:B.SM,weight:V.FORTY,className:`px-00 flex items-start self-stretch`,children:e})]})})}var ET=e=>{let t=new Date().getTime()-new Date(e).getTime();if(t>0){let e={days:Math.floor(t/(1e3*60*60*24)),hours:Math.floor(t/(1e3*60*60)%24),minutes:Math.floor(t/1e3/60%60),seconds:Math.floor(t/1e3%60)};return{timeLeft:e,relative:e.days>0?`${e.days} day${e.days>1?`s`:``} ago`:e.hours>0?`${e.hours} hour${e.hours>1?`s`:``} ago`:e.minutes>0?`${e.minutes} min${e.minutes>1?`s`:``} ago`:`Just now`}}};function DT({id:e,title:t,urlPath:n,publishedDate:r,isPremium:i=!1,testId:a=`popular-baseline-card-test-id`,className:o,refCode:s}){return(0,I.jsx)(I.Fragment,{children:n?(0,I.jsx)(Sn,{url:Ir(s,n)??n,type:z.CUSTOM,className:F(`items-start`,o),testId:a,children:(0,I.jsx)(OT,{id:e,testId:a,title:t,isPremium:i,publishedDate:r})}):(0,I.jsx)(`div`,{className:F(o),"data-testid":a,children:(0,I.jsx)(OT,{id:e,testId:a,title:t,isPremium:i,publishedDate:r})})})}function OT({id:t,title:n,isPremium:r=!1,publishedDate:i}){let{pathname:a}
64=e(),[o,s]=(0,L.useState)(!1);(0,L.useEffect)(()=>{s(!0)},[]);let c=!!a.includes(`breaking-news`),{isUserLoading:l,userInfo:u}=Rt(e=>e),d=!l&&u?.usertype,f=d&&e_(d);return(0,I.jsxs)(`div`,{className:`flex flex-col px-00 card`,children:[(0,I.jsxs)(`div`,{className:F(`flex items-center`,c?`gap-08`:`gap-16`,c&&r?`flex-col`:``),children:[t&&!c&&(0,I.jsx)(Nn,{type:Dn.EMPHASIS,size:B.XXXL,weight:V.SIXTY,className:`text-center`,children:t}),c&&r&&f&&(0,I.jsx)(GE,{className:`w-full`}),n&&(0,I.jsx)(G,{type:H.SUBHEADLINE,size:B.SM,weight:V.FORTY,className:`px-00 flex items-start self-stretch`,children:n})]}),c&&i&&(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.THIRTY,className:F(`flex-shrink-0 text-secondary`,o?``:`opacity-0`),children:o?ET(i)?.relative:`minutes ago`})]})}function kT({title:e,urlPath:t=`#`,testId:n=`timeline-card-test-id`,isPremium:r=!1,publishedDate:i,className:a,refCode:o}){let[s,c]=(0,L.useState)(!1),{isUserLoading:l,userInfo:u}=Rt(e=>e),d=!l&&u?.usertype,f=d&&e_(d);if((0,L.useEffect)(()=>{c(!0)},[]),!(i===void 0||i===``))return(0,I.jsxs)(Sn,{url:Ir(o,t)??t,type:z.CUSTOM,className:F(`default-timeline-card items-start`,a),testId:n,children:[(0,I.jsx)(X,{iconName:M.ACTION_BULLET,iconWidth:N.SMALL,className:`py-2`}),(0,I.jsxs)(`div`,{className:F(`flex flex-col w-full`,r&&f?`gap-04`:`gap-08 desktop:gap-04`),children:[(0,I.jsxs)(`div`,{className:`flex flex-nowrap gap-04 max-h-16 desktop:max-h-unset items-center`,children:[(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.THIRTY,className:F(`flex-shrink-0 text-secondary`,s?``:`opacity-0`),children:s?ET(i)?.relative:`minutes ago`}),(0,I.jsx)(Jn,{vertical:!1,className:`desktop:hidden block w-full h-01 mx-00`})]}),(0,I.jsxs)(`div`,{children:[r&&f&&(0,I.jsx)(GE,{className:`mb-04`}),(0,I.jsx)(G,{type:H.SUBSECTION,size:B.XS,weight:V.FORTY,children:e})]})]})]})}function AT(e){let{title:t,media:n,urlPath:r=``,relatedLinks:i=[],isLive:a=!1,liveHeader:o=`Live`,isPremium:s=!1,kicker:c,asset:l,testId:u=`bleed-lg-card-test-id`,className:d,refCode:f}=e,p=!!(d&&d.includes(`h1-card`)),{isUserLoading:m,userInfo:h}=Rt(e=>e),g=!m&&h?.usertype,_=g&&e_(g);return(0,I.jsx)(Sn,{url:Ir(f,r)??r,type:z.CUSTOM,className:F(`items-start w-full`,d),children:(0,I.jsxs)(`div`,{"data-testid":u,className:`flex w-full desktop:gap-32 tablet:gap-24 gap-00 items-start self-stretch flex-col-reverse tablet:flex-row card`,children:[(0,I.jsxs)(`div`,{className:F(`flex flex-col items-start gap-16 p-16 self-stretch flex-1-0-0 tablet:p-00 tablet:basis-1/2 w-full tablet:w-6/12`,!d?.includes(`top-card`)&&`mobile:px-00`),children:[(0,I.jsxs)(`div`,{className:`flex flex-col items-start gap-08 self-stretch`,children:[s&&_&&(0,I.jsx)(GE,{}),Wv({isLive:a,live:o,kicker:c,asset:l,size:m_.DEFAULT,textClassName:`${c!==void 0&&`font-eyebrow-lg-regular`}`}),(0,I.jsx)(G,{type:p?H.SECTION_SEO:H.SECTION,size:B.LG,weight:V.FORTY,children:t})]}),AT.blurb(e),R(i)&&AT.relatedLinks(i,f)]}),(0,I.jsx)(`div`,{className:F(`tablet:basis-1/2 px-16 mobile:px-00 mobile:w-full pt-08 pb-00 tablet:p-00 tablet:w-6/12 w-screen tablet:max-w-50vw`,d?.includes(`top-card`)&&`mobile:pt-00`),children:AT.media(a,n,d)})]})})}AT.blurb=function(e){let{blurb:t,bulletPoints:n}=e;return n&&R(n)?(0,I.jsx)(`div`,{className:`card-text`,children:(0,I.jsx)(`ul`,{children:n.map((e,t)=>{let{value:n}=e;return(0,I.jsxs)(`li`,{className:`flex items-start`,children:[` `,(0,I.jsx)(X,{iconName:M.ACTION_BULLET,iconWidth:N.SMALL}),` `,(0,I.jsxs)(Pn,{type:En.BODY,size:B.SM,weight:V.THIRTY,children:[` `,n]})]},`${t}${n}`)})})}):t&&(0,I.jsx)(Pn,{type:En.BODY,size:B.SM,weight:V.THIRTY,children:t})},AT.relatedLinks=function(e,t){return(0,I.jsx)(I.Fragment,{children:e.map((e,n)=>(0,I.jsxs)(Sn,{url:Ir(t,e.url)??e.url,type:z.CUSTOM,className:`flex flex-col items-start gap-12 self-stretch`,testId:`featured-bleed-lg-related-link-${n}`,children:[(0,I.jsx)(`div`,{className:`w-full`,children:(0,I.jsx)(Jn,{type:qn.DOTTED,vertical:!1,className:`mx-0 h-0`})}),(0,I.jsx)(G,{type:H.HEADLINE,size:B.XS,weight:V.FORTY,children:e.title})]},`relatedLink-${n}`))})},AT.media=function(e,t,n){if(R(t)&&t[0].type===J.BRIGHTCOVE&&e)return AT.Brightcove(t);if(R(t)&&t[0].type===J.YOUTUBE&&e)return AT.Youtube(t);let r=Tr(R(t)?t:[]);return(0,I.jsx)(`div`,{children:R(t)&&t.length>1?(0,I.jsx)(wv,{renderItems:t,arrows:!1,autoplay:!0,autoplaySpeed:3e3,speed:1500,fade:!0,cssEase:`ease-in-out`}):R(r)&&(0,I.jsx)(Ky,{size:Y.LANDSCAPE,type:r[0]?.type??J.IMAGE,src:r[0]?.src||`/assets/image-placeholder-default-BgLcQODD.jpg`,alt:r[0]?.alt||``,maxWidth:Cr[Sr.FEATURED_BLEED_LG],wrapperClassName:`w-full aspect-landscape`,loadLazy:!n?.includes(`top-card`)})})},AT.Youtube=function(e){return R(e)&&e[0]?.custom?.id?(0,I.jsx)(`div`,{className:`card-media`,children:(0,I.jsx)(Vv,{title:e[0].custom.info?.caption||``,src:Nr(Dr.YOUTUBE,e[0].custom.id,``),className:`aspect-`+Y.LANDSCAPE,loading:`eager`,testId:`feature-bleed-lg-iframe-youtube`})}):(0,I.jsx)(I.Fragment,{})},AT.Brightcove=function(e){if(R(e)&&e[0]?.custom?.id){let t=Nr(Dr.BRIGHTCOVE,e[0].custom.id,``);return(0,I.jsx)(`div`,{className:`card-media`,children:(0,I.jsx)(Vv,{title:e[0].custom.info?.caption||``,src:t,className:`aspect-`+Y.LANDSCAPE,loading:`eager`,testId:`feature-bleed-lg-iframe-brightcove`})})}else return(0,I.jsx)(I.Fragment,{})};
64function jT({title:e,urlPath:t,media:n,isPremium:r=!1,className:i,testId:a=`bleed-md-card-test-id`,refCode:o}){let s=Tr(R(n)?n:[]),{isUserLoading:c,userInfo:l}=Rt(e=>e),u=!c&&l?.usertype,d=u&&e_(u);return(0,I.jsx)(`div`,{className:F(`py-08 px-00 card min-w-[--bleed-md-w] desktop:w-full desktop:min-w-unset`,`desktop:py-16`,i),"data-testid":a,children:(0,I.jsxs)(Sn,{url:Ir(o,t)??t,type:z.CUSTOM,className:F(`flex flex-col`,r&&d?`items-start`:``),children:[(0,I.jsx)(Ky,{src:s[0]?.src??`/assets/image-placeholder-default-BgLcQODD.jpg`,size:Y.LANDSCAPE,type:s[0]?.type??J.IMAGE,maxWidth:Cr[Sr.FEATURED_BLEED_MD],wrapperClassName:`w-full aspect-landscape`}),r&&d&&(0,I.jsx)(GE,{className:`mt-16`}),(0,I.jsx)(G,{type:H.SUBHEADLINE,size:B.SM,weight:V.FORTY,className:F(`py-16 px-00`,`flex items-start self-stretch`,r&&d?`pt-08`:``),children:e})]})})}function MT({title:e,urlPath:t,media:n,testId:r=`featured-branded-card-test-id`,className:i,refCode:a}){return t?(0,I.jsx)(Sn,{type:z.CUSTOM,url:Ir(a,t)??t,testId:r,className:F(`w-full gap-x-00`,i),children:(0,I.jsx)(NT,{title:e,media:n})}):(0,I.jsx)(`div`,{"data-testid":r,className:F(`w-full`,i),children:(0,I.jsx)(NT,{title:e,media:n})})}function NT({title:e,media:t}){let n=Tr(R(t)?t:[]);return(0,I.jsxs)(`div`,{className:`flex w-full gap-16 tablet:gap-24 desktop:gap-32`,children:[(0,I.jsx)(`div`,{className:`flex w-full desktop:basis-7/12`,children:e&&(0,I.jsx)(G,{type:H.CONTAINER,size:B.XXSCURATOR,weight:V.FORTY,className:`text-primary`,children:e})}),R(t)&&t.length>0&&(0,I.jsxs)(`div`,{className:F(`flex h-100 desktop:h-auto aspect-square desktop:aspect-landscape desktop:basis-5/12`),children:[(0,I.jsx)(Ky,{src:n[0]?.src,alt:n[0]?.alt,caption:n[0]?.caption,type:n[0]?.type,size:Y.LANDSCAPE,wrapperClassName:`hidden desktop:flex w-full aspect-landscape`,maxWidth:Cr[Sr.FEATURED_BRANDED]}),(0,I.jsx)(Ky,{src:n[0]?.secondarySrc,alt:n[0]?.alt,caption:n[0]?.caption,type:n[0]?.type,size:Y.SQUARE,wrapperClassName:`flex desktop:hidden w-full aspect-square`,maxWidth:Cr[Sr.FEATURED_BRANDED]})]})]})}function PT({kicker:e,title:t,media:n,isLive:r,isPremium:i=!1,liveHeader:a,asset:o}){let s=Tr(R(n)?n:[]),{isUserLoading:c,userInfo:l}=Rt(e=>e),u=!c&&l?.usertype,d=u&&e_(u);return(0,I.jsxs)(`div`,{className:`flex flex-row desktop:flex-col items-start w-full`,children:[(0,I.jsxs)(`div`,{className:`flex flex-col gap-08 py-00 desktop:py-16 mobile:mr-16 tablet:mr-24 desktop:mr-00 order-1 desktop:order-2 self-stretch w-full`,children:[i&&d&&(0,I.jsx)(GE,{}),Wv({isLive:r,live:a,asset:o,kicker:e,size:m_.SMALL}),t&&(0,I.jsx)(G,{type:H.SUBHEADLINE,size:B.SM,weight:V.FORTY,className:`text-primary`,children:t})]}),R(s)&&(0,I.jsxs)(`div`,{className:F(`order-2 desktop:order-1 flex h-100 desktop:h-auto aspect-square desktop:aspect-landscape`),children:[(0,I.jsx)(Ky,{src:s[0]?.src,alt:s[0]?.alt,caption:s[0]?.caption,type:s[0].type,size:Y.LANDSCAPE,wrapperClassName:`hidden desktop:flex w-full aspect-landscape`,maxWidth:Cr[Sr.FEATURED_BUNDLED]}),(0,I.jsx)(Ky,{src:s[0]?.secondarySrc??s[0]?.src,alt:s[0]?.alt,caption:s[0]?.caption,type:s[0]?.type,size:Y.SQUARE,wrapperClassName:`flex desktop:hidden w-full aspect-square`,maxWidth:Cr[Sr.FEATURED_BUNDLED]})]})]})}function FT({testId:e=`bundled-card-test-id`,className:t,kicker:n,title:r,media:i,isLive:a,isPremium:o=!1,liveHeader:s,asset:c,urlPath:l,refCode:u}){return(0,I.jsx)(`div`,{className:F(`feature-bundled-card-wrapper`,t),"data-testid":e,children:l?(0,I.jsx)(Sn,{type:z.CUSTOM,url:Ir(u,l)??l,className:`w-full`,children:(0,I.jsx)(PT,{kicker:n,title:r,media:i,isLive:a,liveHeader:s,asset:c,isPremium:o})}):(0,I.jsx)(PT,{kicker:n,title:r,media:i,isLive:a,liveHeader:s,asset:c,isPremium:o})})}function IT({title:e,urlPath:t,size:n=`DEFAULT`,isPremium:r=!1,kicker:i,asset:a,media:o,className:s,testId:c=`headline-card-test-id`,refCode:l}){let u=i?B.SM:a?B.XXSCURATOR:B.SM,d=i?H.SUBHEADLINE:a?H.CONTAINER:H.SUBHEADLINE,f=Tr(R(o)?o:[]),{isUserLoading:p,userInfo:m}=Rt(e=>e),h=!p&&m?.usertype,g=h&&e_(h);return(0,I.jsx)(Sn,{url:Ir(l,t)??t,type:z.CUSTOM,className:`flex flex-nowrap items-start tablet:left-divider card basis-full desktop:basis-1/2`,children:(0,I.jsx)(`div`,{className:F(`flex flex-col`),children:(0,I.jsxs)(`div`,{className:F(`flex self-stretch gap-16`,s),"data-testid":c,children:[(0,I.jsxs)(`div`,{className:F(`flex flex-col flex-grow basis-2/3 items-start gap-08`),children:[r&&g&&(0,I.jsx)(GE,{}),Wv({asset:a,kicker:i,size:m_.SMALL,textClassName:`font-eyebrow-baseline-regular h-unset text-secondary`}),(0,I.jsx)(G,{type:d,size:u,weight:V.FORTY,children:e})]}
64),(0,I.jsx)(`div`,{className:`flex-grow shrink-1 basis-1/3`,children:(0,I.jsx)(Ky,{src:f[0]?.src??`/assets/image-placeholder-default-BgLcQODD.jpg`,type:f[0]?.type??J.IMAGE,size:n===`DEFAULT`?Y.SQUARE:Y.LANDSCAPE,maxWidth:Cr[Sr.FEATURED_HEADLINE],className:`max-h-full max-tablet:aspect-square`,wrapperClassName:`w-full aspect-square`})})]})})})}function LT(e){let{urlPath:t,key:n,refCode:r}=e;return(0,I.jsx)(L.Fragment,{children:t?(0,I.jsx)(Sn,{url:Ir(r,t)??t,type:z.CUSTOM,className:`flex flex-nowrap items-start tablet:left-divider card basis-full`,children:(0,I.jsx)(RT,{...e})}):(0,I.jsx)(RT,{...e})},`headline-lg-card-${n}`)}function RT({title:e,kicker:t,asset:n,media:r,publishedDate:i,isPremium:a=!1,className:o,testId:s=`headline-lg-card-test-id`}){let c=Tr(R(r)?r:[]),{isUserLoading:l,userInfo:u}=Rt(e=>e),d=!l&&u?.usertype,f=d&&e_(d);return(0,I.jsxs)(`div`,{className:F(`flex self-stretch mobile:gap-16 tablet:gap-24 desktop:gap-32 desktop:py-24 w-full`,o),"data-testid":s,children:[(0,I.jsxs)(`div`,{className:F(`flex flex-col flex-grow basis-1/2 items-start gap-08`),children:[a&&f&&(0,I.jsx)(GE,{}),Wv({asset:n,kicker:t,size:m_.SMALL,textClassName:`font-eyebrow-baseline-regular h-unset text-secondary`}),(0,I.jsx)(G,{type:H.SUBHEADLINE,size:B.SM,weight:V.FORTY,children:e}),(0,I.jsx)(S,{children:(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.THIRTY,className:`text-tertiary`,children:i&&(dC(i)===`invalid`?uC(i):dC(i))})})]}),(0,I.jsxs)(`div`,{className:`headline-lg-img-wrapper tablet:flex-grow shrink-1 tablet:basis-1/3`,children:[(0,I.jsx)(Ky,{src:c[0]?.src,alt:c[0]?.alt,caption:c[0]?.caption,type:c[0]?.type,size:Y.LANDSCAPE,maxWidth:Cr[Sr.FEATURED_HEADLINE_LG],wrapperClassName:`hidden tablet:flex headline-lg-img w-full aspect-landscape`}),(0,I.jsx)(Ky,{src:c[0]?.secondarySrc,alt:c[0]?.alt,caption:c[0]?.caption,type:c[0]?.type,size:Y.SQUARE,maxWidth:Cr[Sr.FEATURED_HEADLINE_LG],wrapperClassName:`flex tablet:hidden w-100 headline-lg-img aspect-square`})]})]})}var zT=`/assets/newsletter-bottom-line-VNqeIQNk.png`,BT=`/assets/newsletter-editors-picks-CqtiKBE2.jpg`,VT=`/assets/newsletter-green-pulse-w0_RQt8Q.png`,HT=`/assets/newsletter-special-edition-flag-D4VSjpS1.png`,UT=`/assets/newsletter-unpacked-e4veH72G.png`,WT={MORNING_BRIEFING:{id:`11077`,title:`Morning Briefing`,name:`Morning Briefing`,consent_name:`st_newsletter_morning_brief`,description:`The headlines you need to know to start your day.`,frequency:`Every morning`,thumbnail:`https://static1.straitstimes.com.sg/s3fs-public/articles/2025/07/01/morning-revamp.png`,purposeId:oe()?`2941459f-25f4-4868-9072-84e445801f26`:`41e65d4e-7259-49da-90f2-3cc9ee42d6e7`,anchor:`nl_morning_briefing`},EVENING_UPDATE:{id:`11078`,title:`Evening Update`,name:`Evening Update`,consent_name:`st_newsletter_evening_update`,description:`Stay informed with a round-up of the dayâs news that matters.`,frequency:`Every evening, except Saturday`,thumbnail:`https://static1.straitstimes.com.sg/s3fs-public/articles/2025/07/01/evening-revamp.png`,purposeId:oe()?`af1eb69b-d14a-4a24-a178-9d79ce96dd2e`:`f9d41484-5252-4d25-a0e2-8e5d44eaacbb`,anchor:`nl_evening_update`},EDITORS_PICKS:{id:`11079`,title:`Editorâs Picks`,name:`Editorâs Picks`,consent_name:`st_newsletter_editors_picks`,description:`From the Editor, with a curation of STâs best.`,frequency:`Every Friday`,thumbnail:BT,purposeId:oe()?`1edea4ad-2522-4a1d-8a86-77928fe17e8a`:`49715006-a3b1-4b6f-a264-c90376cd9987`,anchor:`nl_editors_picks`},ST_SMART_PARENTING:{id:`23335`,title:`ST Smart Parenting`,name:`ST Smart Parenting`,consent_name:`st_newsletter_st_smart_parenting`,description:`Take a closer look at the ins and outs of how to help your child in school and life. Our columnists also share about the ups and downs of parenting.`,frequency:`Every Monday`,thumbnail:`https://static1.straitstimes.com.sg/s3fs-public/articles/2025/07/01/smart-parent-revamp.png`,purposeId:oe()?`0288e072-87f9-4501-b1a7-7a98bef4f88b`:`8c5277b2-6872-407a-91bc-288f52cd62bf`,anchor:`nl_st_smart_parenting`},FULL_TIME_REPORT:{id:`25654`,title:`Full-time Report`,name:`Full-time Report`,consent_name:`st_newsletter_fulltime_report`,description:`Dive into all the action from Singaporeâs sports scene with Full-time Report. Our writers also break down whatâs behind the moves on and off the field.`,frequency:`Every Monday`,thumbnail:`https://static1.straitstimes.com.sg/s3f
64s-public/articles/2025/07/01/full-time-revamp.png`,purposeId:oe()?`edc828fc-9043-440f-8da1-1bac15966bed`:`4764a650-8302-40f0-8511-e0b3d72d5320`,anchor:`nl_fulltime_report`},HEADSTART:{id:`25132`,title:`Headstart`,name:`Head Start`,consent_name:`st_newsletter_head_start`,description:`Join STâs young journalists for work, money and lifestyle tips that help you level up.`,frequency:`Every Tuesday`,thumbnail:`https://static1.straitstimes.com.sg/s3fs-public/articles/2025/07/01/headstart-revamp.png`,purposeId:oe()?`d68ed142-dc77-4c79-b44e-59b0b171c0b6`:`7b00e043-f515-466d-8f91-e866e6413228`,anchor:`nl_headstart`},ST_FOOD:{id:`15138`,title:`ST Food`,name:`ST Food`,consent_name:`st_newsletter_food`,description:`Where to go for lunch? What to cook for dinner? Get delicious ideas from the latest food trends and best eateries in town.`,frequency:`Every Wednesday`,thumbnail:`https://static1.straitstimes.com.sg/s3fs-public/articles/2025/07/01/st-food-revamp.png`,purposeId:oe()?`a3878754-9774-42a1-8f8e-710481211afe`:`67e74fc7-b31b-43f7-bf36-235e71bf7e8c`,anchor:`nl_st_food`},ASIAN_INSIDER_MALAYSIA_EDITION:{id:`24775`,title:`Asian Insider: Malaysia Edition`,name:`Asian Insider: Malaysia Edition`,consent_name:`st_newsletter_asian_insider_malaysia_edition`,description:`Be it politics, the economy or social trends, STâs bureau chief helps you to connect the dots on the big stories playing out in Malaysia.`,frequency:`Every Thursday`,thumbnail:`https://static1.straitstimes.com.sg/s3fs-public/articles/2025/07/01/asian-insider-my-revamp.png`,purposeId:oe()?`245fc63a-3aee-4d2c-b8da-9fd09c4932e6`:`17fb0293-f375-49db-8e6c-0674a925605b`,anchor:`nl_asian_insider_malaysia_edition`},ASIAN_INSIDER:{id:`15136`,title:`Asian Insider`,name:`Asian Insider`,consent_name:`st_newsletter_asian_insider`,description:`Stay on top of Asiaâs fast-paced moves and weighty issues, with insights from our correspondents in the region.`,frequency:`Every Wednesday`,thumbnail:`https://static1.straitstimes.com.sg/s3fs-public/articles/2025/07/01/asian-insider-revamp.png`,purposeId:oe()?`8836fe19-c94b-4696-b9ff-54bb55226260`:`7d744c77-21a6-4ca2-9268-b8dc1f0a696f`,anchor:`nl_asian_insider`},TOP_STORIES:{id:`11080`,title:`Top Stories`,name:`Top Stories from the Week`,consent_name:`st_newsletter_top_stories_from_the_week`,description:`In case you missed it. A recap of the most popular stories of the week.`,frequency:`Every Saturday`,thumbnail:`https://static1.straitstimes.com.sg/s3fs-public/articles/2025/07/01/top-stories-revamp.png`,purposeId:oe()?`85f65b21-11a2-4d2e-b99f-a502551e500c`:`54790df9-a1ed-430e-8e6b-536e99b32bac`,anchor:`nl_top_stories`},ST_SPECIAL_EDITION:{id:`28192`,title:`ST Special Edition`,name:`SG Special Edition`,description:`Top news and analyses on the National Day Rally, Budget speech and other major Singapore events.`,frequency:`As needed`,thumbnail:HT,purposeId:oe()?`41aff7a0-6aeb-4ddf-a5eb-fc2644bc1f28`:`512b9218-b1cc-4ce8-b473-9f377fba4331`,anchor:`nl_st_special_edition`,consent_name:`st_newsletter_sg_special_edition`}},GT=()=>Object.values(WT),KT={MINDEF:{id:`28117`,name:`ST MINDEF`,consent_name:`st_newsletter_mindef`,title:`Hello members of the MINDEF/SAF family, and welcome to The Straits Times.`,frequency:``,description:`Please enter your email address. We will send you an e-newsletter curated specially for you.`,thumbnail:``,purposeId:oe()?`43520988-e4fd-4d2f-a827-9835e09c81bd`:`0b667c4b-f064-4a5b-9f04-f93c147ab2c8`,anchor:``},MOE_ITE:{id:`21436`,name:`ST TL;DR`,consent_name:`st_newsletter_moe_ihl_ite`,title:`ST TLDR`,frequency:`Every other Thursday`,description:`Enter your email address to get our newsletter delivered straight to your inbox. Weâll help you keep up with the news and get ready for the world!`,thumbnail:``,purposeId:``,anchor:``},MOE_POLY:{id:`21437`,name:`ST TL;DR`,consent_name:`st_newsletter_moe_ihl_poly`,title:`ST TLDR`,frequency:`Every other Thursday`,description:`Enter your email address to get our newsletter delivered straight to your inbox. Weâll help you keep up with the news and get ready for the world!`,thumbnail:``,purposeId:``,anchor:``}
64,MOE_JC:{id:`21125`,name:`ST TL;DR`,consent_name:`st_newsletter_moe_ihl_jc`,title:`ST TLDR`,frequency:`Every other Thursday`,description:`Enter your email address to get our newsletter delivered straight to your inbox. Weâll help you keep up with the news and get ready for the world!`,thumbnail:``,purposeId:oe()?`320a61a2-37c0-4f79-bbeb-ceca82fbca93`:`0edec389-f4a2-4b4a-8bb7-778b3f9ac51e`,anchor:``},MHA:{id:`17811`,name:`ST Turn Out`,consent_name:`st_newsletter_mha`,title:`Hello Home Team officer and welcome to The Straits Times.`,frequency:``,description:`Please enter your email address and Operationally Ready Date (ORD) date. We will send you an e-newsletter curated specially for you.`,purposeId:oe()?`0a579537-e270-4aae-9497-3a2e3d0b5a0c`:`ed533362-d66d-47bd-8693-5c30f0e2eae5`,thumbnail:``,anchor:``},HEADSTART:{id:`25132`,name:`Headstart`,consent_name:`st_newsletter_head_start`,title:`Headstart`,frequency:`Every Tuesday`,description:`Want to level up your career, finances and lifestyle? Sign up for the Headstart newsletter for weekly insights from The Straits Times.`,purposeId:oe()?`d68ed142-dc77-4c79-b44e-59b0b171c0b6`:`7b00e043-f515-466d-8f91-e866e6413228`,thumbnail:``,anchor:``}},qT={GREEN_PULSE:{id:``,title:`Green Pulse`,consent_name:``,name:`Green Pulse`,description:`The most pressing environment and sustainability issues, and its impact on Singapore and South-East Asia.`,frequency:`Every Tuesday`,thumbnail:VT,purposeId:``,anchor:`nl_green_pulse`,target:`https://www.linkedin.com/newsletters/green-pulse-7337807915266777088/?ref=newsletter-signup`,icon:{iconName:M.SOCIAL_LINKEDIN_COLOURED,iconWidth:N.REGULAR}},BOTTOM_LINE:{id:``,title:`The Bottom Line`,consent_name:``,name:`The Bottom Line`,description:`Opinion Editor Lin Suling, one of LinkedInâs Singapore Top Voices, brings her perspective to big issues and popular topics of the moment.`,frequency:`Every Wednesday`,thumbnail:zT,purposeId:``,anchor:`nl_bottom_line`,target:`https://www.linkedin.com/newsletters/the-bottom-line-7165252820433133569?ref=newsletter-signup`,icon:{iconName:M.SOCIAL_LINKEDIN_COLOURED,iconWidth:N.REGULAR}},UNPACKED:{id:``,title:`Unpacked`,consent_name:``,name:`Unpacked`,description:`Singapore politics, explained weekly by people who actually sit through Parliament (and more). Free, from ST's politics team.`,frequency:`Every Monday`,thumbnail:UT,purposeId:``,anchor:`nl_unpacked`,target:`https://unpackedbyst.substack.com/?ref=newsletter-signup`,icon:{iconName:M.SOCIAL_SUBSTACK,iconWidth:N.REGULAR}}},JT={title:`Newsletters`,introContent:`Get the best of The Straits Times sent to your inbox.`};ww.LISTING;var YT={placeholderText:`Enter your email`,noteText:`By signing up, I accept SPH Mediaâs Terms & Conditions and Personal Data Protection Notice as amended from time to time.`},XT={label:`I consent to the collection, use, processing and disclosure of my personal data for marketing purposes including via my email. For details or to change these communication channels:`,description:`By ticking the checkbox above, I consent to the collection, use, processing and disclosure of my personal data by SPH Media, its related corporations and affiliates as well as their agents and authorised service providers for marketing and promotional purposes and other Additional Purposes as set out in paragraph 3.3 of SPH Media's Personal Data Protection Notice via email.`},ZT=[{label:`Yes, I would also like to receive SPH Media Groupâs marketing and promotions.`,value:`consentEmail`}],QT={invalidEmail:`Please enter a valid email address`,success:`Subscribed newsletter(s) will be sent to your inbox on the scheduled days.`,TOAST_SUCCESS:`You're subscribed!`,TOAST_SUCCESS_DESCRIPTION:`Thank you for signing up for our newsletter.`,TOAST_FAILED:`Sign-up failed`,TOAST_FAILED_DESCRIPTION:`We couldnât complete your subscription. 65Please refresh and try again.`,TOAST_NO_INTERNET:`No internet connection`,TOAST_NO_INTERNET_DESCRIPTION:`Please check your connection and try again.`},$T={headstart:{name:`Headstart`,title:`Headstart`,frequency:`Every Tuesday`,description:`Want to level up your career, finances and lifestyle? Sign up for the Headstart newsletter for weekly insights from The Straits Times.`,purpose:`d68ed142-dc77-4c79-b44e-59b0b171c0b6`},moe:{name:`ST TL;DR`,title:`ST TLDR`,frequency:`Every other Thursday`,description:`Enter your email address to get our newsletter delivered straight to your inbox. Weâll help you keep up with the news and get ready for the world!`}
65,mha:{name:`ST Turn Out`,title:`Hello Home Team officer and welcome to The Straits Times.`,frequency:``,description:`Please enter your email address and Operationally Ready Date (ORD) date. We will send you an e-newsletter curated specially for you.`,purpose:`0a579537-e270-4aae-9497-3a2e3d0b5a0c`},mindef:{name:`ST MINDEF`,title:`Hello members of the MINDEF/SAF family, and welcome to The Straits Times.`,frequency:``,description:`Please enter your email address. We will send you an e-newsletter curated specially for you.`,purpose:`43520988-e4fd-4d2f-a827-9835e09c81bd`}},eE={tnc:`https://www.sph.com.sg/legal/website_tnc/`,privacy:`https://www.sph.com.sg/tnc/pdpa/`,headstart_preview:`https://click.straitstimes.com/u/gm.php?prm=5axu2OGQP8_765568853_5475701_16807&_esuh=_11_d6ac67aa043536d9c5c506cc7c1b7e9e9195199d61cc12e3c91c628a8dcb042a`,HEADSTART_ID:25132,ITE_ID:21436,POLY_ID:21437,JC_ID:21125,MHA_ID:17811,MINDEF_ID:28117,MHA_MONTHS:[{key:`01`,value:`1`},{key:`02`,value:`2`},{key:`03`,value:`3`},{key:`04`,value:`4`},{key:`05`,value:`5`},{key:`06`,value:`6`},{key:`07`,value:`7`},{key:`08`,value:`8`},{key:`09`,value:`9`},{key:`10`,value:`10`},{key:`11`,value:`11`},{key:`12`,value:`12`}],MHA_YEARS:[{key:`2021`,value:`2021`},{key:`2022`,value:`2022`},{key:`2023`,value:`2023`},{key:`2024`,value:`2024`},{key:`2025`,value:`2025`},{key:`2026`,value:`2026`},{key:`2027`,value:`2027`},{key:`2028`,value:`2028`},{key:`2029`,value:`2029`},{key:`2030`,value:`2030`}],HEADSTART_EDITION_ID:`25132`,HEADSTART_EMAIL_TRIGGER_EVENT_ID:6460,MHA_SUBSCRIPTION_DATE:17868,MHA_SUBSCRIPTION_ORD_DATE:22104,NEWSLETTER_PREVIEW_SUBSCRIBED_EMAIL:`[email protected]`,HEADSTART_EMAIL_CATEGORY:7380,CLICK_STRAITSTIMES_COM:`https://click.straitstimes.com`};ww.LISTING,ww.LISTING,ww.LISTING,ww.LISTING,ww.LISTING,ww.LISTING,ww.LISTING;function tE(e){return Object.values(WT).filter(t=>t.purposeId===e)[0]??[]}function nE(e){return Object.values(WT).filter(t=>t.consent_name===e)[0]??[]}function rE(e){return!e||e===``?`LEGACY`:e.includes(`st_newsletter_`)?`CONSENT`:`LEGACY`}function iE(e){return!e||e===``?!1:e.includes(`st_newsletter_`)?Object.entries(WT).reduce((t,[n,r])=>(e===r.consent_name&&t.push(n),t),[]).length>0||Object.entries(KT).reduce((t,[n,r])=>(e===r.consent_name&&t.push(n),t),[]).length>0:Object.entries(WT).reduce((t,[n,r])=>(e===r.purposeId&&t.push(n),t),[]).length>0||Object.entries(KT).reduce((t,[n,r])=>(e===r.purposeId&&t.push(n),t),[]).length>0}var aE=e=>R(e)?Object.values(WT).filter(t=>e.includes(t.id)).map(e=>({name:e.consent_name,status:`confirmed`})):``,oE=e=>R(e)?Object.values(WT).filter(t=>e.includes(t.id)).map(e=>e.name).join(`,`):``,sE=e=>R(e)?Object.values(WT).filter(t=>e.includes(t.id)).map(e=>e.name).join(`,`):``,cE=(e,t=`active`)=>{let n=Object.entries(e).reduce((e,[n,r])=>(r===t&&e.push(n),e),[]);return Object.values(WT).filter(e=>n.includes(e.consent_name))},lE=e=>Object.entries(e).reduce((e,[t,n])=>(n===`active`&&t.includes(`st_newsletter_`)&&!(t.includes(`st_newsletter_mha`)||t.includes(`st_newsletter_mindef`)||t.includes(`st_newsletter_moe_`))&&e.push(t),e),[]);function uE({id:e,title:t,description:n,purposeId:r,frequency:i,thumbnail:a,showButton:o=!1,initValue:s=!1,handler:c,className:l,anchor:u,testId:d=`newsletter-card-test-id`,type:f=`DEFAULT`,titleIcon:p}
65){let[m,h]=(0,L.useState)(s),{lightbox:g,isAuthenticated:_}=Ly();return(0,L.useEffect)(()=>{s!==m&&h(s)},[s]),(0,I.jsxs)(`div`,{"data-testid":d,className:F(`flex flex-col border-2 border-neutral-10 dynamic-padding gap-24 justify-between`,l),"data-nl-edition-id":e,"data-nl-purpose-id":r,id:u??``,children:[(0,I.jsxs)(`div`,{className:`flex flex-col gap-16`,children:[a&&(0,I.jsx)(Ky,{size:Y.LANDSCAPE,type:J.NONE,src:a,alt:t,wrapperClassName:`newsletter-card-media w-full`,className:`w-full object-contain`}),(0,I.jsxs)(`div`,{className:`flex flex-col gap-16`,children:[t&&(0,I.jsxs)(`div`,{className:`flex flex-row gap-04 align-middle self-stretch`,children:[(0,I.jsx)(In,{category:U.TITLE,size:B.SM,style:W.BOLD,className:`text-primary`,children:t}),p&&(0,I.jsx)(X,{...p})]}),n&&(0,I.jsx)(In,{category:U.LABEL,size:B.SM,style:W.REGULAR,className:`text-primary`,children:n})]})]}),(i||o)&&(0,I.jsxs)(`div`,{className:`inline-flex flex-none flex-row items-center justify-between w-full gap-10`,children:[i&&(0,I.jsx)(In,{category:U.LABEL,size:B.SM,style:W.REGULAR,className:`text-tertiary break-words`,children:i}),o&&(f===`DEFAULT`?fE({isSelected:m,isAuthenticated:_,id:e,handler:c,setIsSelected:h,lightbox:g}):dE({id:e,title:t,handler:c}))]})]})}function dE({id:e,title:t,handler:n}){return(0,I.jsx)(Z,{icon:{iconName:M.NAV_EXTERNAL_SMALL,iconWidth:N.SMALL},text:`Subscribe`,fill:K.OUTLINE,type:q.ICON_RIGHT,handler:()=>(ft({eventCategory:lt.NEWSLETTER_SIGN_UP,eventAction:`click`,eventLabel:t}),n&&n(e),!1),testId:`action-btn-${e}`,className:F(`layer-no-hover py-08 whitespace-nowrap rounded-lg px-16`),textClassName:`font-secondary-label-md-semibold`})}function fE({isSelected:e,isAuthenticated:t,id:n,handler:r,setIsSelected:i,lightbox:a}){return(0,I.jsx)(Z,{icon:{iconName:e?M.STATUS_SUCCESS_FILLED:M.ACTION_ADD,iconWidth:N.SMALL,className:e?`status-success-icon`:``},text:t?e?`Selected`:`Select`:`Log in to select`,fill:K.OUTLINE,type:t?e?q.ICON_LEFT:q.ICON_RIGHT:q.TEXT_ONLY,handler:()=>{if(t)r&&(r(n),i&&i(!e));else return Qt(a),ft({eventCategory:lt.NEWSLETTER_SIGN_UP,eventAction:`log in to select`,eventLabel:oE([n])}),!1},testId:`action-btn-${n}`,className:F(`layer-no-hover py-08 whitespace-nowrap`,t?`rounded-2xl px-12`:`rounded-lg px-16`,e&&`border-selected`),textClassName:`font-secondary-label-md-semibold`})}function pE({newsletter:e,testId:t=`generic-newsletter-card-test-id`,button:n,className:r}){let{anchor:i,thumbnail:a,frequency:o,title:s,description:c,icon:l}=e;return(0,I.jsxs)(`div`,{"data-testid":t,className:F(`flex flex-col border-2 border-neutral-10 dynamic-padding gap-24 justify-between`,r),id:i,children:[(0,I.jsxs)(`div`,{className:`flex flex-col gap-16`,children:[a&&(0,I.jsx)(Ky,{size:Y.LANDSCAPE,type:J.NONE,src:a,alt:s,wrapperClassName:`newsletter-card-media w-full`,className:`w-full object-contain`}),(0,I.jsxs)(`div`,{className:`flex flex-col gap-16`,children:[s&&(0,I.jsxs)(`div`,{className:`flex flex-row gap-04 align-middle self-stretch`,children:[(0,I.jsx)(In,{category:U.TITLE,size:B.SM,style:W.BOLD,className:`text-primary`,children:s}),l&&(0,I.jsx)(X,{...l})]}),c&&(0,I.jsx)(In,{category:U.LABEL,size:B.SM,style:W.REGULAR,className:`text-primary`,children:c})]})]}),(o||n)&&(0,I.jsxs)(`div`,{className:`inline-flex flex-none flex-row items-center justify-between w-full gap-10`,children:[o&&(0,I.jsx)(In,{category:U.LABEL,size:B.SM,style:W.REGULAR,className:`text-tertiary break-words`,children:o}),n]})]})}function mE({active:e,id:t,handler:n,isLoading:r,setIsLoading:i}){let{lightbox:a}=Ly(),{isAuthenticated:o}=Ty(),[s,c]=(0,L.useState)(e);return(0,L.useEffect)(()=>{c(e)},[e]),(0,I.jsx)(I.Fragment,{children:o?s?(0,I.jsx)(`span`,{title:`You are already subscribed to this newsletter`,children:(0,I.jsx)(X,{iconName:M.STATUS_SUCCESS_FILLED,iconWidth:N.XL,className:F(`p-00`,`icon-tertiary`)})}):(0,I.jsx)(Z,{type:q.ICON_ONLY,fill:K.NONE,icon:{iconName:r?M.LOADER:M.ACTION_ADD_FILLED,iconWidth:N.XL},className:F(`p-00`,`icon-interactive`),handler:()=>{i(!0),n([t]),c(!s),i(!1)}}):(0,I.jsx)(Z,{text:`Log in to select`,fill:K.OUTLINE,type:q.TEXT_ONLY,handler:()=>(Qt(a),ft({eventCategory:lt.NEWSLETTER_SIGN_UP,eventAction:`log in to select`,eventLabel:oE([t])}),!1),testId:`action-btn-${t}`,className:F(`layer-no-hover py-08 whitespace-nowrap rounded-lg px-16`),textClassName:`font-secondary-label-md-semibold`})})}var hE=(e,t)=>
65{let[n,r]=(0,L.useState)(),i=(0,L.useCallback)(async()=>{if(t===``)return[];try{let e=await Kg(`baasgetfollowedauthors`,`GET`,{},!1);return e.code===200&&e.authors?(r({authorResponse:e.authors}),e.authors):(r({authorResponse:[]}),[])}catch(e){return r({authorResponse:[]}),j(cS.ERROR,`BAAS:: Follow Author API failed`,{error:e}),[]}},[t,e]);return{authorResponse:n?.authorResponse??[],getFollowedAuthor:i}};function gE({authorName:e,authorId:t,mystData:n,updateMystData:r}){let[i,a]=(0,L.useState)(!1),[o,s]=(0,L.useState)(!1),[c,l]=(0,L.useState)(!1),[u,d]=(0,L.useState)(!1),{isUserLoading:f,userInfo:p}=Rt(e=>e),m=!f&&p?.mysphw,{getFollowedAuthor:h}=hE(t??null,m?String(m):``),g=!f&&p?.usertype,v=n?.authors&&ab(n.authors),{lightbox:y}=Ly();(0,L.useMemo)(()=>{n&&R(v)&&t&&(v.includes(String(t))?a(!0):a(!1),n.authors&&ob(n.authors,`Authors`))},[n?.authors?.length]);let b=g&&e_(g),x=(0,L.useCallback)(async n=>{if(m||s(!0),m&&t&&e){let i=(await h()).length;n?ib(t,m,e,a,r):Xg(i,b)?rb(t,m,e,a,r):(d(!!b),l(!0))}},[m,t,e]),{limitTitle:S,limitContent:C}=c_(`Authors`,u);return(0,I.jsxs)(I.Fragment,{children:[o&&(0,I.jsx)(`div`,{className:`following-modal`,children:(0,I.jsx)(Qy,{title:`Log in to use myST+`,successButton:`Log in / Sign up`,showSuccessButton:!0,successFill:K.PRIMARY,onClose:()=>{s(!1)},onSuccessClick:()=>{_&&Qt(y)},children:`Follow topics and authors, save articles and explore content that matters to you.`})}),c&&(0,I.jsx)($y,{mySTSubscriber:u,modalTitle:S,modalContent:C,onModalClose:()=>{l(!1)}}),(0,I.jsx)(Z,{fill:K.NONE,size:Un.SMALL,type:q.ICON_ONLY,testId:`myst-article-byline-test-id`,icon:{iconName:i?M.STATUS_SUCCESS_FILLED:M.ACTION_ADD_OUTLINED,className:i?`status-success-icon`:``,iconWidth:N.REGULAR},textClassName:`font-header-xxsalt-semibold`,handler:()=>{x(i)},className:`!p-00`})]})}var _E=B.LG,vE=En.KICKER,yE=V.FIFTY,bE=`break-words`,xE=`items-center justify-between select-none`;function SE({testId:e=`author-byline-default`,className:t,avatarProps:n,byline:r,variant:i=ei.LEFT,authors:a,relatedContributorProfile:o,refCode:s,wrapperClassName:c,mystData:l,updateMystData:u}){return!R(a)&&!R(o)&&!r?(0,I.jsx)(I.Fragment,{}):(0,I.jsx)(`div`,{className:F(`items-center content-center`,c),children:CE({testId:e,className:t,avatarProps:n,byline:r,variant:i,authors:a,relatedContributorProfile:o,refCode:s,mystData:l,updateMystData:u})})}function CE({testId:e,className:t,avatarProps:n,byline:r,variant:i,authors:a,relatedContributorProfile:o,refCode:s,mystData:c,updateMystData:l}){let u=Zr(a,o),d=R(u)?u:[],f=Ir(s,d[0]?.urlPath);switch(i){case ei.CUSTOM:return(0,I.jsx)(Pn,{size:_E,type:vE,weight:yE,className:F(`text-primary`,bE,t),testId:`${e}-${i}`,children:r});case ei.LEFT:case ei.RIGHT:return(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(`div`,{className:F(`gap-16 flex`,xE,t),children:wE({variant:i,title:d[0]?.name,authorId:d[0]?.authorCueId,avatarProps:n,image:d[0]?.headShotImage,testId:e,urlPath:f,mystData:c,updateMystData:l})})});case ei.MULTIPLE:return(0,I.jsx)(`span`,{className:t,"data-testid":`${e}-${i}`,children:d.map((t,n)=>(0,I.jsxs)(L.Fragment,{children:[t.urlPath?(0,I.jsx)(Sn,{type:z.CUSTOM,url:Ir(s,t.urlPath)??t.urlPath,className:F(`inline-flex m-00`,xE),testId:`${e}-${i}-link`,children:(0,I.jsx)(Pn,{size:_E,type:vE,weight:yE,className:F(`link-default`,bE),children:t.name})}):(0,I.jsx)(Pn,{size:_E,type:vE,weight:yE,className:F(`inline-flex`,bE),children:t.name}),n===d.length-2?(0,I.jsx)(`span`,{className:`px-04 text-primary`,children:`and`},`separator-`+t.name):n===d.length-1?``:(0,I.jsxs)(`span`,{className:F(`link-default`),children:[`,`,` `]},`separator-`+t.name)]},`${t.name}-${n}`))})}}var wE=({variant:e,title:t,authorId:n,avatarProps:r,image:i,testId:a,urlPath:o,mystData:s,updateMystData:c})=>(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)(Sn,{type:z.CUSTOM,url:o||``,testId:`${a}-${e}`,className:F(`gap-16 flex`,e===ei.RIGHT&&`w-full justify-between`),children:[e===ei.LEFT&&i&&(0,I.jsx)(ti,{...r,src:i,testId:`${a}-avatar`}),(0,I.jsx)(Pn,{size:_E,type:vE,weight:yE,className:F(o&&`link-default`,e===ei.LEFT&&`flex-1`,bE),children:t}),e===ei.RIGHT&&i&&(0,I.jsx)(ti,{...r,src:i,testId:`${a}-avatar`})]}),e===ei.LEFT&&(0,I.jsx)(gE,{authorName:t,authorId:n,mystData:s,updateMystData:c})]}),TE=({authors:e,byline:t,variantRight:n=!1})=>t?ei.CUSTOM:e&&R(e)&&e.length>1?ei.MULTIPLE:e&&R(e)&&e.length===1?n?ei.RIGHT:ei.LEFT:ei.CUSTOM;function EE({title:e,urlPath:t,authors:n,relatedContributorProfile:r,byline:i,isPremium:a=!1,verticalDivider:o=!1,testId:s=`opinion-card-test-id`,className:c,childClassName:l,dividerClassName:u,refCode:d}){let f=TE({authors:Zr(n,r).slice(0,1),variantRight:!0,byline:i}),{isUserLoading:p,userInfo:m}=Rt(e=>e),h=!p&&m?.usertype,g=h&&e_(h);return(0,I.jsx)(`div`,{"data-testid":s,className:F(`card w-[--opinion-w]`,c),children:(0,I.jsxs)(`div`,{className:F(`flex h-full gap-00`,l),children:[o&&(0,I.jsx)(Jn,{className:F(`ml-00 mr-12 h-auto`,u),vertical:!0,"data-testid":`${s}-vertical-divider`}),(0,I.jsxs)(`div`,{className:F(`opinion-card-body w-full h-full flex flex-col`),children:[a&&g&&(0,I.jsx)(GE,{className:`mb-08`}),(0,I.jsxs)(`div`,{className:`w-full h-full flex flex-col justify-between`,children:[t?(0,I.jsx)(Sn,{url:Ir(d,t)??t,testId:`${s}-url`,type:z.CUSTOM,className:`mb-08 desktop:mb-16`,children:DE(e)}):(0,I.jsx)(`div`,{className:`mb-08 desktop:mb-16`,children:DE(e)}),(0,I.jsx)(SE,{variant:f,byline:i,authors:n,relatedContributorProfile:r,className:F(f===ei.CUSTOM&&`link-default link-no-hover`),wrapperClassName:`h-48`,refCode:d})]})]})]})})}var DE=e=>(0,I.jsx)(G,{type:H.HEADLINE,size:B.MD,weight:V.TWENTY,className:`break-words`,children:e});function OE({media:e,asset:t,title:n,urlPath:r,testId:i=`podcast-card-test-id`,className:a,refCode:o,kicker:s}){let c=Tr(R(e)?e:[]);return(0,I.jsx)(`div`,{className:F(`card flex items-start justify-center min-w-[--podcast-w] desktop:w-full desktop:min-w-unset`,a),"data-testid":i,children:(0,I.jsxs)(Sn,{type:z.CUSTOM,url:Ir(o,r)??r,className:`flex flex-col`,children:[(0,I.jsx)(Ky,{src:c[0]?.src,size:Y.LANDSCAPE,type:J.PODCAST,className:`p-00`,maxWidth:Cr[Sr.FEATURED_PODCAST],wrapperClassName:`w-full aspect-landscape`}),(0,I.jsxs)(`div`,{className:`flex flex-col gap-08 py-16 w-full`,children:[(t||s)&&(0,I.jsx)(Uv,{type:p_.ASSET,size:m_.SMALL,children:t&&t!==``?t:s}),(0,I.jsx)(G,{type:H.SUBSECTION,size:B.XS,weight:V.FORTY,children:n})]})]})})}function kE({articleId:e,title:t,urlPath:n,media:r,category:i,showSTLogo:a=!0,linkToArticle:o=!1,cardType:s=vT.PREVIEW_DEFAULT,handleCardClick:c,className:l,testId:u
65=`stories-preview-card-test-id`}){let d=s===vT.PREVIEW_DEFAULT,{deviceType:f}=gv(!0),p=f===`mobile`,m=Tr(R(r)?r:[]),h=(0,L.useCallback)(()=>{n&&!d&&_&&window.location.assign(n)},[n,d]);if(!t&&!n)return null;let g=()=>{c&&e&&c(e)};return(0,I.jsxs)(`div`,{"data-testid":u,className:F(`stories-preview-card`,s,l),onClick:()=>{g()},onKeyDown:e=>{e.key===`Enter`&&g()},tabIndex:0,role:`button`,children:[R(m)?(0,I.jsx)(Ky,{size:Y.PORTRAIT,type:m[0]?.type??J.NONE,src:m[0]?.secondarySrc||`/assets/image-placeholder-portrait-CIIVK3Tx.png`,alt:m[0]?.alt||``,wrapperClassName:`card-media`,loadLazy:!1}):(0,I.jsx)(Ky,{size:Y.PORTRAIT,type:J.NONE,src:ST,alt:``,wrapperClassName:`card-media`}),d&&kE.stLogo(a),(0,I.jsx)(`div`,{className:`card-body`,children:d?(0,I.jsx)(kE.default,{title:t,urlPath:n,category:i,linkToArticle:o}):(0,I.jsx)(kE.readmore,{title:t,showSTLogo:a,isMobile:p,handleButtonClick:h})})]})}kE.heading=e=>(0,I.jsx)(G,{size:B.XS,weight:V.FORTY,type:H.SUBSECTION,className:`card-title`,children:e}),kE.stLogo=e=>e&&(0,I.jsx)(X,{iconName:M.ST_INITIAL_LOGO_DEFAULT,iconWidth:N.REGULAR,className:`st-logo`,"data-testid":`st-logo`}),kE.default=({title:e,urlPath:t,category:n,linkToArticle:r})=>(0,I.jsxs)(I.Fragment,{children:[n?.name&&(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.FIFTY,className:`text-inverse`,children:n.name}),r?(0,I.jsx)(Sn,{type:z.CUSTOM,url:t,children:kE.heading(e)}):kE.heading(e)]}),kE.readmore=({title:e,showSTLogo:t,isMobile:n,handleButtonClick:r})=>(0,I.jsxs)(`div`,{children:[kE.stLogo(t),(0,I.jsx)(G,{size:B.MD,weight:V.FORTY,type:H.HEADLINE,className:`card-title`,children:e||`Read more`}),(0,I.jsx)(G,{size:B.XS,weight:V.FORTY,type:H.SUBSECTION,className:`sub-title text-xxs leading-4xs tablet:font-header-xs-semibold`,children:`at straitstimes.com`}),(0,I.jsx)(Z,{fill:K.NONE,type:q.ICON_ONLY,icon:{iconName:M.ACTION_CI_CHEVRON_RIGHT_FILLED,className:`icon-inverse`,iconWidth:n?N.SMALL:N.REGULAR},handler:r,className:`button-next`,testId:`read-more-button-test-id`})]});function AE({title:e,urlPath:t,media:n,isPremium:r=!1,className:i,testId:a=`stroke-card-test-id`,refCode:o}){let s=Tr(R(n)?n:[]),{isUserLoading:c,userInfo:l}=Rt(e=>e),u=!c&&l?.usertype,d=u&&e_(u);return(0,I.jsx)(Sn,{url:Ir(o,t)??t,type:z.CUSTOM,className:`items-start self-stretch h-auto`,children:(0,I.jsxs)(`div`,{className:F(`flex flex-col items-start card border-2 rounded-t-sm border-neutral-20 p-24 w-[--stroke-baseline-w] h-full justify-between`,i),"data-testid":a,children:[r&&d&&(0,I.jsx)(GE,{className:`self-center mb-08`}),(0,I.jsx)(G,{type:H.SECTION,size:B.LG,weight:V.FORTY,className:`pb-16 px-00 flex items-start text-center self-stretch`,children:e}),(0,I.jsx)(Ky,{src:s[0]?.src??`/assets/image-placeholder-default-BgLcQODD.jpg`,size:Y.LANDSCAPE,type:s[0]?.type??J.IMAGE,maxWidth:Cr[Sr.FEATURED_STROKE],wrapperClassName:`w-full aspect-landscape`})]})})}function jE(e){let{urlPath:t,key:n}=e;return(0,I.jsx)(L.Fragment,{children:t?(0,I.jsx)(Sn,{url:t,type:z.CUSTOM,className:`flex flex-nowrap items-start tablet:left-divider card basis-full`,children:(0,I.jsx)(ME,{...e})}):(0,I.jsx)(ME,{...e})},`headline-lg-ppr-card-${n}`)}function ME({title:e,credit:t,kicker:n,media:r,isPremium:i=!1,updatedDate:a,className:o,testId:s=`headline-lg-ppr-card-test-id`}){let c=Tr(R(r)?r:[]),{isUserLoading:l,userInfo:u}=Rt(e=>e),d=!l&&u?.usertype,f=d&&e_(d);return(0,I.jsxs)(`div`,{className:F(`flex self-stretch dynamic-gap desktop:py-24 w-full`,o),"data-testid":s,children:[(0,I.jsxs)(`div`,{className:F(`flex flex-col flex-grow basis-1/2 items-start gap-08`),children:[i&&f&&(0,I.jsx)(GE,{}),Wv({asset:n,className:`text-secondary`}),(0,I.jsx)(G,{type:H.SUBHEADLINE,size:B.SM,weight:V.FORTY,children:e}),t&&(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.THIRTY,className:`text-secondary`,children:t}),(0,I.jsx)(S,{children:(0,I.jsx)(Pn,{type:En.EYEBROW,size:B.BASELINE,weight:V.THIRTY,className:`text-tertiary`,children:a&&(dC(a)===`invalid`?uC(a):dC(a))})})]}),(0,I.jsxs)(`div`,{className:`tablet:flex-grow shrink-1 tablet:basis-1/3`,children:[(0,I.jsx)(Ky,{src:c[0]?.src,alt:c[0]?.alt,caption:c[0]?.caption,type:c[0]?.type,size:Y.LANDSCAPE,wrapperClassName:`hidden tablet:flex w-full aspect-landscape`,maxWidth:Cr[Sr.FEATURED_HEADLINE_LG_PPR]}),(0,I.jsx)(Ky,{src:c[0]?.secondarySrc,alt:c[0]?.alt,caption:c[0]?.caption,type:c[0]?.type,size:Y.SQUARE,wrapperClassName:`flex tablet:hidden w-100 aspect-square`,maxWidth:Cr[Sr.FEATURED_HEADLINE_LG_PPR]})]})]})}function NE({handleSliderControl:e,className:t,testId:n=`stories-expanded-carousel-control
65s-test-id`}){return(0,I.jsxs)(`div`,{"data-testid":n,className:F(`expanded-carousel-controls`,t),children:[(0,I.jsx)(`button`,{onClick:()=>{e(_v.LEFT,yT.MANUAL)},"aria-label":`expanded-carousel-control-left`,className:`expanded-carousel-control-left`,"data-testid":`expanded-carousel-controls-left-test-id`,children:(0,I.jsx)(yv,{direction:_v.LEFT,size:vv.SMALL})}),(0,I.jsx)(`button`,{onClick:()=>{e(_v.RIGHT,yT.MANUAL)},"aria-label":`expanded-carousel-control-right`,className:`expanded-carousel-control-right`,"data-testid":`expanded-carousel-controls-right-test-id`,children:(0,I.jsx)(yv,{direction:_v.RIGHT,size:vv.SMALL})})]})}function PE({baseArticle:e,defaultSliderIndex:t=0,maxSliderLength:n=20,showReadMoreCard:r=!1,carouselCallback:i,className:a,testId:o=`stories-expanded-carousel-test-id`}){let{carouselDataset:s,widgetData:c,activeMenu:l,showWidgetCard:u,setShowWidgetCard:d,isDisabled:f,sliderIndex:p,sliderLength:m,selectedIndex:h,currentDirection:g,handleSliderControl:_,handleWidgetCallback:v,isMobile:y,isAutoplay:b,handleAutoplay:x}=bT({defaultSliderIndex:t,maxSliderLength:n,showReadMoreCard:r,carouselCallback:i}),S=xT({onSwipeLeft:()=>{_(_v.RIGHT,yT.MANUAL)},onSwipeRight:()=>{_(_v.LEFT,yT.MANUAL)},onPressStart:()=>{x(!1)},onPressEnd:()=>{x(!0)}});return R(s)?(0,I.jsxs)(`div`,{"data-testid":o,className:F(`expanded-carousel`,u?`show-widget`:`hide-widget`,a),children:[!y&&R(c)&&(0,I.jsx)(zE,{menuList:c,defaultActiveMenu:l,setActiveCategory:v,closeExpandedView:()=>{let e=s.at(p.index);i?.({baseArticle:{id:e?.id,urlPath:e?.urlPath,title:e?.title}})}}),(0,I.jsxs)(`div`,{...S,className:F(`expanded-carousel-wrapper`),"data-testid":`expanded-carousel-wrapper-test-id`,children:[(0,I.jsxs)(`div`,{className:`expanded-carousel-wrapper-inner`,"data-testid":`expanded-carousel-wrapper-inner-test-id`,children:[s.map((t,n)=>(0,I.jsx)(wT,{slideIndex:n,isBookmarkable:!1,articleContent:t,isAutoplay:b,pauseAutoplay:x,closeExpandedView:()=>i?.({baseArticle:{id:t.id,urlPath:t.urlPath,title:t.title}}),baseArticle:e,showWidgetCard:()=>{d(!0)},className:F(p.index===n?`active`:``,h.current===n?`selected`:``,p.index>=n+1?`fadeout`:``),active:p.index===n},`stories-expanded-card-${t.id}-${n}`)),r&&(0,I.jsx)(wT,{articleContent:{id:`read-more-card`,urlPath:`/top-stories-read-more`,processedElements:[],publishedDate:``,updatedDate:``,title:`Read More Stories`,media:[{type:J.IMAGE,image:{src:`/assets/STories-expanded-card-placeholder-CC33DxhL.jpg`,secondarySrc:``,alt:``,caption:``,credit:``}}],contentAccess:Vt.FREE},className:F(p.index===m?`active`:``,h.current===m?`selected`:``),readMoreContent:{urlPath:`https://www.straitstimes.com?ref=stories-card`},active:!0,cardType:vT.EXPANDED_READ_MORE,testId:`stories-expanded-card-read-more-test-id`,isAutoplay:b,pauseAutoplay:x,closeExpandedView:()=>i?.({baseArticle:{id:`read-more-card`,urlPath:`/top-stories-read-more`,title:`Read More Stories`}}),showWidgetCard:()=>{d(!0)}}),(0,I.jsx)(FE,{total:m+1,activeIndex:p.index,isAutoplay:b,className:F(`expanded-carousel-pagination`,r&&p.index===m?`last-index`:``,f?`invisible`:``)})]}),(0,I.jsx)(NE,{className:F(g.activeLeftControl?`left`:``,g.activeRightControl?`right`:``,y?`mobile`:``,f?`disable`:``),handleSliderControl:_}),y&&(0,I.jsx)(Jw.Provider,{value:{widgetData:c},children:(0,I.jsx)(VE,{setShowWidgetCard:e=>{d(e)},callback:v})})]})]}):null}function FE({total:e,activeIndex:t=0,isAutoplay:n,className:r,testId:i=`pagination-progress-bar-test-id`}){let a=e>0?Math.min(Math.max(t,0),e-1):0;return(0,I.jsx)(`div`,{"data-testid":i,className:F(`pagination-progress-bar`,n&&`autoplay`,r),children:Array.from({length:e},(e,t)=>(0,I.jsx)(`span`,{className:F(`dot`,a>t&&`passed`,a===t&&`active`),children:(0,I.jsx)(`i`,{className:`filler`})},t))},`${e}-${t}`)}function IE({data:e=[],maxSliderLength:t=20,callback:n,showReadMoreCard:r=!1,className:i,testId:a=`stories-preview-carousel-test-id`}){let[o,s]=(0,L.useState)({direction:_v.RIGHT,scrollLeft:0,activeLeftControl:!1,activeRightControl:!0}),c=(0,L.useRef)(null),{deviceType:l}=gv(!0),u=l===`desktop`;if(!R(e))return null;let d=Pb(e,t);return(0,I.jsxs)(`div`,{"data-testid":a,className:F(`preview-carousel`,i),children:[(0,I.jsx)(`div`,{ref:c,onScroll:()=>{if(!c.current)return;
65let e=c.current.scrollLeft,t=c.current.scrollWidth-c.current.clientWidth-e;(e>1||t>1)&&s({...o,activeLeftControl:e>1,activeRightControl:t>1})},className:F(`preview-carousel-wrapper`),"data-testid":`preview-carousel-wrapper-test-id`,children:(0,I.jsxs)(`div`,{className:`preview-carousel-wrapper-inner`,children:[d.map((e,t)=>(0,I.jsx)(kE,{articleId:e.id,title:e.title??``,urlPath:e.urlPath,media:e.media,category:e.category,handleCardClick:n,showSTLogo:!1},`stories-preview-card-${e.id}-${t}`)),r&&(0,I.jsx)(kE,{cardType:vT.PREVIEW_READ_MORE,articleId:`read-more`,title:`Read more`,urlPath:``})]})}),u&&(0,I.jsx)(LE,{className:F(o.activeLeftControl?`left`:``,o.activeRightControl?`right`:``),handleSliderControl:e=>{c.current&&(e===_v.RIGHT?c.current.scrollBy({top:0,left:200,behavior:`smooth`}):c.current.scrollBy({top:0,left:-200,behavior:`smooth`}))}})]})}var LE=({handleSliderControl:e,className:t,testId:n=`stories-preview-carousel-controls-test-id`})=>(0,I.jsxs)(`div`,{"data-testid":n,className:F(`preview-carousel-controls`,t),children:[(0,I.jsx)(`button`,{onClick:()=>{e(_v.LEFT)},"aria-label":`preview-carousel-control-left`,className:`preview-carousel-control-left`,"data-testid":`preview-carousel-controls-left-test-id`,children:(0,I.jsx)(yv,{direction:_v.LEFT,size:vv.SMALL})}),(0,I.jsx)(`button`,{onClick:()=>{e(_v.RIGHT)},"aria-label":`preview-carousel-control-right`,className:`preview-carousel-control-right`,"data-testid":`preview-carousel-controls-right-test-id`,children:(0,I.jsx)(yv,{direction:_v.RIGHT,size:vv.SMALL})})]}),RE=(0,L.memo)(({item:e,isActive:t,handleMenuClick:n})=>(0,I.jsx)(Z,{fill:K.NONE,size:Un.DEFAULT,type:q.TEXT_ONLY,text:e.label,testId:`stories-menu-item-${e.id}-test-id`,textClassName:`text-inverse`,className:F(`menu-item ${t?`active`:``}`),handler:n(e)}));RE.displayName=`MemoizedButton`;function zE({menuList:e=[],closeExpandedView:t,defaultActiveMenu:n,setActiveCategory:r,brandLabel:i,isMobile:a,className:o,testId:s=`stories-nav-bar-test-id`}){let c=R(e),[l,u]=(0,L.useState)(n??`top-stories`),d=e=>()=>{r?.(e.id),u(e.id)};return(0,I.jsxs)(`div`,{"data-testid":s,className:F(`stories-nav-bar`,o),children:[(0,I.jsxs)(`div`,{className:`brand-label`,children:[(0,I.jsx)(X,{iconName:M.ST_INITIAL_LOGO_DEFAULT,iconWidth:a?N.LARGE:N.XL,className:`st-logo icon-inverse`,testId:`st-logo`}),i&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Jn,{testId:`divider-test-id`,vertical:!0,className:`border-darker`}),(0,I.jsx)(G,{type:H.SECTION,size:B.LG,weight:V.FORTY,children:i})]})]}),c&&(0,I.jsx)(`div`,{"data-testid":`menu-list-container-test-id`,className:`menu-list-container`,children:e.map(e=>(0,I.jsx)(RE,{item:e,isActive:l===e.id,handleMenuClick:d},`menu-${e.id}`))}),(0,I.jsx)(Z,{fill:K.NONE,size:Un.DEFAULT,type:q.ICON_ONLY,testId:`stories-expanded-view-close-btn-test-id`,className:`close-btn cursor-pointer`,icon:{iconName:M.NAV_CROSS,iconWidth:N.REGULAR},handler:()=>t?.()})]})}function BE({item:e,children:t,categoryClassName:n,showCountBeforeHeadline:r=!0,showCountAfterHeadline:i=!1,handler:a,className:o,testId:s=`stories-category-${e.id}-test-id`}){let c=(0,L.useCallback)(e=>{a(e)},[a]);if(!e.id)return null;let l=R(e.thumbnails);return(0,I.jsxs)(`div`,{className:F(`widget-item`,o),"data-testid":s,onClick:()=>{c(e.id)},onKeyDown:t=>{t.key===`Enter`&&c(e.id)},tabIndex:0,role:`button`,children:[l&&e.thumbnails&&(0,I.jsx)(Ky,{size:Y.SQUARE,src:Nb(e.thumbnails),type:J.NONE,alt:e.label,wrapperClassName:`category-thumbnail`,testId:`stories-category-thumbnail-${e.id}`,maxWidth:Cr[Sr.STORIES]}),r&&(0,I.jsxs)(Pn,{size:B.BASELINE,weight:V.FORTY,type:En.CAPTION,className:`count`,testId:`count-before-headline-test-id`,children:[e.count,` `,e.count&&e.count>1?` stories`:` story`]}),t||(0,I.jsx)(Pn,{size:B.LG,weight:V.FIFTY,type:En.EYEBROW,className:F(`category-name mobile-only`,n),children:e.label}),i&&(0,I.jsxs)(Pn,{size:B.BASELINE,weight:V.THIRTY,type:En.CAPTION,className:`count`,testId:`count-after-headline-test-id`,children:[e.count,` `,e.count&&e.count>1?` stories`:` story`]})]})}function VE({callback:e,setShowWidgetCard:t,className:n,testId:r=`stories-widget-test-id`}){let{widgetData:i}=(0,L.useContext)(Jw),a=(0,L.useCallback)(t=>{e(t)},[e]),o=(0,L.useCallback)(()=>{t?.(!1)},[t]);if(!R(i))return null;let s=i.find(e=>e.id===`top-stories`),c=i.filter(e=>e.id!==`top-stories`),l=c.slice(0,2),u=c.slice(2);return(0,I.jsxs)(`div`,{"data-testid":r,className:F(`stories-widget-container`,n),children:[(0,I.jsxs)(`div`,{className:`top-toolbar`,children:[(0,I.jsx)(`div`,{className:`label`,children:(0,I.jsx)(G,{size:B.XXSCURATOR,weight:V.FIFTY,type:H.CONTAINER,testId:`stories-widget-heading-test-id`,className:`headline mobile-only`,children:``})}),(0,I.jsx)(Z,{fill:K.NONE,size:Un.DEFAULT,type:q.ICON_ONLY,testId:`stories-widget-close-button-test-id`,icon:{iconName:M.NAV_CROSS,iconWidth:N.REGULAR},handler:o})]}),(0,I.jsxs)(`div`,{className:`stories-widget-content`,children:[s&&(0,I.jsxs)(BE,{item:s,
65className:`col-1`,handler:a,showCountBeforeHeadline:!1,children:[(0,I.jsx)(G,{size:B.XLCURATOR,weight:V.FIFTY,type:H.SECTION,testId:`stories-widget-heading-test-id`,className:`stories-widget-heading mobile-only`,children:`Top stories`}),(0,I.jsx)(Pn,{size:B.BASELINE,type:En.CAPTION,testId:`stories-widget-sub-test-id`,className:`stories-widget-sub`,children:`Quick picks at your fingertips`})]},`stories-category-${s.id}`),(0,I.jsx)(`div`,{className:`col-2`,children:R(l)&&l.map(e=>(0,I.jsx)(BE,{item:e,className:`stories-widget-heading mobile-only`,handler:a,showCountBeforeHeadline:!1},`stories-category-${e.id}`))}),(0,I.jsx)(VE.OtherCategories,{callback:e,categories:u})]})]})}VE.OtherCategories=function({categories:e,callback:t,className:n,testId:r=`widget-other-categories-test-id`}){let i=R(e);return(0,I.jsxs)(`div`,{className:F(`widget-other-categories`,n),"data-testid":r,children:[(0,I.jsx)(`div`,{className:`label`,children:(0,I.jsx)(Pn,{size:B.LG,weight:V.FIFTY,type:En.EYEBROW,testId:`widget-other-categories-heading-test-id`,className:`headline`,children:Rw})}),i?(0,I.jsx)(`div`,{className:`col-4`,children:e.map(e=>(0,I.jsx)(BE,{item:e,showCountBeforeHeadline:!1,handler:t},`stories-category-${e.id}`))}):(0,I.jsx)(Pn,{size:B.BASELINE,type:En.CAPTION,testId:`no-other-categories-test-id`,className:`no-other-categories`,children:zw})]})};function HE({showStoriesFeature:e=!0,mockData:t,showReadMoreCard:n=!1,className:r,testId:i=`stories-entry-test-id`}){let a=(0,L.useRef)({impression:!1}),[o,s]=(0,L.useState)(0),[c,l]=(0,L.useState)([]),u=(0,L.useRef)(null),[d,f]=(0,L.useState)(!1),{id:p,urlPath:m,title:h}=(0,L.useContext)(Yr),g=`https://www.straitstimes.com`,{trackEvent:v}=(0,hT.useTrackEvent)(),{isReady:y,variant:b}=_T({flagName:Uw,variableKey:Ww,defaultVariant:Gw.DEFAULT});return(0,L.useEffect)(()=>{let e=u.current;if(e){let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(a.current.impression||(ft({eventCategory:lt.STORIES_FEATURE,eventAction:`carousel::impression`,eventLabel:`${g}${m}`||``}),a.current.impression=!0))},{threshold:.8});return t.observe(e),()=>{t.unobserve(e)}}},[u,m,g]),(0,L.useEffect)(()=>{_&&(d?(document.body.classList.toggle(`no-scrollbar`,d),document.body.classList.toggle(`hide-ads-wrapper`,d)):(document.body.classList.remove(`no-scrollbar`),document.body.classList.remove(`hide-ads-wrapper`)))},[d]),(0,L.useEffect)(()=>{if(t){let e=t.filter(e=>{if(e.id===p)return!1;let t=(e.aiSummary&&R(e.aiSummary))??!1,n=e.processedElements.some(e=>e.type===`paragraph`&&!!e.value);return t||n});l(e);return}y&&(async()=>{try{let e=(await Kg(b===Gw.RELATED_ENGAGED_PAGEVIEWS?`getstories/${Lw}?variant=${encodeURIComponent(Hw.CHARTBEAT_BY_ENGAGED_PAGE_VIEWS)}`:b===Gw.RELATED_CONCURRENTS?`getstories/${Lw}?variant=${encodeURIComponent(Hw.CHARTBEAT_BY_CONCURRENTS)}`:`getstories/${Lw}`,`GET`,{},!1)).filter(e=>{if(e.id===p)return!1;let t=(e.aiSummary&&R(e.aiSummary))??!1,n=e.processedElements.some(e=>e.type===`paragraph`&&!!e.value);return t||n});l(e)}catch(e){j(le.ERROR,`BAAS:: STories API request failed`,{err:e})}})()},[t,p,m,y,b]),e?R(c)&&(0,I.jsxs)(`div`,{ref:u,"data-testid":i,className:F(`stories-feature-container pb-16`,r),"data-section-name":`top-stories`,children:[(0,I.jsx)(Jy,{linerText:`Explore top stories from all sections in one place`,title:`Top stories`,type:qn.STRONG,testId:`stories-content-block-header-divider-test-id`,className:`px-00`}),(0,I.jsx)(IE,{data:c,callback:e=>{if(e){let t=c.findIndex(t=>t.id===e);t!==-1&&s(t),v(Kw,{stArticle:e,variation:b})}f(!0)},showReadMoreCard:n}),d&&(0,I.jsx)(`div`,{className:`hidden`,"data-testid":`stories-expanded-carousel-test-id`,children:`Expanded carousel component`}),(0,I.jsx)(Yw.Provider,{value:{carrouselData:c},children:d&&(0,I.jsx)(PE,{baseArticle:{id:p,urlPath:m,title:h},defaultSliderIndex:o,carouselCallback:e=>{ft({eventCategory:lt.STORIES_FEATURE,eventAction:`card::close`,eventLabel:`${g}${e?.baseArticle?.urlPath||m}`||``});let t=!d;f(t),_&&!t&&window.location.pathname!==m&&(window.history.replaceState({},``,m),typeof h==`string`&&(document.title=h))},showReadMoreCard:!0})})]}):null}
65function UE(){let[e,t]=(0,L.useState)(!1),{deviceType:n}=gv(!1),r=n===`desktop`;return(0,I.jsxs)(`div`,{className:`deeper-dive-legal-disclaimer relative`,children:[(0,I.jsxs)(`div`,{className:`flex flex-row justify-between content-center gap-08 layer-two layer-no-hover px-16 py-08`,children:[(0,I.jsx)(In,{category:U.LABEL,size:B.SM,style:W.REGULAR,className:`text-secondary`,children:r?`DeeperDive is a beta AI feature powered by Taboola. Refer to full articles for the facts and do not input any personal information.`:`DeeperDive is a beta AI feature. Refer to full articles for the facts.`}),(0,I.jsx)(Z,{fill:K.NONE,text:`Learn More`,textClassName:`link-default font-secondary-label-sm-semibold`,className:`flex-shrink-0 p-00`,handler:()=>{t(!0),pt({eventCategory:lt.DEEPER_DIVE,eventAction:`click`,eventLabel:`learn more`})}})]}),e&&(0,I.jsxs)(`div`,{className:`fixed w-full h-full top-00 left-00 z-1200`,children:[(0,I.jsx)(`div`,{className:`absolute overlay-light w-full h-full top-00 left-00`}),(0,I.jsxs)(Qy,{title:`Understanding DeeperDive (Beta)`,onClose:()=>{t(!1)},className:`absolute bg-white w-9/10 left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-30 tablet:max-w-540 desktop:max-w-672`,modalHeightClass:`flex gap-16`,testId:`deeper-dive-legal-disclaimer-modal-test-id`,children:[(0,I.jsx)(In,{category:U.BODY,size:B.SM,style:W.REGULAR,children:`DeeperDive is an experimental Artificial Intelligence (AI) feature powered by our technology partner, Taboola, designed to help you explore our news content.`}),(0,I.jsx)(In,{category:U.BODY,size:B.SM,style:W.REGULAR,children:`As frontier technologies such as AI and large language models are continually developing, you acknowledge that:`}),(0,I.jsxs)(`ol`,{className:`list-decimal pl-22 flex flex-col gap-16`,children:[(0,I.jsx)(`li`,{children:(0,I.jsx)(In,{category:U.BODY,size:B.SM,style:W.REGULAR,children:`DeeperDive may generate outputs that are inaccurate, incomplete, misleading, or provide unexpected content that does not represent the views of SPH Media.`})}),(0,I.jsx)(`li`,{children:(0,I.jsx)(In,{category:U.BODY,size:B.SM,style:W.REGULAR,children:`DeeperDive's outputs are not intended to be your sole source of factual information, and you should refer to the original, full-text article written by our journalists for the full picture.`})}),(0,I.jsx)(`li`,{children:(0,I.jsx)(In,{category:U.BODY,size:B.SM,style:W.REGULAR,children:`SPH Media provides news and information, not advisory services. Please do not rely on DeeperDive or its summaries for financial, legal, medical, or any other professional advice.`})}),(0,I.jsx)(`li`,{children:(0,I.jsx)(In,{category:U.BODY,size:B.SM,style:W.REGULAR,children:`Please do not enter any personal, confidential, or sensitive information (such as your name, contact details, financial information, or passwords) into the DeeperDive tool.`})})]})]})]})]})}function WE({urlPath:e,counter:t,className:n,testId:r=`deeper-dive-test-id`}){let i=typeof t==`number`?`-${t}`:``,a=(0,L.useRef)(null);return(0,L.useEffect)(()=>{let t=a.current;if(!t)return;let n=()=>{_&&pt({eventCategory:lt.DEEPER_DIVE,eventAction:`visible`,eventLabel:e,abVariant:window._data.abVariant||``,abVariant_user:window._data.abVariant_user||``})},r=new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.length>0&&n()})});return r.observe(t,{childList:!0}),t.childNodes.length>0&&n(),()=>{r.disconnect()}},[e]),!e||e.trim()===``?null:(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(`div`,{ref:a,"data-testid":r,id:`deeper-dive-container${i}`,className:F(`deeper-dive-container`,n),style:{display:`none`},"aria-hidden":`true`,"data-url":e}),(0,I.jsx)(UE,{})]})}function GE({content:e=`Subscriber exclusive`,className:t}){let[n,r]=(0,L.useState)(!1);return(0,L.useEffect)(()=>{let{userAgent:e}=navigator,t=/Windows NT/i.test(e),n=/Chrome/i.test(e),i=!/Edg/i.test(e),a=!/OPR/i.test(e),o=!/CriOS/i.test(e),s=!/Android/i.test(e);r(t&&n&&i&&a&&o&&s)},[]),(0,I.jsx)(`div`,{className:F(`flex flex-row items-center leading-3xs gap-04`,t),"data-testid":`subscriber-badge-test-id`,children:(0,I.jsx)(In,{category:U.LABEL,size:B.SM,style:W.REGULAR,className:F(`text-secondary leading-none`,`before:inline-block before:content-[''] before:mr-04 before:h-18 before:bg-[url('/src/app/assets/svg/symbol/icon-symbol-subscriber-exclusive-coloured.svg')] before:bg-no-repeat before:bg-center before:bg-contain before:align-sub`,n?`before:w-14`:`before:w-16`),children:e})})}var KE={play:{icon:M.MULTIMEDIA_PLAY,buttonFill:K.OUTLINE,text:`Listen`,className:``},playing:{icon:M.MULTIMEDIA_PAUSE,buttonFill:K.PRIMARY,text:`Listening`,className:``},pause:{icon:M.MULTIMEDIA_PLAY,buttonFill:K.OUTLINE,text:`Resume`,className:`layer-two active`},ended:{icon:M.MULTIMEDIA_REPLAY,buttonFill:K.OUTLINE,text:`Listen again`,className:``},loading:{icon:M.LOADER,buttonFill:K.OUTLINE,text:`Loading`,className:``},lock:{icon:M.ACTION_LOCK_OUTLINED,buttonFill:K.PREMIUM,text:`Unlock audio`,className:``}},qE=[10,25,50,75,90],JE={audio_title:``,audio_auto_played:`no`,cd_language:`en`,url:``,audio_current_time:``,audio_duration:``,audio_percent:``,audio_player:`mini`},YE=e=>{if(!isFinite(e)||isNaN(e))return`0:00 min`;let t=Math.floor(e/60),n=Math.floor(e%60);return`${t.toString().padStart(2,`0`)}:${n.toString().padStart(2,`0`)}`},XE=new Set;function ZE(e){XE.add(e)}function QE(e){XE.delete(e)}function $E(e,t=!1){_&&(XE.forEach(n=>
65{n!==e&&!n.paused&&(n.pause(),t&&(n.currentTime=0))}),document.querySelectorAll(`audio, video`).forEach(n=>{n!==e&&!n.paused&&(n.pause(),t&&(n.currentTime=0))}))}function eD(e){if(dt(),_){let t={...JE,...e};window.dataLayer.push(t)}}var tD=function(e){return e.AUDIO_START=`audio_start`,e.AUDIO_PAUSE=`audio_pause`,e.AUDIO_COMPLETE=`audio_complete`,e.AUDIO_RESUME=`audio_resume`,e.AUDIO_REPLAY=`audio_replay`,e.AUDIO_PROGRESS=`audio_progress`,e.AUDIO_ERROR=`audio_error`,e.AUDIO_UNLOCK=`audio_unlock`,e}({});function nD({audioSrc:e,articleId:t,isLockAudio:n=!1,urlPath:r,className:i,testId:a=`tts-test-id`}){let o=(0,L.useRef)(null),[s,c]=(0,L.useState)(KE.play),[l,u]=(0,L.useState)(0),[d,f]=(0,L.useState)(0),[m,h]=(0,L.useState)(!1),[g,v]=(0,L.useState)(!1),[y,b]=(0,L.useState)(!1),[x,S]=(0,L.useState)(!1),[C,w]=(0,L.useState)(!1),T=(0,L.useRef)(Object.fromEntries(qE.map(e=>[e,!1]))),[E,D]=(0,L.useState)(e),{title:O}=(0,L.useContext)(Yr),k=(0,L.useCallback)(async()=>(await Kg(`text-to-speech?articleId=${t}`,`GET`))?.audioUrl||``,[t]);(0,L.useEffect)(()=>{(!e||e==``)&&k().then(e=>{D(e)})},[t,e,k]),(0,L.useEffect)(()=>()=>{let e=o.current;e&&(e.removeAttribute(`data-bound`),e.pause(),QE(e),e.src=``)},[]),(0,L.useEffect)(()=>{let e=o.current;e&&(m&&e.paused?($E(e),e.play().catch(()=>{v(!0)}),te(e)):!m&&!e.paused&&(e.pause(),ne(e)))},[m]);let A=e=>{let t=Math.floor(e.duration);if(!isFinite(t)||isNaN(t)){v(!0);return}u(t),c(KE.play),h(!0)},ee=e=>{let t=e.duration?e.currentTime/e.duration*100:0;f(e.currentTime);for(let n of qE)t>=n&&!T.current[n]&&(T.current[n]=!0,ce(tD.AUDIO_PROGRESS,e,t))},te=e=>{c(KE.playing);let t=e.duration?e.currentTime/e.duration*100:0;x&&d===0&&ce(tD.AUDIO_START,e,t),!x&&y&&d>0&&!C?ce(tD.AUDIO_RESUME,e,t):!x&&C&&(ce(tD.AUDIO_REPLAY,e,t),w(!1))},ne=e=>{c(KE.pause),h(!1);let t=e.duration?e.currentTime/e.duration*100:0;ce(tD.AUDIO_PAUSE,e,t)},re=e=>{c(KE.ended),w(!0);let t=e.duration?e.currentTime/e.duration*100:100;ce(tD.AUDIO_COMPLETE,e,t)},ie=e=>{v(!0),c(KE.play);let t=e.duration?e.currentTime/e.duration*100:0;ce(tD.AUDIO_ERROR,e,t)},ae=e=>{e.dataset.bound||(e.dataset.bound=`true`,e.addEventListener(`loadedmetadata`,()=>{A(e)}),e.addEventListener(`timeupdate`,()=>{ee(e)}),e.addEventListener(`pause`,()=>{c(KE.pause),h(!1)}),e.addEventListener(`ended`,()=>{re(e)}),e.addEventListener(`error`,()=>{ie(e)}))},oe=()=>{if(!g)if(y)h(e=>!e),S(!1);else{o.current&&(QE(o.current),o.current.pause(),o.current.src=``);let e=new Audio(E);o.current=e,ZE(e),$E(e),b(!0),c(KE.loading),ae(e),e.load(),S(!0)}},se=(0,L.useMemo)(()=>d>0&&d<l?` ⢠${YE(l-d)}`:``,[d,l]);function ce(e,t,n,r={}){let i=Math.floor(t.duration);eD({event:e,audio_title:O||``,url:E||``,audio_current_time:String(Math.floor(t.currentTime)),audio_duration:!isFinite(i)||isNaN(i)?``:String(i),audio_percent:String(Math.floor(n)),...r})}return!E||E===``?(0,I.jsx)(I.Fragment,{}):(0,I.jsx)(`div`,{className:F(`tts-button print:hidden`,i),"data-testid":a,children:n?(0,I.jsx)(Z,{icon:{iconName:KE.lock.icon},type:q.ICON_LEFT,fill:KE.lock.buttonFill,size:Un.SMALL,text:KE.lock.text,testId:`tts-unlock-audio-button-test-id`,textClassName:`font-secondary-label-md-semibold`,handler:e=>{if(_){let t=(e?.currentTarget).closest(`article`)?.querySelector(`[id^="sph_cdp_"].paywall`);t?.scrollIntoView({behavior:`smooth`,block:`center`}),t?.setAttribute(`tabindex`,`-1`),r&&ft({eventCategory:lt.TTS,eventAction:`unlock audio`,eventLabel:`${p()}${r}`})}}}):(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(Z,{icon:{iconName:s.icon},handler:oe,type:q.ICON_LEFT,fill:s.buttonFill,size:Un.SMALL,text:`${s.text}${s.text===KE.ended.text?``:se}`,testId:`tts-button-test-id`,disabled:g,className:s.className,textClassName:`font-secondary-label-md-semibold`}),g&&(0,I.jsxs)(`div`,{"data-testid":`tts-error-message`,className:`error-message`,children:[(0,I.jsx)(X,{iconName:M.STATUS_ALERT_FILLED,className:`status-error-icon`}),(0,I.jsx)(`span`,{children:`Audio failed to load properly. Try again later.`})]})]})})}export{Cw as $,w as $a,U as $i,my as $n,Qs as $r,ex as $t,JT as A,Rt as Aa,mr as Ai,ab as An,Xg as Ar,Xx as At,DT as B,F as Ba,Un as Bi,Ty as Bn,xg as Br,Gb as Bt,eE as C,Gt as Ca,br as Ci,fb as Cn,m_ as Cr,lS as Ct,WT as D,zt as Da,gr as Di,eb as Dn,c_ as Dr,
65iS as Dt,QT as E,Ht as Ea,_r as Ei,ob as En,e_ as Er,aS as Et,FT as F,mt as Fa,Jn as Fi,Ky as Fn,Sg as Fr,Dx as Ft,dT as G,O as Ga,In as Gi,sy as Gn,Tg as Gr,Qb as Gt,mT as H,N as Ha,Hn as Hi,Iy as Hn,Rg as Hr,Wb as Ht,MT as I,ct as Ia,Wn as Ii,Wy as In,Ug as Ir,Ox as It,Nw as J,te as Ja,G as Ji,gy as Jn,Cg as Jr,Zb as Jt,lT as K,ae as Ka,Fn as Ki,qv as Kn,wg as Kr,ox as Kt,jT as L,lt as La,Gn as Li,Uy as Ln,Wg as Lr,yx as Lt,GT as M,wt as Ma,er as Mi,Qy as Mn,Jg as Mr,qx as Mt,LT as N,_t as Na,$n as Ni,Xy as Nn,qg as Nr,Gx as Nt,XT as O,Vt as Oa,yr as Oi,rb as On,i_ as Or,rS as Ot,IT as P,ft as Pa,qn as Pi,Jy as Pn,Kg as Pr,Mx as Pt,Tw as Q,oe as Qa,En as Qi,Qv as Qn,$s as Qr,tx as Qt,AT as R,st as Ra,Kn as Ri,Vy as Rn,Vg as Rr,sx as Rt,iE as S,Xt as Sa,dr as Si,mb as Sn,h_ as Sr,fC as St,ZT as T,Kt as Ta,hr as Ti,lb as Tn,l_ as Tr,oS as Tt,pT as U,le as Ua,Bn as Ui,yy as Un,Ig as Ur,Kb as Ut,TT as V,M as Va,q as Vi,Ly as Vn,Lg as Vr,Ub as Vt,fT as W,j as Wa,zn as Wi,vy as Wn,Eg as Wr,Jb as Wt,Ow as X,E as Xa,Dn as Xi,hy as Xn,vg as Xr,qb as Xt,Dw as Y,D as Ya,Nn as Yi,ry as Yn,bg as Yr,Xb as Yt,ww as Z,A as Za,H as Zi,ny as Zn,gg as Zr,$b as Zt,tE as _,an as _a,Tr as _i,Ob as _n,Tv as _r,mC as _t,AE as a,z as aa,ei as ai,zb as an,Kv as ar,$C as at,rE as b,Qt as ba,Y as bi,Mb as bn,mv as br,_C as bt,TE as c,vn as ca,Xr as ci,Sb as cn,Hv as cr,UC as ct,mE as d,R as da,Kr as di,gb as dn,Pv as dr,FC as dt,B as ea,Z as ei,ix as en,T as eo,Xv as er,Sw as et,pE as f,_n as fa,Hr as fi,Tb as fn,Nv as fr,kC as ft,nE as g,fn as ga,kr as gi,yb as gn,Ov as gr,vC as gt,aE as h,ln as ha,zr as hi,bb as hn,kv as hr,xC as ht,jE as i,Sn as ia,$r as ii,Bb as in,ay as ir,ow as it,YT as j,Nt as ja,tr as ji,$y as jn,Yg as jr,Jx as jt,$T as k,Ft as ka,xr as ki,ib as kn,Qg as kr,Qx as kt,SE as l,gn as la,Yr as li,Cb as ln,Lv as lr,WC as lt,cE as m,dn as ma,Ir as mi,Db as mn,Av as mr,CC as mt,GE as n,Tn as na,X as ni,ax as nn,iy as nr,vw as nt,OE as o,un as oa,Qr as oi,Vb as on,Wv as or,iw as ot,uE as p,hn as pa,Rr as pi,Eb as pn,jv as pr,EC as pt,rT as q,ne as qa,Pn as qi,Zv as qn,Fg as qr,Yb as qt,WE as r,V as ra,ti as ri,rx as rn,oy as rr,lw as rt,EE as s,mn as sa,Zr as si,Lb as sn,Uv as sr,aw as st,nD as t,W as ta,Js as ti,nx as tn,cy as tr,xw as tt,hE as u,pn as ua,Jr as ui,xb as un,zv as ur,LC as ut,oE as v,en as va,Cr as vi,kb as vn,wv as vr,hC as vt,qT as w,Ut as wa,vr as wi,ub as wn,p_ as wr,cS as wt,lE as x,$t as xa,J as xi,jb as xn,dv as xr,uC as xt,sE as y,rn as ya,Sr as yi,Ab as yn,gv as yr,gC as yt,kT as z,ot as za,K as zi,zy as zn,Hg as zr,Hb as zt};
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.