@everymatrix/lottery-tipping-entrance 0.0.2 → 0.1.0
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.
- package/dist/cjs/draw-selection_17.cjs.entry.js +9 -9
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{lottery-tipping-entrance-0c8d8b9b.js → lottery-tipping-entrance-81642037.js} +4 -4
- package/dist/collection/components/draw-selection/draw-selection.js +4 -4
- package/dist/collection/components/lottery-tipping-entrance/lottery-tipping-entrance.css +11 -7
- package/dist/collection/components/lottery-tipping-entrance/lottery-tipping-entrance.js +3 -3
- package/dist/collection/components/static/poolgame-bg.webp +0 -0
- package/dist/esm/draw-selection_17.entry.js +10 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/{lottery-tipping-entrance-614c0dce.js → lottery-tipping-entrance-4a7acd1d.js} +4 -4
- package/dist/lottery-tipping-entrance/draw-selection_17.entry.js +1 -1
- package/dist/lottery-tipping-entrance/index.esm.js +1 -1
- package/dist/lottery-tipping-entrance/{lottery-tipping-entrance-614c0dce.js → lottery-tipping-entrance-4a7acd1d.js} +1 -1
- package/dist/static/poolgame-bg.webp +0 -0
- package/package.json +1 -1
- package/dist/collection/components/static/tipping-full-color.svg +0 -15
- package/dist/static/tipping-full-color.svg +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
export{L as LotteryTippingEntrance}from"./lottery-tipping-entrance-
|
|
1
|
+
export{L as LotteryTippingEntrance}from"./lottery-tipping-entrance-4a7acd1d.js";import"./index-95f50502.js";
|
|
@@ -6653,4 +6653,4 @@ Nt("vaadin-tabs",_`
|
|
|
6653
6653
|
</div>
|
|
6654
6654
|
|
|
6655
6655
|
<div on-click="_scrollForward" part="forward-button" aria-hidden="true"></div>
|
|
6656
|
-
`}static get is(){return"vaadin-tabs"}}function ml(t,e){if(t){const i=document.createElement("style");i.innerHTML=e,t.appendChild(i)}}function vl(t,e){const i=new URL(e);fetch(i.href).then((t=>t.text())).then((e=>{const i=document.createElement("style");i.innerHTML=e,t&&t.appendChild(i)})).catch((t=>{console.error("There was an error while trying to load client styling from URL",t)}))}function fl(t,e){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(e,(e=>{i.innerHTML=e,t&&t.appendChild(i)}))}}function bl(t){return bl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bl(t)}function gl(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function yl(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function wl(t){yl(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===bl(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}m(pl);var _l={};function xl(){return _l}var kl=6e4,Cl=36e5;function Al(t){yl(1,arguments);var e=wl(t),i=e.getUTCDay(),s=(i<1?7:0)+i-1;return e.setUTCDate(e.getUTCDate()-s),e.setUTCHours(0,0,0,0),e}function Sl(t){yl(1,arguments);var e=wl(t),i=e.getUTCFullYear(),s=new Date(0);s.setUTCFullYear(i+1,0,4),s.setUTCHours(0,0,0,0);var o=Al(s),r=new Date(0);r.setUTCFullYear(i,0,4),r.setUTCHours(0,0,0,0);var n=Al(r);return e.getTime()>=o.getTime()?i+1:e.getTime()>=n.getTime()?i:i-1}function zl(t,e){var i,s,o,r,n,a,l,h;yl(1,arguments);var c=xl(),d=gl(null!==(i=null!==(s=null!==(o=null!==(r=null==e?void 0:e.weekStartsOn)&&void 0!==r?r:null==e||null===(n=e.locale)||void 0===n||null===(a=n.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==o?o:c.weekStartsOn)&&void 0!==s?s:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=wl(t),p=u.getUTCDay(),m=(p<d?7:0)+p-d;return u.setUTCDate(u.getUTCDate()-m),u.setUTCHours(0,0,0,0),u}function Il(t,e){var i,s,o,r,n,a,l,h;yl(1,arguments);var c=wl(t),d=c.getUTCFullYear(),u=xl(),p=gl(null!==(i=null!==(s=null!==(o=null!==(r=null==e?void 0:e.firstWeekContainsDate)&&void 0!==r?r:null==e||null===(n=e.locale)||void 0===n||null===(a=n.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:u.firstWeekContainsDate)&&void 0!==s?s:null===(l=u.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(d+1,0,p),m.setUTCHours(0,0,0,0);var v=zl(m,e),f=new Date(0);f.setUTCFullYear(d,0,p),f.setUTCHours(0,0,0,0);var b=zl(f,e);return c.getTime()>=v.getTime()?d+1:c.getTime()>=b.getTime()?d:d-1}function Tl(t,e){for(var i=t<0?"-":"",s=Math.abs(t).toString();s.length<e;)s="0"+s;return i+s}const Dl=function(t,e){var i=t.getUTCFullYear(),s=i>0?i:1-i;return Tl("yy"===e?s%100:s,e.length)},El=function(t,e){var i=t.getUTCMonth();return"M"===e?String(i+1):Tl(i+1,2)},Ml=function(t,e){return Tl(t.getUTCDate(),e.length)},Ol=function(t,e){return Tl(t.getUTCHours()%12||12,e.length)},Pl=function(t,e){return Tl(t.getUTCHours(),e.length)},Nl=function(t,e){return Tl(t.getUTCMinutes(),e.length)},Bl=function(t,e){return Tl(t.getUTCSeconds(),e.length)},jl=function(t,e){var i=e.length,s=t.getUTCMilliseconds();return Tl(Math.floor(s*Math.pow(10,i-3)),e.length)};var Fl={G:function(t,e,i){var s=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(s,{width:"abbreviated"});case"GGGGG":return i.era(s,{width:"narrow"});default:return i.era(s,{width:"wide"})}},y:function(t,e,i){if("yo"===e){var s=t.getUTCFullYear();return i.ordinalNumber(s>0?s:1-s,{unit:"year"})}return Dl(t,e)},Y:function(t,e,i,s){var o=Il(t,s),r=o>0?o:1-o;return"YY"===e?Tl(r%100,2):"Yo"===e?i.ordinalNumber(r,{unit:"year"}):Tl(r,e.length)},R:function(t,e){return Tl(Sl(t),e.length)},u:function(t,e){return Tl(t.getUTCFullYear(),e.length)},Q:function(t,e,i){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(s);case"QQ":return Tl(s,2);case"Qo":return i.ordinalNumber(s,{unit:"quarter"});case"QQQ":return i.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(s,{width:"narrow",context:"formatting"});default:return i.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,e,i){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(s);case"qq":return Tl(s,2);case"qo":return i.ordinalNumber(s,{unit:"quarter"});case"qqq":return i.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(s,{width:"narrow",context:"standalone"});default:return i.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,e,i){var s=t.getUTCMonth();switch(e){case"M":case"MM":return El(t,e);case"Mo":return i.ordinalNumber(s+1,{unit:"month"});case"MMM":return i.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(s,{width:"narrow",context:"formatting"});default:return i.month(s,{width:"wide",context:"formatting"})}},L:function(t,e,i){var s=t.getUTCMonth();switch(e){case"L":return String(s+1);case"LL":return Tl(s+1,2);case"Lo":return i.ordinalNumber(s+1,{unit:"month"});case"LLL":return i.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(s,{width:"narrow",context:"standalone"});default:return i.month(s,{width:"wide",context:"standalone"})}},w:function(t,e,i,s){var o=function(t,e){yl(1,arguments);var i=wl(t),s=zl(i,e).getTime()-function(t,e){var i,s,o,r,n,a,l,h;yl(1,arguments);var c=xl(),d=gl(null!==(i=null!==(s=null!==(o=null!==(r=null==e?void 0:e.firstWeekContainsDate)&&void 0!==r?r:null==e||null===(n=e.locale)||void 0===n||null===(a=n.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:c.firstWeekContainsDate)&&void 0!==s?s:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1),u=Il(t,e),p=new Date(0);return p.setUTCFullYear(u,0,d),p.setUTCHours(0,0,0,0),zl(p,e)}(i,e).getTime();return Math.round(s/6048e5)+1}(t,s);return"wo"===e?i.ordinalNumber(o,{unit:"week"}):Tl(o,e.length)},I:function(t,e,i){var s=function(t){yl(1,arguments);var e=wl(t),i=Al(e).getTime()-function(t){yl(1,arguments);var e=Sl(t),i=new Date(0);return i.setUTCFullYear(e,0,4),i.setUTCHours(0,0,0,0),Al(i)}(e).getTime();return Math.round(i/6048e5)+1}(t);return"Io"===e?i.ordinalNumber(s,{unit:"week"}):Tl(s,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getUTCDate(),{unit:"date"}):Ml(t,e)},D:function(t,e,i){var s=function(t){yl(1,arguments);var e=wl(t),i=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var s=e.getTime();return Math.floor((i-s)/864e5)+1}(t);return"Do"===e?i.ordinalNumber(s,{unit:"dayOfYear"}):Tl(s,e.length)},E:function(t,e,i){var s=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return i.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(s,{width:"short",context:"formatting"});default:return i.day(s,{width:"wide",context:"formatting"})}},e:function(t,e,i,s){var o=t.getUTCDay(),r=(o-s.weekStartsOn+8)%7||7;switch(e){case"e":return String(r);case"ee":return Tl(r,2);case"eo":return i.ordinalNumber(r,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,i,s){var o=t.getUTCDay(),r=(o-s.weekStartsOn+8)%7||7;switch(e){case"c":return String(r);case"cc":return Tl(r,e.length);case"co":return i.ordinalNumber(r,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,i){var s=t.getUTCDay(),o=0===s?7:s;switch(e){case"i":return String(o);case"ii":return Tl(o,e.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(s,{width:"short",context:"formatting"});default:return i.day(s,{width:"wide",context:"formatting"})}},a:function(t,e,i){var s=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(s,{width:"narrow",context:"formatting"});default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,e,i){var s,o=t.getUTCHours();switch(s=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(s,{width:"narrow",context:"formatting"});default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,e,i){var s,o=t.getUTCHours();switch(s=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(s,{width:"narrow",context:"formatting"});default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){var s=t.getUTCHours()%12;return 0===s&&(s=12),i.ordinalNumber(s,{unit:"hour"})}return Ol(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Pl(t,e)},K:function(t,e,i){var s=t.getUTCHours()%12;return"Ko"===e?i.ordinalNumber(s,{unit:"hour"}):Tl(s,e.length)},k:function(t,e,i){var s=t.getUTCHours();return 0===s&&(s=24),"ko"===e?i.ordinalNumber(s,{unit:"hour"}):Tl(s,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Nl(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Bl(t,e)},S:function(t,e){return jl(t,e)},X:function(t,e,i,s){var o=(s._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return Ll(o);case"XXXX":case"XX":return $l(o);default:return $l(o,":")}},x:function(t,e,i,s){var o=(s._originalDate||t).getTimezoneOffset();switch(e){case"x":return Ll(o);case"xxxx":case"xx":return $l(o);default:return $l(o,":")}},O:function(t,e,i,s){var o=(s._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Rl(o,":");default:return"GMT"+$l(o,":")}},z:function(t,e,i,s){var o=(s._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Rl(o,":");default:return"GMT"+$l(o,":")}},t:function(t,e,i,s){return Tl(Math.floor((s._originalDate||t).getTime()/1e3),e.length)},T:function(t,e,i,s){return Tl((s._originalDate||t).getTime(),e.length)}};function Rl(t,e){var i=t>0?"-":"+",s=Math.abs(t),o=Math.floor(s/60),r=s%60;if(0===r)return i+String(o);var n=e||"";return i+String(o)+n+Tl(r,2)}function Ll(t,e){return t%60==0?(t>0?"-":"+")+Tl(Math.abs(t)/60,2):$l(t,e)}function $l(t,e){var i=e||"",s=t>0?"-":"+",o=Math.abs(t);return s+Tl(Math.floor(o/60),2)+i+Tl(o%60,2)}const Wl=Fl;var Vl=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},ql=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},Ul={p:ql,P:function(t,e){var i,s=t.match(/(P+)(p+)?/)||[],o=s[1],r=s[2];if(!r)return Vl(t,e);switch(o){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;default:i=e.dateTime({width:"full"})}return i.replace("{{date}}",Vl(o,e)).replace("{{time}}",ql(r,e))}};const Hl=Ul;var Gl=["D","DD"],Yl=["YY","YYYY"];function Jl(t,e,i){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Kl={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Zl(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}var Xl,Ql={date:Zl({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Zl({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Zl({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},th={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function eh(t){return function(e,i){var s;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,r=null!=i&&i.width?String(i.width):o;s=t.formattingValues[r]||t.formattingValues[o]}else{var n=t.defaultWidth,a=null!=i&&i.width?String(i.width):t.defaultWidth;s=t.values[a]||t.values[n]}return s[t.argumentCallback?t.argumentCallback(e):e]}}function ih(t){return function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=i.width,o=e.match(s&&t.matchPatterns[s]||t.matchPatterns[t.defaultMatchWidth]);if(!o)return null;var r,n=o[0],a=s&&t.parsePatterns[s]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?function(t){for(var e=0;e<t.length;e++)if(t[e].test(n))return e}(a):function(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e].test(n))return e}(a);return r=t.valueCallback?t.valueCallback(l):l,{value:r=i.valueCallback?i.valueCallback(r):r,rest:e.slice(n.length)}}}const sh={code:"en-US",formatDistance:function(t,e,i){var s,o=Kl[t];return s="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+s:s+" ago":s},formatLong:Ql,formatRelative:function(t){return th[t]},localize:{ordinalNumber:function(t){var e=Number(t),i=e%100;if(i>20||i<10)switch(i%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},era:eh({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:eh({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:eh({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:eh({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:eh({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(Xl={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.match(Xl.matchPattern);if(!i)return null;var s=i[0],o=t.match(Xl.parsePattern);if(!o)return null;var r=Xl.valueCallback?Xl.valueCallback(o[0]):o[0];return{value:r=e.valueCallback?e.valueCallback(r):r,rest:t.slice(s.length)}}),era:ih({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ih({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:ih({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ih({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ih({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var oh=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,nh=/^'([^]*?)'?$/,ah=/''/g,lh=/[a-zA-Z]/;function hh(t,e,i){var s,o,r,n,a,l,h,c,d,u,p,m,v,f,b,g,y,w;yl(2,arguments);var _=String(e),x=xl(),k=null!==(s=null!==(o=null==i?void 0:i.locale)&&void 0!==o?o:x.locale)&&void 0!==s?s:sh,C=gl(null!==(r=null!==(n=null!==(a=null!==(l=null==i?void 0:i.firstWeekContainsDate)&&void 0!==l?l:null==i||null===(h=i.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==a?a:x.firstWeekContainsDate)&&void 0!==n?n:null===(d=x.locale)||void 0===d||null===(u=d.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==r?r:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=gl(null!==(p=null!==(m=null!==(v=null!==(f=null==i?void 0:i.weekStartsOn)&&void 0!==f?f:null==i||null===(b=i.locale)||void 0===b||null===(g=b.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==v?v:x.weekStartsOn)&&void 0!==m?m:null===(y=x.locale)||void 0===y||null===(w=y.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==p?p:0);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var S=wl(t);if(!function(t){if(yl(1,arguments),!function(t){return yl(1,arguments),t instanceof Date||"object"===bl(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)&&"number"!=typeof t)return!1;var e=wl(t);return!isNaN(Number(e))}(S))throw new RangeError("Invalid time value");var z=function(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}(S),I=function(t,e){return yl(2,arguments),function(t,e){yl(2,arguments);var i=wl(t).getTime(),s=gl(e);return new Date(i+s)}(t,-gl(e))}(S,z),T={firstWeekContainsDate:C,weekStartsOn:A,locale:k,_originalDate:S};return _.match(rh).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,Hl[e])(t,k.formatLong):t})).join("").match(oh).map((function(s){if("''"===s)return"'";var o,r,n=s[0];if("'"===n)return(r=(o=s).match(nh))?r[1].replace(ah,"'"):o;var a=Wl[n];if(a)return null!=i&&i.useAdditionalWeekYearTokens||-1===Yl.indexOf(s)||Jl(s,e,String(t)),null!=i&&i.useAdditionalDayOfYearTokens||!(-1!==Gl.indexOf(s))||Jl(s,e,String(t)),a(I,s,k.localize,T);if(n.match(lh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");return s})).join("")}function ch(t,e){var i;yl(1,arguments);var s=gl(null!==(i=null==e?void 0:e.additionalDigits)&&void 0!==i?i:2);if(2!==s&&1!==s&&0!==s)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var o,r=function(t){var e,i={},s=t.split(dh.dateTimeDelimiter);if(s.length>2)return i;if(/:/.test(s[0])?e=s[0]:(i.date=s[0],e=s[1],dh.timeZoneDelimiter.test(i.date)&&(i.date=t.split(dh.timeZoneDelimiter)[0],e=t.substr(i.date.length,t.length))),e){var o=dh.timezone.exec(e);o?(i.time=e.replace(o[1],""),i.timezone=o[1]):i.time=e}return i}(t);if(r.date){var n=function(t,e){var i=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),s=t.match(i);if(!s)return{year:NaN,restDateString:""};var o=s[1]?parseInt(s[1]):null,r=s[2]?parseInt(s[2]):null;return{year:null===r?o:100*r,restDateString:t.slice((s[1]||s[2]).length)}}(r.date,s);o=function(t,e){if(null===e)return new Date(NaN);var i=t.match(uh);if(!i)return new Date(NaN);var s=!!i[4],o=vh(i[1]),r=vh(i[2])-1,n=vh(i[3]),a=vh(i[4]),l=vh(i[5])-1;if(s)return function(t,e,i){return e>=1&&e<=53&&i>=0&&i<=6}(0,a,l)?function(t,e,i){var s=new Date(0);s.setUTCFullYear(t,0,4);var o=7*(e-1)+i+1-(s.getUTCDay()||7);return s.setUTCDate(s.getUTCDate()+o),s}(e,a,l):new Date(NaN);var h=new Date(0);return function(t,e,i){return e>=0&&e<=11&&i>=1&&i<=(bh[e]||(gh(t)?29:28))}(e,r,n)&&function(t,e){return e>=1&&e<=(gh(t)?366:365)}(e,o)?(h.setUTCFullYear(e,r,Math.max(o,n)),h):new Date(NaN)}(n.restDateString,n.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var a,l=o.getTime(),h=0;if(r.time&&(h=function(t){var e=t.match(ph);if(!e)return NaN;var i=fh(e[1]),s=fh(e[2]),o=fh(e[3]);return function(t,e,i){return 24===t?0===e&&0===i:i>=0&&i<60&&e>=0&&e<60&&t>=0&&t<25}(i,s,o)?i*Cl+s*kl+1e3*o:NaN}(r.time),isNaN(h)))return new Date(NaN);if(!r.timezone){var c=new Date(l+h),d=new Date(0);return d.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),d.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),d}return a=function(t){if("Z"===t)return 0;var e=t.match(mh);if(!e)return 0;var i="+"===e[1]?-1:1,s=parseInt(e[2]),o=e[3]&&parseInt(e[3])||0;return function(t,e){return e>=0&&e<=59}(0,o)?i*(s*Cl+o*kl):NaN}(r.timezone),isNaN(a)?new Date(NaN):new Date(l+h+a)}var dh={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},uh=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ph=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,mh=/^([+-])(\d{2})(?::?(\d{2}))?$/;function vh(t){return t?parseInt(t):1}function fh(t){return t&&parseFloat(t.replace(",","."))||0}var bh=[31,null,31,30,31,30,31,31,30,31,30,31];function gh(t){return t%400==0||t%4==0&&t%100!=0}const yh=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),wh=({date:t,type:e="date",format:i})=>{try{const s=ch(t);if(isNaN(s.getTime()))throw new Error(`Invalid date: ${t}`);if(i)return hh(s,i);let o="dd/MM/yyyy";return"time"===e?o="dd/MM/yyyy HH:mm:ss":"week"===e&&(o="ccc dd/MM/yyyy HH:mm:ss"),hh(s,o)}catch(t){return console.error("Error formatting date:",t.message),""}};function _h(t){const e=ch(t),i=e.getDate();return`${i}${i%10==1&&11!==i?"st":i%10==2&&12!==i?"nd":i%10==3&&13!==i?"rd":"th"} ${hh(e,"LLLL")}`}async function xh(t,e){try{return await function(t,e="GET",i=null,s={}){return new Promise(((o,r)=>{const n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})),a=Object.assign({"Content-Type":"application/json"},s);"GET"!==e&&"HEAD"!==e&&(a["X-Idempotency-Key"]=n);const l={method:e,headers:a,body:null};i&&"GET"!==e&&"HEAD"!==e?l.body=JSON.stringify(i):delete l.body,fetch(t,l).then((t=>t.ok?t.json():t.json().then((e=>{r({status:t.status,statusText:t.statusText,code:e.code||"UNKNOWN_ERROR",message:e.message||"An unknown error occurred",data:e.data||null})}),(()=>r({status:t.status,statusText:t.statusText,code:"PARSE_ERROR",message:"Failed to parse error response"}))))).then((t=>o(t)),(t=>r(t)))}))}(`${t}/games/${e}`,"GET",{})}catch(t){throw console.error("Failed to fetch game info:",t),new Error("The game is currently not available. Please try again later.")}}const kh=["ro","en","fr","ar","hr"],Ch={en:{logout:"Log out",draws:"DRAWS",latestResults:"LATEST RESULTS",instruction:"INSTRUCTION",howToWin:"HOW TO WIN",selectDraws:"Select Draws from the following bars:",gameNotAvailable:"Sorry. The Game is not available now.",instructionContent:"Instruction content goes here."},ro:{logout:"Deconectare",draws:"EXTRAGERI",latestResults:"ULTIMELE REZULTATE",instruction:"INSTRUCȚIUNI",howToWin:"CUM SĂ CÂȘTIGI",selectDraws:"Selectați extrageri din barele următoare:",gameNotAvailable:"Ne pare rău. Jocul nu este disponibil acum.",instructionContent:"Conținutul instrucțiunilor se afișează aici."},fr:{logout:"Se déconnecter",draws:"TIRAGES",latestResults:"DERNIERS RÉSULTATS",instruction:"INSTRUCTION",howToWin:"COMMENT GAGNER",selectDraws:"Sélectionnez les tirages dans les barres suivantes:",gameNotAvailable:"Désolé. Le jeu nest pas disponible pour le moment.",instructionContent:"Le contenu des instructions va ici."},ar:{logout:"تسجيل الخروج",draws:"السحوبات",latestResults:"أحدث النتائج",instruction:"التعليمات",howToWin:"كيفية الفوز",selectDraws:"حدد السحوبات من الأشرطة التالية:",gameNotAvailable:"آسف. اللعبة غير متوفرة الآن.",instructionContent:"محتوى التعليمات يذهب هنا."},hr:{logout:"Odjava",draws:"IZVLAČENJA",latestResults:"NAJNOVIJI REZULTATI",instruction:"UPUTE",howToWin:"KAKO POBIJEDITI",selectDraws:"Odaberite izvlačenja sa sljedećih traka:",gameNotAvailable:"Žao nam je. Igra trenutno nije dostupna.",instructionContent:"Sadržaj uputa ide ovdje."}},Ah=(t,e)=>{const i=e;return Ch[void 0!==i&&kh.includes(i)?i:"en"][t]},Sh=class{constructor(e){t(this,e),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl="",this.language="en",this.endpoint=void 0,this.endpointTicket=void 0,this.gameId=void 0,this.playerId=void 0,this.sessionId=void 0,this.date=void 0,this.drawId=void 0,this.playTypes=null,this.bettingTypes=void 0,this.isLoading=!1,this.selectedTabIndex=0,this.showSelectDrawPage=!0}handleClientStylingChange(t,e){t!=e&&ml(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(t,e){t!=e&&vl(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(t,e){t!=e&&fl(this.stylingContainer,`${this.mbSource}.Style`)}componentWillLoad(){var t;this.translationUrl&&(t=JSON.parse(this.translationUrl),Object.keys(t).forEach((e=>{for(let i in t[e])Ch[e][i]=t[e][i]})))}componentDidLoad(){this.stylingContainer&&(this.mbSource&&fl(this.stylingContainer,`${this.mbSource}.Style`),this.clientStyling&&ml(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&vl(this.stylingContainer,this.clientStylingUrl))}connectedCallback(){this.getGameById()}async getGameById(){var t,e,i,s;try{this.isLoading=!0;const o=await xh(this.endpoint,this.gameId);this.date=null==o?void 0:o.currentDraw.date,this.drawId=null==o?void 0:o.currentDraw.id,this.playTypes=null===(e=null===(t=null==o?void 0:o.rules)||void 0===t?void 0:t.poolGame)||void 0===e?void 0:e.playTypes,this.bettingTypes=null===(s=null===(i=null==o?void 0:o.rules)||void 0===i?void 0:i.poolGame)||void 0===s?void 0:s.bettingTypes}catch(t){console.log(t)}finally{this.isLoading=!1}}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}handleSelectDraw(){this.showSelectDrawPage=!1}handleClosePoolGamePage(){this.showSelectDrawPage=!0}render(){const t=e("../static/tipping-full-color.svg");return i("div",{key:"62b6408210ae54cc86890ffeb21e093894686dc0",class:"lottery-tipping-entrance",ref:t=>this.stylingContainer=t},this.showSelectDrawPage&&i("div",{key:"a3d6add3074708b0819bbbd39b9fa624270d8ebf",class:"select-draw-page"},i("div",{key:"db1faa6afaedb5227f5e720c595714b75d554c76",class:"lottery-tipping-entrance__header"},i("div",{key:"db5b7baa915faca6c0b98e49a1b445598d6acf3e",class:"header"},i("div",{key:"8311d8f1f8b180d100ac1e9bbce6ca6e86b4d495"}),i("div",{key:"fd144c931b48e2fb1b4e498758085b38c1222cf2",class:"header-logo"},i("img",{key:"9d9e0ab6f290b7759ecea7e49f0ea7e48054329c",src:t,class:"logo"})),i("div",{key:"064f89857dd89e45a47b408e6136ca70667880e5",class:"header-btn"},i("slot",{key:"5c4a44e5176f87d1f44e215698d60f17c7a25310",name:"logoutBtn"}))),i("div",{key:"376394fa0c189d8d4aac55a4e16f65fa887bfa06",class:"tabs-wrap"},i("vaadin-tabs",{key:"5ad2aa89b0fb689e66aba5187b63511c11010e97",theme:"equal-width-tabs",selected:this.selectedTabIndex,"on-selected-changed":t=>{this.selectedTabIndex=t.detail.value}},i("vaadin-tab",{key:"a44d582c33500ee014a12501da0e5aebf52195f3",value:"0"},Ah("draws",this.language)),i("vaadin-tab",{key:"e1cf2569498c09a497d8c89f62b7bf065f11fc0f",value:"1"},Ah("latestResults",this.language)),i("vaadin-tab",{key:"688ce288199ddcc0e85be3700aa9020c0b9cd663",value:"2"},Ah("instruction",this.language))))),i("div",{key:"91e9a44403bb430b3be6295e6a5a8e7c608f6ff1",class:"tabs-content"},0===this.selectedTabIndex&&i("draw-selection",{key:"177c2008b7ea2039a960d3f7e2ac19a76bc9c1c0",date:this.date,"is-loading":this.isLoading,language:this.language,"client-styling":this.clientStyling,"client-styling-Url":this.clientStylingUrl,"mb-source":this.mbSource,"translation-url":this.translationUrl}),1===this.selectedTabIndex&&i("lottery-tipping-latest-result",{key:"5eda48fba2d4d0c25a937a155eaa3f811474d448",endpoint:this.endpoint,"endpoint-ticket":this.endpointTicket,"game-id":this.gameId,"player-id":this.playerId,"session-id":this.sessionId,language:this.language,"translation-url":this.translationUrl}),2===this.selectedTabIndex&&i("div",{key:"8e1ea2aee397c8ac3c605c47d8863564554ce7d2",style:{padding:"24px",textAlign:"center"}},Ah("instructionContent",this.language)))),!this.showSelectDrawPage&&i("lottery-tipping-page",{key:"24dc504ae6fd58f15a7eda00290654f4a7b5c64f",endpoint:this.endpoint,"endpoint-ticket":this.endpointTicket,"game-id":this.gameId,"player-id":this.playerId,"session-id":this.sessionId,"draw-id":this.drawId,playTypes:this.playTypes,bettingTypes:this.bettingTypes,"client-styling":this.clientStyling,"client-styling-Url":this.clientStylingUrl,"mb-source":this.mbSource,"translation-url":this.translationUrl,language:this.language}))}static get assetsDirs(){return["../static"]}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}}};Sh.style=".lottery-tipping-entrance__header{display:flex;flex-direction:column;align-items:center;background:linear-gradient(to right, var(--emw--color-primary, #fed275), var(--emw--color-primary-variant, #ffe66f));padding-top:10px}.lottery-tipping-entrance__header .header{display:flex;align-items:center;justify-content:space-between;width:100%}.lottery-tipping-entrance__header .header>*{flex:1}.lottery-tipping-entrance__header .header-logo{text-align:center}.lottery-tipping-entrance__header .header-logo .logo{width:10rem}.lottery-tipping-entrance__header .header-btn{text-align:right;padding-right:10px}.lottery-tipping-entrance__header .header-btn #logout-btn{padding:0.5rem 1rem;font-size:14px;font-weight:500;background-color:transparent;color:var(--emw--color-gray-300, #333);border:var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));border-radius:var(--emw--border-radius-small, 4px);cursor:pointer;transition:background-color 0.2s ease, border-color 0.2s ease}.lottery-tipping-entrance__header .header-btn #logout-btn:hover{background-color:var(--emw--color-gray-50, #f5f5f5);border-color:var(--emw--color-gray-150, #6f6f6f)}.lottery-tipping-entrance__header .tabs-wrap{width:100%}vaadin-tab[selected]{color:var(--emw--color-gray-300, #333);font-weight:bold}vaadin-tab::after[selected]{background-color:var(--emw--color-gray-300, #333)}@media screen and (max-width: 480px){.draw-info-item-list{gap:84px}}@media screen and (min-width: 1400px){.draw-info-footer{margin-top:160px}}";export{Sh as L,gl as a,vl as b,fl as c,Ah as d,hh as e,wh as f,_h as g,yh as i,ch as p,yl as r,ml as s,wl as t}
|
|
6656
|
+
`}static get is(){return"vaadin-tabs"}}function ml(t,e){if(t){const i=document.createElement("style");i.innerHTML=e,t.appendChild(i)}}function vl(t,e){const i=new URL(e);fetch(i.href).then((t=>t.text())).then((e=>{const i=document.createElement("style");i.innerHTML=e,t&&t.appendChild(i)})).catch((t=>{console.error("There was an error while trying to load client styling from URL",t)}))}function fl(t,e){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(e,(e=>{i.innerHTML=e,t&&t.appendChild(i)}))}}function bl(t){return bl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bl(t)}function gl(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function yl(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function wl(t){yl(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===bl(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}m(pl);var _l={};function xl(){return _l}var kl=6e4,Cl=36e5;function Al(t){yl(1,arguments);var e=wl(t),i=e.getUTCDay(),s=(i<1?7:0)+i-1;return e.setUTCDate(e.getUTCDate()-s),e.setUTCHours(0,0,0,0),e}function Sl(t){yl(1,arguments);var e=wl(t),i=e.getUTCFullYear(),s=new Date(0);s.setUTCFullYear(i+1,0,4),s.setUTCHours(0,0,0,0);var o=Al(s),r=new Date(0);r.setUTCFullYear(i,0,4),r.setUTCHours(0,0,0,0);var n=Al(r);return e.getTime()>=o.getTime()?i+1:e.getTime()>=n.getTime()?i:i-1}function zl(t,e){var i,s,o,r,n,a,l,h;yl(1,arguments);var c=xl(),d=gl(null!==(i=null!==(s=null!==(o=null!==(r=null==e?void 0:e.weekStartsOn)&&void 0!==r?r:null==e||null===(n=e.locale)||void 0===n||null===(a=n.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==o?o:c.weekStartsOn)&&void 0!==s?s:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=wl(t),p=u.getUTCDay(),m=(p<d?7:0)+p-d;return u.setUTCDate(u.getUTCDate()-m),u.setUTCHours(0,0,0,0),u}function Il(t,e){var i,s,o,r,n,a,l,h;yl(1,arguments);var c=wl(t),d=c.getUTCFullYear(),u=xl(),p=gl(null!==(i=null!==(s=null!==(o=null!==(r=null==e?void 0:e.firstWeekContainsDate)&&void 0!==r?r:null==e||null===(n=e.locale)||void 0===n||null===(a=n.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:u.firstWeekContainsDate)&&void 0!==s?s:null===(l=u.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(d+1,0,p),m.setUTCHours(0,0,0,0);var v=zl(m,e),f=new Date(0);f.setUTCFullYear(d,0,p),f.setUTCHours(0,0,0,0);var b=zl(f,e);return c.getTime()>=v.getTime()?d+1:c.getTime()>=b.getTime()?d:d-1}function Tl(t,e){for(var i=t<0?"-":"",s=Math.abs(t).toString();s.length<e;)s="0"+s;return i+s}const Dl=function(t,e){var i=t.getUTCFullYear(),s=i>0?i:1-i;return Tl("yy"===e?s%100:s,e.length)},El=function(t,e){var i=t.getUTCMonth();return"M"===e?String(i+1):Tl(i+1,2)},Ml=function(t,e){return Tl(t.getUTCDate(),e.length)},Ol=function(t,e){return Tl(t.getUTCHours()%12||12,e.length)},Pl=function(t,e){return Tl(t.getUTCHours(),e.length)},Nl=function(t,e){return Tl(t.getUTCMinutes(),e.length)},Bl=function(t,e){return Tl(t.getUTCSeconds(),e.length)},jl=function(t,e){var i=e.length,s=t.getUTCMilliseconds();return Tl(Math.floor(s*Math.pow(10,i-3)),e.length)};var Fl={G:function(t,e,i){var s=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(s,{width:"abbreviated"});case"GGGGG":return i.era(s,{width:"narrow"});default:return i.era(s,{width:"wide"})}},y:function(t,e,i){if("yo"===e){var s=t.getUTCFullYear();return i.ordinalNumber(s>0?s:1-s,{unit:"year"})}return Dl(t,e)},Y:function(t,e,i,s){var o=Il(t,s),r=o>0?o:1-o;return"YY"===e?Tl(r%100,2):"Yo"===e?i.ordinalNumber(r,{unit:"year"}):Tl(r,e.length)},R:function(t,e){return Tl(Sl(t),e.length)},u:function(t,e){return Tl(t.getUTCFullYear(),e.length)},Q:function(t,e,i){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(s);case"QQ":return Tl(s,2);case"Qo":return i.ordinalNumber(s,{unit:"quarter"});case"QQQ":return i.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(s,{width:"narrow",context:"formatting"});default:return i.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,e,i){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(s);case"qq":return Tl(s,2);case"qo":return i.ordinalNumber(s,{unit:"quarter"});case"qqq":return i.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(s,{width:"narrow",context:"standalone"});default:return i.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,e,i){var s=t.getUTCMonth();switch(e){case"M":case"MM":return El(t,e);case"Mo":return i.ordinalNumber(s+1,{unit:"month"});case"MMM":return i.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(s,{width:"narrow",context:"formatting"});default:return i.month(s,{width:"wide",context:"formatting"})}},L:function(t,e,i){var s=t.getUTCMonth();switch(e){case"L":return String(s+1);case"LL":return Tl(s+1,2);case"Lo":return i.ordinalNumber(s+1,{unit:"month"});case"LLL":return i.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(s,{width:"narrow",context:"standalone"});default:return i.month(s,{width:"wide",context:"standalone"})}},w:function(t,e,i,s){var o=function(t,e){yl(1,arguments);var i=wl(t),s=zl(i,e).getTime()-function(t,e){var i,s,o,r,n,a,l,h;yl(1,arguments);var c=xl(),d=gl(null!==(i=null!==(s=null!==(o=null!==(r=null==e?void 0:e.firstWeekContainsDate)&&void 0!==r?r:null==e||null===(n=e.locale)||void 0===n||null===(a=n.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:c.firstWeekContainsDate)&&void 0!==s?s:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1),u=Il(t,e),p=new Date(0);return p.setUTCFullYear(u,0,d),p.setUTCHours(0,0,0,0),zl(p,e)}(i,e).getTime();return Math.round(s/6048e5)+1}(t,s);return"wo"===e?i.ordinalNumber(o,{unit:"week"}):Tl(o,e.length)},I:function(t,e,i){var s=function(t){yl(1,arguments);var e=wl(t),i=Al(e).getTime()-function(t){yl(1,arguments);var e=Sl(t),i=new Date(0);return i.setUTCFullYear(e,0,4),i.setUTCHours(0,0,0,0),Al(i)}(e).getTime();return Math.round(i/6048e5)+1}(t);return"Io"===e?i.ordinalNumber(s,{unit:"week"}):Tl(s,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getUTCDate(),{unit:"date"}):Ml(t,e)},D:function(t,e,i){var s=function(t){yl(1,arguments);var e=wl(t),i=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var s=e.getTime();return Math.floor((i-s)/864e5)+1}(t);return"Do"===e?i.ordinalNumber(s,{unit:"dayOfYear"}):Tl(s,e.length)},E:function(t,e,i){var s=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return i.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(s,{width:"short",context:"formatting"});default:return i.day(s,{width:"wide",context:"formatting"})}},e:function(t,e,i,s){var o=t.getUTCDay(),r=(o-s.weekStartsOn+8)%7||7;switch(e){case"e":return String(r);case"ee":return Tl(r,2);case"eo":return i.ordinalNumber(r,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,i,s){var o=t.getUTCDay(),r=(o-s.weekStartsOn+8)%7||7;switch(e){case"c":return String(r);case"cc":return Tl(r,e.length);case"co":return i.ordinalNumber(r,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,i){var s=t.getUTCDay(),o=0===s?7:s;switch(e){case"i":return String(o);case"ii":return Tl(o,e.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(s,{width:"short",context:"formatting"});default:return i.day(s,{width:"wide",context:"formatting"})}},a:function(t,e,i){var s=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(s,{width:"narrow",context:"formatting"});default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,e,i){var s,o=t.getUTCHours();switch(s=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(s,{width:"narrow",context:"formatting"});default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,e,i){var s,o=t.getUTCHours();switch(s=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(s,{width:"narrow",context:"formatting"});default:return i.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){var s=t.getUTCHours()%12;return 0===s&&(s=12),i.ordinalNumber(s,{unit:"hour"})}return Ol(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Pl(t,e)},K:function(t,e,i){var s=t.getUTCHours()%12;return"Ko"===e?i.ordinalNumber(s,{unit:"hour"}):Tl(s,e.length)},k:function(t,e,i){var s=t.getUTCHours();return 0===s&&(s=24),"ko"===e?i.ordinalNumber(s,{unit:"hour"}):Tl(s,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Nl(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Bl(t,e)},S:function(t,e){return jl(t,e)},X:function(t,e,i,s){var o=(s._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return Ll(o);case"XXXX":case"XX":return $l(o);default:return $l(o,":")}},x:function(t,e,i,s){var o=(s._originalDate||t).getTimezoneOffset();switch(e){case"x":return Ll(o);case"xxxx":case"xx":return $l(o);default:return $l(o,":")}},O:function(t,e,i,s){var o=(s._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Rl(o,":");default:return"GMT"+$l(o,":")}},z:function(t,e,i,s){var o=(s._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Rl(o,":");default:return"GMT"+$l(o,":")}},t:function(t,e,i,s){return Tl(Math.floor((s._originalDate||t).getTime()/1e3),e.length)},T:function(t,e,i,s){return Tl((s._originalDate||t).getTime(),e.length)}};function Rl(t,e){var i=t>0?"-":"+",s=Math.abs(t),o=Math.floor(s/60),r=s%60;if(0===r)return i+String(o);var n=e||"";return i+String(o)+n+Tl(r,2)}function Ll(t,e){return t%60==0?(t>0?"-":"+")+Tl(Math.abs(t)/60,2):$l(t,e)}function $l(t,e){var i=e||"",s=t>0?"-":"+",o=Math.abs(t);return s+Tl(Math.floor(o/60),2)+i+Tl(o%60,2)}const Wl=Fl;var Vl=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},ql=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},Ul={p:ql,P:function(t,e){var i,s=t.match(/(P+)(p+)?/)||[],o=s[1],r=s[2];if(!r)return Vl(t,e);switch(o){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;default:i=e.dateTime({width:"full"})}return i.replace("{{date}}",Vl(o,e)).replace("{{time}}",ql(r,e))}};const Hl=Ul;var Gl=["D","DD"],Yl=["YY","YYYY"];function Jl(t,e,i){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Kl={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Zl(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}var Xl,Ql={date:Zl({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Zl({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Zl({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},th={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function eh(t){return function(e,i){var s;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,r=null!=i&&i.width?String(i.width):o;s=t.formattingValues[r]||t.formattingValues[o]}else{var n=t.defaultWidth,a=null!=i&&i.width?String(i.width):t.defaultWidth;s=t.values[a]||t.values[n]}return s[t.argumentCallback?t.argumentCallback(e):e]}}function ih(t){return function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=i.width,o=e.match(s&&t.matchPatterns[s]||t.matchPatterns[t.defaultMatchWidth]);if(!o)return null;var r,n=o[0],a=s&&t.parsePatterns[s]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?function(t){for(var e=0;e<t.length;e++)if(t[e].test(n))return e}(a):function(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e].test(n))return e}(a);return r=t.valueCallback?t.valueCallback(l):l,{value:r=i.valueCallback?i.valueCallback(r):r,rest:e.slice(n.length)}}}const sh={code:"en-US",formatDistance:function(t,e,i){var s,o=Kl[t];return s="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+s:s+" ago":s},formatLong:Ql,formatRelative:function(t){return th[t]},localize:{ordinalNumber:function(t){var e=Number(t),i=e%100;if(i>20||i<10)switch(i%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},era:eh({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:eh({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:eh({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:eh({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:eh({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(Xl={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.match(Xl.matchPattern);if(!i)return null;var s=i[0],o=t.match(Xl.parsePattern);if(!o)return null;var r=Xl.valueCallback?Xl.valueCallback(o[0]):o[0];return{value:r=e.valueCallback?e.valueCallback(r):r,rest:t.slice(s.length)}}),era:ih({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ih({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:ih({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ih({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ih({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var oh=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,nh=/^'([^]*?)'?$/,ah=/''/g,lh=/[a-zA-Z]/;function hh(t,e,i){var s,o,r,n,a,l,h,c,d,u,p,m,v,f,b,g,y,w;yl(2,arguments);var _=String(e),x=xl(),k=null!==(s=null!==(o=null==i?void 0:i.locale)&&void 0!==o?o:x.locale)&&void 0!==s?s:sh,C=gl(null!==(r=null!==(n=null!==(a=null!==(l=null==i?void 0:i.firstWeekContainsDate)&&void 0!==l?l:null==i||null===(h=i.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==a?a:x.firstWeekContainsDate)&&void 0!==n?n:null===(d=x.locale)||void 0===d||null===(u=d.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==r?r:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=gl(null!==(p=null!==(m=null!==(v=null!==(f=null==i?void 0:i.weekStartsOn)&&void 0!==f?f:null==i||null===(b=i.locale)||void 0===b||null===(g=b.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==v?v:x.weekStartsOn)&&void 0!==m?m:null===(y=x.locale)||void 0===y||null===(w=y.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==p?p:0);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var S=wl(t);if(!function(t){if(yl(1,arguments),!function(t){return yl(1,arguments),t instanceof Date||"object"===bl(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)&&"number"!=typeof t)return!1;var e=wl(t);return!isNaN(Number(e))}(S))throw new RangeError("Invalid time value");var z=function(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}(S),I=function(t,e){return yl(2,arguments),function(t,e){yl(2,arguments);var i=wl(t).getTime(),s=gl(e);return new Date(i+s)}(t,-gl(e))}(S,z),T={firstWeekContainsDate:C,weekStartsOn:A,locale:k,_originalDate:S};return _.match(rh).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,Hl[e])(t,k.formatLong):t})).join("").match(oh).map((function(s){if("''"===s)return"'";var o,r,n=s[0];if("'"===n)return(r=(o=s).match(nh))?r[1].replace(ah,"'"):o;var a=Wl[n];if(a)return null!=i&&i.useAdditionalWeekYearTokens||-1===Yl.indexOf(s)||Jl(s,e,String(t)),null!=i&&i.useAdditionalDayOfYearTokens||!(-1!==Gl.indexOf(s))||Jl(s,e,String(t)),a(I,s,k.localize,T);if(n.match(lh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");return s})).join("")}function ch(t,e){var i;yl(1,arguments);var s=gl(null!==(i=null==e?void 0:e.additionalDigits)&&void 0!==i?i:2);if(2!==s&&1!==s&&0!==s)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var o,r=function(t){var e,i={},s=t.split(dh.dateTimeDelimiter);if(s.length>2)return i;if(/:/.test(s[0])?e=s[0]:(i.date=s[0],e=s[1],dh.timeZoneDelimiter.test(i.date)&&(i.date=t.split(dh.timeZoneDelimiter)[0],e=t.substr(i.date.length,t.length))),e){var o=dh.timezone.exec(e);o?(i.time=e.replace(o[1],""),i.timezone=o[1]):i.time=e}return i}(t);if(r.date){var n=function(t,e){var i=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),s=t.match(i);if(!s)return{year:NaN,restDateString:""};var o=s[1]?parseInt(s[1]):null,r=s[2]?parseInt(s[2]):null;return{year:null===r?o:100*r,restDateString:t.slice((s[1]||s[2]).length)}}(r.date,s);o=function(t,e){if(null===e)return new Date(NaN);var i=t.match(uh);if(!i)return new Date(NaN);var s=!!i[4],o=vh(i[1]),r=vh(i[2])-1,n=vh(i[3]),a=vh(i[4]),l=vh(i[5])-1;if(s)return function(t,e,i){return e>=1&&e<=53&&i>=0&&i<=6}(0,a,l)?function(t,e,i){var s=new Date(0);s.setUTCFullYear(t,0,4);var o=7*(e-1)+i+1-(s.getUTCDay()||7);return s.setUTCDate(s.getUTCDate()+o),s}(e,a,l):new Date(NaN);var h=new Date(0);return function(t,e,i){return e>=0&&e<=11&&i>=1&&i<=(bh[e]||(gh(t)?29:28))}(e,r,n)&&function(t,e){return e>=1&&e<=(gh(t)?366:365)}(e,o)?(h.setUTCFullYear(e,r,Math.max(o,n)),h):new Date(NaN)}(n.restDateString,n.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var a,l=o.getTime(),h=0;if(r.time&&(h=function(t){var e=t.match(ph);if(!e)return NaN;var i=fh(e[1]),s=fh(e[2]),o=fh(e[3]);return function(t,e,i){return 24===t?0===e&&0===i:i>=0&&i<60&&e>=0&&e<60&&t>=0&&t<25}(i,s,o)?i*Cl+s*kl+1e3*o:NaN}(r.time),isNaN(h)))return new Date(NaN);if(!r.timezone){var c=new Date(l+h),d=new Date(0);return d.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),d.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),d}return a=function(t){if("Z"===t)return 0;var e=t.match(mh);if(!e)return 0;var i="+"===e[1]?-1:1,s=parseInt(e[2]),o=e[3]&&parseInt(e[3])||0;return function(t,e){return e>=0&&e<=59}(0,o)?i*(s*Cl+o*kl):NaN}(r.timezone),isNaN(a)?new Date(NaN):new Date(l+h+a)}var dh={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},uh=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ph=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,mh=/^([+-])(\d{2})(?::?(\d{2}))?$/;function vh(t){return t?parseInt(t):1}function fh(t){return t&&parseFloat(t.replace(",","."))||0}var bh=[31,null,31,30,31,30,31,31,30,31,30,31];function gh(t){return t%400==0||t%4==0&&t%100!=0}const yh=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),wh=({date:t,type:e="date",format:i})=>{try{const s=ch(t);if(isNaN(s.getTime()))throw new Error(`Invalid date: ${t}`);if(i)return hh(s,i);let o="dd/MM/yyyy";return"time"===e?o="dd/MM/yyyy HH:mm:ss":"week"===e&&(o="ccc dd/MM/yyyy HH:mm:ss"),hh(s,o)}catch(t){return console.error("Error formatting date:",t.message),""}};function _h(t){const e=ch(t),i=e.getDate();return`${i}${i%10==1&&11!==i?"st":i%10==2&&12!==i?"nd":i%10==3&&13!==i?"rd":"th"} ${hh(e,"LLLL")}`}async function xh(t,e){try{return await function(t,e="GET",i=null,s={}){return new Promise(((o,r)=>{const n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})),a=Object.assign({"Content-Type":"application/json"},s);"GET"!==e&&"HEAD"!==e&&(a["X-Idempotency-Key"]=n);const l={method:e,headers:a,body:null};i&&"GET"!==e&&"HEAD"!==e?l.body=JSON.stringify(i):delete l.body,fetch(t,l).then((t=>t.ok?t.json():t.json().then((e=>{r({status:t.status,statusText:t.statusText,code:e.code||"UNKNOWN_ERROR",message:e.message||"An unknown error occurred",data:e.data||null})}),(()=>r({status:t.status,statusText:t.statusText,code:"PARSE_ERROR",message:"Failed to parse error response"}))))).then((t=>o(t)),(t=>r(t)))}))}(`${t}/games/${e}`,"GET",{})}catch(t){throw console.error("Failed to fetch game info:",t),new Error("The game is currently not available. Please try again later.")}}const kh=["ro","en","fr","ar","hr"],Ch={en:{logout:"Log out",draws:"DRAWS",latestResults:"LATEST RESULTS",instruction:"INSTRUCTION",howToWin:"HOW TO WIN",selectDraws:"Select Draws from the following bars:",gameNotAvailable:"Sorry. The Game is not available now.",instructionContent:"Instruction content goes here."},ro:{logout:"Deconectare",draws:"EXTRAGERI",latestResults:"ULTIMELE REZULTATE",instruction:"INSTRUCȚIUNI",howToWin:"CUM SĂ CÂȘTIGI",selectDraws:"Selectați extrageri din barele următoare:",gameNotAvailable:"Ne pare rău. Jocul nu este disponibil acum.",instructionContent:"Conținutul instrucțiunilor se afișează aici."},fr:{logout:"Se déconnecter",draws:"TIRAGES",latestResults:"DERNIERS RÉSULTATS",instruction:"INSTRUCTION",howToWin:"COMMENT GAGNER",selectDraws:"Sélectionnez les tirages dans les barres suivantes:",gameNotAvailable:"Désolé. Le jeu nest pas disponible pour le moment.",instructionContent:"Le contenu des instructions va ici."},ar:{logout:"تسجيل الخروج",draws:"السحوبات",latestResults:"أحدث النتائج",instruction:"التعليمات",howToWin:"كيفية الفوز",selectDraws:"حدد السحوبات من الأشرطة التالية:",gameNotAvailable:"آسف. اللعبة غير متوفرة الآن.",instructionContent:"محتوى التعليمات يذهب هنا."},hr:{logout:"Odjava",draws:"IZVLAČENJA",latestResults:"NAJNOVIJI REZULTATI",instruction:"UPUTE",howToWin:"KAKO POBIJEDITI",selectDraws:"Odaberite izvlačenja sa sljedećih traka:",gameNotAvailable:"Žao nam je. Igra trenutno nije dostupna.",instructionContent:"Sadržaj uputa ide ovdje."}},Ah=(t,e)=>{const i=e;return Ch[void 0!==i&&kh.includes(i)?i:"en"][t]},Sh=class{constructor(e){t(this,e),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl="",this.language="en",this.endpoint=void 0,this.endpointTicket=void 0,this.gameId=void 0,this.playerId=void 0,this.sessionId=void 0,this.date=void 0,this.drawId=void 0,this.playTypes=null,this.bettingTypes=void 0,this.isLoading=!1,this.selectedTabIndex=0,this.showSelectDrawPage=!0}handleClientStylingChange(t,e){t!=e&&ml(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(t,e){t!=e&&vl(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(t,e){t!=e&&fl(this.stylingContainer,`${this.mbSource}.Style`)}componentWillLoad(){var t;this.translationUrl&&(t=JSON.parse(this.translationUrl),Object.keys(t).forEach((e=>{for(let i in t[e])Ch[e][i]=t[e][i]})))}componentDidLoad(){this.stylingContainer&&(this.mbSource&&fl(this.stylingContainer,`${this.mbSource}.Style`),this.clientStyling&&ml(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&vl(this.stylingContainer,this.clientStylingUrl))}connectedCallback(){this.getGameById()}async getGameById(){var t,e,i,s;try{this.isLoading=!0;const o=await xh(this.endpoint,this.gameId);this.date=null==o?void 0:o.currentDraw.date,this.drawId=null==o?void 0:o.currentDraw.id,this.playTypes=null===(e=null===(t=null==o?void 0:o.rules)||void 0===t?void 0:t.poolGame)||void 0===e?void 0:e.playTypes,this.bettingTypes=null===(s=null===(i=null==o?void 0:o.rules)||void 0===i?void 0:i.poolGame)||void 0===s?void 0:s.bettingTypes}catch(t){console.log(t)}finally{this.isLoading=!1}}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}handleSelectDraw(){this.showSelectDrawPage=!1}handleClosePoolGamePage(){this.showSelectDrawPage=!0}render(){const t=e("../static/poolgame-bg.webp");return i("div",{key:"19cca231aa12672112ceffbe5066deb814de272c",class:"lottery-tipping-entrance",ref:t=>this.stylingContainer=t},this.showSelectDrawPage&&i("div",{key:"099004b883ca185fe45d8cc7e10dba83cbf12f39",class:"select-draw-page"},i("div",{key:"222802653aa8c842bb8c64725a618ab125fc04f9",class:"lottery-tipping-entrance__header"},i("div",{key:"6d8169ce67b0fc25f4511eabdb0f2e7b21a26188",class:"header"},i("div",{key:"0356430f91f87a9033f235454ce115fb1caacee8",class:"header-logo"},i("img",{key:"a1aa6026dad6aa4f51e2532807afe478985d5ffb",src:t,class:"logo"})),i("div",{key:"337ed7157d26bd52731c213c6d2b8622b8a12fa0",class:"header-btn"},i("slot",{key:"61edaf242392131031855db1b108b9b76cabee97",name:"logoutBtn"}))),i("div",{key:"8c0852b44cfc72c4da42870d1273e464aac21efe",class:"tabs-wrap"},i("vaadin-tabs",{key:"d4dcdccc13d378d6485720d4c133e36a0e262cd6",theme:"equal-width-tabs",selected:this.selectedTabIndex,"on-selected-changed":t=>{this.selectedTabIndex=t.detail.value}},i("vaadin-tab",{key:"3265eacd826731adf9bcbabab9fee0110a888d21",value:"0"},Ah("draws",this.language)),i("vaadin-tab",{key:"9c9bf0b2a6ca113afd6909ad47217b8964c92814",value:"1"},Ah("latestResults",this.language)),i("vaadin-tab",{key:"6ad27452712200e4baff7d1c8b4710693a5a039b",value:"2"},Ah("instruction",this.language))))),i("div",{key:"95e152cd6840448c439b5b580d95e4b2e5f1bcb0",class:"tabs-content"},0===this.selectedTabIndex&&i("draw-selection",{key:"9b14c11f31e44a51f43ea705f000d8f4aa65e662",date:this.date,"is-loading":this.isLoading,language:this.language,"client-styling":this.clientStyling,"client-styling-Url":this.clientStylingUrl,"mb-source":this.mbSource,"translation-url":this.translationUrl}),1===this.selectedTabIndex&&i("lottery-tipping-latest-result",{key:"db43f7f94dbf557f44ce270466bb525b6cf4576e",endpoint:this.endpoint,"endpoint-ticket":this.endpointTicket,"game-id":this.gameId,"player-id":this.playerId,"session-id":this.sessionId,language:this.language,"translation-url":this.translationUrl}),2===this.selectedTabIndex&&i("div",{key:"0f7273f8c43144e8694fcd24639f4183f449ff75",style:{padding:"24px",textAlign:"center"}},Ah("instructionContent",this.language)))),!this.showSelectDrawPage&&i("lottery-tipping-page",{key:"1c46a76e1a19bfc7ae987d3c1f556da25519d847",endpoint:this.endpoint,"endpoint-ticket":this.endpointTicket,"game-id":this.gameId,"player-id":this.playerId,"session-id":this.sessionId,"draw-id":this.drawId,playTypes:this.playTypes,bettingTypes:this.bettingTypes,"client-styling":this.clientStyling,"client-styling-Url":this.clientStylingUrl,"mb-source":this.mbSource,"translation-url":this.translationUrl,language:this.language}))}static get assetsDirs(){return["../static"]}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"]}}};Sh.style=".lottery-tipping-entrance__header {\n display: flex;\n flex-direction: column;\n align-items: center;\n background: linear-gradient(to right, var(--emw--color-primary, #fed275), var(--emw--color-primary-variant, #ffe66f));\n padding-top: 10px;\n}\n.lottery-tipping-entrance__header .header {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 46px;\n container-type: inline-size;\n}\n.lottery-tipping-entrance__header .header-logo {\n text-align: center;\n}\n.lottery-tipping-entrance__header .header-logo .logo {\n width: 240px;\n}\n@container (max-width: 390px) {\n .lottery-tipping-entrance__header .header-logo .logo {\n width: 200px;\n }\n}\n.lottery-tipping-entrance__header .header-btn {\n position: absolute;\n right: 20px;\n}\n.lottery-tipping-entrance__header .header-btn #logout-btn {\n padding: 0.5rem 1rem;\n font-size: 14px;\n font-weight: 500;\n background-color: transparent;\n color: var(--emw--color-gray-300, #333);\n border: var(--emw--button-border, 1px solid rgba(221, 221, 221, 0.8666666667));\n border-radius: var(--emw--border-radius-small, 4px);\n cursor: pointer;\n transition: background-color 0.2s ease, border-color 0.2s ease;\n}\n.lottery-tipping-entrance__header .header-btn #logout-btn:hover {\n background-color: var(--emw--color-gray-50, #f5f5f5);\n border-color: var(--emw--color-gray-150, #6f6f6f);\n}\n.lottery-tipping-entrance__header .tabs-wrap {\n width: 100%;\n}\n\nvaadin-tab[selected] {\n color: var(--emw--color-gray-300, #333);\n font-weight: bold;\n}\n\nvaadin-tab::after[selected] {\n background-color: var(--emw--color-gray-300, #333);\n}\n\n@media screen and (max-width: 480px) {\n .draw-info-item-list {\n gap: 84px;\n }\n}\n@media screen and (min-width: 1400px) {\n .draw-info-footer {\n margin-top: 160px;\n }\n}";export{Sh as L,gl as a,vl as b,fl as c,Ah as d,hh as e,wh as f,_h as g,yh as i,ch as p,yl as r,ml as s,wl as t}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="97" height="28" viewBox="0 0 97 28">
|
|
2
|
-
<defs>
|
|
3
|
-
<polygon id="tipping-full-color-black-a" points=".035 .026 72.622 .026 72.622 13.501 .035 13.501"/>
|
|
4
|
-
</defs>
|
|
5
|
-
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
|
6
|
-
<g transform="translate(24.01 3.257)">
|
|
7
|
-
<mask id="tipping-full-color-black-b" fill="#fff">
|
|
8
|
-
<use xlink:href="#tipping-full-color-black-a"/>
|
|
9
|
-
</mask>
|
|
10
|
-
<path fill="#000" d="M42.3597459,0.137474286 C41.5771871,0.137474286 41.0190188,0.639131429 41.0190188,1.47387429 L41.0193626,11.9983314 C41.0190188,12.8329029 41.5775882,13.3347314 42.3588864,13.3344457 C43.1408149,13.3339314 43.6993843,12.8329029 43.6993843,11.9983314 L43.6993843,1.47387429 C43.6993843,0.639131429 43.1408149,0.137474286 42.3597459,0.137474286 M56.150475,0.137017143 C55.3690622,0.136502857 54.8113523,0.639302857 54.8108366,1.47387429 L54.8105501,7.71490286 C54.8105501,7.71490286 47.4869184,0.430674286 47.3826307,0.329131429 C47.2004138,0.15136 46.9324746,0.07776 46.6864244,0.191245714 C46.4286275,0.310331429 46.3235376,0.479817143 46.3235376,0.805645714 L46.3235376,11.9976457 C46.3235376,12.8322743 46.8821071,13.3341029 47.6639783,13.3344457 C48.445391,13.3346171 49.0035594,12.8322743 49.0039032,11.9976457 L49.0039032,5.75644571 C49.0039032,5.75644571 56.3274203,13.0407314 56.4318226,13.1422171 C56.6140968,13.3199886 56.8818068,13.3935886 57.1280288,13.2800457 C57.3862841,13.1610171 57.4909156,12.9914743 57.4909156,12.6656457 L57.4909156,1.47387429 C57.4912021,0.639302857 56.93269,0.137474286 56.150475,0.137017143 M72.5936068,6.15107429 L71.3592875,6.15107429 L67.2062308,6.15124571 C66.3686631,6.15107429 65.8665924,6.70804571 65.8663059,7.48776 C65.8663059,8.26718857 66.3686631,8.82404571 67.1505916,8.82404571 L69.3773057,8.82404571 C68.6686078,10.0230171 67.3628915,10.8287314 65.8665924,10.8287314 C63.6152389,10.8287314 61.7906054,9.00867429 61.7906054,6.76376 C61.7906054,4.51884571 63.6152389,2.69896 65.8665924,2.69896 C67.2478313,2.69896 68.2558692,3.33536 69.2118206,4.44518857 C69.8424173,5.17690286 70.5459581,5.21090286 71.0335317,4.91153143 C71.6659048,4.52296 71.9037036,3.65958857 71.4944604,3.04341714 C70.2867287,1.22524571 68.2178214,0.0262171429 65.8663059,0.0262171429 C62.1348121,0.0262171429 59.1101826,3.04273143 59.1101826,6.76376 C59.1101826,8.74993143 59.9727908,10.5351886 61.344002,11.7683314 L61.344002,11.7751314 L61.3515657,11.7751314 C62.5483529,12.8478743 64.1304315,13.5012457 65.8663059,13.5012457 C69.5977996,13.5012457 72.6224292,10.4846743 72.6224292,6.76376 C72.6224292,6.55707429 72.6115993,6.35296 72.5936068,6.15107429 M34.7100146,6.15136 L31.9741245,6.15136 L31.973838,2.81021714 L34.7100146,2.81044571 C35.8825635,2.81044571 36.4966576,3.59570286 36.4966576,4.48084571 C36.4966576,5.36581714 35.8825635,6.15136 34.7100146,6.15136 M34.8216941,0.137588571 L34.8212357,0.137474286 L29.2937589,0.137474286 L29.2937589,1.36250286 L29.2939308,11.9979886 C29.2938162,12.8329029 29.8521565,13.3346171 30.6335693,13.3344457 C31.415555,13.3341029 31.973838,12.8329029 31.9741818,11.9979886 L31.9741245,8.82404571 L34.821866,8.82404571 C37.2271298,8.82404571 39.1769085,6.87947429 39.1769085,4.48084571 C39.1769085,2.08198857 37.2271298,0.137588571 34.8216941,0.137588571 M13.6041917,0.137474286 C12.8219767,0.137474286 12.2635218,0.639131429 12.2635791,1.47387429 L12.2638656,11.9983314 C12.2635791,12.8329029 12.822034,13.3347314 13.603676,13.3344457 C14.3853752,13.3339314 14.9437728,12.8329029 14.9440593,11.9983314 L14.9437728,1.47387429 C14.9437728,0.639131429 14.3853179,0.137474286 13.6041917,0.137474286 M9.64062912,0.13976 L1.37565778,0.13736 C0.538491207,0.13736 0.0354463545,0.694217143 0.0354463545,1.47347429 C0.0354463545,2.25324571 0.538147402,2.81021714 1.37531397,2.81027429 L4.16735902,2.81021714 L4.16787473,11.9979886 L4.16787473,11.9986743 C4.16735902,12.8329029 4.72575657,13.3346171 5.50762774,13.3344457 C6.28921241,13.3341029 6.84755266,12.8329029 6.84766726,11.9986743 L6.84766726,11.9976457 L6.84749536,11.9976457 L6.84749536,2.81021714 L9.64062912,2.81027429 C10.4768216,2.81027429 10.9795799,2.25341714 10.9794653,1.47507429 C10.979408,0.694274286 10.4768216,0.137474286 9.64062912,0.13976 M22.9843537,6.15136 L20.2484635,6.15136 L20.248177,2.81021714 L22.9843537,2.81044571 C24.1569599,2.81044571 24.7711112,3.59570286 24.7711112,4.48084571 C24.7711112,5.36581714 24.1569599,6.15136 22.9843537,6.15136 M23.0960332,0.137588571 L23.0956894,0.137474286 L17.5680407,0.137474286 L17.5680407,1.36250286 L17.5682126,11.9979886 C17.5681553,12.8329029 18.1264383,13.3346171 18.9079083,13.3344457 C19.6898941,13.3341029 20.248177,12.8329029 20.2485208,11.9979886 L20.2484635,8.82404571 L23.0962051,8.82404571 C25.5015262,8.82404571 27.4512476,6.87947429 27.4512476,4.48084571 C27.4512476,2.08198857 25.5014116,0.137588571 23.0960332,0.137588571" mask="url(#tipping-full-color-black-b)"/>
|
|
11
|
-
</g>
|
|
12
|
-
<path fill="gold" d="M15.0561915,10.9267314 L10.956883,15.0146743 L20.0552964,15.9120457 L15.0561915,10.9267314 Z M15.9561025,-1.14285714e-05 L10.9569403,4.98530286 L15.0562488,9.07330286 L15.9561025,-1.14285714e-05 Z M4.09927979,19.9999886 L5.92941415,9.99998857 L2.86504643e-05,15.9120457 L4.09927979,19.9999886 Z M2.86504643e-05,4.08798857 L5.92941415,9.99998857 L14.1269423,9.99998857 L2.86504643e-05,4.08798857 Z"/>
|
|
13
|
-
<path fill="#FF9100" d="M15.956051,20 L20.0553021,15.9120571 L10.9568888,15.0146857 L15.956051,20 Z M15.956051,0 L15.0562545,9.07331429 L20.0553594,4.08794286 L15.956051,0 Z M4.09928552,20 L14.126948,10 L5.92941988,10 L4.09928552,20 Z M3.43805572e-05,4.088 L14.126948,10 L4.09928552,0 L3.43805572e-05,4.088 Z"/>
|
|
14
|
-
</g>
|
|
15
|
-
</svg>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="97" height="28" viewBox="0 0 97 28">
|
|
2
|
-
<defs>
|
|
3
|
-
<polygon id="tipping-full-color-black-a" points=".035 .026 72.622 .026 72.622 13.501 .035 13.501"/>
|
|
4
|
-
</defs>
|
|
5
|
-
<g fill="none" fill-rule="evenodd" transform="translate(0 4)">
|
|
6
|
-
<g transform="translate(24.01 3.257)">
|
|
7
|
-
<mask id="tipping-full-color-black-b" fill="#fff">
|
|
8
|
-
<use xlink:href="#tipping-full-color-black-a"/>
|
|
9
|
-
</mask>
|
|
10
|
-
<path fill="#000" d="M42.3597459,0.137474286 C41.5771871,0.137474286 41.0190188,0.639131429 41.0190188,1.47387429 L41.0193626,11.9983314 C41.0190188,12.8329029 41.5775882,13.3347314 42.3588864,13.3344457 C43.1408149,13.3339314 43.6993843,12.8329029 43.6993843,11.9983314 L43.6993843,1.47387429 C43.6993843,0.639131429 43.1408149,0.137474286 42.3597459,0.137474286 M56.150475,0.137017143 C55.3690622,0.136502857 54.8113523,0.639302857 54.8108366,1.47387429 L54.8105501,7.71490286 C54.8105501,7.71490286 47.4869184,0.430674286 47.3826307,0.329131429 C47.2004138,0.15136 46.9324746,0.07776 46.6864244,0.191245714 C46.4286275,0.310331429 46.3235376,0.479817143 46.3235376,0.805645714 L46.3235376,11.9976457 C46.3235376,12.8322743 46.8821071,13.3341029 47.6639783,13.3344457 C48.445391,13.3346171 49.0035594,12.8322743 49.0039032,11.9976457 L49.0039032,5.75644571 C49.0039032,5.75644571 56.3274203,13.0407314 56.4318226,13.1422171 C56.6140968,13.3199886 56.8818068,13.3935886 57.1280288,13.2800457 C57.3862841,13.1610171 57.4909156,12.9914743 57.4909156,12.6656457 L57.4909156,1.47387429 C57.4912021,0.639302857 56.93269,0.137474286 56.150475,0.137017143 M72.5936068,6.15107429 L71.3592875,6.15107429 L67.2062308,6.15124571 C66.3686631,6.15107429 65.8665924,6.70804571 65.8663059,7.48776 C65.8663059,8.26718857 66.3686631,8.82404571 67.1505916,8.82404571 L69.3773057,8.82404571 C68.6686078,10.0230171 67.3628915,10.8287314 65.8665924,10.8287314 C63.6152389,10.8287314 61.7906054,9.00867429 61.7906054,6.76376 C61.7906054,4.51884571 63.6152389,2.69896 65.8665924,2.69896 C67.2478313,2.69896 68.2558692,3.33536 69.2118206,4.44518857 C69.8424173,5.17690286 70.5459581,5.21090286 71.0335317,4.91153143 C71.6659048,4.52296 71.9037036,3.65958857 71.4944604,3.04341714 C70.2867287,1.22524571 68.2178214,0.0262171429 65.8663059,0.0262171429 C62.1348121,0.0262171429 59.1101826,3.04273143 59.1101826,6.76376 C59.1101826,8.74993143 59.9727908,10.5351886 61.344002,11.7683314 L61.344002,11.7751314 L61.3515657,11.7751314 C62.5483529,12.8478743 64.1304315,13.5012457 65.8663059,13.5012457 C69.5977996,13.5012457 72.6224292,10.4846743 72.6224292,6.76376 C72.6224292,6.55707429 72.6115993,6.35296 72.5936068,6.15107429 M34.7100146,6.15136 L31.9741245,6.15136 L31.973838,2.81021714 L34.7100146,2.81044571 C35.8825635,2.81044571 36.4966576,3.59570286 36.4966576,4.48084571 C36.4966576,5.36581714 35.8825635,6.15136 34.7100146,6.15136 M34.8216941,0.137588571 L34.8212357,0.137474286 L29.2937589,0.137474286 L29.2937589,1.36250286 L29.2939308,11.9979886 C29.2938162,12.8329029 29.8521565,13.3346171 30.6335693,13.3344457 C31.415555,13.3341029 31.973838,12.8329029 31.9741818,11.9979886 L31.9741245,8.82404571 L34.821866,8.82404571 C37.2271298,8.82404571 39.1769085,6.87947429 39.1769085,4.48084571 C39.1769085,2.08198857 37.2271298,0.137588571 34.8216941,0.137588571 M13.6041917,0.137474286 C12.8219767,0.137474286 12.2635218,0.639131429 12.2635791,1.47387429 L12.2638656,11.9983314 C12.2635791,12.8329029 12.822034,13.3347314 13.603676,13.3344457 C14.3853752,13.3339314 14.9437728,12.8329029 14.9440593,11.9983314 L14.9437728,1.47387429 C14.9437728,0.639131429 14.3853179,0.137474286 13.6041917,0.137474286 M9.64062912,0.13976 L1.37565778,0.13736 C0.538491207,0.13736 0.0354463545,0.694217143 0.0354463545,1.47347429 C0.0354463545,2.25324571 0.538147402,2.81021714 1.37531397,2.81027429 L4.16735902,2.81021714 L4.16787473,11.9979886 L4.16787473,11.9986743 C4.16735902,12.8329029 4.72575657,13.3346171 5.50762774,13.3344457 C6.28921241,13.3341029 6.84755266,12.8329029 6.84766726,11.9986743 L6.84766726,11.9976457 L6.84749536,11.9976457 L6.84749536,2.81021714 L9.64062912,2.81027429 C10.4768216,2.81027429 10.9795799,2.25341714 10.9794653,1.47507429 C10.979408,0.694274286 10.4768216,0.137474286 9.64062912,0.13976 M22.9843537,6.15136 L20.2484635,6.15136 L20.248177,2.81021714 L22.9843537,2.81044571 C24.1569599,2.81044571 24.7711112,3.59570286 24.7711112,4.48084571 C24.7711112,5.36581714 24.1569599,6.15136 22.9843537,6.15136 M23.0960332,0.137588571 L23.0956894,0.137474286 L17.5680407,0.137474286 L17.5680407,1.36250286 L17.5682126,11.9979886 C17.5681553,12.8329029 18.1264383,13.3346171 18.9079083,13.3344457 C19.6898941,13.3341029 20.248177,12.8329029 20.2485208,11.9979886 L20.2484635,8.82404571 L23.0962051,8.82404571 C25.5015262,8.82404571 27.4512476,6.87947429 27.4512476,4.48084571 C27.4512476,2.08198857 25.5014116,0.137588571 23.0960332,0.137588571" mask="url(#tipping-full-color-black-b)"/>
|
|
11
|
-
</g>
|
|
12
|
-
<path fill="gold" d="M15.0561915,10.9267314 L10.956883,15.0146743 L20.0552964,15.9120457 L15.0561915,10.9267314 Z M15.9561025,-1.14285714e-05 L10.9569403,4.98530286 L15.0562488,9.07330286 L15.9561025,-1.14285714e-05 Z M4.09927979,19.9999886 L5.92941415,9.99998857 L2.86504643e-05,15.9120457 L4.09927979,19.9999886 Z M2.86504643e-05,4.08798857 L5.92941415,9.99998857 L14.1269423,9.99998857 L2.86504643e-05,4.08798857 Z"/>
|
|
13
|
-
<path fill="#FF9100" d="M15.956051,20 L20.0553021,15.9120571 L10.9568888,15.0146857 L15.956051,20 Z M15.956051,0 L15.0562545,9.07331429 L20.0553594,4.08794286 L15.956051,0 Z M4.09928552,20 L14.126948,10 L5.92941988,10 L4.09928552,20 Z M3.43805572e-05,4.088 L14.126948,10 L4.09928552,0 L3.43805572e-05,4.088 Z"/>
|
|
14
|
-
</g>
|
|
15
|
-
</svg>
|