@madgex/design-system 5.11.3 → 6.0.1

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.
Files changed (69) hide show
  1. package/README.md +5 -21
  2. package/dist/_tokens/css/_tokens.css +62 -96
  3. package/dist/_tokens/js/_tokens-module.js +1342 -1406
  4. package/dist/_tokens/sketch/_tokens.sketchpalette +1 -1
  5. package/dist/assets/icons.json +1 -1
  6. package/dist/css/index.css +1 -1
  7. package/dist/js/index-fractal.js +1 -1
  8. package/dist/js/index.js +1 -1
  9. package/package.json +4 -4
  10. package/src/components/_preview.njk +1 -0
  11. package/src/components/button/button.scss +50 -37
  12. package/src/components/card/README.md +1 -1
  13. package/src/components/card/_template.njk +1 -1
  14. package/src/components/card/card.config.js +1 -2
  15. package/src/components/card/card.scss +29 -39
  16. package/src/components/icons/README.md +3 -3
  17. package/src/components/icons/icons.scss +26 -19
  18. package/src/components/inputs/_form-elements.scss +44 -44
  19. package/src/components/inputs/checkbox-pill/checkbox-pill.scss +14 -14
  20. package/src/components/inputs/combobox/combobox.scss +13 -13
  21. package/src/components/inputs/file-upload/file-upload.scss +14 -14
  22. package/src/components/inputs/input-number/input-number.scss +10 -10
  23. package/src/components/inputs/text-editor/text-editor.scss +16 -16
  24. package/src/components/modal/modal.js +1 -1
  25. package/src/components/modal/modal.scss +4 -4
  26. package/src/components/notification/notification.scss +1 -1
  27. package/src/components/pagination/pagination.scss +8 -8
  28. package/src/components/popover/popover.js +1 -1
  29. package/src/components/popover/popover.scss +13 -13
  30. package/src/components/section-title/section-title.scss +1 -1
  31. package/src/components/skip-link/skip-link.scss +4 -4
  32. package/src/components/tabs/tabs.js +1 -1
  33. package/src/components/tabs/tabs.scss +16 -16
  34. package/src/components/toggle-button-links/toggle-button-links.scss +20 -20
  35. package/src/helpers/spacing/README.md +2 -2
  36. package/src/layout/grid/README.md +4 -4
  37. package/src/scss/constants/__index.scss +2 -0
  38. package/src/scss/constants/_sd-tokens.scss +81 -0
  39. package/src/scss/constants/_vars.scss +4 -0
  40. package/src/scss/core/_containers.scss +35 -38
  41. package/src/scss/core/_defaults.scss +14 -8
  42. package/src/scss/core/_grid.scss +20 -23
  43. package/src/scss/core/_lists.scss +13 -13
  44. package/src/scss/core/_message.scss +32 -32
  45. package/src/scss/core/_typography.scss +13 -13
  46. package/src/scss/functions/__index.scss +0 -2
  47. package/src/scss/functions/_media-queries.scss +4 -4
  48. package/src/scss/functions/_text-contrast.scss +6 -7
  49. package/src/scss/helpers/_borders.scss +5 -38
  50. package/src/scss/helpers/_display.scss +0 -1
  51. package/src/scss/helpers/_edited-text.scss +5 -5
  52. package/src/scss/helpers/_floats.scss +0 -1
  53. package/src/scss/helpers/_font-types.scss +15 -15
  54. package/src/scss/helpers/_spacing.scss +33 -36
  55. package/src/scss/helpers/_text-align.scss +0 -1
  56. package/src/scss/helpers/_vertical-align.scss +0 -2
  57. package/src/scss/helpers/_width-height.scss +4 -6
  58. package/src/scss/import.scss +1 -0
  59. package/src/scss/index.scss +0 -2
  60. package/src/tokens/_config.js +24 -10
  61. package/src/tokens/_constants.json +130 -0
  62. package/src/tokens/color.json +8 -76
  63. package/src/tokens/custom.json +0 -8
  64. package/src/tokens/size.json +0 -16
  65. package/src/tokens/typography.json +3 -1
  66. package/tasks/registerTransforms.js +28 -1
  67. package/dist/_tokens/scss/_tokens.scss +0 -741
  68. package/src/scss/functions/_color.scss +0 -0
  69. package/src/scss/functions/_px2rem.scss +0 -20
