/*! For license information please see tabbed-feature-bundle.js.LICENSE.txt */ (()=>{var t={1858:t=>{var e;self,e=()=>(()=>{"use strict";var t={5957:(t,e,r)=>{function i(t,e){var r=e&&e.cache?e.cache:c,i=e&&e.serializer?e.serializer:l;return(e&&e.strategy?e.strategy:a)(t,{cache:r,serializer:i})}function n(t,e,r,i){var n,s=null==(n=i)||"number"==typeof n||"boolean"==typeof n?i:r(i),o=e.get(s);return void 0===o&&(o=t.call(this,i),e.set(s,o)),o}function s(t,e,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),s=e.get(n);return void 0===s&&(s=t.apply(this,i),e.set(n,s)),s}function o(t,e,r,i,n){return r.bind(e,t,i,n)}function a(t,e){return o(t,this,1===t.length?n:s,e.cache.create(),e.serializer)}r.d(e,{A:()=>u,H:()=>i});var l=function(){return JSON.stringify(arguments)};function h(){this.cache=Object.create(null)}h.prototype.get=function(t){return this.cache[t]},h.prototype.set=function(t,e){this.cache[t]=e};var c={create:function(){return new h}},u={variadic:function(t,e){return o(t,this,s,e.cache.create(),e.serializer)},monadic:function(t,e){return o(t,this,n,e.cache.create(),e.serializer)}}},2271:(t,e,r)=>{r.d(e,{T:()=>n});var i=r(1526);function n(t,e){for(var r="",i=0;i>1),h=s(e);for("H"!=h&&"k"!=h||(l=0);l-- >0;)r+="a";for(;a-- >0;)r=h+r}else r+="J"===n?"H":n}return r}function s(t){var e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(i._[r||""]||i._[n||""]||i._["".concat(n,"-001")]||i._["001"])[0]}},9493:(t,e,r)=>{var i;r.d(e,{o:()=>i}),function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(i||(i={}))},9263:(t,e,r)=>{r.d(e,{HI:()=>o.HI,Ii:()=>o.Ii,Jo:()=>o.Jo,O4:()=>o.O4,Qc:()=>l,VG:()=>o.VG,Wh:()=>o.Wh,Wi:()=>o.Wi,pe:()=>o.pe,rp:()=>o.rp,uf:()=>o.uf,yx:()=>o.yx});var i=r(7582),n=r(9493),s=r(5891),o=r(5047);function a(t){t.forEach((function(t){if(delete t.location,(0,o.Wi)(t)||(0,o.Jo)(t))for(var e in t.options)delete t.options[e].location,a(t.options[e].value);else(0,o.uf)(t)&&(0,o.Wh)(t.style)||((0,o.rp)(t)||(0,o.pe)(t))&&(0,o.Ii)(t.style)?delete t.style.location:(0,o.HI)(t)&&a(t.children)}))}function l(t,e){void 0===e&&(e={}),e=(0,i.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new s._(t,e).parse();if(r.err){var o=SyntaxError(n.o[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return(null==e?void 0:e.captureLocation)||a(r.val),r.val}},5891:(t,e,r)=>{r.d(e,{_:()=>M});var i,n=r(7582),s=r(9493),o=r(5047),a=r(8580),l=r(5178),h=r(4477),c=r(2271),u=new RegExp("^".concat(a.p.source,"*")),d=new RegExp("".concat(a.p.source,"*$"));function p(t,e){return{start:t,end:e}}var f=!!String.prototype.startsWith&&"_a".startsWith("a",1),m=!!String.fromCodePoint,g=!!Object.fromEntries,v=!!String.prototype.codePointAt,_=!!String.prototype.trimStart,b=!!String.prototype.trimEnd,y=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},x=!0;try{x="a"===(null===(i=k("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===i?void 0:i[0])}catch(t){x=!1}var E,w=f?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},T=m?String.fromCodePoint:function(){for(var t=[],e=0;es;){if((r=t[s++])>1114111)throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},A=g?Object.fromEntries:function(t){for(var e={},r=0,i=t;r=r)){var i,n=t.charCodeAt(e);return n<55296||n>56319||e+1===r||(i=t.charCodeAt(e+1))<56320||i>57343?n:i-56320+(n-55296<<10)+65536}},S=_?function(t){return t.trimStart()}:function(t){return t.replace(u,"")},P=b?function(t){return t.trimEnd()}:function(t){return t.replace(d,"")};function k(t,e){return new RegExp(t,e)}if(x){var H=k("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");E=function(t,e){var r;return H.lastIndex=e,null!==(r=H.exec(t)[1])&&void 0!==r?r:""}}else E=function(t,e){for(var r=[];;){var i=C(t,e);if(void 0===i||B(i)||L(i))break;r.push(i),e+=i>=65536?2:1}return T.apply(void 0,r)};var M=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var i=[];!this.isEOF();){var n=this.char();if(123===n){if((a=this.parseArgument(t,r)).err)return a;i.push(a.val)}else{if(125===n&&t>0)break;if(35!==n||"plural"!==e&&"selectordinal"!==e){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(s.o.UNMATCHED_CLOSING_TAG,p(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&O(this.peek()||0)){if((a=this.parseTag(t,e)).err)return a;i.push(a.val)}else{var a;if((a=this.parseLiteral(t,e)).err)return a;i.push(a.val)}}else{var l=this.clonePosition();this.bump(),i.push({type:o.wD.pound,location:p(l,this.clonePosition())})}}}return{val:i,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.wD.literal,value:"<".concat(i,"/>"),location:p(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,e,!0);if(n.err)return n;var a=n.val,l=this.clonePosition();if(this.bumpIf("")?{val:{type:o.wD.tag,value:i,children:a,location:p(r,this.clonePosition())},err:null}:this.error(s.o.INVALID_TAG,p(l,this.clonePosition())))}return this.error(s.o.UNCLOSED_TAG,p(r,this.clonePosition()))}return this.error(s.o.INVALID_TAG,p(r,this.clonePosition()))},t.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(e);if(n)i+=n;else{var s=this.tryParseUnquoted(t,e);if(s)i+=s;else{var a=this.tryParseLeftAngleBracket();if(!a)break;i+=a}}}var l=p(r,this.clonePosition());return{val:{type:o.wD.literal,value:i,location:l},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(O(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return T.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),T(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(s.o.EXPECT_ARGUMENT_CLOSING_BRACE,p(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(s.o.EMPTY_ARGUMENT,p(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(s.o.MALFORMED_ARGUMENT,p(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(s.o.EXPECT_ARGUMENT_CLOSING_BRACE,p(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.wD.argument,value:i,location:p(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(s.o.EXPECT_ARGUMENT_CLOSING_BRACE,p(r,this.clonePosition())):this.parseArgumentOptions(t,e,i,r);default:return this.error(s.o.MALFORMED_ARGUMENT,p(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=E(this.message,e),i=e+r.length;return this.bumpTo(i),{value:r,location:p(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,i){var a,h=this.clonePosition(),u=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(u){case"":return this.error(s.o.EXPECT_ARGUMENT_TYPE,p(h,d));case"number":case"date":case"time":this.bumpSpace();var f=null;if(this.bumpIf(",")){this.bumpSpace();var m=this.clonePosition();if((T=this.parseSimpleArgStyleIfPossible()).err)return T;if(0===(b=P(T.val)).length)return this.error(s.o.EXPECT_ARGUMENT_STYLE,p(this.clonePosition(),this.clonePosition()));f={style:b,styleLocation:p(m,this.clonePosition())}}if((C=this.tryParseArgumentClose(i)).err)return C;var g=p(i,this.clonePosition());if(f&&w(null==f?void 0:f.style,"::",0)){var v=S(f.style.slice(2));if("number"===u)return(T=this.parseNumberSkeletonFromString(v,f.styleLocation)).err?T:{val:{type:o.wD.number,value:r,location:g,style:T.val},err:null};if(0===v.length)return this.error(s.o.EXPECT_DATE_TIME_SKELETON,g);var _=v;this.locale&&(_=(0,c.T)(v,this.locale));var b={type:o.aV.dateTime,pattern:_,location:f.styleLocation,parsedOptions:this.shouldParseSkeletons?(0,l.T)(_):{}};return{val:{type:"date"===u?o.wD.date:o.wD.time,value:r,location:g,style:b},err:null}}return{val:{type:"number"===u?o.wD.number:"date"===u?o.wD.date:o.wD.time,value:r,location:g,style:null!==(a=null==f?void 0:f.style)&&void 0!==a?a:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(s.o.EXPECT_SELECT_ARGUMENT_OPTIONS,p(y,(0,n.pi)({},y)));this.bumpSpace();var x=this.parseIdentifierIfPossible(),E=0;if("select"!==u&&"offset"===x.value){if(!this.bumpIf(":"))return this.error(s.o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p(this.clonePosition(),this.clonePosition()));var T;if(this.bumpSpace(),(T=this.tryParseDecimalInteger(s.o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,s.o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return T;this.bumpSpace(),x=this.parseIdentifierIfPossible(),E=T.val}var C,k=this.tryParsePluralOrSelectOptions(t,u,e,x);if(k.err)return k;if((C=this.tryParseArgumentClose(i)).err)return C;var H=p(i,this.clonePosition());return"select"===u?{val:{type:o.wD.select,value:r,options:A(k.val),location:H},err:null}:{val:{type:o.wD.plural,value:r,options:A(k.val),offset:E,pluralType:"plural"===u?"cardinal":"ordinal",location:H},err:null};default:return this.error(s.o.INVALID_ARGUMENT_TYPE,p(h,d))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(s.o.EXPECT_ARGUMENT_CLOSING_BRACE,p(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(s.o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,p(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=(0,h.O)(t)}catch(t){return this.error(s.o.INVALID_NUMBER_SKELETON,e)}return{val:{type:o.aV.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?(0,h.I)(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,e,r,i){for(var n,o=!1,a=[],l=new Set,h=i.value,c=i.location;;){if(0===h.length){var u=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(s.o.EXPECT_PLURAL_ARGUMENT_SELECTOR,s.o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=p(u,this.clonePosition()),h=this.message.slice(u.offset,this.offset())}if(l.has(h))return this.error("select"===e?s.o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:s.o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===h&&(o=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?s.o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:s.o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,p(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,e,r);if(m.err)return m;var g=this.tryParseArgumentClose(f);if(g.err)return g;a.push([h,{value:m.val,location:p(f,this.clonePosition())}]),l.add(h),this.bumpSpace(),h=(n=this.parseIdentifierIfPossible()).value,c=n.location}return 0===a.length?this.error("select"===e?s.o.EXPECT_SELECT_ARGUMENT_SELECTOR:s.o.EXPECT_PLURAL_ARGUMENT_SELECTOR,p(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(s.o.MISSING_OTHER_CLAUSE,p(this.clonePosition(),this.clonePosition())):{val:a,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var o=this.char();if(!(o>=48&&o<=57))break;n=!0,s=10*s+(o-48),this.bump()}var a=p(i,this.clonePosition());return n?y(s*=r)?{val:s,err:null}:this.error(e,a):this.error(t,a)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=C(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(w(this.message,t,this.offset())){for(var e=0;e=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&B(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function O(t){return t>=97&&t<=122||t>=65&&t<=90}function B(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function L(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}},8580:(t,e,r)=>{r.d(e,{p:()=>i});var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},1526:(t,e,r)=>{r.d(e,{_:()=>i});var i={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]}},5047:(t,e,r)=>{var i,n;function s(t){return t.type===i.literal}function o(t){return t.type===i.argument}function a(t){return t.type===i.number}function l(t){return t.type===i.date}function h(t){return t.type===i.time}function c(t){return t.type===i.select}function u(t){return t.type===i.plural}function d(t){return t.type===i.pound}function p(t){return t.type===i.tag}function f(t){return!(!t||"object"!=typeof t||t.type!==n.number)}function m(t){return!(!t||"object"!=typeof t||t.type!==n.dateTime)}r.d(e,{HI:()=>p,Ii:()=>m,Jo:()=>u,O4:()=>s,VG:()=>o,Wh:()=>f,Wi:()=>c,aV:()=>n,pe:()=>h,rp:()=>l,uf:()=>a,wD:()=>i,yx:()=>d}),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(i||(i={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(n||(n={}))},5178:(t,e,r)=>{r.d(e,{T:()=>n});var i=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function n(t){var e={};return t.replace(i,(function(t){var r=t.length;switch(t[0]){case"G":e.era=4===r?"long":5===r?"narrow":"short";break;case"y":e.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][r-1];break;case"s":e.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}},4477:(t,e,r)=>{r.d(e,{I:()=>f,O:()=>s});var i=r(7582),n=r(4455);function s(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],r=0,i=t.split(n.r).filter((function(t){return t.length>0}));r1)throw new RangeError("integer-width stems only accept a single optional option");s.options[0].replace(l,(function(t,r,i,n,s,o){if(r)e.minimumIntegerDigits=i.length;else{if(n&&s)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(h.test(s.stem))e.minimumIntegerDigits=s.stem.length;else if(o.test(s.stem)){if(s.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(o,(function(t,r,i,n,s,o){return"*"===i?e.minimumFractionDigits=r.length:n&&"#"===n[0]?e.maximumFractionDigits=n.length:s&&o?(e.minimumFractionDigits=s.length,e.maximumFractionDigits=s.length+o.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""}));var f=s.options[0];"w"===f?e=(0,i.pi)((0,i.pi)({},e),{trailingZeroDisplay:"stripIfInteger"}):f&&(e=(0,i.pi)((0,i.pi)({},e),c(f)))}else if(a.test(s.stem))e=(0,i.pi)((0,i.pi)({},e),c(s.stem));else{var m=u(s.stem);m&&(e=(0,i.pi)((0,i.pi)({},e),m));var g=d(s.stem);g&&(e=(0,i.pi)((0,i.pi)({},e),g))}}return e}},4455:(t,e,r)=>{r.d(e,{r:()=>i});var i=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i},1697:(t,e,r)=>{r.d(e,{ZP:()=>i});const i=r(6284).C},6284:(t,e,r)=>{r.d(e,{C:()=>l});var i=r(7582),n=r(9263),s=r(5957),o=r(1092);function a(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}var l=function(){function t(e,r,n,l){var h,c,u,d=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=d.formatToParts(t);if(1===e.length)return e[0].value;var r=e.reduce((function(t,e){return t.length&&e.type===o.du.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(t){return(0,o.FK)(d.ast,d.locales,d.formatters,d.formats,t,void 0,d.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=d.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(d.locales)[0]}},this.getAst=function(){return d.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),"string"==typeof e){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var p=l||{},f=(p.formatters,(0,i._T)(p,["formatters"]));this.ast=t.__parse(e,(0,i.pi)((0,i.pi)({},f),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(c=t.formats,(u=n)?Object.keys(c).reduce((function(t,e){var r,n;return t[e]=(r=c[e],(n=u[e])?(0,i.pi)((0,i.pi)((0,i.pi)({},r||{}),n||{}),Object.keys(r).reduce((function(t,e){return t[e]=(0,i.pi)((0,i.pi)({},r[e]),n[e]||{}),t}),{})):r),t}),(0,i.pi)({},c)):c),this.formatters=l&&l.formatters||(void 0===(h=this.formatterCache)&&(h={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,s.H)((function(){for(var t,e=[],r=0;r0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=n.Qc,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}()},1050:(t,e,r)=>{r.d(e,{C8:()=>o,HR:()=>l,YR:()=>a,jK:()=>i,u_:()=>s});var i,n=r(7582);!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(i||(i={}));var s=function(t){function e(e,r,i){var n=t.call(this,e)||this;return n.code=r,n.originalMessage=i,n}return(0,n.ZT)(e,t),e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),o=function(t){function e(e,r,n,s){return t.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),i.INVALID_VALUE,s)||this}return(0,n.ZT)(e,t),e}(s),a=function(t){function e(e,r,n){return t.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),i.INVALID_VALUE,n)||this}return(0,n.ZT)(e,t),e}(s),l=function(t){function e(e,r){return t.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),i.MISSING_VALUE,r)||this}return(0,n.ZT)(e,t),e}(s)},1092:(t,e,r)=>{r.d(e,{FK:()=>a,du:()=>i});var i,n=r(9263),s=r(1050);function o(t){return"function"==typeof t}function a(t,e,r,l,h,c,u){if(1===t.length&&(0,n.O4)(t[0]))return[{type:i.literal,value:t[0].value}];for(var d=[],p=0,f=t;p{var i=r(7582),n=r(5862),s=r(9662);const o="rgba(84, 64, 241, 0.3)",a=n.iv` .app-tabs { display: flex; flex-direction: column; gap: 16px; justify-content: center; width: var(--ds-app-tabs-width, ${(0,n.$m)("200px")}); } .app-tabs__tab-item { gap: var( --ds-app-tabs-tab-item-vertical-gap, ${(0,n.$m)("12px")} ); display: flex; flex-direction: row; width: 100%; height: 100%; align-items: center; background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit; } .tab-items { display: flex; flex-direction: column; width: 100%; gap: var( --ds-app-tabs-tab-items-vertical-gap, ${(0,n.$m)("12px")} ); } .app-tabs__tab-logo-container { height: 48px; width: 48px; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; } .app-tabs__nav { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; } .app-tabs__nav-btn { background-color: var( --ds-app-tabs-nav-button-background-color, ${(0,n.$m)("#fff")} ); color: var( --ds-app-tabs-nav-button-text-color, ${(0,n.$m)("#000")} ); border-radius: 50%; width: 40px; height: 40px; box-sizing: border-box; position: relative; display: block; transform: scale(var(--ggs, 1)); border: var( --ds-app-tabs-nav-button-border-color, ${(0,n.$m)("#5440f1")} ) 2px solid; border-radius: 50%; cursor: pointer; min-width: 40px; background-image: var( --ds-app-tabs-nav-button-background-image, ${(0,n.$m)("none")} ); background-origin: var( --ds-app-tabs-nav-button-background-origin, ${(0,n.$m)("unset")} ); background-clip: var( --ds-app-tabs-nav-button-background-clip, ${(0,n.$m)("unset")} ); } .app-tabs__tab-item:focus-visible, .app-tabs__nav-btn:focus-visible { outline: 0.1875rem dotted currentColor; outline-offset: 4px; } .app-tabs__nav-prev::after { content: ''; display: block; box-sizing: border-box; position: absolute; width: 10px; height: 10px; border-bottom: 2px solid; border-left: 2px solid; transform: rotate(135deg); left: 13.5px; top: 15px; } :host([dir='rtl']) .horizontal .app-tabs__nav-prev::after { transform: rotate(-135deg); left: 12px; top: 13px; } .app-tabs__nav-next::after { content: ''; display: block; box-sizing: border-box; position: absolute; width: 10px; height: 10px; border-bottom: 2px solid; border-right: 2px solid; transform: rotate(45deg); right: 13px; top: 12px; } :host([dir='rtl']) .horizontal .app-tabs__nav-next::after { transform: rotate(135deg); right: 12px; top: 13px; } ::slotted(img) { background-color: var( --ds-app-tabs-tab-logo-background-color, ${(0,n.$m)("#fff")} ); object-fit: contain; width: 40px; height: 40px; box-shadow: 0px 2px 4px 0px #0000000f; border-radius: 6px; padding: var( --ds-app-tabs-tab-logo-padding, ${(0,n.$m)("0")} ); box-sizing: border-box; } ::slotted(p) { font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 0em; text-align: left; color: var( --ds-app-tabs-tab-title-color, ${(0,n.$m)("#757575")} ); overflow: auto; word-wrap: break-word; } :host([dir='rtl']) ::slotted(p) { text-align: right; } :host([dir='rtl']) .horizontal ::slotted(p) { text-align: center; } .active::slotted(img) { box-shadow: 0 0 10px var( --ds-app-tabs-tab-logo-glow-color, ${(0,n.$m)(o)} ), 0 0 20px var( --ds-app-tabs-tab-logo-glow-color, ${(0,n.$m)(o)} ), 0 0 30px var( --ds-app-tabs-tab-logo-glow-color, ${(0,n.$m)(o)} ), 0 0 40px var( --ds-app-tabs-tab-logo-glow-color, ${(0,n.$m)(o)} ); height: 48px; width: 48px; } .active::slotted(p) { color: var( --ds-app-tabs-active-tab-title-color, ${(0,n.$m)("#1d0f60")} ); } .horizontal { flex-direction: row; width: 100%; .app-tabs__tab-item { flex-direction: column; gap: var( --ds-app-tabs-tab-item-horizontal-gap, ${(0,n.$m)("0")} ); } .tab-items { flex-direction: row; gap: var( --ds-app-tabs-tab-items-horizontal-gap, ${(0,n.$m)("0")} ); } .app-tabs__nav-prev::after { transform: rotate(45deg); left: 15px; top: 13px; } .app-tabs__nav-next::after { transform: rotate(-45deg); right: 15px; top: 13px; } ::slotted(img) { width: 48px; height: 48px; } ::slotted(p) { font-size: 16px; line-height: 24px; margin-top: 8px; text-align: center; } .active::slotted(img) { height: 56px; width: 56px; } .app-tabs__tab-logo-container { height: 56px; width: 56px; } .app-tabs__nav { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; } } @media (forced-colors: active) { .app-tabs__nav-btn { forced-color-adjust: none; color: #fff; background-color: #000; border-color: #fff; background-image: none; } @media (prefers-color-scheme: light) { .app-tabs__nav-btn { forced-color-adjust: none; color: #000; background-color: #fff; border-color: #000; } } } `;var l=r(4638),h=r(5270);let c=class extends l.R{constructor(){super(...arguments),this.total=0,this.activeIndex=0,this.isHorizontal=!1,this.maxVisibleTabs=5,this.isSwipable=!1,this.visibleItems=[],this.numVisibleItems=this.maxVisibleTabs,this.dataBiEcn=[],this.ariaLabels=[],this.handleResize=()=>{const t=this.numVisibleItems;this.updateNumVisibleItems(),(this.isHorizontal||this.numVisibleItems!==t)&&this.setVisibleItems()}}connectedCallback(){super.connectedCallback(),this.dataset.biEcn&&(this.dataBiEcn=JSON.parse(this.dataset.biEcn||"[]")),this.dataset.ariaLabel&&(this.ariaLabels=JSON.parse(this.dataset.ariaLabel||"[]")),window.addEventListener("resize",this.handleResize),this.handleResize()}firstUpdated(){this.isSwipable&&this.setupTouchListeners()}willUpdate(t){if(t.has("maxVisibleTabs")){const e=t.get("maxVisibleTabs");this.maxVisibleTabs!==e&&(this.updateNumVisibleItems(),this.setVisibleItems())}t.has("isHorizontal")&&this.handleResize()}async setupTouchListeners(){let t=0,e=0,r=!1;this.touchStartListener=e=>{t=e.touches[0].clientX},this.touchMoveListener=t=>{e=t.touches[0].clientX,r=!0},this.touchEndListener=()=>{r&&(t-e>100?this.handleNext():t-e<-100&&this.handlePrev(),r=!1)},this.tabItems?.addEventListener("touchstart",this.touchStartListener),this.tabItems?.addEventListener("touchmove",this.touchMoveListener),this.tabItems?.addEventListener("touchend",this.touchEndListener)}updateNumVisibleItems(){this.isHorizontal?window.matchMedia("(min-width: 861px)").matches?this.numVisibleItems=Math.min(this.total,this.maxVisibleTabs):window.matchMedia("(min-width: 701px) and (max-width: 860px)").matches?this.numVisibleItems=Math.min(this.total,5):window.matchMedia("(min-width: 451px) and (max-width: 700px)").matches?this.numVisibleItems=Math.min(this.total,3):window.matchMedia("(max-width: 450px)").matches&&(this.numVisibleItems=1):this.numVisibleItems=Math.min(this.total,this.maxVisibleTabs),this.maxVisibleTabs&&(this.numVisibleItems=Math.min(this.numVisibleItems,this.maxVisibleTabs)),this.isHorizontal&&this.numVisibleItems%2==0&&(this.numVisibleItems=Math.max(1,this.numVisibleItems-1))}setVisibleItems(){let t=this.isHorizontal?this.activeIndex-Math.floor(this.numVisibleItems/2):this.activeIndex;t<0&&(t+=this.total),this.visibleItems=[];for(let e=0;e0?this.activeIndex--:this.activeIndex=this.total-1,this.isHorizontal?this.setVisibleItems():this.visibleItems.includes(this.activeIndex)||(this.visibleItems.pop(),this.visibleItems.unshift(this.activeIndex)),this.dispatchNavClickEvent(this.activeIndex)}handleNext(){this.activeIndex
${this.visibleItems?.map((t=>{const e=t===this.activeIndex?"active":"";return n.dy` `}))}
`}};c.styles=[a],c.dict={previous:"Previous",next:"Next",ofText:"{0} of {1}"},(0,i.gn)([(0,s.Cb)({attribute:"total",type:Number})],c.prototype,"total",void 0),(0,i.gn)([(0,s.Cb)({attribute:"active-index",reflect:!0,type:Number})],c.prototype,"activeIndex",void 0),(0,i.gn)([(0,s.Cb)({attribute:"horizontal",type:Boolean})],c.prototype,"isHorizontal",void 0),(0,i.gn)([(0,s.Cb)({attribute:"max-visible-tabs",type:Number})],c.prototype,"maxVisibleTabs",void 0),(0,i.gn)([(0,s.Cb)({attribute:"swipable",type:Boolean})],c.prototype,"isSwipable",void 0),(0,i.gn)([(0,s.IO)("#prev")],c.prototype,"prevBtn",void 0),(0,i.gn)([(0,s.IO)("#next")],c.prototype,"nextBtn",void 0),(0,i.gn)([(0,s.IO)("#status-msg")],c.prototype,"statusMsg",void 0),(0,i.gn)([(0,s.IO)(".tab-items")],c.prototype,"tabItems",void 0),(0,i.gn)([(0,s.SB)()],c.prototype,"visibleItems",void 0),(0,i.gn)([(0,s.SB)()],c.prototype,"numVisibleItems",void 0),c=(0,i.gn)([(0,h.M)("cascade-app-tabs")],c)},2530:(t,e,r)=>{var i=r(7582),n=r(5862),s=r(9662);const o=n.iv` :host() { display: block; } .layout { --_column-gap: var( --ds-nupcards-layout-column-gap, var( --root-density-horizontal-default, ${(0,n.$m)("1rem")} ) ); --_row-gap: var( --ds-nupcards-layout-row-gap, var(--root-density-vertical-default, ${(0,n.$m)("1rem")}) ); --_column-count: var( --ds-nupcards-layout-column-count, var(--layout-column-count, ${(0,n.$m)("1")}) ); --_column-gap-offset: calc(var(--_column-gap) * (var(--_column-count) - 1)); --_available-width: calc(100% - var(--_column-gap-offset)); --layout-column-width: calc(var(--_available-width) / var(--_column-count)); column-gap: var(--_column-gap); row-gap: var(--_row-gap); display: flex; flex-wrap: wrap; } .layout > .layout__col { flex: 0 0 var(--layout-column-width); } @media (min-width: 860px) { .layout { --_column-count: var( --ds-nupcards-layout-column-count, var(--layout-column-count, 3) ); } } @media (prefers-reduced-motion: reduce) { transition: none; } `;var a=r(5270);let l=class extends n.oi{constructor(){super(...arguments),this.total=3}render(){return n.dy`
${function*(t,e){if(void 0!==t){let r=0;for(const i of t)yield e(i,r++)}}(function*(t,e,r=1){const i=void 0===e?0:t;e??=t;for(let t=i;r>0?tn.dy`
`))}
`}};l.styles=[o],(0,i.gn)([(0,s.Cb)({attribute:"total"})],l.prototype,"total",void 0),l=(0,i.gn)([(0,a.M)("cascade-n-up-cards")],l)},7267:(t,e,r)=>{var i=r(7582),n=r(5862),s=r(9662);const o="12px",a="transparent",l=n.iv` .specs-and-stats { --ds-nupcards-layout-column-gap: 24px; --ds-nupcards-layout-row-gap: 24px; --ds-hero-layout-col-first-child-flex: 0 1 60%; --ds-hero-layout-col-first-child-justify-content: unset; --ds-hero-layout-col-last-child-flex: 0 1 40%; --ds-hero-layout-col-last-child-justify-content: center; --ds-hero-cta-layout-height: 100%; --ds-hero-cta-layout-align-items: center; --ds-hero-cta-layout-col-display: flex; --ds-hero-cta-layout-justify-content: center; --ds-hero-cta-background-color: var( --ds-specs-and-stats-card-background-color, ${(0,n.$m)(a)} ); } .specs-and-stats__block-heading { margin: var( --ds-specs-and-stats-block-heading-margin, ${(0,n.$m)("0 auto 40px auto")} ); } .specs-and-stats__card { box-sizing: border-box; border: 1px solid var( --ds-specs-and-stats-card-border-color, ${(0,n.$m)("#5440F1")} ); border-radius: var( --ds-specs-and-stats-card-border-radius, ${(0,n.$m)(o)} ); display: flex; align-items: center; padding: var( --ds-specs-and-stats-card-padding, ${(0,n.$m)("24px")} ); height: 100%; background-color: var( --ds-specs-and-stats-card-background-color, ${(0,n.$m)(a)} ); background: var( --ds-specs-and-stats-card-background, ${(0,n.$m)("unset")} ); position: relative; } .specs-and-stats__card::before, .specs-and-stats__card::after { content: ''; height: 1px; left: var( --ds-specs-and-stats-card-border-radius, ${(0,n.$m)(o)} ); position: absolute; right: var( --ds-specs-and-stats-card-border-radius, ${(0,n.$m)(o)} ); background: var( --ds-specs-and-stats-card-border-gradient, ${(0,n.$m)("unset")} ); } .specs-and-stats__card::before { top: -1px; transform: rotate(180deg); } .specs-and-stats__card::after { bottom: -1px; } .card-three { --ds-hero-cta-layout-flex-direction: column-reverse; --ds-hero-cta-layout-align-items: start; } ::slotted([slot^='card']) { width: 100%; } @media (max-width: 1083.99px) { .specs-and-stats { --ds-nupcards-layout-column-count: 1; --ds-hero-cta-layout-align-items: start; --ds-hero-cta-layout-flex-direction: column-reverse; } } @media (max-width: 1083.99px) { .specs-and-stats { --ds-hero-layout-col-first-child-flex: 0 1 50%; --ds-hero-layout-col-last-child-flex: 0 1 50%; } } `;r(2530);var h=r(5270);let c=class extends n.oi{constructor(){super(...arguments),this.cardCount=4}render(){const t=3===this.cardCount?"card-three":"";return n.dy`
${Array.from({length:this.cardCount},((e,r)=>n.dy` `))}
`}};c.styles=[l],(0,i.gn)([(0,s.Cb)({attribute:"card-count",type:Number})],c.prototype,"cardCount",void 0),c=(0,i.gn)([(0,h.M)("cascade-specs-and-stats")],c)},2576:(t,e,r)=>{r.d(e,{Y$:()=>s});class i{constructor(){this.lang=n("lang",document?.documentElement?.getAttribute("lang")),this.dir=n("dir",document?.documentElement?.getAttribute("dir")),new MutationObserver((()=>{document.dispatchEvent(new CustomEvent("localeChanged",{detail:{lang:this.lang=n("lang",document.documentElement.lang),dir:this.dir=n("dir",document.documentElement.dir)}}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}}function n(t,e){return"lang"===t?e&&e.includes("-")&&e.length>=5?e.toLowerCase():"en-us":"dir"===t?e&&e.match(/^(ltr|rtl)$/i)?e.toLowerCase():"ltr":(console.warn("Invalid validation type!"),"")}const s=function(){let t;return function(){return t||(t=new i),t}}()},4638:(t,e,r)=>{r.d(e,{R:()=>l});var i=r(7582),n=r(8922),s=r(9662),o=r(1697),a=r(2576);const l=(t=>{class e extends t{constructor(){super(...arguments),this.i18nManager=(0,a.Y$)(),this.locChangeHandler=t=>{this.lang=t.detail.lang,this.dir=t.detail.dir,this.requestUpdate()},this.errorHandler=(t,e)=>{if(console.warn(`I18nMixin ${t}: ${e}`),"undefined"!=typeof process&&process?.env?.STORYBOOK&&"ERROR"===t)throw new Error(e)}}connectedCallback(){super.connectedCallback(),this.lang=this.i18nManager?.lang||"en-us",this.dir=this.i18nManager?.dir||"ltr",document.addEventListener("localeChanged",this.locChangeHandler),Object.keys(this.translations||{})?.forEach((t=>{const{dict:e}=this.constructor;e&&Object.keys(e).length||this.errorHandler("ERROR","Found translations but dictionary is not defined"),e&&!(t in e)&&this.errorHandler("ERROR",`Translation passed in for wrong or obsolete key: '${t}'`)}))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("localeChanged",this.locChangeHandler)}msg(t,e){if(!t)return"";const r=this.constructor.dict?.[t]||"";if(!this.lang)return r;const{dict:i}=this.constructor;i&&!(t in i)&&this.errorHandler("ERROR",`Invalid key: '${t}'`);let n=this.translations?.[t];n||(this.translations&&this.errorHandler("WARNING",`Missing translation for key: '${t}'`),n=r);let s=n;try{s=this.format(n,e)}catch(t){this.errorHandler("ERROR",`Error interpolating '${n}'\n${t}`)}return s??n??""}format(t,e){return new o.ZP(t,this.lang).format(e)}}return e.dict={},(0,i.gn)([(0,s.Cb)({type:Object,reflect:!1})],e.prototype,"translations",void 0),e})(n.oi)},5270:(t,e,r)=>{r.d(e,{M:()=>i});const i=t=>(e,r)=>{customElements.get(t)?console.warn(`${t} is already defined.`):void 0!==r?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)}},8701:(t,e,r)=>{r.d(e,{$m:()=>l,ec:()=>c,i1:()=>u,iv:()=>h});const i=globalThis,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class a{constructor(t,e,r){if(this._$cssResult$=!0,r!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&o.set(e,t))}return t}toString(){return this.cssText}}const l=t=>new a("string"==typeof t?t:t+"",void 0,s),h=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[i+1]),t[0]);return new a(r,t,s)},c=(t,e)=>{if(n)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),n=i.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=r.cssText,t.appendChild(e)}},u=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return l(e)})(t):t},5674:(t,e,r)=>{r.d(e,{C:()=>i});const i=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,r),r)},760:(t,e,r)=>{r.d(e,{C:()=>o});var i=r(8732);const n={attribute:!0,type:String,converter:i.Ts,reflect:!1,hasChanged:i.Qu},s=(t=n,e,r)=>{const{kind:i,metadata:s}=r;let o=globalThis.litPropertyMetadata.get(s);if(void 0===o&&globalThis.litPropertyMetadata.set(s,o=new Map),o.set(r.name,t),"accessor"===i){const{name:i}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(i,n,t)},init(e){return void 0!==e&&this.P(i,void 0,t),e}}}if("setter"===i){const{name:i}=r;return function(r){const n=this[i];e.call(this,r),this.requestUpdate(i,n,t)}}throw Error("Unsupported decorator location: "+i)};function o(t){return(e,r)=>"object"==typeof r?s(t,e,r):((t,e,r)=>{const i=e.hasOwnProperty(r);return e.constructor.createProperty(r,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}},3711:(t,e,r)=>{r.d(e,{K:()=>s});var i=r(5674);let n;function s(t){return(e,r)=>(0,i.C)(e,r,{get(){return(this.renderRoot??(n??=document.createDocumentFragment())).querySelectorAll(t)}})}},2669:(t,e,r)=>{r.d(e,{I:()=>n});var i=r(5674);function n(t,e){return(r,n,s)=>{const o=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof n?r:s??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return(0,i.C)(r,n,{get(){let r=t.call(this);return void 0===r&&(r=o(this),(null!==r||this.hasUpdated)&&e.call(this,r)),r}})}return(0,i.C)(r,n,{get(){return o(this)}})}}},9158:(t,e,r)=>{r.d(e,{S:()=>n});var i=r(760);function n(t){return(0,i.C)({...t,state:!0,attribute:!1})}},8732:(t,e,r)=>{r.d(e,{$m:()=>i.$m,Qu:()=>g,Ts:()=>m,fl:()=>_,iv:()=>i.iv});var i=r(8701);const{is:n,defineProperty:s,getOwnPropertyDescriptor:o,getOwnPropertyNames:a,getOwnPropertySymbols:l,getPrototypeOf:h}=Object,c=globalThis,u=c.trustedTypes,d=u?u.emptyScript:"",p=c.reactiveElementPolyfillSupport,f=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?d:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},g=(t,e)=>!n(t,e),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:g};Symbol.metadata??=Symbol("metadata"),c.litPropertyMetadata??=new WeakMap;class _ extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),i=this.getPropertyDescriptor(t,r,e);void 0!==i&&s(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){const{get:i,set:n}=o(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const s=i?.call(this);n.call(this,e),this.requestUpdate(t,s,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(f("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(f("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(f("properties"))){const t=this.properties,e=[...a(t),...l(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift((0,i.i1)(t))}else void 0!==t&&e.push((0,i.i1)(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,i.ec)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){const r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(void 0!==i&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:m).toAttribute(e,r.type);this._$Em=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){const r=this.constructor,i=r._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??g)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[f("elementProperties")]=new Map,_[f("finalized")]=new Map,p?.({ReactiveElement:_}),(c.reactiveElementVersions??=[]).push("2.0.4")},8922:(t,e,r)=>{r.d(e,{$m:()=>i.$m,dy:()=>n.dy,iv:()=>i.iv,oi:()=>s});var i=r(8732),n=r(3692);class s extends i.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,n.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return n.Jb}}s._$litElement$=!0,s.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:s});const o=globalThis.litElementPolyfillSupport;o?.({LitElement:s}),(globalThis.litElementVersions??=[]).push("4.0.4")},3692:(t,e,r)=>{r.d(e,{Jb:()=>A,YP:()=>T,dy:()=>w,sY:()=>V});const i=globalThis,n=i.trustedTypes,s=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,o="$lit$",a=`lit$${(Math.random()+"").slice(9)}$`,l="?"+a,h=`<${l}>`,c=document,u=()=>c.createComment(""),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,f="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,g=/-->/g,v=/>/g,_=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,y=/"/g,x=/^(?:script|style|textarea|title)$/i,E=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),w=E(1),T=E(2),A=Symbol.for("lit-noChange"),C=Symbol.for("lit-nothing"),S=new WeakMap,P=c.createTreeWalker(c,129);function k(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(e):e}const H=(t,e)=>{const r=t.length-1,i=[];let n,s=2===e?"":"",l=m;for(let e=0;e"===u[0]?(l=n??m,d=-1):void 0===u[1]?d=-2:(d=l.lastIndex-u[2].length,c=u[1],l=void 0===u[3]?_:'"'===u[3]?y:b):l===y||l===b?l=_:l===g||l===v?l=m:(l=_,n=void 0);const f=l===_&&t[e+1].startsWith("/>")?" ":"";s+=l===m?r+h:d>=0?(i.push(c),r.slice(0,d)+o+r.slice(d)+a+f):r+a+(-2===d?e:f)}return[k(t,s+(t[r]||"")+(2===e?"":"")),i]};class M{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let s=0,h=0;const c=t.length-1,d=this.parts,[p,f]=H(t,e);if(this.el=M.createElement(p,r),P.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=P.nextNode())&&d.length0){i.textContent=n?n.emptyScript:"";for(let r=0;rp(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==C&&d(this._$AH)?this._$AA.nextSibling.data=t:this.T(c.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=M.createElement(k(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new B(i,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=S.get(t.strings);return void 0===e&&S.set(t.strings,e=new M(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of t)i===e.length?e.push(r=new L(this.S(u()),this.S(u()),this,this.options)):r=e[i],r._$AI(n),i++;i2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=C}_$AI(t,e=this,r,i){const n=this.strings;let s=!1;if(void 0===n)t=O(this,t,e,0),s=!d(t)||t!==this._$AH&&t!==A,s&&(this._$AH=t);else{const i=t;let o,a;for(t=n[0],o=0;o{const i=r?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=r?.renderBefore??null;i._$litPart$=n=new L(e.insertBefore(u(),t),t,void 0,r??{})}return n._$AI(t),n}},9662:(t,e,r)=>{r.d(e,{Cb:()=>i.C,IO:()=>s.I,Kt:()=>o.K,SB:()=>n.S});var i=r(760),n=r(9158),s=r(2669),o=r(3711)},5862:(t,e,r)=>{r.d(e,{$m:()=>i.$m,dy:()=>i.dy,iv:()=>i.iv,oi:()=>i.oi}),r(8732),r(3692);var i=r(8922)},7582:(t,e,r)=>{r.d(e,{ZT:()=>n,_T:()=>o,ev:()=>l,gn:()=>a,pi:()=>s});var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},i(t,e)};function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var s=function(){return s=Object.assign||function(t){for(var e,r=1,i=arguments.length;r=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o}function l(t,e,r){if(r||2===arguments.length)for(var i,n=0,s=e.length;n{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{r.r(i),r.d(i,{TabbedFeature:()=>Ua});var t=r(7582),e=r(9662),n=r(5862);const s="1rem",o="#000",a=n.iv` :host { --ds-specs-and-stats-card-background: var( --ds-tabbed-feature-card-background, ${(0,n.$m)("#fff")} ); --ds-specs-and-stats-block-heading-margin: 0; line-height: initial; position: relative; display: flex; justify-content: center; padding: var( --ds-tabbed-feature-container-padding, ${(0,n.$m)("1rem")} ); --asset-xsmall-height: 208px; --asset-small-height: 316px; --asset-medium-height: 493.33px; --asset-large-height: 428px; --asset-xlarge-height: 554.66px; } .tabbed-feature { width: 1400px; } .overlapping-header { transition: transform 0.7s cubic-bezier(0.1, 0.7, 0.1, 0.5); transform: translateY(var(--translateY, 0)); } .tabbed-container-wrapper { transition: transform 0.7s cubic-bezier(0.1, 0.7, 0.1, 0.5); } .tabbed-container { display: flex; flex-direction: row; position: relative; transition: transform 0.7s cubic-bezier(0.1, 0.7, 0.1, 0.5); /* Note: The scroll trigger relies on the 'margin-top' value being exactly 40px. If you need to change this value, remember to also update the scroll trigger. */ margin-top: 40px; justify-content: space-between; } .asset-container { position: relative; display: flex; justify-content: center; } .play-button { display: none; background-color: var( --ds-tabbed-feature-play-button-background-color, ${(0,n.$m)("#fff")} ); border-radius: 50%; width: 40px; height: 40px; box-sizing: border-box; border: var( --ds-tabbed-feature-play-button-border, ${(0,n.$m)("#5440f1")} ) 2px solid; border-radius: 50%; cursor: pointer; order: 2; background-image: var( --ds-tabbed-feature-play-button-background-image, ${(0,n.$m)("unset")} ); background-origin: var( --ds-tabbed-feature-play-button-background-origin, ${(0,n.$m)("unset")} ); background-clip: var( --ds-tabbed-feature-play-button-background-clip, ${(0,n.$m)("unset")} ); padding: 0; } .play-icon, .pause-icon { width: 20px; top: 2px; position: relative; fill: var( --ds-tabbed-feature-play-button-color, ${(0,n.$m)(o)} ); } .play-button:focus-visible { outline: 0.1875rem dotted var( --ds-tabbed-feature-play-button-color, ${(0,n.$m)(o)} ); outline-offset: 4px; } .nav-container { display: flex; flex-direction: column; order: 1; justify-content: center; align-items: center; } .play-button-wrapper { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: 40px; } .tab-assets-container { position: relative; order: 2; flex: 3; height: var(--asset-xlarge-height); } .tab-assets { display: none; } .nav-container, .spacing-container { flex: 1; } .spacing-container { order: 3; } .card-container { will-change: transform; position: absolute; right: 0; top: 50%; width: 364px; height: auto; --ds-block-heading-text-align: left; } :host([dir='rtl']) .card-container { --ds-block-heading-text-align: right; } .card-container::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: -1; } :host([no-animation]) .card-container { transform: translateX(60%) translateY(-30%); } :host([no-animation][dir='rtl']) .card-container { transform: translateX(-180%) translateY(-30%); } :host([no-overlap]) .card-container { /* this is marked as important to make sure no-overlap transform takes precedence over no-animation */ transform: translateX(110%) translateY(-60%) !important; width: 30%; bottom: 0; } :host([no-overlap][dir='rtl']) .card-container { /* this is marked as important to make sure no-overlap transform takes precedence over no-animation */ transform: translateX(-345%) translateY(-60%) !important; width: 30%; bottom: 0; } .play-button.show, .tab-assets.reveal, .tab-assets.active { display: block; } .tabbed-feature__block-heading { margin: 0 auto 40px auto; overflow: hidden; } ::slotted([slot='block-heading']) { --ds-block-heading-paragraph-width: 55%; --ds-block-heading-paragraph-margin-right: auto; --ds-block-heading-paragraph-margin-left: auto; } .tabbed-feature__asset { position: relative; order: 2; flex: 2; max-width: 60%; width: 100%; height: auto; } ::slotted([slot$='-asset']) { clip-path: inset(1.5px); max-width: 100%; max-height: var(--asset-xlarge-height); border-radius: var( --ds-specs-and-stats-asset-border-radius, ${(0,n.$m)("12px")} ); } @media only screen and (max-width: 1350px) { :host([no-animation][dir='rtl']) .card-container { transform: translateX(-150%) translateY(-30%); } :host([no-overlap]) .card-container { bottom: -15%; } } @media only screen and (max-width: 1200px) { :host([no-animation]) .card-container { transform: translateX(50%) translateY(-40%); } :host([no-animation][dir='rtl']) .card-container { transform: translateX(-120%) translateY(-40%); } } @media only screen and (max-width: 1084px) { :host { --ds-app-tabs-width: 150px; } ::slotted([slot$='-asset']) { max-height: var(--asset-large-height); } .tab-assets-container { height: var(--asset-large-height); } :host([no-animation]) .card-container { transform: translateX(40%) translateY(-50%); } :host([no-animation][dir='rtl']) .card-container { transform: translateX(-100%) translateY(-50%); } /* no-overlap needs to switch to mobile view sooner */ :host([no-overlap]) { --ds-app-tabs-width: 100%; padding: var( --ds-tabbed-feature-container-padding-mobile, ${(0,n.$m)(s)} ); } :host([no-overlap]) .tabbed-feature { margin-bottom: 0; } :host([no-overlap]) tabbed-feature__app-tabs { width: 100%; } :host([no-overlap]) ::slotted([slot='block-heading']) { --ds-block-heading-paragraph-width: 100%; } :host([no-overlap]) .container { padding: 16px; } :host([no-overlap]) .tabbed-container { display: block; position: relative; } :host([no-overlap]) .asset-container { padding: 0; } :host([no-overlap]) ::slotted([slot$='-asset']) { max-height: var(--asset-medium-height); } :host([no-overlap]) .tab-assets-container { order: 1; height: auto; } :host([no-overlap]) .card-container { margin-top: 15px; transform: none; position: initial; width: 100%; } :host([no-overlap]) .card-container, :host([no-overlap][dir='rtl']) .card-container { transform: none !important; width: 100%; } :host([no-overlap]) .nav-container { align-items: center; min-width: 150px; padding-top: 24px; order: 2; bottom: 0; width: 100%; } :host([no-overlap]) .nav-items { width: 100%; } :host([no-overlap]) .play-button-wrapper { margin-bottom: 0; margin-top: 0; position: absolute; bottom: 5%; left: 5%; } } @media only screen and (max-width: 950px) { :host([no-animation][dir='rtl']) .card-container { transform: translateX(-80%) translateY(-50%); } } @media only screen and (max-width: 860px) { :host { --ds-app-tabs-width: 100%; padding: var( --ds-tabbed-feature-container-padding-mobile, ${(0,n.$m)(s)} ); } .tabbed-feature { margin-bottom: 0; } tabbed-feature__app-tabs { width: 100%; } ::slotted([slot='block-heading']) { --ds-block-heading-paragraph-width: 100%; } .container { padding: 16px; } .tabbed-container { display: grid; position: relative; } .asset-container { padding: 0; } ::slotted([slot$='-asset']) { max-height: var(--asset-medium-height); } .tab-assets-container { padding: 0; order: 1; height: auto; } .card-container { margin-top: 15px; transform: none; position: initial; width: 100%; } :host([no-animation]) .card-container, :host([no-animation][dir='rtl']) .card-container { transform: none !important; width: 100%; } .nav-container { align-items: center; min-width: 150px; padding-top: 24px; order: 2; bottom: 0; width: 100%; } .nav-items { width: 100%; } .play-button-wrapper { margin-bottom: 0; margin-top: 0; position: absolute; bottom: 5%; left: 5%; } } @media only screen and (max-width: 540px) { ::slotted([slot$='-asset']) { max-height: var(--asset-small-height); } } @media only screen and (max-width: 360px) { ::slotted([slot$='-asset']) { max-height: var(--asset-xsmall-height); } } @media only screen and (max-width: 235px) { .app-tabs { flex-direction: column; min-width: 0; } } @media (forced-colors: active) { .play-button { forced-color-adjust: none; color: #fff; background-color: #000; border-color: #fff; background-image: none; } .play-icon, .pause-icon { fill: #fff; } @media (prefers-color-scheme: light) { .play-button { forced-color-adjust: none; color: #000; background-color: #fff; border-color: #000; } .play-icon, .pause-icon { fill: #000; } } } `;var l=r(3692);const h=Symbol.for(""),c=t=>{if(t?.r===h)return t?._$litStatic$},u=new Map,d=t=>(e,...r)=>{const i=r.length;let n,s;const o=[],a=[];let l,h=0,d=!1;for(;h{"function"==typeof t.requestUpdate&&t.requestUpdate()}))}));let _=document.documentElement.dir||"ltr";v.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});class b{constructor(t){this.host=t,this.host.addController(this)}hostConnected(){g.add(this.host)}hostDisconnected(){g.delete(this.host)}dir(){return`${this.host.dir||_}`.toLowerCase()}}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var E,w,T,A,C,S,P,k,H,M,O,B={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},L={duration:.5,overwrite:!1,delay:0},I=1e8,$=1e-8,R=2*Math.PI,N=R/4,D=0,U=Math.sqrt,V=Math.cos,F=Math.sin,z=function(t){return"string"==typeof t},G=function(t){return"function"==typeof t},Y=function(t){return"number"==typeof t},X=function(t){return void 0===t},j=function(t){return"object"==typeof t},W=function(t){return!1!==t},q=function(){return"undefined"!=typeof window},K=function(t){return G(t)||z(t)},Z="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},J=Array.isArray,Q=/(?:-?\.?\d|\.)+/gi,tt=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,et=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,rt=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,it=/[+-]=-?[.\d]+/,nt=/[^,'"\[\]\s]+/gi,st=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ot={},at={},lt=function(t){return(at=Rt(t,ot))&&Rr},ht=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ct=function(t,e){return!e&&console.warn(t)},ut=function(t,e){return t&&(ot[t]=e)&&at&&(at[t]=e)||ot},dt=function(){return 0},pt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},mt={suppressEvents:!0},gt={},vt=[],_t={},bt={},yt={},xt=30,Et=[],wt="",Tt=function(t){var e,r,i=t[0];if(j(i)||G(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=Et.length;r--&&!Et[r].targetTest(i););e=Et[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Ze(t[r],e)))||t.splice(r,1);return t},At=function(t){return t._gsap||Tt(fe(t))[0]._gsap},Ct=function(t,e,r){return(r=t[e])&&G(r)?t[e]():X(r)&&t.getAttribute&&t.getAttribute(e)||r},St=function(t,e){return(t=t.split(",")).forEach(e)||t},Pt=function(t){return Math.round(1e5*t)/1e5||0},kt=function(t){return Math.round(1e7*t)/1e7||0},Ht=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i},Mt=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++is;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=o,e.parent=e._dp=t,e},Ft=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},zt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Gt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},Yt=function(t,e,r,i){return t._startAt&&(w?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},Xt=function t(e){return!e||e._ts&&t(e.parent)},jt=function(t){return t._repeat?Wt(t._tTime,t=t.duration()+t._rDelay)*t:0},Wt=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},qt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Kt=function(t){return t._end=kt(t._start+(t._tDur/Math.abs(t._ts||t._rts||$)||0))},Zt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=kt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Kt(t),r._dirty||Gt(r,t)),t},Jt=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start$)&&e.render(r,!0)),Gt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},Qt=function(t,e,r,i){return e.parent&&zt(e),e._start=kt((Y(r)?r:r||t!==A?ae(t,r,e):t._time)+e._delay),e._end=kt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Vt(t,e,"_first","_last",t._sort?"_start":0),ie(e)||(t._recent=e),i||Jt(t,e),t._ts<0&&Zt(t,t._tTime),t},te=function(t,e){return(ot.ScrollTrigger||ht("scrollTrigger",e))&&ot.ScrollTrigger.create(e,t)},ee=function(t,e,r,i,n){return sr(t,e,n),t._initted?!r&&t._pt&&!w&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&H!==Ne.frame?(vt.push(t),t._lazy=[n,i],1):void 0:1},re=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},ie=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},ne=function(t,e,r,i){var n=t._repeat,s=kt(e)||0,o=t._tTime/t._tDur;return o&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:kt(s*(n+1)+t._rDelay*n):s,o>0&&!i&&Zt(t,t._tTime=t._tDur*o),t.parent&&Kt(t),r||Gt(t.parent,t),t},se=function(t){return t instanceof Qe?Gt(t):ne(t,t._dur)},oe={_start:0,endTime:dt,totalDuration:dt},ae=function t(e,r,i){var n,s,o,a=e.labels,l=e._recent||oe,h=e.duration()>=I?l.endTime(!1):e._dur;return z(r)&&(isNaN(r)||r in a)?(s=r.charAt(0),o="%"===r.substr(-1),n=r.indexOf("="),"<"===s||">"===s?(n>=0&&(r=r.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(o?(n<0?l:i).totalDuration()/100:1)):n<0?(r in a||(a[r]=h),a[r]):(s=parseFloat(r.charAt(n-1)+r.substr(n+1)),o&&i&&(s=s/100*(J(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+s:h+s)):null==r?h:+r},le=function(t,e,r){var i,n,s=Y(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=r,t){for(i=a,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=W(n.vars.inherit)&&n.parent;a.immediateRender=W(i.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new cr(e[0],a,e[o+1])},he=function(t,e){return t||0===t?e(t):e},ce=function(t,e,r){return re?e:r},ue=function(t,e){return z(t)&&(e=st.exec(t))?e[1]:""},de=[].slice,pe=function(t,e){return t&&j(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&j(t[0]))&&!t.nodeType&&t!==C},fe=function(t,e,r){return T&&!e&&T.selector?T.selector(t):!z(t)||r||!S&&De()?J(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var i;return z(t)&&!e||pe(t,1)?(i=r).push.apply(i,fe(t)):r.push(t)}))||r}(t,r):pe(t)?de.call(t,0):t?[t]:[]:de.call((e||P).querySelectorAll(t),0)},me=function(t){return t=fe(t)[0]||ct("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return fe(e,r.querySelectorAll?r:r===t?ct("Invalid scope")||P.createElement("div"):t)}},ge=function(t){return t.sort((function(){return.5-Math.random()}))},ve=function(t){if(G(t))return t;var e=j(t)?t:{each:t},r=Xe(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},o=i>0&&i<1,a=isNaN(i)||o,l=e.axis,h=i,c=i;return z(i)?h=c={center:.5,edges:.5,end:1}[i]||0:!o&&a&&(h=i[0],c=i[1]),function(t,o,u){var d,p,f,m,g,v,_,b,y,x=(u||e).length,E=s[x];if(!E){if(!(y="auto"===e.grid?0:(e.grid||[1,I])[1])){for(_=-I;_<(_=u[y++].getBoundingClientRect().left)&&y_&&(_=g),gx?x-1:l?"y"===l?x/y:y:Math.max(y,x/y))||0)*("edges"===i?-1:1),E.b=x<0?n-x:n,E.u=ue(e.amount||e.each)||0,r=r&&x<0?Ge(r):r}return x=(E[t]-E.min)/E.max||0,kt(E.b+(r?r(x):x)*E.v)+E.u}},_e=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=kt(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(Y(r)?0:ue(r))}},be=function(t,e){var r,i,n=J(t);return!n&&j(t)&&(r=n=t.radius||I,t.values?(t=fe(t.values),(i=!Y(t[0]))&&(r*=r)):t=_e(t.increment)),he(e,n?G(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){for(var n,s,o=parseFloat(i?e.x:e),a=parseFloat(i?e.y:0),l=I,h=0,c=t.length;c--;)(n=i?(n=t[c].x-o)*n+(s=t[c].y-a)*s:Math.abs(t[c]-o))(n=Math.abs(n))&&(s=i,a=n);return s},Ae=function(t,e,r){var i,n,s,o=t.vars,a=o[e],l=T,h=t._ctx;if(a)return i=o[e+"Params"],n=o.callbackScope||t,r&&vt.length&&Ot(),h&&(T=h),s=i?a.apply(n,i):a.call(n),T=l,s},Ce=function(t){return zt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!w),t.progress()<1&&Ae(t,"onInterrupt"),t},Se=[],Pe=function(t){if(t)if(t=!t.name&&t.default||t,q()||t.headless){var e=t.name,r=G(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:dt,render:br,add:ir,kill:xr,modifier:yr,rawVars:0},s={targetTest:0,get:0,getSetter:mr,aliases:{},register:0};if(De(),t!==i){if(bt[e])return;$t(i,$t(Dt(t,n),s)),Rt(i.prototype,Rt(n,Dt(t,s))),bt[i.prop=e]=i,t.targetTest&&(Et.push(i),gt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ut(e,i),t.register&&t.register(Rr,i,Tr)}else Se.push(t)},ke=255,He={aqua:[0,ke,ke],lime:[0,ke,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ke],navy:[0,0,128],white:[ke,ke,ke],olive:[128,128,0],yellow:[ke,ke,0],orange:[ke,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ke,0,0],pink:[ke,192,203],cyan:[0,ke,ke],transparent:[ke,ke,ke,0]},Me=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*ke+.5|0},Oe=function(t,e,r){var i,n,s,o,a,l,h,c,u,d,p=t?Y(t)?[t>>16,t>>8&ke,t&ke]:0:He.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),He[t])p=He[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+i+i+n+n+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&ke,p&ke,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&ke,t&ke]}else if("hsl"===t.substr(0,3))if(p=d=t.match(Q),e){if(~t.indexOf("="))return p=t.match(tt),r&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,a=+p[1]/100,i=2*(l=+p[2]/100)-(n=l<=.5?l*(a+1):l+a-l*a),p.length>3&&(p[3]*=1),p[0]=Me(o+1/3,i,n),p[1]=Me(o,i,n),p[2]=Me(o-1/3,i,n);else p=t.match(Q)||He.transparent;p=p.map(Number)}return e&&!d&&(i=p[0]/ke,n=p[1]/ke,s=p[2]/ke,l=((h=Math.max(i,n,s))+(c=Math.min(i,n,s)))/2,h===c?o=a=0:(u=h-c,a=l>.5?u/(2-h-c):u/(h+c),o=h===i?(n-s)/u+(na||b<0)&&(h+=b-l),((m=(v=(c+=b)-h)-d)>0||y)&&(_=++i.frame,n=v-1e3*i.time,i.time=v/=1e3,d+=m+(m>=u?4:u-m),g=1),y||(t=e(r)),g)for(s=0;s=e&&s--},_listeners:p},i}(),De=function(){return!O&&Ne.wake()},Ue={},Ve=/^[\d.\-M][\d.\-,\s]/,Fe=/["']/g,ze=function(t){for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,l=s.length;a1&&o.config?o.config.apply(null,~t.indexOf("{")?[ze(s[1])]:(e=t,r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r),e.substring(r,~n&&n=1?r:1,s=(i||(e?.3:.45))/(r<1?r:1),o=s/R*(Math.asin(1/n)||0),a=function(t){return 1===t?1:n*Math.pow(2,-10*t)*F((t-o)*s)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:We(a);return s=R/s,l.config=function(r,i){return t(e,r,i)},l},Ke=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:We(i);return n.config=function(r){return t(e,r)},n};St("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;je(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},(function(t){return 1-Math.pow(1-t,r)}),(function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),Ue.Linear.easeNone=Ue.none=Ue.Linear.easeIn,je("Elastic",qe("in"),qe("out"),qe()),function(t,e){var r=function(r){return r<.36363636363636365?t*r*r:r<.7272727272727273?t*Math.pow(r-1.5/e,2)+.75:r<.9090909090909092?t*(r-=2.25/e)*r+.9375:t*Math.pow(r-2.625/e,2)+.984375};je("Bounce",(function(t){return 1-r(1-t)}),r)}(7.5625,2.75),je("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),je("Circ",(function(t){return-(U(1-t*t)-1)})),je("Sine",(function(t){return 1===t?1:1-V(t*N)})),je("Back",Ke("in"),Ke("out"),Ke()),Ue.SteppedEase=Ue.steps=ot.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*ce(0,.99999999,t)|0)+n)*r}}},L.ease=Ue["quad.out"],St("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return wt+=t+","+t+"Params,"}));var Ze=function(t,e){this.id=D++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Ct,this.set=e?e.getSetter:mr},Je=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,ne(this,+t.duration,1,1),this.data=t.data,T&&(this._ctx=T,T.data.push(this)),O||Ne.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,ne(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(De(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Zt(this,t),!r._dp||r.parent||Jt(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&Qt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===$||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Bt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+jt(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+jt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Wt(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?qt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(ce(-Math.abs(this._delay),this._tDur,r),!1!==e),Kt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(De(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==$&&(this._tTime-=$)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Qt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(W(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?qt(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=mt);var e=w;return w=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),w=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,se(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,se(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(ae(this,t),W(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,W(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise((function(r){var i=G(t)?t:It,n=function(){var t=e.then;e.then=null,G(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n}))},e.kill=function(){Ce(this)},t}();$t(Je.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Qe=function(t){function e(e,r){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=W(e.sortChildren),A&&Qt(e.parent||A,y(i),r),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&te(y(i),e.scrollTrigger),i}x(e,t);var r=e.prototype;return r.to=function(t,e,r){return le(0,arguments,this),this},r.from=function(t,e,r){return le(1,arguments,this),this},r.fromTo=function(t,e,r,i){return le(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,Ut(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new cr(t,e,ae(this,r),1),this},r.call=function(t,e,r){return Qt(this,cr.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,i,n,s,o){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=s,r.onCompleteParams=o,r.parent=this,new cr(t,r,ae(this,n)),this},r.staggerFrom=function(t,e,r,i,n,s,o){return r.runBackwards=1,Ut(r).immediateRender=W(r.immediateRender),this.staggerTo(t,e,r,i,n,s,o)},r.staggerFromTo=function(t,e,r,i,n,s,o,a){return i.startAt=r,Ut(i).immediateRender=W(i.immediateRender),this.staggerTo(t,e,i,n,s,o,a)},r.render=function(t,e,r){var i,n,s,o,a,l,h,c,u,d,p,f,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,_=t<=0?0:kt(t),b=this._zTime<0!=t<0&&(this._initted||!v);if(this!==A&&_>g&&t>=0&&(_=g),_!==this._tTime||r||b){if(m!==this._time&&v&&(_+=this._time-m,t+=this._time-m),i=_,u=this._start,l=!(c=this._ts),b&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,a=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,r);if(i=kt(_%a),_===g?(o=this._repeat,i=v):((o=~~(_/a))&&o===_/a&&(i=v,o--),i>v&&(i=v)),d=Wt(this._tTime,a),!m&&this._tTime&&d!==o&&this._tTime-d*a-this._dur<=0&&(d=o),p&&1&o&&(i=v-i,f=1),o!==d&&!this._lock){var y=p&&1&d,x=y===(p&&1&o);if(oe)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start=m&&t>=0)for(n=this._first;n;){if(s=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!l){h=0,s&&(_+=this._zTime=-1e-8);break}}n=s}else{n=this._last;for(var E=t<0?t:i;n;){if(s=n._prev,(n._act||E<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(E-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(E-n._start)*n._ts,e,r||w&&(n._initted||n._startAt)),i!==this._time||!this._ts&&!l){h=0,s&&(_+=this._zTime=E?-1e-8:$);break}}n=s}}if(h&&!e&&(this.pause(),h.render(i>=m?0:-1e-8)._zTime=i>=m?1:-1,this._ts))return this._start=u,Kt(this),this.render(t,e,r);this._onUpdate&&!e&&Ae(this,"onUpdate",!0),(_===g&&this._tTime>=this.totalDuration()||!_&&m)&&(u!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!v)&&(_===g&&this._ts>0||!_&&this._ts<0)&&zt(this,1),e||t<0&&!m||!_&&!m&&g||(Ae(this,_===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(_0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(Y(e)||(e=ae(this,e,t)),!(t instanceof Je)){if(J(t))return t.forEach((function(t){return r.add(t,e)})),this;if(z(t))return this.addLabel(t,e);if(!G(t))return this;t=cr.delayedCall(0,t)}return this!==t?Qt(this,t,e):this},r.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-I);for(var n=[],s=this._first;s;)s._start>=i&&(s instanceof cr?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return z(t)?this.removeLabel(t):G(t)?this.killTweensOf(t):(Ft(this,t),t===this._recent&&(this._recent=this._last),Gt(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=kt(Ne.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=ae(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var i=cr.delayedCall(0,e||dt,r);return i.data="isPause",this._hasPause=1,Qt(this,i,ae(this,t))},r.removePause=function(t){var e=this._first;for(t=ae(this,t);e;)e._start===t&&"isPause"===e.data&&zt(e),e=e._next},r.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)tr!==i[n]&&i[n].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,i=[],n=fe(t),s=this._first,o=Y(e);s;)s instanceof cr?Mt(s._targets,n)&&(o?(!tr||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},r.tweenTo=function(t,e){e=e||{};var r,i=this,n=ae(i,t),s=e,o=s.startAt,a=s.onStart,l=s.onStartParams,h=s.immediateRender,c=cr.to(i,$t({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(o&&"time"in o?o.time:i._time))/i.timeScale())||$,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(o&&"time"in o?o.time:i._time))/i.timeScale());c._dur!==t&&ne(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,l||[])}},e));return h?c.render(0):c},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,$t({startAt:{time:ae(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),Te(this,ae(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),Te(this,ae(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+$)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return Gt(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Gt(this)},r.totalDuration=function(t){var e,r,i,n=0,s=this,o=s._last,a=I;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,Qt(s,o,r-o._delay,1)._lock=0):a=r,r<0&&o._ts&&(n-=r,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-Infinity),a=0),o._end>n&&o._ts&&(n=o._end),o=e;ne(s,s===A&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(A._ts&&(Bt(A,qt(t,A)),H=Ne.frame),Ne.frame>=xt){xt+=B.autoSleep||120;var e=A._first;if((!e||!e._ts)&&B.autoSleep&&Ne._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Ne.sleep()}}},e}(Je);$t(Qe.prototype,{_lock:0,_hasPause:0,_forcing:0});var tr,er,rr=function(t,e,r,i,n,s,o){var a,l,h,c,u,d,p,f,m=new Tr(this._pt,t,e,0,1,_r,null,n),g=0,v=0;for(m.b=r,m.e=i,r+="",(p=~(i+="").indexOf("random("))&&(i=Ee(i)),s&&(s(f=[r,i],t,e),r=f[0],i=f[1]),l=r.match(rt)||[];a=rt.exec(i);)c=a[0],u=i.substring(g,a.index),h?h=(h+1)%5:"rgba("===u.substr(-5)&&(h=1),c!==l[v++]&&(d=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:u||1===v?u:",",s:d,c:"="===c.charAt(1)?Ht(d,c)-d:parseFloat(c)-d,m:h&&h<4?Math.round:0},g=rt.lastIndex);return m.c=g")})),o.duration();else{for(c in l={},x)"ease"===c||"easeEach"===c||or(c,x[c],l,x.easeEach);for(c in l)for(k=l[c].sort((function(t,e){return t.t-e.t})),O=0,a=0;ap-$&&!m?p:t<$?0:t;if(f){if(g!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m){if(i=g,c=this.timeline,this._repeat){if(o=f+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*o+t,e,r);if(i=kt(g%o),g===p?(s=this._repeat,i=f):((s=~~(g/o))&&s===kt(g/o)&&(i=f,s--),i>f&&(i=f)),(l=this._yoyo&&1&s)&&(u=this._yEase,i=f-i),a=Wt(this._tTime,o),i===d&&!r&&this._initted&&s===a)return this._tTime=g,this;s!==a&&(c&&this._yEase&&Ye(c,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==o&&this._initted&&(this._lock=r=1,this.render(kt(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(ee(this,m?t:i,r,e,g))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&s!==a))return this;if(f!==this._dur)return this.render(t,e,r)}if(this._tTime=g,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(u||this._ease)(i/f),this._from&&(this.ratio=h=1-h),i&&!d&&!e&&!s&&(Ae(this,"onStart"),this._tTime!==g))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;c&&c.render(t<0?t:c._dur*c._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Yt(this,t,0,r),Ae(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&Ae(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(m&&!this._onUpdate&&Yt(this,t,0,!0),(t||!f)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&zt(this,1),e||m&&!d||!(g||d||l)||(Ae(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g0)&&this._prom()))}}else!function(t,e,r,i){var n,s,o,a=t.ratio,l=e<0||!e&&(!t._start&&re(t)&&(t._initted||!ie(t))||(t._ts<0||t._dp._ts<0)&&!ie(t))?0:1,h=t._rDelay,c=0;if(h&&t._repeat&&(c=ce(0,t._tDur,e),s=Wt(c,h),t._yoyo&&1&s&&(l=1-l),s!==Wt(t._tTime,h)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||w||i||t._zTime===$||!e&&t._zTime){if(!t._initted&&ee(t,e,i,r,c))return;for(o=t._zTime,t._zTime=e||(r?$:0),r||(r=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,n=t._pt;n;)n.r(l,n.d),n=n._next;e<0&&Yt(t,e,0,!0),t._onUpdate&&!r&&Ae(t,"onUpdate"),c&&t._repeat&&!r&&t.parent&&Ae(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&zt(t,1),r||w||(Ae(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,i,n){O||Ne.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||sr(this,s),function(t,e,r,i,n,s,o,a){var l,h,c,u,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],c=t._ptLookup,u=t._targets.length;u--;){if((l=c[u][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return er=1,t.vars[e]="+=0",sr(t,o),er=0,a?ct(e+" not eligible for reset"):1;d.push(l)}for(u=d.length;u--;)(l=(h=d[u])._pt||h).s=!i&&0!==i||n?l.s+(i||0)+s*l.c:i,l.c=r-l.s,h.e&&(h.e=Pt(r)+ue(h.e)),h.b&&(h.b=l.s+ue(h.b))}(this,t,e,r,i,this._ease(s/this._dur),s,n)?this.resetTo(t,e,r,i,1):(Zt(this,0),this.parent||Vt(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Ce(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,tr&&!0!==tr.vars.overwrite)._first||Ce(this),this.parent&&r!==this.timeline.totalDuration()&&ne(this,this._dur*this.timeline._tDur/r,0,1),this}var i,n,s,o,a,l,h,c=this._targets,u=t?fe(t):c,d=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(c,u))return"all"===e&&(this._pt=0),Ce(this);for(i=this._op=this._op||[],"all"!==e&&(z(e)&&(a={},St(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,i,n,s,o=t[0]?At(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(i in r=Rt({},e),a)if(i in r)for(n=(s=a[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(c,e)),h=c.length;h--;)if(~u.indexOf(c[h]))for(a in n=d[h],"all"===e?(i[h]=e,o=n,s={}):(s=i[h]=i[h]||{},o=e),o)(l=n&&n[a])&&("kill"in l.d&&!0!==l.d.kill(a)||Ft(this,l,"_pt"),delete n[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&p&&Ce(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return le(1,arguments)},e.delayedCall=function(t,r,i,n){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},e.fromTo=function(t,e,r){return le(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return A.killTweensOf(t,e,r)},e}(Je);$t(cr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),St("staggerTo,staggerFrom,staggerFromTo",(function(t){cr[t]=function(){var e=new Qe,r=de.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var ur=function(t,e,r){return t[e]=r},dr=function(t,e,r){return t[e](r)},pr=function(t,e,r,i){return t[e](i.fp,r)},fr=function(t,e,r){return t.setAttribute(e,r)},mr=function(t,e){return G(t[e])?dr:X(t[e])&&t.setAttribute?fr:ur},gr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},vr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},_r=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},br=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},yr=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n},xr=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ft(this,i,"_pt"):i.dep||(e=1),i=r;return!e},Er=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},wr=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},Tr=function(){function t(t,e,r,i,n,s,o,a,l){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||gr,this.d=o||this,this.set=a||ur,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=Er,this.m=t,this.mt=r,this.tween=e},t}();St(wt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return gt[t]=1})),ot.TweenMax=ot.TweenLite=cr,ot.TimelineLite=ot.TimelineMax=Qe,A=new Qe({sortChildren:!1,defaults:L,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),B.stringFilter=Re;var Ar=[],Cr={},Sr=[],Pr=0,kr=0,Hr=function(t){return(Cr[t]||Sr).map((function(t){return t()}))},Mr=function(){var t=Date.now(),e=[];t-Pr>2&&(Hr("matchMediaInit"),Ar.forEach((function(t){var r,i,n,s,o=t.queries,a=t.conditions;for(i in o)(r=C.matchMedia(o[i]).matches)&&(n=1),r!==a[i]&&(a[i]=r,s=1);s&&(t.revert(),n&&e.push(t))})),Hr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),Pr=t,Hr("matchMedia"))},Or=function(){function t(t,e){this.selector=e&&me(e),this.data=[],this._r=[],this.isReverted=!1,this.id=kr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){G(t)&&(r=e,e=t,t=G);var i=this,n=function(){var t,n=T,s=i.selector;return n&&n!==i&&n.data.push(i),r&&(i.selector=me(r)),T=i,t=e.apply(i,arguments),G(t)&&i._r.push(t),T=n,i.selector=s,i.isReverted=!1,t};return i.last=n,t===G?n(i,(function(t){return i.add(null,t)})):t?i[t]=n:n},e.ignore=function(t){var e=T;T=null,t(this),T=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof cr&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,i=r.getTweens(),n=r.data.length;n--;)"isFlip"===(e=r.data[n]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return i.splice(i.indexOf(t),1)})));for(i.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),n=r.data.length;n--;)(e=r.data[n])instanceof Qe?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof cr)&&e.revert&&e.revert(t);r._r.forEach((function(e){return e(t,r)})),r.isReverted=!0}():this.data.forEach((function(t){return t.kill&&t.kill()})),this.clear(),e)for(var i=Ar.length;i--;)Ar[i].id===this.id&&Ar.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),Br=function(){function t(t){this.contexts=[],this.scope=t,T&&T.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){j(t)||(t={matches:t});var i,n,s,o=new Or(0,r||this.scope),a=o.conditions={};for(n in T&&!o.selector&&(o.selector=T.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===n?s=1:(i=C.matchMedia(t[n]))&&(Ar.indexOf(o)<0&&Ar.push(o),(a[n]=i.matches)&&(s=1),i.addListener?i.addListener(Mr):i.addEventListener("change",Mr));return s&&e(o,(function(t){return o.add(null,t)})),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),Lr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var i=t.map((function(t){return Rr.quickSetter(t,e,r)})),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var s=bt[e],o=At(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(e){var i=new s;M._pt=0,i.init(t,r?e+r:e,M,0,[t]),i.render(1,i),M._pt&&br(1,M)}:o.set(t,a);return s?l:function(e){return l(t,a,r?e+r:e,o,1)}},quickTo:function(t,e,r){var i,n=Rr.to(t,Rt(((i={})[e]="+=0.1",i.paused=!0,i),r||{})),s=function(t,r,i){return n.resetTo(e,t,r,i)};return s.tween=n,s},isTweening:function(t){return A.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Xe(t.ease,L.ease)),Nt(L,t||{})},config:function(t){return Nt(B,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach((function(t){return t&&!bt[t]&&!ot[t]&&ct(e+" effect requires "+t+" plugin.")})),yt[e]=function(t,e,i){return r(fe(t),$t(e||{},n),i)},s&&(Qe.prototype[e]=function(t,r,i){return this.add(yt[e](t,j(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){Ue[t]=Xe(e)},parseEase:function(t,e){return arguments.length?Xe(t,e):Ue},getById:function(t){return A.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new Qe(t);for(n.smoothChildTiming=W(t.smoothChildTiming),A.remove(n),n._dp=0,n._time=n._tTime=A._time,r=A._first;r;)i=r._next,!e&&!r._dur&&r instanceof cr&&r.vars.onComplete===r._targets[0]||Qt(n,r,r._start-r._delay),r=i;return Qt(A,n,0),n},context:function(t,e){return t?new Or(t,e):T},matchMedia:function(t){return new Br(t)},matchMediaRefresh:function(){return Ar.forEach((function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()}))||Mr()},addEventListener:function(t,e){var r=Cr[t]||(Cr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Cr[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:function t(e,r,i){var n=r-e;return J(e)?xe(e,t(0,e.length),r):he(i,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo:function t(e,r,i){var n=r-e,s=2*n;return J(e)?xe(e,t(0,e.length-1),r):he(i,(function(t){return e+((t=(s+(t-e)%s)%s||0)>n?s-t:t)}))},distribute:ve,random:ye,snap:be,normalize:function(t,e,r){return we(t,e,0,1,r)},getUnit:ue,clamp:function(t,e,r){return he(r,(function(r){return ce(t,e,r)}))},splitColor:Oe,toArray:fe,selector:me,mapRange:we,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(pi,r,"")),e=di}(s||r)&&this.props.push(e,r,s[e])},mi=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},gi=function(){var t,e,r=this.props,i=this.target,n=i.style,s=i._gsap;for(t=0;t=0?yi[n]:"")+t},Ei=function(){"undefined"!=typeof window&&window.document&&(Nr=window,Dr=Nr.document,Ur=Dr.documentElement,Fr=_i("div")||{style:{}},_i("div"),di=xi(di),pi=di+"Origin",Fr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Yr=!!xi("perspective"),Gr=Rr.core.reverting,Vr=1)},wi=function t(e){var r,i=_i("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Ur.appendChild(i),i.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return n&&(s?n.insertBefore(this,s):n.appendChild(this)),Ur.removeChild(i),this.style.cssText=o,r},Ti=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Ai=function(t){var e;try{e=t.getBBox()}catch(r){e=wi.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===wi||(e=wi.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Ti(t,["x","cx","x1"])||0,y:+Ti(t,["y","cy","y1"])||0,width:0,height:0}},Ci=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Ai(t))},Si=function(t,e){if(e){var r,i=t.style;e in Xr&&e!==pi&&(e=di),i.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty("--"===r?e:e.replace(Kr,"-$1").toLowerCase())):i.removeAttribute(e)}},Pi=function(t,e,r,i,n,s){var o=new Tr(t._pt,e,r,0,1,s?si:ni);return t._pt=o,o.b=i,o.e=n,t._props.push(r),o},ki={deg:1,rad:1,turn:1},Hi={grid:1,flex:1},Mi=function t(e,r,i,n){var s,o,a,l,h=parseFloat(i)||0,c=(i+"").trim().substr((h+"").length)||"px",u=Fr.style,d=Zr.test(r),p="svg"===e.tagName.toLowerCase(),f=(p?"client":"offset")+(d?"Width":"Height"),m=100,g="px"===n,v="%"===n;if(n===c||!h||ki[n]||ki[c])return h;if("px"!==c&&!g&&(h=t(e,r,i,"px")),l=e.getCTM&&Ci(e),(v||"%"===c)&&(Xr[r]||~r.indexOf("adius")))return s=l?e.getBBox()[d?"width":"height"]:e[f],Pt(v?h/s*m:h/100*s);if(u[d?"width":"height"]=m+(g?c:n),o=~r.indexOf("adius")||"em"===n&&e.appendChild&&!p?e:e.parentNode,l&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==Dr&&o.appendChild||(o=Dr.body),(a=o._gsap)&&v&&a.width&&d&&a.time===Ne.time&&!a.uncache)return Pt(h/a.width*m);if(!v||"height"!==r&&"width"!==r)(v||"%"===c)&&!Hi[bi(o,"display")]&&(u.position=bi(e,"position")),o===e&&(u.position="static"),o.appendChild(Fr),s=Fr[f],o.removeChild(Fr),u.position="absolute";else{var _=e.style[r];e.style[r]=m+n,s=e[f],_?e.style[r]=_:Si(e,r)}return d&&v&&((a=At(o)).time=Ne.time,a.width=o[f]),Pt(g?s*h/m:s&&h?m/s*h:0)},Oi=function(t,e,r,i){var n;return Vr||Ei(),e in Qr&&"transform"!==e&&~(e=Qr[e]).indexOf(",")&&(e=e.split(",")[0]),Xr[e]&&"transform"!==e?(n=zi(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:Gi(bi(t,pi))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||i||~(n+"").indexOf("calc("))&&(n=$i[e]&&$i[e](t,e,r)||bi(t,e)||Ct(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?Mi(t,e,n,r)+r:n},Bi=function(t,e,r,i){if(!r||"none"===r){var n=xi(e,t,1),s=n&&bi(t,n,1);s&&s!==r?(e=n,r=s):"borderColor"===e&&(r=bi(t,"borderTopColor"))}var o,a,l,h,c,u,d,p,f,m,g,v=new Tr(this._pt,t.style,e,0,1,_r),_=0,b=0;if(v.b=r,v.e=i,r+="","auto"==(i+="")&&(u=t.style[e],t.style[e]=i,i=bi(t,e)||i,u?t.style[e]=u:Si(t,e)),Re(o=[r,i]),i=o[1],l=(r=o[0]).match(et)||[],(i.match(et)||[]).length){for(;a=et.exec(i);)d=a[0],f=i.substring(_,a.index),c?c=(c+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(c=1),d!==(u=l[b++]||"")&&(h=parseFloat(u)||0,g=u.substr((h+"").length),"="===d.charAt(1)&&(d=Ht(h,d)+g),p=parseFloat(d),m=d.substr((p+"").length),_=et.lastIndex-m.length,m||(m=m||B.units[e]||g,_===i.length&&(i+=m,v.e+=m)),g!==m&&(h=Mi(t,e,u,m)||0),v._pt={_next:v._pt,p:f||1===b?f:",",s:h,c:p-h,m:c&&c<4||"zIndex"===e?Math.round:0});v.c=_-1;)r=a[n],Xr[r]&&(i=1,r="transformOrigin"===r?pi:di),Si(s,r);i&&(Si(s,di),l&&(l.svg&&s.removeAttribute("transform"),zi(s,1),l.uncache=1,mi(o)))}},$i={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data){var s=t._pt=new Tr(t._pt,e,r,0,0,Ii);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},Ri=[1,0,0,1,0,0],Ni={},Di=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Ui=function(t){var e=bi(t,di);return Di(e)?Ri:e.substr(7).match(tt).map(Pt)},Vi=function(t,e){var r,i,n,s,o=t._gsap||At(t),a=t.style,l=Ui(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?Ri:l:(l!==Ri||t.offsetParent||t===Ur||o.svg||(n=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(s=1,i=t.nextElementSibling,Ur.appendChild(t)),l=Ui(t),n?a.display=n:Si(t,"display"),s&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ur.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Fi=function(t,e,r,i,n,s){var o,a,l,h=t._gsap,c=n||Vi(t,!0),u=h.xOrigin||0,d=h.yOrigin||0,p=h.xOffset||0,f=h.yOffset||0,m=c[0],g=c[1],v=c[2],_=c[3],b=c[4],y=c[5],x=e.split(" "),E=parseFloat(x[0])||0,w=parseFloat(x[1])||0;r?c!==Ri&&(a=m*_-g*v)&&(l=E*(-g/a)+w*(m/a)-(m*y-g*b)/a,E=E*(_/a)+w*(-v/a)+(v*y-_*b)/a,w=l):(E=(o=Ai(t)).x+(~x[0].indexOf("%")?E/100*o.width:E),w=o.y+(~(x[1]||x[0]).indexOf("%")?w/100*o.height:w)),i||!1!==i&&h.smooth?(b=E-u,y=w-d,h.xOffset=p+(b*m+y*v)-b,h.yOffset=f+(b*g+y*_)-y):h.xOffset=h.yOffset=0,h.xOrigin=E,h.yOrigin=w,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[pi]="0px 0px",s&&(Pi(s,h,"xOrigin",u,E),Pi(s,h,"yOrigin",d,w),Pi(s,h,"xOffset",p,h.xOffset),Pi(s,h,"yOffset",f,h.yOffset)),t.setAttribute("data-svg-origin",E+" "+w)},zi=function(t,e){var r=t._gsap||new Ze(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,s,o,a,l,h,c,u,d,p,f,m,g,v,_,b,y,x,E,w,T,A,C,S,P,k,H,M,O,L,I,$=t.style,R=r.scaleX<0,N="px",D="deg",U=getComputedStyle(t),V=bi(t,pi)||"0";return i=n=s=l=h=c=u=d=p=0,o=a=1,r.svg=!(!t.getCTM||!Ci(t)),U.translate&&("none"===U.translate&&"none"===U.scale&&"none"===U.rotate||($[di]=("none"!==U.translate?"translate3d("+(U.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==U.rotate?"rotate("+U.rotate+") ":"")+("none"!==U.scale?"scale("+U.scale.split(" ").join(",")+") ":"")+("none"!==U[di]?U[di]:"")),$.scale=$.rotate=$.translate="none"),g=Vi(t,r.svg),r.svg&&(r.uncache?(S=t.getBBox(),V=r.xOrigin-S.x+"px "+(r.yOrigin-S.y)+"px",C=""):C=!e&&t.getAttribute("data-svg-origin"),Fi(t,C||V,!!C||r.originIsAbsolute,!1!==r.smooth,g)),f=r.xOrigin||0,m=r.yOrigin||0,g!==Ri&&(y=g[0],x=g[1],E=g[2],w=g[3],i=T=g[4],n=A=g[5],6===g.length?(o=Math.sqrt(y*y+x*x),a=Math.sqrt(w*w+E*E),l=y||x?qr(x,y)*jr:0,(u=E||w?qr(E,w)*jr+l:0)&&(a*=Math.abs(Math.cos(u*Wr))),r.svg&&(i-=f-(f*y+m*E),n-=m-(f*x+m*w))):(I=g[6],O=g[7],k=g[8],H=g[9],M=g[10],L=g[11],i=g[12],n=g[13],s=g[14],h=(v=qr(I,M))*jr,v&&(C=T*(_=Math.cos(-v))+k*(b=Math.sin(-v)),S=A*_+H*b,P=I*_+M*b,k=T*-b+k*_,H=A*-b+H*_,M=I*-b+M*_,L=O*-b+L*_,T=C,A=S,I=P),c=(v=qr(-E,M))*jr,v&&(_=Math.cos(-v),L=w*(b=Math.sin(-v))+L*_,y=C=y*_-k*b,x=S=x*_-H*b,E=P=E*_-M*b),l=(v=qr(x,y))*jr,v&&(C=y*(_=Math.cos(v))+x*(b=Math.sin(v)),S=T*_+A*b,x=x*_-y*b,A=A*_-T*b,y=C,T=S),h&&Math.abs(h)+Math.abs(l)>359.9&&(h=l=0,c=180-c),o=Pt(Math.sqrt(y*y+x*x+E*E)),a=Pt(Math.sqrt(A*A+I*I)),v=qr(T,A),u=Math.abs(v)>2e-4?v*jr:0,p=L?1/(L<0?-L:L):0),r.svg&&(C=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Di(bi(t,di)),C&&t.setAttribute("transform",C))),Math.abs(u)>90&&Math.abs(u)<270&&(R?(o*=-1,u+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,u+=u<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+N,r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+N,r.z=s+N,r.scaleX=Pt(o),r.scaleY=Pt(a),r.rotation=Pt(l)+D,r.rotationX=Pt(h)+D,r.rotationY=Pt(c)+D,r.skewX=u+D,r.skewY=d+D,r.transformPerspective=p+N,(r.zOrigin=parseFloat(V.split(" ")[2])||!e&&r.zOrigin||0)&&($[pi]=Gi(V)),r.xOffset=r.yOffset=0,r.force3D=B.force3D,r.renderTransform=r.svg?Zi:Yr?Ki:Xi,r.uncache=0,r},Gi=function(t){return(t=t.split(" "))[0]+" "+t[1]},Yi=function(t,e,r){var i=ue(e);return Pt(parseFloat(e)+parseFloat(Mi(t,"x",r+"px",i)))+i},Xi=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Ki(t,e)},ji="0deg",Wi="0px",qi=") ",Ki=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,a=r.z,l=r.rotation,h=r.rotationY,c=r.rotationX,u=r.skewX,d=r.skewY,p=r.scaleX,f=r.scaleY,m=r.transformPerspective,g=r.force3D,v=r.target,_=r.zOrigin,b="",y="auto"===g&&t&&1!==t||!0===g;if(_&&(c!==ji||h!==ji)){var x,E=parseFloat(h)*Wr,w=Math.sin(E),T=Math.cos(E);E=parseFloat(c)*Wr,x=Math.cos(E),s=Yi(v,s,w*x*-_),o=Yi(v,o,-Math.sin(E)*-_),a=Yi(v,a,T*x*-_+_)}m!==Wi&&(b+="perspective("+m+qi),(i||n)&&(b+="translate("+i+"%, "+n+"%) "),(y||s!==Wi||o!==Wi||a!==Wi)&&(b+=a!==Wi||y?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+qi),l!==ji&&(b+="rotate("+l+qi),h!==ji&&(b+="rotateY("+h+qi),c!==ji&&(b+="rotateX("+c+qi),u===ji&&d===ji||(b+="skew("+u+", "+d+qi),1===p&&1===f||(b+="scale("+p+", "+f+qi),v.style[di]=b||"translate(0, 0)"},Zi=function(t,e){var r,i,n,s,o,a=e||this,l=a.xPercent,h=a.yPercent,c=a.x,u=a.y,d=a.rotation,p=a.skewX,f=a.skewY,m=a.scaleX,g=a.scaleY,v=a.target,_=a.xOrigin,b=a.yOrigin,y=a.xOffset,x=a.yOffset,E=a.forceCSS,w=parseFloat(c),T=parseFloat(u);d=parseFloat(d),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),d+=f),d||p?(d*=Wr,p*=Wr,r=Math.cos(d)*m,i=Math.sin(d)*m,n=Math.sin(d-p)*-g,s=Math.cos(d-p)*g,p&&(f*=Wr,o=Math.tan(p-f),n*=o=Math.sqrt(1+o*o),s*=o,f&&(o=Math.tan(f),r*=o=Math.sqrt(1+o*o),i*=o)),r=Pt(r),i=Pt(i),n=Pt(n),s=Pt(s)):(r=m,s=g,i=n=0),(w&&!~(c+"").indexOf("px")||T&&!~(u+"").indexOf("px"))&&(w=Mi(v,"x",c,"px"),T=Mi(v,"y",u,"px")),(_||b||y||x)&&(w=Pt(w+_-(_*r+b*n)+y),T=Pt(T+b-(_*i+b*s)+x)),(l||h)&&(o=v.getBBox(),w=Pt(w+l/100*o.width),T=Pt(T+h/100*o.height)),o="matrix("+r+","+i+","+n+","+s+","+w+","+T+")",v.setAttribute("transform",o),E&&(v.style[di]=o)},Ji=function(t,e,r,i,n){var s,o,a=360,l=z(n),h=parseFloat(n)*(l&&~n.indexOf("rad")?jr:1)-i,c=i+h+"deg";return l&&("short"===(s=n.split("_")[1])&&(h%=a)!=h%180&&(h+=h<0?a:-360),"cw"===s&&h<0?h=(h+36e9)%a-~~(h/a)*a:"ccw"===s&&h>0&&(h=(h-36e9)%a-~~(h/a)*a)),t._pt=o=new Tr(t._pt,e,r,i,h,ei),o.e=c,o.u="deg",t._props.push(r),o},Qi=function(t,e){for(var r in e)t[r]=e[r];return t},tn=function(t,e,r){var i,n,s,o,a,l,h,c=Qi({},r._gsap),u=r.style;for(n in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),u[di]=e,i=zi(r,1),Si(r,di),r.setAttribute("transform",s)):(s=getComputedStyle(r)[di],u[di]=e,i=zi(r,1),u[di]=s),Xr)(s=c[n])!==(o=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(a=ue(s)!==(h=ue(o))?Mi(r,n,s,h):parseFloat(s),l=parseFloat(o),t._pt=new Tr(t._pt,i,n,a,l-a,ti),t._pt.u=h||0,t._props.push(n));Qi(i,c)};St("padding,margin,Width,Radius",(function(t,e){var r="Top",i="Right",n="Bottom",s="Left",o=(e<3?[r,i,n,s]:[r+s,r+i,n+i,n+s]).map((function(r){return e<2?t+r:"border"+r+t}));$i[e>1?"border"+t:t]=function(t,e,r,i,n){var s,a;if(arguments.length<4)return s=o.map((function(e){return Oi(t,e,r)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(i+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,n)}}));var en,rn,nn={name:"css",register:Ei,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s,o,a,l,h,c,u,d,p,f,m,g,v,_,b,y,x,E,w,T,A=this._props,C=t.style,S=r.vars.startAt;for(u in Vr||Ei(),this.styles=this.styles||vi(t),y=this.styles.props,this.tween=r,e)if("autoRound"!==u&&(o=e[u],!bt[u]||!nr(u,e,r,i,t,n)))if(h=typeof o,c=$i[u],"function"===h&&(h=typeof(o=o.call(r,i,t,n))),"string"===h&&~o.indexOf("random(")&&(o=Ee(o)),c)c(this,t,u,o,r)&&(b=1);else if("--"===u.substr(0,2))s=(getComputedStyle(t).getPropertyValue(u)+"").trim(),o+="",Ie.lastIndex=0,Ie.test(s)||(d=ue(s),p=ue(o)),p?d!==p&&(s=Mi(t,u,s,p)+p):d&&(o+=d),this.add(C,"setProperty",s,o,i,n,0,0,u),A.push(u),y.push(u,0,C[u]);else if("undefined"!==h){if(S&&u in S?(s="function"==typeof S[u]?S[u].call(r,i,t,n):S[u],z(s)&&~s.indexOf("random(")&&(s=Ee(s)),ue(s+"")||"auto"===s||(s+=B.units[u]||ue(Oi(t,u))||""),"="===(s+"").charAt(1)&&(s=Oi(t,u))):s=Oi(t,u),l=parseFloat(s),(f="string"===h&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),u in Qr&&("autoAlpha"===u&&(1===l&&"hidden"===Oi(t,"visibility")&&a&&(l=0),y.push("visibility",0,C.visibility),Pi(this,C,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==u&&"transform"!==u&&~(u=Qr[u]).indexOf(",")&&(u=u.split(",")[0])),m=u in Xr)if(this.styles.save(u),g||((v=t._gsap).renderTransform&&!e.parseTransform||zi(t,e.parseTransform),_=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new Tr(this._pt,C,di,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===u)this._pt=new Tr(this._pt,v,"scaleY",v.scaleY,(f?Ht(v.scaleY,f+a):a)-v.scaleY||0,ti),this._pt.u=0,A.push("scaleY",u),u+="X";else{if("transformOrigin"===u){y.push(pi,0,C[pi]),E=void 0,w=void 0,T=void 0,w=(E=(x=o).split(" "))[0],T=E[1]||"50%","top"!==w&&"bottom"!==w&&"left"!==T&&"right"!==T||(x=w,w=T,T=x),E[0]=Li[w]||w,E[1]=Li[T]||T,o=E.join(" "),v.svg?Fi(t,o,0,_,0,this):((p=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&Pi(this,v,"zOrigin",v.zOrigin,p),Pi(this,C,u,Gi(s),Gi(o)));continue}if("svgOrigin"===u){Fi(t,o,1,_,0,this);continue}if(u in Ni){Ji(this,v,u,l,f?Ht(l,f+o):o);continue}if("smoothOrigin"===u){Pi(this,v,"smooth",v.smooth,o);continue}if("force3D"===u){v[u]=o;continue}if("transform"===u){tn(this,o,t);continue}}else u in C||(u=xi(u)||u);if(m||(a||0===a)&&(l||0===l)&&!Jr.test(o)&&u in C)a||(a=0),(d=(s+"").substr((l+"").length))!==(p=ue(o)||(u in B.units?B.units[u]:d))&&(l=Mi(t,u,s,p)),this._pt=new Tr(this._pt,m?v:C,u,l,(f?Ht(l,f+a):a)-l,m||"px"!==p&&"zIndex"!==u||!1===e.autoRound?ti:ii),this._pt.u=p||0,d!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=ri);else if(u in C)Bi.call(this,t,u,s,f?f+o:o);else if(u in t)this.add(t,u,s||t[u],f?f+o:o,i,n);else if("parseTransform"!==u){ht(u,o);continue}m||(u in C?y.push(u,0,C[u]):y.push(u,1,s||t[u])),A.push(u)}b&&wr(this)},render:function(t,e){if(e.tween._time||!Gr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Oi,aliases:Qr,getSetter:function(t,e,r){var i=Qr[e];return i&&i.indexOf(",")<0&&(e=i),e in Xr&&e!==pi&&(t._gsap.x||Oi(t,"x"))?r&&zr===r?"scale"===e?hi:li:(zr=r||{})&&("scale"===e?ci:ui):t.style&&!X(t.style[e])?oi:~e.indexOf("-")?ai:mr(t,e)},core:{_removeProperty:Si,_getMatrix:Vi}};Rr.utils.checkPrefix=xi,Rr.core.getStyleSaver=vi,rn=St("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(en="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Xr[t]=1})),St(en,(function(t){B.units[t]="deg",Ni[t]=1})),Qr[rn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+en,St("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Qr[e[1]]=rn[e[0]]})),St("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){B.units[t]="px"})),Rr.registerPlugin(nn);var sn=Rr.registerPlugin(nn)||Rr;function on(t,e){for(var r=0;ra?(n=i,i=t,o=s,s=l):r?i+=t:i=n+(t-n)/(l-o)*(s-o)};return{update:h,reset:function(){n=i=r?0:i,o=s=0},getVelocity:function(t){var e=o,a=n,c=An();return(t||0===t)&&t!==i&&h(t),s===o||c-o>l?0:(i+(r?a:-a))/((r?c:s)-e)*1e3}}},Un=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Vn=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Fn=function(){var t,e,r,i;(mn=an.core.globals().ScrollTrigger)&&mn.core&&(t=mn.core,e=t.bridge||{},r=t._scrollers,i=t._proxies,r.push.apply(r,wn),i.push.apply(i,Tn),wn=r,Tn=i,Cn=function(t,r){return e[t](r)})},zn=function(t){return an=t||yn(),!ln&&an&&"undefined"!=typeof document&&document.body&&(hn=window,cn=document,un=cn.documentElement,dn=cn.body,gn=[hn,cn,un,dn],an.utils.clamp,bn=an.core.context||function(){},fn="onpointerenter"in dn?"pointer":"mouse",pn=Gn.isTouch=hn.matchMedia&&hn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in hn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,_n=Gn.eventTypes=("ontouchstart"in un?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in un?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return xn=0}),500),Fn(),ln=1),ln};In.op=$n,wn.cache=0;var Gn=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){ln||zn(an)||console.warn("Please gsap.registerPlugin(Observer)"),mn||Fn();var e=t.tolerance,r=t.dragMinimum,i=t.type,n=t.target,s=t.lineHeight,o=t.debounce,a=t.preventDefault,l=t.onStop,h=t.onStopDelay,c=t.ignore,u=t.wheelSpeed,d=t.event,p=t.onDragStart,f=t.onDragEnd,m=t.onDrag,g=t.onPress,v=t.onRelease,_=t.onRight,b=t.onLeft,y=t.onUp,x=t.onDown,E=t.onChangeX,w=t.onChangeY,T=t.onChange,A=t.onToggleX,C=t.onToggleY,S=t.onHover,P=t.onHoverEnd,k=t.onMove,H=t.ignoreCheck,M=t.isNormalizer,O=t.onGestureStart,B=t.onGestureEnd,L=t.onWheel,I=t.onEnable,$=t.onDisable,R=t.onClick,N=t.scrollSpeed,D=t.capture,U=t.allowClicks,V=t.lockAxis,F=t.onLockAxis;this.target=n=Rn(n)||un,this.vars=t,c&&(c=an.utils.toArray(c)),e=e||1e-9,r=r||0,u=u||1,N=N||1,i=i||"wheel,touch,pointer",o=!1!==o,s||(s=parseFloat(hn.getComputedStyle(dn).lineHeight)||22);var z,G,Y,X,j,W,q,K=this,Z=0,J=0,Q=t.passive||!a,tt=Nn(n,In),et=Nn(n,$n),rt=tt(),it=et(),nt=~i.indexOf("touch")&&!~i.indexOf("pointer")&&"pointerdown"===_n[0],st=Pn(n),ot=n.ownerDocument||cn,at=[0,0,0],lt=[0,0,0],ht=0,ct=function(){return ht=An()},ut=function(t,e){return(K.event=t)&&c&&~c.indexOf(t.target)||e&&nt&&"touch"!==t.pointerType||H&&H(t,e)},dt=function(){var t=K.deltaX=Vn(at),r=K.deltaY=Vn(lt),i=Math.abs(t)>=e,n=Math.abs(r)>=e;T&&(i||n)&&T(K,t,r,at,lt),i&&(_&&K.deltaX>0&&_(K),b&&K.deltaX<0&&b(K),E&&E(K),A&&K.deltaX<0!=Z<0&&A(K),Z=K.deltaX,at[0]=at[1]=at[2]=0),n&&(x&&K.deltaY>0&&x(K),y&&K.deltaY<0&&y(K),w&&w(K),C&&K.deltaY<0!=J<0&&C(K),J=K.deltaY,lt[0]=lt[1]=lt[2]=0),(X||Y)&&(k&&k(K),Y&&(m(K),Y=!1),X=!1),W&&!(W=!1)&&F&&F(K),j&&(L(K),j=!1),z=0},pt=function(t,e,r){at[r]+=t,lt[r]+=e,K._vx.update(t),K._vy.update(e),o?z||(z=requestAnimationFrame(dt)):dt()},ft=function(t,e){V&&!q&&(K.axis=q=Math.abs(t)>Math.abs(e)?"x":"y",W=!0),"y"!==q&&(at[2]+=t,K._vx.update(t,!0)),"x"!==q&&(lt[2]+=e,K._vy.update(e,!0)),o?z||(z=requestAnimationFrame(dt)):dt()},mt=function(t){if(!ut(t,1)){var e=(t=Un(t,a)).clientX,i=t.clientY,n=e-K.x,s=i-K.y,o=K.isDragging;K.x=e,K.y=i,(o||Math.abs(K.startX-e)>=r||Math.abs(K.startY-i)>=r)&&(m&&(Y=!0),o||(K.isDragging=!0),ft(n,s),o||p&&p(K))}},gt=K.onPress=function(t){ut(t,1)||t&&t.button||(K.axis=q=null,G.pause(),K.isPressed=!0,t=Un(t),Z=J=0,K.startX=K.x=t.clientX,K.startY=K.y=t.clientY,K._vx.reset(),K._vy.reset(),kn(M?n:ot,_n[1],mt,Q,!0),K.deltaX=K.deltaY=0,g&&g(K))},vt=K.onRelease=function(t){if(!ut(t,1)){Hn(M?n:ot,_n[1],mt,!0);var e=!isNaN(K.y-K.startY),r=K.isDragging,i=r&&(Math.abs(K.x-K.startX)>3||Math.abs(K.y-K.startY)>3),s=Un(t);!i&&e&&(K._vx.reset(),K._vy.reset(),a&&U&&an.delayedCall(.08,(function(){if(An()-ht>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,hn,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),K.isDragging=K.isGesturing=K.isPressed=!1,l&&r&&!M&&G.restart(!0),f&&r&&f(K),v&&v(K,i)}},_t=function(t){return t.touches&&t.touches.length>1&&(K.isGesturing=!0)&&O(t,K.isDragging)},bt=function(){return(K.isGesturing=!1)||B(K)},yt=function(t){if(!ut(t)){var e=tt(),r=et();pt((e-rt)*N,(r-it)*N,1),rt=e,it=r,l&&G.restart(!0)}},xt=function(t){if(!ut(t)){t=Un(t,a),L&&(j=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?hn.innerHeight:1)*u;pt(t.deltaX*e,t.deltaY*e,0),l&&!M&&G.restart(!0)}},Et=function(t){if(!ut(t)){var e=t.clientX,r=t.clientY,i=e-K.x,n=r-K.y;K.x=e,K.y=r,X=!0,l&&G.restart(!0),(i||n)&&ft(i,n)}},wt=function(t){K.event=t,S(K)},Tt=function(t){K.event=t,P(K)},At=function(t){return ut(t)||Un(t,a)&&R(K)};G=K._dc=an.delayedCall(h||.25,(function(){K._vx.reset(),K._vy.reset(),G.pause(),l&&l(K)})).pause(),K.deltaX=K.deltaY=0,K._vx=Dn(0,50,!0),K._vy=Dn(0,50,!0),K.scrollX=tt,K.scrollY=et,K.isDragging=K.isGesturing=K.isPressed=!1,bn(this),K.enable=function(t){return K.isEnabled||(kn(st?ot:n,"scroll",Bn),i.indexOf("scroll")>=0&&kn(st?ot:n,"scroll",yt,Q,D),i.indexOf("wheel")>=0&&kn(n,"wheel",xt,Q,D),(i.indexOf("touch")>=0&&pn||i.indexOf("pointer")>=0)&&(kn(n,_n[0],gt,Q,D),kn(ot,_n[2],vt),kn(ot,_n[3],vt),U&&kn(n,"click",ct,!0,!0),R&&kn(n,"click",At),O&&kn(ot,"gesturestart",_t),B&&kn(ot,"gestureend",bt),S&&kn(n,fn+"enter",wt),P&&kn(n,fn+"leave",Tt),k&&kn(n,fn+"move",Et)),K.isEnabled=!0,t&&t.type&>(t),I&&I(K)),K},K.disable=function(){K.isEnabled&&(En.filter((function(t){return t!==K&&Pn(t.target)})).length||Hn(st?ot:n,"scroll",Bn),K.isPressed&&(K._vx.reset(),K._vy.reset(),Hn(M?n:ot,_n[1],mt,!0)),Hn(st?ot:n,"scroll",yt,D),Hn(n,"wheel",xt,D),Hn(n,_n[0],gt,D),Hn(ot,_n[2],vt),Hn(ot,_n[3],vt),Hn(n,"click",ct,!0),Hn(n,"click",At),Hn(ot,"gesturestart",_t),Hn(ot,"gestureend",bt),Hn(n,fn+"enter",wt),Hn(n,fn+"leave",Tt),Hn(n,fn+"move",Et),K.isEnabled=K.isPressed=K.isDragging=!1,$&&$(K))},K.kill=K.revert=function(){K.disable();var t=En.indexOf(K);t>=0&&En.splice(t,1),vn===K&&(vn=0)},En.push(K),M&&Pn(n)&&(vn=K),K.enable(d)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&on(e.prototype,r),t}();Gn.version="3.12.5",Gn.create=function(t){return new Gn(t)},Gn.register=zn,Gn.getAll=function(){return En.slice()},Gn.getById=function(t){return En.filter((function(e){return e.vars.id===t}))[0]},yn()&&an.registerPlugin(Gn);var Yn,Xn,jn,Wn,qn,Kn,Zn,Jn,Qn,ts,es,rs,is,ns,ss,os,as,ls,hs,cs,us,ds,ps,fs,ms,gs,vs,_s,bs,ys,xs,Es,ws,Ts,As,Cs,Ss,Ps,ks=1,Hs=Date.now,Ms=Hs(),Os=0,Bs=0,Ls=function(t,e,r){var i=Ws(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=i,i?t.substr(6,t.length-7):t},Is=function(t,e){return!e||Ws(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},$s=function t(){return Bs&&requestAnimationFrame(t)},Rs=function(){return ns=1},Ns=function(){return ns=0},Ds=function(t){return t},Us=function(t){return Math.round(1e5*t)/1e5||0},Vs=function(){return"undefined"!=typeof window},Fs=function(){return Yn||Vs()&&(Yn=window.gsap)&&Yn.registerPlugin&&Yn},zs=function(t){return!!~Zn.indexOf(t)},Gs=function(t){return("Height"===t?xs:jn["inner"+t])||qn["client"+t]||Kn["client"+t]},Ys=function(t){return Sn(t,"getBoundingClientRect")||(zs(t)?function(){return sa.width=jn.innerWidth,sa.height=xs,sa}:function(){return _o(t)})},Xs=function(t,e){var r=e.s,i=e.d2,n=e.d,s=e.a;return Math.max(0,(r="scroll"+i)&&(s=Sn(t,r))?s()-Ys(t)()[n]:zs(t)?(qn[r]||Kn[r])-Gs(i):t[r]-t["offset"+i])},js=function(t,e){for(var r=0;r0){for(t-=n,s=0;s=t)return r[s];return r[s-1]}for(s=r.length,t+=n;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,i,n){void 0===n&&(n=.001);var s=e(r);return!i||Math.abs(s-r)r&&(i*=e/100),t=t.substr(0,r-1)),t=i+(t in Po?Po[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},Ho=function(t,e,r,i,n,s,o,a){var l=n.startColor,h=n.endColor,c=n.fontSize,u=n.indent,d=n.fontWeight,p=Wn.createElement("div"),f=zs(r)||"fixed"===Sn(r,"pinType"),m=-1!==t.indexOf("scroller"),g=f?Kn:r,v=-1!==t.indexOf("start"),_=v?l:h,b="border-color:"+_+";font-size:"+c+";color:"+_+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((m||a)&&f?"fixed;":"absolute;"),(m||a||!f)&&(b+=(i===$n?ro:io)+":"+(s+parseFloat(u))+"px;"),o&&(b+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=b,p.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+i.op.d2],Mo(p,0,i,v),p},Mo=function(t,e,r,i){var n={display:"block"},s=r[i?"os2":"p2"],o=r[i?"p2":"os2"];t._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+s+po]=1,n["border"+o+po]=0,n[r.p]=e+"px",Yn.set(t,n)},Oo=[],Bo={},Lo=function(){return Hs()-Os>34&&(As||(As=requestAnimationFrame(Jo)))},Io=function(){(!ps||!ps.isPressed||ps.startX>Kn.clientWidth)&&(wn.cache++,ps?As||(As=requestAnimationFrame(Jo)):Jo(),Os||Vo("scrollStart"),Os=Hs())},$o=function(){gs=jn.innerWidth,ms=jn.innerHeight},Ro=function(){wn.cache++,!is&&!ds&&!Wn.fullscreenElement&&!Wn.webkitFullscreenElement&&(!fs||gs!==jn.innerWidth||Math.abs(jn.innerHeight-ms)>.25*jn.innerHeight)&&Jn.restart(!0)},No={},Do=[],Uo=function t(){return To(da,"scrollEnd",t)||qo(!0)},Vo=function(t){return No[t]&&No[t].map((function(t){return t()}))||Do},Fo=[],zo=function(t){for(var e=0;ee,i=t._startClamp&&t.start>=e;(r||i)&&t.setPositions(i?e-1:t.start,r?Math.max(i?e:t.start+1,e):t.end,!0)})),Wo(!1),ws=0,r.forEach((function(t){return t&&t.render&&t.render(-1)})),wn.forEach((function(t){qs(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Yo(bs,1),Jn.pause(),Xo++,Cs=2,Jo(2),Oo.forEach((function(t){return qs(t.vars.onRefresh)&&t.vars.onRefresh(t)})),Cs=da.isRefreshing=!1,Vo("refresh")}else wo(da,"scrollEnd",Uo)},Ko=0,Zo=1,Jo=function(t){if(2===t||!Cs&&!Es){da.isUpdating=!0,Ps&&Ps.update(0);var e=Oo.length,r=Hs(),i=r-Ms>=50,n=e&&Oo[0].scroll();if(Zo=Ko>n?-1:1,Cs||(Ko=n),i&&(Os&&!ns&&r-Os>200&&(Os=0,Vo("scrollEnd")),es=Ms,Ms=r),Zo<0){for(os=e;os-- >0;)Oo[os]&&Oo[os].update(0,i);Zo=1}else for(os=0;os20),r-=r-y}if(p&&(a[p]=t||-.001,t<0&&(t=0)),s){var w=t+r,T=s._isStart;f="scroll"+i.d2,Mo(s,w,i,T&&w>20||!T&&(c?Math.max(Kn[f],qn[f]):s.parentNode[f])<=w+1),c&&(l=_o(o),c&&(s.style[i.op.p]=l[i.op.p]-i.op.m-s._offset+mo))}return d&&g&&(f=_o(g),d.seek(u),m=_o(g),d._caScrollDist=f[i.p]-m[i.p],t=t/d._caScrollDist*u),d&&d.seek(v),d?t:Math.round(t)},aa=/(webkit|moz|length|cssText|inset)/i,la=function(t,e,r,i){if(t.parentNode!==e){var n,s,o=t.style;if(e===Kn){for(n in t._stOrig=o.cssText,s=go(t))+n||aa.test(n)||!s[n]||"string"!=typeof o[n]||"0"===n||(o[n]=s[n]);o.top=r,o.left=i}else o.cssText=t._stOrig;Yn.core.getCache(t).uncache=1,e.appendChild(t)}},ha=function(t,e,r){var i=e,n=i;return function(e){var s=Math.round(t());return s!==i&&s!==n&&Math.abs(s-i)>3&&Math.abs(s-n)>3&&(e=s,r&&r()),n=i,i=e,e}},ca=function(t,e,r){var i={};i[e.p]="+="+r,Yn.set(t,i)},ua=function(t,e){var r=Nn(t,e),i="_scroll"+e.p2,n=function e(n,s,o,a,l){var h=e.tween,c=s.onComplete,u={};o=o||r();var d=ha(r,o,(function(){h.kill(),e.tween=0}));return l=a&&l||0,a=a||n-o,h&&h.kill(),s[i]=n,s.inherit=!1,s.modifiers=u,u[i]=function(){return d(o+a*h.ratio+l*h.ratio*h.ratio)},s.onUpdate=function(){wn.cache++,e.tween&&Jo()},s.onComplete=function(){e.tween=0,c&&c.call(h)},h=e.tween=Yn.to(t,s)};return t[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},wo(t,"wheel",r.wheelHandler),da.isTouch&&wo(t,"touchmove",r.wheelHandler),n},da=function(){function t(e,r){Xn||t.register(Yn)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),_s(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Bs){var i,n,s,o,a,l,h,c,u,d,p,f,m,g,v,_,b,y,x,E,w,T,A,C,S,P,k,H,M,O,B,L,I,$,R,N,D,U,V,F,z,G,Y=e=vo(Ws(e)||Ks(e)||e.nodeType?{trigger:e}:e,So),X=Y.onUpdate,j=Y.toggleClass,W=Y.id,q=Y.onToggle,K=Y.onRefresh,Z=Y.scrub,J=Y.trigger,Q=Y.pin,tt=Y.pinSpacing,et=Y.invalidateOnRefresh,rt=Y.anticipatePin,it=Y.onScrubComplete,nt=Y.onSnapComplete,st=Y.once,ot=Y.snap,at=Y.pinReparent,lt=Y.pinSpacer,ht=Y.containerAnimation,ct=Y.fastScrollEnd,ut=Y.preventOverlaps,dt=e.horizontal||e.containerAnimation&&!1!==e.horizontal?In:$n,pt=!Z&&0!==Z,ft=Rn(e.scroller||jn),mt=Yn.core.getCache(ft),gt=zs(ft),vt="fixed"===("pinType"in e?e.pinType:Sn(ft,"pinType")||gt&&"fixed"),_t=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],bt=pt&&e.toggleActions.split(" "),yt="markers"in e?e.markers:So.markers,xt=gt?0:parseFloat(go(ft)["border"+dt.p2+po])||0,Et=this,wt=e.onRefreshInit&&function(){return e.onRefreshInit(Et)},Tt=function(t,e,r){var i=r.d,n=r.d2,s=r.a;return(s=Sn(t,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(e?Gs(n):t["client"+n])||0}}(ft,gt,dt),At=function(t,e){return!e||~Tn.indexOf(t)?Ys(t):function(){return sa}}(ft,gt),Ct=0,St=0,Pt=0,kt=Nn(ft,dt);if(Et._startClamp=Et._endClamp=!1,Et._dir=dt,rt*=45,Et.scroller=ft,Et.scroll=ht?ht.time.bind(ht):kt,o=kt(),Et.vars=e,r=r||e.animation,"refreshPriority"in e&&(cs=1,-9999===e.refreshPriority&&(Ps=Et)),mt.tweenScroll=mt.tweenScroll||{top:ua(ft,$n),left:ua(ft,In)},Et.tweenTo=i=mt.tweenScroll[dt.p],Et.scrubDuration=function(t){(I=Ks(t)&&t)?L?L.duration(t):L=Yn.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:I,paused:!0,onComplete:function(){return it&&it(Et)}}):(L&&L.progress(1).kill(),L=0)},r&&(r.vars.lazy=!1,r._initted&&!Et.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),Et.animation=r.pause(),r.scrollTrigger=Et,Et.scrubDuration(Z),O=0,W||(W=r.vars.id)),ot&&(Zs(ot)&&!ot.push||(ot={snapTo:ot}),"scrollBehavior"in Kn.style&&Yn.set(gt?[Kn,qn]:ft,{scrollBehavior:"auto"}),wn.forEach((function(t){return qs(t)&&t.target===(gt?Wn.scrollingElement||qn:ft)&&(t.smooth=!1)})),s=qs(ot.snapTo)?ot.snapTo:"labels"===ot.snapTo?function(t){return function(e){return Yn.utils.snap(yo(t),e)}}(r):"labelsDirectional"===ot.snapTo?(F=r,function(t,e){return xo(yo(F))(t,e.direction)}):!1!==ot.directional?function(t,e){return xo(ot.snapTo)(t,Hs()-St<500?0:e.direction)}:Yn.utils.snap(ot.snapTo),$=ot.duration||{min:.1,max:2},$=Zs($)?ts($.min,$.max):ts($,$),R=Yn.delayedCall(ot.delay||I/2||.1,(function(){var t=kt(),e=Hs()-St<500,n=i.tween;if(!(e||Math.abs(Et.getVelocity())<10)||n||ns||Ct===t)Et.isActive&&Ct!==t&&R.restart(!0);else{var o,a,c=(t-l)/g,u=r&&!pt?r.totalProgress():c,d=e?0:(u-B)/(Hs()-es)*1e3||0,p=Yn.utils.clamp(-c,1-c,to(d/2)*d/.185),f=c+(!1===ot.inertia?0:p),m=ot,v=m.onStart,_=m.onInterrupt,b=m.onComplete;if(o=s(f,Et),Ks(o)||(o=f),a=Math.round(l+o*g),t<=h&&t>=l&&a!==t){if(n&&!n._initted&&n.data<=to(a-t))return;!1===ot.inertia&&(p=o-c),i(a,{duration:$(to(.185*Math.max(to(f-u),to(o-u))/d/.05||0)),ease:ot.ease||"power3",data:to(a-t),onInterrupt:function(){return R.restart(!0)&&_&&_(Et)},onComplete:function(){Et.update(),Ct=kt(),r&&(L?L.resetTo("totalProgress",o,r._tTime/r._tDur):r.progress(o)),O=B=r&&!pt?r.totalProgress():Et.progress,nt&&nt(Et),b&&b(Et)}},t,p*g,a-t-p*g),v&&v(Et,i.tween)}}})).pause()),W&&(Bo[W]=Et),(V=(J=Et.trigger=Rn(J||!0!==Q&&Q))&&J._gsap&&J._gsap.stRevert)&&(V=V(Et)),Q=!0===Q?J:Rn(Q),Ws(j)&&(j={targets:J,className:j}),Q&&(!1===tt||tt===uo||(tt=!(!tt&&Q.parentNode&&Q.parentNode.style&&"flex"===go(Q.parentNode).display)&&co),Et.pin=Q,(n=Yn.core.getCache(Q)).spacer?v=n.pinState:(lt&&((lt=Rn(lt))&&!lt.nodeType&&(lt=lt.current||lt.nativeElement),n.spacerIsNative=!!lt,lt&&(n.spacerState=na(lt))),n.spacer=y=lt||Wn.createElement("div"),y.classList.add("pin-spacer"),W&&y.classList.add("pin-spacer-"+W),n.pinState=v=na(Q)),!1!==e.force3D&&Yn.set(Q,{force3D:!0}),Et.spacer=y=n.spacer,M=go(Q),C=M[tt+dt.os2],E=Yn.getProperty(Q),w=Yn.quickSetter(Q,dt.a,mo),ea(Q,y,M),b=na(Q)),yt){f=Zs(yt)?vo(yt,Co):Co,d=Ho("scroller-start",W,ft,dt,f,0),p=Ho("scroller-end",W,ft,dt,f,0,d),x=d["offset"+dt.op.d2];var Ht=Rn(Sn(ft,"content")||ft);c=this.markerStart=Ho("start",W,Ht,dt,f,x,0,ht),u=this.markerEnd=Ho("end",W,Ht,dt,f,x,0,ht),ht&&(U=Yn.quickSetter([c,u],dt.a,mo)),vt||Tn.length&&!0===Sn(ft,"fixedMarkers")||(G=go(z=gt?Kn:ft).position,z.style.position="absolute"===G||"fixed"===G?G:"relative",Yn.set([d,p],{force3D:!0}),P=Yn.quickSetter(d,dt.a,mo),H=Yn.quickSetter(p,dt.a,mo))}if(ht){var Mt=ht.vars.onUpdate,Ot=ht.vars.onUpdateParams;ht.eventCallback("onUpdate",(function(){Et.update(0,0,1),Mt&&Mt.apply(ht,Ot||[])}))}if(Et.previous=function(){return Oo[Oo.indexOf(Et)-1]},Et.next=function(){return Oo[Oo.indexOf(Et)+1]},Et.revert=function(t,e){if(!e)return Et.kill(!0);var i=!1!==t||!Et.enabled,n=is;i!==Et.isReverted&&(i&&(N=Math.max(kt(),Et.scroll.rec||0),Pt=Et.progress,D=r&&r.progress()),c&&[c,u,d,p].forEach((function(t){return t.style.display=i?"none":"block"})),i&&(is=Et,Et.update(i)),!Q||at&&Et.isActive||(i?function(t,e,r){ia(r);var i=t._gsap;if(i.spacerIsNative)ia(i.spacerState);else if(t._gsap.swappedIn){var n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}t._gsap.swappedIn=!1}(Q,y,v):ea(Q,y,go(Q),S)),i||Et.update(i),is=n,Et.isReverted=i)},Et.refresh=function(n,s,f,x){if(!is&&Et.enabled||s)if(Q&&n&&Os)wo(t,"scrollEnd",Uo);else{!Cs&&wt&&wt(Et),is=Et,i.tween&&!f&&(i.tween.kill(),i.tween=0),L&&L.pause(),et&&r&&r.revert({kill:!1}).invalidate(),Et.isReverted||Et.revert(!0,!0),Et._subPinOffset=!1;var w,C,P,H,M,O,B,I,$,U,V,F,z,G=Tt(),Y=At(),X=ht?ht.duration():Xs(ft,dt),j=g<=.01,W=0,q=x||0,Z=Zs(f)?f.end:e.end,rt=e.endTrigger||J,it=Zs(f)?f.start:e.start||(0!==e.start&&J?Q?"0 0":"0 100%":0),nt=Et.pinnedContainer=e.pinnedContainer&&Rn(e.pinnedContainer,Et),st=J&&Math.max(0,Oo.indexOf(Et))||0,ot=st;for(yt&&Zs(f)&&(F=Yn.getProperty(d,dt.p),z=Yn.getProperty(p,dt.p));ot--;)(O=Oo[ot]).end||O.refresh(0,1)||(is=Et),!(B=O.pin)||B!==J&&B!==Q&&B!==nt||O.isReverted||(U||(U=[]),U.unshift(O),O.revert(!0,!0)),O!==Oo[ot]&&(st--,ot--);for(qs(it)&&(it=it(Et)),it=Ls(it,"start",Et),l=oa(it,J,G,dt,kt(),c,d,Et,Y,xt,vt,X,ht,Et._startClamp&&"_startClamp")||(Q?-.001:0),qs(Z)&&(Z=Z(Et)),Ws(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(Ws(it)?it.split(" ")[0]:"")+Z:(W=ko(Z.substr(2),G),Z=Ws(it)?it:(ht?Yn.utils.mapRange(0,ht.duration(),ht.scrollTrigger.start,ht.scrollTrigger.end,l):l)+W,rt=J)),Z=Ls(Z,"end",Et),h=Math.max(l,oa(Z||(rt?"100% 0":X),rt,G,dt,kt()+W,u,p,Et,Y,xt,vt,X,ht,Et._endClamp&&"_endClamp"))||-.001,W=0,ot=st;ot--;)(B=(O=Oo[ot]).pin)&&O.start-O._pinPush<=l&&!ht&&O.end>0&&(w=O.end-(Et._startClamp?Math.max(0,O.start):O.start),(B===J&&O.start-O._pinPush=Xs(ft,dt)){if(J&&kt()&&!ht)for(C=J.parentNode;C&&C!==Kn;)C._pinOffset&&(l-=C._pinOffset,h-=C._pinOffset),C=C.parentNode}else w=go(Q),H=dt===$n,P=kt(),T=parseFloat(E(dt.a))+q,!X&&h>1&&(V={style:V=(gt?Wn.scrollingElement||qn:ft).style,value:V["overflow"+dt.a.toUpperCase()]},gt&&"scroll"!==go(Kn)["overflow"+dt.a.toUpperCase()]&&(V.style["overflow"+dt.a.toUpperCase()]="scroll")),ea(Q,y,w),b=na(Q),C=_o(Q,!0),I=vt&&Nn(ft,H?In:$n)(),tt?((S=[tt+dt.os2,g+q+mo]).t=y,(ot=tt===co?bo(Q,dt)+g+q:0)&&(S.push(dt.d,ot+mo),"auto"!==y.style.flexBasis&&(y.style.flexBasis=ot+mo)),ia(S),nt&&Oo.forEach((function(t){t.pin===nt&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),vt&&kt(N)):(ot=bo(Q,dt))&&"auto"!==y.style.flexBasis&&(y.style.flexBasis=ot+mo),vt&&((M={top:C.top+(H?P-l:I)+mo,left:C.left+(H?I:P-l)+mo,boxSizing:"border-box",position:"fixed"})[no]=M["max"+po]=Math.ceil(C.width)+mo,M[so]=M["max"+fo]=Math.ceil(C.height)+mo,M[uo]=M[uo+lo]=M[uo+oo]=M[uo+ho]=M[uo+ao]="0",M[co]=w[co],M[co+lo]=w[co+lo],M[co+oo]=w[co+oo],M[co+ho]=w[co+ho],M[co+ao]=w[co+ao],_=function(t,e,r){for(var i,n=[],s=t.length,o=r?8:0;o1,vt&&k&&_.splice(_.length-2,2),r.render(0,!0,!0),$||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),us(0)):A=g,V&&(V.value?V.style["overflow"+dt.a.toUpperCase()]=V.value:V.style.removeProperty("overflow-"+dt.a));U&&U.forEach((function(t){return t.revert(!1,!0)})),Et.start=l,Et.end=h,o=a=Cs?N:kt(),ht||Cs||(o0?Oo.slice(0,e).reverse():Oo.slice(e+1);return(Ws(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return Et.direction>0?t.end<=l:t.start>=h}))},Et.update=function(t,e,n){if(!ht||n||t){var s,c,u,p,f,m,v,x=!0===Cs?N:Et.scroll(),E=t?0:(x-l)/g,S=E<0?0:E>1?1:E||0,M=Et.progress;if(e&&(a=o,o=ht?kt():x,ot&&(B=O,O=r&&!pt?r.totalProgress():S)),rt&&Q&&!is&&!ks&&Os&&(!S&&lx+(x-a)/(Hs()-es)*rt&&(S=.9999)),S!==M&&Et.enabled){if(p=(f=(s=Et.isActive=!!S&&S<1)!=(!!M&&M<1))||!!S!=!!M,Et.direction=S>M?1:-1,Et.progress=S,p&&!is&&(c=S&&!M?0:1===S?1:1===M?2:3,pt&&(u=!f&&"none"!==bt[c+1]&&bt[c+1]||bt[c],v=r&&("complete"===u||"reset"===u||u in r))),ut&&(f||v)&&(v||Z||!r)&&(qs(ut)?ut(Et):Et.getTrailing(ut).forEach((function(t){return t.endAnimation()}))),pt||(!L||is||ks?r&&r.totalProgress(S,!(!is||!St&&!t)):(L._dp._time-L._start!==L._time&&L.render(L._dp._time-L._start),L.resetTo?L.resetTo("totalProgress",S,r._tTime/r._tDur):(L.vars.totalProgress=S,L.invalidate().restart()))),Q)if(t&&tt&&(y.style[tt+dt.os2]=C),vt){if(p){if(m=!t&&S>M&&h+1>x&&x+1>=Xs(ft,dt),at)if(t||!s&&!m)la(Q,y);else{var I=_o(Q,!0),$=x-l;la(Q,Kn,I.top+(dt===$n?$:0)+mo,I.left+(dt===$n?0:$)+mo)}ia(s||m?_:b),k&&S<1&&s||w(T+(1!==S||m?0:A))}}else w(Us(T+A*S));ot&&!i.tween&&!is&&!ks&&R.restart(!0),j&&(f||st&&S&&(S<1||!Ts))&&Qn(j.targets).forEach((function(t){return t.classList[s||st?"add":"remove"](j.className)})),X&&!pt&&!t&&X(Et),p&&!is?(pt&&(v&&("complete"===u?r.pause().totalProgress(1):"reset"===u?r.restart(!0).pause():"restart"===u?r.restart(!0):r[u]()),X&&X(Et)),!f&&Ts||(q&&f&&Qs(Et,q),_t[c]&&Qs(Et,_t[c]),st&&(1===S?Et.kill(!1,1):_t[c]=0),f||_t[c=1===S?1:3]&&Qs(Et,_t[c])),ct&&!s&&Math.abs(Et.getVelocity())>(Ks(ct)?ct:2500)&&(Js(Et.callbackAnimation),L?L.progress(1):Js(r,"reverse"===u?1:!S,1))):pt&&X&&!is&&X(Et)}if(H){var D=ht?x/ht.duration()*(ht._caScrollDist||0):x;P(D+(d._isFlipped?1:0)),H(D)}U&&U(-x/ht.duration()*(ht._caScrollDist||0))}},Et.enable=function(e,r){Et.enabled||(Et.enabled=!0,wo(ft,"resize",Ro),gt||wo(ft,"scroll",Io),wt&&wo(t,"refreshInit",wt),!1!==e&&(Et.progress=Pt=0,o=a=Ct=kt()),!1!==r&&Et.refresh())},Et.getTween=function(t){return t&&i?i.tween:L},Et.setPositions=function(t,e,r,i){if(ht){var n=ht.scrollTrigger,s=ht.duration(),o=n.end-n.start;t=n.start+o*t/s,e=n.start+o*e/s}Et.refresh(!1,!1,{start:Is(t,r&&!!Et._startClamp),end:Is(e,r&&!!Et._endClamp)},i),Et.update()},Et.adjustPinSpacing=function(t){if(S&&t){var e=S.indexOf(dt.d)+1;S[e]=parseFloat(S[e])+t+mo,S[1]=parseFloat(S[1])+t+mo,ia(S)}},Et.disable=function(e,r){if(Et.enabled&&(!1!==e&&Et.revert(!0,!0),Et.enabled=Et.isActive=!1,r||L&&L.pause(),N=0,n&&(n.uncache=1),wt&&To(t,"refreshInit",wt),R&&(R.pause(),i.tween&&i.tween.kill()&&(i.tween=0)),!gt)){for(var s=Oo.length;s--;)if(Oo[s].scroller===ft&&Oo[s]!==Et)return;To(ft,"resize",Ro),gt||To(ft,"scroll",Io)}},Et.kill=function(t,i){Et.disable(t,i),L&&!i&&L.kill(),W&&delete Bo[W];var s=Oo.indexOf(Et);s>=0&&Oo.splice(s,1),s===os&&Zo>0&&os--,s=0,Oo.forEach((function(t){return t.scroller===Et.scroller&&(s=1)})),s||Cs||(Et.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),i||r.kill()),c&&[c,u,d,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),Ps===Et&&(Ps=0),Q&&(n&&(n.uncache=1),s=0,Oo.forEach((function(t){return t.pin===Q&&s++})),s||(n.spacer=0)),e.onKill&&e.onKill(Et)},Oo.push(Et),Et.enable(!1,!1),V&&V(Et),r&&r.add&&!g){var Bt=Et.update;Et.update=function(){Et.update=Bt,l||h||Et.refresh()},Yn.delayedCall(.01,Et.update),g=.01,l=h=0}else Et.refresh();Q&&function(){if(Ss!==Xo){var t=Ss=Xo;requestAnimationFrame((function(){return t===Xo&&qo(!0)}))}}()}else this.update=this.refresh=this.kill=Ds},t.register=function(e){return Xn||(Yn=e||Fs(),Vs()&&window.document&&t.enable(),Xn=Bs),Xn},t.defaults=function(t){if(t)for(var e in t)So[e]=t[e];return So},t.disable=function(t,e){Bs=0,Oo.forEach((function(r){return r[e?"kill":"disable"](t)})),To(jn,"wheel",Io),To(Wn,"scroll",Io),clearInterval(rs),To(Wn,"touchcancel",Ds),To(Kn,"touchstart",Ds),Eo(To,Wn,"pointerdown,touchstart,mousedown",Rs),Eo(To,Wn,"pointerup,touchend,mouseup",Ns),Jn.kill(),js(To);for(var r=0;r0&&i.left+n0&&i.top+n=0&&Fo.splice(e,5),Fo.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Yn.core.getCache(t),_s())}})):Fo},da.revert=function(t,e){return Go(!t,e)},da.create=function(t,e){return new da(t,e)},da.refresh=function(t){return t?Ro():(Xn||da.register())&&qo(!0)},da.update=function(t){return++wn.cache&&Jo(!0===t?2:0)},da.clearScrollMemory=Yo,da.maxScroll=function(t,e){return Xs(t,e?In:$n)},da.getScrollFunc=function(t,e){return Nn(Rn(t),e?In:$n)},da.getById=function(t){return Bo[t]},da.getAll=function(){return Oo.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},da.isScrolling=function(){return!!Os},da.snapDirectional=xo,da.addEventListener=function(t,e){var r=No[t]||(No[t]=[]);~r.indexOf(e)||r.push(e)},da.removeEventListener=function(t,e){var r=No[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},da.batch=function(t,e){var r,i=[],n={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var r=[],i=[],n=Yn.delayedCall(s,(function(){e(r,i),r=[],i=[]})).pause();return function(t){r.length||n.restart(!0),r.push(t.trigger),i.push(t),o<=r.length&&n.progress(1)}};for(r in e)n[r]="on"===r.substr(0,2)&&qs(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return qs(o)&&(o=o(),wo(da,"refresh",(function(){return o=e.batchMax()}))),Qn(t).forEach((function(t){var e={};for(r in n)e[r]=n[r];e.trigger=t,i.push(da.create(e))})),i};var pa,fa=function(t,e,r,i){return e>i?t(i):e<0&&t(0),r>i?(i-e)/(r-e):r<0?e/(e-r):1},ma=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(Gn.isTouch?" pinch-zoom":""):"none",e===qn&&t(Kn,r)},ga={auto:1,scroll:1},va=function(t){var e,r=t.event,i=t.target,n=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||Yn.core.getCache(s),a=Hs();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==Kn&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!ga[(e=go(s)).overflowY]&&!ga[e.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==i&&!zs(s)&&(ga[(e=go(s)).overflowY]||ga[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===n)&&(r.stopPropagation(),r._gsapAllow=!0)},_a=function(t,e,r,i){return Gn.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:i=i&&va,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&wo(Wn,Gn.eventTypes[0],ya,!1,!0)},onDisable:function(){return To(Wn,Gn.eventTypes[0],ya,!0)}})},ba=/(input|label|select|textarea)/i,ya=function(t){var e=ba.test(t.target.tagName);(e||pa)&&(t._gsapAllow=!0,pa=e)};da.sort=function(t){return Oo.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},da.observe=function(t){return new Gn(t)},da.normalizeScroll=function(t){if(void 0===t)return ps;if(!0===t&&ps)return ps.enable();if(!1===t)return ps&&ps.kill(),void(ps=t);var e=t instanceof Gn?t:function(t){Zs(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,i,n,s,o,a,l,h=t,c=h.normalizeScrollX,u=h.momentum,d=h.allowNestedScroll,p=h.onRelease,f=Rn(t.target)||qn,m=Yn.core.globals().ScrollSmoother,g=m&&m.get(),v=vs&&(t.content&&Rn(t.content)||g&&!1!==t.content&&!g.smooth()&&g.content()),_=Nn(f,$n),b=Nn(f,In),y=1,x=(Gn.isTouch&&jn.visualViewport?jn.visualViewport.scale*jn.visualViewport.width:jn.outerWidth)/jn.innerWidth,E=0,w=qs(u)?function(){return u(e)}:function(){return u||2.8},T=_a(f,t.type,!0,d),A=function(){return n=!1},C=Ds,S=Ds,P=function(){r=Xs(f,$n),S=ts(vs?1:0,r),c&&(C=ts(0,Xs(f,In))),i=Xo},k=function(){v._gsap.y=Us(parseFloat(v._gsap.y)+_.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",_.offset=_.cacheID=0},H=function(){P(),s.isActive()&&s.vars.scrollY>r&&(_()>r?s.progress(1)&&_(r):s.resetTo("scrollY",r))};return v&&Yn.set(v,{y:"+=0"}),t.ignoreCheck=function(t){return vs&&"touchmove"===t.type&&function(){if(n){requestAnimationFrame(A);var t=Us(e.deltaY/2),r=S(_.v-t);if(v&&r!==_.v+_.offset){_.offset=r-_.v;var i=Us((parseFloat(v&&v._gsap.y)||0)-_.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",v._gsap.y=i+"px",_.cacheID=wn.cache,Jo()}return!0}_.offset&&k(),n=!0}()||y>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){n=!1;var t=y;y=Us((jn.visualViewport&&jn.visualViewport.scale||1)/x),s.pause(),t!==y&&ma(f,y>1.01||!c&&"x"),o=b(),a=_(),P(),i=Xo},t.onRelease=t.onGestureStart=function(t,e){if(_.offset&&k(),e){wn.cache++;var i,n,o=w();c&&(n=(i=b())+.05*o*-t.velocityX/.227,o*=fa(b,i,n,Xs(f,In)),s.vars.scrollX=C(n)),n=(i=_())+.05*o*-t.velocityY/.227,o*=fa(_,i,n,Xs(f,$n)),s.vars.scrollY=S(n),s.invalidate().duration(o).play(.01),(vs&&s.vars.scrollY>=r||i>=r-1)&&Yn.to({},{onUpdate:H,duration:o})}else l.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),Hs()-E>1e3&&(i=0,E=Hs())},t.onChange=function(t,e,r,n,s){if(Xo!==i&&P(),e&&c&&b(C(n[2]===e?o+(t.startX-t.x):b()+e-n[1])),r){_.offset&&k();var l=s[2]===r,h=l?a+t.startY-t.y:_()+r-s[1],u=S(h);l&&h!==u&&(a+=u-h),_(u)}(r||e)&&Jo()},t.onEnable=function(){ma(f,!c&&"x"),da.addEventListener("refresh",H),wo(jn,"resize",H),_.smooth&&(_.target.style.scrollBehavior="auto",_.smooth=b.smooth=!1),T.enable()},t.onDisable=function(){ma(f,!0),To(jn,"resize",H),da.removeEventListener("refresh",H),T.kill()},t.lockAxis=!1!==t.lockAxis,(e=new Gn(t)).iOS=vs,vs&&!_()&&_(1),vs&&Yn.ticker.add(Ds),l=e._dc,s=Yn.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:ha(_,_(),(function(){return s.pause()}))},onUpdate:Jo,onComplete:l.vars.onComplete}),e}(t);return ps&&ps.target===e.target&&ps.kill(),zs(e.target)&&(ps=e),e},da.core={_getVelocityProp:Dn,_inputObserver:_a,_scrollers:wn,_proxies:Tn,bridge:{ss:function(){Os||Vo("scrollStart"),Os=Hs()},ref:function(){return is}}},Fs()&&Yn.registerPlugin(da);var xa,Ea,wa,Ta,Aa,Ca,Sa,Pa,ka=function(){return"undefined"!=typeof window},Ha=function(){return xa||ka()&&(xa=window.gsap)&&xa.registerPlugin&&xa},Ma=function(t){return"string"==typeof t},Oa=function(t){return"function"==typeof t},Ba=function(t,e){var r="x"===e?"Width":"Height",i="scroll"+r,n="client"+r;return t===wa||t===Ta||t===Aa?Math.max(Ta[i],Aa[i])-(wa["inner"+r]||Ta[n]||Aa[n]):t[i]-t["offset"+r]},La=function(t,e){var r="scroll"+("x"===e?"Left":"Top");return t===wa&&(null!=t.pageXOffset?r="page"+e.toUpperCase()+"Offset":t=null!=Ta[r]?Ta:Aa),function(){return t[r]}},Ia=function(t,e){if(!(t=Ca(t)[0])||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=t.getBoundingClientRect(),i=!e||e===wa||e===Aa,n=i?{top:Ta.clientTop-(wa.pageYOffset||Ta.scrollTop||Aa.scrollTop||0),left:Ta.clientLeft-(wa.pageXOffset||Ta.scrollLeft||Aa.scrollLeft||0)}:e.getBoundingClientRect(),s={x:r.left-n.left,y:r.top-n.top};return!i&&e&&(s.x+=La(e,"x")(),s.y+=La(e,"y")()),s},$a=function(t,e,r,i,n){return isNaN(t)||"object"==typeof t?Ma(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+i-n:"max"===t?Ba(e,r)-n:Math.min(Ba(e,r),Ia(t,e)[r]-n):parseFloat(t)-n},Ra=function(){xa=Ha(),ka()&&xa&&"undefined"!=typeof document&&document.body&&(wa=window,Aa=document.body,Ta=document.documentElement,Ca=xa.utils.toArray,xa.config({autoKillThreshold:7}),Sa=xa.config(),Ea=1)},Na={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(t){xa=t,Ra()},init:function(t,e,r,i,n){Ea||Ra();var s=this,o=xa.getProperty(t,"scrollSnapType");s.isWin=t===wa,s.target=t,s.tween=r,e=function(t,e,r,i){if(Oa(t)&&(t=t(e,r,i)),"object"!=typeof t)return Ma(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var n,s={};for(n in t)s[n]="onAutoKill"!==n&&Oa(t[n])?t[n](e,r,i):t[n];return s}(e,i,t,n),s.vars=e,s.autoKill=!!e.autoKill,s.getX=La(t,"x"),s.getY=La(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Pa||(Pa=xa.core.globals().ScrollTrigger),"smooth"===xa.getProperty(t,"scrollBehavior")&&xa.set(t,{scrollBehavior:"auto"}),o&&"none"!==o&&(s.snap=1,s.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=e.x?(s.add(s,"x",s.x,$a(e.x,t,"x",s.x,e.offsetX||0),i,n),s._props.push("scrollTo_x")):s.skipX=1,null!=e.y?(s.add(s,"y",s.y,$a(e.y,t,"y",s.y,e.offsetY||0),i,n),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,e){for(var r,i,n,s,o,a=e._pt,l=e.target,h=e.tween,c=e.autoKill,u=e.xPrev,d=e.yPrev,p=e.isWin,f=e.snap,m=e.snapInline;a;)a.r(t,a.d),a=a._next;r=p||!e.skipX?e.getX():u,n=(i=p||!e.skipY?e.getY():d)-d,s=r-u,o=Sa.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),c&&(!e.skipX&&(s>o||s<-o)&&ro||n<-o)&&i-1&&this._props.splice(r,1),!this._props.length}};Na.max=Ba,Na.getOffset=Ia,Na.buildGetter=La,Ha()&&xa.registerPlugin(Na);class Da{constructor(t,{target:e,config:r,callback:i,skipInitial:n}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,null!==e&&this.t.add(e??t),this.o=n??this.o,this.callback=i,window.IntersectionObserver?(this.u=new IntersectionObserver((t=>{const e=this.i;this.i=!1,this.o&&e||(this.handleChanges(t),this.h.requestUpdate())}),r),t.addController(this)):console.warn("IntersectionController error: browser does not support IntersectionObserver.")}handleChanges(t){this.value=this.callback?.(t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){const t=this.u.takeRecords();t.length&&this.handleChanges(t)}observe(t){this.t.add(t),this.u.observe(t),this.i=!0}unobserve(t){this.t.delete(t),this.u.unobserve(t)}disconnect(){this.u.disconnect()}}let Ua=class extends f.R{constructor(){super(...arguments),this.noAnimation=!1,this.total=0,this.reduceMotion=!1,this.noOverlap=!1,this.activeItemIndex=0,this.isMobileView=!1,this.isCardVisible=!1,this.cardHeadingSlots=[],this.activeVideo=null,this.playPromise=null,this.scrollTriggers=[],this.slottedBlockHeadingElements=[],this.headingLinks=[]||0,this.cardLinks=[]||0,this.blockHeadingLoaded=!1,this.appTabsLoaded=!1,this.assetsLoaded=!1,this.cardsLoaded=!1,this.cardsLoadedCount=0,this.assetsLoadedCount=0,this.firstLoad=!0,this.loadedAssetSlots=new Set,this.loadedCardSlots=new Set,this.directionController=new b(this)}get playButton(){return this.isMobileView?this.playButtonMobile:this.playButtonDesktop}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",(()=>{this.handleResize()})),this.handleResize(),this.gsap=function(){const t=window.gsap?window.gsap:sn,e=window.ScrollTrigger?window.ScrollTrigger:da,r=window.ScrollToPlugin?window.ScrollToPlugin:Na;return t.registerPlugin(e),t.registerPlugin(r),t}(),this.onIntersectionChange=this.onIntersectionChange.bind(this)}updated(t){super.updated(t),t.has("noAnimation")&&(this.isCardVisible=this.noAnimation,this.resetActiveVideo(),this.firstLoad||this.setupScrollListener(!0)),t.has("isMobileView")&&(this.handleMobileViewChange(),this.firstLoad||this.setupScrollListener(!0)),t.has("noOverlap")&&this.handleResize(),t.has("activeItemIndex")&&this.resetActiveVideo(),this.firstLoad=!1}firstUpdated(){new Da(this,{target:this.tabAssetsContainer,callback:this.onIntersectionChange,config:{threshold:[.2]}})}disconnectedCallback(){window.removeEventListener("resize",this.handleResize),this.linksElement?.removeEventListener("focus",this.focusListener),this.removeAnimation(),super.disconnectedCallback()}onIntersectionChange(t){t[0].isIntersecting&&this.isMobileView&&!this.noAnimation&&this.setupVideo()}handleMobileViewChange(){if(this.appTabsSlot&&this.appTabsSlot.assignedNodes()?.length>0){const t=this.appTabsSlot.assignedNodes()[0];this.isMobileView?(t.setAttribute("max-visible-tabs","5"),t.setAttribute("horizontal","")):(t.setAttribute("max-visible-tabs","4"),t.removeAttribute("horizontal"))}}setEqualHeight(){if(this.tabAssets?.length>0){this.toggleAssetContainer(!0);let t=0,e=0;this.tabAssets.forEach((r=>{const i=r.querySelector("cascade-specs-and-stats");t=Math.max(t,r.offsetHeight),e=Math.max(e,Math.max(t,i.offsetHeight))})),this.toggleAssetContainer(!1),t>0&&(this.tabAssetsContainer.style.height=`${t}px`),!this.isMobileView&&e>0&&e>=this.tabbedContainerWrapper.offsetHeight?this.tabbedContainerWrapper.style.height=`${e}px`:this.tabbedContainerWrapper.style.height="auto"}}toggleAssetContainer(t){this.tabAssets?.forEach((e=>{t?e.classList.add("reveal"):e.classList.remove("reveal")}))}handleResize(){window.matchMedia("(min-width: 861px)").matches&&!this.noOverlap||window.matchMedia("(min-width: 1085px)").matches&&this.noOverlap?this.isMobileView=!1:this.isMobileView=!0,this.setEqualHeight(),this.firstLoad||this.setupScrollListener(!0)}setupScrollListener(t){if(this.isMobileView||this.noAnimation||this.reduceMotion&&window.location.hash)return void this.removeAnimation();if(t&&this.removeAnimation(),this.scrollTriggers.length>0)return;let e=this.eyebrowElement?.offsetHeight||0;this.eyebrowElement&&(e+=parseInt(getComputedStyle(this.eyebrowElement).marginTop)+parseInt(getComputedStyle(this.eyebrowElement).marginBottom));let r=this.titleElement?.offsetHeight||0,i=0;this.titleElement&&(r+=parseInt(getComputedStyle(this.titleElement).marginTop)+parseInt(getComputedStyle(this.titleElement).marginBottom),i=parseInt(getComputedStyle(this.titleElement).marginBottom)+parseInt(getComputedStyle(this.titleElement).paddingBottom)),r-=i;const n=this.tabbedFeatureHeading?.offsetHeight||0,s=-(n+40-e-r),o=-(n+40-e-.8*r),a=this.gsap.timeline({scrollTrigger:{trigger:this.tabbedFeatureElement,start:"top 80%",end:"center -30%",scrub:1,pin:!1,markers:!1,invalidateOnRefresh:!0,onStart:()=>{this.isCardVisible=!1}}});if(this.titleElement&&a?.fromTo(this.titleElement,{y:200},{y:0,ease:"sine.out",duration:.5},0),this.eyebrowElement&&a?.fromTo(this.eyebrowElement,{y:200},{y:0,ease:"sine.out",duration:.5},0),this.cards&&a?.from(this.cards,{opacity:0},0),this.paragraphElement&&a?.fromTo(this.paragraphElement,{opacity:0,y:40},{opacity:1,y:0,ease:"sine.out",duration:.2},.5),this.linksElement&&a?.fromTo(this.linksElement,{opacity:0,y:50},{opacity:1,y:0,ease:"sine.out",duration:.2},.5),this.tabAssetsContainer&&a?.fromTo(this.tabAssetsContainer,{opacity:0,y:200},{opacity:1,y:0,ease:"sine.out",duration:1},1),this.navContainer&&a?.fromTo(this.navContainer,{opacity:0,y:70},{opacity:1,y:s,ease:"sine.out",duration:.5},1),a?.addLabel("navContainerEnd"),this.tabAssetsContainer&&a?.to(this.tabAssetsContainer,{duration:2,ease:"none"},"+=2"),this.cards&&a?.to(this.cards,{duration:1,ease:"none"},"+=2"),this.tabAssetsContainer&&a?.fromTo(this.tabAssetsContainer,{y:0},{y:o,ease:"sine.out",duration:.5},3.5),this.cards){const t="rtl"===this.directionController.dir();let e=window.innerWidth<950?t?"-80%":"40%":window.innerWidth<1084?t?"-100%":"40%":window.innerWidth<1200?t?"-120%":"50%":window.innerWidth<1350?t?"-150%":"60%":t?"-180%":"60%",r=window.innerWidth<1084?"-50%":window.innerWidth<1200?"-40%":"-30%";this.hasAttribute("no-overlap")&&(e=t?"-345%":"110%",r="-60%"),a?.fromTo(this.cards,{x:e,y:0,opacity:0,roundProps:"x,y"},{x:e,y:r,opacity:1,roundProps:"x,y",onStart:()=>{this.isCardVisible=!0,this.setupVideo()},onReverseComplete:()=>{this.isCardVisible=!1,this.setupVideo()}},"<")}a?.scrollTrigger&&this.scrollTriggers.push(a.scrollTrigger),a&&this.setupFocusListener(a)}killScrollTriggerAnimation(){const t=[];this.scrollTriggers?.forEach((e=>{e.kill(!0);const r=e.animation;if(r)if(r instanceof this.gsap.core.Timeline)r.getChildren(!0,!0,!1).forEach((e=>{t.push(...e.targets())}));else if(r instanceof this.gsap.core.Tween){const e=r;t.push(...e.targets())}})),t.length>0&&this.gsap.set(t,{clearProps:"translate,rotate,scale,transform,opacity"}),this.scrollTriggers=[]}removeAnimation(){this.killScrollTriggerAnimation(),this.removeFocusListener(),this.isCardVisible=!0}setupFocusListener(t){this.headingFocusListener=()=>{this.gsap.to(window,{scrollTo:t?.scrollTrigger?.labelToScroll("navContainerEnd")})},this.headingLinks=this.linksElement?.shadowRoot?.querySelector("slot")?.assignedElements()||[];const e=Array.from(this.titleElement?.querySelectorAll("a")||[]),r=Array.from(this.paragraphElement?.querySelectorAll("a")||[]);this.headingLinks.push(...e,...r),this.headingLinks?.forEach((t=>{t.addEventListener("focus",this.headingFocusListener)})),this.cardFocusListener=()=>{this.gsap.to(this.tabbedFeatureElement,{duration:2,scrollTo:250})},this.cardHeadingSlots?.forEach((t=>{const e=t.querySelector('[slot="links"]')?.shadowRoot?.querySelector("slot")?.assignedElements()||[],r=t.querySelector('[slot="title"]'),i=t.querySelector('[slot="paragraph"]'),n=Array.from(r?.querySelectorAll("a")||[]),s=Array.from(i?.querySelectorAll("a")||[]);this.cardLinks.push(...e,...n,...s)})),this.cardLinks.forEach((t=>{t.addEventListener("focus",this.cardFocusListener)}))}removeFocusListener(){this.headingLinks?.forEach((t=>{t.removeEventListener("focus",this.headingFocusListener)})),this.cardLinks?.forEach((t=>{t.removeEventListener("focus",this.cardFocusListener)})),this.prevButton?.removeEventListener("focus",this.headingFocusListener)}setActiveVideo(t){if(this.activeVideo=null,t){const e=t.assignedNodes();if(e.length>0){const t=e[0];"VIDEO"===t.tagName&&(this.activeVideo=t)}}}resetActiveVideo(){this.playPromise?this.playPromise?.then((t=>{this.activeVideo?.pause(),this.resetActiveVideoHelper()})).catch((t=>{console.warn("Error: ",t)})):this.resetActiveVideoHelper()}resetActiveVideoHelper(){this.removeVideoEndListener(),this.setActiveVideo(this.activeAssetSlot),this.activeVideo?this.setupVideo():this.setPlayButtonVisibility(!1)}setupVideo(){this.activeVideo&&(this.activeVideo.autoplay=!1,this.activeVideo.currentTime=0,this.setupVideoEndListener(),!this.noAnimation&&this.isCardVisible?(this.playPromise=this.activeVideo.play(),this.updatePlayButtonState()):this.playPromise?this.playPromise?.then((t=>{this.pauseVideo()})).catch((t=>{console.warn("Error: ",t)})):this.pauseVideo(),this.setPlayButtonVisibility(!0))}pauseVideo(){this.activeVideo?.pause(),this.updatePlayButtonState()}removeVideoEndListener(){this.activeVideo?.removeEventListener("ended",this.videoEndListener)}setupVideoEndListener(){this.videoEndListener=()=>{this.updatePlayButtonState()},this.activeVideo?.addEventListener("ended",this.videoEndListener)}setPlayButtonVisibility(t){const e=this.playButton;e&&(t?e.classList.add("show"):e.classList.remove("show"))}toggleButtonIcons(t){const e=this.playButton?.querySelector(".play-icon"),r=this.playButton?.querySelector(".pause-icon");e&&(e.style.display=t?"inline-block":"none"),r&&(r.style.display=t?"none":"inline-block")}updatePlayButtonState(){this.activeVideo&&this.playButton&&(this.activeVideo.paused?(this.toggleButtonIcons(!0),this.playButton.title=this.msg("play"),this.playButton.ariaLabel=this.msg("play"),this.playButton.dataset.state="paused"):(this.toggleButtonIcons(!1),this.playButton.title=this.msg("pause"),this.playButton.ariaLabel=this.msg("pause"),this.playButton.dataset.state="playing"))}handlePlayButtonClick(){this.activeVideo&&this.playButton&&(this.activeVideo.paused?(this.playPromise=this.activeVideo.play(),this.updatePlayButtonState()):void 0!==this.playPromise&&this.playPromise?.then((t=>{this.activeVideo?.pause(),this.updatePlayButtonState()})).catch((t=>{console.warn("Error: ",t)})))}async checkAllLoaded(){if(this.cardsLoadedCount===this.total&&this.assetsLoadedCount===this.total&&this.blockHeadingLoaded&&this.slottedBlockHeadingElements?.length>0){this.cardsLoaded=!0,this.assetsLoaded=!0;const t=this.slottedBlockHeadingElements[0]?.tagName.toLowerCase();await customElements.whenDefined(t);const e=this.slottedBlockHeadingElements.filter((t=>t instanceof n.oi));await Promise.all([...e].map((t=>t.updateComplete))),this.setBlockHeadingElements(),this.setupScrollListener(!1),this.setupVideo(),await new Promise((t=>setTimeout(t,500))),this.setEqualHeight()}}setBlockHeadingElements(){this.blockHeading&&(this.eyebrowElement=this.blockHeading.querySelector('[slot="eyebrow"]'),this.titleElement=this.blockHeading.querySelector('[slot="title"]'),this.paragraphElement=this.blockHeading.querySelector('[slot="paragraph"]'),this.linksElement=this.blockHeading.querySelector('[slot="links"]'))}blockHeadingSlotChangeListener(t){const e=t.target;!this.blockHeadingLoaded&&e.assignedElements().length>0&&(this.blockHeading=e.assignedElements()[0],this.slottedBlockHeadingElements.push(this.blockHeading),this.blockHeadingLoaded=!0,this.checkAllLoaded())}assetSlotChangeListener(t,e){if(!this.assetsLoaded){const r=t.target;e==this.activeItemIndex&&this.setActiveVideo(r),this.loadedAssetSlots.has(r.name)||(this.loadedAssetSlots.add(r.name),this.assetsLoadedCount++),this.checkAllLoaded()}}cardSlotChangeListener(t){if(!this.cardsLoaded){const e=t.target,r=e.assignedElements();this.cardHeadingSlots.push(...r),this.slottedBlockHeadingElements.push(...r),this.loadedCardSlots.has(e.name)||(this.loadedCardSlots.add(e.name),this.cardsLoadedCount++),this.checkAllLoaded()}}appTabsSlotChangeListener(){this.appTabsSlot&&!this.appTabsLoaded&&(this.appTabsSlot.addEventListener("app-tabs-nav-click",(t=>{const e=t;this.activeItemIndex=e.detail.position})),this.handleMobileViewChange(),this.appTabsLoaded=!0)}renderBlockHeading(){return p`
`}renderAsset(t){return p`
${this.isMobileView?this.renderPlayButton():""}
`}renderCard(t){return p`
`}renderAssetContainer(){return p`
${Array.from({length:this.total},((t,e)=>p`
${this.renderAsset(e)} ${this.renderCard(e)}
`))} `}renderAppTabs(){return p` `}renderPlayIcon(){return p` `}renderPauseIcon(){return p` `}renderPlayButton(){return p`
`}render(){return p`
${this.renderBlockHeading()}
${this.renderAssetContainer()}
`}};Ua.styles=a,Ua.dict={play:"Play",pause:"Pause"},(0,t.gn)([(0,e.Cb)({attribute:"no-animation",type:Boolean})],Ua.prototype,"noAnimation",void 0),(0,t.gn)([(0,e.Cb)({attribute:"total",type:Number})],Ua.prototype,"total",void 0),(0,t.gn)([(0,e.Cb)({attribute:"reduce-motion",type:Boolean})],Ua.prototype,"reduceMotion",void 0),(0,t.gn)([(0,e.Cb)({attribute:"no-overlap",type:Boolean})],Ua.prototype,"noOverlap",void 0),(0,t.gn)([(0,e.SB)()],Ua.prototype,"activeItemIndex",void 0),(0,t.gn)([(0,e.SB)()],Ua.prototype,"isMobileView",void 0),(0,t.gn)([(0,e.SB)()],Ua.prototype,"isCardVisible",void 0),(0,t.gn)([(0,e.IO)(".tabbed-feature__block-heading")],Ua.prototype,"tabbedFeatureHeading",void 0),(0,t.gn)([(0,e.IO)(".nav-container")],Ua.prototype,"navContainer",void 0),(0,t.gn)([(0,e.Kt)(".asset-container")],Ua.prototype,"assetsContainer",void 0),(0,t.gn)([(0,e.IO)(".tabbed-feature")],Ua.prototype,"tabbedFeatureElement",void 0),(0,t.gn)([(0,e.Kt)(".tab-assets")],Ua.prototype,"tabAssets",void 0),(0,t.gn)([(0,e.IO)(".tab-assets-container")],Ua.prototype,"tabAssetsContainer",void 0),(0,t.gn)([(0,e.IO)(".tabbed-container-wrapper")],Ua.prototype,"tabbedContainerWrapper",void 0),(0,t.gn)([(0,e.IO)('.tab-assets.active slot[name$="-asset"]')],Ua.prototype,"activeAssetSlot",void 0),(0,t.gn)([(0,e.IO)('slot[name="app-tabs"]')],Ua.prototype,"appTabsSlot",void 0),(0,t.gn)([(0,e.Kt)(".tab-assets .card-container")],Ua.prototype,"cards",void 0),(0,t.gn)([(0,e.Kt)(".tab-assets .asset-container")],Ua.prototype,"assets",void 0),(0,t.gn)([(0,e.IO)(".tab-assets.active .play-button")],Ua.prototype,"playButtonMobile",void 0),(0,t.gn)([(0,e.IO)(".play-button")],Ua.prototype,"playButtonDesktop",void 0),Ua=(0,t.gn)([(0,m.M)("cascade-tabbed-feature")],Ua)})(),i})(),t.exports=e()}},e={};function r(i){var n=e[i];if(void 0!==n)return n.exports;var s=e[i]={exports:{}};return t[i](s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";r(1858)})()})(); var aniCommon = aniCommon || {}; "use strict"; (function () { // check if a JS file is already loaded var isFirstLoad = function isFirstLoad(nameSpace) { var isFirst = nameSpace.firstLoad === undefined; nameSpace.firstLoad = false; return isFirst; }; // if global.js is already loaded, don't run below code if (!isFirstLoad(aniCommon)) return; aniCommon.utility = function () { var delayCall = function delayCall(func, wait) { var anonyf = func; var period = wait; var timeOutFunctionId; return function () { clearTimeout(timeOutFunctionId); timeOutFunctionId = setTimeout(anonyf, period); }; }; var reducedAnimation = function reducedAnimation() { aniCommon.isReducedAnimation = window.matchMedia("(prefers-reduced-motion)").matches; if (aniCommon.isReducedAnimation === true) { $('body').addClass('animation-off'); } else { $('body').addClass('animation-on'); } return aniCommon.isReducedAnimation; }; return { delayCall: delayCall, reducedAnimation: reducedAnimation }; }(); aniCommon.isReducedAnimation = aniCommon.utility.reducedAnimation(); var mediaQuery = window.matchMedia('(prefers-reduced-motion: reduce)'); mediaQuery.addEventListener('change', () => { aniCommon.isReducedAnimation = aniCommon.utility.reducedAnimation(); }); })(); (function () { "use strict"; $(document).ready(function() { if (aniCommon.isReducedAnimation || !$("body").hasClass("animation-toggle")) { $("cascade-tabbed-feature").each(function() { $(this).attr("no-animation", ""); }); } setAttributes(); }); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.attributeName === "class") { var classList = $("body").attr("class").split(/\s+/); if (!classList.includes("animation-toggle")) { $("cascade-tabbed-feature").each(function() { $(this).attr("no-animation", ""); }); } else { setAttributes(true); } } }); }); observer.observe(document.body, { attributes: true }); }()); function setAttributes(removeAttribute = false) { const tabbedFeatureElements = document.querySelectorAll('.tabbed-feature-container'); tabbedFeatureElements.forEach(element => { const cascadeTabbedFeature = element.querySelector("cascade-tabbed-feature"); if (cascadeTabbedFeature) { if (element.hasAttribute('data-no-overlap')) { cascadeTabbedFeature.setAttribute("no-overlap", ""); } if (removeAttribute && !element.hasAttribute('data-reduced-motion')) { cascadeTabbedFeature.removeAttribute("no-animation"); } else if (element.hasAttribute('data-reduced-motion')) { cascadeTabbedFeature.setAttribute("no-animation", ""); } } }); } document.addEventListener('DOMContentLoaded', function() { var tabbedFeatureElements = document.querySelectorAll('.tabbed-feature-container'); tabbedFeatureElements.forEach(function(tabbedFeatureElement) { var inactiveTabTextColor = tabbedFeatureElement.getAttribute('data-inactive-tab-text-color'); var activeTabTextColor = tabbedFeatureElement.getAttribute('data-active-tab-text-color'); var activeTabGlowColor = tabbedFeatureElement.getAttribute('data-active-tab-glow-color'); var paddingDesktop = tabbedFeatureElement.getAttribute('data-padding-desktop'); var paddingMobile = tabbedFeatureElement.getAttribute('data-padding-mobile'); if (inactiveTabTextColor) { tabbedFeatureElement.style.setProperty('--ds-app-tabs-tab-title-color', inactiveTabTextColor); } if (activeTabTextColor) { tabbedFeatureElement.style.setProperty('--ds-app-tabs-active-tab-title-color', activeTabTextColor); } if (activeTabGlowColor) { tabbedFeatureElement.style.setProperty('--ds-app-tabs-tab-logo-glow-color', activeTabGlowColor); } tabbedFeatureElement.style.setProperty('--ds-tabbed-feature-container-padding', paddingDesktop ? paddingDesktop : '0 0 40px 0'); if (paddingMobile) { tabbedFeatureElement.style.setProperty('--ds-tabbed-feature-container-padding-mobile', paddingMobile); } var cardBorderBaseColor = tabbedFeatureElement.getAttribute('data-card-border-base-color'); var cardBorderGradient = tabbedFeatureElement.getAttribute('data-card-border-gradient-color'); var buttonBorderGradient = tabbedFeatureElement.getAttribute('data-button-border-gradient-color'); var backgroundGradient = tabbedFeatureElement.getAttribute('data-background-gradient'); var cardBackgroundGradient = tabbedFeatureElement.getAttribute('data-card-background-gradient'); var baseColor = tabbedFeatureElement.classList.contains('dark-theme') ? 'var(--dark-mode-background-color)' : 'white'; tabbedFeatureElement.style.setProperty('background', backgroundGradient); if (cardBorderBaseColor) { tabbedFeatureElement.style.setProperty('--ds-specs-and-stats-card-border-color', cardBorderBaseColor); } if (cardBorderGradient) { tabbedFeatureElement.style.setProperty('--ds-specs-and-stats-card-border-gradient', cardBorderGradient); } if (cardBackgroundGradient) { tabbedFeatureElement.style.setProperty('--ds-tabbed-feature-card-background', cardBackgroundGradient); } if (tabbedFeatureElement.classList.contains('button-border-gradient')) { var backgroundGradient = `linear-gradient(${baseColor}, ${baseColor})`; var gradient = `${backgroundGradient}, ${buttonBorderGradient}`; tabbedFeatureElement.style.setProperty('--ds-tabbed-feature-play-button-background-image', gradient); tabbedFeatureElement.style.setProperty('--ds-app-tabs-nav-button-background-image', gradient); } }); });