@everymatrix/casino-wagering-bonuses-controller 1.4.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,13 +25,13 @@ const N=new Set;let $=0;// Do *not* move this inside the flush() function
25
25
  function D(){const e=l;do{
26
26
  // first, call beforeUpdate functions
27
27
  // and update components
28
- for(;$<L.length;){const e=L[$];$++,_(e),U(e.$$)}for(_(null),L.length=0,$=0;P.length;)P.pop()();
28
+ for(;$<L.length;){const e=L[$];$++,_(e),k(e.$$)}for(_(null),L.length=0,$=0;P.length;)P.pop()();
29
29
  // then, once components are updated, call
30
30
  // afterUpdate functions. This may cause
31
31
  // subsequent updates...
32
32
  for(let e=0;e<R.length;e+=1){const t=R[e];N.has(t)||(
33
33
  // ...so guard against infinite loops
34
- N.add(t),t())}R.length=0}while(L.length);for(;I.length;)I.pop()();M=!1,N.clear(),_(e)}function U(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(x)}}const k=new Set;function F(e,t){const n={},r={},o={$$scope:1};let i=e.length;for(;i--;){const s=e[i],a=t[i];if(a){for(const e in s)e in a||(r[e]=1);for(const e in a)o[e]||(n[e]=a[e],o[e]=1);e[i]=a}else for(const e in s)o[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function G(e,t){-1===e.$$.dirty[0]&&(L.push(e),M||(M=!0,O.then(D)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function V(t,s,a,c,u,h,p,d=[-1]){const g=l;_(t);const m=t.$$={fragment:null,ctx:null,
34
+ N.add(t),t())}R.length=0}while(L.length);for(;I.length;)I.pop()();M=!1,N.clear(),_(e)}function k(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(x)}}const U=new Set;function F(e,t){const n={},r={},o={$$scope:1};let i=e.length;for(;i--;){const s=e[i],a=t[i];if(a){for(const e in s)e in a||(r[e]=1);for(const e in a)o[e]||(n[e]=a[e],o[e]=1);e[i]=a}else for(const e in s)o[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function G(e,t){-1===e.$$.dirty[0]&&(L.push(e),M||(M=!0,O.then(D)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function V(t,s,a,c,u,h,p,d=[-1]){const g=l;_(t);const m=t.$$={fragment:null,ctx:null,
35
35
  // state
36
36
  props:h,update:e,not_equal:u,bound:r(),
37
37
  // lifecycle
@@ -43,7 +43,7 @@ m.fragment=!!c&&c(m.ctx),s.target){if(s.hydrate){const e=function(e){return Arra
43
43
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
44
44
  m.fragment&&m.fragment.l(e),e.forEach(f)}else
45
45
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
46
- m.fragment&&m.fragment.c();s.intro&&((y=t.$$.fragment)&&y.i&&(k.delete(y),y.i(v))),function(e,t,r,s){const{fragment:a,on_mount:l,on_destroy:c,after_update:u}=e.$$;a&&a.m(t,r),s||
46
+ m.fragment&&m.fragment.c();s.intro&&((y=t.$$.fragment)&&y.i&&(U.delete(y),y.i(v))),function(e,t,r,s){const{fragment:a,on_mount:l,on_destroy:c,after_update:u}=e.$$;a&&a.m(t,r),s||
47
47
  // onMount happens before the initial afterUpdate
48
48
  x((()=>{const t=l.map(n).filter(i);c?c.push(...t):
49
49
  // Edge case - component was destroyed immediately,
@@ -60,7 +60,7 @@ n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=e}$on(e,t){
60
60
  const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const Z=e=>K[e]
61
61
  /* eslint-disable quote-props */,K={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};
62
62
  /* ../casino-wagering-bonus-progress/src/CasinoWageringBonusProgress.svelte generated by Svelte v3.48.0 */
63
- function W(n){let r,o,i,s,a,l,c,u=[{class:"ring",r:/*radius*/n[2],cx:/*center*/n[7],cy:/*center*/n[7],"stroke-width":`${/*ringStrokeWidth*/n[4]}px`}],d={};for(let e=0;e<u.length;e+=1)d=t(d,u[e]);let g=[{class:"ring ring-progress "+(/*status*/n[1]===/*BonusStatus*/n[5].InProgress?"active":""),r:/*radius*/n[2],cx:/*center*/n[7],cy:/*center*/n[7],"stroke-width":`${/*ringStrokeWidth*/n[4]}px`,"stroke-dasharray":`${/*circumference*/n[6]} ${/*circumference*/n[6]}`,"stroke-dashoffset":/*circumference*/n[6]-Number(/*percent*/n[0])/100*/*circumference*/n[6]}],y={};for(let e=0;e<g.length;e+=1)y=t(y,g[e]);let v=[{class:"center "+(/*status*/n[1]===/*BonusStatus*/n[5].InProgress?"active":""),r:/*radius*/n[2]-/*ringStrokeWidth*/n[4]/2-3,cx:/*center*/n[7],cy:/*center*/n[7]}],E={};for(let e=0;e<v.length;e+=1)E=t(E,v[e]);let C=[{x:/*center*/n[7],y:/*center*/n[7]}],w={};for(let e=0;e<C.length;e+=1)w=t(w,C[e]);let B=[{width:/*size*/n[3],height:/*size*/n[3]}],S={};for(let e=0;e<B.length;e+=1)S=t(S,B[e]);return{c(){r=m("svg"),o=m("circle"),i=m("circle"),s=m("circle"),a=m("text"),l=b(/*percent*/n[0]),c=b("%"),this.c=e,T(o,d),T(i,y),T(s,E),T(a,w),T(r,S)},m(e,t){p(e,r,t),h(r,o),h(r,i),h(r,s),h(r,a),h(a,l),h(a,c)},p(e,[t]){T(o,d=F(u,[/*radius, center, ringStrokeWidth*/148&t&&{class:"ring",r:/*radius*/e[2],cx:/*center*/e[7],cy:/*center*/e[7],"stroke-width":`${/*ringStrokeWidth*/e[4]}px`}])),T(i,y=F(g,[/*status, BonusStatus, radius, center, ringStrokeWidth, circumference, percent*/247&t&&{class:"ring ring-progress "+(/*status*/e[1]===/*BonusStatus*/e[5].InProgress?"active":""),r:/*radius*/e[2],cx:/*center*/e[7],cy:/*center*/e[7],"stroke-width":`${/*ringStrokeWidth*/e[4]}px`,"stroke-dasharray":`${/*circumference*/e[6]} ${/*circumference*/e[6]}`,"stroke-dashoffset":/*circumference*/e[6]-Number(/*percent*/e[0])/100*/*circumference*/e[6]}])),T(s,E=F(v,[/*status, BonusStatus, radius, ringStrokeWidth, center*/182&t&&{class:"center "+(/*status*/e[1]===/*BonusStatus*/e[5].InProgress?"active":""),r:/*radius*/e[2]-/*ringStrokeWidth*/e[4]/2-3,cx:/*center*/e[7],cy:/*center*/e[7]}])),/*percent*/1&t&&A(l,/*percent*/e[0]),T(a,w=F(C,[/*center*/128&t&&{x:/*center*/e[7],y:/*center*/e[7]}])),T(r,S=F(B,[/*size*/8&t&&{width:/*size*/e[3],height:/*size*/e[3]}]))},i:e,o:e,d(e){e&&f(r)}}}function X(e,t,n){let r,o,i,s,a,{percent:l=""}=t,{status:c=""}=t;var u;return function(e){e.BeforeClaimed="BeforeClaimed",e.InProgress="active",e.ForfeitedOrCompleted="ForfeitedOrCompleted"}(u||(u={})),e.$$set=e=>{"percent"in e&&n(0,l=e.percent),"status"in e&&n(1,c=e.status)},e.$$.update=()=>{/*size*/8&e.$$.dirty&&n(4,o=r/7.5),/*size, ringStrokeWidth*/24&e.$$.dirty&&n(2,i=r/2-o/2),/*size*/8&e.$$.dirty&&n(7,s=r/2),/*radius*/4&e.$$.dirty&&n(6,a=2*i*Math.PI)},n(3,r=200),[l,c,i,r,o,u,a,s]}!customElements.get("casino-wagering-bonus-progress")&&customElements.define("casino-wagering-bonus-progress",class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}text{fill:#FFFFFF;text-anchor:middle;dominant-baseline:middle;font-style:normal;font-weight:700;font-size:36px}circle.ring{stroke:#F2F4F6;fill:transparent}circle.ring-progress{transition:0.35s stroke-dashoffset;stroke:#C4C4C4;transform:rotate(-90deg);transform-origin:50% 50%}circle.ring-progress.active{stroke:#00AEEF}circle.center{fill:#C4C4C4}circle.center.active{fill:#00AEEF}</style>",V(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},X,W,s,{percent:0,status:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),D()))}static get observedAttributes(){return["percent","status"]}get percent(){return this.$$.ctx[0]}set percent(e){this.$$set({percent:e}),D()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),D()}});var z="data:image/svg+xml,%3csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_3490_338)'%3e %3cpath d='M12.5 0C5.60762 0 0 5.60762 0 12.5C0 19.3924 5.60762 25 12.5 25C19.3924 25 25 19.3924 25 12.5C25 5.60762 19.3924 0 12.5 0ZM12.5 23.4375C6.46896 23.4375 1.56251 18.531 1.56251 12.5C1.56251 6.46896 6.46896 1.56251 12.5 1.56251C18.531 1.56251 23.4375 6.46896 23.4375 12.5C23.4375 18.531 18.531 23.4375 12.5 23.4375V23.4375Z' fill='%2300AEEF'/%3e %3cpath d='M13.2813 4.6875H11.7188V12.8235L16.6351 17.7398L17.7399 16.6351L13.2813 12.1765V4.6875Z' fill='%2300AEEF'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_3490_338'%3e %3crect width='25' height='25' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e",Y="data:image/svg+xml,%3csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_3490_347)'%3e %3cpath d='M12.5002 7.5C11.5797 7.5 10.8335 8.2462 10.8335 9.16667V23.3333C10.8335 24.2538 11.5797 25 12.5002 25C13.4206 25 14.1668 24.2538 14.1668 23.3333V9.16667C14.1668 8.2462 13.4206 7.5 12.5002 7.5ZM13.3335 23.3333C13.3335 23.7936 12.9604 24.1667 12.5002 24.1667C12.0399 24.1667 11.6668 23.7936 11.6668 23.3333V9.16667C11.6668 8.70641 12.0399 8.33333 12.5002 8.33333C12.9604 8.33333 13.3335 8.70641 13.3335 9.16667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M7.08317 12.5C6.1627 12.5 5.4165 13.2462 5.4165 14.1667V23.3333C5.4165 24.2538 6.1627 25 7.08317 25C8.00364 25 8.74984 24.2538 8.74984 23.3333V14.1667C8.74984 13.2462 8.00364 12.5 7.08317 12.5ZM7.9165 23.3333C7.9165 23.7936 7.54343 24.1667 7.08317 24.1667C6.62291 24.1667 6.24984 23.7936 6.24984 23.3333V14.1667C6.24984 13.7064 6.62291 13.3333 7.08317 13.3333C7.54343 13.3333 7.9165 13.7064 7.9165 14.1667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M1.66667 18.333C0.746198 18.333 0 19.0792 0 19.9997V23.333C0 24.2535 0.746198 24.9997 1.66667 24.9997C2.58714 24.9997 3.33333 24.2535 3.33333 23.333V19.9997C3.33333 19.0792 2.58714 18.333 1.66667 18.333ZM2.5 23.333C2.5 23.7933 2.12693 24.1663 1.66667 24.1663C1.20641 24.1663 0.833333 23.7933 0.833333 23.333V19.9997C0.833333 19.5394 1.20641 19.1663 1.66667 19.1663C2.12693 19.1663 2.5 19.5394 2.5 19.9997V23.333Z' fill='%2300AEEF'/%3e %3cpath d='M17.9167 2.5C16.9962 2.5 16.25 3.2462 16.25 4.16667V23.3333C16.25 24.2538 16.9962 25 17.9167 25C18.8371 25 19.5833 24.2538 19.5833 23.3333V4.16667C19.5833 3.2462 18.8371 2.5 17.9167 2.5ZM18.75 23.3333C18.75 23.7936 18.3769 24.1667 17.9167 24.1667C17.4564 24.1667 17.0833 23.7936 17.0833 23.3333V4.16667C17.0833 3.70641 17.4564 3.33333 17.9167 3.33333C18.3769 3.33333 18.75 3.70641 18.75 4.16667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M23.3332 0C22.4127 0 21.6665 0.746198 21.6665 1.66667V23.3333C21.6665 24.2538 22.4127 25 23.3332 25C24.2536 25 24.9998 24.2538 24.9998 23.3333V1.66667C24.9998 0.746198 24.2536 0 23.3332 0ZM24.1665 23.3333C24.1665 23.7936 23.7934 24.1667 23.3332 24.1667C22.8729 24.1667 22.4998 23.7936 22.4998 23.3333V1.66667C22.4998 1.20641 22.8729 0.833333 23.3332 0.833333C23.7934 0.833333 24.1665 1.20641 24.1665 1.66667V23.3333Z' fill='%2300AEEF'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_3490_347'%3e %3crect width='25' height='25' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e";const J=(e,t)=>({remainder:e%t,quotient:Math.floor(e/t)}),q=e=>{const t=new Date;return new Date(e).getTime()-t.getTime()},Q=e=>{const t=q(e)/6e4,{quotient:n,remainder:r}=J(t,1440),{quotient:o,remainder:i}=J(r,60),s=Math.floor(i);return[{value:n,symbol:"d"},{value:o,symbol:"h"},{value:s,symbol:"m"}].map((e=>{return t=e.value,(Math.abs(t)<10?`0${t}`:t)+e.symbol;var t})).join(" ")},ee=(e,t="")=>({part:e,class:[e,t].join(" ")}),te=async(e,t={})=>{let n;return n=await fetch(e,t),n=await n.json(),n};
63
+ function W(n){let r,o,i,s,a,l,c,u=[{class:"ring",r:/*radius*/n[2],cx:/*center*/n[7],cy:/*center*/n[7],"stroke-width":`${/*ringStrokeWidth*/n[4]}px`}],d={};for(let e=0;e<u.length;e+=1)d=t(d,u[e]);let g=[{class:"ring ring-progress "+(/*status*/n[1]===/*BonusStatus*/n[5].InProgress?"active":""),r:/*radius*/n[2],cx:/*center*/n[7],cy:/*center*/n[7],"stroke-width":`${/*ringStrokeWidth*/n[4]}px`,"stroke-dasharray":`${/*circumference*/n[6]} ${/*circumference*/n[6]}`,"stroke-dashoffset":/*circumference*/n[6]-Number(/*percent*/n[0])/100*/*circumference*/n[6]}],y={};for(let e=0;e<g.length;e+=1)y=t(y,g[e]);let v=[{class:"center "+(/*status*/n[1]===/*BonusStatus*/n[5].InProgress?"active":""),r:/*radius*/n[2]-/*ringStrokeWidth*/n[4]/2-3,cx:/*center*/n[7],cy:/*center*/n[7]}],E={};for(let e=0;e<v.length;e+=1)E=t(E,v[e]);let C=[{x:/*center*/n[7],y:/*center*/n[7]}],w={};for(let e=0;e<C.length;e+=1)w=t(w,C[e]);let B=[{width:/*size*/n[3],height:/*size*/n[3]}],S={};for(let e=0;e<B.length;e+=1)S=t(S,B[e]);return{c(){r=m("svg"),o=m("circle"),i=m("circle"),s=m("circle"),a=m("text"),l=b(/*percent*/n[0]),c=b("%"),this.c=e,T(o,d),T(i,y),T(s,E),T(a,w),T(r,S)},m(e,t){p(e,r,t),h(r,o),h(r,i),h(r,s),h(r,a),h(a,l),h(a,c)},p(e,[t]){T(o,d=F(u,[/*radius, center, ringStrokeWidth*/148&t&&{class:"ring",r:/*radius*/e[2],cx:/*center*/e[7],cy:/*center*/e[7],"stroke-width":`${/*ringStrokeWidth*/e[4]}px`}])),T(i,y=F(g,[/*status, BonusStatus, radius, center, ringStrokeWidth, circumference, percent*/247&t&&{class:"ring ring-progress "+(/*status*/e[1]===/*BonusStatus*/e[5].InProgress?"active":""),r:/*radius*/e[2],cx:/*center*/e[7],cy:/*center*/e[7],"stroke-width":`${/*ringStrokeWidth*/e[4]}px`,"stroke-dasharray":`${/*circumference*/e[6]} ${/*circumference*/e[6]}`,"stroke-dashoffset":/*circumference*/e[6]-Number(/*percent*/e[0])/100*/*circumference*/e[6]}])),T(s,E=F(v,[/*status, BonusStatus, radius, ringStrokeWidth, center*/182&t&&{class:"center "+(/*status*/e[1]===/*BonusStatus*/e[5].InProgress?"active":""),r:/*radius*/e[2]-/*ringStrokeWidth*/e[4]/2-3,cx:/*center*/e[7],cy:/*center*/e[7]}])),/*percent*/1&t&&A(l,/*percent*/e[0]),T(a,w=F(C,[/*center*/128&t&&{x:/*center*/e[7],y:/*center*/e[7]}])),T(r,S=F(B,[/*size*/8&t&&{width:/*size*/e[3],height:/*size*/e[3]}]))},i:e,o:e,d(e){e&&f(r)}}}function X(e,t,n){let r,o,i,s,a,{percent:l=""}=t,{status:c=""}=t;var u;return function(e){e.BeforeClaimed="BeforeClaimed",e.InProgress="active",e.ForfeitedOrCompleted="ForfeitedOrCompleted"}(u||(u={})),e.$$set=e=>{"percent"in e&&n(0,l=e.percent),"status"in e&&n(1,c=e.status)},e.$$.update=()=>{/*size*/8&e.$$.dirty&&n(4,o=r/7.5),/*size, ringStrokeWidth*/24&e.$$.dirty&&n(2,i=r/2-o/2),/*size*/8&e.$$.dirty&&n(7,s=r/2),/*radius*/4&e.$$.dirty&&n(6,a=2*i*Math.PI)},n(3,r=200),[l,c,i,r,o,u,a,s]}!customElements.get("casino-wagering-bonus-progress")&&customElements.define("casino-wagering-bonus-progress",class extends j{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}text{fill:#FFFFFF;text-anchor:middle;dominant-baseline:middle;font-style:normal;font-weight:700;font-size:36px}circle.ring{stroke:#F2F4F6;fill:transparent}circle.ring-progress{transition:0.35s stroke-dashoffset;stroke:#C4C4C4;transform:rotate(-90deg);transform-origin:50% 50%}circle.ring-progress.active{stroke:#00AEEF}circle.center{fill:#C4C4C4}circle.center.active{fill:#00AEEF}</style>',V(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},X,W,s,{percent:0,status:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),D()))}static get observedAttributes(){return["percent","status"]}get percent(){return this.$$.ctx[0]}set percent(e){this.$$set({percent:e}),D()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),D()}});var z="data:image/svg+xml,%3csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_3490_338)'%3e %3cpath d='M12.5 0C5.60762 0 0 5.60762 0 12.5C0 19.3924 5.60762 25 12.5 25C19.3924 25 25 19.3924 25 12.5C25 5.60762 19.3924 0 12.5 0ZM12.5 23.4375C6.46896 23.4375 1.56251 18.531 1.56251 12.5C1.56251 6.46896 6.46896 1.56251 12.5 1.56251C18.531 1.56251 23.4375 6.46896 23.4375 12.5C23.4375 18.531 18.531 23.4375 12.5 23.4375V23.4375Z' fill='%2300AEEF'/%3e %3cpath d='M13.2813 4.6875H11.7188V12.8235L16.6351 17.7398L17.7399 16.6351L13.2813 12.1765V4.6875Z' fill='%2300AEEF'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_3490_338'%3e %3crect width='25' height='25' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e",Y="data:image/svg+xml,%3csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_3490_347)'%3e %3cpath d='M12.5002 7.5C11.5797 7.5 10.8335 8.2462 10.8335 9.16667V23.3333C10.8335 24.2538 11.5797 25 12.5002 25C13.4206 25 14.1668 24.2538 14.1668 23.3333V9.16667C14.1668 8.2462 13.4206 7.5 12.5002 7.5ZM13.3335 23.3333C13.3335 23.7936 12.9604 24.1667 12.5002 24.1667C12.0399 24.1667 11.6668 23.7936 11.6668 23.3333V9.16667C11.6668 8.70641 12.0399 8.33333 12.5002 8.33333C12.9604 8.33333 13.3335 8.70641 13.3335 9.16667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M7.08317 12.5C6.1627 12.5 5.4165 13.2462 5.4165 14.1667V23.3333C5.4165 24.2538 6.1627 25 7.08317 25C8.00364 25 8.74984 24.2538 8.74984 23.3333V14.1667C8.74984 13.2462 8.00364 12.5 7.08317 12.5ZM7.9165 23.3333C7.9165 23.7936 7.54343 24.1667 7.08317 24.1667C6.62291 24.1667 6.24984 23.7936 6.24984 23.3333V14.1667C6.24984 13.7064 6.62291 13.3333 7.08317 13.3333C7.54343 13.3333 7.9165 13.7064 7.9165 14.1667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M1.66667 18.333C0.746198 18.333 0 19.0792 0 19.9997V23.333C0 24.2535 0.746198 24.9997 1.66667 24.9997C2.58714 24.9997 3.33333 24.2535 3.33333 23.333V19.9997C3.33333 19.0792 2.58714 18.333 1.66667 18.333ZM2.5 23.333C2.5 23.7933 2.12693 24.1663 1.66667 24.1663C1.20641 24.1663 0.833333 23.7933 0.833333 23.333V19.9997C0.833333 19.5394 1.20641 19.1663 1.66667 19.1663C2.12693 19.1663 2.5 19.5394 2.5 19.9997V23.333Z' fill='%2300AEEF'/%3e %3cpath d='M17.9167 2.5C16.9962 2.5 16.25 3.2462 16.25 4.16667V23.3333C16.25 24.2538 16.9962 25 17.9167 25C18.8371 25 19.5833 24.2538 19.5833 23.3333V4.16667C19.5833 3.2462 18.8371 2.5 17.9167 2.5ZM18.75 23.3333C18.75 23.7936 18.3769 24.1667 17.9167 24.1667C17.4564 24.1667 17.0833 23.7936 17.0833 23.3333V4.16667C17.0833 3.70641 17.4564 3.33333 17.9167 3.33333C18.3769 3.33333 18.75 3.70641 18.75 4.16667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M23.3332 0C22.4127 0 21.6665 0.746198 21.6665 1.66667V23.3333C21.6665 24.2538 22.4127 25 23.3332 25C24.2536 25 24.9998 24.2538 24.9998 23.3333V1.66667C24.9998 0.746198 24.2536 0 23.3332 0ZM24.1665 23.3333C24.1665 23.7936 23.7934 24.1667 23.3332 24.1667C22.8729 24.1667 22.4998 23.7936 22.4998 23.3333V1.66667C22.4998 1.20641 22.8729 0.833333 23.3332 0.833333C23.7934 0.833333 24.1665 1.20641 24.1665 1.66667V23.3333Z' fill='%2300AEEF'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_3490_347'%3e %3crect width='25' height='25' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e";const J=(e,t)=>({remainder:e%t,quotient:Math.floor(e/t)}),q=e=>{const t=new Date;return new Date(e).getTime()-t.getTime()},Q=e=>{const t=q(e)/6e4,{quotient:n,remainder:r}=J(t,1440),{quotient:o,remainder:i}=J(r,60),s=Math.floor(i);return[{value:n,symbol:"d"},{value:o,symbol:"h"},{value:s,symbol:"m"}].map((e=>{return t=e.value,(Math.abs(t)<10?`0${t}`:t)+e.symbol;var t})).join(" ")},ee=(e,t="")=>({part:e,class:[e,t].join(" ")}),te=async(e,t={})=>{let n;return n=await fetch(e,t),n=await n.json(),n};
64
64
  /******************************************************************************
65
65
  Copyright (c) Microsoft Corporation.
66
66
 
@@ -147,21 +147,21 @@ i.HEADERS_RECEIVED=2),w.prototype.open=function(e,t,n,r,o,s,a){e.open("GET",o);v
147
147
  // see https://github.com/promises-aplus/promises-spec/issues/179
148
148
  return a=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new T(e.headers)),new u((function(e,t){var r=function(){a.read().then((function(t){if(t.done)
149
149
  //Note: bytes in textDecoder are ignored
150
- e(void 0);else{var o=p.decode(t.value,{stream:!0});n(o),r()}})).catch((function(e){t(e)}))};r()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){r(e)})),{abort:function(){null!=a&&a.cancel(),l.abort()}}},A.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var o=t[r];try{"function"==typeof o.handleEvent?o.handleEvent(e):o.call(this,e)}catch(e){S(e)}}},A.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(r=[],n[e]=r);for(var o=!1,i=0;i<r.length;i+=1)r[i]===t&&(o=!0);o||r.push(t)},A.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var o=[],i=0;i<r.length;i+=1)r[i]!==t&&o.push(r[i]);0===o.length?delete n[e]:n[e]=o}},H.prototype=Object.create(_.prototype),L.prototype=Object.create(_.prototype),P.prototype=Object.create(_.prototype);var R=-1,I=-1,O=/^text\/event\-stream(;.*)?$/i,M=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),x(n)},x=function(e){return Math.min(Math.max(e,1e3),18e6)},N=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){S(e)}};function $(e,t){A.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var a=Boolean(n.withCredentials),l=n.lastEventIdQueryParameterName||"lastEventId",c=x(1e3),u=M(n.heartbeatTimeout,45e3),h="",p=c,f=!1,d=0,g=n.headers||{},m=n.Transport,b=D&&null==m?void 0:new v(null!=m?new m:null!=i&&"withCredentials"in i.prototype||null==s?new i:new s),y=null!=m&&"string"!=typeof m?new m:null==b?new B:new w,E=void 0,C=0,T=R,A="",S="",_="",$="",U=0,k=0,F=0,G=function(t,n,r,o){if(0===T)if(200===t&&null!=r&&O.test(r)){T=1,f=Date.now(),p=c,e.readyState=1;var i=new L("open",{status:t,statusText:n,headers:o});e.dispatchEvent(i),N(e,e.onopen,i)}else{var s="";200!==t?(n&&(n=n.replace(/\s+/g," ")),s="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):s="EventSource's response has a Content-Type specifying an unsupported type: "+(null==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",Z();i=new L("error",{status:t,statusText:n,headers:o});e.dispatchEvent(i),N(e,e.onerror,i),console.error(s)}},V=function(t){if(1===T){for(var n=-1,i=0;i<t.length;i+=1){(l=t.charCodeAt(i))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(n=i)}var s=(-1!==n?$:"")+t.slice(0,n+1);$=(-1===n?$:"")+t.slice(n+1),""!==t&&(f=Date.now(),d+=t.length);for(var a=0;a<s.length;a+=1){var l=s.charCodeAt(a);if(U===I&&l==="\n".charCodeAt(0))U=0;else if(U===I&&(U=0),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(0!==U){1===U&&(F=a+1);var g=s.slice(k,F-1),m=s.slice(F+(F<a&&s.charCodeAt(F)===" ".charCodeAt(0)?1:0),a);"data"===g?(A+="\n",A+=m):"id"===g?S=m:"event"===g?_=m:"retry"===g?(c=M(m,c),p=c):"heartbeatTimeout"===g&&(u=M(m,u),0!==C&&(o(C),C=r((function(){K()}),u)))}if(0===U){if(""!==A){h=S,""===_&&(_="message");var b=new H(_,{data:A.slice(1),lastEventId:S});if(e.dispatchEvent(b),"open"===_?N(e,e.onopen,b):"message"===_?N(e,e.onmessage,b):"error"===_&&N(e,e.onerror,b),2===T)return}A="",_=""}U=l==="\r".charCodeAt(0)?I:0}else 0===U&&(k=a,U=1),1===U?l===":".charCodeAt(0)&&(F=a+1,U=2):2===U&&(U=3)}}},j=function(t){if(1===T||0===T){T=R,0!==C&&(o(C),C=0),C=r((function(){K()}),p),p=x(Math.min(16*c,2*p)),e.readyState=0;var n=new P("error",{error:t});e.dispatchEvent(n),N(e,e.onerror,n),null!=t&&console.error(t)}},Z=function(){T=2,null!=E&&(E.abort(),E=void 0),0!==C&&(o(C),C=0),e.readyState=2},K=function(){if(C=0,T===R){f=!1,d=0,C=r((function(){K()}),u),T=0,A="",_="",S=h,$="",k=0,F=0,U=0;
150
+ e(void 0);else{var o=p.decode(t.value,{stream:!0});n(o),r()}})).catch((function(e){t(e)}))};r()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){r(e)})),{abort:function(){null!=a&&a.cancel(),l.abort()}}},A.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var o=t[r];try{"function"==typeof o.handleEvent?o.handleEvent(e):o.call(this,e)}catch(e){S(e)}}},A.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(r=[],n[e]=r);for(var o=!1,i=0;i<r.length;i+=1)r[i]===t&&(o=!0);o||r.push(t)},A.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var o=[],i=0;i<r.length;i+=1)r[i]!==t&&o.push(r[i]);0===o.length?delete n[e]:n[e]=o}},H.prototype=Object.create(_.prototype),L.prototype=Object.create(_.prototype),P.prototype=Object.create(_.prototype);var R=-1,I=-1,O=/^text\/event\-stream(;.*)?$/i,M=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),x(n)},x=function(e){return Math.min(Math.max(e,1e3),18e6)},N=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){S(e)}};function $(e,t){A.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var a=Boolean(n.withCredentials),l=n.lastEventIdQueryParameterName||"lastEventId",c=x(1e3),u=M(n.heartbeatTimeout,45e3),h="",p=c,f=!1,d=0,g=n.headers||{},m=n.Transport,b=D&&null==m?void 0:new v(null!=m?new m:null!=i&&"withCredentials"in i.prototype||null==s?new i:new s),y=null!=m&&"string"!=typeof m?new m:null==b?new B:new w,E=void 0,C=0,T=R,A="",S="",_="",$="",k=0,U=0,F=0,G=function(t,n,r,o){if(0===T)if(200===t&&null!=r&&O.test(r)){T=1,f=Date.now(),p=c,e.readyState=1;var i=new L("open",{status:t,statusText:n,headers:o});e.dispatchEvent(i),N(e,e.onopen,i)}else{var s="";200!==t?(n&&(n=n.replace(/\s+/g," ")),s="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):s="EventSource's response has a Content-Type specifying an unsupported type: "+(null==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",Z();i=new L("error",{status:t,statusText:n,headers:o});e.dispatchEvent(i),N(e,e.onerror,i),console.error(s)}},V=function(t){if(1===T){for(var n=-1,i=0;i<t.length;i+=1){(l=t.charCodeAt(i))!=="\n".charCodeAt(0)&&l!=="\r".charCodeAt(0)||(n=i)}var s=(-1!==n?$:"")+t.slice(0,n+1);$=(-1===n?$:"")+t.slice(n+1),""!==t&&(f=Date.now(),d+=t.length);for(var a=0;a<s.length;a+=1){var l=s.charCodeAt(a);if(k===I&&l==="\n".charCodeAt(0))k=0;else if(k===I&&(k=0),l==="\r".charCodeAt(0)||l==="\n".charCodeAt(0)){if(0!==k){1===k&&(F=a+1);var g=s.slice(U,F-1),m=s.slice(F+(F<a&&s.charCodeAt(F)===" ".charCodeAt(0)?1:0),a);"data"===g?(A+="\n",A+=m):"id"===g?S=m:"event"===g?_=m:"retry"===g?(c=M(m,c),p=c):"heartbeatTimeout"===g&&(u=M(m,u),0!==C&&(o(C),C=r((function(){K()}),u)))}if(0===k){if(""!==A){h=S,""===_&&(_="message");var b=new H(_,{data:A.slice(1),lastEventId:S});if(e.dispatchEvent(b),"open"===_?N(e,e.onopen,b):"message"===_?N(e,e.onmessage,b):"error"===_&&N(e,e.onerror,b),2===T)return}A="",_=""}k=l==="\r".charCodeAt(0)?I:0}else 0===k&&(U=a,k=1),1===k?l===":".charCodeAt(0)&&(F=a+1,k=2):2===k&&(k=3)}}},j=function(t){if(1===T||0===T){T=R,0!==C&&(o(C),C=0),C=r((function(){K()}),p),p=x(Math.min(16*c,2*p)),e.readyState=0;var n=new P("error",{error:t});e.dispatchEvent(n),N(e,e.onerror,n),null!=t&&console.error(t)}},Z=function(){T=2,null!=E&&(E.abort(),E=void 0),0!==C&&(o(C),C=0),e.readyState=2},K=function(){if(C=0,T===R){f=!1,d=0,C=r((function(){K()}),u),T=0,A="",_="",S=h,$="",U=0,F=0,k=0;
151
151
  // https://bugzilla.mozilla.org/show_bug.cgi?id=428916
152
152
  // Request header field Last-Event-ID is not allowed by Access-Control-Allow-Headers.
153
153
  var n=t;if("data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==h){
154
154
  // Remove the lastEventId parameter if it's already part of the request URL.
155
155
  var o=t.indexOf("?");n=-1===o?t:t.slice(0,o+1)+t.slice(o+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,(function(e,t){return t===l?"":e})),
156
156
  // Append the current lastEventId to the request URL.
157
- n+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(h)}var i=e.withCredentials,s={Accept:"text/event-stream"},a=e.headers;if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=a[c]);try{E=y.open(b,G,V,j,n,i,s)}catch(e){throw Z(),e}}else if(f||null==E){var p=Math.max((f||Date.now())+u-Date.now(),1);f=!1,C=r((function(){K()}),p)}else j(new Error("No activity within "+u+" milliseconds. "+(0===T?"No response received.":d+" chars received.")+" Reconnecting.")),null!=E&&(E.abort(),E=void 0)};e.url=t,e.readyState=0,e.withCredentials=a,e.headers=g,e._close=Z,K()}(this,e,t)}var D=null!=h&&null!=p&&"body"in p.prototype;$.prototype=Object.create(A.prototype),$.prototype.CONNECTING=0,$.prototype.OPEN=1,$.prototype.CLOSED=2,$.prototype.close=function(){this._close()},$.CONNECTING=0,$.OPEN=1,$.CLOSED=2,$.prototype.withCredentials=void 0;var U=l;null==i||null!=l&&"withCredentials"in l.prototype||(
157
+ n+=(-1===t.indexOf("?")?"?":"&")+l+"="+encodeURIComponent(h)}var i=e.withCredentials,s={Accept:"text/event-stream"},a=e.headers;if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=a[c]);try{E=y.open(b,G,V,j,n,i,s)}catch(e){throw Z(),e}}else if(f||null==E){var p=Math.max((f||Date.now())+u-Date.now(),1);f=!1,C=r((function(){K()}),p)}else j(new Error("No activity within "+u+" milliseconds. "+(0===T?"No response received.":d+" chars received.")+" Reconnecting.")),null!=E&&(E.abort(),E=void 0)};e.url=t,e.readyState=0,e.withCredentials=a,e.headers=g,e._close=Z,K()}(this,e,t)}var D=null!=h&&null!=p&&"body"in p.prototype;$.prototype=Object.create(A.prototype),$.prototype.CONNECTING=0,$.prototype.OPEN=1,$.prototype.CLOSED=2,$.prototype.close=function(){this._close()},$.CONNECTING=0,$.OPEN=1,$.CLOSED=2,$.prototype.withCredentials=void 0;var k=l;null==i||null!=l&&"withCredentials"in l.prototype||(
158
158
  // Why replace a native EventSource ?
159
159
  // https://bugzilla.mozilla.org/show_bug.cgi?id=444328
160
160
  // https://bugzilla.mozilla.org/show_bug.cgi?id=831392
161
161
  // https://code.google.com/p/chromium/issues/detail?id=260144
162
162
  // https://code.google.com/p/chromium/issues/detail?id=225654
163
163
  // ...
164
- U=$),r((function(){if(-1!==["Asia/Anadyr","Asia/Barnaul","Asia/Chita","Asia/Irkutsk","Asia/Kamchatka","Asia/Khandyga","Asia/Krasnoyarsk","Asia/Magadan","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Sakhalin","Asia/Srednekolymsk","Asia/Tomsk","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Europe/Astrakhan","Europe/Kaliningrad","Europe/Kirov","Europe/Moscow","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Ulyanovsk","Europe/Volgograd","W-SU"].indexOf((new Intl.DateTimeFormat).resolvedOptions().timeZone)){var e=function(e){return""+e+""},t=["","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","","24 февраля "+e("Россия напала на Украину")+".","","Народ Украины всеобще мобилизован и готов защищать свою страну от вражеского вторжения. "+e("91% украинцев полностью поддерживает своего президента Владимира Зеленского")+" и его ответные действия на нападение России.","","Весь мир осудил необоснованное вторжение и решил ввести "+e("невиданные ранее санкции против России")+". С каждым новым днем они будут ощущаться все сильнее и сильнее среди мирных граждан.","","В то же время, "+e("российское правительство ограничивает доступ граждан к внешней информации")+", насаждая однобокие формулировки и версии происходящего.","","В качестве надежного источника информации загрузите безопасный браузер Tor:","",e("https://www.torproject.org/"),"","И посетите:","",e("https://www.bbcweb3hytmzhn5d532owbu6oqadra5z3ar726vq5kgwwn6aucdccrad.onion/russian"),"","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","",e("Прекратите эту бессмысленную войну! Остановите военного преступника Путина!")+"","","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦",""].join("\n");alert(t),window.open("http://www.change.org/NetVoyne")}}),15e3),function(n){var r=function(e){e.EventSourcePolyfill=$,e.NativeEventSource=l,e.EventSource=U}(t);void 0!==r&&(e.exports=r)}()}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:he:globalThis)}));const fe=e=>window.postMessage(e,window.location.href),de=e=>{const t=(n=e,e=>{Object.keys(n).map((t=>{if(e.data&&e.data.type==t){const r=ce(e.data,["type"]);n[t](r)}}))});var n;H((()=>(window.addEventListener("message",t),()=>{window.removeEventListener("message",t)})))},ge=(e,t)=>{e&&(e.removeEventListener("message",t),e.close())},me=(e,t,n,r)=>{if(!n.length)return;const o={bonusWalletIDs:null==n?void 0:n.filter((e=>Ce(e))).map((e=>e.id)).join(","),XSessionId:t};if(!o.bonusWalletIDs)return;const i=`${e}/bonus/wagering/updates?${(e=>Object.keys(e).map((t=>`${t}=${e[t]}`)).join("&"))(o)}`;return((e,t)=>{let n;return n=EventSource?new EventSource(e):new pe.EventSourcePolyfill(e,{headers:{accept:"text/event-stream"}}),n.addEventListener("message",t),n})(i,r)},be=(e,t)=>{switch(e){case oe.completed:case oe.released:case oe.expired:case oe.closed:case oe.forfeited:return t.other();case oe.active:return t.active();default:throw new Error(`unknown Bonus Status: ${e}`)}},ye=(e,t)=>{switch(e){case oe.completed:case oe.released:return t.completed();case oe.active:case oe.expired:case oe.closed:case oe.forfeited:return t.current();default:throw new Error(`unknown Bonus Status: ${e}`)}},ve=async(e,t,n={})=>{const{limit:r,lang:o,status:i}=n,s=ce(n,["limit","lang","status"]),a=Object.assign(Object.assign({type:"wagering",pagination:`limit=${r||50},offset=0`,language:o},i&&i!==oe.claimable?{status:i}:{}),s),l=i===oe.claimable?"claimable":"granted",c=new URL(`${e}/bonus/${l}`);return Object.keys(a).map((e=>{c.searchParams.append(e,a[e])})),await te(c,{headers:Object.assign({},t?{"x-SessionId":t}:{})})},Ee=async(e,t,n,r)=>await te(e+"/bonus/claim",{method:"PUT",body:JSON.stringify({bonusCode:n,currency:r}),headers:{"x-SessionId":t,accept:"text/plain","Content-Type":"application/json-patch+json"}}),Ce=e=>!!e.bonusWalletID&&be(e.status,{active:()=>!0,other:()=>!1}),we=(e,t)=>{switch(t.type){case ie.standard:case ie.freeBet:return((e,t)=>{let n;switch(t.type){case ie.standard:n="bonus money";break;case ie.freeBet:n="Free Bet"}const r=Z(Object.keys(e.increment)[0]);return"percentage"===t.mode?`${100*t.bonusAmount}% up to ${r}${t.capAmount} ${n}`:"fixed"===t.mode?`${r}${t.bonusAmount} ${n}`:void 0})(e,t);case ie.freeRound:return`${t.freespinNumber} Free Spins`;case ie.tournamentTicket:return"Enroll to Tournament Ticket";case ie.oddsBoost:return"Enroll to Odds Boost";case ie.cashBack:return"Enroll to Cash Back"}},Te=(e,t,n)=>{var r;const o=(null===(r=e.wageringProgress)||void 0===r?void 0:r.currentLevel)-1,i=n.length-1,s=e=>e.filter((e=>e.index>=0&&e.index<=i)).map((e=>{const t=n[e.index];return{key:e.key,descriptions:t.bonuses.map((e=>we(t,e)))}}))
164
+ k=$),r((function(){if(-1!==["Asia/Anadyr","Asia/Barnaul","Asia/Chita","Asia/Irkutsk","Asia/Kamchatka","Asia/Khandyga","Asia/Krasnoyarsk","Asia/Magadan","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Sakhalin","Asia/Srednekolymsk","Asia/Tomsk","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yekaterinburg","Europe/Astrakhan","Europe/Kaliningrad","Europe/Kirov","Europe/Moscow","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Ulyanovsk","Europe/Volgograd","W-SU"].indexOf((new Intl.DateTimeFormat).resolvedOptions().timeZone)){var e=function(e){return""+e+""},t=["","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","","24 февраля "+e("Россия напала на Украину")+".","","Народ Украины всеобще мобилизован и готов защищать свою страну от вражеского вторжения. "+e("91% украинцев полностью поддерживает своего президента Владимира Зеленского")+" и его ответные действия на нападение России.","","Весь мир осудил необоснованное вторжение и решил ввести "+e("невиданные ранее санкции против России")+". С каждым новым днем они будут ощущаться все сильнее и сильнее среди мирных граждан.","","В то же время, "+e("российское правительство ограничивает доступ граждан к внешней информации")+", насаждая однобокие формулировки и версии происходящего.","","В качестве надежного источника информации загрузите безопасный браузер Tor:","",e("https://www.torproject.org/"),"","И посетите:","",e("https://www.bbcweb3hytmzhn5d532owbu6oqadra5z3ar726vq5kgwwn6aucdccrad.onion/russian"),"","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦","",e("Прекратите эту бессмысленную войну! Остановите военного преступника Путина!")+"","","🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦 🇷🇺 🇺🇦",""].join("\n");alert(t),window.open("http://www.change.org/NetVoyne")}}),15e3),function(n){var r=function(e){e.EventSourcePolyfill=$,e.NativeEventSource=l,e.EventSource=k}(t);void 0!==r&&(e.exports=r)}()}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:he:globalThis)}));const fe=e=>window.postMessage(e,window.location.href),de=e=>{const t=(n=e,e=>{Object.keys(n).map((t=>{if(e.data&&e.data.type==t){const r=ce(e.data,["type"]);n[t](r)}}))});var n;H((()=>(window.addEventListener("message",t),()=>{window.removeEventListener("message",t)})))},ge=(e,t)=>{e&&(e.removeEventListener("message",t),e.close())},me=(e,t,n,r)=>{if(!n.length)return;const o={bonusWalletIDs:null==n?void 0:n.filter((e=>Ce(e))).map((e=>e.id)).join(","),XSessionId:t};if(!o.bonusWalletIDs)return;const i=`${e}/bonus/wagering/updates?${(e=>Object.keys(e).map((t=>`${t}=${e[t]}`)).join("&"))(o)}`;return((e,t)=>{let n;return n=EventSource?new EventSource(e):new pe.EventSourcePolyfill(e,{headers:{accept:"text/event-stream"}}),n.addEventListener("message",t),n})(i,r)},be=(e,t)=>{switch(e){case oe.completed:case oe.released:case oe.expired:case oe.closed:case oe.forfeited:return t.other();case oe.active:return t.active();default:throw new Error(`unknown Bonus Status: ${e}`)}},ye=(e,t)=>{switch(e){case oe.completed:case oe.released:return t.completed();case oe.active:case oe.expired:case oe.closed:case oe.forfeited:return t.current();default:throw new Error(`unknown Bonus Status: ${e}`)}},ve=async(e,t,n={})=>{const{limit:r,lang:o,status:i}=n,s=ce(n,["limit","lang","status"]),a=Object.assign(Object.assign({type:"wagering",pagination:`limit=${r||50},offset=0`,language:o},i&&i!==oe.claimable?{status:i}:{}),s),l=i===oe.claimable?"claimable":"granted",c=new URL(`${e}/bonus/${l}`);return Object.keys(a).map((e=>{c.searchParams.append(e,a[e])})),await te(c,{headers:Object.assign({},t?{"x-SessionId":t}:{})})},Ee=async(e,t,n,r)=>await te(e+"/bonus/claim",{method:"PUT",body:JSON.stringify({bonusCode:n,currency:r}),headers:{"x-SessionId":t,accept:"text/plain","Content-Type":"application/json-patch+json"}}),Ce=e=>!!e.bonusWalletID&&be(e.status,{active:()=>!0,other:()=>!1}),we=(e,t)=>{switch(t.type){case ie.standard:case ie.freeBet:return((e,t)=>{let n;switch(t.type){case ie.standard:n="bonus money";break;case ie.freeBet:n="Free Bet"}const r=Z(Object.keys(e.increment)[0]);return"percentage"===t.mode?`${100*t.bonusAmount}% up to ${r}${t.capAmount} ${n}`:"fixed"===t.mode?`${r}${t.bonusAmount} ${n}`:void 0})(e,t);case ie.freeRound:return`${t.freespinNumber} Free Spins`;case ie.tournamentTicket:return"Enroll to Tournament Ticket";case ie.oddsBoost:return"Enroll to Odds Boost";case ie.cashBack:return"Enroll to Cash Back"}},Te=(e,t,n)=>{var r;const o=(null===(r=e.wageringProgress)||void 0===r?void 0:r.currentLevel)-1,i=n.length-1,s=e=>e.filter((e=>e.index>=0&&e.index<=i)).map((e=>{const t=n[e.index];return{key:e.key,descriptions:t.bonuses.map((e=>we(t,e)))}}))
165
165
  // .map(line => `${line.key} Level: ${getTitleByIndex(line.index)}`);
166
166
  return be(e.status,{active:()=>t!==oe.claimable?s([{key:"current",index:o},{key:"next",index:o+1}]):t===oe.claimable?s([{key:"first",index:0},{key:"next",index:1}]):void 0,other:()=>s([{key:"last",index:i},{key:"previous",index:i-1}])})},Be=(e,t,n)=>{const{currency:r,currentLevelIncrement:o,gap:i,currentLevel:s}=e.wageringProgress,a=Z(r),l=t[s-1];switch(n){case"target":switch(e.wageringType){case se.Money:return`Play for ${a}${o} in total`;case se.BetCount:return`Place ${o}/${null==l?void 0:l.maxContribution} bets of at least ${null==l?void 0:l.minStake} each`}case"remaining":switch(e.wageringType){case se.Money:return`Remaining: ${a}${i}`;case se.BetCount:return`Bets Remaining: ${i} bets`}case"got":const t=Se(e);switch(e.wageringType){case se.Money:return`Wagered: ${a}${t}`;case se.BetCount:return`Bets Placed: ${t} bets`}}},Ae=(e,t)=>({target:()=>be(e.status,{active:()=>Be(e,t,"target"),other:()=>`This bonus is ${e.status}`}),remaining:()=>Be(e,t,"remaining"),got:()=>Be(e,t,"got")}),Se=e=>{if(!e.wageringProgress)return 0;const{currency:t,currentLevelIncrement:n,gap:r,currentLevel:o}=e.wageringProgress;return n-r},_e=(e,t,n,r)=>{const o=q(e);o<0?n():(r(Q(e)),
167
167
  // check if bonus will expire
@@ -186,11 +186,11 @@ function $e(e,t,n){var r={};return n.isMergeableObject(e)&&xe(e).forEach((functi
186
186
  })(e,o)||(Ne(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return De;var n=t.customMerge(e);return"function"==typeof n?n:De}(o,n)(e[o],t[o],n):r[o]=Oe(t[o],n))})),r}function De(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Me,n.isMergeableObject=n.isMergeableObject||Re,
187
187
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
188
188
  // implementations can use it. The caller may not replace it.
189
- n.cloneUnlessOtherwiseSpecified=Oe;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):$e(e,t,n):Oe(t,n)}De.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return De(e,n,t)}),{})};var Ue,ke,Fe,Ge=De;
189
+ n.cloneUnlessOtherwiseSpecified=Oe;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):$e(e,t,n):Oe(t,n)}De.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return De(e,n,t)}),{})};var ke,Ue,Fe,Ge=De;
190
190
  /**
191
191
  * Type Guards
192
192
  */
193
- function Ve(e){return e.type===ke.literal}function je(e){return e.type===ke.argument}function Ze(e){return e.type===ke.number}function Ke(e){return e.type===ke.date}function We(e){return e.type===ke.time}function Xe(e){return e.type===ke.select}function ze(e){return e.type===ke.plural}function Ye(e){return e.type===ke.pound}function Je(e){return e.type===ke.tag}function qe(e){return!(!e||"object"!=typeof e||e.type!==Fe.number)}function Qe(e){return!(!e||"object"!=typeof e||e.type!==Fe.dateTime)}
193
+ function Ve(e){return e.type===Ue.literal}function je(e){return e.type===Ue.argument}function Ze(e){return e.type===Ue.number}function Ke(e){return e.type===Ue.date}function We(e){return e.type===Ue.time}function Xe(e){return e.type===Ue.select}function ze(e){return e.type===Ue.plural}function Ye(e){return e.type===Ue.pound}function Je(e){return e.type===Ue.tag}function qe(e){return!(!e||"object"!=typeof e||e.type!==Fe.number)}function Qe(e){return!(!e||"object"!=typeof e||e.type!==Fe.dateTime)}
194
194
  // @generated from regex-gen.ts
195
195
  !function(e){
196
196
  /** Argument is unclosed (e.g. `{0`) */
@@ -252,7 +252,7 @@ e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",
252
252
  /** The closing tag does not match the opening tag. (e.g. `<bold>foo</italic>`) */
253
253
  e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",
254
254
  /** The opening tag has unmatched closing tag. (e.g. `<bold>foo`) */
255
- e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Ue||(Ue={})),function(e){
255
+ e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(ke||(ke={})),function(e){
256
256
  /**
257
257
  * Raw text
258
258
  */
@@ -289,7 +289,7 @@ e[e.pound=7]="pound",
289
289
  /**
290
290
  * XML-like tag
291
291
  */
292
- e[e.tag=8]="tag"}(ke||(ke={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Fe||(Fe={}));var et=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tt=/(?:[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;
292
+ e[e.tag=8]="tag"}(Ue||(Ue={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Fe||(Fe={}));var et=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tt=/(?:[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;
293
293
  /**
294
294
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
295
295
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -412,7 +412,7 @@ if(St){
412
412
  // Native
413
413
  var xt=Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");_t=function(e,t){var n;return xt.lastIndex=t,null!==(n=xt.exec(e)[1])&&void 0!==n?n:""}}else
414
414
  // IE11
415
- _t=function(e,t){for(var n=[];;){var r=Rt(e,t);if(void 0===r||Ut(r)||kt(r))break;n.push(r),t+=r>=65536?2:1}return Lt.apply(void 0,n)};var Nt=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123/* `{` */===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125/* `}` */===o&&e>0)break;if(35/* `#` */!==o||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Ue.UNMATCHED_CLOSING_TAG,yt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===o&&!this.ignoreTag&&$t(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:ke.pound,location:yt(s,this.clonePosition())})}}}return{val:r,err:null}},
415
+ _t=function(e,t){for(var n=[];;){var r=Rt(e,t);if(void 0===r||kt(r)||Ut(r))break;n.push(r),t+=r>=65536?2:1}return Lt.apply(void 0,n)};var Nt=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o=this.char();if(123/* `{` */===o){if((i=this.parseArgument(e,n)).err)return i;r.push(i.val)}else{if(125/* `}` */===o&&e>0)break;if(35/* `#` */!==o||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(ke.UNMATCHED_CLOSING_TAG,yt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===o&&!this.ignoreTag&&$t(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:Ue.pound,location:yt(s,this.clonePosition())})}}}return{val:r,err:null}},
416
416
  /**
417
417
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
418
418
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -434,14 +434,14 @@ _t=function(e,t){for(var n=[];;){var r=Rt(e,t);if(void 0===r||Ut(r)||kt(r))break
434
434
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
435
435
  var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
436
436
  // Self closing tag
437
- return{val:{type:ke.literal,value:"<".concat(r,"/>"),location:yt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,s=this.clonePosition();
437
+ return{val:{type:Ue.literal,value:"<".concat(r,"/>"),location:yt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,s=this.clonePosition();
438
438
  // Expecting a close tag
439
- if(this.bumpIf("</")){if(this.isEOF()||!$t(this.char()))return this.error(Ue.INVALID_TAG,yt(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(Ue.UNMATCHED_CLOSING_TAG,yt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ke.tag,value:r,children:i,location:yt(n,this.clonePosition())},err:null}:this.error(Ue.INVALID_TAG,yt(s,this.clonePosition())))}return this.error(Ue.UNCLOSED_TAG,yt(n,this.clonePosition()))}return this.error(Ue.INVALID_TAG,yt(n,this.clonePosition()))},
439
+ if(this.bumpIf("</")){if(this.isEOF()||!$t(this.char()))return this.error(ke.INVALID_TAG,yt(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(ke.UNMATCHED_CLOSING_TAG,yt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ue.tag,value:r,children:i,location:yt(n,this.clonePosition())},err:null}:this.error(ke.INVALID_TAG,yt(s,this.clonePosition())))}return this.error(ke.UNCLOSED_TAG,yt(n,this.clonePosition()))}return this.error(ke.INVALID_TAG,yt(n,this.clonePosition()))},
440
440
  /**
441
441
  * This method assumes that the caller has peeked ahead for the first tag character.
442
442
  */
443
443
  e.prototype.parseTagName=function(){var e=this.offset();// the first tag name character
444
- for(this.bump();!this.isEOF()&&Dt(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=yt(n,this.clonePosition());return{val:{type:ke.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&($t(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
444
+ for(this.bump();!this.isEOF()&&Dt(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var i=this.tryParseUnquoted(e,t);if(i)r+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=yt(n,this.clonePosition());return{val:{type:Ue.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&($t(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
445
445
  /** See `parseTag` function docs. */},
446
446
  /**
447
447
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -464,17 +464,17 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
464
464
  this.bump();break}t.push(39),
465
465
  // Bump one more time because we need to skip 2 characters.
466
466
  this.bump()}else t.push(n);this.bump()}return Lt.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),Lt(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
467
- this.bumpSpace(),this.isEOF())return this.error(Ue.EXPECT_ARGUMENT_CLOSING_BRACE,yt(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(Ue.EMPTY_ARGUMENT,yt(n,this.clonePosition()));
467
+ this.bumpSpace(),this.isEOF())return this.error(ke.EXPECT_ARGUMENT_CLOSING_BRACE,yt(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(ke.EMPTY_ARGUMENT,yt(n,this.clonePosition()));
468
468
  // argument name
469
- var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Ue.MALFORMED_ARGUMENT,yt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ue.EXPECT_ARGUMENT_CLOSING_BRACE,yt(n,this.clonePosition()));switch(this.char()){
469
+ var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ke.MALFORMED_ARGUMENT,yt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ke.EXPECT_ARGUMENT_CLOSING_BRACE,yt(n,this.clonePosition()));switch(this.char()){
470
470
  // Simple argument: `{name}`
471
471
  case 125/* `}` */:// `}`
472
- return this.bump(),{val:{type:ke.argument,
472
+ return this.bump(),{val:{type:Ue.argument,
473
473
  // value does not include the opening and closing braces.
474
474
  value:r,location:yt(n,this.clonePosition())},err:null};
475
475
  // Argument with options: `{name, format, ...}`
476
476
  case 44/* `,` */:return this.bump(),// `,`
477
- this.bumpSpace(),this.isEOF()?this.error(Ue.EXPECT_ARGUMENT_CLOSING_BRACE,yt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(Ue.MALFORMED_ARGUMENT,yt(n,this.clonePosition()))}},
477
+ this.bumpSpace(),this.isEOF()?this.error(ke.EXPECT_ARGUMENT_CLOSING_BRACE,yt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(ke.MALFORMED_ARGUMENT,yt(n,this.clonePosition()))}},
478
478
  /**
479
479
  * Advance the parser until the end of the identifier, if it is currently on
480
480
  * an identifier character. Return an empty string otherwise.
@@ -485,45 +485,45 @@ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=th
485
485
  // ^---^
486
486
  switch(s){case"":
487
487
  // Expecting a style string number, date, time, plural, selectordinal, or select.
488
- return this.error(Ue.EXPECT_ARGUMENT_TYPE,yt(i,a));case"number":case"date":case"time":
488
+ return this.error(ke.EXPECT_ARGUMENT_TYPE,yt(i,a));case"number":case"date":case"time":
489
489
  // Parse this range:
490
490
  // {name, number, style}
491
491
  // ^-------^
492
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((b=this.parseSimpleArgStyleIfPossible()).err)return b;if(0===(f=Ot(b.val)).length)return this.error(Ue.EXPECT_ARGUMENT_STYLE,yt(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:yt(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(r)).err)return y;var u=yt(r,this.clonePosition());
492
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((b=this.parseSimpleArgStyleIfPossible()).err)return b;if(0===(f=Ot(b.val)).length)return this.error(ke.EXPECT_ARGUMENT_STYLE,yt(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:yt(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(r)).err)return y;var u=yt(r,this.clonePosition());
493
493
  // Extract style or skeleton
494
494
  if(l&&Ht(null==l?void 0:l.style,"::",0)){
495
495
  // Skeleton starts with `::`.
496
- var h=It(l.style.slice(2));if("number"===s)return(b=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?b:{val:{type:ke.number,value:n,location:u,style:b.val},err:null};if(0===h.length)return this.error(Ue.EXPECT_DATE_TIME_SKELETON,u);var p=h;
496
+ var h=It(l.style.slice(2));if("number"===s)return(b=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?b:{val:{type:Ue.number,value:n,location:u,style:b.val},err:null};if(0===h.length)return this.error(ke.EXPECT_DATE_TIME_SKELETON,u);var p=h;
497
497
  // Get "best match" pattern only if locale is passed, if not, let it
498
498
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
499
499
  // for unsupported patterns.
500
- this.locale&&(p=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var s=1+(1&i),a=i<2?1:3+(i>>1),l=gt(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===o?"H":o}return n}(h,this.locale));var f={type:Fe.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?nt(p):{}};return{val:{type:"date"===s?ke.date:ke.time,value:n,location:u,style:f},err:null}}
500
+ this.locale&&(p=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var s=1+(1&i),a=i<2?1:3+(i>>1),l=gt(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===o?"H":o}return n}(h,this.locale));var f={type:Fe.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?nt(p):{}};return{val:{type:"date"===s?Ue.date:Ue.time,value:n,location:u,style:f},err:null}}
501
501
  // Regular style or no style.
502
- return{val:{type:"number"===s?ke.number:"date"===s?ke.date:ke.time,value:n,location:u,style:null!==(o=null==l?void 0:l.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":
502
+ return{val:{type:"number"===s?Ue.number:"date"===s?Ue.date:Ue.time,value:n,location:u,style:null!==(o=null==l?void 0:l.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":
503
503
  // Parse this range:
504
504
  // {name, plural, options}
505
505
  // ^---------^
506
- var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ue.EXPECT_SELECT_ARGUMENT_OPTIONS,yt(d,le({},d)));this.bumpSpace();
506
+ var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ke.EXPECT_SELECT_ARGUMENT_OPTIONS,yt(d,le({},d)));this.bumpSpace();
507
507
  // Parse offset:
508
508
  // {name, plural, offset:1, options}
509
509
  // ^-----^
510
510
  // or the first option:
511
511
  // {name, plural, one {...} other {...}}
512
512
  // ^--^
513
- var g=this.parseIdentifierIfPossible(),m=0;if("select"!==s&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(Ue.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,yt(this.clonePosition(),this.clonePosition()));var b;if(this.bumpSpace(),(b=this.tryParseDecimalInteger(Ue.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ue.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return b;
513
+ var g=this.parseIdentifierIfPossible(),m=0;if("select"!==s&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(ke.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,yt(this.clonePosition(),this.clonePosition()));var b;if(this.bumpSpace(),(b=this.tryParseDecimalInteger(ke.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ke.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return b;
514
514
  // Parse another identifier for option parsing
515
- this.bumpSpace(),g=this.parseIdentifierIfPossible(),m=b.val}var y,v=this.tryParsePluralOrSelectOptions(e,s,t,g);if(v.err)return v;if((y=this.tryParseArgumentClose(r)).err)return y;var E=yt(r,this.clonePosition());return"select"===s?{val:{type:ke.select,value:n,options:Pt(v.val),location:E},err:null}:{val:{type:ke.plural,value:n,options:Pt(v.val),offset:m,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(Ue.INVALID_ARGUMENT_TYPE,yt(i,a))}},e.prototype.tryParseArgumentClose=function(e){
515
+ this.bumpSpace(),g=this.parseIdentifierIfPossible(),m=b.val}var y,v=this.tryParsePluralOrSelectOptions(e,s,t,g);if(v.err)return v;if((y=this.tryParseArgumentClose(r)).err)return y;var E=yt(r,this.clonePosition());return"select"===s?{val:{type:Ue.select,value:n,options:Pt(v.val),location:E},err:null}:{val:{type:Ue.plural,value:n,options:Pt(v.val),offset:m,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(ke.INVALID_ARGUMENT_TYPE,yt(i,a))}},e.prototype.tryParseArgumentClose=function(e){
516
516
  // Parse: {value, number, ::currency/GBP }
517
- return this.isEOF()||125/* `}` */!==this.char()?this.error(Ue.EXPECT_ARGUMENT_CLOSING_BRACE,yt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
517
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(ke.EXPECT_ARGUMENT_CLOSING_BRACE,yt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
518
518
  /**
519
519
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
520
520
  */
521
521
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
522
522
  // Treat apostrophe as quoting but include it in the style part.
523
523
  // Find the end of the quoted literal text.
524
- this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ue.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,yt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
524
+ this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ke.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,yt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
525
525
  // Parse the skeleton
526
- for(var t=e.split(rt).filter((function(e){return e.length>0})),n=[],r=0,o=t;r<o.length;r++){var i=o[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],a=i.slice(1),l=0,c=a;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(Ue.INVALID_NUMBER_SKELETON,t)}return{val:{type:Fe.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?pt(n):{}},err:null}},
526
+ for(var t=e.split(rt).filter((function(e){return e.length>0})),n=[],r=0,o=t;r<o.length;r++){var i=o[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],a=i.slice(1),l=0,c=a;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(ke.INVALID_NUMBER_SKELETON,t)}return{val:{type:Fe.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?pt(n):{}},err:null}},
527
527
  /**
528
528
  * @param nesting_level The current nesting level of messages.
529
529
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -540,17 +540,17 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
540
540
  // ^--^
541
541
  for(var o,i=!1,s=[],a=new Set,l=r.value,c=r.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
542
542
  // Try parse `={number}` selector
543
- var h=this.tryParseDecimalInteger(Ue.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ue.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=yt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
543
+ var h=this.tryParseDecimalInteger(ke.EXPECT_PLURAL_ARGUMENT_SELECTOR,ke.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=yt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
544
544
  // Duplicate selector clauses
545
- if(a.has(l))return this.error("select"===t?Ue.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ue.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(i=!0),
545
+ if(a.has(l))return this.error("select"===t?ke.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ke.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(i=!0),
546
546
  // Parse:
547
547
  // one {one apple}
548
548
  // ^----------^
549
- this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Ue.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ue.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,yt(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var d=this.tryParseArgumentClose(p);if(d.err)return d;s.push([l,{value:f.val,location:yt(p,this.clonePosition())}]),
549
+ this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ke.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ke.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,yt(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var d=this.tryParseArgumentClose(p);if(d.err)return d;s.push([l,{value:f.val,location:yt(p,this.clonePosition())}]),
550
550
  // Keep track of the existing selectors
551
551
  a.add(l),
552
552
  // Prep next selector clause.
553
- this.bumpSpace(),l=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===s.length?this.error("select"===t?Ue.EXPECT_SELECT_ARGUMENT_SELECTOR:Ue.EXPECT_PLURAL_ARGUMENT_SELECTOR,yt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(Ue.MISSING_OTHER_CLAUSE,yt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;o=!0,i=10*i+(s-48),this.bump()}var a=yt(r,this.clonePosition());return o?At(i*=n)?{val:i,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
553
+ this.bumpSpace(),l=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===s.length?this.error("select"===t?ke.EXPECT_SELECT_ARGUMENT_SELECTOR:ke.EXPECT_PLURAL_ARGUMENT_SELECTOR,yt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(ke.MISSING_OTHER_CLAUSE,yt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;o=!0,i=10*i+(s-48),this.bump()}var a=yt(r,this.clonePosition());return o?At(i*=n)?{val:i,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
554
554
  // This is much faster than `Object.assign` or spread.
555
555
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
556
556
  /**
@@ -580,7 +580,7 @@ e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t
580
580
  */
581
581
  e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},
582
582
  /** advance the parser through all whitespace to the next non-whitespace code unit. */
583
- e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ut(this.char());)this.bump()},
583
+ e.prototype.bumpSpace=function(){for(;!this.isEOF()&&kt(this.char());)this.bump()},
584
584
  /**
585
585
  * Peek at the *next* Unicode codepoint in the input without advancing the parser.
586
586
  * If the input has been exhausted, then this returns null.
@@ -594,11 +594,11 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
594
594
  /**
595
595
  * Code point equivalent of regex `\p{White_Space}`.
596
596
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
597
- */function Ut(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
597
+ */function kt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
598
598
  /**
599
599
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
600
600
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
601
- */function kt(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Ft(e){e.forEach((function(e){if(delete e.location,Xe(e)||ze(e))for(var t in e.options)delete e.options[t].location,Ft(e.options[t].value);else Ze(e)&&qe(e.style)||(Ke(e)||We(e))&&Qe(e.style)?delete e.style.location:Je(e)&&Ft(e.children)}))}function Gt(e,t){void 0===t&&(t={}),t=le({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Nt(e,t).parse();if(n.err){var r=SyntaxError(Ue[n.err.kind]);
601
+ */function Ut(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Ft(e){e.forEach((function(e){if(delete e.location,Xe(e)||ze(e))for(var t in e.options)delete e.options[t].location,Ft(e.options[t].value);else Ze(e)&&qe(e.style)||(Ke(e)||We(e))&&Qe(e.style)?delete e.style.location:Je(e)&&Ft(e.children)}))}function Gt(e,t){void 0===t&&(t={}),t=le({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Nt(e,t).parse();if(n.err){var r=SyntaxError(ke[n.err.kind]);
602
602
  // @ts-expect-error Assign to error object
603
603
  throw r.location=n.err.location,
604
604
  // @ts-expect-error Assign to error object
@@ -680,18 +680,18 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
680
680
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
681
681
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
682
682
  PERFORMANCE OF THIS SOFTWARE.
683
- ***************************************************************************** */function Bn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}const An={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Sn(){return An}const _n=Le(!1);let Hn;const Ln=Le(null);function Pn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Rn(e,t=Sn().fallbackLocale){const n=Pn(e);return t?[...new Set([...n,...Pn(t)])]:n}function In(){return null!=Hn?Hn:void 0}Ln.subscribe((e=>{Hn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const On=Object.assign(Object.assign({},Ln),{set:e=>{if(e&&function(e){if(null==e)return;const t=Rn(e);for(let e=0;e<t.length;e++){const n=t[e];if(mn(n))return n}}(e)&&Cn(e)){const{loadingDelay:t}=Sn();let n;return"undefined"!=typeof window&&null!=In()&&t?n=window.setTimeout((()=>_n.set(!0)),t):_n.set(!0),Tn(e).then((()=>{Ln.set(e)})).finally((()=>{clearTimeout(n),_n.set(!1)}))}return Ln.set(e)}}),Mn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},xn=(e,t)=>{const{formats:n}=Sn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Nn=Mn((e=>{var{locale:t,format:n}=e,r=Bn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=xn("number",n)),new Intl.NumberFormat(t,r)})),$n=Mn((e=>{var{locale:t,format:n}=e,r=Bn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=xn("date",n):0===Object.keys(r).length&&(r=xn("date","short")),new Intl.DateTimeFormat(t,r)})),Dn=Mn((e=>{var{locale:t,format:n}=e,r=Bn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=xn("time",n):0===Object.keys(r).length&&(r=xn("time","short")),new Intl.DateTimeFormat(t,r)})),Un=Mn(((e,t=In())=>new un(e,t,Sn().formats,{ignoreTag:Sn().ignoreTag}))),kn=(e,t={})=>{var n,r,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=In(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=fn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(i=null!==(o=null===(r=(n=Sn()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))&&void 0!==o?o:c)&&void 0!==i?i:e;if(!a)return u;let h=u;try{h=Un(u,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Fn=(e,t)=>((e={})=>{var{locale:t=In()}=e,n=Bn(e,["locale"]);return Dn(Object.assign({locale:t},n))})(t).format(e),Gn=(e,t)=>((e={})=>{var{locale:t=In()}=e,n=Bn(e,["locale"]);return $n(Object.assign({locale:t},n))})(t).format(e),Vn=(e,t)=>((e={})=>{var{locale:t=In()}=e,n=Bn(e,["locale"]);return Nn(Object.assign({locale:t},n))})(t).format(e),jn=(e,t=In())=>fn(e,t),Zn=Pe([On,gn],(()=>kn));Pe([On],(()=>Fn)),Pe([On],(()=>Gn)),Pe([On],(()=>Vn)),Pe([On,gn],(()=>jn));const Kn=e=>{(({withLocale:e,translations:t})=>{On.subscribe((n=>{null==n&&(gn.set(t),On.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
683
+ ***************************************************************************** */function Bn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}const An={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Sn(){return An}const _n=Le(!1);let Hn;const Ln=Le(null);function Pn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Rn(e,t=Sn().fallbackLocale){const n=Pn(e);return t?[...new Set([...n,...Pn(t)])]:n}function In(){return null!=Hn?Hn:void 0}Ln.subscribe((e=>{Hn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const On=Object.assign(Object.assign({},Ln),{set:e=>{if(e&&function(e){if(null==e)return;const t=Rn(e);for(let e=0;e<t.length;e++){const n=t[e];if(mn(n))return n}}(e)&&Cn(e)){const{loadingDelay:t}=Sn();let n;return"undefined"!=typeof window&&null!=In()&&t?n=window.setTimeout((()=>_n.set(!0)),t):_n.set(!0),Tn(e).then((()=>{Ln.set(e)})).finally((()=>{clearTimeout(n),_n.set(!1)}))}return Ln.set(e)}}),Mn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},xn=(e,t)=>{const{formats:n}=Sn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Nn=Mn((e=>{var{locale:t,format:n}=e,r=Bn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=xn("number",n)),new Intl.NumberFormat(t,r)})),$n=Mn((e=>{var{locale:t,format:n}=e,r=Bn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=xn("date",n):0===Object.keys(r).length&&(r=xn("date","short")),new Intl.DateTimeFormat(t,r)})),Dn=Mn((e=>{var{locale:t,format:n}=e,r=Bn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=xn("time",n):0===Object.keys(r).length&&(r=xn("time","short")),new Intl.DateTimeFormat(t,r)})),kn=Mn(((e,t=In())=>new un(e,t,Sn().formats,{ignoreTag:Sn().ignoreTag}))),Un=(e,t={})=>{var n,r,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=In(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=fn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(i=null!==(o=null===(r=(n=Sn()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))&&void 0!==o?o:c)&&void 0!==i?i:e;if(!a)return u;let h=u;try{h=kn(u,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Fn=(e,t)=>((e={})=>{var{locale:t=In()}=e,n=Bn(e,["locale"]);return Dn(Object.assign({locale:t},n))})(t).format(e),Gn=(e,t)=>((e={})=>{var{locale:t=In()}=e,n=Bn(e,["locale"]);return $n(Object.assign({locale:t},n))})(t).format(e),Vn=(e,t)=>((e={})=>{var{locale:t=In()}=e,n=Bn(e,["locale"]);return Nn(Object.assign({locale:t},n))})(t).format(e),jn=(e,t=In())=>fn(e,t),Zn=Pe([On,gn],(()=>Un));Pe([On],(()=>Fn)),Pe([On],(()=>Gn)),Pe([On],(()=>Vn)),Pe([On,gn],(()=>jn));const Kn=e=>{(({withLocale:e,translations:t})=>{On.subscribe((n=>{null==n&&(gn.set(t),On.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
684
684
  /*dictionary.set(translations);
685
685
  locale.set(_locale);*/})({withLocale:"en",translations:{}}),Object.keys(e).forEach((t=>{var n,r;n=t,r=e[t],yn(n,r)}))};var Wn,Xn;!function(e){e.level="level",e.current="current",e.next="next",e.first="first",e.last="last",e.previous="previous",e.startChallenge="startChallenge"}(Wn||(Wn={})),function(e){e.level="wageringBonuses.level",e.current="wageringBonuses.current",e.next="wageringBonuses.next",e.first="wageringBonuses.first",e.last="wageringBonuses.last",e.previous="wageringBonuses.previous",e.startChallenge="wageringBonuses.startChallenge"}(Xn||(Xn={}));const zn={en:{wageringBonuses:{level:"Level",current:"Current",next:"Next",first:"First",last:"Last",previous:"Previous",startChallenge:"START CHALLENGE"}},zh:{wageringBonuses:{level:"等級",current:"当前",next:"下一個",first:"第一個",last:"最後一個",previous:"上一個",startChallenge:"開始挑戰"}}};
686
686
  /* ../casino-wagering-bonus/src/CasinoWageringBonus.svelte generated by Svelte v3.48.0 */function Yn(e,t,n){const r=e.slice();return r[22]=t[n],r[24]=n,r}function Jn(e,t,n){const r=e.slice();return r[25]=t[n],r[27]=n,r}function qn(e,t,n){const r=e.slice();return r[28]=t[n],r}function Qn(e,t,n){const r=e.slice();return r[31]=t[n],r}function er(e,t,n){const r=e.slice();return r[34]=t[n],r}
687
687
  // (88:0) {#if bonus && isShowingBonus}
688
- function tr(e){let n,r,o,i,s,a,l,c,u,m,v,E,C,T,B,S,_,H,L,P,R,I,O,M=/*bonus*/(e[1].name||/*bonus*/e[1].presentation?.name.content)+"",x=[ee("BonusInfoTitle","title")],N={};for(let e=0;e<x.length;e+=1)N=t(N,x[e]);let $=/*status*/e[0]===oe.active&&nr(e),D=[ee("BonusInfoWrapper","layout-horizental space-between")],U={};for(let e=0;e<D.length;e+=1)U=t(U,D[e]);let k=/*status*/e[0]===oe.claimable&&rr(e),G=/*status*/e[0]!==oe.claimable&&or(e),V=[ee("BonusInfo")],j={};for(let e=0;e<V.length;e+=1)j=t(j,V[e]);let Z=[ee("RewardsTopBarTitle","title")],K={};for(let e=0;e<Z.length;e+=1)K=t(K,Z[e]);let W=/*status*/e[0]!==oe.claimable&&ar(e),X=[ee("RewardsTopBar","layout-horizental space-between")],z={};for(let e=0;e<X.length;e+=1)z=t(z,X[e]);let Y=/*status*/e[0]!==oe.claimable&&lr(e),J=/*status*/e[0]===oe.claimable&&hr(e),q=[ee("BonusRewardsLevels")],Q={};for(let e=0;e<q.length;e+=1)Q=t(Q,q[e]);let te=[ee("SupportsTitle","title")],ne={};for(let e=0;e<te.length;e+=1)ne=t(ne,te[e]);let re=Object.keys(/*bonus*/e[1].extension?.bonus.wallet||/*bonus*/e[1].wallet).filter(br),ie=[];for(let t=0;t<re.length;t+=1)ie[t]=dr(Yn(e,re,t));let se=[ee("SupportsList")],ae={};for(let e=0;e<se.length;e+=1)ae=t(ae,se[e]);let le=[ee("SupportsWrapper")],ce={};for(let e=0;e<le.length;e+=1)ce=t(ce,le[e]);let ue=[ee("BonusRewards")],he={};for(let e=0;e<ue.length;e+=1)he=t(he,ue[e]);let pe=[ee("Root","layout-horizental")],fe={};for(let e=0;e<pe.length;e+=1)fe=t(fe,pe[e]);return{c(){n=g("section"),r=g("div"),o=g("section"),i=g("section"),s=b(M),a=y(),$&&$.c(),l=y(),k&&k.c(),c=y(),G&&G.c(),u=y(),m=g("div"),v=g("section"),E=g("div"),C=b("Rewards"),T=y(),W&&W.c(),B=y(),S=g("div"),Y&&Y.c(),_=y(),J&&J.c(),H=y(),L=g("div"),P=g("div"),R=b("Include bets"),I=y(),O=g("div");for(let e=0;e<ie.length;e+=1)ie[e].c();w(i,N),w(o,U),w(r,j),w(E,K),w(v,z),w(S,Q),w(P,ne),w(O,ae),w(L,ce),w(m,he),w(n,fe)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(o,i),h(i,s),h(o,a),$&&$.m(o,null),h(r,l),k&&k.m(r,null),h(r,c),G&&G.m(r,null),h(n,u),h(n,m),h(m,v),h(v,E),h(E,C),h(v,T),W&&W.m(v,null),h(m,B),h(m,S),Y&&Y.m(S,null),h(S,_),J&&J.m(S,null),h(m,H),h(m,L),h(L,P),h(P,R),h(L,I),h(L,O);for(let e=0;e<ie.length;e+=1)ie[e].m(O,null)},p(e,t){if(/*bonus*/2&t[0]&&M!==(M=/*bonus*/(e[1].name||/*bonus*/e[1].presentation?.name.content)+"")&&A(s,M),w(i,N=F(x,[ee("BonusInfoTitle","title")])),/*status*/e[0]===oe.active?$?$.p(e,t):($=nr(e),$.c(),$.m(o,null)):$&&($.d(1),$=null),w(o,U=F(D,[ee("BonusInfoWrapper","layout-horizental space-between")])),/*status*/e[0]===oe.claimable?k?k.p(e,t):(k=rr(e),k.c(),k.m(r,c)):k&&(k.d(1),k=null),/*status*/e[0]!==oe.claimable?G?G.p(e,t):(G=or(e),G.c(),G.m(r,null)):G&&(G.d(1),G=null),w(r,j=F(V,[ee("BonusInfo")])),w(E,K=F(Z,[ee("RewardsTopBarTitle","title")])),/*status*/e[0]!==oe.claimable?W?W.p(e,t):(W=ar(e),W.c(),W.m(v,null)):W&&(W.d(1),W=null),w(v,z=F(X,[ee("RewardsTopBar","layout-horizental space-between")])),/*status*/e[0]!==oe.claimable?Y?Y.p(e,t):(Y=lr(e),Y.c(),Y.m(S,_)):Y&&(Y.d(1),Y=null),/*status*/e[0]===oe.claimable?J?J.p(e,t):(J=hr(e),J.c(),J.m(S,null)):J&&(J.d(1),J=null),w(S,Q=F(q,[ee("BonusRewardsLevels")])),w(P,ne=F(te,[ee("SupportsTitle","title")])),/*bonus*/2&t[0]){let n;for(re=Object.keys(/*bonus*/e[1].extension?.bonus.wallet||/*bonus*/e[1].wallet).filter(br),n=0;n<re.length;n+=1){const r=Yn(e,re,n);ie[n]?ie[n].p(r,t):(ie[n]=dr(r),ie[n].c(),ie[n].m(O,null))}for(;n<ie.length;n+=1)ie[n].d(1);ie.length=re.length}w(O,ae=F(se,[ee("SupportsList")])),w(L,ce=F(le,[ee("SupportsWrapper")])),w(m,he=F(ue,[ee("BonusRewards")])),w(n,fe=F(pe,[ee("Root","layout-horizental")]))},d(e){e&&f(n),$&&$.d(),k&&k.d(),G&&G.d(),W&&W.d(),Y&&Y.d(),J&&J.d(),d(ie,e)}}}
688
+ function tr(e){let n,r,o,i,s,a,l,c,u,m,v,E,C,T,B,S,_,H,L,P,R,I,O,M=/*bonus*/(e[1].name||/*bonus*/e[1].presentation?.name.content)+"",x=[ee("BonusInfoTitle","title")],N={};for(let e=0;e<x.length;e+=1)N=t(N,x[e]);let $=/*status*/e[0]===oe.active&&nr(e),D=[ee("BonusInfoWrapper","layout-horizental space-between")],k={};for(let e=0;e<D.length;e+=1)k=t(k,D[e]);let U=/*status*/e[0]===oe.claimable&&rr(e),G=/*status*/e[0]!==oe.claimable&&or(e),V=[ee("BonusInfo")],j={};for(let e=0;e<V.length;e+=1)j=t(j,V[e]);let Z=[ee("RewardsTopBarTitle","title")],K={};for(let e=0;e<Z.length;e+=1)K=t(K,Z[e]);let W=/*status*/e[0]!==oe.claimable&&ar(e),X=[ee("RewardsTopBar","layout-horizental space-between")],z={};for(let e=0;e<X.length;e+=1)z=t(z,X[e]);let Y=/*status*/e[0]!==oe.claimable&&lr(e),J=/*status*/e[0]===oe.claimable&&hr(e),q=[ee("BonusRewardsLevels")],Q={};for(let e=0;e<q.length;e+=1)Q=t(Q,q[e]);let te=[ee("SupportsTitle","title")],ne={};for(let e=0;e<te.length;e+=1)ne=t(ne,te[e]);let re=Object.keys(/*bonus*/e[1].extension?.bonus.wallet||/*bonus*/e[1].wallet).filter(br),ie=[];for(let t=0;t<re.length;t+=1)ie[t]=dr(Yn(e,re,t));let se=[ee("SupportsList")],ae={};for(let e=0;e<se.length;e+=1)ae=t(ae,se[e]);let le=[ee("SupportsWrapper")],ce={};for(let e=0;e<le.length;e+=1)ce=t(ce,le[e]);let ue=[ee("BonusRewards")],he={};for(let e=0;e<ue.length;e+=1)he=t(he,ue[e]);let pe=[ee("Root","layout-horizental")],fe={};for(let e=0;e<pe.length;e+=1)fe=t(fe,pe[e]);return{c(){n=g("section"),r=g("div"),o=g("section"),i=g("section"),s=b(M),a=y(),$&&$.c(),l=y(),U&&U.c(),c=y(),G&&G.c(),u=y(),m=g("div"),v=g("section"),E=g("div"),C=b("Rewards"),T=y(),W&&W.c(),B=y(),S=g("div"),Y&&Y.c(),_=y(),J&&J.c(),H=y(),L=g("div"),P=g("div"),R=b("Include bets"),I=y(),O=g("div");for(let e=0;e<ie.length;e+=1)ie[e].c();w(i,N),w(o,k),w(r,j),w(E,K),w(v,z),w(S,Q),w(P,ne),w(O,ae),w(L,ce),w(m,he),w(n,fe)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(o,i),h(i,s),h(o,a),$&&$.m(o,null),h(r,l),U&&U.m(r,null),h(r,c),G&&G.m(r,null),h(n,u),h(n,m),h(m,v),h(v,E),h(E,C),h(v,T),W&&W.m(v,null),h(m,B),h(m,S),Y&&Y.m(S,null),h(S,_),J&&J.m(S,null),h(m,H),h(m,L),h(L,P),h(P,R),h(L,I),h(L,O);for(let e=0;e<ie.length;e+=1)ie[e].m(O,null)},p(e,t){if(/*bonus*/2&t[0]&&M!==(M=/*bonus*/(e[1].name||/*bonus*/e[1].presentation?.name.content)+"")&&A(s,M),w(i,N=F(x,[ee("BonusInfoTitle","title")])),/*status*/e[0]===oe.active?$?$.p(e,t):($=nr(e),$.c(),$.m(o,null)):$&&($.d(1),$=null),w(o,k=F(D,[ee("BonusInfoWrapper","layout-horizental space-between")])),/*status*/e[0]===oe.claimable?U?U.p(e,t):(U=rr(e),U.c(),U.m(r,c)):U&&(U.d(1),U=null),/*status*/e[0]!==oe.claimable?G?G.p(e,t):(G=or(e),G.c(),G.m(r,null)):G&&(G.d(1),G=null),w(r,j=F(V,[ee("BonusInfo")])),w(E,K=F(Z,[ee("RewardsTopBarTitle","title")])),/*status*/e[0]!==oe.claimable?W?W.p(e,t):(W=ar(e),W.c(),W.m(v,null)):W&&(W.d(1),W=null),w(v,z=F(X,[ee("RewardsTopBar","layout-horizental space-between")])),/*status*/e[0]!==oe.claimable?Y?Y.p(e,t):(Y=lr(e),Y.c(),Y.m(S,_)):Y&&(Y.d(1),Y=null),/*status*/e[0]===oe.claimable?J?J.p(e,t):(J=hr(e),J.c(),J.m(S,null)):J&&(J.d(1),J=null),w(S,Q=F(q,[ee("BonusRewardsLevels")])),w(P,ne=F(te,[ee("SupportsTitle","title")])),/*bonus*/2&t[0]){let n;for(re=Object.keys(/*bonus*/e[1].extension?.bonus.wallet||/*bonus*/e[1].wallet).filter(br),n=0;n<re.length;n+=1){const r=Yn(e,re,n);ie[n]?ie[n].p(r,t):(ie[n]=dr(r),ie[n].c(),ie[n].m(O,null))}for(;n<ie.length;n+=1)ie[n].d(1);ie.length=re.length}w(O,ae=F(se,[ee("SupportsList")])),w(L,ce=F(le,[ee("SupportsWrapper")])),w(m,he=F(ue,[ee("BonusRewards")])),w(n,fe=F(pe,[ee("Root","layout-horizental")]))},d(e){e&&f(n),$&&$.d(),U&&U.d(),G&&G.d(),W&&W.d(),Y&&Y.d(),J&&J.d(),d(ie,e)}}}
689
689
  // (96:8) {#if status === BonusStatus.active}
690
690
  function nr(e){let n,r,o,i,s,a,l=[ee("BonusInfoExpireDate")],u={};for(let e=0;e<l.length;e+=1)u=t(u,l[e]);let d=[ee("BonusInfoExpire")],m={};for(let e=0;e<d.length;e+=1)m=t(m,d[e]);return{c(){n=g("section"),r=g("img"),i=y(),s=g("span"),a=b(/*expiryTime*/e[6]),C(r,"class","icon"),c(r.src,o="data:image/svg+xml,%3csvg width='26' height='25' viewBox='0 0 26 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3490_603)'%3e%3cpath d='M12.502 0C5.60958 0 0.00195312 5.60762 0.00195312 12.5C0.00195312 19.3924 5.60958 25 12.502 25C19.3943 25 25.002 19.3924 25.002 12.5C25.002 5.60762 19.3943 0 12.502 0ZM12.502 23.4375C6.47091 23.4375 1.56446 18.531 1.56446 12.5C1.56446 6.46896 6.47091 1.56251 12.502 1.56251C18.533 1.56251 23.4394 6.46896 23.4394 12.5C23.4394 18.531 18.533 23.4375 12.502 23.4375Z' fill='black'/%3e%3cpath d='M13.2832 4.6875H11.7207V12.8235L16.6371 17.7398L17.7418 16.6351L13.2832 12.1765V4.6875Z' fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3490_603'%3e%3crect width='25' height='25' fill='white' transform='translate(0.00195312)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e")||C(r,"src","data:image/svg+xml,%3csvg width='26' height='25' viewBox='0 0 26 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_3490_603)'%3e%3cpath d='M12.502 0C5.60958 0 0.00195312 5.60762 0.00195312 12.5C0.00195312 19.3924 5.60958 25 12.502 25C19.3943 25 25.002 19.3924 25.002 12.5C25.002 5.60762 19.3943 0 12.502 0ZM12.502 23.4375C6.47091 23.4375 1.56446 18.531 1.56446 12.5C1.56446 6.46896 6.47091 1.56251 12.502 1.56251C18.533 1.56251 23.4394 6.46896 23.4394 12.5C23.4394 18.531 18.533 23.4375 12.502 23.4375Z' fill='black'/%3e%3cpath d='M13.2832 4.6875H11.7207V12.8235L16.6371 17.7398L17.7418 16.6351L13.2832 12.1765V4.6875Z' fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_3490_603'%3e%3crect width='25' height='25' fill='white' transform='translate(0.00195312)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"),C(r,"alt","expiryTime"),w(s,u),w(n,m)},m(e,t){p(e,n,t),h(n,r),h(n,i),h(n,s),h(s,a)},p(e,t){/*expiryTime*/64&t[0]&&A(a,/*expiryTime*/e[6]),w(s,u=F(l,[ee("BonusInfoExpireDate")])),w(n,m=F(d,[ee("BonusInfoExpire")]))},d(e){e&&f(n)}}}
691
691
  // (107:6) {#if status === BonusStatus.claimable}
692
- function rr(e){let n,r,o,i,s,a,l,u,d,m,v,T,B,S,_,H,L,P,R,I,O,M,x,N,$,D,U,k,G,V,j,Z=/*bonus*/(e[1].description||"")+"",K=/*levels*/e[2].length+"",W=/*$_*/e[10](Xn.startChallenge)+"",X=[ee("BonusInfoDescription")],J={};for(let e=0;e<X.length;e+=1)J=t(J,X[e]);let q=[ee("StatusClaimableInfoLevels")],Q={};for(let e=0;e<q.length;e+=1)Q=t(Q,q[e]);let te=[ee("StatusClaimableInfoPeriod")],ne={};for(let e=0;e<te.length;e+=1)ne=t(ne,te[e]);let re=[ee("StatusClaimableInfo")],oe={};for(let e=0;e<re.length;e+=1)oe=t(oe,re[e]);let ie=[ee("StatusClaimableCommandTerms","terms")],se={};for(let e=0;e<ie.length;e+=1)se=t(se,ie[e]);let ae=[ee("StatusClaimableCommand")],le={};for(let e=0;e<ae.length;e+=1)le=t(le,ae[e]);let ce=[ee("StatusClaimable","layout-horizental space-between")],ue={};for(let e=0;e<ce.length;e+=1)ue=t(ue,ce[e]);return{c(){n=g("div"),r=b(Z),o=y(),i=g("hr"),s=y(),a=g("section"),l=g("div"),u=g("div"),d=g("img"),v=y(),T=b(K),B=b(" Levels"),S=y(),_=g("div"),H=g("img"),P=y(),R=b(/*endTime*/e[7]),I=y(),O=g("div"),M=g("button"),x=b(W),$=y(),D=g("div"),U=g("a"),k=b("Terms and Conditions"),w(n,J),C(d,"class","icon"),c(d.src,m=Y)||C(d,"src","data:image/svg+xml,%3csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_3490_347)'%3e %3cpath d='M12.5002 7.5C11.5797 7.5 10.8335 8.2462 10.8335 9.16667V23.3333C10.8335 24.2538 11.5797 25 12.5002 25C13.4206 25 14.1668 24.2538 14.1668 23.3333V9.16667C14.1668 8.2462 13.4206 7.5 12.5002 7.5ZM13.3335 23.3333C13.3335 23.7936 12.9604 24.1667 12.5002 24.1667C12.0399 24.1667 11.6668 23.7936 11.6668 23.3333V9.16667C11.6668 8.70641 12.0399 8.33333 12.5002 8.33333C12.9604 8.33333 13.3335 8.70641 13.3335 9.16667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M7.08317 12.5C6.1627 12.5 5.4165 13.2462 5.4165 14.1667V23.3333C5.4165 24.2538 6.1627 25 7.08317 25C8.00364 25 8.74984 24.2538 8.74984 23.3333V14.1667C8.74984 13.2462 8.00364 12.5 7.08317 12.5ZM7.9165 23.3333C7.9165 23.7936 7.54343 24.1667 7.08317 24.1667C6.62291 24.1667 6.24984 23.7936 6.24984 23.3333V14.1667C6.24984 13.7064 6.62291 13.3333 7.08317 13.3333C7.54343 13.3333 7.9165 13.7064 7.9165 14.1667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M1.66667 18.333C0.746198 18.333 0 19.0792 0 19.9997V23.333C0 24.2535 0.746198 24.9997 1.66667 24.9997C2.58714 24.9997 3.33333 24.2535 3.33333 23.333V19.9997C3.33333 19.0792 2.58714 18.333 1.66667 18.333ZM2.5 23.333C2.5 23.7933 2.12693 24.1663 1.66667 24.1663C1.20641 24.1663 0.833333 23.7933 0.833333 23.333V19.9997C0.833333 19.5394 1.20641 19.1663 1.66667 19.1663C2.12693 19.1663 2.5 19.5394 2.5 19.9997V23.333Z' fill='%2300AEEF'/%3e %3cpath d='M17.9167 2.5C16.9962 2.5 16.25 3.2462 16.25 4.16667V23.3333C16.25 24.2538 16.9962 25 17.9167 25C18.8371 25 19.5833 24.2538 19.5833 23.3333V4.16667C19.5833 3.2462 18.8371 2.5 17.9167 2.5ZM18.75 23.3333C18.75 23.7936 18.3769 24.1667 17.9167 24.1667C17.4564 24.1667 17.0833 23.7936 17.0833 23.3333V4.16667C17.0833 3.70641 17.4564 3.33333 17.9167 3.33333C18.3769 3.33333 18.75 3.70641 18.75 4.16667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M23.3332 0C22.4127 0 21.6665 0.746198 21.6665 1.66667V23.3333C21.6665 24.2538 22.4127 25 23.3332 25C24.2536 25 24.9998 24.2538 24.9998 23.3333V1.66667C24.9998 0.746198 24.2536 0 23.3332 0ZM24.1665 23.3333C24.1665 23.7936 23.7934 24.1667 23.3332 24.1667C22.8729 24.1667 22.4998 23.7936 22.4998 23.3333V1.66667C22.4998 1.20641 22.8729 0.833333 23.3332 0.833333C23.7934 0.833333 24.1665 1.20641 24.1665 1.66667V23.3333Z' fill='%2300AEEF'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_3490_347'%3e %3crect width='25' height='25' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e"),C(d,"alt","Levels"),w(u,Q),C(H,"class","icon"),c(H.src,L=z)||C(H,"src","data:image/svg+xml,%3csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_3490_338)'%3e %3cpath d='M12.5 0C5.60762 0 0 5.60762 0 12.5C0 19.3924 5.60762 25 12.5 25C19.3924 25 25 19.3924 25 12.5C25 5.60762 19.3924 0 12.5 0ZM12.5 23.4375C6.46896 23.4375 1.56251 18.531 1.56251 12.5C1.56251 6.46896 6.46896 1.56251 12.5 1.56251C18.531 1.56251 23.4375 6.46896 23.4375 12.5C23.4375 18.531 18.531 23.4375 12.5 23.4375V23.4375Z' fill='%2300AEEF'/%3e %3cpath d='M13.2813 4.6875H11.7188V12.8235L16.6351 17.7398L17.7399 16.6351L13.2813 12.1765V4.6875Z' fill='%2300AEEF'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_3490_338'%3e %3crect width='25' height='25' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e"),C(H,"alt","EndTime"),w(_,ne),w(l,oe),C(M,"type","button"),M.disabled=N=!/*isButtonClickable*/e[8],C(U,"href",G=/*bonus*/e[1].termsUrl),C(U,"target","__blank"),w(D,se),w(O,le),w(a,ue)},m(t,c){p(t,n,c),h(n,r),p(t,o,c),p(t,i,c),p(t,s,c),p(t,a,c),h(a,l),h(l,u),h(u,d),h(u,v),h(u,T),h(u,B),h(l,S),h(l,_),h(_,H),h(_,P),h(_,R),h(a,I),h(a,O),h(O,M),h(M,x),h(O,$),h(O,D),h(D,U),h(U,k),V||(j=E(M,"click",/*eventStartChallenge*/e[11]),V=!0)},p(e,t){/*bonus*/2&t[0]&&Z!==(Z=/*bonus*/(e[1].description||"")+"")&&A(r,Z),w(n,J=F(X,[ee("BonusInfoDescription")])),/*levels*/4&t[0]&&K!==(K=/*levels*/e[2].length+"")&&A(T,K),w(u,Q=F(q,[ee("StatusClaimableInfoLevels")])),/*endTime*/128&t[0]&&A(R,/*endTime*/e[7]),w(_,ne=F(te,[ee("StatusClaimableInfoPeriod")])),w(l,oe=F(re,[ee("StatusClaimableInfo")])),/*$_*/1024&t[0]&&W!==(W=/*$_*/e[10](Xn.startChallenge)+"")&&A(x,W),/*isButtonClickable*/256&t[0]&&N!==(N=!/*isButtonClickable*/e[8])&&(M.disabled=N),/*bonus*/2&t[0]&&G!==(G=/*bonus*/e[1].termsUrl)&&C(U,"href",G),w(D,se=F(ie,[ee("StatusClaimableCommandTerms","terms")])),w(O,le=F(ae,[ee("StatusClaimableCommand")])),w(a,ue=F(ce,[ee("StatusClaimable","layout-horizental space-between")]))},d(e){e&&f(n),e&&f(o),e&&f(i),e&&f(s),e&&f(a),V=!1,j()}}}
692
+ function rr(e){let n,r,o,i,s,a,l,u,d,m,v,T,B,S,_,H,L,P,R,I,O,M,x,N,$,D,k,U,G,V,j,Z=/*bonus*/(e[1].description||"")+"",K=/*levels*/e[2].length+"",W=/*$_*/e[10](Xn.startChallenge)+"",X=[ee("BonusInfoDescription")],J={};for(let e=0;e<X.length;e+=1)J=t(J,X[e]);let q=[ee("StatusClaimableInfoLevels")],Q={};for(let e=0;e<q.length;e+=1)Q=t(Q,q[e]);let te=[ee("StatusClaimableInfoPeriod")],ne={};for(let e=0;e<te.length;e+=1)ne=t(ne,te[e]);let re=[ee("StatusClaimableInfo")],oe={};for(let e=0;e<re.length;e+=1)oe=t(oe,re[e]);let ie=[ee("StatusClaimableCommandTerms","terms")],se={};for(let e=0;e<ie.length;e+=1)se=t(se,ie[e]);let ae=[ee("StatusClaimableCommand")],le={};for(let e=0;e<ae.length;e+=1)le=t(le,ae[e]);let ce=[ee("StatusClaimable","layout-horizental space-between")],ue={};for(let e=0;e<ce.length;e+=1)ue=t(ue,ce[e]);return{c(){n=g("div"),r=b(Z),o=y(),i=g("hr"),s=y(),a=g("section"),l=g("div"),u=g("div"),d=g("img"),v=y(),T=b(K),B=b(" Levels"),S=y(),_=g("div"),H=g("img"),P=y(),R=b(/*endTime*/e[7]),I=y(),O=g("div"),M=g("button"),x=b(W),$=y(),D=g("div"),k=g("a"),U=b("Terms and Conditions"),w(n,J),C(d,"class","icon"),c(d.src,m=Y)||C(d,"src","data:image/svg+xml,%3csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_3490_347)'%3e %3cpath d='M12.5002 7.5C11.5797 7.5 10.8335 8.2462 10.8335 9.16667V23.3333C10.8335 24.2538 11.5797 25 12.5002 25C13.4206 25 14.1668 24.2538 14.1668 23.3333V9.16667C14.1668 8.2462 13.4206 7.5 12.5002 7.5ZM13.3335 23.3333C13.3335 23.7936 12.9604 24.1667 12.5002 24.1667C12.0399 24.1667 11.6668 23.7936 11.6668 23.3333V9.16667C11.6668 8.70641 12.0399 8.33333 12.5002 8.33333C12.9604 8.33333 13.3335 8.70641 13.3335 9.16667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M7.08317 12.5C6.1627 12.5 5.4165 13.2462 5.4165 14.1667V23.3333C5.4165 24.2538 6.1627 25 7.08317 25C8.00364 25 8.74984 24.2538 8.74984 23.3333V14.1667C8.74984 13.2462 8.00364 12.5 7.08317 12.5ZM7.9165 23.3333C7.9165 23.7936 7.54343 24.1667 7.08317 24.1667C6.62291 24.1667 6.24984 23.7936 6.24984 23.3333V14.1667C6.24984 13.7064 6.62291 13.3333 7.08317 13.3333C7.54343 13.3333 7.9165 13.7064 7.9165 14.1667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M1.66667 18.333C0.746198 18.333 0 19.0792 0 19.9997V23.333C0 24.2535 0.746198 24.9997 1.66667 24.9997C2.58714 24.9997 3.33333 24.2535 3.33333 23.333V19.9997C3.33333 19.0792 2.58714 18.333 1.66667 18.333ZM2.5 23.333C2.5 23.7933 2.12693 24.1663 1.66667 24.1663C1.20641 24.1663 0.833333 23.7933 0.833333 23.333V19.9997C0.833333 19.5394 1.20641 19.1663 1.66667 19.1663C2.12693 19.1663 2.5 19.5394 2.5 19.9997V23.333Z' fill='%2300AEEF'/%3e %3cpath d='M17.9167 2.5C16.9962 2.5 16.25 3.2462 16.25 4.16667V23.3333C16.25 24.2538 16.9962 25 17.9167 25C18.8371 25 19.5833 24.2538 19.5833 23.3333V4.16667C19.5833 3.2462 18.8371 2.5 17.9167 2.5ZM18.75 23.3333C18.75 23.7936 18.3769 24.1667 17.9167 24.1667C17.4564 24.1667 17.0833 23.7936 17.0833 23.3333V4.16667C17.0833 3.70641 17.4564 3.33333 17.9167 3.33333C18.3769 3.33333 18.75 3.70641 18.75 4.16667V23.3333Z' fill='%2300AEEF'/%3e %3cpath d='M23.3332 0C22.4127 0 21.6665 0.746198 21.6665 1.66667V23.3333C21.6665 24.2538 22.4127 25 23.3332 25C24.2536 25 24.9998 24.2538 24.9998 23.3333V1.66667C24.9998 0.746198 24.2536 0 23.3332 0ZM24.1665 23.3333C24.1665 23.7936 23.7934 24.1667 23.3332 24.1667C22.8729 24.1667 22.4998 23.7936 22.4998 23.3333V1.66667C22.4998 1.20641 22.8729 0.833333 23.3332 0.833333C23.7934 0.833333 24.1665 1.20641 24.1665 1.66667V23.3333Z' fill='%2300AEEF'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_3490_347'%3e %3crect width='25' height='25' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e"),C(d,"alt","Levels"),w(u,Q),C(H,"class","icon"),c(H.src,L=z)||C(H,"src","data:image/svg+xml,%3csvg width='25' height='25' viewBox='0 0 25 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cg clip-path='url(%23clip0_3490_338)'%3e %3cpath d='M12.5 0C5.60762 0 0 5.60762 0 12.5C0 19.3924 5.60762 25 12.5 25C19.3924 25 25 19.3924 25 12.5C25 5.60762 19.3924 0 12.5 0ZM12.5 23.4375C6.46896 23.4375 1.56251 18.531 1.56251 12.5C1.56251 6.46896 6.46896 1.56251 12.5 1.56251C18.531 1.56251 23.4375 6.46896 23.4375 12.5C23.4375 18.531 18.531 23.4375 12.5 23.4375V23.4375Z' fill='%2300AEEF'/%3e %3cpath d='M13.2813 4.6875H11.7188V12.8235L16.6351 17.7398L17.7399 16.6351L13.2813 12.1765V4.6875Z' fill='%2300AEEF'/%3e %3c/g%3e %3cdefs%3e %3cclipPath id='clip0_3490_338'%3e %3crect width='25' height='25' fill='white'/%3e %3c/clipPath%3e %3c/defs%3e%3c/svg%3e"),C(H,"alt","EndTime"),w(_,ne),w(l,oe),C(M,"type","button"),M.disabled=N=!/*isButtonClickable*/e[8],C(k,"href",G=/*bonus*/e[1].presentation?.url?.content),C(k,"target","__blank"),w(D,se),w(O,le),w(a,ue)},m(t,c){p(t,n,c),h(n,r),p(t,o,c),p(t,i,c),p(t,s,c),p(t,a,c),h(a,l),h(l,u),h(u,d),h(u,v),h(u,T),h(u,B),h(l,S),h(l,_),h(_,H),h(_,P),h(_,R),h(a,I),h(a,O),h(O,M),h(M,x),h(O,$),h(O,D),h(D,k),h(k,U),V||(j=E(M,"click",/*eventStartChallenge*/e[11]),V=!0)},p(e,t){/*bonus*/2&t[0]&&Z!==(Z=/*bonus*/(e[1].description||"")+"")&&A(r,Z),w(n,J=F(X,[ee("BonusInfoDescription")])),/*levels*/4&t[0]&&K!==(K=/*levels*/e[2].length+"")&&A(T,K),w(u,Q=F(q,[ee("StatusClaimableInfoLevels")])),/*endTime*/128&t[0]&&A(R,/*endTime*/e[7]),w(_,ne=F(te,[ee("StatusClaimableInfoPeriod")])),w(l,oe=F(re,[ee("StatusClaimableInfo")])),/*$_*/1024&t[0]&&W!==(W=/*$_*/e[10](Xn.startChallenge)+"")&&A(x,W),/*isButtonClickable*/256&t[0]&&N!==(N=!/*isButtonClickable*/e[8])&&(M.disabled=N),/*bonus*/2&t[0]&&G!==(G=/*bonus*/e[1].presentation?.url?.content)&&C(k,"href",G),w(D,se=F(ie,[ee("StatusClaimableCommandTerms","terms")])),w(O,le=F(ae,[ee("StatusClaimableCommand")])),w(a,ue=F(ce,[ee("StatusClaimable","layout-horizental space-between")]))},d(e){e&&f(n),e&&f(o),e&&f(i),e&&f(s),e&&f(a),V=!1,j()}}}
693
693
  // (148:6) {#if status !== BonusStatus.claimable}
694
- function or(e){let n,r,o,i,s,a,l,c,u,d,m,v,E,T,S,_,H,L,P,R,I,O,M,x,N=/*levelsCurrent*/e[3].textWithLength+"",$=/*bonusTypeInfo*/e[5].target()+"",D=[oe.completed,oe.released].includes(/*bonus*/e[1].status),U=[ee("LevelStatus")],k={};for(let e=0;e<U.length;e+=1)k=t(k,U[e]);let G=[ee("LevelStatusWrapper")],V={};for(let e=0;e<G.length;e+=1)V=t(V,G[e]);let j=[ee("BonusTypeTarget","title")],Z={};for(let e=0;e<j.length;e+=1)Z=t(Z,j[e]);let K=/*bonus*/e[1].status===oe.active&&ir(e),W=D&&sr(e),X=[ee("BonusType")],z={};for(let e=0;e<X.length;e+=1)z=t(z,X[e]);let Y=[ee("BonusTerms","terms")],J={};for(let e=0;e<Y.length;e+=1)J=t(J,Y[e]);let q=[ee("BonusTypeWrapper")],Q={};for(let e=0;e<q.length;e+=1)Q=t(Q,q[e]);let te=[ee("AfterClaimedWrapper","layout-horizental space-between")],ne={};for(let e=0;e<te.length;e+=1)ne=t(ne,te[e]);return{c(){n=g("hr"),r=y(),o=g("section"),i=g("div"),s=g("casino-wagering-bonus-progress"),l=y(),c=g("div"),u=b("Level\n "),d=b(N),m=y(),v=g("div"),E=g("div"),T=g("div"),S=b($),_=y(),K&&K.c(),H=y(),W&&W.c(),L=y(),P=g("div"),R=b("Learn more about the challenge rules and included games or events in \n "),I=g("a"),O=b("Terms and Conditions"),x=b("\n section"),B(s,"percent",/*percent*/e[4]),B(s,"status",a=/*bonus*/e[1].status),w(c,k),w(i,V),w(T,Z),w(E,z),C(I,"href",M=/*bonus*/e[1].termsUrl),C(I,"target","__blank"),w(P,J),w(v,Q),w(o,ne)},m(e,t){p(e,n,t),p(e,r,t),p(e,o,t),h(o,i),h(i,s),h(i,l),h(i,c),h(c,u),h(c,d),h(o,m),h(o,v),h(v,E),h(E,T),h(T,S),h(E,_),K&&K.m(E,null),h(E,H),W&&W.m(E,null),h(v,L),h(v,P),h(P,R),h(P,I),h(I,O),h(P,x)},p(e,t){/*percent*/16&t[0]&&B(s,"percent",/*percent*/e[4]),/*bonus*/2&t[0]&&a!==(a=/*bonus*/e[1].status)&&B(s,"status",a),/*levelsCurrent*/8&t[0]&&N!==(N=/*levelsCurrent*/e[3].textWithLength+"")&&A(d,N),w(c,k=F(U,[ee("LevelStatus")])),w(i,V=F(G,[ee("LevelStatusWrapper")])),/*bonusTypeInfo*/32&t[0]&&$!==($=/*bonusTypeInfo*/e[5].target()+"")&&A(S,$),w(T,Z=F(j,[ee("BonusTypeTarget","title")])),/*bonus*/e[1].status===oe.active?K?K.p(e,t):(K=ir(e),K.c(),K.m(E,H)):K&&(K.d(1),K=null),/*bonus*/2&t[0]&&(D=[oe.completed,oe.released].includes(/*bonus*/e[1].status)),D?W?W.p(e,t):(W=sr(e),W.c(),W.m(E,null)):W&&(W.d(1),W=null),w(E,z=F(X,[ee("BonusType")])),/*bonus*/2&t[0]&&M!==(M=/*bonus*/e[1].termsUrl)&&C(I,"href",M),w(P,J=F(Y,[ee("BonusTerms","terms")])),w(v,Q=F(q,[ee("BonusTypeWrapper")])),w(o,ne=F(te,[ee("AfterClaimedWrapper","layout-horizental space-between")]))},d(e){e&&f(n),e&&f(r),e&&f(o),K&&K.d(),W&&W.d()}}}
694
+ function or(e){let n,r,o,i,s,a,l,c,u,d,m,v,E,T,S,_,H,L,P,R,I,O,M,x,N=/*levelsCurrent*/e[3].textWithLength+"",$=/*bonusTypeInfo*/e[5].target()+"",D=[oe.completed,oe.released].includes(/*bonus*/e[1].status),k=[ee("LevelStatus")],U={};for(let e=0;e<k.length;e+=1)U=t(U,k[e]);let G=[ee("LevelStatusWrapper")],V={};for(let e=0;e<G.length;e+=1)V=t(V,G[e]);let j=[ee("BonusTypeTarget","title")],Z={};for(let e=0;e<j.length;e+=1)Z=t(Z,j[e]);let K=/*bonus*/e[1].status===oe.active&&ir(e),W=D&&sr(e),X=[ee("BonusType")],z={};for(let e=0;e<X.length;e+=1)z=t(z,X[e]);let Y=[ee("BonusTerms","terms")],J={};for(let e=0;e<Y.length;e+=1)J=t(J,Y[e]);let q=[ee("BonusTypeWrapper")],Q={};for(let e=0;e<q.length;e+=1)Q=t(Q,q[e]);let te=[ee("AfterClaimedWrapper","layout-horizental space-between")],ne={};for(let e=0;e<te.length;e+=1)ne=t(ne,te[e]);return{c(){n=g("hr"),r=y(),o=g("section"),i=g("div"),s=g("casino-wagering-bonus-progress"),l=y(),c=g("div"),u=b("Level\n "),d=b(N),m=y(),v=g("div"),E=g("div"),T=g("div"),S=b($),_=y(),K&&K.c(),H=y(),W&&W.c(),L=y(),P=g("div"),R=b("Learn more about the challenge rules and included games or events in \n "),I=g("a"),O=b("Terms and Conditions"),x=b("\n section"),B(s,"percent",/*percent*/e[4]),B(s,"status",a=/*bonus*/e[1].status),w(c,U),w(i,V),w(T,Z),w(E,z),C(I,"href",M=/*bonus*/e[1]?.url),C(I,"target","__blank"),w(P,J),w(v,Q),w(o,ne)},m(e,t){p(e,n,t),p(e,r,t),p(e,o,t),h(o,i),h(i,s),h(i,l),h(i,c),h(c,u),h(c,d),h(o,m),h(o,v),h(v,E),h(E,T),h(T,S),h(E,_),K&&K.m(E,null),h(E,H),W&&W.m(E,null),h(v,L),h(v,P),h(P,R),h(P,I),h(I,O),h(P,x)},p(e,t){/*percent*/16&t[0]&&B(s,"percent",/*percent*/e[4]),/*bonus*/2&t[0]&&a!==(a=/*bonus*/e[1].status)&&B(s,"status",a),/*levelsCurrent*/8&t[0]&&N!==(N=/*levelsCurrent*/e[3].textWithLength+"")&&A(d,N),w(c,U=F(k,[ee("LevelStatus")])),w(i,V=F(G,[ee("LevelStatusWrapper")])),/*bonusTypeInfo*/32&t[0]&&$!==($=/*bonusTypeInfo*/e[5].target()+"")&&A(S,$),w(T,Z=F(j,[ee("BonusTypeTarget","title")])),/*bonus*/e[1].status===oe.active?K?K.p(e,t):(K=ir(e),K.c(),K.m(E,H)):K&&(K.d(1),K=null),/*bonus*/2&t[0]&&(D=[oe.completed,oe.released].includes(/*bonus*/e[1].status)),D?W?W.p(e,t):(W=sr(e),W.c(),W.m(E,null)):W&&(W.d(1),W=null),w(E,z=F(X,[ee("BonusType")])),/*bonus*/2&t[0]&&M!==(M=/*bonus*/e[1]?.url)&&C(I,"href",M),w(P,J=F(Y,[ee("BonusTerms","terms")])),w(v,Q=F(q,[ee("BonusTypeWrapper")])),w(o,ne=F(te,[ee("AfterClaimedWrapper","layout-horizental space-between")]))},d(e){e&&f(n),e&&f(r),e&&f(o),K&&K.d(),W&&W.d()}}}
695
695
  // (170:12) {#if bonus.status === BonusStatus.active}
696
696
  function ir(e){let n,r,o,i,s,a=/*bonusTypeInfo*/e[5].remaining()+"",l=/*bonusTypeInfo*/e[5].got()+"",c=[ee("BonusTypeRemaining")],u={};for(let e=0;e<c.length;e+=1)u=t(u,c[e]);let d=[ee("BonusTypeGot")],m={};for(let e=0;e<d.length;e+=1)m=t(m,d[e]);return{c(){n=g("div"),r=b(a),o=y(),i=g("div"),s=b(l),w(n,u),w(i,m)},m(e,t){p(e,n,t),h(n,r),p(e,o,t),p(e,i,t),h(i,s)},p(e,t){/*bonusTypeInfo*/32&t[0]&&a!==(a=/*bonusTypeInfo*/e[5].remaining()+"")&&A(r,a),w(n,u=F(c,[ee("BonusTypeRemaining")])),/*bonusTypeInfo*/32&t[0]&&l!==(l=/*bonusTypeInfo*/e[5].got()+"")&&A(s,l),w(i,m=F(d,[ee("BonusTypeGot")]))},d(e){e&&f(n),e&&f(o),e&&f(i)}}}
697
697
  // (179:12) {#if [BonusStatus.completed, BonusStatus.released].includes(bonus.status)}
@@ -736,7 +736,7 @@ g[t](r)}}))}catch(e){console.error(e)}});var g;const m=async()=>{c&&a&&o&&i&&r&&
736
736
  // }else{
737
737
  // bonuses = _bonuses
738
738
  // }
739
- ge(u,d),a===oe.active&&(u=me(r,i,h,d))):n(7,f=e.errorMessage)})(),n(6,p=!1))};de({OnWageringBonusClaimed:()=>m(),OnWageringBonusExpired:()=>m()}),H((()=>()=>ge(u,d)));return e.$$set=e=>{"endpoint"in e&&n(1,r=e.endpoint),"lang"in e&&n(2,o=e.lang),"session"in e&&n(3,i=e.session),"currency"in e&&n(4,s=e.currency),"status"in e&&n(0,a=e.status),"limit"in e&&n(9,l=e.limit)},e.$$.update=()=>{/*isMounted*/1024&e.$$.dirty&&c&&m(),/*endpoint*/2&e.$$.dirty&&r&&m(),/*lang*/4&e.$$.dirty&&o&&m(),/*session*/8&e.$$.dirty&&i&&m()},[a,r,o,i,s,h,p,f,m,l,c,e=>{a!==oe[e]&&(n(0,a=oe[e]),m())}]}vr="casino-wagering-bonus",Er=class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:24px;line-height:28px;font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button{font-size:24px;line-height:28px}hr{margin:18px 0;border-top:1px solid #00AEEF}section.layout-horizental{display:flex;flex-direction:row}section.layout-horizental.space-between{justify-content:space-between}.title{font-weight:700}.terms{font-size:18px;line-height:21px}.icon{width:24px;height:24px;vertical-align:bottom}.Root{border:1px solid #00AEEF;max-width:1300px;padding:28px 0}.Root>div{padding:0 28px}.Root>div:nth-child(1){flex:55%}.Root>div:nth-child(2){flex:45%;border-left:1px solid #00AEEF}.BonusInfoTitle{color:#59CA00}.BonusInfoExpireDate{color:#DC0D1F}.BonusInfoDescription{margin-top:20px}.StatusClaimableInfoPeriod{margin-top:18px}.StatusClaimable>div:nth-child(1){flex:40%}.StatusClaimable>div:nth-child(2){flex:60%}.StatusClaimableCommand button{width:100%;background:#00AEEF;border:1px solid #00AEEF;color:#FFFFFF;cursor:pointer;font-weight:400;padding:30px;transition:0.6s}.StatusClaimableCommand button:disabled{opacity:0.3}.StatusClaimableCommandTerms{margin-top:10px;text-align:center}.StatusClaimableCommandTerms a{color:#000000}.LevelStatus{text-align:center;margin-top:10px}.BonusTypeWrapper{margin-left:30px}.BonusType>div{margin-bottom:20px}.BonusTypeRemaining{color:#00AEEF}.BonusTypeGot{color:#7884A0}.RewardsTopBarTitle{color:#252631;padding-bottom:12px}.BonusRewardsLevels>div{margin-top:5px;padding:12px 0}.BonusRewardsLevelsItem{display:flex}.BonusRewardsLevelsItemPosition{margin-right:5px}.SupportsWrapper{margin-top:35px}.SupportsWrapper div{margin-top:15px}</style>",V(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},yr,gr,s,{rawbonus:12,endpoint:13,currency:14,lang:15,session:16,status:0},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),D()))}static get observedAttributes(){return["rawbonus","endpoint","currency","lang","session","status"]}get rawbonus(){return this.$$.ctx[12]}set rawbonus(e){this.$$set({rawbonus:e}),D()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),D()}get currency(){return this.$$.ctx[14]}set currency(e){this.$$set({currency:e}),D()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),D()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),D()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),D()}},!customElements.get(vr)&&customElements.define(vr,Er);class Rr extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}casino-wagering-bonus::part(Root){margin-bottom:30px}.WageringTabs{margin:20px 0}.WageringTabs li{display:inline;margin:10px 10px 10px 0;padding:10px;border:1px #ccc solid;cursor:pointer}.WageringTabs li.active{border-color:aquamarine;font-weight:700}</style>",V(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Pr,Lr,s,{endpoint:1,lang:2,session:3,currency:4,status:0,limit:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),D()))}static get observedAttributes(){return["endpoint","lang","session","currency","status","limit"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),D()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),D()}get session(){return this.$$.ctx[3]}set session(e){this.$$set({session:e}),D()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),D()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),D()}get limit(){return this.$$.ctx[9]}set limit(e){this.$$set({limit:e}),D()}}
739
+ ge(u,d),a===oe.active&&(u=me(r,i,h,d))):n(7,f=e.errorMessage)})(),n(6,p=!1))};de({OnWageringBonusClaimed:()=>m(),OnWageringBonusExpired:()=>m()}),H((()=>()=>ge(u,d)));return e.$$set=e=>{"endpoint"in e&&n(1,r=e.endpoint),"lang"in e&&n(2,o=e.lang),"session"in e&&n(3,i=e.session),"currency"in e&&n(4,s=e.currency),"status"in e&&n(0,a=e.status),"limit"in e&&n(9,l=e.limit)},e.$$.update=()=>{/*isMounted*/1024&e.$$.dirty&&c&&m(),/*endpoint*/2&e.$$.dirty&&r&&m(),/*lang*/4&e.$$.dirty&&o&&m(),/*session*/8&e.$$.dirty&&i&&m()},[a,r,o,i,s,h,p,f,m,l,c,e=>{a!==oe[e]&&(n(0,a=oe[e]),m())}]}vr="casino-wagering-bonus",Er=class extends j{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:24px;line-height:28px;font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button{font-size:24px;line-height:28px}hr{margin:18px 0;border-top:1px solid #00AEEF}section.layout-horizental{display:flex;flex-direction:row}section.layout-horizental.space-between{justify-content:space-between}.title{font-weight:700}.terms{font-size:18px;line-height:21px}.icon{width:24px;height:24px;vertical-align:bottom}.Root{border:1px solid #00AEEF;max-width:1300px;padding:28px 0}.Root>div{padding:0 28px}.Root>div:nth-child(1){flex:55%}.Root>div:nth-child(2){flex:45%;border-left:1px solid #00AEEF}.BonusInfoTitle{color:#59CA00}.BonusInfoExpireDate{color:#DC0D1F}.BonusInfoDescription{margin-top:20px}.StatusClaimableInfoPeriod{margin-top:18px}.StatusClaimable>div:nth-child(1){flex:40%}.StatusClaimable>div:nth-child(2){flex:60%}.StatusClaimableCommand button{width:100%;background:#00AEEF;border:1px solid #00AEEF;color:#FFFFFF;cursor:pointer;font-weight:400;padding:30px;transition:0.6s}.StatusClaimableCommand button:disabled{opacity:0.3}.StatusClaimableCommandTerms{margin-top:10px;text-align:center}.StatusClaimableCommandTerms a{color:#000000}.LevelStatus{text-align:center;margin-top:10px}.BonusTypeWrapper{margin-left:30px}.BonusType>div{margin-bottom:20px}.BonusTypeRemaining{color:#00AEEF}.BonusTypeGot{color:#7884A0}.RewardsTopBarTitle{color:#252631;padding-bottom:12px}.BonusRewardsLevels>div{margin-top:5px;padding:12px 0}.BonusRewardsLevelsItem{display:flex}.BonusRewardsLevelsItemPosition{margin-right:5px}.SupportsWrapper{margin-top:35px}.SupportsWrapper div{margin-top:15px}</style>',V(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},yr,gr,s,{rawbonus:12,endpoint:13,currency:14,lang:15,session:16,status:0},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),D()))}static get observedAttributes(){return["rawbonus","endpoint","currency","lang","session","status"]}get rawbonus(){return this.$$.ctx[12]}set rawbonus(e){this.$$set({rawbonus:e}),D()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),D()}get currency(){return this.$$.ctx[14]}set currency(e){this.$$set({currency:e}),D()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),D()}get session(){return this.$$.ctx[16]}set session(e){this.$$set({session:e}),D()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),D()}},!customElements.get(vr)&&customElements.define(vr,Er);class Rr extends j{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}casino-wagering-bonus::part(Root){margin-bottom:30px}.WageringTabs{margin:20px 0}.WageringTabs li{display:inline;margin:10px 10px 10px 0;padding:10px;border:1px #ccc solid;cursor:pointer}.WageringTabs li.active{border-color:aquamarine;font-weight:700}</style>',V(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Pr,Lr,s,{endpoint:1,lang:2,session:3,currency:4,status:0,limit:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),D()))}static get observedAttributes(){return["endpoint","lang","session","currency","status","limit"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),D()}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),D()}get session(){return this.$$.ctx[3]}set session(e){this.$$set({session:e}),D()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),D()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),D()}get limit(){return this.$$.ctx[9]}set limit(e){this.$$set({limit:e}),D()}}
740
740
  // @ts-ignore
741
741
  return!customElements.get("casino-wagering-bonuses-controller")&&customElements.define("casino-wagering-bonuses-controller",Rr),Rr}));
742
742
  //# sourceMappingURL=casino-wagering-bonuses-controller.js.map