@@ -1 +1 @@
1
- (()=>{var t={7111:(t,r,e)=>{var n=e(6733),o=e(9821),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},7988:(t,r,e)=>{var n=e(2359),o=e(9821),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a constructor")}},8505:(t,r,e)=>{var n=e(6733),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},7728:(t,r,e)=>{var n=e(1321),o=TypeError;t.exports=function(t,r){if(n(r,t))return t;throw o("Incorrect invocation")}},1176:(t,r,e)=>{var n=e(5052),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},6570:(t,r,e)=>{"use strict";var n=e(9996).forEach,o=e(6038)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},507:(t,r,e)=>{"use strict";var n=e(7636),o=e(266),i=e(2991),c=e(4960),a=e(1943),u=e(2359),s=e(9646),f=e(2324),p=e(8403),l=e(8830),v=Array;t.exports=function(t){var r=i(t),e=u(this),d=arguments.length,h=d>1?arguments[1]:void 0,y=void 0!==h;y&&(h=n(h,d>2?arguments[2]:void 0));var m,x,g,b,S,w,O=l(r),j=0;if(!O||this===v&&a(O))for(m=s(r),x=e?new this(m):v(m);m>j;j++)w=y?h(r[j],j):r[j],f(x,j,w);else for(S=(b=p(r,O)).next,x=e?new this:[];!(g=o(S,b)).done;j++)w=y?c(b,h,[g.value,j],!0):g.value,f(x,j,w);return x.length=j,x}},9540:(t,r,e)=>{var n=e(905),o=e(3231),i=e(9646),c=function(t){return function(r,e,c){var a,u=n(r),s=i(u),f=o(c,s);if(t&&e!=e){for(;s>f;)if((a=u[f++])!=a)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},9996:(t,r,e)=>{var n=e(7636),o=e(5968),i=e(9337),c=e(2991),a=e(9646),u=e(7501),s=o([].push),f=function(t){var r=1==t,e=2==t,o=3==t,f=4==t,p=6==t,l=7==t,v=5==t||p;return function(d,h,y,m){for(var x,g,b=c(d),S=i(b),w=n(h,y),O=a(S),j=0,E=m||u,T=r?E(d,O):e||l?E(d,0):void 0;O>j;j++)if((v||j in S)&&(g=w(x=S[j],j,b),t))if(r)T[j]=g;else if(g)switch(t){case 3:return!0;case 5:return x;case 6:return j;case 2:s(T,x)}else switch(t){case 4:return!1;case 7:s(T,x)}return p?-1:o||f?f:T}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},1460:(t,r,e)=>{var n=e(4229),o=e(95),i=e(6358),c=o("species");t.exports=function(t){return i>=51||!n((function(){var r=[];return(r.constructor={})[c]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},6038:(t,r,e)=>{"use strict";var n=e(4229);t.exports=function(t,r){var e=[][t];return!!e&&n((function(){e.call(null,r||function(){return 1},1)}))}},1909:(t,r,e)=>{var n=e(5968);t.exports=n([].slice)},8760:(t,r,e)=>{var n=e(3718),o=e(2359),i=e(5052),c=e(95)("species"),a=Array;t.exports=function(t){var r;return n(t)&&(r=t.constructor,(o(r)&&(r===a||n(r.prototype))||i(r)&&null===(r=r[c]))&&(r=void 0)),void 0===r?a:r}},7501:(t,r,e)=>{var n=e(8760);t.exports=function(t,r){return new(n(t))(0===r?0:r)}},4960:(t,r,e)=>{var n=e(1176),o=e(7281);t.exports=function(t,r,e,i){try{return i?r(n(e)[0],e[1]):r(e)}catch(r){o(t,"throw",r)}}},4575:(t,r,e)=>{var n=e(95)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[n]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},7079:(t,r,e)=>{var n=e(5968),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},1589:(t,r,e)=>{var n=e(1601),o=e(6733),i=e(7079),c=e(95)("toStringTag"),a=Object,u="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=a(t),c))?e:u?i(r):"Object"==(n=i(r))&&o(r.callee)?"Arguments":n}},7081:(t,r,e)=>{var n=e(8270),o=e(4826),i=e(7933),c=e(1787);t.exports=function(t,r,e){for(var a=o(r),u=c.f,s=i.f,f=0;f<a.length;f++){var p=a[f];n(t,p)||e&&n(e,p)||u(t,p,s(r,p))}}},7528:(t,r,e)=>{var n=e(4229);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},3723:(t,r,e)=>{"use strict";var n=e(693).IteratorPrototype,o=e(2391),i=e(5358),c=e(4555),a=e(5495),u=function(){return this};t.exports=function(t,r,e,s){var f=r+" Iterator";return t.prototype=o(n,{next:i(+!s,e)}),c(t,f,!1,!0),a[f]=u,t}},5762:(t,r,e)=>{var n=e(7400),o=e(1787),i=e(5358);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},5358:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},2324:(t,r,e)=>{"use strict";var n=e(9310),o=e(1787),i=e(5358);t.exports=function(t,r,e){var c=n(r);c in t?o.f(t,c,i(0,e)):t[c]=e}},4768:(t,r,e)=>{var n=e(6733),o=e(5762),i=e(6039),c=e(8400);t.exports=function(t,r,e,a){a||(a={});var u=a.enumerable,s=void 0!==a.name?a.name:r;return n(e)&&i(e,s,a),a.global?u?t[r]=e:c(r,e):(a.unsafe?t[r]&&(u=!0):delete t[r],u?t[r]=e:o(t,r,e)),t}},8400:(t,r,e)=>{var n=e(9859),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},7675:(t,r,e)=>{"use strict";var n=e(3103),o=e(266),i=e(4231),c=e(1805),a=e(6733),u=e(3723),s=e(7567),f=e(6540),p=e(4555),l=e(5762),v=e(4768),d=e(95),h=e(5495),y=e(693),m=c.PROPER,x=c.CONFIGURABLE,g=y.IteratorPrototype,b=y.BUGGY_SAFARI_ITERATORS,S=d("iterator"),w="keys",O="values",j="entries",E=function(){return this};t.exports=function(t,r,e,c,d,y,T){u(e,r,c);var A,P,L,C=function(t){if(t===d&&_)return _;if(!b&&t in M)return M[t];switch(t){case w:case O:case j:return function(){return new e(this,t)}}return function(){return new e(this)}},R=r+" Iterator",I=!1,M=t.prototype,N=M[S]||M["@@iterator"]||d&&M[d],_=!b&&N||C(d),k="Array"==r&&M.entries||N;if(k&&(A=s(k.call(new t)))!==Object.prototype&&A.next&&(i||s(A)===g||(f?f(A,g):a(A[S])||v(A,S,E)),p(A,R,!0,!0),i&&(h[R]=E)),m&&d==O&&N&&N.name!==O&&(!i&&x?l(M,"name",O):(I=!0,_=function(){return o(N,this)})),d)if(P={values:C(O),keys:y?_:C(w),entries:C(j)},T)for(L in P)(b||I||!(L in M))&&v(M,L,P[L]);else n({target:r,proto:!0,forced:b||I},P);return i&&!T||M[S]===_||v(M,S,_,{name:d}),h[r]=_,P}},7400:(t,r,e)=>{var n=e(4229);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2635:(t,r,e)=>{var n=e(9859),o=e(5052),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},5694:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8865:(t,r,e)=>{var n=e(2635)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},8639:t=>{t.exports="object"==typeof window&&"object"!=typeof Deno},8983:(t,r,e)=>{var n=e(598),o=e(9859);t.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},2023:(t,r,e)=>{var n=e(598);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},8801:(t,r,e)=>{var n=e(7079),o=e(9859);t.exports="process"==n(o.process)},263:(t,r,e)=>{var n=e(598);t.exports=/web0s(?!.*chrome)/i.test(n)},598:(t,r,e)=>{var n=e(1333);t.exports=n("navigator","userAgent")||""},6358:(t,r,e)=>{var n,o,i=e(9859),c=e(598),a=i.process,u=i.Deno,s=a&&a.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},3837:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3103:(t,r,e)=>{var n=e(9859),o=e(7933).f,i=e(5762),c=e(4768),a=e(8400),u=e(7081),s=e(6541);t.exports=function(t,r){var e,f,p,l,v,d=t.target,h=t.global,y=t.stat;if(e=h?n:y?n[d]||a(d,{}):(n[d]||{}).prototype)for(f in r){if(l=r[f],p=t.dontCallGetSet?(v=o(e,f))&&v.value:e[f],!s(h?f:d+(y?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;u(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),c(e,f,l,t)}}},4229:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},3171:(t,r,e)=>{var n=e(7188),o=Function.prototype,i=o.apply,c=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(i):function(){return c.apply(i,arguments)})},7636:(t,r,e)=>{var n=e(5968),o=e(7111),i=e(7188),c=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?c(t,r):function(){return t.apply(r,arguments)}}},7188:(t,r,e)=>{var n=e(4229);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},266:(t,r,e)=>{var n=e(7188),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},1805:(t,r,e)=>{var n=e(7400),o=e(8270),i=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,s=a&&(!n||n&&c(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:s}},5968:(t,r,e)=>{var n=e(7188),o=Function.prototype,i=o.bind,c=o.call,a=n&&i.bind(c,c);t.exports=n?function(t){return t&&a(t)}:function(t){return t&&function(){return c.apply(t,arguments)}}},1333:(t,r,e)=>{var n=e(9859),o=e(6733);t.exports=function(t,r){return arguments.length<2?(e=n[t],o(e)?e:void 0):n[t]&&n[t][r];var e}},8830:(t,r,e)=>{var n=e(1589),o=e(5300),i=e(5495),c=e(95)("iterator");t.exports=function(t){if(null!=t)return o(t,c)||o(t,"@@iterator")||i[n(t)]}},8403:(t,r,e)=>{var n=e(266),o=e(7111),i=e(1176),c=e(9821),a=e(8830),u=TypeError;t.exports=function(t,r){var e=arguments.length<2?a(t):r;if(o(e))return i(n(e,t));throw u(c(t)+" is not iterable")}},5300:(t,r,e)=>{var n=e(7111);t.exports=function(t,r){var e=t[r];return null==e?void 0:n(e)}},9859:(t,r,e)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||function(){return this}()||Function("return this")()},8270:(t,r,e)=>{var n=e(5968),o=e(2991),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},5977:t=>{t.exports={}},4665:(t,r,e)=>{var n=e(9859);t.exports=function(t,r){var e=n.console;e&&e.error&&(1==arguments.length?e.error(t):e.error(t,r))}},3777:(t,r,e)=>{var n=e(1333);t.exports=n("document","documentElement")},4394:(t,r,e)=>{var n=e(7400),o=e(4229),i=e(2635);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},9337:(t,r,e)=>{var n=e(5968),o=e(4229),i=e(7079),c=Object,a=n("".split);t.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):c(t)}:c},8511:(t,r,e)=>{var n=e(5968),o=e(6733),i=e(5353),c=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},6407:(t,r,e)=>{var n,o,i,c=e(8694),a=e(9859),u=e(5968),s=e(5052),f=e(5762),p=e(8270),l=e(5353),v=e(4399),d=e(5977),h="Object already initialized",y=a.TypeError,m=a.WeakMap;if(c||l.state){var x=l.state||(l.state=new m),g=u(x.get),b=u(x.has),S=u(x.set);n=function(t,r){if(b(x,t))throw new y(h);return r.facade=t,S(x,t,r),r},o=function(t){return g(x,t)||{}},i=function(t){return b(x,t)}}else{var w=v("state");d[w]=!0,n=function(t,r){if(p(t,w))throw new y(h);return r.facade=t,f(t,w,r),r},o=function(t){return p(t,w)?t[w]:{}},i=function(t){return p(t,w)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!s(r)||(e=o(r)).type!==t)throw y("Incompatible receiver, "+t+" required");return e}}}},1943:(t,r,e)=>{var n=e(95),o=e(5495),i=n("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},3718:(t,r,e)=>{var n=e(7079);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6733:t=>{t.exports=function(t){return"function"==typeof t}},2359:(t,r,e)=>{var n=e(5968),o=e(4229),i=e(6733),c=e(1589),a=e(1333),u=e(8511),s=function(){},f=[],p=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,v=n(l.exec),d=!l.exec(s),h=function(t){if(!i(t))return!1;try{return p(s,f,t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!v(l,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!p||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?y:h},6541:(t,r,e)=>{var n=e(4229),o=e(6733),i=/#|\.prototype\./,c=function(t,r){var e=u[a(t)];return e==f||e!=s&&(o(r)?n(r):!!r)},a=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=c.data={},s=c.NATIVE="N",f=c.POLYFILL="P";t.exports=c},5052:(t,r,e)=>{var n=e(6733);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},4231:t=>{t.exports=!1},9395:(t,r,e)=>{var n=e(1333),o=e(6733),i=e(1321),c=e(6969),a=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,a(t))}},9003:(t,r,e)=>{var n=e(7636),o=e(266),i=e(1176),c=e(9821),a=e(1943),u=e(9646),s=e(1321),f=e(8403),p=e(8830),l=e(7281),v=TypeError,d=function(t,r){this.stopped=t,this.result=r},h=d.prototype;t.exports=function(t,r,e){var y,m,x,g,b,S,w,O=e&&e.that,j=!(!e||!e.AS_ENTRIES),E=!(!e||!e.IS_ITERATOR),T=!(!e||!e.INTERRUPTED),A=n(r,O),P=function(t){return y&&l(y,"normal",t),new d(!0,t)},L=function(t){return j?(i(t),T?A(t[0],t[1],P):A(t[0],t[1])):T?A(t,P):A(t)};if(E)y=t;else{if(!(m=p(t)))throw v(c(t)+" is not iterable");if(a(m)){for(x=0,g=u(t);g>x;x++)if((b=L(t[x]))&&s(h,b))return b;return new d(!1)}y=f(t,m)}for(S=y.next;!(w=o(S,y)).done;){try{b=L(w.value)}catch(t){l(y,"throw",t)}if("object"==typeof b&&b&&s(h,b))return b}return new d(!1)}},7281:(t,r,e)=>{var n=e(266),o=e(1176),i=e(5300);t.exports=function(t,r,e){var c,a;o(t);try{if(!(c=i(t,"return"))){if("throw"===r)throw e;return e}c=n(c,t)}catch(t){a=!0,c=t}if("throw"===r)throw e;if(a)throw c;return o(c),e}},693:(t,r,e)=>{"use strict";var n,o,i,c=e(4229),a=e(6733),u=e(2391),s=e(7567),f=e(4768),p=e(95),l=e(4231),v=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(n=o):d=!0),null==n||c((function(){var t={};return n[v].call(t)!==t}))?n={}:l&&(n=u(n)),a(n[v])||f(n,v,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},5495:t=>{t.exports={}},9646:(t,r,e)=>{var n=e(4237);t.exports=function(t){return n(t.length)}},6039:(t,r,e)=>{var n=e(4229),o=e(6733),i=e(8270),c=e(7400),a=e(1805).CONFIGURABLE,u=e(8511),s=e(6407),f=s.enforce,p=s.get,l=Object.defineProperty,v=c&&!n((function(){return 8!==l((function(){}),"length",{value:8}).length})),d=String(String).split("String"),h=t.exports=function(t,r,e){"Symbol("===String(r).slice(0,7)&&(r="["+String(r).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!i(t,"name")||a&&t.name!==r)&&l(t,"name",{value:r,configurable:!0}),v&&e&&i(e,"arity")&&t.length!==e.arity&&l(t,"length",{value:e.arity});try{e&&i(e,"constructor")&&e.constructor?c&&l(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return i(n,"source")||(n.source=d.join("string"==typeof r?r:"")),t};Function.prototype.toString=h((function(){return o(this)&&p(this).source||u(this)}),"toString")},917:t=>{var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},4794:(t,r,e)=>{var n,o,i,c,a,u,s,f,p=e(9859),l=e(7636),v=e(7933).f,d=e(5795).set,h=e(2023),y=e(8983),m=e(263),x=e(8801),g=p.MutationObserver||p.WebKitMutationObserver,b=p.document,S=p.process,w=p.Promise,O=v(p,"queueMicrotask"),j=O&&O.value;j||(n=function(){var t,r;for(x&&(t=S.domain)&&t.exit();o;){r=o.fn,o=o.next;try{r()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},h||x||m||!g||!b?!y&&w&&w.resolve?((s=w.resolve(void 0)).constructor=w,f=l(s.then,s),c=function(){f(n)}):x?c=function(){S.nextTick(n)}:(d=l(d,p),c=function(){d(n)}):(a=!0,u=b.createTextNode(""),new g(n).observe(u,{characterData:!0}),c=function(){u.data=a=!a})),t.exports=j||function(t){var r={fn:t,next:void 0};i&&(i.next=r),o||(o=r,c()),i=r}},3839:(t,r,e)=>{var n=e(6358),o=e(4229);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8694:(t,r,e)=>{var n=e(9859),o=e(6733),i=e(8511),c=n.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},6485:(t,r,e)=>{"use strict";var n=e(7111),o=function(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n})),this.resolve=n(r),this.reject=n(e)};t.exports.f=function(t){return new o(t)}},2391:(t,r,e)=>{var n,o=e(1176),i=e(219),c=e(3837),a=e(5977),u=e(3777),s=e(2635),f=e(4399),p="prototype",l="script",v=f("IE_PROTO"),d=function(){},h=function(t){return"<"+l+">"+t+"</"+l+">"},y=function(t){t.write(h("")),t.close();var r=t.parentWindow.Object;return t=null,r},m=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;m="undefined"!=typeof document?document.domain&&n?y(n):(r=s("iframe"),e="java"+l+":",r.style.display="none",u.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):y(n);for(var o=c.length;o--;)delete m[p][c[o]];return m()};a[v]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(d[p]=o(t),e=new d,d[p]=null,e[v]=t):e=m(),void 0===r?e:i.f(e,r)}},219:(t,r,e)=>{var n=e(7400),o=e(7137),i=e(1787),c=e(1176),a=e(905),u=e(5632);r.f=n&&!o?Object.defineProperties:function(t,r){c(t);for(var e,n=a(r),o=u(r),s=o.length,f=0;s>f;)i.f(t,e=o[f++],n[e]);return t}},1787:(t,r,e)=>{var n=e(7400),o=e(4394),i=e(7137),c=e(1176),a=e(9310),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",v="writable";r.f=n?i?function(t,r,e){if(c(t),r=a(r),c(e),"function"==typeof t&&"prototype"===r&&"value"in e&&v in e&&!e[v]){var n=f(t,r);n&&n[v]&&(t[r]=e.value,e={configurable:l in e?e[l]:n[l],enumerable:p in e?e[p]:n[p],writable:!1})}return s(t,r,e)}:s:function(t,r,e){if(c(t),r=a(r),c(e),o)try{return s(t,r,e)}catch(t){}if("get"in e||"set"in e)throw u("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},7933:(t,r,e)=>{var n=e(7400),o=e(266),i=e(9195),c=e(5358),a=e(905),u=e(9310),s=e(8270),f=e(4394),p=Object.getOwnPropertyDescriptor;r.f=n?p:function(t,r){if(t=a(t),r=u(r),f)try{return p(t,r)}catch(t){}if(s(t,r))return c(!o(i.f,t,r),t[r])}},8151:(t,r,e)=>{var n=e(140),o=e(3837).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},894:(t,r)=>{r.f=Object.getOwnPropertySymbols},7567:(t,r,e)=>{var n=e(8270),o=e(6733),i=e(2991),c=e(4399),a=e(7528),u=c("IE_PROTO"),s=Object,f=s.prototype;t.exports=a?s.getPrototypeOf:function(t){var r=i(t);if(n(r,u))return r[u];var e=r.constructor;return o(e)&&r instanceof e?e.prototype:r instanceof s?f:null}},1321:(t,r,e)=>{var n=e(5968);t.exports=n({}.isPrototypeOf)},140:(t,r,e)=>{var n=e(5968),o=e(8270),i=e(905),c=e(9540).indexOf,a=e(5977),u=n([].push);t.exports=function(t,r){var e,n=i(t),s=0,f=[];for(e in n)!o(a,e)&&o(n,e)&&u(f,e);for(;r.length>s;)o(n,e=r[s++])&&(~c(f,e)||u(f,e));return f}},5632:(t,r,e)=>{var n=e(140),o=e(3837);t.exports=Object.keys||function(t){return n(t,o)}},9195:(t,r)=>{"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},6540:(t,r,e)=>{var n=e(5968),o=e(1176),i=e(8505);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return o(e),i(n),r?t(e,n):e.__proto__=n,e}}():void 0)},4059:(t,r,e)=>{"use strict";var n=e(1601),o=e(1589);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},2914:(t,r,e)=>{var n=e(266),o=e(6733),i=e(5052),c=TypeError;t.exports=function(t,r){var e,a;if("string"===r&&o(e=t.toString)&&!i(a=n(e,t)))return a;if(o(e=t.valueOf)&&!i(a=n(e,t)))return a;if("string"!==r&&o(e=t.toString)&&!i(a=n(e,t)))return a;throw c("Can't convert object to primitive value")}},4826:(t,r,e)=>{var n=e(1333),o=e(5968),i=e(8151),c=e(894),a=e(1176),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(a(t)),e=c.f;return e?u(r,e(t)):r}},4624:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},8321:(t,r,e)=>{var n=e(9859),o=e(4473),i=e(6733),c=e(6541),a=e(8511),u=e(95),s=e(8639),f=e(4231),p=e(6358),l=o&&o.prototype,v=u("species"),d=!1,h=i(n.PromiseRejectionEvent),y=c("Promise",(function(){var t=a(o),r=t!==String(o);if(!r&&66===p)return!0;if(f&&(!l.catch||!l.finally))return!0;if(p>=51&&/native code/.test(t))return!1;var e=new o((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[v]=n,!(d=e.then((function(){}))instanceof n)||!r&&s&&!h}));t.exports={CONSTRUCTOR:y,REJECTION_EVENT:h,SUBCLASSING:d}},4473:(t,r,e)=>{var n=e(9859);t.exports=n.Promise},7757:(t,r,e)=>{var n=e(1176),o=e(5052),i=e(6485);t.exports=function(t,r){if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise}},6866:(t,r,e)=>{var n=e(4473),o=e(4575),i=e(8321).CONSTRUCTOR;t.exports=i||!o((function(t){n.all(t).then(void 0,(function(){}))}))},3358:t=>{var r=function(){this.head=null,this.tail=null};r.prototype={add:function(t){var r={item:t,next:null};this.head?this.tail.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=r},8885:t=>{var r=TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},1832:(t,r,e)=>{"use strict";var n=e(1333),o=e(1787),i=e(95),c=e(7400),a=i("species");t.exports=function(t){var r=n(t),e=o.f;c&&r&&!r[a]&&e(r,a,{configurable:!0,get:function(){return this}})}},4555:(t,r,e)=>{var n=e(1787).f,o=e(8270),i=e(95)("toStringTag");t.exports=function(t,r,e){t&&!e&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:r})}},4399:(t,r,e)=>{var n=e(3036),o=e(1441),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5353:(t,r,e)=>{var n=e(9859),o=e(8400),i="__core-js_shared__",c=n[i]||o(i,{});t.exports=c},3036:(t,r,e)=>{var n=e(4231),o=e(5353);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.22.8",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})},7942:(t,r,e)=>{var n=e(1176),o=e(7988),i=e(95)("species");t.exports=function(t,r){var e,c=n(t).constructor;return void 0===c||null==(e=n(c)[i])?r:o(e)}},966:(t,r,e)=>{var n=e(5968),o=e(3329),i=e(3326),c=e(8885),a=n("".charAt),u=n("".charCodeAt),s=n("".slice),f=function(t){return function(r,e){var n,f,p=i(c(r)),l=o(e),v=p.length;return l<0||l>=v?t?"":void 0:(n=u(p,l))<55296||n>56319||l+1===v||(f=u(p,l+1))<56320||f>57343?t?a(p,l):n:t?s(p,l,l+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},5795:(t,r,e)=>{var n,o,i,c,a=e(9859),u=e(3171),s=e(7636),f=e(6733),p=e(8270),l=e(4229),v=e(3777),d=e(1909),h=e(2635),y=e(7579),m=e(2023),x=e(8801),g=a.setImmediate,b=a.clearImmediate,S=a.process,w=a.Dispatch,O=a.Function,j=a.MessageChannel,E=a.String,T=0,A={},P="onreadystatechange";try{n=a.location}catch(t){}var L=function(t){if(p(A,t)){var r=A[t];delete A[t],r()}},C=function(t){return function(){L(t)}},R=function(t){L(t.data)},I=function(t){a.postMessage(E(t),n.protocol+"//"+n.host)};g&&b||(g=function(t){y(arguments.length,1);var r=f(t)?t:O(t),e=d(arguments,1);return A[++T]=function(){u(r,void 0,e)},o(T),T},b=function(t){delete A[t]},x?o=function(t){S.nextTick(C(t))}:w&&w.now?o=function(t){w.now(C(t))}:j&&!m?(c=(i=new j).port2,i.port1.onmessage=R,o=s(c.postMessage,c)):a.addEventListener&&f(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!l(I)?(o=I,a.addEventListener("message",R,!1)):o=P in h("script")?function(t){v.appendChild(h("script"))[P]=function(){v.removeChild(this),L(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:g,clear:b}},3231:(t,r,e)=>{var n=e(3329),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},905:(t,r,e)=>{var n=e(9337),o=e(8885);t.exports=function(t){return n(o(t))}},3329:(t,r,e)=>{var n=e(917);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},4237:(t,r,e)=>{var n=e(3329),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},2991:(t,r,e)=>{var n=e(8885),o=Object;t.exports=function(t){return o(n(t))}},2066:(t,r,e)=>{var n=e(266),o=e(5052),i=e(9395),c=e(5300),a=e(2914),u=e(95),s=TypeError,f=u("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,u=c(t,f);if(u){if(void 0===r&&(r="default"),e=n(u,t,r),!o(e)||i(e))return e;throw s("Can't convert object to primitive value")}return void 0===r&&(r="number"),a(t,r)}},9310:(t,r,e)=>{var n=e(2066),o=e(9395);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},1601:(t,r,e)=>{var n={};n[e(95)("toStringTag")]="z",t.exports="[object z]"===String(n)},3326:(t,r,e)=>{var n=e(1589),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},9821:t=>{var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},1441:(t,r,e)=>{var n=e(5968),o=0,i=Math.random(),c=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},6969:(t,r,e)=>{var n=e(3839);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7137:(t,r,e)=>{var n=e(7400),o=e(4229);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},7579:t=>{var r=TypeError;t.exports=function(t,e){if(t<e)throw r("Not enough arguments");return t}},95:(t,r,e)=>{var n=e(9859),o=e(3036),i=e(8270),c=e(1441),a=e(3839),u=e(6969),s=o("wks"),f=n.Symbol,p=f&&f.for,l=u?f:f&&f.withoutSetter||c;t.exports=function(t){if(!i(s,t)||!a&&"string"!=typeof s[t]){var r="Symbol."+t;a&&i(f,t)?s[t]=f[t]:s[t]=u&&p?p(r):l(r)}return s[t]}},7233:(t,r,e)=>{var n=e(3103),o=e(507);n({target:"Array",stat:!0,forced:!e(4575)((function(t){Array.from(t)}))},{from:o})},3450:(t,r,e)=>{"use strict";var n=e(3103),o=e(9996).map;n({target:"Array",proto:!0,forced:!e(1460)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},2501:(t,r,e)=>{"use strict";var n=e(3103),o=e(3718),i=e(2359),c=e(5052),a=e(3231),u=e(9646),s=e(905),f=e(2324),p=e(95),l=e(1460),v=e(1909),d=l("slice"),h=p("species"),y=Array,m=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(t,r){var e,n,p,l=s(this),d=u(l),x=a(t,d),g=a(void 0===r?d:r,d);if(o(l)&&(e=l.constructor,(i(e)&&(e===y||o(e.prototype))||c(e)&&null===(e=e[h]))&&(e=void 0),e===y||void 0===e))return v(l,x,g);for(n=new(void 0===e?y:e)(m(g-x,0)),p=0;x<g;x++,p++)x in l&&f(n,p,l[x]);return n.length=p,n}})},8188:(t,r,e)=>{var n=e(1601),o=e(4768),i=e(4059);n||o(Object.prototype,"toString",i,{unsafe:!0})},6032:(t,r,e)=>{"use strict";var n=e(3103),o=e(266),i=e(7111),c=e(6485),a=e(4624),u=e(9003);n({target:"Promise",stat:!0,forced:e(6866)},{all:function(t){var r=this,e=c.f(r),n=e.resolve,s=e.reject,f=a((function(){var e=i(r.resolve),c=[],a=0,f=1;u(t,(function(t){var i=a++,u=!1;f++,o(e,r,t).then((function(t){u||(u=!0,c[i]=t,--f||n(c))}),s)})),--f||n(c)}));return f.error&&s(f.value),e.promise}})},6135:(t,r,e)=>{"use strict";var n=e(3103),o=e(4231),i=e(8321).CONSTRUCTOR,c=e(4473),a=e(1333),u=e(6733),s=e(4768),f=c&&c.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&u(c)){var p=a("Promise").prototype.catch;f.catch!==p&&s(f,"catch",p,{unsafe:!0})}},6087:(t,r,e)=>{"use strict";var n,o,i,c=e(3103),a=e(4231),u=e(8801),s=e(9859),f=e(266),p=e(4768),l=e(6540),v=e(4555),d=e(1832),h=e(7111),y=e(6733),m=e(5052),x=e(7728),g=e(7942),b=e(5795).set,S=e(4794),w=e(4665),O=e(4624),j=e(3358),E=e(6407),T=e(4473),A=e(8321),P=e(6485),L="Promise",C=A.CONSTRUCTOR,R=A.REJECTION_EVENT,I=A.SUBCLASSING,M=E.getterFor(L),N=E.set,_=T&&T.prototype,k=T,F=_,q=s.TypeError,D=s.document,G=s.process,U=P.f,B=U,V=!!(D&&D.createEvent&&s.dispatchEvent),z="unhandledrejection",H=function(t){var r;return!(!m(t)||!y(r=t.then))&&r},W=function(t,r){var e,n,o,i=r.value,c=1==r.state,a=c?t.ok:t.fail,u=t.resolve,s=t.reject,p=t.domain;try{a?(c||(2===r.rejection&&$(r),r.rejection=1),!0===a?e=i:(p&&p.enter(),e=a(i),p&&(p.exit(),o=!0)),e===t.promise?s(q("Promise-chain cycle")):(n=H(e))?f(n,e,u,s):u(e)):s(i)}catch(t){p&&!o&&p.exit(),s(t)}},Y=function(t,r){t.notified||(t.notified=!0,S((function(){for(var e,n=t.reactions;e=n.get();)W(e,t);t.notified=!1,r&&!t.rejection&&K(t)})))},J=function(t,r,e){var n,o;V?((n=D.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:r,reason:e},!R&&(o=s["on"+t])?o(n):t===z&&w("Unhandled promise rejection",e)},K=function(t){f(b,s,(function(){var r,e=t.facade,n=t.value;if(X(t)&&(r=O((function(){u?G.emit("unhandledRejection",n,e):J(z,e,n)})),t.rejection=u||X(t)?2:1,r.error))throw r.value}))},X=function(t){return 1!==t.rejection&&!t.parent},$=function(t){f(b,s,(function(){var r=t.facade;u?G.emit("rejectionHandled",r):J("rejectionhandled",r,t.value)}))},Q=function(t,r,e){return function(n){t(r,n,e)}},Z=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,Y(t,!0))},tt=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw q("Promise can't be resolved itself");var n=H(r);n?S((function(){var e={done:!1};try{f(n,r,Q(tt,e,t),Q(Z,e,t))}catch(r){Z(e,r,t)}})):(t.value=r,t.state=1,Y(t,!1))}catch(r){Z({done:!1},r,t)}}};if(C&&(F=(k=function(t){x(this,F),h(t),f(n,this);var r=M(this);try{t(Q(tt,r),Q(Z,r))}catch(t){Z(r,t)}}).prototype,(n=function(t){N(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new j,rejection:!1,state:0,value:void 0})}).prototype=p(F,"then",(function(t,r){var e=M(this),n=U(g(this,k));return e.parent=!0,n.ok=!y(t)||t,n.fail=y(r)&&r,n.domain=u?G.domain:void 0,0==e.state?e.reactions.add(n):S((function(){W(n,e)})),n.promise})),o=function(){var t=new n,r=M(t);this.promise=t,this.resolve=Q(tt,r),this.reject=Q(Z,r)},P.f=U=function(t){return t===k||void 0===t?new o(t):B(t)},!a&&y(T)&&_!==Object.prototype)){i=_.then,I||p(_,"then",(function(t,r){var e=this;return new k((function(t,r){f(i,e,t,r)})).then(t,r)}),{unsafe:!0});try{delete _.constructor}catch(t){}l&&l(_,F)}c({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:k}),v(k,L,!1,!0),d(L)},3439:(t,r,e)=>{e(6087),e(6032),e(6135),e(6767),e(9320),e(2047)},6767:(t,r,e)=>{"use strict";var n=e(3103),o=e(266),i=e(7111),c=e(6485),a=e(4624),u=e(9003);n({target:"Promise",stat:!0,forced:e(6866)},{race:function(t){var r=this,e=c.f(r),n=e.reject,s=a((function(){var c=i(r.resolve);u(t,(function(t){o(c,r,t).then(e.resolve,n)}))}));return s.error&&n(s.value),e.promise}})},9320:(t,r,e)=>{"use strict";var n=e(3103),o=e(266),i=e(6485);n({target:"Promise",stat:!0,forced:e(8321).CONSTRUCTOR},{reject:function(t){var r=i.f(this);return o(r.reject,void 0,t),r.promise}})},2047:(t,r,e)=>{"use strict";var n=e(3103),o=e(1333),i=e(4231),c=e(4473),a=e(8321).CONSTRUCTOR,u=e(7757),s=o("Promise"),f=i&&!a;n({target:"Promise",stat:!0,forced:i||a},{resolve:function(t){return u(f&&this===s?c:this,t)}})},8673:(t,r,e)=>{"use strict";var n=e(966).charAt,o=e(3326),i=e(6407),c=e(7675),a="String Iterator",u=i.set,s=i.getterFor(a);c(String,"String",(function(t){u(this,{type:a,string:o(t),index:0})}),(function(){var t,r=s(this),e=r.string,o=r.index;return o>=e.length?{value:void 0,done:!0}:(t=n(e,o),r.index+=t.length,{value:t,done:!1})}))},1939:(t,r,e)=>{var n=e(9859),o=e(5694),i=e(8865),c=e(6570),a=e(5762),u=function(t){if(t&&t.forEach!==c)try{a(t,"forEach",c)}catch(r){t.forEach=c}};for(var s in o)o[s]&&u(n[s]&&n[s].prototype);u(i)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.exports}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),(()=>{"use strict";e(7233),e(8673),e(1939);const t=function(t){t.classList.remove("mds-switch-state--default"),t.classList.add("mds-switch-state--inverse")},r=function(t){t.classList.remove("mds-switch-state--inverse"),t.classList.add("mds-switch-state--default")},n=function(){Array.from(document.querySelectorAll(".js-mds-switch-state")).forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var n=e.currentTarget;n.classList.contains("mds-switch-state--default")?t(n):(n.classList.contains("mds-switch-state--inverse"),r(n))}))}))};var o="mds-notification",i={init:function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3,n=document.body;i.hide(n);var c=document.createElement("div");c.setAttribute("role","alert"),c.classList.add(o,"mds-message","mds-message--".concat(r)),c.innerText=t,i.show(n,c),setTimeout(i.hide,e,n)},show:function(t,r){t.appendChild(r)},hide:function(t){Array.from(t.querySelectorAll(".".concat(o))).forEach((function(t){t.parentNode.removeChild(t)}))}};const c=i,a=function(){Array.from(document.querySelectorAll(".js-notification-example")).forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation();var r=t.currentTarget,e=r.innerText,n=r.dataset.messageType;c.init(e,n)}))}))};function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}e(3450),e(2501),e(8188),e(3439);var s="mds-combobox";const f=function(){var t,r;!function(){var t=document.querySelector('[data-combobox-id="distance-selection"]');if(t){var r=t.querySelector("select"),e=Array.from(r.querySelectorAll("option"));t.querySelector(s).options=e.slice(1).map((function(t){return{value:t.value,label:t.textContent}}))}}(),function(){var t=document.querySelector('[data-combobox-id="salary-selection"]');if(t){var r=t.querySelector("select"),e=Array.from(r.querySelectorAll("option"));t.querySelector(s).options=e.slice(1).map((function(t){return{value:t.value,label:t.textContent}}))}}(),t=document.querySelector('[data-combobox-id="salary-selection"] mds-combobox'),r=document.querySelector("#salary-selection-hidden-input"),t&&r&&t.addEventListener("select-option",(function(){console.log("Setting #salary-selection-hidden-input.."),r.value="flip"===r.value?"flop":"flip"})),function(){var t=document.querySelector('[data-combobox-id="salary-selection"] mds-combobox'),r=document.querySelector("#salary-selection-hidden-input");t&&r&&t.addEventListener("clear-all",(function(){console.log("Clearing #salary-selection-hidden-input.."),r.value=""}))}(),function(){var t=document.querySelector('[data-combobox-id="keywords-lookup"]');if(t){var r=t.querySelector(s);r.filterOptions=!1,r.addEventListener("search",(function(t){var e,n,o=(e=t.detail,n=1,function(t){if(Array.isArray(t))return t}(e)||function(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,i=[],c=!0,a=!1;try{for(e=e.call(t);!(c=(n=e.next()).done)&&(i.push(n.value),!r||i.length!==r);c=!0);}catch(t){a=!0,o=t}finally{try{c||null==e.return||e.return()}finally{if(a)throw o}}return i}}(e,n)||function(t,r){if(t){if("string"==typeof t)return u(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(t,r):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];o&&o.length>2?fetch("https://api.datamuse.com/sug?s=".concat(o)).then((function(t){return t.json()})).then((function(t){var e=t.map((function(t){var r=t.word;return{value:r,label:r}}));return r.options=e,e})).catch(console.log):r.options=[]}))}}()};document.addEventListener("DOMContentLoaded",(function(){n(),a(),setTimeout((function(){f()}),1e3)}))})()})();
1
+ (()=>{"use strict";const e=e=>{e.classList.remove("mds-switch-state--default"),e.classList.add("mds-switch-state--inverse")},t=e=>{e.classList.remove("mds-switch-state--inverse"),e.classList.add("mds-switch-state--default")},o=()=>{Array.from(document.querySelectorAll(".js-mds-switch-state")).forEach((o=>{o.addEventListener("click",(o=>{o.preventDefault(),o.stopPropagation();const s=o.currentTarget;s.classList.contains("mds-switch-state--default")?e(s):(s.classList.contains("mds-switch-state--inverse"),t(s))}))}))},s="mds-notification",n={init:function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3;const{body:c}=document;n.hide(c);const a=document.createElement("div");a.setAttribute("role","alert"),a.classList.add(s,"mds-message",`mds-message--${t}`),a.innerText=e,n.show(c,a),setTimeout(n.hide,o,c)},show:(e,t)=>{e.appendChild(t)},hide:e=>{Array.from(e.querySelectorAll(`.${s}`)).forEach((e=>{e.parentNode.removeChild(e)}))}},c=n,a=()=>{Array.from(document.querySelectorAll(".js-notification-example")).forEach((e=>{e.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation();const t=e.currentTarget,o=t.innerText,{messageType:s}=t.dataset;c.init(o,s)}))}))},l="mds-combobox",i=()=>{!function(){const e=document.querySelector('[data-combobox-id="distance-selection"]');if(e){const t=e.querySelector("select"),o=Array.from(t.querySelectorAll("option"));e.querySelector(l).options=o.slice(1).map((e=>({value:e.value,label:e.textContent})))}}(),function(){const e=document.querySelector('[data-combobox-id="salary-selection"]');if(e){const t=e.querySelector("select"),o=Array.from(t.querySelectorAll("option"));e.querySelector(l).options=o.slice(1).map((e=>({value:e.value,label:e.textContent})))}}(),function(){const e=document.querySelector('[data-combobox-id="salary-selection"] mds-combobox'),t=document.querySelector("#salary-selection-hidden-input");e&&t&&e.addEventListener("select-option",(()=>{console.log("Setting #salary-selection-hidden-input.."),t.value="flip"===t.value?"flop":"flip"}))}(),function(){const e=document.querySelector('[data-combobox-id="salary-selection"] mds-combobox'),t=document.querySelector("#salary-selection-hidden-input");e&&t&&e.addEventListener("clear-all",(()=>{console.log("Clearing #salary-selection-hidden-input.."),t.value=""}))}(),function(){const e=document.querySelector('[data-combobox-id="keywords-lookup"]');if(e){const t=e.querySelector(l);t.filterOptions=!1,t.addEventListener("search",(e=>{const[o]=e.detail;o&&o.length>2?fetch(`https://api.datamuse.com/sug?s=${o}`).then((e=>e.json())).then((e=>{const o=e.map((e=>{let{word:t}=e;return{value:t,label:t}}));return t.options=o,o})).catch(console.log):t.options=[]}))}}()};document.addEventListener("DOMContentLoaded",(()=>{o(),a(),setTimeout((()=>{i()}),1e3)}))})();
package/dist/js/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- (()=>{var t={3616:()=>{Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null})},7516:()=>{"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})},2702:(t,e,r)=>{r.p=window.mdgx&&window.mdgx.baseUrl?window.mdgx.baseUrl:"/"},7111:(t,e,r)=>{var n=r(6733),o=r(9821),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not a function")}},8505:(t,e,r)=>{var n=r(6733),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},9736:(t,e,r)=>{var n=r(95),o=r(2391),i=r(1787).f,a=n("unscopables"),c=Array.prototype;null==c[a]&&i(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},6637:(t,e,r)=>{"use strict";var n=r(966).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},1176:(t,e,r)=>{var n=r(5052),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(o(t)+" is not an object")}},6570:(t,e,r)=>{"use strict";var n=r(9996).forEach,o=r(6038)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},507:(t,e,r)=>{"use strict";var n=r(7636),o=r(266),i=r(2991),a=r(4960),c=r(1943),s=r(2359),u=r(9646),l=r(2324),f=r(8403),d=r(8830),p=Array;t.exports=function(t){var e=i(t),r=s(this),v=arguments.length,m=v>1?arguments[1]:void 0,h=void 0!==m;h&&(m=n(m,v>2?arguments[2]:void 0));var b,g,y,x,w,E,A=d(e),O=0;if(!A||this===p&&c(A))for(b=u(e),g=r?new this(b):p(b);b>O;O++)E=h?m(e[O],O):e[O],l(g,O,E);else for(w=(x=f(e,A)).next,g=r?new this:[];!(y=o(w,x)).done;O++)E=h?a(x,m,[y.value,O],!0):y.value,l(g,O,E);return g.length=O,g}},9540:(t,e,r)=>{var n=r(905),o=r(3231),i=r(9646),a=function(t){return function(e,r,a){var c,s=n(e),u=i(s),l=o(a,u);if(t&&r!=r){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9996:(t,e,r)=>{var n=r(7636),o=r(5968),i=r(9337),a=r(2991),c=r(9646),s=r(7501),u=o([].push),l=function(t){var e=1==t,r=2==t,o=3==t,l=4==t,f=6==t,d=7==t,p=5==t||f;return function(v,m,h,b){for(var g,y,x=a(v),w=i(x),E=n(m,h),A=c(w),O=0,S=b||s,L=e?S(v,A):r||d?S(v,0):void 0;A>O;O++)if((p||O in w)&&(y=E(g=w[O],O,x),t))if(e)L[O]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u(L,g)}else switch(t){case 4:return!1;case 7:u(L,g)}return f?-1:o||l?l:L}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},1460:(t,e,r)=>{var n=r(4229),o=r(95),i=r(6358),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},6038:(t,e,r)=>{"use strict";var n=r(4229);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},1909:(t,e,r)=>{var n=r(5968);t.exports=n([].slice)},8760:(t,e,r)=>{var n=r(3718),o=r(2359),i=r(5052),a=r(95)("species"),c=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===c||n(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?c:e}},7501:(t,e,r)=>{var n=r(8760);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},4960:(t,e,r)=>{var n=r(1176),o=r(7281);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){o(t,"throw",e)}}},4575:(t,e,r)=>{var n=r(95)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},7079:(t,e,r)=>{var n=r(5968),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},1589:(t,e,r)=>{var n=r(1601),o=r(6733),i=r(7079),a=r(95)("toStringTag"),c=Object,s="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=c(t),a))?r:s?i(e):"Object"==(n=i(e))&&o(e.callee)?"Arguments":n}},7081:(t,e,r)=>{var n=r(8270),o=r(4826),i=r(7933),a=r(1787);t.exports=function(t,e,r){for(var c=o(e),s=a.f,u=i.f,l=0;l<c.length;l++){var f=c[l];n(t,f)||r&&n(r,f)||s(t,f,u(e,f))}}},7528:(t,e,r)=>{var n=r(4229);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},3723:(t,e,r)=>{"use strict";var n=r(693).IteratorPrototype,o=r(2391),i=r(5358),a=r(4555),c=r(5495),s=function(){return this};t.exports=function(t,e,r,u){var l=e+" Iterator";return t.prototype=o(n,{next:i(+!u,r)}),a(t,l,!1,!0),c[l]=s,t}},5762:(t,e,r)=>{var n=r(7400),o=r(1787),i=r(5358);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},5358:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2324:(t,e,r)=>{"use strict";var n=r(9310),o=r(1787),i=r(5358);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},4768:(t,e,r)=>{var n=r(6733),o=r(5762),i=r(6039),a=r(8400);t.exports=function(t,e,r,c){c||(c={});var s=c.enumerable,u=void 0!==c.name?c.name:e;return n(r)&&i(r,u,c),c.global?s?t[e]=r:a(e,r):(c.unsafe?t[e]&&(s=!0):delete t[e],s?t[e]=r:o(t,e,r)),t}},8400:(t,e,r)=>{var n=r(9859),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},7675:(t,e,r)=>{"use strict";var n=r(3103),o=r(266),i=r(4231),a=r(1805),c=r(6733),s=r(3723),u=r(7567),l=r(6540),f=r(4555),d=r(5762),p=r(4768),v=r(95),m=r(5495),h=r(693),b=a.PROPER,g=a.CONFIGURABLE,y=h.IteratorPrototype,x=h.BUGGY_SAFARI_ITERATORS,w=v("iterator"),E="keys",A="values",O="entries",S=function(){return this};t.exports=function(t,e,r,a,v,h,L){s(r,e,a);var j,T,P,k=function(t){if(t===v&&D)return D;if(!x&&t in M)return M[t];switch(t){case E:case A:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},I=e+" Iterator",C=!1,M=t.prototype,R=M[w]||M["@@iterator"]||v&&M[v],D=!x&&R||k(v),q="Array"==e&&M.entries||R;if(q&&(j=u(q.call(new t)))!==Object.prototype&&j.next&&(i||u(j)===y||(l?l(j,y):c(j[w])||p(j,w,S)),f(j,I,!0,!0),i&&(m[I]=S)),b&&v==A&&R&&R.name!==A&&(!i&&g?d(M,"name",A):(C=!0,D=function(){return o(R,this)})),v)if(T={values:k(A),keys:h?D:k(E),entries:k(O)},L)for(P in T)(x||C||!(P in M))&&p(M,P,T[P]);else n({target:e,proto:!0,forced:x||C},T);return i&&!L||M[w]===D||p(M,w,D,{name:v}),m[e]=D,T}},7400:(t,e,r)=>{var n=r(4229);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2635:(t,e,r)=>{var n=r(9859),o=r(5052),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},3064:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},5694:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8865:(t,e,r)=>{var n=r(2635)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},598:(t,e,r)=>{var n=r(1333);t.exports=n("navigator","userAgent")||""},6358:(t,e,r)=>{var n,o,i=r(9859),a=r(598),c=i.process,s=i.Deno,u=c&&c.versions||s&&s.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},3837:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3103:(t,e,r)=>{var n=r(9859),o=r(7933).f,i=r(5762),a=r(4768),c=r(8400),s=r(7081),u=r(6541);t.exports=function(t,e){var r,l,f,d,p,v=t.target,m=t.global,h=t.stat;if(r=m?n:h?n[v]||c(v,{}):(n[v]||{}).prototype)for(l in e){if(d=e[l],f=t.dontCallGetSet?(p=o(r,l))&&p.value:r[l],!u(m?l:v+(h?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;s(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),a(r,l,d,t)}}},4229:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},4954:(t,e,r)=>{"use strict";r(7950);var n=r(5968),o=r(4768),i=r(3466),a=r(4229),c=r(95),s=r(5762),u=c("species"),l=RegExp.prototype;t.exports=function(t,e,r,f){var d=c(t),p=!a((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),v=p&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!p||!v||r){var m=n(/./[d]),h=e(d,""[t],(function(t,e,r,o,a){var c=n(t),s=e.exec;return s===i||s===l.exec?p&&!a?{done:!0,value:m(e,r,o)}:{done:!0,value:c(r,e,o)}:{done:!1}}));o(String.prototype,t,h[0]),o(l,d,h[1])}f&&s(l[d],"sham",!0)}},3171:(t,e,r)=>{var n=r(7188),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},7636:(t,e,r)=>{var n=r(5968),o=r(7111),i=r(7188),a=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},7188:(t,e,r)=>{var n=r(4229);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},266:(t,e,r)=>{var n=r(7188),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},1805:(t,e,r)=>{var n=r(7400),o=r(8270),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},5968:(t,e,r)=>{var n=r(7188),o=Function.prototype,i=o.bind,a=o.call,c=n&&i.bind(a,a);t.exports=n?function(t){return t&&c(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},1333:(t,e,r)=>{var n=r(9859),o=r(6733);t.exports=function(t,e){return arguments.length<2?(r=n[t],o(r)?r:void 0):n[t]&&n[t][e];var r}},8830:(t,e,r)=>{var n=r(1589),o=r(5300),i=r(5495),a=r(95)("iterator");t.exports=function(t){if(null!=t)return o(t,a)||o(t,"@@iterator")||i[n(t)]}},8403:(t,e,r)=>{var n=r(266),o=r(7111),i=r(1176),a=r(9821),c=r(8830),s=TypeError;t.exports=function(t,e){var r=arguments.length<2?c(t):e;if(o(r))return i(n(r,t));throw s(a(t)+" is not iterable")}},5300:(t,e,r)=>{var n=r(7111);t.exports=function(t,e){var r=t[e];return null==r?void 0:n(r)}},17:(t,e,r)=>{var n=r(5968),o=r(2991),i=Math.floor,a=n("".charAt),c=n("".replace),s=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var p=r+t.length,v=n.length,m=l;return void 0!==f&&(f=o(f),m=u),c(d,m,(function(o,c){var u;switch(a(c,0)){case"$":return"$";case"&":return t;case"`":return s(e,0,r);case"'":return s(e,p);case"<":u=f[s(c,1,-1)];break;default:var l=+c;if(0===l)return o;if(l>v){var d=i(l/10);return 0===d?o:d<=v?void 0===n[d-1]?a(c,1):n[d-1]+a(c,1):o}u=n[l-1]}return void 0===u?"":u}))}},9859:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},8270:(t,e,r)=>{var n=r(5968),o=r(2991),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},5977:t=>{t.exports={}},3777:(t,e,r)=>{var n=r(1333);t.exports=n("document","documentElement")},4394:(t,e,r)=>{var n=r(7400),o=r(4229),i=r(2635);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},9337:(t,e,r)=>{var n=r(5968),o=r(4229),i=r(7079),a=Object,c=n("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?c(t,""):a(t)}:a},8511:(t,e,r)=>{var n=r(5968),o=r(6733),i=r(5353),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},6407:(t,e,r)=>{var n,o,i,a=r(8694),c=r(9859),s=r(5968),u=r(5052),l=r(5762),f=r(8270),d=r(5353),p=r(4399),v=r(5977),m="Object already initialized",h=c.TypeError,b=c.WeakMap;if(a||d.state){var g=d.state||(d.state=new b),y=s(g.get),x=s(g.has),w=s(g.set);n=function(t,e){if(x(g,t))throw new h(m);return e.facade=t,w(g,t,e),e},o=function(t){return y(g,t)||{}},i=function(t){return x(g,t)}}else{var E=p("state");v[E]=!0,n=function(t,e){if(f(t,E))throw new h(m);return e.facade=t,l(t,E,e),e},o=function(t){return f(t,E)?t[E]:{}},i=function(t){return f(t,E)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw h("Incompatible receiver, "+t+" required");return r}}}},1943:(t,e,r)=>{var n=r(95),o=r(5495),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3718:(t,e,r)=>{var n=r(7079);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6733:t=>{t.exports=function(t){return"function"==typeof t}},2359:(t,e,r)=>{var n=r(5968),o=r(4229),i=r(6733),a=r(1589),c=r(1333),s=r(8511),u=function(){},l=[],f=c("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),v=!d.exec(u),m=function(t){if(!i(t))return!1;try{return f(u,l,t),!0}catch(t){return!1}},h=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!p(d,s(t))}catch(t){return!0}};h.sham=!0,t.exports=!f||o((function(){var t;return m(m.call)||!m(Object)||!m((function(){t=!0}))||t}))?h:m},6541:(t,e,r)=>{var n=r(4229),o=r(6733),i=/#|\.prototype\./,a=function(t,e){var r=s[c(t)];return r==l||r!=u&&(o(e)?n(e):!!e)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},5052:(t,e,r)=>{var n=r(6733);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},4231:t=>{t.exports=!1},9395:(t,e,r)=>{var n=r(1333),o=r(6733),i=r(1321),a=r(6969),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,c(t))}},7281:(t,e,r)=>{var n=r(266),o=r(1176),i=r(5300);t.exports=function(t,e,r){var a,c;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){c=!0,a=t}if("throw"===e)throw r;if(c)throw a;return o(a),r}},693:(t,e,r)=>{"use strict";var n,o,i,a=r(4229),c=r(6733),s=r(2391),u=r(7567),l=r(4768),f=r(95),d=r(4231),p=f("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):v=!0),null==n||a((function(){var t={};return n[p].call(t)!==t}))?n={}:d&&(n=s(n)),c(n[p])||l(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},5495:t=>{t.exports={}},9646:(t,e,r)=>{var n=r(4237);t.exports=function(t){return n(t.length)}},6039:(t,e,r)=>{var n=r(4229),o=r(6733),i=r(8270),a=r(7400),c=r(1805).CONFIGURABLE,s=r(8511),u=r(6407),l=u.enforce,f=u.get,d=Object.defineProperty,p=a&&!n((function(){return 8!==d((function(){}),"length",{value:8}).length})),v=String(String).split("String"),m=t.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!i(t,"name")||c&&t.name!==e)&&d(t,"name",{value:e,configurable:!0}),p&&r&&i(r,"arity")&&t.length!==r.arity&&d(t,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return i(n,"source")||(n.source=v.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return o(this)&&f(this).source||s(this)}),"toString")},917:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},3839:(t,e,r)=>{var n=r(6358),o=r(4229);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8694:(t,e,r)=>{var n=r(9859),o=r(6733),i=r(8511),a=n.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},47:(t,e,r)=>{"use strict";var n=r(7400),o=r(5968),i=r(266),a=r(4229),c=r(5632),s=r(894),u=r(9195),l=r(2991),f=r(9337),d=Object.assign,p=Object.defineProperty,v=o([].concat);t.exports=!d||a((function(){if(n&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!=d({},t)[r]||c(d({},e)).join("")!=o}))?function(t,e){for(var r=l(t),o=arguments.length,a=1,d=s.f,p=u.f;o>a;)for(var m,h=f(arguments[a++]),b=d?v(c(h),d(h)):c(h),g=b.length,y=0;g>y;)m=b[y++],n&&!i(p,h,m)||(r[m]=h[m]);return r}:d},2391:(t,e,r)=>{var n,o=r(1176),i=r(219),a=r(3837),c=r(5977),s=r(3777),u=r(2635),l=r(4399),f="prototype",d="script",p=l("IE_PROTO"),v=function(){},m=function(t){return"<"+d+">"+t+"</"+d+">"},h=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;b="undefined"!=typeof document?document.domain&&n?h(n):(e=u("iframe"),r="java"+d+":",e.style.display="none",s.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(m("document.F=Object")),t.close(),t.F):h(n);for(var o=a.length;o--;)delete b[f][a[o]];return b()};c[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(v[f]=o(t),r=new v,v[f]=null,r[p]=t):r=b(),void 0===e?r:i.f(r,e)}},219:(t,e,r)=>{var n=r(7400),o=r(7137),i=r(1787),a=r(1176),c=r(905),s=r(5632);e.f=n&&!o?Object.defineProperties:function(t,e){a(t);for(var r,n=c(e),o=s(e),u=o.length,l=0;u>l;)i.f(t,r=o[l++],n[r]);return t}},1787:(t,e,r)=>{var n=r(7400),o=r(4394),i=r(7137),a=r(1176),c=r(9310),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=n?i?function(t,e,r){if(a(t),e=c(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=l(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(a(t),e=c(e),a(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},7933:(t,e,r)=>{var n=r(7400),o=r(266),i=r(9195),a=r(5358),c=r(905),s=r(9310),u=r(8270),l=r(4394),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=s(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},8151:(t,e,r)=>{var n=r(140),o=r(3837).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},894:(t,e)=>{e.f=Object.getOwnPropertySymbols},7567:(t,e,r)=>{var n=r(8270),o=r(6733),i=r(2991),a=r(4399),c=r(7528),s=a("IE_PROTO"),u=Object,l=u.prototype;t.exports=c?u.getPrototypeOf:function(t){var e=i(t);if(n(e,s))return e[s];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof u?l:null}},1321:(t,e,r)=>{var n=r(5968);t.exports=n({}.isPrototypeOf)},140:(t,e,r)=>{var n=r(5968),o=r(8270),i=r(905),a=r(9540).indexOf,c=r(5977),s=n([].push);t.exports=function(t,e){var r,n=i(t),u=0,l=[];for(r in n)!o(c,r)&&o(n,r)&&s(l,r);for(;e.length>u;)o(n,r=e[u++])&&(~a(l,r)||s(l,r));return l}},5632:(t,e,r)=>{var n=r(140),o=r(3837);t.exports=Object.keys||function(t){return n(t,o)}},9195:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},6540:(t,e,r)=>{var n=r(5968),o=r(1176),i=r(8505);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),i(n),e?t(r,n):r.__proto__=n,r}}():void 0)},2914:(t,e,r)=>{var n=r(266),o=r(6733),i=r(5052),a=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&o(r=t.toString)&&!i(c=n(r,t)))return c;if(o(r=t.valueOf)&&!i(c=n(r,t)))return c;if("string"!==e&&o(r=t.toString)&&!i(c=n(r,t)))return c;throw a("Can't convert object to primitive value")}},4826:(t,e,r)=>{var n=r(1333),o=r(5968),i=r(8151),a=r(894),c=r(1176),s=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(c(t)),r=a.f;return r?s(e,r(t)):e}},8115:(t,e,r)=>{var n=r(266),o=r(1176),i=r(6733),a=r(7079),c=r(3466),s=TypeError;t.exports=function(t,e){var r=t.exec;if(i(r)){var u=n(r,t,e);return null!==u&&o(u),u}if("RegExp"===a(t))return n(c,t,e);throw s("RegExp#exec called on incompatible receiver")}},3466:(t,e,r)=>{"use strict";var n,o,i=r(266),a=r(5968),c=r(3326),s=r(895),u=r(5650),l=r(3036),f=r(2391),d=r(6407).get,p=r(2926),v=r(461),m=l("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,b=h,g=a("".charAt),y=a("".indexOf),x=a("".replace),w=a("".slice),E=(o=/b*/g,i(h,n=/a/,"a"),i(h,o,"a"),0!==n.lastIndex||0!==o.lastIndex),A=u.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(E||O||A||p||v)&&(b=function(t){var e,r,n,o,a,u,l,p=this,v=d(p),S=c(t),L=v.raw;if(L)return L.lastIndex=p.lastIndex,e=i(b,L,S),p.lastIndex=L.lastIndex,e;var j=v.groups,T=A&&p.sticky,P=i(s,p),k=p.source,I=0,C=S;if(T&&(P=x(P,"y",""),-1===y(P,"g")&&(P+="g"),C=w(S,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==g(S,p.lastIndex-1))&&(k="(?: "+k+")",C=" "+C,I++),r=new RegExp("^(?:"+k+")",P)),O&&(r=new RegExp("^"+k+"$(?!\\s)",P)),E&&(n=p.lastIndex),o=i(h,T?r:p,C),T?o?(o.input=w(o.input,I),o[0]=w(o[0],I),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:E&&o&&(p.lastIndex=p.global?o.index+o[0].length:n),O&&o&&o.length>1&&i(m,o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&j)for(o.groups=u=f(null),a=0;a<j.length;a++)u[(l=j[a])[0]]=o[l[1]];return o}),t.exports=b},895:(t,e,r)=>{"use strict";var n=r(1176);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},5650:(t,e,r)=>{var n=r(4229),o=r(9859).RegExp,i=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=i||n((function(){return!o("a","y").sticky})),c=i||n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:c,MISSED_STICKY:a,UNSUPPORTED_Y:i}},2926:(t,e,r)=>{var n=r(4229),o=r(9859).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},461:(t,e,r)=>{var n=r(4229),o=r(9859).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},8885:t=>{var e=TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},4555:(t,e,r)=>{var n=r(1787).f,o=r(8270),i=r(95)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:e})}},4399:(t,e,r)=>{var n=r(3036),o=r(1441),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5353:(t,e,r)=>{var n=r(9859),o=r(8400),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},3036:(t,e,r)=>{var n=r(4231),o=r(5353);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.8",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})},966:(t,e,r)=>{var n=r(5968),o=r(3329),i=r(3326),a=r(8885),c=n("".charAt),s=n("".charCodeAt),u=n("".slice),l=function(t){return function(e,r){var n,l,f=i(a(e)),d=o(r),p=f.length;return d<0||d>=p?t?"":void 0:(n=s(f,d))<55296||n>56319||d+1===p||(l=s(f,d+1))<56320||l>57343?t?c(f,d):n:t?u(f,d,d+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},9445:(t,e,r)=>{var n=r(1805).PROPER,o=r(4229),i=r(1647);t.exports=function(t){return o((function(){return!!i[t]()||"​…᠎"!=="​…᠎"[t]()||n&&i[t].name!==t}))}},1017:(t,e,r)=>{var n=r(5968),o=r(8885),i=r(3326),a=r(1647),c=n("".replace),s="["+a+"]",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(t){return function(e){var r=i(o(e));return 1&t&&(r=c(r,u,"")),2&t&&(r=c(r,l,"")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},3231:(t,e,r)=>{var n=r(3329),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},905:(t,e,r)=>{var n=r(9337),o=r(8885);t.exports=function(t){return n(o(t))}},3329:(t,e,r)=>{var n=r(917);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},4237:(t,e,r)=>{var n=r(3329),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},2991:(t,e,r)=>{var n=r(8885),o=Object;t.exports=function(t){return o(n(t))}},2066:(t,e,r)=>{var n=r(266),o=r(5052),i=r(9395),a=r(5300),c=r(2914),s=r(95),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,s=a(t,l);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!o(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},9310:(t,e,r)=>{var n=r(2066),o=r(9395);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},1601:(t,e,r)=>{var n={};n[r(95)("toStringTag")]="z",t.exports="[object z]"===String(n)},3326:(t,e,r)=>{var n=r(1589),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},9821:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},1441:(t,e,r)=>{var n=r(5968),o=0,i=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},6969:(t,e,r)=>{var n=r(3839);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7137:(t,e,r)=>{var n=r(7400),o=r(4229);t.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},95:(t,e,r)=>{var n=r(9859),o=r(3036),i=r(8270),a=r(1441),c=r(3839),s=r(6969),u=o("wks"),l=n.Symbol,f=l&&l.for,d=s?l:l&&l.withoutSetter||a;t.exports=function(t){if(!i(u,t)||!c&&"string"!=typeof u[t]){var e="Symbol."+t;c&&i(l,t)?u[t]=l[t]:u[t]=s&&f?f(e):d(e)}return u[t]}},1647:t=>{t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8178:(t,e,r)=>{"use strict";var n=r(3103),o=r(4229),i=r(3718),a=r(5052),c=r(2991),s=r(9646),u=r(3064),l=r(2324),f=r(7501),d=r(1460),p=r(95),v=r(6358),m=p("isConcatSpreadable"),h=v>=51||!o((function(){var t=[];return t[m]=!1,t.concat()[0]!==t})),b=d("concat"),g=function(t){if(!a(t))return!1;var e=t[m];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,arity:1,forced:!h||!b},{concat:function(t){var e,r,n,o,i,a=c(this),d=f(a,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(g(i=-1===e?a:arguments[e]))for(o=s(i),u(p+o),r=0;r<o;r++,p++)r in i&&l(d,p,i[r]);else u(p+1),l(d,p++,i);return d.length=p,d}})},9228:(t,e,r)=>{"use strict";var n=r(3103),o=r(9996).find,i=r(9736),a="find",c=!0;a in[]&&Array(1)[a]((function(){c=!1})),n({target:"Array",proto:!0,forced:c},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},7233:(t,e,r)=>{var n=r(3103),o=r(507);n({target:"Array",stat:!0,forced:!r(4575)((function(t){Array.from(t)}))},{from:o})},2501:(t,e,r)=>{"use strict";var n=r(3103),o=r(3718),i=r(2359),a=r(5052),c=r(3231),s=r(9646),u=r(905),l=r(2324),f=r(95),d=r(1460),p=r(1909),v=d("slice"),m=f("species"),h=Array,b=Math.max;n({target:"Array",proto:!0,forced:!v},{slice:function(t,e){var r,n,f,d=u(this),v=s(d),g=c(t,v),y=c(void 0===e?v:e,v);if(o(d)&&(r=d.constructor,(i(r)&&(r===h||o(r.prototype))||a(r)&&null===(r=r[m]))&&(r=void 0),r===h||void 0===r))return p(d,g,y);for(n=new(void 0===r?h:r)(b(y-g,0)),f=0;g<y;g++,f++)g in d&&l(n,f,d[g]);return n.length=f,n}})},6936:(t,e,r)=>{var n=r(7400),o=r(1805).EXISTS,i=r(5968),a=r(1787).f,c=Function.prototype,s=i(c.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(u.exec);n&&!o&&a(c,"name",{configurable:!0,get:function(){try{return l(u,s(this))[1]}catch(t){return""}}})},3105:(t,e,r)=>{var n=r(3103),o=r(47);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},7950:(t,e,r)=>{"use strict";var n=r(3103),o=r(3466);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8673:(t,e,r)=>{"use strict";var n=r(966).charAt,o=r(3326),i=r(6407),a=r(7675),c="String Iterator",s=i.set,u=i.getterFor(c);a(String,"String",(function(t){s(this,{type:c,string:o(t),index:0})}),(function(){var t,e=u(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},4069:(t,e,r)=>{"use strict";var n=r(266),o=r(4954),i=r(1176),a=r(4237),c=r(3326),s=r(8885),u=r(5300),l=r(6637),f=r(8115);o("match",(function(t,e,r){return[function(e){var r=s(this),o=null==e?void 0:u(e,t);return o?n(o,e,r):new RegExp(e)[t](c(r))},function(t){var n=i(this),o=c(t),s=r(e,n,o);if(s.done)return s.value;if(!n.global)return f(n,o);var u=n.unicode;n.lastIndex=0;for(var d,p=[],v=0;null!==(d=f(n,o));){var m=c(d[0]);p[v]=m,""===m&&(n.lastIndex=l(o,a(n.lastIndex),u)),v++}return 0===v?null:p}]}))},5940:(t,e,r)=>{"use strict";var n=r(3171),o=r(266),i=r(5968),a=r(4954),c=r(4229),s=r(1176),u=r(6733),l=r(3329),f=r(4237),d=r(3326),p=r(8885),v=r(6637),m=r(5300),h=r(17),b=r(8115),g=r(95)("replace"),y=Math.max,x=Math.min,w=i([].concat),E=i([].push),A=i("".indexOf),O=i("".slice),S="$0"==="a".replace(/./,"$0"),L=!!/./[g]&&""===/./[g]("a","$0");a("replace",(function(t,e,r){var i=L?"$":"$0";return[function(t,r){var n=p(this),i=null==t?void 0:m(t,g);return i?o(i,t,n,r):o(e,d(n),t,r)},function(t,o){var a=s(this),c=d(t);if("string"==typeof o&&-1===A(o,i)&&-1===A(o,"$<")){var p=r(e,a,c,o);if(p.done)return p.value}var m=u(o);m||(o=d(o));var g=a.global;if(g){var S=a.unicode;a.lastIndex=0}for(var L=[];;){var j=b(a,c);if(null===j)break;if(E(L,j),!g)break;""===d(j[0])&&(a.lastIndex=v(c,f(a.lastIndex),S))}for(var T,P="",k=0,I=0;I<L.length;I++){for(var C=d((j=L[I])[0]),M=y(x(l(j.index),c.length),0),R=[],D=1;D<j.length;D++)E(R,void 0===(T=j[D])?T:String(T));var q=j.groups;if(m){var _=w([C],R,M,c);void 0!==q&&E(_,q);var B=d(n(o,void 0,_))}else B=h(C,c,M,R,q,o);M>=k&&(P+=O(c,k,M)+B,k=M+C.length)}return P+O(c,k)}]}),!!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!S||L)},5794:(t,e,r)=>{"use strict";var n=r(3103),o=r(1017).trim;n({target:"String",proto:!0,forced:r(9445)("trim")},{trim:function(){return o(this)}})},1939:(t,e,r)=>{var n=r(9859),o=r(5694),i=r(8865),a=r(6570),c=r(5762),s=function(t){if(t&&t.forEach!==a)try{c(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in o)o[u]&&s(n[u]&&n[u].prototype);s(i)},7807:()=>{!function(){"use strict";if("undefined"!=typeof window&&window.addEventListener){var t,e,r,n=Object.create(null),o=function(){clearTimeout(e),e=setTimeout(t,100)},i=function(){},a=function(t){function e(t){var e;return void 0!==t.protocol?e=t:(e=document.createElement("a")).href=t,e.protocol.replace(/:/g,"")+e.host}var r,n,o;return window.XMLHttpRequest&&(r=new XMLHttpRequest,n=e(location),o=e(t),r=void 0===r.withCredentials&&""!==o&&o!==n?XDomainRequest||void 0:XMLHttpRequest),r},c="http://www.w3.org/1999/xlink";t=function(){var t,e,r,s,u,l,f,d,p,v,m=0;function h(){var t;0==(m-=1)&&(i(),window.addEventListener("resize",o,!1),window.addEventListener("orientationchange",o,!1),window.MutationObserver?((t=new MutationObserver(o)).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),i=function(){try{t.disconnect(),window.removeEventListener("resize",o,!1),window.removeEventListener("orientationchange",o,!1)}catch(t){}}):(document.documentElement.addEventListener("DOMSubtreeModified",o,!1),i=function(){document.documentElement.removeEventListener("DOMSubtreeModified",o,!1),window.removeEventListener("resize",o,!1),window.removeEventListener("orientationchange",o,!1)}))}function b(t){return function(){!0!==n[t.base]&&(t.useEl.setAttributeNS(c,"xlink:href","#"+t.hash),t.useEl.hasAttribute("href")&&t.useEl.setAttribute("href","#"+t.hash))}}function g(t){return function(){var e,r=document.body,n=document.createElement("x");t.onload=null,n.innerHTML=t.responseText,(e=n.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",r.insertBefore(e,r.firstChild)),h()}}function y(t){return function(){t.onerror=null,t.ontimeout=null,h()}}for(i(),p=document.getElementsByTagName("use"),u=0;u<p.length;u+=1){try{e=p[u].getBoundingClientRect()}catch(t){e=!1}t=(d=(s=p[u].getAttribute("href")||p[u].getAttributeNS(c,"href")||p[u].getAttribute("xlink:href"))&&s.split?s.split("#"):["",""])[0],r=d[1],l=e&&0===e.left&&0===e.right&&0===e.top&&0===e.bottom,e&&0===e.width&&0===e.height&&!l?(p[u].hasAttribute("href")&&p[u].setAttributeNS(c,"xlink:href",s),t.length&&(!0!==(v=n[t])&&setTimeout(b({useEl:p[u],base:t,hash:r}),0),void 0===v&&void 0!==(f=a(t))&&(v=new f,n[t]=v,v.onload=g(v),v.onerror=y(v),v.ontimeout=y(v),v.open("GET",t),v.send(),m+=1))):l?t.length&&n[t]&&setTimeout(b({useEl:p[u],base:t,hash:r}),0):void 0===n[t]?n[t]=!0:n[t].onload&&(n[t].abort(),delete n[t].onload,n[t]=!0)}p="",m+=1,h()},r=function(){window.removeEventListener("load",r,!1),e=setTimeout(t,0)},"complete"!==document.readyState?window.addEventListener("load",r,!1):r()}}()},7255:t=>{"use strict";t.exports=JSON.parse('{"size":{"baseline":{"value":"4px"},"breakpoint":{"sm":{"value":"400px"},"md":{"value":"600px"},"lg":{"value":"1008px"},"xl":{"value":"1280px"}},"border":{"width":{"base":{"value":"1px"},"button":{"value":"{size.border.width.base.value}"}},"radius":{"base":{"value":"4px"},"button":{"value":"{size.border.radius.base.value}"},"main":{"value":"0"}}},"gutter-width":{"value":"20px"},"container":{"width":{"value":"100%"},"min-width":{"value":"0"},"max-width":{"value":"100%"}},"wrapper":{"width":{"value":"97%"},"max-width":{"value":"1240px"}},"surface":{"padding":{"value":"16px"}},"main":{"max-width":{"value":"100%"},"padding":{"value":"0"},"margin":{"value":"0 auto"}},"icon":{"default":{"value":"1em"},"sm":{"value":"16px"},"md":{"value":"24px"},"lg":{"value":"32px"},"xl":{"value":"48px"},"xxl":{"value":"72px"}},"height":{"ad-container":{"leaderboard":{"min":{"value":"0"}}}}}}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.p="",(()=>{"use strict";r(2702),r(5794),r(7233),r(8673),r(1939),window.addEventListener("hashchange",(function(){var t=window.location.hash.trim();Array.from(document.querySelectorAll("a[href='".concat(t,"']"))).forEach((function(t){t.click()}))}),!1),r(8178);var t=r(7255),e="mds-tabs",n="mds-tabs__panel",o="mds-tabs__tab",i="mds-tabs__tab--selected",a="mds-tabs__panel--hidden",c=parseInt(t.size.breakpoint.lg.value,10),s={init:function(){s.setTabs(".js-full-tabbed"),window.innerWidth>c&&s.setTabs(".js-desktop-tabbed")},setTabs:function(t){var r=Array.from(document.querySelectorAll("".concat(t," .").concat(o))),a=Array.from(document.querySelectorAll("".concat(t," .").concat("mds-tabs__list"))),c=Array.from(document.querySelectorAll("".concat(t," .").concat("mds-tabs__list-item"))),u=Array.from(document.querySelectorAll("".concat(t," .").concat(n)));a.forEach((function(t){t.setAttribute("role","tablist")})),c.forEach((function(t){t.setAttribute("role","presentation")})),r.forEach((function(t){t.setAttribute("role","tab"),t.setAttribute("aria-controls",t.attributes.href.value.substring(1)),t.classList.contains(i)?t.setAttribute("tabindex","0"):t.setAttribute("tabindex","-1")})),u.forEach((function(t){t.setAttribute("role","tabpanel"),t.setAttribute("aria-labelledby","label-".concat(t.attributes.id.value))}));var l=document.querySelectorAll("".concat(t," .").concat("js-tabs-item"));Array.from(l).forEach((function(t){var r=window.location.hash.trim(),n=t.attributes.href.value,o=t.closest(".".concat(e)),i=s.getAllPanels(o),a=s.getAllTabs(o),c=s.getTargetPanel(t,o);t.addEventListener("click",(function(e){e.preventDefault(),s.updateTabs(a,i,t,c,n)})),n===r&&s.updateTabs(a,i,t,c,n)})),a.forEach((function(t){var r=t.closest(".".concat(e)),n=s.getAllPanels(r),o=s.getAllTabs(r);t.addEventListener("keydown",(function(e){switch(e.keyCode){case 37:case 38:e.preventDefault(),s.moveTab(t,r,o,n,!1);break;case 39:case 40:e.preventDefault(),s.moveTab(t,r,o,n,!0)}}))}))},getSelectedTab:function(t){return t.querySelector(".".concat(i))},getPrevTab:function(t){return!!t.parentElement.previousSibling&&t.parentElement.previousSibling.querySelector(".".concat(o))},getNextTab:function(t){return!!t.parentElement.nextSibling&&t.parentElement.nextSibling.querySelector(".".concat(o))},getTargetPanel:function(t,e){var r=t.attributes.href.value;return e.querySelector(r)},getAllPanels:function(t){return Array.from(t.querySelectorAll(".".concat(n)))},getAllTabs:function(t){return Array.from(t.querySelectorAll(".".concat(o)))},moveTab:function(t,e,r,n,o){var i=s.getSelectedTab(t),a=o?s.getNextTab(i):s.getPrevTab(i);if(a){var c=a.attributes.href.value,u=s.getTargetPanel(a,e);s.updateTabs(r,n,a,u,c,!1)}},updateTabs:function(t,e,r,n,o){s.clearAllTabs(t),s.setActiveTab(r),s.clearAllPanels(e),s.setActivePanel(n,o)},clearAllTabs:function(t){t.forEach((function(t){t.classList.remove(i),t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1")}))},clearAllPanels:function(t){t.forEach((function(t){t.classList.add(a)}))},setActiveTab:function(t){t.classList.add(i),t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.focus()},setActivePanel:function(t,e){t.classList.remove(a),window.history.replaceState({},"",e)}};const u=s;r(7950),r(5940);var l="mds-accordion-trigger",f="mds-accordion-trigger__button",d="mds-accordion-trigger__label",p="mds-accordion-trigger--expanded",v="mds-accordion-content--expanded",m={init:function(){var t=Array.from(document.querySelectorAll(".".concat(l))),e=window.innerWidth;t.forEach((function(t){var r=t.nextElementSibling;m.checkBreakpoint(t,e)?m.setAccordion(t,r):(t.classList.add(p),r.classList.add(v))}))},checkBreakpoint:function(t,e){var r=0;if(t.dataset.bp){var n,o=t.dataset.bp.replace(/\D/g,"");switch(t.dataset.bp.replace(/[0-9]/g,"")){case"px":r=o;break;case"em":case"rem":n=window.getComputedStyle(document.querySelector("body"))["font-size"],r=o*parseFloat(n);break;default:return!0}return!(e>r)}return!0},setAccordion:function(t,e){var r=t,n=m.createButton(r),o=n.querySelector(".".concat(d)).innerText,i=n.getAttribute("aria-label"),a=t.classList.contains("mds-accordion-trigger--non-closing"),c=t.classList.contains("mds-accordion-trigger--content-first")&&!a;r.classList.remove("mds-display-none"),"fieldset"!==e.nodeName.toLowerCase()&&(i?e.setAttribute("aria-label",i):e.setAttribute("aria-label",o)),r.innerHTML="",r.appendChild(n);var s={triggerContainer:r,accordionContent:e,isNonClosing:a,isContentFirst:c},u=function t(e){e.preventDefault(),m.toggleExpand(s,t,e)};n.addEventListener("click",u),r.dataset.expanded&&m.toggleExpand(s,u)},createButton:function(t){var e=t.querySelector(".".concat(l," > span")),r=document.createElement("button");return r.className=f,r.classList.add("mds-button"),r.classList.add("mds-button--plain"),r.classList.add("mds-padding-x-b0"),r.setAttribute("aria-expanded",!1),r.setAttribute("type","button"),t.dataset.arialabel&&r.setAttribute("aria-label",t.dataset.arialabel),e&&r.appendChild(e),r},cloneUnderButton:function(t,e,r,n){var o=t.cloneNode(!0),i=o.querySelector(".".concat(d));e.dataset.arialabeactive&&o.setAttribute("aria-label",e.dataset.arialabeactive),o.setAttribute("aria-expanded",!0),o.addEventListener("click",n),m.switchAriaLabel(o,e),m.switchLabel(i),r.after(o)},switchLabel:function(t){if(t.dataset.labelinverse){var e=t.textContent;t.textContent=t.dataset.labelinverse,t.setAttribute("data-labelinverse",e)}},switchAriaLabel:function(t,e){e.dataset.arialabelactive&&(t.getAttribute("aria-label")===e.dataset.arialabel?t.setAttribute("aria-label",e.dataset.arialabelactive):t.setAttribute("aria-label",e.dataset.arialabel))},toggleExpand:function(t,e,r){var n,o=t.triggerContainer,i=t.accordionContent,a=t.isNonClosing,c=t.isContentFirst,s=(n=r?r.target.closest(".".concat(f)):o.querySelector(".".concat(f))).querySelector(".".concat(d));if("false"===n.getAttribute("aria-expanded"))n.setAttribute("aria-expanded",!0),o.classList.add(p),i.classList.add(v),c&&m.cloneUnderButton(n,o,i,e),a||c?m.hideButton(n,e):(m.switchLabel(s),m.switchAriaLabel(n,o));else if(!a&&(n.setAttribute("aria-expanded",!1),o.classList.remove(p),i.classList.remove(v),m.switchLabel(s),m.switchAriaLabel(n,o),c)){var u=i.previousElementSibling.querySelector(".".concat(f));n.setAttribute("aria-expanded",!1),n.removeAttribute("aria-disabled"),n.setAttribute("tabIndex","0"),u.replaceWith(n),o.classList.remove("mds-visually-hidden"),n.focus()}},hideButton:function(t,e){t.setAttribute("aria-disabled",!0),t.parentElement.classList.add("mds-visually-hidden"),t.setAttribute("tabIndex","-1"),t.removeEventListener("click",e)}};const h=m;function b(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function g(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function y(t){var e=g(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function x(t){return t instanceof g(t).Element||t instanceof Element}function w(t){return t instanceof g(t).HTMLElement||t instanceof HTMLElement}function E(t){return"undefined"!=typeof ShadowRoot&&(t instanceof g(t).ShadowRoot||t instanceof ShadowRoot)}function A(t){return t?(t.nodeName||"").toLowerCase():null}function O(t){return((x(t)?t.ownerDocument:t.document)||window.document).documentElement}function S(t){return b(O(t)).left+y(t).scrollLeft}function L(t){return g(t).getComputedStyle(t)}function j(t){var e=L(t),r=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function T(t,e,r){void 0===r&&(r=!1);var n,o,i=O(e),a=b(t),c=w(e),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(c||!c&&!r)&&(("body"!==A(e)||j(i))&&(s=(n=e)!==g(n)&&w(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:y(n)),w(e)?((u=b(e)).x+=e.clientLeft,u.y+=e.clientTop):i&&(u.x=S(i))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function P(t){var e=b(t),r=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function k(t){return"html"===A(t)?t:t.assignedSlot||t.parentNode||(E(t)?t.host:null)||O(t)}function I(t){return["html","body","#document"].indexOf(A(t))>=0?t.ownerDocument.body:w(t)&&j(t)?t:I(k(t))}function C(t,e){var r;void 0===e&&(e=[]);var n=I(t),o=n===(null==(r=t.ownerDocument)?void 0:r.body),i=g(n),a=o?[i].concat(i.visualViewport||[],j(n)?n:[]):n,c=e.concat(a);return o?c:c.concat(C(k(a)))}function M(t){return["table","td","th"].indexOf(A(t))>=0}function R(t){return w(t)&&"fixed"!==L(t).position?t.offsetParent:null}function D(t){for(var e=g(t),r=R(t);r&&M(r)&&"static"===L(r).position;)r=R(r);return r&&("html"===A(r)||"body"===A(r)&&"static"===L(r).position)?e:r||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&w(t)&&"fixed"===L(t).position)return null;for(var r=k(t);w(r)&&["html","body"].indexOf(A(r))<0;){var n=L(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(t)||e}var q="top",_="bottom",B="right",N="left",F="auto",W=[q,_,B,N],H="start",z="end",G="viewport",$="popper",U=W.reduce((function(t,e){return t.concat([e+"-"+H,e+"-"+z])}),[]),V=[].concat(W,[F]).reduce((function(t,e){return t.concat([e,e+"-"+H,e+"-"+z])}),[]),X=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Y(t){var e=new Map,r=new Set,n=[];function o(t){r.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!r.has(t)){var n=e.get(t);n&&o(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){r.has(t.name)||o(t)})),n}var K={placement:"bottom",modifiers:[],strategy:"absolute"};function J(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Q(t){void 0===t&&(t={});var e=t,r=e.defaultModifiers,n=void 0===r?[]:r,o=e.defaultOptions,i=void 0===o?K:o;return function(t,e,r){void 0===r&&(r=i);var o,a,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},K,i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},s=[],u=!1,l={state:c,setOptions:function(r){f(),c.options=Object.assign({},i,c.options,r),c.scrollParents={reference:x(t)?C(t):t.contextElement?C(t.contextElement):[],popper:C(e)};var o,a,u=function(t){var e=Y(t);return X.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}((o=[].concat(n,c.options.modifiers),a=o.reduce((function(t,e){var r=t[e.name];return t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e,t}),{}),Object.keys(a).map((function(t){return a[t]}))));return c.orderedModifiers=u.filter((function(t){return t.enabled})),c.orderedModifiers.forEach((function(t){var e=t.name,r=t.options,n=void 0===r?{}:r,o=t.effect;if("function"==typeof o){var i=o({state:c,name:e,instance:l,options:n});s.push(i||function(){})}})),l.update()},forceUpdate:function(){if(!u){var t=c.elements,e=t.reference,r=t.popper;if(J(e,r)){c.rects={reference:T(e,D(r),"fixed"===c.options.strategy),popper:P(r)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(t){return c.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<c.orderedModifiers.length;n++)if(!0!==c.reset){var o=c.orderedModifiers[n],i=o.fn,a=o.options,s=void 0===a?{}:a,f=o.name;"function"==typeof i&&(c=i({state:c,options:s,name:f,instance:l})||c)}else c.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(t){l.forceUpdate(),t(c)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){f(),u=!0}};if(!J(t,e))return l;function f(){s.forEach((function(t){return t()})),s=[]}return l.setOptions(r).then((function(t){!u&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var Z={passive:!0};const tt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,r=t.instance,n=t.options,o=n.scroll,i=void 0===o||o,a=n.resize,c=void 0===a||a,s=g(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach((function(t){t.addEventListener("scroll",r.update,Z)})),c&&s.addEventListener("resize",r.update,Z),function(){i&&u.forEach((function(t){t.removeEventListener("scroll",r.update,Z)})),c&&s.removeEventListener("resize",r.update,Z)}},data:{}};function et(t){return t.split("-")[0]}function rt(t){return t.split("-")[1]}function nt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ot(t){var e,r=t.reference,n=t.element,o=t.placement,i=o?et(o):null,a=o?rt(o):null,c=r.x+r.width/2-n.width/2,s=r.y+r.height/2-n.height/2;switch(i){case q:e={x:c,y:r.y-n.height};break;case _:e={x:c,y:r.y+r.height};break;case B:e={x:r.x+r.width,y:s};break;case N:e={x:r.x-n.width,y:s};break;default:e={x:r.x,y:r.y}}var u=i?nt(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case H:e[u]=e[u]-(r[l]/2-n[l]/2);break;case z:e[u]=e[u]+(r[l]/2-n[l]/2)}}return e}const it={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,r=t.name;e.modifiersData[r]=ot({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var at=Math.max,ct=Math.min,st=Math.round,ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function lt(t){var e,r=t.popper,n=t.popperRect,o=t.placement,i=t.offsets,a=t.position,c=t.gpuAcceleration,s=t.adaptive,u=t.roundOffsets,l=!0===u?function(t){var e=t.x,r=t.y,n=window.devicePixelRatio||1;return{x:st(st(e*n)/n)||0,y:st(st(r*n)/n)||0}}(i):"function"==typeof u?u(i):i,f=l.x,d=void 0===f?0:f,p=l.y,v=void 0===p?0:p,m=i.hasOwnProperty("x"),h=i.hasOwnProperty("y"),b=N,y=q,x=window;if(s){var w=D(r),E="clientHeight",A="clientWidth";w===g(r)&&"static"!==L(w=O(r)).position&&(E="scrollHeight",A="scrollWidth"),o===q&&(y=_,v-=w[E]-n.height,v*=c?1:-1),o===N&&(b=B,d-=w[A]-n.width,d*=c?1:-1)}var S,j=Object.assign({position:a},s&&ut);return c?Object.assign({},j,((S={})[y]=h?"0":"",S[b]=m?"0":"",S.transform=(x.devicePixelRatio||1)<2?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",S)):Object.assign({},j,((e={})[y]=h?v+"px":"",e[b]=m?d+"px":"",e.transform="",e))}var ft={left:"right",right:"left",bottom:"top",top:"bottom"};function dt(t){return t.replace(/left|right|bottom|top/g,(function(t){return ft[t]}))}var pt={start:"end",end:"start"};function vt(t){return t.replace(/start|end/g,(function(t){return pt[t]}))}function mt(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(r&&E(r)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ht(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function bt(t,e){return e===G?ht(function(t){var e=g(t),r=O(t),n=e.visualViewport,o=r.clientWidth,i=r.clientHeight,a=0,c=0;return n&&(o=n.width,i=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,c=n.offsetTop)),{width:o,height:i,x:a+S(t),y:c}}(t)):w(e)?function(t){var e=b(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):ht(function(t){var e,r=O(t),n=y(t),o=null==(e=t.ownerDocument)?void 0:e.body,i=at(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=at(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-n.scrollLeft+S(t),s=-n.scrollTop;return"rtl"===L(o||r).direction&&(c+=at(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:s}}(O(t)))}function gt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function yt(t,e){return e.reduce((function(e,r){return e[r]=t,e}),{})}function xt(t,e){void 0===e&&(e={});var r=e,n=r.placement,o=void 0===n?t.placement:n,i=r.boundary,a=void 0===i?"clippingParents":i,c=r.rootBoundary,s=void 0===c?G:c,u=r.elementContext,l=void 0===u?$:u,f=r.altBoundary,d=void 0!==f&&f,p=r.padding,v=void 0===p?0:p,m=gt("number"!=typeof v?v:yt(v,W)),h=l===$?"reference":$,g=t.elements.reference,y=t.rects.popper,E=t.elements[d?h:l],S=function(t,e,r){var n="clippingParents"===e?function(t){var e=C(k(t)),r=["absolute","fixed"].indexOf(L(t).position)>=0&&w(t)?D(t):t;return x(r)?e.filter((function(t){return x(t)&&mt(t,r)&&"body"!==A(t)})):[]}(t):[].concat(e),o=[].concat(n,[r]),i=o[0],a=o.reduce((function(e,r){var n=bt(t,r);return e.top=at(n.top,e.top),e.right=ct(n.right,e.right),e.bottom=ct(n.bottom,e.bottom),e.left=at(n.left,e.left),e}),bt(t,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(x(E)?E:E.contextElement||O(t.elements.popper),a,s),j=b(g),T=ot({reference:j,element:y,strategy:"absolute",placement:o}),P=ht(Object.assign({},y,T)),I=l===$?P:j,M={top:S.top-I.top+m.top,bottom:I.bottom-S.bottom+m.bottom,left:S.left-I.left+m.left,right:I.right-S.right+m.right},R=t.modifiersData.offset;if(l===$&&R){var N=R[o];Object.keys(M).forEach((function(t){var e=[B,_].indexOf(t)>=0?1:-1,r=[q,_].indexOf(t)>=0?"y":"x";M[t]+=N[r]*e}))}return M}function wt(t,e,r){return at(t,ct(e,r))}function Et(t,e,r){return void 0===r&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function At(t){return[q,B,_,N].some((function(e){return t[e]>=0}))}var Ot=Q({defaultModifiers:[tt,it,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,r=t.options,n=r.gpuAcceleration,o=void 0===n||n,i=r.adaptive,a=void 0===i||i,c=r.roundOffsets,s=void 0===c||c,u={placement:et(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,lt(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:s})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,lt(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];w(o)&&A(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],o=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]).reduce((function(t,e){return t[e]="",t}),{});w(n)&&A(n)&&(Object.assign(n.style,i),Object.keys(o).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,r=t.options,n=t.name,o=r.offset,i=void 0===o?[0,0]:o,a=V.reduce((function(t,r){return t[r]=function(t,e,r){var n=et(t),o=[N,q].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},e,{placement:t})):r,a=i[0],c=i[1];return a=a||0,c=(c||0)*o,[N,B].indexOf(n)>=0?{x:c,y:a}:{x:a,y:c}}(r,e.rects,i),t}),{}),c=a[e.placement],s=c.x,u=c.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=s,e.modifiersData.popperOffsets.y+=u),e.modifiersData[n]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,c=void 0===a||a,s=r.fallbackPlacements,u=r.padding,l=r.boundary,f=r.rootBoundary,d=r.altBoundary,p=r.flipVariations,v=void 0===p||p,m=r.allowedAutoPlacements,h=e.options.placement,b=et(h),g=s||(b!==h&&v?function(t){if(et(t)===F)return[];var e=dt(t);return[vt(t),e,vt(e)]}(h):[dt(h)]),y=[h].concat(g).reduce((function(t,r){return t.concat(et(r)===F?function(t,e){void 0===e&&(e={});var r=e,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,c=r.flipVariations,s=r.allowedAutoPlacements,u=void 0===s?V:s,l=rt(n),f=l?c?U:U.filter((function(t){return rt(t)===l})):W,d=f.filter((function(t){return u.indexOf(t)>=0}));0===d.length&&(d=f);var p=d.reduce((function(e,r){return e[r]=xt(t,{placement:r,boundary:o,rootBoundary:i,padding:a})[et(r)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:r,boundary:l,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:m}):r)}),[]),x=e.rects.reference,w=e.rects.popper,E=new Map,A=!0,O=y[0],S=0;S<y.length;S++){var L=y[S],j=et(L),T=rt(L)===H,P=[q,_].indexOf(j)>=0,k=P?"width":"height",I=xt(e,{placement:L,boundary:l,rootBoundary:f,altBoundary:d,padding:u}),C=P?T?B:N:T?_:q;x[k]>w[k]&&(C=dt(C));var M=dt(C),R=[];if(i&&R.push(I[j]<=0),c&&R.push(I[C]<=0,I[M]<=0),R.every((function(t){return t}))){O=L,A=!1;break}E.set(L,R)}if(A)for(var D=function(t){var e=y.find((function(e){var r=E.get(e);if(r)return r.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},z=v?3:1;z>0&&"break"!==D(z);z--);e.placement!==O&&(e.modifiersData[n]._skip=!0,e.placement=O,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,r=t.options,n=t.name,o=r.mainAxis,i=void 0===o||o,a=r.altAxis,c=void 0!==a&&a,s=r.boundary,u=r.rootBoundary,l=r.altBoundary,f=r.padding,d=r.tether,p=void 0===d||d,v=r.tetherOffset,m=void 0===v?0:v,h=xt(e,{boundary:s,rootBoundary:u,padding:f,altBoundary:l}),b=et(e.placement),g=rt(e.placement),y=!g,x=nt(b),w="x"===x?"y":"x",E=e.modifiersData.popperOffsets,A=e.rects.reference,O=e.rects.popper,S="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,L={x:0,y:0};if(E){if(i||c){var j="y"===x?q:N,T="y"===x?_:B,k="y"===x?"height":"width",I=E[x],C=E[x]+h[j],M=E[x]-h[T],R=p?-O[k]/2:0,F=g===H?A[k]:O[k],W=g===H?-O[k]:-A[k],z=e.elements.arrow,G=p&&z?P(z):{width:0,height:0},$=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=$[j],V=$[T],X=wt(0,A[k],G[k]),Y=y?A[k]/2-R-X-U-S:F-X-U-S,K=y?-A[k]/2+R+X+V+S:W+X+V+S,J=e.elements.arrow&&D(e.elements.arrow),Q=J?"y"===x?J.clientTop||0:J.clientLeft||0:0,Z=e.modifiersData.offset?e.modifiersData.offset[e.placement][x]:0,tt=E[x]+Y-Z-Q,ot=E[x]+K-Z;if(i){var it=wt(p?ct(C,tt):C,I,p?at(M,ot):M);E[x]=it,L[x]=it-I}if(c){var st="x"===x?q:N,ut="x"===x?_:B,lt=E[w],ft=lt+h[st],dt=lt-h[ut],pt=wt(p?ct(ft,tt):ft,lt,p?at(dt,ot):dt);E[w]=pt,L[w]=pt-lt}}e.modifiersData[n]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,r=t.state,n=t.name,o=t.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,c=et(r.placement),s=nt(c),u=[N,B].indexOf(c)>=0?"height":"width";if(i&&a){var l=function(t,e){return gt("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:yt(t,W))}(o.padding,r),f=P(i),d="y"===s?q:N,p="y"===s?_:B,v=r.rects.reference[u]+r.rects.reference[s]-a[s]-r.rects.popper[u],m=a[s]-r.rects.reference[s],h=D(i),b=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,g=v/2-m/2,y=l[d],x=b-f[u]-l[p],w=b/2-f[u]/2+g,E=wt(y,w,x),A=s;r.modifiersData[n]=((e={})[A]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,r=t.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&mt(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,r=t.name,n=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=xt(e,{elementContext:"reference"}),c=xt(e,{altBoundary:!0}),s=Et(a,n),u=Et(c,o,i),l=At(s),f=At(u);e.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),St=r(7255),Lt=parseInt(St.size.baseline.value,10),jt="mds-popover--active",Tt={init:function(){Array.from(document.querySelectorAll(".".concat("js-mds-popover-trigger"))).forEach((function(t){var e=t.getAttribute("id"),r="".concat(e,"-content"),n=document.getElementById(r),o=n.dataset?n.dataset.placement:null,i=Ot(t,n,{placement:o||"top-end",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,3*Lt]}},{name:"arrow",options:{padding:5}}]});t.setAttribute("aria-expanded","false"),n.setAttribute("aria-hidden","true"),t.addEventListener("click",(function(e){e.preventDefault(),i.update(),n.classList.toggle(jt),Tt.setAriaAttr(t,n,jt)})),document.addEventListener("mousedown",(function(e){Tt.hide(t,n,i,jt,e)})),document.addEventListener("keydown",(function(e){Tt.hide(t,n,i,jt,e)}))}))},hide:function(t,e,r,n,o){t.contains(o.target)||r.state.elements.popper.contains(o.target)||!e.classList.contains(n)||(e.classList.remove(n),Tt.setAriaAttr(t,e,n))},setAriaAttr:function(t,e,r){e.classList.contains(r)?(t.setAttribute("aria-expanded","true"),e.removeAttribute("aria-hidden")):(t.setAttribute("aria-expanded","false"),e.setAttribute("aria-hidden","true"))}};const Pt=Tt;r(2501);var kt,It=r(7255),Ct=parseInt(It.size.breakpoint.md.value,10),Mt="data-modal-id",Rt="mds-modal--active",Dt={init:function(){window.innerWidth>Ct&&Array.from(document.querySelectorAll("[".concat(Mt,"]"))).forEach((function(t){var e=t.getAttribute(Mt),r=document.getElementById(e),n=Array.from(r.querySelectorAll(".".concat("js-mds-modal-close"))),o=r.getAttribute("data-site-container"),i=document.getElementById(o),a=r.querySelectorAll('a[href], area[href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]'),c=(a=Array.prototype.slice.call(a))[0],s=a[a.length-1];t.addEventListener("click",(function(t){t.preventDefault(),Dt.open(r,c,i)})),r.addEventListener("click",(function(t){t.target===r&&Dt.close(r,kt,i)})),r.addEventListener("keydown",(function(t){Dt.trapFocus(t,c,s),"Escape"!==t.key&&"Esc"!==t.key||Dt.close(r,kt,i)})),n.forEach((function(t){t.addEventListener("click",(function(){Dt.close(r,kt,i)}))}))}))},open:function(t,e,r){kt=document.activeElement,t.classList.add(Rt),e.focus(),r.setAttribute("aria-hidden","true")},close:function(t,e,r){r.removeAttribute("aria-hidden"),t.classList.remove(Rt),e.focus()},trapFocus:function(t,e,r){"Tab"===t.key&&(t.shiftKey?document.activeElement===e&&(t.preventDefault(),r.focus()):document.activeElement===r&&(t.preventDefault(),e.focus()))}};const qt=Dt;r(6936);var _t="mds-form-element--selected-file",Bt="mds-form-element--dragover",Nt={init:function(){Nt.isBrowserIE()||Array.from(document.querySelectorAll(".mds-form-element--file")).forEach((function(t){t.classList.add("mds-form-element--file-supported");var e=t.querySelector(".mds-file-upload__file-name"),r=t.querySelector("input[type=file]"),n=t.querySelector(".mds-file-upload__remove-button");r.addEventListener("change",(function(){r.files&&r.files.length&&(e.textContent=r.files[0].name,t.classList.add(_t),n.focus())})),n.addEventListener("click",(function(n){n.preventDefault(),r.value="",e.textContent="",t.classList.remove(_t),r.focus()})),["dragover","dragenter"].forEach((function(e){r.addEventListener(e,(function(e){e.stopPropagation(),t.classList.add(Bt)}))})),["dragleave","dragend","drop"].forEach((function(e){r.addEventListener(e,(function(e){e.stopPropagation(),t.classList.remove(Bt)}))}))}))},isBrowserIE:function(){return!!window.document.documentMode}};const Ft=Nt;r(4069);var Wt={init:function(){Array.from(document.querySelectorAll(".mds-form-element--character-count")).forEach((function(t){var e=t.querySelector(".mds-form-control"),r=e.getAttribute("maxlength"),n=t.querySelector(".mds-form-message--character-count"),o=t.querySelector(".js-character-count-number");e.removeAttribute("maxlength"),Wt.updateCounter(e,r,o,n),e.addEventListener("keyup",(function(t){t.stopPropagation(),Wt.updateCounter(e,r,o,n)}))}))},updateCounter:function(t,e,r,n){var o=t.value.match(/(\r\n|\n|\r)/g),i=e-(t.value.length+(o?o.length:0));r.textContent=i,i<0?n.classList.add("mds-form-message--error"):n.classList.remove("mds-form-message--error")}};const Ht=Wt;var zt={init:function(){Array.from(document.querySelectorAll(".".concat("js-mds-button-double-submit"))).forEach((function(t){t.addEventListener("click",(function(){zt.toggleDisable(t)}))}))},toggleDisable:function(t){setTimeout((function(){t.setAttribute("disabled","")}),1),setTimeout((function(){t.removeAttribute("disabled")}),1e3)}};const Gt=zt,$t=function(){Array.from(document.querySelectorAll(".mds-edited-text iframe, .mds-edited-text embed, .mds-edited-text object")).forEach((function(t){var e=document.createElement("div");e.classList.add("mds-fluid-video"),e.innerHTML=t.outerHTML,t.replaceWith(e)}))};document.addEventListener("DOMContentLoaded",(function(){u.init(),h.init(),qt.init(),Ft.init(),Ht.init(),Pt.init(),Gt.init(),$t()}))})(),(()=>{"use strict";r(7807),r(3616),r(7516),r(3105),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},writable:!0,configurable:!0}),r(9228),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw TypeError('"this" is null or not defined');var e=Object(this),r=e.length>>>0;if("function"!=typeof t)throw TypeError("predicate must be a function");for(var n=arguments[1],o=0;o<r;){var i=e[o];if(t.call(n,i,o,e))return i;o++}},configurable:!0,writable:!0})})()})();
2
+ (()=>{var e={818:()=>{window.addEventListener("hashchange",(()=>{const e=window.location.hash.trim();Array.from(document.querySelectorAll(`a[href='${e}']`)).forEach((e=>{e.click()}))}),!1)},333:()=>{Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value(e){if(null==this)throw TypeError('"this" is null or not defined');const t=Object(this),r=t.length>>>0;if("function"!=typeof e)throw TypeError("predicate must be a function");const n=arguments[1];let o=0;for(;o<r;){const r=t[o];if(e.call(n,r,o,t))return r;o++}},configurable:!0,writable:!0})},616:()=>{Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){let t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},626:()=>{"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const t=Object(e);for(let e=1;e<arguments.length;e++){const r=arguments[e];if(null!=r)for(const e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t},writable:!0,configurable:!0})},516:()=>{"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})},702:(e,t,r)=>{r.p=window.mdgx&&window.mdgx.baseUrl?window.mdgx.baseUrl:"/"},807:()=>{!function(){"use strict";if("undefined"!=typeof window&&window.addEventListener){var e,t,r,n=Object.create(null),o=function(){clearTimeout(t),t=setTimeout(e,100)},a=function(){},i=function(e){function t(e){var t;return void 0!==e.protocol?t=e:(t=document.createElement("a")).href=e,t.protocol.replace(/:/g,"")+t.host}var r,n,o;return window.XMLHttpRequest&&(r=new XMLHttpRequest,n=t(location),o=t(e),r=void 0===r.withCredentials&&""!==o&&o!==n?XDomainRequest||void 0:XMLHttpRequest),r},s="http://www.w3.org/1999/xlink";e=function(){var e,t,r,l,c,d,u,f,p,m,b=0;function v(){var e;0==(b-=1)&&(a(),window.addEventListener("resize",o,!1),window.addEventListener("orientationchange",o,!1),window.MutationObserver?((e=new MutationObserver(o)).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),a=function(){try{e.disconnect(),window.removeEventListener("resize",o,!1),window.removeEventListener("orientationchange",o,!1)}catch(e){}}):(document.documentElement.addEventListener("DOMSubtreeModified",o,!1),a=function(){document.documentElement.removeEventListener("DOMSubtreeModified",o,!1),window.removeEventListener("resize",o,!1),window.removeEventListener("orientationchange",o,!1)}))}function h(e){return function(){!0!==n[e.base]&&(e.useEl.setAttributeNS(s,"xlink:href","#"+e.hash),e.useEl.hasAttribute("href")&&e.useEl.setAttribute("href","#"+e.hash))}}function g(e){return function(){var t,r=document.body,n=document.createElement("x");e.onload=null,n.innerHTML=e.responseText,(t=n.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",r.insertBefore(t,r.firstChild)),v()}}function y(e){return function(){e.onerror=null,e.ontimeout=null,v()}}for(a(),p=document.getElementsByTagName("use"),c=0;c<p.length;c+=1){try{t=p[c].getBoundingClientRect()}catch(e){t=!1}e=(f=(l=p[c].getAttribute("href")||p[c].getAttributeNS(s,"href")||p[c].getAttribute("xlink:href"))&&l.split?l.split("#"):["",""])[0],r=f[1],d=t&&0===t.left&&0===t.right&&0===t.top&&0===t.bottom,t&&0===t.width&&0===t.height&&!d?(p[c].hasAttribute("href")&&p[c].setAttributeNS(s,"xlink:href",l),e.length&&(!0!==(m=n[e])&&setTimeout(h({useEl:p[c],base:e,hash:r}),0),void 0===m&&void 0!==(u=i(e))&&(m=new u,n[e]=m,m.onload=g(m),m.onerror=y(m),m.ontimeout=y(m),m.open("GET",e),m.send(),b+=1))):d?e.length&&n[e]&&setTimeout(h({useEl:p[c],base:e,hash:r}),0):void 0===n[e]?n[e]=!0:n[e].onload&&(n[e].abort(),delete n[e].onload,n[e]=!0)}p="",b+=1,v()},r=function(){window.removeEventListener("load",r,!1),t=setTimeout(e,0)},"complete"!==document.readyState?window.addEventListener("load",r,!1):r()}}()},435:e=>{"use strict";e.exports=JSON.parse('{"color":{"neutral":{"white":{"value":"#FFFFFF","private":true},"black":{"value":"#000000","private":true},"base":{"value":"#707070","private":true},"light":{"value":"#949494","private":true},"lighter":{"value":"#DDDDDD","private":true},"lightest":{"value":"#F8F8F8","private":true},"darker":{"value":"#333333","private":true}},"status":{"error":{"light":{"value":"#fd0826","private":true},"lightest":{"value":"#ffe3e6","private":true},"dark":{"value":"#d0021b","private":true},"darkest":{"value":"#ae0216","private":true},"base":{"value":"#e1021d","private":true}},"success":{"light":{"value":"#6ac52d","private":true},"lightest":{"value":"#f0faea","private":true},"dark":{"value":"#549b24","private":true},"darkest":{"value":"#40791B","private":true},"base":{"value":"#5ba927","private":true}},"info":{"light":{"value":"#ffc442","private":true},"lightest":{"value":"#fff7e5","private":true},"dark":{"value":"#f4aa08","private":true},"darkest":{"value":"#946500","private":true},"base":{"value":"#ffb411","private":true}}}},"size":{"baseline":{"value":"4px","private":true},"breakpoint":{"sm":{"value":"400px","private":true},"md":{"value":"600px","private":true},"lg":{"value":"1008px","private":true},"xl":{"value":"1280px","private":true}},"gutter-width":{"value":"20px","private":true}}}')}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.p="",(()=>{"use strict";r(702),r(818);const e=r(435),t="mds-tabs",n="mds-tabs__panel",o="mds-tabs__tab",a="mds-tabs__tab--selected",i="mds-tabs__panel--hidden",s=parseInt(e.size.breakpoint.lg.value,10),l={init:()=>{l.setTabs(".js-full-tabbed"),window.innerWidth>s&&l.setTabs(".js-desktop-tabbed")},setTabs:e=>{const r=Array.from(document.querySelectorAll(`${e} .${o}`)),i=Array.from(document.querySelectorAll(`${e} .mds-tabs__list`)),s=Array.from(document.querySelectorAll(`${e} .mds-tabs__list-item`)),c=Array.from(document.querySelectorAll(`${e} .${n}`));i.forEach((e=>{e.setAttribute("role","tablist")})),s.forEach((e=>{e.setAttribute("role","presentation")})),r.forEach((e=>{e.setAttribute("role","tab"),e.setAttribute("aria-controls",e.attributes.href.value.substring(1)),e.classList.contains(a)?e.setAttribute("tabindex","0"):e.setAttribute("tabindex","-1")})),c.forEach((e=>{e.setAttribute("role","tabpanel"),e.setAttribute("aria-labelledby",`label-${e.attributes.id.value}`)}));const d=document.querySelectorAll(`${e} .js-tabs-item`);Array.from(d).forEach((e=>{const r=window.location.hash.trim(),n=e.attributes.href.value,o=e.closest(`.${t}`),a=l.getAllPanels(o),i=l.getAllTabs(o),s=l.getTargetPanel(e,o);e.addEventListener("click",(t=>{t.preventDefault(),l.updateTabs(i,a,e,s,n)})),n===r&&l.updateTabs(i,a,e,s,n)})),i.forEach((e=>{const r=e.closest(`.${t}`),n=l.getAllPanels(r),o=l.getAllTabs(r);e.addEventListener("keydown",(t=>{switch(t.keyCode){case 37:case 38:t.preventDefault(),l.moveTab(e,r,o,n,!1);break;case 39:case 40:t.preventDefault(),l.moveTab(e,r,o,n,!0)}}))}))},getSelectedTab:e=>e.querySelector(`.${a}`),getPrevTab:e=>!!e.parentElement.previousSibling&&e.parentElement.previousSibling.querySelector(`.${o}`),getNextTab:e=>!!e.parentElement.nextSibling&&e.parentElement.nextSibling.querySelector(`.${o}`),getTargetPanel:(e,t)=>{const r=e.attributes.href.value;return t.querySelector(r)},getAllPanels:e=>Array.from(e.querySelectorAll(`.${n}`)),getAllTabs:e=>Array.from(e.querySelectorAll(`.${o}`)),moveTab:(e,t,r,n,o)=>{const a=l.getSelectedTab(e),i=o?l.getNextTab(a):l.getPrevTab(a);if(i){const e=i.attributes.href.value,o=l.getTargetPanel(i,t);l.updateTabs(r,n,i,o,e,!1)}},updateTabs:(e,t,r,n,o)=>{l.clearAllTabs(e),l.setActiveTab(r),l.clearAllPanels(t),l.setActivePanel(n,o)},clearAllTabs:e=>{e.forEach((e=>{e.classList.remove(a),e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1")}))},clearAllPanels:e=>{e.forEach((e=>{e.classList.add(i)}))},setActiveTab:e=>{e.classList.add(a),e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0"),e.focus()},setActivePanel:(e,t)=>{e.classList.remove(i),window.history.replaceState({},"",t)}},c=l,d="mds-accordion-trigger",u="mds-accordion-trigger__button",f="mds-accordion-trigger__label",p="mds-accordion-trigger--expanded",m="mds-accordion-content--expanded",b={init:()=>{const e=Array.from(document.querySelectorAll(`.${d}`)),t=window.innerWidth;e.forEach((e=>{const r=e.nextElementSibling;b.checkBreakpoint(e,t)?b.setAccordion(e,r):(e.classList.add(p),r.classList.add(m))}))},checkBreakpoint:(e,t)=>{let r=0;if(e.dataset.bp){const n=e.dataset.bp.replace(/\D/g,"");let o,a;switch(e.dataset.bp.replace(/[0-9]/g,"")){case"px":r=n;break;case"em":case"rem":o=window.getComputedStyle(document.querySelector("body"))["font-size"],a=n*parseFloat(o),r=a;break;default:return!0}return!(t>r)}return!0},setAccordion:(e,t)=>{const r=e,n=b.createButton(r),o=n.querySelector(`.${f}`).innerText,a=n.getAttribute("aria-label"),i=e.classList.contains("mds-accordion-trigger--non-closing"),s=e.classList.contains("mds-accordion-trigger--content-first")&&!i;r.classList.remove("mds-display-none"),"fieldset"!==t.nodeName.toLowerCase()&&(a?t.setAttribute("aria-label",a):t.setAttribute("aria-label",o)),r.innerHTML="",r.appendChild(n);const l={triggerContainer:r,accordionContent:t,isNonClosing:i,isContentFirst:s},c=e=>{e.preventDefault(),b.toggleExpand(l,c,e)};n.addEventListener("click",c),r.dataset.expanded&&b.toggleExpand(l,c)},createButton:e=>{const t=e.querySelector(`.${d} > span`),r=document.createElement("button");return r.className=u,r.classList.add("mds-button"),r.classList.add("mds-button--plain"),r.classList.add("mds-padding-x-b0"),r.setAttribute("aria-expanded",!1),r.setAttribute("type","button"),e.dataset.arialabel&&r.setAttribute("aria-label",e.dataset.arialabel),t&&r.appendChild(t),r},cloneUnderButton:(e,t,r,n)=>{const o=e.cloneNode(!0),a=o.querySelector(`.${f}`);t.dataset.arialabeactive&&o.setAttribute("aria-label",t.dataset.arialabeactive),o.setAttribute("aria-expanded",!0),o.addEventListener("click",n),b.switchAriaLabel(o,t),b.switchLabel(a),r.after(o)},switchLabel:e=>{if(e.dataset.labelinverse){const t=e.textContent;e.textContent=e.dataset.labelinverse,e.setAttribute("data-labelinverse",t)}},switchAriaLabel:(e,t)=>{t.dataset.arialabelactive&&(e.getAttribute("aria-label")===t.dataset.arialabel?e.setAttribute("aria-label",t.dataset.arialabelactive):e.setAttribute("aria-label",t.dataset.arialabel))},toggleExpand:(e,t,r)=>{let n,{triggerContainer:o,accordionContent:a,isNonClosing:i,isContentFirst:s}=e;n=r?r.target.closest(`.${u}`):o.querySelector(`.${u}`);const l=n.querySelector(`.${f}`);if("false"===n.getAttribute("aria-expanded"))n.setAttribute("aria-expanded",!0),o.classList.add(p),a.classList.add(m),s&&b.cloneUnderButton(n,o,a,t),i||s?b.hideButton(n,t):(b.switchLabel(l),b.switchAriaLabel(n,o));else if(!i&&(n.setAttribute("aria-expanded",!1),o.classList.remove(p),a.classList.remove(m),b.switchLabel(l),b.switchAriaLabel(n,o),s)){const e=a.previousElementSibling.querySelector(`.${u}`);n.setAttribute("aria-expanded",!1),n.removeAttribute("aria-disabled"),n.setAttribute("tabIndex","0"),e.replaceWith(n),o.classList.remove("mds-visually-hidden"),n.focus()}},hideButton:(e,t)=>{e.setAttribute("aria-disabled",!0),e.parentElement.classList.add("mds-visually-hidden"),e.setAttribute("tabIndex","-1"),e.removeEventListener("click",t)}},v=b;function h(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function g(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function y(e){var t=g(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function w(e){return e instanceof g(e).Element||e instanceof Element}function x(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function A(e){return"undefined"!=typeof ShadowRoot&&(e instanceof g(e).ShadowRoot||e instanceof ShadowRoot)}function E(e){return e?(e.nodeName||"").toLowerCase():null}function L(e){return((w(e)?e.ownerDocument:e.document)||window.document).documentElement}function O(e){return h(L(e)).left+y(e).scrollLeft}function S(e){return g(e).getComputedStyle(e)}function k(e){var t=S(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function T(e,t,r){void 0===r&&(r=!1);var n,o,a=L(t),i=h(e),s=x(t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!r)&&(("body"!==E(t)||k(a))&&(l=(n=t)!==g(n)&&x(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:y(n)),x(t)?((c=h(t)).x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=O(a))),{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}function j(e){var t=h(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function D(e){return"html"===E(e)?e:e.assignedSlot||e.parentNode||(A(e)?e.host:null)||L(e)}function q(e){return["html","body","#document"].indexOf(E(e))>=0?e.ownerDocument.body:x(e)&&k(e)?e:q(D(e))}function P(e,t){var r;void 0===t&&(t=[]);var n=q(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=g(n),i=o?[a].concat(a.visualViewport||[],k(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(P(D(i)))}function C(e){return["table","td","th"].indexOf(E(e))>=0}function M(e){return x(e)&&"fixed"!==S(e).position?e.offsetParent:null}function B(e){for(var t=g(e),r=M(e);r&&C(r)&&"static"===S(r).position;)r=M(r);return r&&("html"===E(r)||"body"===E(r)&&"static"===S(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&x(e)&&"fixed"===S(e).position)return null;for(var r=D(e);x(r)&&["html","body"].indexOf(E(r))<0;){var n=S(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var $="top",_="bottom",N="right",W="left",H="auto",R=[$,_,N,W],F="start",I="end",z="viewport",U="popper",V=R.reduce((function(e,t){return e.concat([t+"-"+F,t+"-"+I])}),[]),X=[].concat(R,[H]).reduce((function(e,t){return e.concat([t,t+"-"+F,t+"-"+I])}),[]),Y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||o(e)})),n}var J={placement:"bottom",modifiers:[],strategy:"absolute"};function K(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Q(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,a=void 0===o?J:o;return function(e,t,r){void 0===r&&(r=a);var o,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},J,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:s,setOptions:function(r){u(),s.options=Object.assign({},a,s.options,r),s.scrollParents={reference:w(e)?P(e):e.contextElement?P(e.contextElement):[],popper:P(t)};var o,i,c=function(e){var t=G(e);return Y.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((o=[].concat(n,s.options.modifiers),i=o.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(i).map((function(e){return i[e]}))));return s.orderedModifiers=c.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var a=o({state:s,name:t,instance:d,options:n});l.push(a||function(){})}})),d.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,r=e.popper;if(K(t,r)){s.rects={reference:T(t,B(r),"fixed"===s.options.strategy),popper:j(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var o=s.orderedModifiers[n],a=o.fn,i=o.options,l=void 0===i?{}:i,u=o.name;"function"==typeof a&&(s=a({state:s,options:l,name:u,instance:d})||s)}else s.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(e){d.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){u(),c=!0}};if(!K(e,t))return d;function u(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(r).then((function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)})),d}}var Z={passive:!0};const ee={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,s=void 0===i||i,l=g(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",r.update,Z)})),s&&l.addEventListener("resize",r.update,Z),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",r.update,Z)})),s&&l.removeEventListener("resize",r.update,Z)}},data:{}};function te(e){return e.split("-")[0]}function re(e){return e.split("-")[1]}function ne(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e){var t,r=e.reference,n=e.element,o=e.placement,a=o?te(o):null,i=o?re(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(a){case $:t={x:s,y:r.y-n.height};break;case _:t={x:s,y:r.y+r.height};break;case N:t={x:r.x+r.width,y:l};break;case W:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var c=a?ne(a):null;if(null!=c){var d="y"===c?"height":"width";switch(i){case F:t[c]=t[c]-(r[d]/2-n[d]/2);break;case I:t[c]=t[c]+(r[d]/2-n[d]/2)}}return t}const ae={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var ie=Math.max,se=Math.min,le=Math.round,ce={top:"auto",right:"auto",bottom:"auto",left:"auto"};function de(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.offsets,i=e.position,s=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,d=!0===c?function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:le(le(t*n)/n)||0,y:le(le(r*n)/n)||0}}(a):"function"==typeof c?c(a):a,u=d.x,f=void 0===u?0:u,p=d.y,m=void 0===p?0:p,b=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),h=W,y=$,w=window;if(l){var x=B(r),A="clientHeight",E="clientWidth";x===g(r)&&"static"!==S(x=L(r)).position&&(A="scrollHeight",E="scrollWidth"),o===$&&(y=_,m-=x[A]-n.height,m*=s?1:-1),o===W&&(h=N,f-=x[E]-n.width,f*=s?1:-1)}var O,k=Object.assign({position:i},l&&ce);return s?Object.assign({},k,((O={})[y]=v?"0":"",O[h]=b?"0":"",O.transform=(w.devicePixelRatio||1)<2?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",O)):Object.assign({},k,((t={})[y]=v?m+"px":"",t[h]=b?f+"px":"",t.transform="",t))}var ue={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var pe={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,(function(e){return pe[e]}))}function be(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&A(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ve(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function he(e,t){return t===z?ve(function(e){var t=g(e),r=L(e),n=t.visualViewport,o=r.clientWidth,a=r.clientHeight,i=0,s=0;return n&&(o=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,s=n.offsetTop)),{width:o,height:a,x:i+O(e),y:s}}(e)):x(t)?function(e){var t=h(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ve(function(e){var t,r=L(e),n=y(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=ie(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=ie(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+O(e),l=-n.scrollTop;return"rtl"===S(o||r).direction&&(s+=ie(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(L(e)))}function ge(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ye(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function we(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,a=r.boundary,i=void 0===a?"clippingParents":a,s=r.rootBoundary,l=void 0===s?z:s,c=r.elementContext,d=void 0===c?U:c,u=r.altBoundary,f=void 0!==u&&u,p=r.padding,m=void 0===p?0:p,b=ge("number"!=typeof m?m:ye(m,R)),v=d===U?"reference":U,g=e.elements.reference,y=e.rects.popper,A=e.elements[f?v:d],O=function(e,t,r){var n="clippingParents"===t?function(e){var t=P(D(e)),r=["absolute","fixed"].indexOf(S(e).position)>=0&&x(e)?B(e):e;return w(r)?t.filter((function(e){return w(e)&&be(e,r)&&"body"!==E(e)})):[]}(e):[].concat(t),o=[].concat(n,[r]),a=o[0],i=o.reduce((function(t,r){var n=he(e,r);return t.top=ie(n.top,t.top),t.right=se(n.right,t.right),t.bottom=se(n.bottom,t.bottom),t.left=ie(n.left,t.left),t}),he(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(w(A)?A:A.contextElement||L(e.elements.popper),i,l),k=h(g),T=oe({reference:k,element:y,strategy:"absolute",placement:o}),j=ve(Object.assign({},y,T)),q=d===U?j:k,C={top:O.top-q.top+b.top,bottom:q.bottom-O.bottom+b.bottom,left:O.left-q.left+b.left,right:q.right-O.right+b.right},M=e.modifiersData.offset;if(d===U&&M){var W=M[o];Object.keys(C).forEach((function(e){var t=[N,_].indexOf(e)>=0?1:-1,r=[$,_].indexOf(e)>=0?"y":"x";C[e]+=W[r]*t}))}return C}function xe(e,t,r){return ie(e,se(t,r))}function Ae(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ee(e){return[$,N,_,W].some((function(t){return e[t]>=0}))}var Le=Q({defaultModifiers:[ee,ae,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,a=r.adaptive,i=void 0===a||a,s=r.roundOffsets,l=void 0===s||s,c={placement:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,de(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,de(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];x(o)&&E(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});x(n)&&E(n)&&(Object.assign(n.style,a),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=void 0===o?[0,0]:o,i=X.reduce((function(e,r){return e[r]=function(e,t,r){var n=te(e),o=[W,$].indexOf(n)>=0?-1:1,a="function"==typeof r?r(Object.assign({},t,{placement:e})):r,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[W,N].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}(r,t.rects,a),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=void 0===o||o,i=r.altAxis,s=void 0===i||i,l=r.fallbackPlacements,c=r.padding,d=r.boundary,u=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,m=void 0===p||p,b=r.allowedAutoPlacements,v=t.options.placement,h=te(v),g=l||(h!==v&&m?function(e){if(te(e)===H)return[];var t=fe(e);return[me(e),t,me(t)]}(v):[fe(v)]),y=[v].concat(g).reduce((function(e,r){return e.concat(te(r)===H?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?X:l,d=re(n),u=d?s?V:V.filter((function(e){return re(e)===d})):R,f=u.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=u);var p=f.reduce((function(t,r){return t[r]=we(e,{placement:r,boundary:o,rootBoundary:a,padding:i})[te(r)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:r,boundary:d,rootBoundary:u,padding:c,flipVariations:m,allowedAutoPlacements:b}):r)}),[]),w=t.rects.reference,x=t.rects.popper,A=new Map,E=!0,L=y[0],O=0;O<y.length;O++){var S=y[O],k=te(S),T=re(S)===F,j=[$,_].indexOf(k)>=0,D=j?"width":"height",q=we(t,{placement:S,boundary:d,rootBoundary:u,altBoundary:f,padding:c}),P=j?T?N:W:T?_:$;w[D]>x[D]&&(P=fe(P));var C=fe(P),M=[];if(a&&M.push(q[k]<=0),s&&M.push(q[P]<=0,q[C]<=0),M.every((function(e){return e}))){L=S,E=!1;break}A.set(S,M)}if(E)for(var B=function(e){var t=y.find((function(t){var r=A.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return L=t,"break"},I=m?3:1;I>0&&"break"!==B(I);I--);t.placement!==L&&(t.modifiersData[n]._skip=!0,t.placement=L,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=void 0===o||o,i=r.altAxis,s=void 0!==i&&i,l=r.boundary,c=r.rootBoundary,d=r.altBoundary,u=r.padding,f=r.tether,p=void 0===f||f,m=r.tetherOffset,b=void 0===m?0:m,v=we(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),h=te(t.placement),g=re(t.placement),y=!g,w=ne(h),x="x"===w?"y":"x",A=t.modifiersData.popperOffsets,E=t.rects.reference,L=t.rects.popper,O="function"==typeof b?b(Object.assign({},t.rects,{placement:t.placement})):b,S={x:0,y:0};if(A){if(a||s){var k="y"===w?$:W,T="y"===w?_:N,D="y"===w?"height":"width",q=A[w],P=A[w]+v[k],C=A[w]-v[T],M=p?-L[D]/2:0,H=g===F?E[D]:L[D],R=g===F?-L[D]:-E[D],I=t.elements.arrow,z=p&&I?j(I):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=U[k],X=U[T],Y=xe(0,E[D],z[D]),G=y?E[D]/2-M-Y-V-O:H-Y-V-O,J=y?-E[D]/2+M+Y+X+O:R+Y+X+O,K=t.elements.arrow&&B(t.elements.arrow),Q=K?"y"===w?K.clientTop||0:K.clientLeft||0:0,Z=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,ee=A[w]+G-Z-Q,oe=A[w]+J-Z;if(a){var ae=xe(p?se(P,ee):P,q,p?ie(C,oe):C);A[w]=ae,S[w]=ae-q}if(s){var le="x"===w?$:W,ce="x"===w?_:N,de=A[x],ue=de+v[le],fe=de-v[ce],pe=xe(p?se(ue,ee):ue,de,p?ie(fe,oe):fe);A[x]=pe,S[x]=pe-de}}t.modifiersData[n]=S}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,i=r.modifiersData.popperOffsets,s=te(r.placement),l=ne(s),c=[W,N].indexOf(s)>=0?"height":"width";if(a&&i){var d=function(e,t){return ge("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ye(e,R))}(o.padding,r),u=j(a),f="y"===l?$:W,p="y"===l?_:N,m=r.rects.reference[c]+r.rects.reference[l]-i[l]-r.rects.popper[c],b=i[l]-r.rects.reference[l],v=B(a),h=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,g=m/2-b/2,y=d[f],w=h-u[c]-d[p],x=h/2-u[c]/2+g,A=xe(y,x,w),E=l;r.modifiersData[n]=((t={})[E]=A,t.centerOffset=A-x,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&be(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=we(t,{elementContext:"reference"}),s=we(t,{altBoundary:!0}),l=Ae(i,n),c=Ae(s,o,a),d=Ee(l),u=Ee(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]}),Oe=r(435);const Se=parseInt(Oe.size.baseline.value,10),ke="mds-popover--active",Te={init:()=>{Array.from(document.querySelectorAll(".js-mds-popover-trigger")).forEach((e=>{const t=`${e.getAttribute("id")}-content`,r=document.getElementById(t),n=r.dataset?r.dataset.placement:null,o=Le(e,r,{placement:n||"top-end",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,3*Se]}},{name:"arrow",options:{padding:5}}]});e.setAttribute("aria-expanded","false"),r.setAttribute("aria-hidden","true"),e.addEventListener("click",(t=>{t.preventDefault(),o.update(),r.classList.toggle(ke),Te.setAriaAttr(e,r,ke)})),document.addEventListener("mousedown",(t=>{Te.hide(e,r,o,ke,t)})),document.addEventListener("keydown",(t=>{Te.hide(e,r,o,ke,t)}))}))},hide:(e,t,r,n,o)=>{e.contains(o.target)||r.state.elements.popper.contains(o.target)||!t.classList.contains(n)||(t.classList.remove(n),Te.setAriaAttr(e,t,n))},setAriaAttr:(e,t,r)=>{t.classList.contains(r)?(e.setAttribute("aria-expanded","true"),t.removeAttribute("aria-hidden")):(e.setAttribute("aria-expanded","false"),t.setAttribute("aria-hidden","true"))}},je=Te,De=r(435),qe=parseInt(De.size.breakpoint.md.value,10),Pe="data-modal-id",Ce="mds-modal--active";let Me;const Be={init:()=>{window.innerWidth>qe&&Array.from(document.querySelectorAll(`[${Pe}]`)).forEach((e=>{const t=e.getAttribute(Pe),r=document.getElementById(t),n=Array.from(r.querySelectorAll(".js-mds-modal-close")),o=r.getAttribute("data-site-container"),a=document.getElementById(o);let i=r.querySelectorAll('a[href], area[href], input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]');i=Array.prototype.slice.call(i);const s=i[0],l=i[i.length-1];e.addEventListener("click",(e=>{e.preventDefault(),Be.open(r,s,a)})),r.addEventListener("click",(e=>{e.target===r&&Be.close(r,Me,a)})),r.addEventListener("keydown",(e=>{Be.trapFocus(e,s,l),"Escape"!==e.key&&"Esc"!==e.key||Be.close(r,Me,a)})),n.forEach((e=>{e.addEventListener("click",(()=>{Be.close(r,Me,a)}))}))}))},open:(e,t,r)=>{Me=document.activeElement,e.classList.add(Ce),t.focus(),r.setAttribute("aria-hidden","true")},close:(e,t,r)=>{r.removeAttribute("aria-hidden"),e.classList.remove(Ce),t.focus()},trapFocus:(e,t,r)=>{"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),t.focus()))}},$e=Be,_e="mds-form-element--selected-file",Ne="mds-form-element--dragover",We={init:()=>{We.isBrowserIE()||Array.from(document.querySelectorAll(".mds-form-element--file")).forEach((e=>{e.classList.add("mds-form-element--file-supported");const t=e.querySelector(".mds-file-upload__file-name"),r=e.querySelector("input[type=file]"),n=e.querySelector(".mds-file-upload__remove-button");r.addEventListener("change",(()=>{r.files&&r.files.length&&(t.textContent=r.files[0].name,e.classList.add(_e),n.focus())})),n.addEventListener("click",(n=>{n.preventDefault(),r.value="",t.textContent="",e.classList.remove(_e),r.focus()})),["dragover","dragenter"].forEach((t=>{r.addEventListener(t,(t=>{t.stopPropagation(),e.classList.add(Ne)}))})),["dragleave","dragend","drop"].forEach((t=>{r.addEventListener(t,(t=>{t.stopPropagation(),e.classList.remove(Ne)}))}))}))},isBrowserIE:()=>!!window.document.documentMode},He=We,Re={init:()=>{Array.from(document.querySelectorAll(".mds-form-element--character-count")).forEach((e=>{const t=e.querySelector(".mds-form-control"),r=t.getAttribute("maxlength"),n=e.querySelector(".mds-form-message--character-count"),o=e.querySelector(".js-character-count-number");t.removeAttribute("maxlength"),Re.updateCounter(t,r,o,n),t.addEventListener("keyup",(e=>{e.stopPropagation(),Re.updateCounter(t,r,o,n)}))}))},updateCounter:(e,t,r,n)=>{const o=e.value.match(/(\r\n|\n|\r)/g),a=t-(e.value.length+(o?o.length:0));r.textContent=a,a<0?n.classList.add("mds-form-message--error"):n.classList.remove("mds-form-message--error")}},Fe=Re,Ie={init:()=>{Array.from(document.querySelectorAll(".js-mds-button-double-submit")).forEach((e=>{e.addEventListener("click",(()=>{Ie.toggleDisable(e)}))}))},toggleDisable:e=>{setTimeout((()=>{e.setAttribute("disabled","")}),1),setTimeout((()=>{e.removeAttribute("disabled")}),1e3)}},ze=Ie,Ue=()=>{Array.from(document.querySelectorAll(".mds-edited-text iframe, .mds-edited-text embed, .mds-edited-text object")).forEach((e=>{const t=document.createElement("div");t.classList.add("mds-fluid-video"),t.innerHTML=e.outerHTML,e.replaceWith(t)}))};document.addEventListener("DOMContentLoaded",(()=>{c.init(),v.init(),$e.init(),He.init(),Fe.init(),je.init(),ze.init(),Ue()}))})(),(()=>{"use strict";r(807),r(616),r(516),r(626),r(333)})()})();
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@madgex/design-system",
3
3
  "author": "Madgex",
4
4
  "license": "UNLICENSED",
5
- "version": "5.11.3",
5
+ "version": "6.0.1",
6
6
  "main": "dist/js/index.js",
7
7
  "files": [
8
8
  "dist",
@@ -12,7 +12,7 @@
12
12
  "scripts": {
13
13
  "clean": "rimraf dist public tokens/build",
14
14
  "commit": "commit",
15
- "tokens": "style-dictionary --config ./src/tokens/_config.js build",
15
+ "tokens": "style-dictionary build --config ./src/tokens/_config.js",
16
16
  "dev": "cross-env NODE_ENV=development gulp dev",
17
17
  "debug": "node --inspect ./node_modules/.bin/gulp dev",
18
18
  "build": "gulp build",
@@ -78,7 +78,7 @@
78
78
  "rimraf": "^3.0.2",
79
79
  "sass": "^1.35.2",
80
80
  "sass-loader": "^12.1.0",
81
- "style-dictionary": "^3.0.1",
81
+ "style-dictionary": "^3.9.2",
82
82
  "style-loader": "^3.0.0",
83
83
  "svg-sprite-loader": "^6.0.9",
84
84
  "svgo": "^2.8.0",
@@ -89,5 +89,5 @@
89
89
  "webpack-dev-server": "^3.11.2",
90
90
  "webpack-stream": "^6.1.2"
91
91
  },
92
- "gitHead": "fc3f684e2dfa5936913083f9815192197df62bdd"
92
+ "gitHead": "d1c0fc4d6451b15d55f61d4c55139f1363d7cf43"
93
93
  }
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <link rel="stylesheet" href="{{ '/_tokens/css/_tokens.css' | path }}" />
6
7
  <link rel="stylesheet" href="{{ '/css/index.css' | path }}" />
7
8
  <link rel="stylesheet" href="{{ '/assets/css/styles.css' | path }}" />
8
9
 
@@ -1,76 +1,89 @@
1
1
  .mds-button {
2
+ --button-background: var(--mds-color-button-bg-base);
3
+ --button-border-color-top: var(--mds-color-button-border-top);
4
+ --button-border-color-right: var(--mds-color-button-border-right);
5
+ --button-border-color-bottom: var(--mds-color-button-border-bottom);
6
+ --button-border-color-left: var(--mds-color-button-border-left);
7
+ --button-border-color: var(--button-border-color-top) var(--button-border-color-right)
8
+ var(--button-border-color-bottom) var(--button-border-color-left);
9
+ --button-border-width: var(--mds-size-border-width-button);
10
+ --button-text-color: var(--mds-color-button-text-base);
11
+ --button-font-family: var(--mds-font-family-button-base);
12
+ --button-font-weight: var(--mds-font-weight-button-base);
13
+ --button-text-transform: var(--mds-text-transform-button);
14
+
2
15
  cursor: pointer;
3
16
  user-select: none;
4
17
  -webkit-appearance: none;
5
18
  width: auto;
6
- border: $mds-size-border-width-button solid;
7
- border-top-color: $mds-color-button-border-top;
8
- border-right-color: $mds-color-button-border-right;
9
- border-bottom-color: $mds-color-button-border-bottom;
10
- border-left-color: $mds-color-button-border-left;
11
- border-radius: $mds-size-border-radius-button;
12
19
 
13
- background: $mds-color-button-bg-base;
14
- padding: ($mds-size-baseline * 3) ($mds-size-baseline * 5);
20
+ background: var(--button-background);
21
+ border: var(--button-border-width) solid;
22
+ border-color: var(--button-border-color);
23
+ border-radius: var(--mds-size-border-radius-button);
24
+
25
+ padding: ($scss-var-size-baseline * 3) ($scss-var-size-baseline * 5);
15
26
  display: inline-block;
16
27
  text-align: center;
17
- color: $mds-color-button-text-base;
28
+ color: var(--button-text-color);
18
29
  @extend .mds-font-body-copy;
19
- font-family: $mds-font-family-button-base;
20
- font-weight: $mds-font-weight-button-base;
21
- text-transform: $mds-text-transform-button;
30
+ font-family: var(--button-font-family);
31
+ font-weight: var(--button-font-weight);
32
+ text-transform: var(--mds-text-transform-button);
22
33
 
23
34
  &:hover,
24
35
  &:focus {
25
- background: $mds-color-button-bg-hover;
36
+ --button-background: var(--mds-color-button-bg-hover);
37
+ --button-border-color-top: var(--mds-color-button-border-hover-top);
38
+ --button-border-color-right: var(--mds-color-button-border-hover-right);
39
+ --button-border-color-bottom: var(--mds-color-button-border-hover-bottom);
40
+ --button-border-color-left: var(--mds-color-button-border-hover-left);
41
+ --button-text-color: var(--mds-color-button-text-hover);
42
+
26
43
  text-decoration: none;
27
- color: $mds-color-button-text-hover;
28
- border-top-color: $mds-color-button-border-hover-top;
29
- border-right-color: $mds-color-button-border-hover-right;
30
- border-bottom-color: $mds-color-button-border-hover-bottom;
31
- border-left-color: $mds-color-button-border-hover-left;
32
44
  }
33
45
  }
34
46
 
35
47
  .mds-button--small {
36
- padding: ($mds-size-baseline * 2) ($mds-size-baseline * 3);
48
+ padding: ($scss-var-size-baseline * 2) ($scss-var-size-baseline * 3);
37
49
  }
38
50
 
39
51
  .mds-button--large {
40
- padding: ($mds-size-baseline * 4) ($mds-size-baseline * 6);
52
+ padding: ($scss-var-size-baseline * 4) ($scss-var-size-baseline * 6);
41
53
  }
42
54
 
43
55
  .mds-button--icon {
44
- padding: ($mds-size-baseline * 2) ($mds-size-baseline * 3);
56
+ padding: ($scss-var-size-baseline * 2) ($scss-var-size-baseline * 3);
45
57
  }
46
58
 
47
59
  .mds-button--plain {
48
- background: transparent;
49
- color: $mds-color-link-base;
50
- font-weight: $mds-font-weight-link-base;
51
- font-family: inherit;
52
- border-color: transparent;
53
- text-transform: none;
60
+ --button-background: transparent;
61
+ --button-border-color: transparent;
62
+ --button-text-color: var(--mds-color-link-base);
63
+ --button-font-family: inherit;
64
+ --button-font-weight: var(--mds-font-weight-link-base);
65
+ --button-text-transform: none;
54
66
 
55
67
  &:hover,
56
68
  &:focus {
57
- background: transparent;
58
- color: $mds-color-link-hover;
69
+ --button-background: transparent;
70
+ --button-text-color: var(--mds-color-link-hover);
71
+ --button-border-color: transparent;
72
+
59
73
  text-decoration: underline;
60
- border-color: transparent;
61
74
  }
62
75
  }
63
76
 
64
77
  .mds-button--neutral {
65
- background: $mds-color-neutral-white;
66
- color: $mds-color-text-base;
67
- border-color: $mds-color-neutral-lighter;
68
- border-width: 1px;
78
+ --button-background: #{$scss-var-color-neutral-white};
79
+ --button-text-color: var(--mds-color-text-base);
80
+ --button-border-color: #{$scss-var-color-neutral-lighter};
81
+ --button-border-width: 1px;
69
82
 
70
83
  &:hover,
71
84
  &:focus {
72
- background: $mds-color-neutral-lighter;
73
- color: $mds-color-text-base;
74
- border-color: $mds-color-neutral-lighter;
85
+ --button-background: #{$scss-var-color-neutral-lighter};
86
+ --button-text-color: var(--mds-color-text-base);
87
+ --button-border-color: #{$scss-var-color-neutral-lighter};
75
88
  }
76
89
  }
@@ -10,7 +10,7 @@ The card component adds a border and padding around the content.
10
10
 
11
11
  ### `classes` parameter
12
12
 
13
- Use the class `mds-card--highlighted` in the `classes` parameter to apply a grey background to the card (colour: $mds-color-neutral-lightest)
13
+ Use the class `mds-card--highlighted` in the `classes` parameter to apply a grey background to the card (colour: $scss-var-color-neutral-lightest)
14
14
 
15
15
  You can customise the `background`, `border` and add a `box-shadow` using the custom brand tokens and passing the class newly created as a parameter. `mds-card--[id of the custom style]`. In the example below, it would be `mds-card--1`.
16
16
 
@@ -4,7 +4,7 @@
4
4
  {%- for name, value in params.badges -%}
5
5
  <div class="mds-badge-container__column mds-badge-container__column--{{ name }}">
6
6
  {%- for badge in value -%}
7
- <p class="mds-badge mds-badge--{{ badge.styleId }}">{{ badge.label }}</p>
7
+ <p class="mds-badge{% if badge.styleId %} mds-badge--{{ badge.styleId }}{% endif %}" data-card-badge="{{ badge.styleId }}">{{ badge.label }}</p>
8
8
  {%- endfor -%}
9
9
  </div>
10
10
  {%- endfor -%}
@@ -51,7 +51,6 @@ module.exports = {
51
51
  left: [
52
52
  {
53
53
  label: 'Top Job',
54
- styleId: '1',
55
54
  },
56
55
  ],
57
56
  right: [
@@ -61,7 +60,7 @@ module.exports = {
61
60
  },
62
61
  {
63
62
  label: 'New',
64
- styleId: '2',
63
+ styleId: 'new',
65
64
  },
66
65
  ],
67
66
  },