1/*! For license information please see Dashboard.9a0177e2.bundle.js.LICENSE.txt */ 2"use strict";(self.webpackChunkroxana=self.webpackChunkroxana||[]).push([[2561],{54460(e,n,t){t.d(n,{A:()=>i});var r,a=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o.apply(null,arguments)}const i=function(e){return a.createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=a.createElement("g",null,a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 7V6C5 4.89543 5.89543 4 7 4H21C22.1046 4 23 4.89543 23 6V14C23 15.1046 22.1046 16 21 16H20V18C20 19.1046 19.1046 20 18 20H4C2.89543 20 2 19.1046 2 18V9C2 7.89543 2.89543 7 4 7H5ZM20 14H21V6H7V7H18C19.1046 7 20 7.89543 20 9V14ZM4 9V18H18V9H4ZM9.30888 16.4129C8.97555 16.1725 8.90025 15.7074 9.14068 15.3741C9.38112 15.0407 9.84624 14.9654 10.1796 15.2059C10.8494 15.689 11.5116 15.5206 11.5116 14.9864C11.5116 14.865 11.3852 14.7705 10.7318 14.518L10.7153 14.5116C9.5015 14.0427 9.00005 13.6714 9.00005 12.6835C9.00005 11.7787 9.4982 11.2025 10.1755 10.9436V10.5C10.1755 10.2239 10.3993 10 10.6755 10H11.1638C11.4399 10 11.6638 10.2239 11.6638 10.5V10.8433C12.0092 10.9129 12.3482 11.0442 12.6525 11.2359C13.0002 11.4551 13.1044 11.9146 12.8853 12.2623C12.6662 12.61 12.2067 12.7142 11.859 12.4951C11.2523 12.1127 10.4884 12.2669 10.4884 12.6835C10.4884 12.7854 10.6098 12.8753 11.2517 13.1233L11.2682 13.1297C12.4881 13.601 12.9999 13.9838 12.9999 14.9864C12.9999 16.0023 12.4274 16.6415 11.6638 16.8733V16.9417C11.6638 17.2178 11.4399 17.4417 11.1638 17.4417H10.6755C10.3993 17.4417 10.1755 17.2178 10.1755 16.9417V16.847C9.87679 16.7546 9.58253 16.6103 9.30888 16.4129Z",fill:"currentColor"}))))}},12243(e,n,t){t.d(n,{A:()=>i});var r,a=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o.apply(null,arguments)}const i=function(e){return a.createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=a.createElement("g",null,a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H20C21.6569 4 23 5.34315 23 7V19C23 20.6569 21.6569 22 20 22H5C3.34315 22 2 20.6569 2 19V7C2 5.34315 3.34315 4 5 4H7V3C7 2.44772 7.44772 2 8 2C8.55228 2 9 2.44772 9 3V4H16V3C16 2.44772 16.4477 2 17 2C17.5523 2 18 2.44772 18 3V4ZM5 6C4.44772 6 4 6.44772 4 7V19C4 19.5523 4.44772 20 5 20H20C20.5523 20 21 19.5523 21 19V7C21 6.44772 20.5523 6 20 6H5ZM6.5 9H8.5C8.77614 9 9 9.22386 9 9.5V11.5C9 11.7761 8.77614 12 8.5 12H6.5C6.22386 12 6 11.7761 6 11.5V9.5C6 9.22386 6.22386 9 6.5 9ZM11.5 9H13.5C13.7761 9 14 9.22386 14 9.5V11.5C14 11.7761 13.7761 12 13.5 12H11.5C11.2239 12 11 11.7761 11 11.5V9.5C11 9.22386 11.2239 9 11.5 9ZM16.5 9H18.5C18.7761 9 19 9.22386 19 9.5V11.5C19 11.7761 18.7761 12 18.5 12H16.5C16.2239 12 16 11.7761 16 11.5V9.5C16 9.22386 16.2239 9 16.5 9ZM6.5 14H8.5C8.77614 14 9 14.2239 9 14.5V16.5C9 16.7761 8.77614 17 8.5 17H6.5C6.22386 17 6 16.7761 6 16.5V14.5C6 14.2239 6.22386 14 6.5 14ZM11.5 14H13.5C13.7761 14 14 14.2239 14 14.5V16.5C14 16.7761 13.7761 17 13.5 17H11.5C11.2239 17 11 16.7761 11 16.5V14.5C11 14.2239 11.2239 14 11.5 14ZM16.5 14H18.5C18.7761 14 19 14.2239 19 14.5V16.5C19 16.7761 18.7761 17 18.5 17H16.5C16.2239 17 16 16.7761 16 16.5V14.5C16 14.2239 16.2239 14 16.5 14Z",fill:"currentColor"}))))}},50610(e,n,t){t.d(n,{A:()=>i});var r,a=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o.apply(null,arguments)}const i=function(e){return a.createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=a.createElement("g",null,a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 22L2 17C1.43135 16.5398 0.960469 15.6225 1 15C0.960469 13.6225 2.32343 13.5964 3.24939 13.6C4.17535 13.6037 5.08366 13.8535 5.88105 14.3238L8.32932 11.4927L1.91064 7.41555C1.52398 7.10054 1.28924 6.63639 1.26476 6.1385C1.24028 5.6406 1.42837 5.1557 1.78226 4.80434L2.6442 3.94309C3.47052 3.28283 4.57684 3.08938 5.57846 3.43001C7.41237 3.85147 11.9971 5.26244 13.5651 5.7572L15.885 3.14598C17.3063 1.71668 20.1764 -0.106588 22.1387 1.86328C24.1009 3.83315 22.2854 6.69174 20.9008 8.07523L18.2416 10.4299C18.7368 11.9966 20.1489 16.5777 20.5707 18.4102C20.9116 19.411 20.718 20.5164 20.0572 21.3421L19.1952 22.2033C18.8511 22.5586 18.3688 22.746 17.8748 22.7164C17.3742 22.6882 16.907 22.4564 16.5819 22.075L16.5177 21.9834L12.5015 15.6615L9.7506 18.1353C10.2185 18.9328 10.4654 19.8404 10.4658 20.7648C10.4663 21.6893 10.3222 23.0271 9 23C8.32223 23.0271 7.38503 22.4429 7 22ZM3 16L8 21C8.07776 21.0906 9 22 9 21C9 20 8.25651 19.039 7.85251 18.4102L7.41237 17.7688L12.9141 12.9129L18 21L18.8468 20.0777C18.9843 19.9311 19.0577 19.4821 18.8926 18.7858C18.4067 16.6968 16.4535 10.4482 16.4352 10.3841L16.261 9.84353L19.7271 6.7742C19.7271 6.7742 22.1295 4.27293 20.9375 3.10933C19.7454 1.94574 17.2238 4.33707 17.2054 4.35539L14.1245 7.77288L13.5835 7.5988C13.5193 7.5988 7.26565 5.62893 5.175 5.14334C4.47811 4.97842 4.0288 5.05171 3.88209 5.18915L3 6L11.0802 11.0804L6.22033 16.5777L5.57846 16.1379C4.94831 15.722 4 15 3 15C2 15 2.92512 15.9216 3 16Z",fill:"currentColor"}))))}},81624(e,n,t){t.d(n,{A:()=>i});var r,a=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o.apply(null,arguments)}const i=function(e){return a.createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=a.createElement("g",null,a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6667 9.33333H21.625C22.3844 9.33333 23 9.94095 23 10.6905V20.6429C23 21.3924 22.3844 22 21.625 22H2.375C1.61561 22 1 21.3924 1 20.6429V4.35714C1 3.60761 1.61561 3 2.375 3H14.2917C15.0511 3 15.6667 3.60761 15.6667 4.35714V9.33333ZM10.1667 20.1905H13.8333V4.80952H2.83333V20.1905H6.5V18.8333C6.5 18.0838 7.11561 17.4762 7.875 17.4762H8.79167C9.55106 17.4762 10.1667 18.0838 10.1667 18.8333V20.1905Z
2M15.6667 11.1429V20.1905H21.1667V11.1429H15.6667ZM4.66667 12.0476H6.5C7.00626 12.0476 7.41667 12.4527 7.41667 12.9524V14.7619C7.41667 15.2616 7.00626 15.6667 6.5 15.6667H4.66667C4.16041 15.6667 3.75 15.2616 3.75 14.7619V12.9524C3.75 12.4527 4.16041 12.0476 4.66667 12.0476ZM10.1667 12.0476H12C12.5063 12.0476 12.9167 12.4527 12.9167 12.9524V14.7619C12.9167 15.2616 12.5063 15.6667 12 15.6667H10.1667C9.66041 15.6667 9.25 15.2616 9.25 14.7619V12.9524C9.25 12.4527 9.66041 12.0476 10.1667 12.0476ZM4.66667 6.61905H6.5C7.00626 6.61905 7.41667 7.02412 7.41667 7.52381V9.33333C7.41667 9.83302 7.00626 10.2381 6.5 10.2381H4.66667C4.16041 10.2381 3.75 9.83302 3.75 9.33333V7.52381C3.75 7.02412 4.16041 6.61905 4.66667 6.61905ZM10.1667 6.61905H12C12.5063 6.61905 12.9167 7.02412 12.9167 7.52381V9.33333C12.9167 9.83302 12.5063 10.2381 12 10.2381H10.1667C9.66041 10.2381 9.25 9.83302 9.25 9.33333V7.52381C9.25 7.02412 9.66041 6.61905 10.1667 6.61905ZM16.95 12.0476H19.8833C20.0858 12.0476 20.25 12.2096 20.25 12.4095V15.3048C20.25 15.5046 20.0858 15.6667 19.8833 15.6667H16.95C16.7475 15.6667 16.5833 15.5046 16.5833 15.3048V12.4095C16.5833 12.2096 16.7475 12.0476 16.95 12.0476Z",fill:"currentColor"}))))}},51680(e,n,t){t.d(n,{Z:()=>p}),t(52675),t(89463),t(16280),t(76918),t(94170),t(59904),t(84185),t(40875),t(10287),t(26099),t(3362);var r=t(63064),a=t(21154),o=t(71468),i=t(130),l=t(24375),c=t(43405);function s(){var e,n,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",a=t.toStringTag||"@@toStringTag";function o(t,r,a,o){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return u(s,"_invoke",function(t,r,a){var o,l,c,s=0,u=a||[],d=!1,p={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(n,t){return o=n,l=0,c=e,p.n=t,i}};function f(t,r){for(l=t,c=r,n=0;!d&&s&&!a&&n<u.length;n++){var a,o=u[n],f=p.p,y=o[2];t>3?(a=y===r)&&(c=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=f&&((a=t<2&&f<o[1])?(l=0,p.v=r,p.n=o[1]):f<y&&(a=t<3||o[0]>r||r>y)&&(o[4]=t,o[5]=r,p.n=y,l=0))}if(a||t>1)return i;throw d=!0,r}return function(a,u,y){if(s>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,y),l=u,c=y;(n=l<2?e:c)||!d;){o||(l?l<3?(l>1&&(p.n=-1),f(l,c)):p.n=c:p.v=c);try{if(s=2,o){if(l||(a="next"),n=o[a]){if(!(n=n.call(o,c)))throw TypeError("iterator result is not an object");if(!n.done)return n;c=n.value,l<2&&(l=0)}else 1===l&&(n=o.return)&&n.call(o),l<2&&(c=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((n=(d=p.n<0)?c:t.call(r,p))!==i)break}catch(n){o=e,l=1,c=n}finally{s=1}}return{value:n,done:d}}}(t,a,o),!0),s}var i={};function l(){}function c(){}function d(){}n=Object.getPrototypeOf;var p=[][r]?n(n([][r]())):(u(n={},r,function(){return this}),n),f=d.prototype=l.prototype=Object.create(p);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,a,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=d,u(f,"constructor",d),u(d,"constructor",c),c.displayName="GeneratorFunction",u(d,a,"GeneratorFunction"),u(f),u(f,a,"Generator"),u(f,r,function(){return this}),u(f,"toString",function(){return"[object Generator]"}),(s=function(){return{w:o,m:y}})()}function u(e,n,t,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}u=function(e,n,t,r){function o(n,t){u(e,n,function(e){return this._invoke(n,t,e)})}n?a?a(e,n,{value:t,enumerable:!r,configurable:!r,writable:!r}):e[n]=t:(o("next",0),o("throw",1),o("return",2))},u(e,n,t,r)}function d(e,n,t,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return void t(e)}l.done?n(c):Promise.resolve(c).then(r,a)}var p=function(){var e,n,t=(0,o.d4)(l.rX),u=(0,o.d4)(l.MS),p=(0,o.d4)(l.h2),f=(0,r.jE)();return(0,a.n)({mutationFn:function(e){return(0,i.aC)(t,e,u)},onSuccess:(e=s().m(function e(n){return s().w(function(e){for(;;)switch(e.n){case 0:return null!=n&&n.currentTier&&f.setQueryData([c.a,null==p?void 0:p.userHash,u],n),e.n=1,f.invalidateQueries({queryKey:[c.a]});case 1:return e.a(2)}},e)}),n=function(){var n=this,t=arguments;return new Promise(function(r,a){var o=e.apply(n,t);function i(e){d(o,r,a,i,l,"next",e)}function l(e){d(o,r,a,i,l,"throw",e)}i(void 0)})},function(e){return n.apply(this,arguments)})})}},87997(e,n,t){t.d(n,{G:()=>p}),t(52675),t(89463),t(16280),t(76918),t(94170),t(59904),t(84185),t(40875),t(10287),t(26099),t(3362);var r=t(63064),a=t(21154),o=t(71468),i=t(130),l=t(24375),c=t(43405);function s(){var e,n,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",a=t.toStringTag||"@@toStringTag";function o(t,r,a,o){var c=r&&r.prototype instanceof l?r:l,s=Object.create(c.prototype);return u(s,"_invoke",function(t,r,a){var o,l,c,s=0,u=a||[],d=!1,p={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(n,t){return o=n,l=0,c=e,p.n=t,i}};function f(t,r){for(l=t,c=r,n=0;!d&&s&&!a&&n<u.length;n++){var a,o=u[n],f=p.p,y=o[2];t>3?(a=y===r)&&(c=o[(l=o[4])?5:(l=3,3)],o[4]=o[5]=e):o[0]<=f&&((a=t<2&&f<o[1])?(l=0,p.v=r,p.n=o[1]):f<y&&(a=t<3||o[0]>r||r>y)&&(o[4]=t,o[5]=r,p.n=y,l=0))}if(a||t>1)return i;throw d=!0,r}return function(a,u,y){if(s>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,y),l=u,c=y;(n=l<2?e:c)||!d;){o||(l?l<3?(l>1&&(p.n=-1),f(l,c)):p.n=c:p.v=c);try{if(s=2,o){if(l||(a="next"),n=o[a]){if(!(n=n.call(o,c)))throw TypeError("iterator result is not an object");
2if(!n.done)return n;c=n.value,l<2&&(l=0)}else 1===l&&(n=o.return)&&n.call(o),l<2&&(c=TypeError("The iterator does not provide a '"+a+"' method"),l=1);o=e}else if((n=(d=p.n<0)?c:t.call(r,p))!==i)break}catch(n){o=e,l=1,c=n}finally{s=1}}return{value:n,done:d}}}(t,a,o),!0),s}var i={};function l(){}function c(){}function d(){}n=Object.getPrototypeOf;var p=[][r]?n(n([][r]())):(u(n={},r,function(){return this}),n),f=d.prototype=l.prototype=Object.create(p);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,a,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=d,u(f,"constructor",d),u(d,"constructor",c),c.displayName="GeneratorFunction",u(d,a,"GeneratorFunction"),u(f),u(f,a,"Generator"),u(f,r,function(){return this}),u(f,"toString",function(){return"[object Generator]"}),(s=function(){return{w:o,m:y}})()}function u(e,n,t,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}u=function(e,n,t,r){function o(n,t){u(e,n,function(e){return this._invoke(n,t,e)})}n?a?a(e,n,{value:t,enumerable:!r,configurable:!r,writable:!r}):e[n]=t:(o("next",0),o("throw",1),o("return",2))},u(e,n,t,r)}function d(e,n,t,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return void t(e)}l.done?n(c):Promise.resolve(c).then(r,a)}var p=function(){var e,n,t=(0,o.d4)(l.rX),u=(0,o.d4)(l.MS),p=(0,o.d4)(l.h2),f=(0,r.jE)();return(0,a.n)({mutationFn:function(){return(0,i.pw)(t,u)},onSuccess:(e=s().m(function e(n){return s().w(function(e){for(;;)switch(e.n){case 0:return null!=n&&n.currentTier&&f.setQueryData([c.a,null==p?void 0:p.userHash,u],n),e.n=1,f.invalidateQueries({queryKey:[c.a]});case 1:return e.a(2)}},e)}),n=function(){var n=this,t=arguments;return new Promise(function(r,a){var o=e.apply(n,t);function i(e){d(o,r,a,i,l,"next",e)}function l(e){d(o,r,a,i,l,"throw",e)}i(void 0)})},function(e){return n.apply(this,arguments)})})}},47851(e,n,t){t.d(n,{a:()=>c,n:()=>s});var r=t(78317),a=t(27133),o=t(96540),i=t(71468),l=t(24375),c={homeSignUp:{category:"loyalty_home_signup",object:"loyalty_signup"},homeBanner:{category:"loyalty_home_banner",object:"loyalty_banner"},dashboardJoin:{category:"account_consent",object:"account_join_cta"},consentJoin:{category:"loyalty_sheet",object:"loyalty_consent"},srpBanner:{category:"loyalty_srp_banner",object:"loyalty_banner"},srpSignUp:{category:"loyalty_srp_signup",object:"loyalty_signup"},srpBadge:{category:"loyalty_srp_badge",object:"loyalty_badge"},hdpBadge:{category:"loyalty_hdp_badge",object:"loyalty_badge"},hdpSignUp:{category:"loyalty_hdp_signup",object:"loyalty_signup"},hdpBanner:{category:"loyalty_hdp_banner",object:"loyalty_banner"}},s=function(e){var n=(0,i.d4)(l.h2);return(0,o.useCallback)(function(t){var o=(0,r.Ri)("wego_analytics_client_id"),i=(0,r.Ri)("wego_analytics_client_session_id");o&&i&&e&&(0,a.lI)("https://srv.wego.com",o,i,null==n?void 0:n.userHash,{id:e,category:t.category,object:t.object,action:"clicked",value:""})},[e,null==n?void 0:n.userHash])}},15819(e,n,t){t.d(n,{A:()=>w}),t(52675),t(89463),t(2259),t(16280),t(76918),t(23418),t(64346),t(23792),t(62062),t(34782),t(26910),t(23288),t(62010),t(26099),t(27495),t(90906),t(38781),t(47764),t(62953);var r=t(44016),a=t(91044),o=t(75743),i=t(96540),l=t(71468),c=t(7502),s=t(42469),u=t(52e3),d=t(55479),p=t(54460),f=t(12243),y=t(50610),v=t(81624),h=t(63592),C=t(24375);const g="dexUp9vSBI4i7TOU_AOP";var m=t(74848);function b(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}const w=function(e){var n,t=e.isOpen,w=e.onClose,j=e.ctaLabel,_=e.onCtaAction,x=(0,l.d4)(C.YH),V=(0,l.d4)(C.MS),H=(0,l.d4)(C.GY),L=(0,h.r)().data,O=(0,i.useMemo)(function(){return L?(e=L,function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return b(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?b(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).sort(function(e,n){return e.id-n.id}):[];var e},[L]),N=O[O.length-1],A=null!==(n=(0,u.oQ)(N,"HOTEL"))&&void 0!==n?n:(0,u.nv)(N),M=[{key:"flights",Icon:y.A,label:x.go_loyalty_perk_flights_discount,badge:x.go_loyalty_perk_special_rates},{key:"hotels",Icon:v.A,label:x.go_loyalty_perk_hotels_discount,badge:null===A?"":(0,r.sS)(x.go_loyalty_perk_up_to_x,V,A)},{key:"every-booking",Icon:f.A,label:x.go_loyalty_perk_every_booking_counts,badge:""},{key:"add-ons",Icon:p.A,label:x.go_loyalty_perk_free_add_ons,badge:""}];return(0,m.jsx)(c.A,{isOpen:t,onClose:w,portal:!0,lazyRender:!0,dir:H?"rtl":"ltr",children:(0,m.jsxs)("div",{className:"IOkwIUsOJ7tj25ItnHmz",children:[(0,m.jsx)("span",{className:"KijfEdmBWj_RqgOSVIaM",children:(0,m.jsx)(a.K,{variant:"tertiary-medium",icon:(0,m.jsx)(d.A,{}),"aria-label":x.close,onClick:w})}),(0,m.jsxs)("div",{className:"UFiQV8JjNrUwPF5rplwg",children:[(0,m.jsx)("img",{src:s.kj,alt:"",className:"jQQE7zJoPCKTNcwpxgtt","aria-hidden":!0}),(0,m.jsxs)("h3",{className:"xL4agWLVoo_hIpv1xywY",children:[(0,m.jsx)("span",{className:g,children:x.go_loyalty_signup_sheet_title}),(0,m.jsx)("span",{className:g,children:x.go_loyalty_signup_sheet_tagline})]}),(0,m.jsx)("p",{className:"iLOWVE_MxGHCf4kjscMu",children:x.go_loyalty_signup_sheet_subtitle})]}),(0,m.jsx)("ul",{className:"U7psSVVeKq5JKVwrUYId",children:M.map(function(e){var n=e.key,t=e.Icon,r=e.label,a=e.badge;return(0,m.jsxs)("li",{className:"wPoM5ZmTTm8OPbbLOTHZ",children:[(0,m.jsxs)("div",{className:"H0a0PvljmAuntoEBwB3L",children:[(0,m.jsx)(t,{className:"LcHvJwIrZ8uZsPKPEDpk","aria-hidden":!0}),!!a&&(0,m.jsx)("span",{className:"dHVvrYzOQ2O37GgWVCQh",children:a})]}),(0,m.jsx)("p",{className:"MfmBawAKgMAjHPiVYxxr",children:r})]},n)})}),!!j&&!!_&&(0,m.jsx)("div",{className:"zXB0t5KVF19QjnQLNThA",children:(0,m.jsx)(o.$,{variant:"primary-large",fullWidth:!0,onClick:_,children:j})})]})})}},13437(e,n,t){t.r(n),t.d(n,{default:()=>Q}),t(28706),t(27495),t(5746);var r=t(71468),a=t(78106),o=(t(52675),t(89463),t(21565));var i=t(74848);const l=function(e){var n=e.title,t=e.icon,r=e.description,a=e.onClick,l=e.chevronColor;return(0,i.jsxs)("div",{className:"t29U2V1cG7GfK0_eYI6e",onClick:a,children:[t,(0,i.jsxs)("div",{className:"RxLf
2CnTwQjUMaZRseqqF",children:[(0,i.jsx)("h4",{className:"jBaCqO3LJt_joxpNXjOk",children:n}),(0,i.jsxs)("div",{className:"gRDCicXUFOe62ulDfbDq",children:[(0,i.jsx)("p",{className:"kdggj0awB8PqmcVFxVLJ",children:r}),(0,i.jsx)(o.A,{className:"dRStyksClHLpvr4iAG3Z",color:l})]})]})]})};var c,s=t(71874),u=t(69575),d=t(96540);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},p.apply(null,arguments)}const f=function(e){return d.createElement("svg",p({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),c||(c=d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9282 14.2243C13.9709 12.9367 15.86 12.7383 17.1476 13.781L17.1879 13.8142L18.7195 15.0994C19.9732 16.1513 20.1525 18.0139 19.1225 19.2856L19.0525 19.3634L16.9254 21.4905C16.0641 22.3518 14.7674 22.6068 13.644 22.1358C11.1895 21.1065 8.93058 19.5586 6.8706 17.4986C4.81061 15.4386 3.26267 13.1797 2.23343 10.7251C1.76243 9.60177 2.01743 8.30512 2.87877 7.44379L5.00585 5.3167L5.08361 5.24668C6.35536 4.21676 8.21788 4.39607 9.26979 5.64969L10.555 7.18131C11.62 8.45054 11.4544 10.3428 10.1852 11.4078L10.1449 11.441L9.75992 11.7528C10.1862 12.279 10.6373 12.78 11.1132 13.256C11.5892 13.732 12.0902 14.183 12.6164 14.6093L12.9282 14.2243ZM17.434 16.6315L15.9023 15.3463L15.8889 15.3353C15.4597 14.9877 14.83 15.0538 14.4824 15.483L13.5564 16.6265C13.2206 17.0412 12.6183 17.1191 12.188 16.8036C11.2994 16.152 10.4697 15.4408 9.69903 14.6702C8.92838 13.8995 8.21718 13.0698 7.56567 12.1813C7.25012 11.7509 7.32806 11.1486 7.74275 10.8128L8.88619 9.8868L8.89963 9.87572C9.32271 9.52072 9.37789 8.88996 9.02289 8.46689L7.7377 6.93527C7.39644 6.52856 6.79923 6.46107 6.37672 6.77426L4.29298 8.858C4.00587 9.14511 3.92087 9.57734 4.07786 9.95178C5.00403 12.1606 6.40412 14.2037 8.28481 16.0844C10.1655 17.9651 12.2086 19.3652 14.4174 20.2913C14.7919 20.4484 15.2241 20.3634 15.5112 20.0763L17.595 17.9925C17.9081 17.57 17.8407 16.9728 17.434 16.6315ZM22.3935 11C22.3935 11.5523 21.9457 12 21.3935 12C20.8412 12 20.3935 11.5523 20.3935 11C20.3935 7.13401 17.2595 4 13.3935 4C12.8412 4 12.3935 3.55228 12.3935 3C12.3935 2.44772 12.8412 2 13.3935 2C18.364 2 22.3935 6.02944 22.3935 11ZM18.3935 11C18.3935 11.5523 17.9457 12 17.3935 12C16.8412 12 16.3935 11.5523 16.3935 11C16.3935 9.34315 15.0503 8 13.3935 8C12.8412 8 12.3935 7.55228 12.3935 7C12.3935 6.44772 12.8412 6 13.3935 6C16.1549 6 18.3935 8.23858 18.3935 11Z",fill:"currentColor"})))};var y=t(94158),v=t(24375);var h=t(10619),C=t(75993),g=t(52e3),m=t(51680),b=t(43405),w=t(63592),j=t(87997),_=t(19649),x=(t(2259),t(16280),t(76918),t(23418),t(64346),t(23792),t(44114),t(34782),t(23288),t(62010),t(26099),t(90906),t(38781),t(47764),t(62953),t(91044)),V=t(75743),H=t(54140),L=t(7252),O=t(47851),N=t(15819);const A="cPOLvBZpdHD0VdarbgJ0",M="W5zIh7r1HpWos3k3ccKx",S="LJFLrpAB4sAhNEWghzOT",k="JTzIBMDTOUBYAaMVjGrg",E="S72vQPK3FHf_dDD95pt5",Z="InBMMRbyfSuEKCIDEdnf",T="fbh1QFxyFKv_ULggWevI",I="ek8PnQaxaSwPyuAXoufp";function P(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}const B=function(e){var n,t,o,l=e.onJoin,c=e.isJoining,s=(0,r.d4)(v.YH),u=(t=(0,d.useState)(!1),o=2,function(e){if(Array.isArray(e))return e}(t)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=o.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(t,o)||function(e,n){if(e){if("string"==typeof e)return P(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?P(e,n):void 0}}(t,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),p=u[0],f=u[1],y=(null!==(n=(0,a.KC)())&&void 0!==n?n:{}).pageViewId,h=(0,O.n)(y);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:A,children:[(0,i.jsxs)("div",{className:M,children:[(0,i.jsx)("span",{className:S,"aria-hidden":!0,
2children:(0,i.jsx)(H.A,{})}),(0,i.jsx)("h4",{className:k,children:s.go_loyalty_dashboard_join_title}),(0,i.jsx)("span",{className:E,children:(0,i.jsx)(x.K,{variant:"tertiary-medium",icon:(0,i.jsx)(L.A,{className:Z}),"aria-label":s.go_loyalty_dashboard_info_aria,onClick:function(){return f(!0)}})})]}),(0,i.jsx)("p",{className:T,children:s.go_loyalty_member_price_join_body}),(0,i.jsx)("span",{className:I,children:(0,i.jsx)(V.$,{variant:"tertiary-large",onClick:function(){h(O.a.dashboardJoin),l()},loading:c,fullWidth:!0,children:s.go_loyalty_join_cta})})]}),(0,i.jsx)(N.A,{isOpen:p,onClose:function(){return f(!1)}})]})};var R=t(75904),F=(t(50113),t(98992),t(72577),t(44016));function G(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}const U=function(e){var n,t,a,o=e.invite,l=e.onAccept,c=e.isAccepting,s=(0,r.d4)(v.YH),u=(0,r.d4)(v.MS),p=(0,w.r)().data,f=(t=(0,d.useState)(!1),a=2,function(e){if(Array.isArray(e))return e}(t)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=o.call(t)).done)&&(l.push(r.value),l.length!==n);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(t,a)||function(e,n){if(e){if("string"==typeof e)return G(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?G(e,n):void 0}}(t,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=f[0],h=f[1],C=(0,d.useMemo)(function(){var e;if(!p)return null;var n=function(e,n){var t;if("number"==typeof e.targetTierId)return e.targetTierId;if("number"==typeof e.targetTier)return e.targetTier;var r=n.find(function(n){return n.title===e.targetTier});return null!==(t=null==r?void 0:r.id)&&void 0!==t?t:null}(o,p);return null!==n&&null!==(e=p.find(function(e){return e.id===n}))&&void 0!==e?e:null},[p,o]),m="string"==typeof o.targetTier?o.targetTier:null!==(n=null==C?void 0:C.title)&&void 0!==n?n:"",b=C?(0,F.sS)(s.go_loyalty_goodwill_upgrade_body,u,m,C.validityMonths):"",j=(0,F.sS)(s.go_loyalty_goodwill_upgrade_accept_cta,u,m),_=(0,g.nv)(C),O=C&&null!==_?(0,F.sS)(s.go_loyalty_goodwill_upgrade_disclaimer,u,m,_):"";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:A,children:[(0,i.jsxs)("div",{className:M,children:[(0,i.jsx)("span",{className:S,"aria-hidden":!0,children:(0,i.jsx)(H.A,{})}),(0,i.jsx)("h4",{className:k,children:s.go_loyalty_goodwill_upgrade_title}),(0,i.jsx)("span",{className:E,children:(0,i.jsx)(x.K,{variant:"tertiary-medium",icon:(0,i.jsx)(L.A,{className:Z}),"aria-label":s.go_loyalty_dashboard_info_aria,onClick:function(){return h(!0)}})})]}),(0,i.jsx)("p",{className:T,children:b}),(0,i.jsx)("span",{className:I,children:(0,i.jsx)(V.$,{variant:"tertiary-large",onClick:function(){return l(o.code)},loading:c,fullWidth:!0,children:j})}),O?(0,i.jsx)("p",{className:"LxdQMORNgWdyrv6A2mxE",children:O}):null]}),(0,i.jsx)(N.A,{isOpen:y,onClose:function(){return h(!1)}})]})};var z=t(56095);const D="cenTqdDtw2dERkoxCG6w",K=function(){var e,n,t=(0,r.d4)(v.YH),o=(0,r.d4)(v.h2),l=(0,_.Nc)().isActive,c=(0,b.y)(),s=c.data,u=c.isLoading,p=(0,w.r)().isLoading,f=(0,a.Zp)(),y=(0,a.zy)(),x=y.pathname,V=y.search,H=(0,j.G)(),L=(0,m.Z)(),O=(0,d.useCallback)(function(){return f((0,g.Uz)(x,V))},[f,x,V]),N=(0,d.useCallback)(function(){H.isLoading||H.mutate(void 0,{onSuccess:O})},[O,H]),A=(0,d.useCallback)(function(e){L.isLoading||L.mutate(e,{onSuccess:O})},[L,O]);if(!l)return null;var M=!!o&&u,S=!(null==s||!s.currentTier),k=null!==(e=null==s||null===(n=s.pendingInvites)||void 0===n?void 0:n[0])&&void 0!==e?e:null,E=!!k&&p,Z=!M&&!E&&!!k,T=!M&&!S&&!k,I=!S;return(0,i.jsxs)("section",{children:[(0,i.jsx)("h3",{className:"rFQAWWv9DoDQaFbWhQPp",children:t.go_loyalty_dashboard_section_title}),Z&&k?(0,i.jsx)("div",{className:D,children:(0,i.jsx)(U,{invite:k,onAccept:A,isAccepting:L.isLoading})}):E?(0,i.jsx)("div",{className:D,children:(0,i.jsx)(C.A,{width:"100%",height:172,borderRadius:16})}):null,(0,i.jsx)("div",{className:(0,h.$)("tYfJjPYgDfz_YBtibRCC",(I||M)&&"hRlJ1yUt8fIQgMaogOOC"),children:M?(0,i.jsx)(C.A,{width:"100%",height:172,borderRadius:16}):S&&s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(R.A,{membership:s}),(0,i.jsx)(z.A,{membership:s})]}):T?(0,i.jsx)(B,{onJoin:N,isJoining:H.isLoading}):null})]})},Q=function(){var e,n=(0,a.zy)(),t=n.pathname,o=n.search,c=(0,r.d4)(v.Y$),d=(0,a.Zp)(),p=(0,r.d4)(v.v9),h=(0,r.d4)(v.MS),C=(0,r.d4)(v.YH),g=(0,r.d4)(v.Ke),m=(0,u.l)(g.countryCode)&&!!c,b=(0,s.GP)((null==c||null===(e=c.ledgerUsd)||void 0===e?void 0:e.availableBalance)||0,p,h);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(K,{}),(0,i.jsxs)("section",{className:"wzXlEduYdy5mOoNsxO7A",children:[(0,i.jsx)("h3",{className:"Rs3KHB6U7E8rgOwq3s3U",children:C.shortcuts}),(0,i.jsxs)("div",{className:"DL3NujHSIuGB6_vd9BNi",children:[m&&(0,i.jsx)(l,{onClick:function(){return d("".concat(t,"/profile/wallet").concat(o))},title:C.wallet,description:(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"xucfNCW94XLoRdTSBfAw",children:C.available_balance}),(0,i.jsxs)("p",{className:"LYMGfsor6PXIppDgV05n",children:["USD ",null!=b?b:"0.00"]})]}),icon:(0,i.jsx)(y.A,{}),chevronColor:"#44B50C"}),(0,i.jsx)(l,{onClick:function(){return d("".concat(t,"/help/contact-us").concat(o))},title:C.contact_us,description:C.contact_us_description,icon:(0,i.jsx)(f,{}),chevronColor:"#44B50C"})]})]})]})}},91044(e,n,t){t.d(n,{K:()=>s});var r=t(74848),a=t(71918),o=t(96540);const i=(0,t(80097).F)("wp:inline-flex wp:items-center wp:justify-center focus-visible:wp:outline-2 focus-visible:wp:outline-offset-2 focus-visible:wp-outline-line-active wp:[&>svg]:shrink-0",{variants:{subVariant:{primary:"wp-cta-primary wp-txt-inverse-still wp:rounded-full wp:border-0 hover:wp-cta-primary-tap",secondary:"wp-cta-inverse wp-txt-active-primary wp:border-[2px] wp-line-selected wp:rounded-full hover:wp-cta-secondary-tap",tertiary:"wp-cta-inverse wp-txt-primary wp:rounded-full wp:border-0 hover:wp-cta-optional-tap",o
2ptional:"wp-cta-inverse wp-txt-primary wp:rounded-full wp:border-[2px] wp-line-inactive hover:wp-cta-optional-tap hover:wp-line-active",destructive:"wp-cta-destructive wp-txt-inverse-still wp:rounded-full wp:border-0 hover:wp-cta-destructive-tap"},size:{large:"wp:[&>svg]:size-5",medium:"wp:[&>svg]:size-4"},disabled:{true:"disabled:wp-txt-disabled disabled:wp-ic-disabled disabled:wp:outline-none wp:cursor-not-allowed",false:"wp:cursor-pointer"},loading:{true:"wp:cursor-wait"}},compoundVariants:[{subVariant:["primary","secondary","tertiary","optional","destructive"],disabled:!0,class:"disabled:wp-cta-optional-tap"},{subVariant:["primary","tertiary","destructive"],size:"large",class:"wp:p-[14px]"},{subVariant:["primary","tertiary","destructive"],size:"medium",class:"wp:p-[10px]"},{subVariant:["secondary","optional"],size:"large",class:"wp:p-[12px] disabled:wp:border-[2px] disabled:wp-line-divider"},{subVariant:["secondary","optional"],size:"medium",class:"wp:p-[8px] disabled:wp:border-[2px] disabled:wp-line-divider"}]}),l=e=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},o.createElement("title",null,"loading icon"),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 18C15.8137 18 18.5 15.3137 18.5 12C18.5 8.68629 15.8137 6 12.5 6C9.18629 6 6.5 8.68629 6.5 12C6.5 15.3137 9.18629 18 12.5 18ZM12.5 22C18.0228 22 22.5 17.5228 22.5 12C22.5 6.47715 18.0228 2 12.5 2C6.97715 2 2.5 6.47715 2.5 12C2.5 17.5228 6.97715 22 12.5 22Z",fill:"#DFDFDF"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 5.999C13.2881 5.999 14.0684 6.15422 14.7965 6.4558C15.5246 6.75738 16.1861 7.19941 16.7433 7.75666C17.3006 8.3139 17.7426 8.97544 18.0442 9.70352C18.3458 10.4316 18.501 11.2119 18.501 12H22.5C22.5 10.6868 22.2413 9.38642 21.7388 8.17317C21.7148 8.11519 21.6902 8.05746 21.6652 8C21.1654 6.85495 20.4553 5.81314 19.5711 4.92893
2C18.6869 4.04472 17.6451 3.33459 16.5 2.83485C16.4425 2.80977 16.3848 2.78522 16.3268 2.7612C15.1136 2.25866 13.8132 2 12.5 2V5.999Z",fill:"#44B50C"})),c=(0,o.forwardRef)(function(e,n){const{icon:t,variant:c="primary-large","aria-label":s,"aria-labelledby":u,disabled:d=!1,loading:p=!1,onClick:f,type:y="button"}=e,v=d||p,h=(0,o.useMemo)(()=>c.split("-")[0],[c]),C=(0,o.useMemo)(()=>c.split("-")[1],[c]),g=p?(0,r.jsx)(l,{className:"wp:animate-spin"}):t;return(0,r.jsx)("button",{ref:n,type:y,onClick:f,className:(0,a.$)(i({subVariant:h,size:C,disabled:v,loading:p})),disabled:v,"aria-label":s,"aria-labelledby":u,children:g})});c.displayName="IconButton";const s=c}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.