summaryrefslogtreecommitdiff
path: root/backend/offer_refund.en.html
diff options
context:
space:
mode:
Diffstat (limited to 'backend/offer_refund.en.html')
-rw-r--r--backend/offer_refund.en.html3746
1 files changed, 28 insertions, 3718 deletions
diff --git a/backend/offer_refund.en.html b/backend/offer_refund.en.html
index 528cf3ba9..4b1a9786f 100644
--- a/backend/offer_refund.en.html
+++ b/backend/offer_refund.en.html
@@ -1,9 +1,10 @@
-<!doctype html>
-<html>
- <head>
- <meta charSet="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><noscript><meta http-equiv="refresh" content="1" /></noscript><title>Refund available for {{ order_summary }}</title>
- <style>/*!
+ <!doctype html>
+ <html>
+ <head>
+ <meta charSet="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><noscript><meta http-equiv="refresh" content="1" /></noscript><title>Refund available for {{ order_summary }}</title>
+ <style>.q1ma0zxq{margin:auto;text-align:center;width:340px}.fef0x5t{text-align:center;background-color:#033;color:#fff;padding:1em;overflow:auto}.fef0x5t>p>a:link,.fef0x5t>p>a:visited,.fef0x5t>p>a:hover,.fef0x5t>p>a:active{color:#fff}.p1b3vqup{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;min-height:100vh;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p1b3vqup a:link,.p1b3vqup a:visited,.p1b3vqup a:hover,.p1b3vqup a:active{color:#000}.p1b3vqup section{text-align:center;width:600px;margin-bottom:auto}.p1b3vqup section:not(:first-of-type){margin-top:2em}.p1b3vqup>header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;text-align:center}.p1b3vqup>footer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:space-around;-webkit-justify-content:space-around;-ms-flex-pack:space-around;justify-content:space-around;width:100%;margin-bottom:0}.c1gnd3xp{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.wpwjmk{display:inline-block;zoom:1;line-height:normal;white-space:nowrap;vertical-align:middle;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;text-transform:var(--wpwjmk-0);font-family:inherit;font-size:100%;padding:.5em 1em;color:#444;color:#000c;border:1px solid #999;border:none rgba(0,0,0,0);background-color:"#e6e6e6";-webkit-text-decoration:none;text-decoration:none;background-color:#e6e6e6;border-radius:4px;text-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:0 0 0 1px #00000026 inset,0 0 6px #0003 inset;border-color:#000}.wpwjmk:focus{outline:0}.wpwjmk:disabled{border:none;background-image:none;-webkit-filter:alpha(opacity=40);filter:alpha(opacity=40);opacity:.4;cursor:not-allowed;box-shadow:none;pointer-events:none}.wpwjmk:hover{-webkit-filter:alpha(opacity=90);filter:alpha(opacity=90);background-image:linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1))}.i1pkgksb{border-radius:.25em;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:1em;border:solid 1px #b8daff;background-color:#cce5ff;color:#004085}.t2c81u8{text-align:left}.t2c81u8 dt{font-weight:700;margin-top:1em}.t2c81u8 dd{margin-inline-start:0px}.t1mav7fx{text-align:left}.t1mav7fx dt{font-weight:700;display:inline-block;width:30%}.t1mav7fx dd{margin-inline-start:0px;display:inline-block;width:70%}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html{font-family:sans-serif}.hidden,[hidden]{display:none!important}.pure-img{max-width:100%;height:auto;display:block}.pure-g{letter-spacing:-.31em;text-rendering:optimizespeed;font-family:FreeSans,Arimo,Droid Sans,Helvetica,Arial,sans-serif;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-line-pack:start;align-content:flex-start}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){table .pure-g{display:block}}.opera-only :-o-prefocus,.pure-g{word-spacing:-.43em}.pure-u{display:inline-block;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-g [class*=pure-u]{font-family:sans-serif}.pure-u-1,.pure-u-1-1,.pure-u-1-12,.pure-u-1-2,.pure-u-1-24,.pure-u-1-3,.pure-u-1-4,.pure-u-1-5,.pure-u-1-6,.pure-u-1-8,.pure-u-10-24,.pure-u-11-12,.pure-u-11-24,.pure-u-12-24,.pure-u-13-24,.pure-u-14-24,.pure-u-15-24,.pure-u-16-24,.pure-u-17-24,.pure-u-18-24,.pure-u-19-24,.pure-u-2-24,.pure-u-2-3,.pure-u-2-5,.pure-u-20-24,.pure-u-21-24,.pure-u-22-24,.pure-u-23-24,.pure-u-24-24,.pure-u-3-24,.pure-u-3-4,.pure-u-3-5,.pure-u-3-8,.pure-u-4-24,.pure-u-4-5,.pure-u-5-12,.pure-u-5-24,.pure-u-5-5,.pure-u-5-6,.pure-u-5-8,.pure-u-6-24,.pure-u-7-12,.pure-u-7-24,.pure-u-7-8,.pure-u-8-24,.pure-u-9-24{display:inline-block;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-u-1-24{width:4.1667%}.pure-u-1-12,.pure-u-2-24{width:8.3333%}.pure-u-1-8,.pure-u-3-24{width:12.5%}.pure-u-1-6,.pure-u-4-24{width:16.6667%}.pure-u-1-5{width:20%}.pure-u-5-24{width:20.8333%}.pure-u-1-4,.pure-u-6-24{width:25%}.pure-u-7-24{width:29.1667%}.pure-u-1-3,.pure-u-8-24{width:33.3333%}.pure-u-3-8,.pure-u-9-24{width:37.5%}.pure-u-2-5{width:40%}.pure-u-10-24,.pure-u-5-12{width:41.6667%}.pure-u-11-24{width:45.8333%}.pure-u-1-2,.pure-u-12-24{width:50%}.pure-u-13-24{width:54.1667%}.pure-u-14-24,.pure-u-7-12{width:58.3333%}.pure-u-3-5{width:60%}.pure-u-15-24,.pure-u-5-8{width:62.5%}.pure-u-16-24,.pure-u-2-3{width:66.6667%}.pure-u-17-24{width:70.8333%}.pure-u-18-24,.pure-u-3-4{width:75%}.pure-u-19-24{width:79.1667%}.pure-u-4-5{width:80%}.pure-u-20-24,.pure-u-5-6{width:83.3333%}.pure-u-21-24,.pure-u-7-8{width:87.5%}.pure-u-11-12,.pure-u-22-24{width:91.6667%}.pure-u-23-24{width:95.8333%}.pure-u-1,.pure-u-1-1,.pure-u-24-24,.pure-u-5-5{width:100%}.pure-button{display:inline-block;line-height:normal;white-space:nowrap;vertical-align:middle;text-align:center;cursor:pointer;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box}.pure-button::-moz-focus-inner{padding:0;border:0}.pure-button-group{letter-spacing:-.31em;text-rendering:optimizespeed}.opera-only :-o-prefocus,.pure-button-group{word-spacing:-.43em}.pure-button-group .pure-button{letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-button{font-family:inherit;font-size:100%;padding:.5em 1em;color:#000c;border:none transparent;background-color:#e6e6e6;text-decoration:none;border-radius:2px}.pure-button-hover,.pure-button:focus,.pure-button:hover{background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),color-stop(40%,rgba(0,0,0,.05)),to(rgba(0,0,0,.1)));background-image:linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1))}.pure-button:focus{outline:0}.pure-button-active,.pure-button:active{-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.15) inset,0 0 6px rgba(0,0,0,.2) inset;box-shadow:0 0 0 1px #00000026 inset,0 0 6px #0003 inset;border-color:#000}.pure-button-disabled,.pure-button-disabled:active,.pure-button-disabled:focus,.pure-button-disabled:hover,.pure-button[disabled]{border:none;background-image:none;opacity:.4;cursor:not-allowed;-webkit-box-shadow:none;box-shadow:none;pointer-events:none}.pure-button-hidden{display:none}.pure-button-primary,.pure-button-selected,a.pure-button-primary,a.pure-button-selected{background-color:#0078e7;color:#fff}.pure-button-group .pure-button{margin:0;border-radius:0;border-right:1px solid rgba(0,0,0,.2)}.pure-button-group .pure-button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.pure-button-group .pure-button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:none}.pure-form input[type=color],.pure-form input[type=date],.pure-form input[type=datetime-local],.pure-form input[type=datetime],.pure-form input[type=email],.pure-form input[type=month],.pure-form input[type=number],.pure-form input[type=password],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=text],.pure-form input[type=time],.pure-form input[type=url],.pure-form input[type=week],.pure-form select,.pure-form textarea{padding:.5em .6em;display:inline-block;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 3px #ddd;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}.pure-form input:not([type]){padding:.5em .6em;display:inline-block;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 3px #ddd;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box}.pure-form input[type=color]{padding:.2em .5em}.pure-form input[type=color]:focus,.pure-form input[type=date]:focus,.pure-form input[type=datetime-local]:focus,.pure-form input[type=datetime]:focus,.pure-form input[type=email]:focus,.pure-form input[type=month]:focus,.pure-form input[type=number]:focus,.pure-form input[type=password]:focus,.pure-form input[type=search]:focus,.pure-form input[type=tel]:focus,.pure-form input[type=text]:focus,.pure-form input[type=time]:focus,.pure-form input[type=url]:focus,.pure-form input[type=week]:focus,.pure-form select:focus,.pure-form textarea:focus{outline:0;border-color:#129fea}.pure-form input:not([type]):focus{outline:0;border-color:#129fea}.pure-form input[type=checkbox]:focus,.pure-form input[type=file]:focus,.pure-form input[type=radio]:focus{outline:thin solid #129fea;outline:1px auto #129fea}.pure-form .pure-checkbox,.pure-form .pure-radio{margin:.5em 0;display:block}.pure-form input[type=color][disabled],.pure-form input[type=date][disabled],.pure-form input[type=datetime-local][disabled],.pure-form input[type=datetime][disabled],.pure-form input[type=email][disabled],.pure-form input[type=month][disabled],.pure-form input[type=number][disabled],.pure-form input[type=password][disabled],.pure-form input[type=search][disabled],.pure-form input[type=tel][disabled],.pure-form input[type=text][disabled],.pure-form input[type=time][disabled],.pure-form input[type=url][disabled],.pure-form input[type=week][disabled],.pure-form select[disabled],.pure-form textarea[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input:not([type])[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input[readonly],.pure-form select[readonly],.pure-form textarea[readonly]{background-color:#eee;color:#777;border-color:#ccc}.pure-form input:focus:invalid,.pure-form select:focus:invalid,.pure-form textarea:focus:invalid{color:#b94a48;border-color:#e9322d}.pure-form input[type=checkbox]:focus:invalid:focus,.pure-form input[type=file]:focus:invalid:focus,.pure-form input[type=radio]:focus:invalid:focus{outline-color:#e9322d}.pure-form select{height:2.25em;border:1px solid #ccc;background-color:#fff}.pure-form select[multiple]{height:auto}.pure-form label{margin:.5em 0 .2em}.pure-form fieldset{margin:0;padding:.35em 0 .75em;border:0}.pure-form legend{display:block;width:100%;padding:.3em 0;margin-bottom:.3em;color:#333;border-bottom:1px solid #e5e5e5}.pure-form-stacked input[type=color],.pure-form-stacked input[type=date],.pure-form-stacked input[type=datetime-local],.pure-form-stacked input[type=datetime],.pure-form-stacked input[type=email],.pure-form-stacked input[type=file],.pure-form-stacked input[type=month],.pure-form-stacked input[type=number],.pure-form-stacked input[type=password],.pure-form-stacked input[type=search],.pure-form-stacked input[type=tel],.pure-form-stacked input[type=text],.pure-form-stacked input[type=time],.pure-form-stacked input[type=url],.pure-form-stacked input[type=week],.pure-form-stacked label,.pure-form-stacked select,.pure-form-stacked textarea{display:block;margin:.25em 0}.pure-form-stacked input:not([type]){display:block;margin:.25em 0}.pure-form-aligned input,.pure-form-aligned select,.pure-form-aligned textarea,.pure-form-message-inline{display:inline-block;vertical-align:middle}.pure-form-aligned textarea{vertical-align:top}.pure-form-aligned .pure-control-group{margin-bottom:.5em}.pure-form-aligned .pure-control-group label{text-align:right;display:inline-block;vertical-align:middle;width:10em;margin:0 1em 0 0}.pure-form-aligned .pure-controls{margin:1.5em 0 0 11em}.pure-form .pure-input-rounded,.pure-form input.pure-input-rounded{border-radius:2em;padding:.5em 1em}.pure-form .pure-group fieldset{margin-bottom:10px}.pure-form .pure-group input,.pure-form .pure-group textarea{display:block;padding:10px;margin:0 0 -1px;border-radius:0;position:relative;top:-1px}.pure-form .pure-group input:focus,.pure-form .pure-group textarea:focus{z-index:3}.pure-form .pure-group input:first-child,.pure-form .pure-group textarea:first-child{top:1px;border-radius:4px 4px 0 0;margin:0}.pure-form .pure-group input:first-child:last-child,.pure-form .pure-group textarea:first-child:last-child{top:1px;border-radius:4px;margin:0}.pure-form .pure-group input:last-child,.pure-form .pure-group textarea:last-child{top:-2px;border-radius:0 0 4px 4px;margin:0}.pure-form .pure-group button{margin:.35em 0}.pure-form .pure-input-1{width:100%}.pure-form .pure-input-3-4{width:75%}.pure-form .pure-input-2-3{width:66%}.pure-form .pure-input-1-2{width:50%}.pure-form .pure-input-1-3{width:33%}.pure-form .pure-input-1-4{width:25%}.pure-form-message-inline{display:inline-block;padding-left:.3em;color:#666;vertical-align:middle;font-size:.875em}.pure-form-message{display:block;color:#666;font-size:.875em}@media only screen and (max-width: 480px){.pure-form button[type=submit]{margin:.7em 0 0}.pure-form input:not([type]),.pure-form input[type=color],.pure-form input[type=date],.pure-form input[type=datetime-local],.pure-form input[type=datetime],.pure-form input[type=email],.pure-form input[type=month],.pure-form input[type=number],.pure-form input[type=password],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=text],.pure-form input[type=time],.pure-form input[type=url],.pure-form input[type=week],.pure-form label{margin-bottom:.3em;display:block}.pure-group input:not([type]),.pure-group input[type=color],.pure-group input[type=date],.pure-group input[type=datetime-local],.pure-group input[type=datetime],.pure-group input[type=email],.pure-group input[type=month],.pure-group input[type=number],.pure-group input[type=password],.pure-group input[type=search],.pure-group input[type=tel],.pure-group input[type=text],.pure-group input[type=time],.pure-group input[type=url],.pure-group input[type=week]{margin-bottom:0}.pure-form-aligned .pure-control-group label{margin-bottom:.3em;text-align:left;display:block;width:100%}.pure-form-aligned .pure-controls{margin:1.5em 0 0}.pure-form-message,.pure-form-message-inline{display:block;font-size:.75em;padding:.2em 0 .8em}}.pure-menu{-webkit-box-sizing:border-box;box-sizing:border-box}.pure-menu-fixed{position:fixed;left:0;top:0;z-index:3}.pure-menu-item,.pure-menu-list{position:relative}.pure-menu-list{list-style:none;margin:0;padding:0}.pure-menu-item{padding:0;margin:0;height:100%}.pure-menu-heading,.pure-menu-link{display:block;text-decoration:none;white-space:nowrap}.pure-menu-horizontal{width:100%;white-space:nowrap}.pure-menu-horizontal .pure-menu-list{display:inline-block}.pure-menu-horizontal .pure-menu-heading,.pure-menu-horizontal .pure-menu-item,.pure-menu-horizontal .pure-menu-separator{display:inline-block;vertical-align:middle}.pure-menu-item .pure-menu-item{display:block}.pure-menu-children{display:none;position:absolute;left:100%;top:0;margin:0;padding:0;z-index:3}.pure-menu-horizontal .pure-menu-children{left:0;top:auto;width:inherit}.pure-menu-active>.pure-menu-children,.pure-menu-allow-hover:hover>.pure-menu-children{display:block;position:absolute}.pure-menu-has-children>.pure-menu-link:after{padding-left:.5em;content:"\25b8";font-size:small}.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after{content:"\25be"}.pure-menu-scrollable{overflow-y:scroll;overflow-x:hidden}.pure-menu-scrollable .pure-menu-list{display:block}.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list{display:inline-block}.pure-menu-horizontal.pure-menu-scrollable{white-space:nowrap;overflow-y:hidden;overflow-x:auto;padding:.5em 0}.pure-menu-horizontal .pure-menu-children .pure-menu-separator,.pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-separator{width:1px;height:1.3em;margin:0 .3em}.pure-menu-horizontal .pure-menu-children .pure-menu-separator{display:block;width:auto}.pure-menu-heading{text-transform:uppercase;color:#565d64}.pure-menu-link{color:#777}.pure-menu-children{background-color:#fff}.pure-menu-disabled,.pure-menu-heading,.pure-menu-link{padding:.5em 1em}.pure-menu-disabled{opacity:.5}.pure-menu-disabled .pure-menu-link:hover{background-color:transparent}.pure-menu-active>.pure-menu-link,.pure-menu-link:focus,.pure-menu-link:hover{background-color:#eee}.pure-menu-selected>.pure-menu-link,.pure-menu-selected>.pure-menu-link:visited{color:#000}.pure-table{border-collapse:collapse;border-spacing:0;empty-cells:show;border:1px solid #cbcbcb}.pure-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.pure-table td,.pure-table th{border-left:1px solid #cbcbcb;border-width:0 0 0 1px;font-size:inherit;margin:0;overflow:visible;padding:.5em 1em}.pure-table thead{background-color:#e0e0e0;color:#000;text-align:left;vertical-align:bottom}.pure-table td{background-color:transparent}.pure-table-odd td{background-color:#f2f2f2}.pure-table-striped tr:nth-child(2n-1) td{background-color:#f2f2f2}.pure-table-bordered td{border-bottom:1px solid #cbcbcb}.pure-table-bordered tbody>tr:last-child>td{border-bottom-width:0}.pure-table-horizontal td,.pure-table-horizontal th{border-width:0 0 1px 0;border-bottom:1px solid #cbcbcb}.pure-table-horizontal tbody>tr:last-child>td{border-bottom-width:0}.talerbar{text-align:center}.tt{font-family:Lucida Console,Monaco,monospace}.content{overflow-x:auto;padding-left:15%;padding-right:15%}.qr{margin:auto;text-align:center}.qrtext{width:max-content;margin:auto;transition:font-size .2s;font-family:Lucida Console,Monaco,monospace;font-size:.5em}.qrtext:hover{font-size:1em}.talerbar{margin:0;bottom:0;background-color:#033;color:#fff;width:100%;padding:1em;overflow:auto}body{overflow-y:scroll}@media (min-width: 500px){.content{padding-bottom:2em;overflow-y:auto}}#main a:link,#main a:visited,#main a:hover,#main a:active{color:#000}
+/*!
Pure v2.0.3
Copyright 2013 Yahoo!
Licensed under the BSD License.
@@ -14,968 +15,6 @@
Copyright (c) Nicolas Gallagher and Jonathan Neal
*/
/*! normalize.cs s v8.0.1 | MIT License | github.com/necolas/normalize.cs s */
-
-.talerbar {
- text-align: center;
-}
-
-html {
- line-height: 1.15;
- -webkit-text-size-adjust: 100%;
-}
-body {
- margin: 0;
-}
-main {
- display: block;
-}
-h1 {
- font-size: 2em;
- margin: 0.67em 0;
-}
-hr {
- -webkit-box-sizing: content-box;
- box-sizing: content-box;
- height: 0;
- overflow: visible;
-}
-pre {
- font-family: monospace, monospace;
- font-size: 1em;
-}
-a {
- background-color: transparent;
-}
-abbr[title] {
- border-bottom: none;
- text-decoration: underline;
- -webkit-text-decoration: underline dotted;
- text-decoration: underline dotted;
-}
-b,
-strong {
- font-weight: bolder;
-}
-code,
-kbd,
-samp {
- font-family: monospace, monospace;
- font-size: 1em;
-}
-small {
- font-size: 80%;
-}
-sub,
-sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
-}
-sub {
- bottom: -0.25em;
-}
-sup {
- top: -0.5em;
-}
-img {
- border-style: none;
-}
-button,
-input,
-optgroup,
-select,
-textarea {
- font-family: inherit;
- font-size: 100%;
- line-height: 1.15;
- margin: 0;
-}
-button,
-input {
- overflow: visible;
-}
-button,
-select {
- text-transform: none;
-}
-[type="button"],
-[type="reset"],
-[type="submit"],
-button {
- -webkit-appearance: button;
-}
-[type="button"]::-moz-focus-inner,
-[type="reset"]::-moz-focus-inner,
-[type="submit"]::-moz-focus-inner,
-button::-moz-focus-inner {
- border-style: none;
- padding: 0;
-}
-[type="button"]:-moz-focusring,
-[type="reset"]:-moz-focusring,
-[type="submit"]:-moz-focusring,
-button:-moz-focusring {
- outline: 1px dotted ButtonText;
-}
-fieldset {
- padding: 0.35em 0.75em 0.625em;
-}
-legend {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- color: inherit;
- display: table;
- max-width: 100%;
- padding: 0;
- white-space: normal;
-}
-progress {
- vertical-align: baseline;
-}
-textarea {
- overflow: auto;
-}
-[type="checkbox"],
-[type="radio"] {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- padding: 0;
-}
-[type="number"]::-webkit-inner-spin-button,
-[type="number"]::-webkit-outer-spin-button {
- height: auto;
-}
-[type="search"] {
- -webkit-appearance: textfield;
- outline-offset: -2px;
-}
-[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-::-webkit-file-upload-button {
- -webkit-appearance: button;
- font: inherit;
-}
-details {
- display: block;
-}
-summary {
- display: list-item;
-}
-template {
- display: none;
-}
-[hidden] {
- display: none;
-}
-html {
- font-family: sans-serif;
-}
-.hidden,
-[hidden] {
- display: none !important;
-}
-.pure-img {
- max-width: 100%;
- height: auto;
- display: block;
-}
-.pure-g {
- letter-spacing: -0.31em;
- text-rendering: optimizespeed;
- font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-flow: row wrap;
- flex-flow: row wrap;
- -ms-flex-line-pack: start;
- align-content: flex-start;
-}
-@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
- table .pure-g {
- display: block;
- }
-}
-.opera-only :-o-prefocus,
-.pure-g {
- word-spacing: -0.43em;
-}
-.pure-u {
- display: inline-block;
- letter-spacing: normal;
- word-spacing: normal;
- vertical-align: top;
- text-rendering: auto;
-}
-.pure-g [class*="pure-u"] {
- font-family: sans-serif;
-}
-.pure-u-1,
-.pure-u-1-1,
-.pure-u-1-12,
-.pure-u-1-2,
-.pure-u-1-24,
-.pure-u-1-3,
-.pure-u-1-4,
-.pure-u-1-5,
-.pure-u-1-6,
-.pure-u-1-8,
-.pure-u-10-24,
-.pure-u-11-12,
-.pure-u-11-24,
-.pure-u-12-24,
-.pure-u-13-24,
-.pure-u-14-24,
-.pure-u-15-24,
-.pure-u-16-24,
-.pure-u-17-24,
-.pure-u-18-24,
-.pure-u-19-24,
-.pure-u-2-24,
-.pure-u-2-3,
-.pure-u-2-5,
-.pure-u-20-24,
-.pure-u-21-24,
-.pure-u-22-24,
-.pure-u-23-24,
-.pure-u-24-24,
-.pure-u-3-24,
-.pure-u-3-4,
-.pure-u-3-5,
-.pure-u-3-8,
-.pure-u-4-24,
-.pure-u-4-5,
-.pure-u-5-12,
-.pure-u-5-24,
-.pure-u-5-5,
-.pure-u-5-6,
-.pure-u-5-8,
-.pure-u-6-24,
-.pure-u-7-12,
-.pure-u-7-24,
-.pure-u-7-8,
-.pure-u-8-24,
-.pure-u-9-24 {
- display: inline-block;
- letter-spacing: normal;
- word-spacing: normal;
- vertical-align: top;
- text-rendering: auto;
-}
-.pure-u-1-24 {
- width: 4.1667%;
-}
-.pure-u-1-12,
-.pure-u-2-24 {
- width: 8.3333%;
-}
-.pure-u-1-8,
-.pure-u-3-24 {
- width: 12.5%;
-}
-.pure-u-1-6,
-.pure-u-4-24 {
- width: 16.6667%;
-}
-.pure-u-1-5 {
- width: 20%;
-}
-.pure-u-5-24 {
- width: 20.8333%;
-}
-.pure-u-1-4,
-.pure-u-6-24 {
- width: 25%;
-}
-.pure-u-7-24 {
- width: 29.1667%;
-}
-.pure-u-1-3,
-.pure-u-8-24 {
- width: 33.3333%;
-}
-.pure-u-3-8,
-.pure-u-9-24 {
- width: 37.5%;
-}
-.pure-u-2-5 {
- width: 40%;
-}
-.pure-u-10-24,
-.pure-u-5-12 {
- width: 41.6667%;
-}
-.pure-u-11-24 {
- width: 45.8333%;
-}
-.pure-u-1-2,
-.pure-u-12-24 {
- width: 50%;
-}
-.pure-u-13-24 {
- width: 54.1667%;
-}
-.pure-u-14-24,
-.pure-u-7-12 {
- width: 58.3333%;
-}
-.pure-u-3-5 {
- width: 60%;
-}
-.pure-u-15-24,
-.pure-u-5-8 {
- width: 62.5%;
-}
-.pure-u-16-24,
-.pure-u-2-3 {
- width: 66.6667%;
-}
-.pure-u-17-24 {
- width: 70.8333%;
-}
-.pure-u-18-24,
-.pure-u-3-4 {
- width: 75%;
-}
-.pure-u-19-24 {
- width: 79.1667%;
-}
-.pure-u-4-5 {
- width: 80%;
-}
-.pure-u-20-24,
-.pure-u-5-6 {
- width: 83.3333%;
-}
-.pure-u-21-24,
-.pure-u-7-8 {
- width: 87.5%;
-}
-.pure-u-11-12,
-.pure-u-22-24 {
- width: 91.6667%;
-}
-.pure-u-23-24 {
- width: 95.8333%;
-}
-.pure-u-1,
-.pure-u-1-1,
-.pure-u-24-24,
-.pure-u-5-5 {
- width: 100%;
-}
-.pure-button {
- display: inline-block;
- line-height: normal;
- white-space: nowrap;
- vertical-align: middle;
- text-align: center;
- cursor: pointer;
- -webkit-user-drag: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-.pure-button::-moz-focus-inner {
- padding: 0;
- border: 0;
-}
-.pure-button-group {
- letter-spacing: -0.31em;
- text-rendering: optimizespeed;
-}
-.opera-only :-o-prefocus,
-.pure-button-group {
- word-spacing: -0.43em;
-}
-.pure-button-group .pure-button {
- letter-spacing: normal;
- word-spacing: normal;
- vertical-align: top;
- text-rendering: auto;
-}
-.pure-button {
- font-family: inherit;
- font-size: 100%;
- padding: 0.5em 1em;
- color: rgba(0, 0, 0, 0.8);
- border: none transparent;
- background-color: #e6e6e6;
- text-decoration: none;
- border-radius: 2px;
-}
-.pure-button-hover,
-.pure-button:focus,
-.pure-button:hover {
- background-image: -webkit-gradient(
- linear,
- left top,
- left bottom,
- from(transparent),
- color-stop(40%, rgba(0, 0, 0, 0.05)),
- to(rgba(0, 0, 0, 0.1))
- );
- background-image: linear-gradient(
- transparent,
- rgba(0, 0, 0, 0.05) 40%,
- rgba(0, 0, 0, 0.1)
- );
-}
-.pure-button:focus {
- outline: 0;
-}
-.pure-button-active,
-.pure-button:active {
- -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset,
- 0 0 6px rgba(0, 0, 0, 0.2) inset;
- box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset,
- 0 0 6px rgba(0, 0, 0, 0.2) inset;
- border-color: #000;
-}
-.pure-button-disabled,
-.pure-button-disabled:active,
-.pure-button-disabled:focus,
-.pure-button-disabled:hover,
-.pure-button[disabled] {
- border: none;
- background-image: none;
- opacity: 0.4;
- cursor: not-allowed;
- -webkit-box-shadow: none;
- box-shadow: none;
- pointer-events: none;
-}
-.pure-button-hidden {
- display: none;
-}
-.pure-button-primary,
-.pure-button-selected,
-a.pure-button-primary,
-a.pure-button-selected {
- background-color: #0078e7;
- color: #fff;
-}
-.pure-button-group .pure-button {
- margin: 0;
- border-radius: 0;
- border-right: 1px solid rgba(0, 0, 0, 0.2);
-}
-.pure-button-group .pure-button:first-child {
- border-top-left-radius: 2px;
- border-bottom-left-radius: 2px;
-}
-.pure-button-group .pure-button:last-child {
- border-top-right-radius: 2px;
- border-bottom-right-radius: 2px;
- border-right: none;
-}
-.pure-form input[type="color"],
-.pure-form input[type="date"],
-.pure-form input[type="datetime-local"],
-.pure-form input[type="datetime"],
-.pure-form input[type="email"],
-.pure-form input[type="month"],
-.pure-form input[type="number"],
-.pure-form input[type="password"],
-.pure-form input[type="search"],
-.pure-form input[type="tel"],
-.pure-form input[type="text"],
-.pure-form input[type="time"],
-.pure-form input[type="url"],
-.pure-form input[type="week"],
-.pure-form select,
-.pure-form textarea {
- padding: 0.5em 0.6em;
- display: inline-block;
- border: 1px solid #ccc;
- -webkit-box-shadow: inset 0 1px 3px #ddd;
- box-shadow: inset 0 1px 3px #ddd;
- border-radius: 4px;
- vertical-align: middle;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-.pure-form input:not([type]) {
- padding: 0.5em 0.6em;
- display: inline-block;
- border: 1px solid #ccc;
- -webkit-box-shadow: inset 0 1px 3px #ddd;
- box-shadow: inset 0 1px 3px #ddd;
- border-radius: 4px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-.pure-form input[type="color"] {
- padding: 0.2em 0.5em;
-}
-.pure-form input[type="color"]:focus,
-.pure-form input[type="date"]:focus,
-.pure-form input[type="datetime-local"]:focus,
-.pure-form input[type="datetime"]:focus,
-.pure-form input[type="email"]:focus,
-.pure-form input[type="month"]:focus,
-.pure-form input[type="number"]:focus,
-.pure-form input[type="password"]:focus,
-.pure-form input[type="search"]:focus,
-.pure-form input[type="tel"]:focus,
-.pure-form input[type="text"]:focus,
-.pure-form input[type="time"]:focus,
-.pure-form input[type="url"]:focus,
-.pure-form input[type="week"]:focus,
-.pure-form select:focus,
-.pure-form textarea:focus {
- outline: 0;
- border-color: #129fea;
-}
-.pure-form input:not([type]):focus {
- outline: 0;
- border-color: #129fea;
-}
-.pure-form input[type="checkbox"]:focus,
-.pure-form input[type="file"]:focus,
-.pure-form input[type="radio"]:focus {
- outline: thin solid #129fea;
- outline: 1px auto #129fea;
-}
-.pure-form .pure-checkbox,
-.pure-form .pure-radio {
- margin: 0.5em 0;
- display: block;
-}
-.pure-form input[type="color"][disabled],
-.pure-form input[type="date"][disabled],
-.pure-form input[type="datetime-local"][disabled],
-.pure-form input[type="datetime"][disabled],
-.pure-form input[type="email"][disabled],
-.pure-form input[type="month"][disabled],
-.pure-form input[type="number"][disabled],
-.pure-form input[type="password"][disabled],
-.pure-form input[type="search"][disabled],
-.pure-form input[type="tel"][disabled],
-.pure-form input[type="text"][disabled],
-.pure-form input[type="time"][disabled],
-.pure-form input[type="url"][disabled],
-.pure-form input[type="week"][disabled],
-.pure-form select[disabled],
-.pure-form textarea[disabled] {
- cursor: not-allowed;
- background-color: #eaeded;
- color: #cad2d3;
-}
-.pure-form input:not([type])[disabled] {
- cursor: not-allowed;
- background-color: #eaeded;
- color: #cad2d3;
-}
-.pure-form input[readonly],
-.pure-form select[readonly],
-.pure-form textarea[readonly] {
- background-color: #eee;
- color: #777;
- border-color: #ccc;
-}
-.pure-form input:focus:invalid,
-.pure-form select:focus:invalid,
-.pure-form textarea:focus:invalid {
- color: #b94a48;
- border-color: #e9322d;
-}
-.pure-form input[type="checkbox"]:focus:invalid:focus,
-.pure-form input[type="file"]:focus:invalid:focus,
-.pure-form input[type="radio"]:focus:invalid:focus {
- outline-color: #e9322d;
-}
-.pure-form select {
- height: 2.25em;
- border: 1px solid #ccc;
- background-color: #fff;
-}
-.pure-form select[multiple] {
- height: auto;
-}
-.pure-form label {
- margin: 0.5em 0 0.2em;
-}
-.pure-form fieldset {
- margin: 0;
- padding: 0.35em 0 0.75em;
- border: 0;
-}
-.pure-form legend {
- display: block;
- width: 100%;
- padding: 0.3em 0;
- margin-bottom: 0.3em;
- color: #333;
- border-bottom: 1px solid #e5e5e5;
-}
-.pure-form-stacked input[type="color"],
-.pure-form-stacked input[type="date"],
-.pure-form-stacked input[type="datetime-local"],
-.pure-form-stacked input[type="datetime"],
-.pure-form-stacked input[type="email"],
-.pure-form-stacked input[type="file"],
-.pure-form-stacked input[type="month"],
-.pure-form-stacked input[type="number"],
-.pure-form-stacked input[type="password"],
-.pure-form-stacked input[type="search"],
-.pure-form-stacked input[type="tel"],
-.pure-form-stacked input[type="text"],
-.pure-form-stacked input[type="time"],
-.pure-form-stacked input[type="url"],
-.pure-form-stacked input[type="week"],
-.pure-form-stacked label,
-.pure-form-stacked select,
-.pure-form-stacked textarea {
- display: block;
- margin: 0.25em 0;
-}
-.pure-form-stacked input:not([type]) {
- display: block;
- margin: 0.25em 0;
-}
-.pure-form-aligned input,
-.pure-form-aligned select,
-.pure-form-aligned textarea,
-.pure-form-message-inline {
- display: inline-block;
- vertical-align: middle;
-}
-.pure-form-aligned textarea {
- vertical-align: top;
-}
-.pure-form-aligned .pure-control-group {
- margin-bottom: 0.5em;
-}
-.pure-form-aligned .pure-control-group label {
- text-align: right;
- display: inline-block;
- vertical-align: middle;
- width: 10em;
- margin: 0 1em 0 0;
-}
-.pure-form-aligned .pure-controls {
- margin: 1.5em 0 0 11em;
-}
-.pure-form .pure-input-rounded,
-.pure-form input.pure-input-rounded {
- border-radius: 2em;
- padding: 0.5em 1em;
-}
-.pure-form .pure-group fieldset {
- margin-bottom: 10px;
-}
-.pure-form .pure-group input,
-.pure-form .pure-group textarea {
- display: block;
- padding: 10px;
- margin: 0 0 -1px;
- border-radius: 0;
- position: relative;
- top: -1px;
-}
-.pure-form .pure-group input:focus,
-.pure-form .pure-group textarea:focus {
- z-index: 3;
-}
-.pure-form .pure-group input:first-child,
-.pure-form .pure-group textarea:first-child {
- top: 1px;
- border-radius: 4px 4px 0 0;
- margin: 0;
-}
-.pure-form .pure-group input:first-child:last-child,
-.pure-form .pure-group textarea:first-child:last-child {
- top: 1px;
- border-radius: 4px;
- margin: 0;
-}
-.pure-form .pure-group input:last-child,
-.pure-form .pure-group textarea:last-child {
- top: -2px;
- border-radius: 0 0 4px 4px;
- margin: 0;
-}
-.pure-form .pure-group button {
- margin: 0.35em 0;
-}
-.pure-form .pure-input-1 {
- width: 100%;
-}
-.pure-form .pure-input-3-4 {
- width: 75%;
-}
-.pure-form .pure-input-2-3 {
- width: 66%;
-}
-.pure-form .pure-input-1-2 {
- width: 50%;
-}
-.pure-form .pure-input-1-3 {
- width: 33%;
-}
-.pure-form .pure-input-1-4 {
- width: 25%;
-}
-.pure-form-message-inline {
- display: inline-block;
- padding-left: 0.3em;
- color: #666;
- vertical-align: middle;
- font-size: 0.875em;
-}
-.pure-form-message {
- display: block;
- color: #666;
- font-size: 0.875em;
-}
-@media only screen and (max-width: 480px) {
- .pure-form button[type="submit"] {
- margin: 0.7em 0 0;
- }
- .pure-form input:not([type]),
- .pure-form input[type="color"],
- .pure-form input[type="date"],
- .pure-form input[type="datetime-local"],
- .pure-form input[type="datetime"],
- .pure-form input[type="email"],
- .pure-form input[type="month"],
- .pure-form input[type="number"],
- .pure-form input[type="password"],
- .pure-form input[type="search"],
- .pure-form input[type="tel"],
- .pure-form input[type="text"],
- .pure-form input[type="time"],
- .pure-form input[type="url"],
- .pure-form input[type="week"],
- .pure-form label {
- margin-bottom: 0.3em;
- display: block;
- }
- .pure-group input:not([type]),
- .pure-group input[type="color"],
- .pure-group input[type="date"],
- .pure-group input[type="datetime-local"],
- .pure-group input[type="datetime"],
- .pure-group input[type="email"],
- .pure-group input[type="month"],
- .pure-group input[type="number"],
- .pure-group input[type="password"],
- .pure-group input[type="search"],
- .pure-group input[type="tel"],
- .pure-group input[type="text"],
- .pure-group input[type="time"],
- .pure-group input[type="url"],
- .pure-group input[type="week"] {
- margin-bottom: 0;
- }
- .pure-form-aligned .pure-control-group label {
- margin-bottom: 0.3em;
- text-align: left;
- display: block;
- width: 100%;
- }
- .pure-form-aligned .pure-controls {
- margin: 1.5em 0 0 0;
- }
- .pure-form-message,
- .pure-form-message-inline {
- display: block;
- font-size: 0.75em;
- padding: 0.2em 0 0.8em;
- }
-}
-.pure-menu {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-.pure-menu-fixed {
- position: fixed;
- left: 0;
- top: 0;
- z-index: 3;
-}
-.pure-menu-item,
-.pure-menu-list {
- position: relative;
-}
-.pure-menu-list {
- list-style: none;
- margin: 0;
- padding: 0;
-}
-.pure-menu-item {
- padding: 0;
- margin: 0;
- height: 100%;
-}
-.pure-menu-heading,
-.pure-menu-link {
- display: block;
- text-decoration: none;
- white-space: nowrap;
-}
-.pure-menu-horizontal {
- width: 100%;
- white-space: nowrap;
-}
-.pure-menu-horizontal .pure-menu-list {
- display: inline-block;
-}
-.pure-menu-horizontal .pure-menu-heading,
-.pure-menu-horizontal .pure-menu-item,
-.pure-menu-horizontal .pure-menu-separator {
- display: inline-block;
- vertical-align: middle;
-}
-.pure-menu-item .pure-menu-item {
- display: block;
-}
-.pure-menu-children {
- display: none;
- position: absolute;
- left: 100%;
- top: 0;
- margin: 0;
- padding: 0;
- z-index: 3;
-}
-.pure-menu-horizontal .pure-menu-children {
- left: 0;
- top: auto;
- width: inherit;
-}
-.pure-menu-active > .pure-menu-children,
-.pure-menu-allow-hover:hover > .pure-menu-children {
- display: block;
- position: absolute;
-}
-.pure-menu-has-children > .pure-menu-link:after {
- padding-left: 0.5em;
- content: "\25B8";
- font-size: small;
-}
-.pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after {
- content: "\25BE";
-}
-.pure-menu-scrollable {
- overflow-y: scroll;
- overflow-x: hidden;
-}
-.pure-menu-scrollable .pure-menu-list {
- display: block;
-}
-.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list {
- display: inline-block;
-}
-.pure-menu-horizontal.pure-menu-scrollable {
- white-space: nowrap;
- overflow-y: hidden;
- overflow-x: auto;
- padding: 0.5em 0;
-}
-.pure-menu-horizontal .pure-menu-children .pure-menu-separator,
-.pure-menu-separator {
- background-color: #ccc;
- height: 1px;
- margin: 0.3em 0;
-}
-.pure-menu-horizontal .pure-menu-separator {
- width: 1px;
- height: 1.3em;
- margin: 0 0.3em;
-}
-.pure-menu-horizontal .pure-menu-children .pure-menu-separator {
- display: block;
- width: auto;
-}
-.pure-menu-heading {
- text-transform: uppercase;
- color: #565d64;
-}
-.pure-menu-link {
- color: #777;
-}
-.pure-menu-children {
- background-color: #fff;
-}
-.pure-menu-disabled,
-.pure-menu-heading,
-.pure-menu-link {
- padding: 0.5em 1em;
-}
-.pure-menu-disabled {
- opacity: 0.5;
-}
-.pure-menu-disabled .pure-menu-link:hover {
- background-color: transparent;
-}
-.pure-menu-active > .pure-menu-link,
-.pure-menu-link:focus,
-.pure-menu-link:hover {
- background-color: #eee;
-}
-.pure-menu-selected > .pure-menu-link,
-.pure-menu-selected > .pure-menu-link:visited {
- color: #000;
-}
-.pure-table {
- border-collapse: collapse;
- border-spacing: 0;
- empty-cells: show;
- border: 1px solid #cbcbcb;
-}
-.pure-table caption {
- color: #000;
- font: italic 85%/1 arial, sans-serif;
- padding: 1em 0;
- text-align: center;
-}
-.pure-table td,
-.pure-table th {
- border-left: 1px solid #cbcbcb;
- border-width: 0 0 0 1px;
- font-size: inherit;
- margin: 0;
- overflow: visible;
- padding: 0.5em 1em;
-}
-.pure-table thead {
- background-color: #e0e0e0;
- color: #000;
- text-align: left;
- vertical-align: bottom;
-}
-.pure-table td {
- background-color: transparent;
-}
-.pure-table-odd td {
- background-color: #f2f2f2;
-}
-.pure-table-striped tr:nth-child(2n-1) td {
- background-color: #f2f2f2;
-}
-.pure-table-bordered td {
- border-bottom: 1px solid #cbcbcb;
-}
-.pure-table-bordered tbody > tr:last-child > td {
- border-bottom-width: 0;
-}
-.pure-table-horizontal td,
-.pure-table-horizontal th {
- border-width: 0 0 1px 0;
- border-bottom: 1px solid #cbcbcb;
-}
-.pure-table-horizontal tbody > tr:last-child > td {
- border-bottom-width: 0;
-}
/*!
Pure v2.0.3
Copyright 2013 Yahoo!
@@ -987,2755 +26,26 @@ a.pure-button-selected {
Copyright (c) Nicolas Gallagher and Jonathan Neal
*/
/*! normalize.ss v8.0.1 | MIT License | github.com/necolas/normalize.cs */
-
-.talerbar {
- text-align: center;
-}
-.tt {
- font-family: "Lucida Console", Monaco, monospace;
-}
-.content {
- overflow-x: auto;
- padding-left: 15%;
- padding-right: 15%;
-}
-.qr {
- margin: auto;
- text-align: center;
-}
-.qrtext {
- width: max-content;
- margin: auto;
- transition: font-size 0.2s;
- font-family: "Lucida Console", Monaco, monospace;
- font-size: 0.5em;
-}
-.qrtext:hover {
- font-size: 1em;
-}
-.talerbar {
- margin: 0;
- bottom: 0;
- background-color: #033;
- color: white;
- width: 100%;
- padding: 1em;
- overflow: auto;
-}
-body {
- overflow-y: scroll;
-}
-@media (min-width: 500px) {
- .content {
- padding-bottom: 2em;
- overflow-y: auto;
- }
-}
-#main a:link,
-#main a:visited,
-#main a:hover,
-#main a:active {
- color: black;
-}.q1ma0zxq{margin:auto;text-align:center;width:340px;}
-.fef0x5t{text-align:center;background-color:#033;color:white;padding:1em;overflow:auto;}.fef0x5t > p > a:link,.fef0x5t > p > a:visited,.fef0x5t > p > a:hover,.fef0x5t > p > a:active{color:white;}
-.p1b3vqup{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;min-height:100vh;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.p1b3vqup a:link,.p1b3vqup a:visited,.p1b3vqup a:hover,.p1b3vqup a:active{color:black;}.p1b3vqup section{text-align:center;width:600px;margin-bottom:auto;}.p1b3vqup section:not(:first-of-type){margin-top:2em;}.p1b3vqup > header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;text-align:center;}.p1b3vqup > footer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:space-around;-webkit-justify-content:space-around;-ms-flex-pack:space-around;justify-content:space-around;width:100%;margin-bottom:0px;}
-.c1gnd3xp{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
-.wpwjmk{display:inline-block;zoom:1;line-height:normal;white-space:nowrap;vertical-align:middle;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;text-transform:var(--wpwjmk-0);font-family:inherit;font-size:100%;padding:0.5em 1em;color:#444;color:rgba(0,0,0,0.8);border:1px solid #999;border:none rgba(0,0,0,0);background-color:'#e6e6e6';-webkit-text-decoration:none;text-decoration:none;border-radius:2px;background-color:#e6e6e6;border-radius:4px;text-shadow:0 1px 1px rgba(0,0,0,0.2);box-shadow:0 0 0 1px rgba(0,0,0,0.15) inset, 0 0 6px rgba(0,0,0,0.2) inset;border-color:#000;}.wpwjmk:focus{outline:0;}.wpwjmk:disabled{border:none;background-image:none;-webkit-filter:alpha(opacity=40);filter:alpha(opacity=40);opacity:0.4;cursor:not-allowed;box-shadow:none;pointer-events:none;}.wpwjmk:hover{-webkit-filter:alpha(opacity=90);filter:alpha(opacity=90);background-image:linear-gradient( transparent, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.1) );}
-.i1pkgksb{border-radius:0.25em;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:1em;border:solid 1px #b8daff;background-color:#cce5ff;color:#004085;}
-.t2c81u8{text-align:left;}.t2c81u8 dt{font-weight:bold;margin-top:1em;}.t2c81u8 dd{margin-inline-start:0px;}
-.t1mav7fx{text-align:left;}.t1mav7fx dt{font-weight:bold;display:inline-block;width:30%;}.t1mav7fx dd{margin-inline-start:0px;display:inline-block;width:70%;}
-/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3NlYmFzam0vV29yay90YWxlci93YWxsZXQtY29yZS9wYWNrYWdlcy9tZXJjaGFudC1iYWNrZW5kLXVpL3NyYy9zdHlsZWQvaW5kZXgudHN4Il0sIm5hbWVzIjpbIi5xMW1hMHp4cSIsIi5mZWYweDV0IiwiLnAxYjN2cXVwIiwiLmMxZ25kM3hwIiwiLndwd2ptayIsIi5pMXBrZ2tzYiIsIi50MmM4MXU4IiwiLnQxbWF2N2Z4Il0sIm1hcHBpbmdzIjoiQUFvQmFBO0FBS0FDO0FBY0FDO0FBdUNBQztBQUlBQztBQXVEQUM7QUFVQUM7QUFVQUMiLCJmaWxlIjoiL2hvbWUvc2ViYXNqbS9Xb3JrL3RhbGVyL3dhbGxldC1jb3JlL3BhY2thZ2VzL21lcmNoYW50LWJhY2tlbmQtdWkvc3JjL3N0eWxlZC9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuIFRoaXMgZmlsZSBpcyBwYXJ0IG9mIEdOVSBUYWxlclxuIChDKSAyMDIxIFRhbGVyIFN5c3RlbXMgUy5BLlxuXG4gR05VIFRhbGVyIGlzIGZyZWUgc29mdHdhcmU7IHlvdSBjYW4gcmVkaXN0cmlidXRlIGl0IGFuZC9vciBtb2RpZnkgaXQgdW5kZXIgdGhlXG4gdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGFzIHB1Ymxpc2hlZCBieSB0aGUgRnJlZSBTb2Z0d2FyZVxuIEZvdW5kYXRpb247IGVpdGhlciB2ZXJzaW9uIDMsIG9yIChhdCB5b3VyIG9wdGlvbikgYW55IGxhdGVyIHZlcnNpb24uXG5cbiBHTlUgVGFsZXIgaXMgZGlzdHJpYnV0ZWQgaW4gdGhlIGhvcGUgdGhhdCBpdCB3aWxsIGJlIHVzZWZ1bCwgYnV0IFdJVEhPVVQgQU5ZXG4gV0FSUkFOVFk7IHdpdGhvdXQgZXZlbiB0aGUgaW1wbGllZCB3YXJyYW50eSBvZiBNRVJDSEFOVEFCSUxJVFkgb3IgRklUTkVTUyBGT1JcbiBBIFBBUlRJQ1VMQVIgUFVSUE9TRS4gIFNlZSB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UgZm9yIG1vcmUgZGV0YWlscy5cblxuIFlvdSBzaG91bGQgaGF2ZSByZWNlaXZlZCBhIGNvcHkgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGFsb25nIHdpdGhcbiBHTlUgVGFsZXI7IHNlZSB0aGUgZmlsZSBDT1BZSU5HLiAgSWYgbm90LCBzZWUgPGh0dHA6Ly93d3cuZ251Lm9yZy9saWNlbnNlcy8+XG4gKi9cbi8qKlxuKlxuKiBAYXV0aG9yIFNlYmFzdGlhbiBKYXZpZXIgTWFyY2hhbm8gKHNlYmFzam0pXG4qL1xuaW1wb3J0IHsgc3R5bGVkIH0gZnJvbSAnQGxpbmFyaWEvcmVhY3QnO1xuZXhwb3J0IGNvbnN0IFFSUGxhY2Vob2xkZXIgPSBzdHlsZWQuZGl2IGBcbiAgbWFyZ2luOiBhdXRvO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHdpZHRoOiAzNDBweDsgXG5gO1xuZXhwb3J0IGNvbnN0IEZvb3RlckJhciA9IHN0eWxlZC5mb290ZXIgYFxuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIGJhY2tncm91bmQtY29sb3I6ICMwMzM7XG4gIGNvbG9yOiB3aGl0ZTtcbiAgcGFkZGluZzogMWVtO1xuICBvdmVyZmxvdzogYXV0bztcblxuICAmID4gcCA+IGE6bGluayxcbiAgJiA+IHAgPiBhOnZpc2l0ZWQsXG4gICYgPiBwID4gYTpob3ZlcixcbiAgJiA+IHAgPiBhOmFjdGl2ZSB7XG4gICAgY29sb3I6IHdoaXRlO1xuICB9XG5gO1xuZXhwb3J0IGNvbnN0IFBhZ2UgPSBzdHlsZWQuZGl2IGBcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICBtaW4taGVpZ2h0OiAxMDB2aDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgXG4gIGE6bGluayxcbiAgYTp2aXNpdGVkLFxuICBhOmhvdmVyLFxuICBhOmFjdGl2ZSB7XG4gICAgY29sb3I6IGJsYWNrO1xuICB9XG4gIFxuICBzZWN0aW9uIHtcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gICAgd2lkdGg6IDYwMHB4O1xuICAgIC8qIG1hcmdpbjogYXV0bzsgKi9cbiAgICAvKiBtYXJnaW4tdG9wOiAwcHg7ICovXG4gICAgbWFyZ2luLWJvdHRvbTogYXV0bztcbiAgICAvKiBvdmVyZmxvdzogYXV0bzsgKi9cbiAgfVxuICBzZWN0aW9uOm5vdCg6Zmlyc3Qtb2YtdHlwZSkge1xuICAgIG1hcmdpbi10b3A6IDJlbTtcbiAgfVxuICAmID4gaGVhZGVyIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgfVxuICAmID4gZm9vdGVyIHtcbiAgICBkaXNwbGF5OiBmbGV4OyAgICBcbiAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYXJvdW5kO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIG1hcmdpbi1ib3R0b206IDBweDtcbiAgfVxuYDtcbmV4cG9ydCBjb25zdCBDZW50ZXIgPSBzdHlsZWQuZGl2IGBcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG5gO1xuZXhwb3J0IGNvbnN0IFdhbGxldExpbmsgPSBzdHlsZWQuYSBgXG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgem9vbTogMTtcbiAgbGluZS1oZWlnaHQ6IG5vcm1hbDtcbiAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIHVzZXItc2VsZWN0OiBub25lO1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICB0ZXh0LXRyYW5zZm9ybTogJHsoeyB1cHBlckNhc2VkIH0pID0+IHVwcGVyQ2FzZWQgPyAndXBwZXJjYXNlJyA6ICdub25lJ307XG5cbiAgZm9udC1mYW1pbHk6IGluaGVyaXQ7XG4gIGZvbnQtc2l6ZTogMTAwJTtcbiAgcGFkZGluZzogMC41ZW0gMWVtO1xuICBjb2xvcjogIzQ0NDsgLyogcmdiYSBub3Qgc3VwcG9ydGVkIChJRSA4KSAqL1xuICBjb2xvcjogcmdiYSgwLCAwLCAwLCAwLjgpOyAvKiByZ2JhIHN1cHBvcnRlZCAqL1xuICBib3JkZXI6IDFweCBzb2xpZCAjOTk5OyAvKklFIDYvNy84Ki9cbiAgYm9yZGVyOiBub25lIHJnYmEoMCwgMCwgMCwgMCk7IC8qSUU5ICsgZXZlcnl0aGluZyBlbHNlKi9cbiAgYmFja2dyb3VuZC1jb2xvcjogJyNlNmU2ZTYnO1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGJvcmRlci1yYWRpdXM6IDJweDtcblxuICA6Zm9jdXMge1xuICAgIG91dGxpbmU6IDA7XG4gIH1cblxuICAmOmRpc2FibGVkIHtcbiAgICBib3JkZXI6IG5vbmU7XG4gICAgYmFja2dyb3VuZC1pbWFnZTogbm9uZTtcbiAgICAvKiBjc3NsaW50IGlnbm9yZTpzdGFydCAqL1xuICAgIGZpbHRlcjogYWxwaGEob3BhY2l0eT00MCk7XG4gICAgLyogY3NzbGludCBpZ25vcmU6ZW5kICovXG4gICAgb3BhY2l0eTogMC40O1xuICAgIGN1cnNvcjogbm90LWFsbG93ZWQ7XG4gICAgYm94LXNoYWRvdzogbm9uZTtcbiAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgfVxuXG4gIDpob3ZlciB7XG4gICAgZmlsdGVyOiBhbHBoYShvcGFjaXR5PTkwKTtcbiAgICBiYWNrZ3JvdW5kLWltYWdlOiBsaW5lYXItZ3JhZGllbnQoXG4gICAgICB0cmFuc3BhcmVudCxcbiAgICAgIHJnYmEoMCwgMCwgMCwgMC4wNSkgNDAlLFxuICAgICAgcmdiYSgwLCAwLCAwLCAwLjEpXG4gICAgKTtcbiAgfVxuXG4gIGJhY2tncm91bmQtY29sb3I6ICNlNmU2ZTY7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgdGV4dC1zaGFkb3c6IDAgMXB4IDFweCByZ2JhKDAsIDAsIDAsIDAuMik7XG4gIGJveC1zaGFkb3c6IDAgMCAwIDFweCByZ2JhKDAsIDAsIDAsIDAuMTUpIGluc2V0LFxuICAgIDAgMCA2cHggcmdiYSgwLCAwLCAwLCAwLjIpIGluc2V0O1xuICBib3JkZXItY29sb3I6ICMwMDA7XG5gO1xuZXhwb3J0IGNvbnN0IEluZm9Cb3ggPSBzdHlsZWQuZGl2IGBcbiAgYm9yZGVyLXJhZGl1czogMC4yNWVtO1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAvKiBtYXJnaW46IDAuNWVtOyAqL1xuICBwYWRkaW5nOiAxZW07XG4gIC8qIHdpZHRoOiAxMDAlOyAqL1xuICBib3JkZXI6c29saWQgMXB4ICNiOGRhZmY7XG4gIGJhY2tncm91bmQtY29sb3I6I2NjZTVmZjtcbiAgY29sb3I6IzAwNDA4NTtcbmA7XG5leHBvcnQgY29uc3QgVGFibGVFeHBhbmRlZCA9IHN0eWxlZC5kbCBgXG4gIHRleHQtYWxpZ246IGxlZnQ7XG4gIGR0IHtcbiAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICBtYXJnaW4tdG9wOiAxZW07XG4gIH1cbiAgZGQge1xuICAgIG1hcmdpbi1pbmxpbmUtc3RhcnQ6IDBweDtcbiAgfVxuYDtcbmV4cG9ydCBjb25zdCBUYWJsZVNpbXBsZSA9IHN0eWxlZC5kbCBgXG4gIHRleHQtYWxpZ246IGxlZnQ7XG4gIGR0IHtcbiAgICBmb250LXdlaWdodDogYm9sZDtcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgd2lkdGg6MzAlO1xuICB9XG4gIGRkIHtcbiAgICBtYXJnaW4taW5saW5lLXN0YXJ0OiAwcHg7XG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgIHdpZHRoOjcwJTtcbiAgfVxuYDtcbiJdfQ==*/</style>
- </head>
- <script id="built_time_data">
- </script>
- <body>
- <div class="p1b3vqup"><section><h1>Collect Taler refund</h1><p>Scan this QR code with your Taler mobile wallet:</p><div class="q1ma0zxq">{{{ taler_refund_qrcode_svg }}}</div><p><a href="{{ taler_refund_uri }}" style="--wpwjmk-0: none;" class="wpwjmk">Or open your Taler wallet</a></p><p><a href="https://wallet.taler.net/">Don't have a Taler wallet yet? Install it!</a></p></section><footer class="fef0x5t"><p><a href="https://taler.net/">Learn more about GNU Taler on our website.</a><p>Copyright © 2014—2021 Taler Systems SA</p></p></footer></div>
- <script>var page = (function (exports) {
- 'use strict';
-
- var n$1,l$2,u$2,t$1,o$2,r$1,f$2={},e$1=[],c$2=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s$2(n,l){for(var u in l)n[u]=l[u];return n}function a$2(n){var l=n.parentNode;l&&l.removeChild(n);}function h$2(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n$1.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$2(l,f,t,o,null)}function v$2(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$2:r};return null==r&&null!=l$2.vnode&&l$2.vnode(f),f}function y$2(){return {current:null}}function p$2(n){return n.children}function d$2(n,l){this.props=n,this.context=l;}function _$2(n,l){if(null==l)return n.__?_$2(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?_$2(n):null}function k$3(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return k$3(n)}}function b$2(n){(!n.__d&&(n.__d=!0)&&t$1.push(n)&&!g$3.__r++||o$2!==l$2.debounceRendering)&&((o$2=l$2.debounceRendering)||setTimeout)(g$3);}function g$3(){for(var n;g$3.__r=t$1.length;)n=t$1.sort(function(n,l){return n.__v.__b-l.__v.__b}),t$1=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=s$2({},t)).__v=t.__v+1,j$3(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?_$2(t):o,t.__h),z$2(u,t),t.__e!=o&&k$3(t)));});}function w$3(n,l,u,i,t,o,r,c,s,a){var h,y,d,k,b,g,w,x=i&&i.__k||e$1,C=x.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(k=u.__k[h]=null==(k=l[h])||"boolean"==typeof k?null:"string"==typeof k||"number"==typeof k||"bigint"==typeof k?v$2(null,k,null,null,k):Array.isArray(k)?v$2(p$2,{children:k},null,null,null):k.__b>0?v$2(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(d=x[h])||d&&k.key==d.key&&k.type===d.type)x[h]=void 0;else for(y=0;y<C;y++){if((d=x[y])&&k.key==d.key&&k.type===d.type){x[y]=void 0;break}d=null;}j$3(n,k,d=d||f$2,t,o,r,c,s,a),b=k.__e,(y=k.ref)&&d.ref!=y&&(w||(w=[]),d.ref&&w.push(d.ref,null,k),w.push(y,k.__c||b,k)),null!=b?(null==g&&(g=b),"function"==typeof k.type&&k.__k===d.__k?k.__d=s=m$2(k,s,n):s=A$3(n,k,d,x,b,s),"function"==typeof u.type&&(u.__d=s)):s&&d.__e==s&&s.parentNode!=n&&(s=_$2(d));}for(u.__e=g,h=C;h--;)null!=x[h]&&N$1(x[h],x[h]);if(w)for(h=0;h<w.length;h++)M$1(w[h],w[++h],w[++h]);}function m$2(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?m$2(i,l,u):A$3(u,i,i,t,i.__e,l));return l}function x$3(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){x$3(n,l);}):l.push(n)),l}function A$3(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,o),r=o;}return void 0!==r?r:t.nextSibling}function C$2(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H$1(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H$1(n,o,l[o],u[o],i);}function $$1(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||c$2.test(l)?u:u+"px";}function H$1(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||$$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T$2:I$1,o):n.removeEventListener(l,o?T$2:I$1,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function I$1(n){this.l[n.type+!1](l$2.event?l$2.event(n):n);}function T$2(n){this.l[n.type+!0](l$2.event?l$2.event(n):n);}function j$3(n,u,i,t,o,r,f,e,c){var a,h,v,y,_,k,b,g,m,x,A,C,$,H,I,T=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(a=l$2.__b)&&a(u);try{n:if("function"==typeof T){if(g=u.props,m=(a=T.contextType)&&t[a.__c],x=a?m?m.props.value:a.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in T&&T.prototype.render?u.__c=h=new T(g,x):(u.__c=h=new d$2(g,x),h.constructor=T,h.render=O$2),m&&m.sub(h),h.props=g,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s$2({},h.__s)),s$2(h.__s,T.getDerivedStateFromProps(g,h.__s))),y=h.props,_=h.state,v)null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==T.getDerivedStateFromProps&&g!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(g,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(g,h.__s,x)||u.__v===i.__v){for(h.props=g,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),A=0;A<h._sb.length;A++)h.__h.push(h._sb[A]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(g,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,_,k);});}if(h.context=x,h.props=g,h.__v=u,h.__P=n,C=l$2.__r,$=0,"prototype"in T&&T.prototype.render){for(h.state=h.__s,h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[];}else do{h.__d=!1,C&&C(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++$<25);h.state=h.__s,null!=h.getChildContext&&(t=s$2(s$2({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,_)),I=null!=a&&a.type===p$2&&null==a.key?a.props.children:a,w$3(n,Array.isArray(I)?I:[I],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L$1(i.__e,u,i,t,o,r,f,c);(a=l$2.diffed)&&a(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l$2.__e(n,u,i);}}function z$2(n,u){l$2.__c&&l$2.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$2.__e(n,u.__v);}});}function L$1(l,u,i,t,o,r,e,c){var s,h,v,y=i.props,p=u.props,d=u.type,k=0;if("svg"===d&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1;}if(null===d)y===p||c&&l.data===p||(l.data=p);else {if(r=r&&n$1.call(l.childNodes),h=(y=i.props||f$2).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},k=0;k<l.attributes.length;k++)y[l.attributes[k].name]=l.attributes[k].value;(v||h)&&(v&&(h&&v.__html==h.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(C$2(l,p,y,o,c),v)u.__k=[];else if(k=u.props.children,w$3(l,Array.isArray(k)?k:[k],u,i,t,o&&"foreignObject"!==d,r,e,r?r[0]:i.__k&&_$2(i,0),c),null!=r)for(k=r.length;k--;)null!=r[k]&&a$2(r[k]);c||("value"in p&&void 0!==(k=p.value)&&(k!==l.value||"progress"===d&&!k||"option"===d&&k!==y.value)&&H$1(l,"value",k,y.value,!1),"checked"in p&&void 0!==(k=p.checked)&&k!==l.checked&&H$1(l,"checked",k,y.checked,!1));}return l}function M$1(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$2.__e(n,i);}}function N$1(n,u,i){var t,o;if(l$2.unmount&&l$2.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M$1(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$2.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N$1(t[o],u,i||"function"!=typeof n.type);i||null==n.__e||a$2(n.__e),n.__=n.__e=n.__d=void 0;}function O$2(n,l,u){return this.constructor(n,u)}function P$1(u,i,t){var o,r,e;l$2.__&&l$2.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,e=[],j$3(i,u=(!o&&t||i).__k=h$2(p$2,null,[u]),r||f$2,f$2,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n$1.call(i.childNodes):null,e,!o&&t?t:r?r.__e:i.firstChild,o),z$2(e,u);}function S$1(n,l){P$1(n,l,S$1);}function q$2(l,u,i){var t,o,r,f=s$2({},l.props);for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];return arguments.length>2&&(f.children=arguments.length>3?n$1.call(arguments,2):i),v$2(l.type,f,t||l.key,o||l.ref,null)}function B$2(n,l){var u={__c:l="__cC"+r$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(b$2);},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n$1=e$1.slice,l$2={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l;}throw n}},u$2=0,d$2.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=s$2({},this.state),"function"==typeof n&&(n=n(s$2({},u),this.props)),n&&s$2(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),b$2(this));},d$2.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),b$2(this));},d$2.prototype.render=p$2,t$1=[],g$3.__r=0,r$1=0;
-
- var n=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i,o$1=/^(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/,i$1=/[\s\n\\/='"\0<>]/,l$1=/^xlink:?./,a$1=/["&<]/;function s$1(e){if(!1===a$1.test(e+=""))return e;for(var t=0,r=0,n="",o="";r<e.length;r++){switch(e.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=o,t=r+1;}return r!==t&&(n+=e.slice(t,r)),n}var f$1=function(e,t){return String(e).replace(/(\n+)/g,"$1"+(t||"\t"))},u$1=function(e,t,r){return String(e).length>(t||40)||!r&&-1!==String(e).indexOf("\n")||-1!==String(e).indexOf("<")},c$1={},_$1=/([A-Z])/g;function p$1(e){var t="";for(var r in e){var o=e[r];null!=o&&""!==o&&(t&&(t+=" "),t+="-"==r[0]?r:c$1[r]||(c$1[r]=r.replace(_$1,"-$1").toLowerCase()),t="number"==typeof o&&!1===n.test(r)?t+": "+o+"px;":t+": "+o+";");}return t||void 0}function d$1(e,t){return Array.isArray(t)?t.reduce(d$1,e):null!=t&&!1!==t&&e.push(t),e}function v$1(){this.__d=!0;}function h$1(e,t){return {__v:e,context:t,props:e.props,setState:v$1,forceUpdate:v$1,__d:!0,__h:[]}}function g$2(e,t){var r=e.contextType,n=r&&t[r.__c];return null!=r?n?n.props.value:r.__:t}var y$1=[];function m$1(r,n,a,c,_,v){if(null==r||"boolean"==typeof r)return "";if("object"!=typeof r)return "function"==typeof r?"":s$1(r);var b=a.pretty,x=b&&"string"==typeof b?b:"\t";if(Array.isArray(r)){for(var k="",S=0;S<r.length;S++)b&&S>0&&(k+="\n"),k+=m$1(r[S],n,a,c,_,v);return k}if(void 0!==r.constructor)return "";var w,C=r.type,O=r.props,j=!1;if("function"==typeof C){if(j=!0,!a.shallow||!c&&!1!==a.renderRootComponent){if(C===p$2){var A=[];return d$1(A,r.props.children),m$1(A,n,a,!1!==a.shallowHighOrder,_,v)}var F,H=r.__c=h$1(r,n);l$2.__b&&l$2.__b(r);var M=l$2.__r;if(C.prototype&&"function"==typeof C.prototype.render){var L=g$2(C,n);(H=r.__c=new C(O,L)).__v=r,H._dirty=H.__d=!0,H.props=O,null==H.state&&(H.state={}),null==H._nextState&&null==H.__s&&(H._nextState=H.__s=H.state),H.context=L,C.getDerivedStateFromProps?H.state=Object.assign({},H.state,C.getDerivedStateFromProps(H.props,H.state)):H.componentWillMount&&(H.componentWillMount(),H.state=H._nextState!==H.state?H._nextState:H.__s!==H.state?H.__s:H.state),M&&M(r),F=H.render(H.props,H.state,H.context);}else for(var T=g$2(C,n),E=0;H.__d&&E++<25;)H.__d=!1,M&&M(r),F=C.call(r.__c,O,T);return H.getChildContext&&(n=Object.assign({},n,H.getChildContext())),l$2.diffed&&l$2.diffed(r),m$1(F,n,a,!1!==a.shallowHighOrder,_,v)}C=(w=C).displayName||w!==Function&&w.name||function(e){var t=(Function.prototype.toString.call(e).match(/^\s*function\s+([^( ]+)/)||"")[1];if(!t){for(var r=-1,n=y$1.length;n--;)if(y$1[n]===e){r=n;break}r<0&&(r=y$1.push(e)-1),t="UnnamedComponent"+r;}return t}(w);}var $,D,N="<"+C;if(O){var P=Object.keys(O);a&&!0===a.sortAttributes&&P.sort();for(var W=0;W<P.length;W++){var I=P[W],R=O[I];if("children"!==I){if(!i$1.test(I)&&(a&&a.allAttributes||"key"!==I&&"ref"!==I&&"__self"!==I&&"__source"!==I)){if("defaultValue"===I)I="value";else if("defaultChecked"===I)I="checked";else if("defaultSelected"===I)I="selected";else if("className"===I){if(void 0!==O.class)continue;I="class";}else _&&l$1.test(I)&&(I=I.toLowerCase().replace(/^xlink:?/,"xlink:"));if("htmlFor"===I){if(O.for)continue;I="for";}"style"===I&&R&&"object"==typeof R&&(R=p$1(R)),"a"===I[0]&&"r"===I[1]&&"boolean"==typeof R&&(R=String(R));var U=a.attributeHook&&a.attributeHook(I,R,n,a,j);if(U||""===U)N+=U;else if("dangerouslySetInnerHTML"===I)D=R&&R.__html;else if("textarea"===C&&"value"===I)$=R;else if((R||0===R||""===R)&&"function"!=typeof R){if(!(!0!==R&&""!==R||(R=I,a&&a.xml))){N=N+" "+I;continue}if("value"===I){if("select"===C){v=R;continue}"option"===C&&v==R&&void 0===O.selected&&(N+=" selected");}N=N+" "+I+'="'+s$1(R)+'"';}}}else $=R;}}if(b){var V=N.replace(/\n\s*/," ");V===N||~V.indexOf("\n")?b&&~N.indexOf("\n")&&(N+="\n"):N=V;}if(N+=">",i$1.test(C))throw new Error(C+" is not a valid HTML tag name in "+N);var q,z=o$1.test(C)||a.voidElements&&a.voidElements.test(C),Z=[];if(D)b&&u$1(D)&&(D="\n"+x+f$1(D,x)),N+=D;else if(null!=$&&d$1(q=[],$).length){for(var B=b&&~N.indexOf("\n"),G=!1,J=0;J<q.length;J++){var K=q[J];if(null!=K&&!1!==K){var Q=m$1(K,n,a,!0,"svg"===C||"foreignObject"!==C&&_,v);if(b&&!B&&u$1(Q)&&(B=!0),Q)if(b){var X=Q.length>0&&"<"!=Q[0];G&&X?Z[Z.length-1]+=Q:Z.push(Q),G=X;}else Z.push(Q);}}if(b&&B)for(var Y=Z.length;Y--;)Z[Y]="\n"+x+f$1(Z[Y],x);}if(Z.length||D)N+=Z.join("");else if(a&&a.xml)return N.substring(0,N.length-1)+" />";return !z||q||D?(b&&~N.indexOf("\n")&&(N+="\n"),N=N+"</"+C+">"):N=N.replace(/>$/," />"),N}var b$1={shallow:!0};S.render=S;var x$2=function(e,t){return S(e,t,b$1)},k$2=[];function S(n,o,i){o=o||{};var l=l$2.__s;l$2.__s=!0;var a,s=h$2(p$2,null);return s.__k=[n],a=i&&(i.pretty||i.voidElements||i.sortAttributes||i.shallow||i.allAttributes||i.xml||i.attributeHook)?m$1(n,o,i):F$2(n,o,!1,void 0,s),l$2.__c&&l$2.__c(n,k$2),l$2.__s=l,k$2.length=0,a}function w$2(e){return null==e||"boolean"==typeof e?null:"string"==typeof e||"number"==typeof e||"bigint"==typeof e?h$2(null,null,e):e}function C$1(e,t){return "className"===e?"class":"htmlFor"===e?"for":"defaultValue"===e?"value":"defaultChecked"===e?"checked":"defaultSelected"===e?"selected":t&&l$1.test(e)?e.toLowerCase().replace(/^xlink:?/,"xlink:"):e}function O$1(e,t){return "style"===e&&null!=t&&"object"==typeof t?p$1(t):"a"===e[0]&&"r"===e[1]&&"boolean"==typeof t?String(t):t}var j$2=Array.isArray,A$2=Object.assign;function F$2(r,n,l,a,f){if(null==r||!0===r||!1===r||""===r)return "";if("object"!=typeof r)return "function"==typeof r?"":s$1(r);if(j$2(r)){var u="";f.__k=r;for(var c=0;c<r.length;c++)u+=F$2(r[c],n,l,a,f),r[c]=w$2(r[c]);return u}if(void 0!==r.constructor)return "";r.__=f,l$2.__b&&l$2.__b(r);var _=r.type,p=r.props;if("function"==typeof _){var d;if(_===p$2)d=p.children;else {d=_.prototype&&"function"==typeof _.prototype.render?function(e,r){var n=e.type,o=g$2(n,r),i=new n(e.props,o);e.__c=i,i.__v=e,i.__d=!0,i.props=e.props,null==i.state&&(i.state={}),null==i.__s&&(i.__s=i.state),i.context=o,n.getDerivedStateFromProps?i.state=A$2({},i.state,n.getDerivedStateFromProps(i.props,i.state)):i.componentWillMount&&(i.componentWillMount(),i.state=i.__s!==i.state?i.__s:i.state);var l=l$2.__r;return l&&l(e),i.render(i.props,i.state,i.context)}(r,n):function(e,r){var n,o=h$1(e,r),i=g$2(e.type,r);e.__c=o;for(var l=l$2.__r,a=0;o.__d&&a++<25;)o.__d=!1,l&&l(e),n=e.type.call(o,e.props,i);return n}(r,n);var v=r.__c;v.getChildContext&&(n=A$2({},n,v.getChildContext()));}var y=F$2(d=null!=d&&d.type===p$2&&null==d.key?d.props.children:d,n,l,a,r);return l$2.diffed&&l$2.diffed(r),r.__=void 0,l$2.unmount&&l$2.unmount(r),y}var m,b,x="<";if(x+=_,p)for(var k in m=p.children,p){var S=p[k];if(!("key"===k||"ref"===k||"__self"===k||"__source"===k||"children"===k||"className"===k&&"class"in p||"htmlFor"===k&&"for"in p||i$1.test(k)))if(S=O$1(k=C$1(k,l),S),"dangerouslySetInnerHTML"===k)b=S&&S.__html;else if("textarea"===_&&"value"===k)m=S;else if((S||0===S||""===S)&&"function"!=typeof S){if(!0===S||""===S){S=k,x=x+" "+k;continue}if("value"===k){if("select"===_){a=S;continue}"option"!==_||a!=S||"selected"in p||(x+=" selected");}x=x+" "+k+'="'+s$1(S)+'"';}}var H=x;if(x+=">",i$1.test(_))throw new Error(_+" is not a valid HTML tag name in "+x);var M="",L=!1;if(b)M+=b,L=!0;else if("string"==typeof m)M+=s$1(m),L=!0;else if(j$2(m)){r.__k=m;for(var T=0;T<m.length;T++){var E=m[T];if(m[T]=w$2(E),null!=E&&!1!==E){var $=F$2(E,n,"svg"===_||"foreignObject"!==_&&l,a,r);$&&(M+=$,L=!0);}}}else if(null!=m&&!1!==m&&!0!==m){r.__k=[w$2(m)];var D=F$2(m,n,"svg"===_||"foreignObject"!==_&&l,a,r);D&&(M+=D,L=!0);}if(l$2.diffed&&l$2.diffed(r),r.__=void 0,l$2.unmount&&l$2.unmount(r),L)x+=M;else if(o$1.test(_))return H+" />";return x+"</"+_+">"}S.shallowRender=x$2;
-
- var t,r,u,i,o=0,f=[],c=[],e=l$2.__b,a=l$2.__r,v=l$2.diffed,l=l$2.__c,m=l$2.unmount;function d(t,u){l$2.__h&&l$2.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:c}),i.__[t]}function p(n){return o=1,y(B$1,n)}function y(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):B$1(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){r.u=!0;var f=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return !n.__N}))return !f||f.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0);}}),!(!i&&o.__c.props===n)&&(!f||f.call(this,n,t,r))};}return o.__N||o.__}function h(u,i){var o=d(t++,3);!l$2.__s&&z$1(o.__H,i)&&(o.__=u,o.i=i,r.__H.__h.push(o));}function s(u,i){var o=d(t++,4);!l$2.__s&&z$1(o.__H,i)&&(o.__=u,o.i=i,r.__h.push(o));}function _(n){return o=5,F$1(function(){return {current:n}},[])}function A$1(n,t,r){o=6,s(function(){return "function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n));}function F$1(n,r){var u=d(t++,7);return z$1(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function T$1(n,t){return o=8,F$1(function(){return n},t)}function q$1(n){var u=r.context[n.__c],i=d(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function x$1(t,r){l$2.useDebugValue&&l$2.useDebugValue(r?r(t):t);}function V$1(){var n=d(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++;}return n.__}function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k$1),t.__H.__h.forEach(w$1),t.__H.__h=[];}catch(r){t.__H.__h=[],l$2.__e(r,t.__v);}}l$2.__b=function(n){r=null,e&&e(n);},l$2.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0;})):(i.__h.forEach(k$1),i.__h.forEach(w$1),i.__h=[])),u=r;},l$2.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==f.push(o)&&i===l$2.requestAnimationFrame||((i=l$2.requestAnimationFrame)||j$1)(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c;})),u=r=null;},l$2.__c=function(t,r){r.some(function(t){try{t.__h.forEach(k$1),t.__h=t.__h.filter(function(n){return !n.__||w$1(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$2.__e(u,t.__v);}}),l&&l(t,r);},l$2.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{k$1(n);}catch(n){r=n;}}),u.__H=void 0,r&&l$2.__e(r,u.__v));};var g$1="function"==typeof requestAnimationFrame;function j$1(n){var t,r=function(){clearTimeout(u),g$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g$1&&(t=requestAnimationFrame(r));}function k$1(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function w$1(n){var t=r;n.__c=n.__(),r=t;}function z$1(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function B$1(n,t){return "function"==typeof t?t(n):t}
-
- function memoize(fn) {
- var cache = {};
- return function (arg) {
- if (cache[arg] === undefined) cache[arg] = fn(arg);
- return cache[arg];
- };
- }
-
- var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
-
- var index = memoize(function (prop) {
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
- /* o */
- && prop.charCodeAt(1) === 110
- /* n */
- && prop.charCodeAt(2) < 91;
- }
- /* Z+1 */
- );
-
- function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n;}function R(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return !r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,h$2(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new d$2).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var x=l$2.__b;l$2.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),x&&x(n);};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:x$3(x$3(n).map(t))},O={map:A,forEach:A,count:function(n){return n?x$3(n).length:0},only:function(n){var t=x$3(n);if(1!==t.length)throw "Children.only";return t[0]},toArray:x$3},T=l$2.__e;l$2.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r);};var I=l$2.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null;}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n;},function(n){u=n;}),u)throw u;if(!r)throw e;return h$2(r,o)}return o.displayName="Lazy",o.__f=!0,o}function V(){this.u=null,this.o=null;}l$2.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n);},(D.prototype=new d$2).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l());};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate();}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i);},D.prototype.componentWillUnmount=function(){this.t=[];},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P);}this.__b=null;}var i=e.__a&&h$2(p$2,null,n.fallback);return i&&(i.__h=null),[h$2(p$2,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2];}};function P(n){return this.getChildContext=function(){return n.context},n.children}function $(n){var e=this,r=n.i;e.componentWillUnmount=function(){P$1(null,e.l),e.l=null,e.i=null;},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n);},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n);},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n);}}),P$1(h$2(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount();}function j(n,e){var r=h$2($,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new d$2).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u();};e?e(o):o();}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=x$3(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t);});};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H="undefined"!=typeof document,Z=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};function Y(n,t,e){return null==t.__k&&(t.textContent=""),P$1(n,t),"function"==typeof e&&e(),n?n.__c:null}function q(n,t,e){return S$1(n,t),"function"==typeof e&&e(),n?n.__c:null}d$2.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(d$2.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n});}});});var G=l$2.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}l$2.event=function(n){return G&&(n=G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var X,nn={configurable:!0,get:function(){return this.class}},tn=l$2.vnode;l$2.vnode=function(n){var t=n.type,e=n.props,u=e;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in u={},e){var l=e[i];H&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in e&&null==l||("defaultValue"===i&&"value"in e&&null==e.value?i="value":"download"===i&&!0===l?l="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Z(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&B.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),u[i]&&(i="oninputCapture")),u[i]=l);}"select"==t&&u.multiple&&Array.isArray(u.value)&&(u.value=x$3(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==t&&null!=u.defaultValue&&(u.value=x$3(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),n.props=u,e.class!=e.className&&(nn.enumerable="className"in e,null!=e.className&&(u.class=e.className),Object.defineProperty(u,"className",nn));}n.$$typeof=z,tn&&tn(n);};var en=l$2.__r;l$2.__r=function(n){en&&en(n),X=n.__c;};var rn={ReactCurrentDispatcher:{current:{readContext:function(n){return X.__n[n.__c].props.value}}}};function on(n){return h$2.bind(null,n)}function ln(n){return !!n&&n.$$typeof===z}function cn(n){return ln(n)?q$2.apply(null,arguments):n}function fn(n){return !!n.__k&&(P$1(null,n),!0)}function an(n){return n&&(n.base||1===n.nodeType&&n)||null}var sn=function(n,t){return n(t)},hn=function(n,t){return n(t)},vn=p$2;function dn(n){n();}function pn(n){return n}function mn(){return [!1,dn]}var yn=s;function _n(n,t){var e=t(),r=p({h:{__:e,v:t}}),u=r[0].h,o=r[1];return s(function(){u.__=e,u.v=t,E(u.__,t())||o({h:u});},[n,e,t]),h(function(){return E(u.__,u.v())||o({h:u}),n(function(){E(u.__,u.v())||o({h:u});})},[n]),e}var bn={useState:p,useId:V$1,useReducer:y,useEffect:h,useLayoutEffect:s,useInsertionEffect:yn,useTransition:mn,useDeferredValue:pn,useSyncExternalStore:_n,startTransition:dn,useRef:_,useImperativeHandle:A$1,useMemo:F$1,useCallback:T$1,useContext:q$1,useDebugValue:x$1,version:"17.0.2",Children:O,render:Y,hydrate:q,unmountComponentAtNode:fn,createPortal:j,createElement:h$2,createContext:B$2,createFactory:on,cloneElement:cn,createRef:y$2,Fragment:p$2,isValidElement:ln,findDOMNode:an,Component:d$2,PureComponent:w,memo:R,forwardRef:k,flushSync:hn,unstable_batchedUpdates:sn,StrictMode:vn,Suspense:D,SuspenseList:V,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rn};
-
- /**
- * Takes a list of class names and filters for truthy ones, joining them into a single class name for convenience.
- * eg.
- * ```js
- * cx('red', isBig && 'big') // returns 'red big' if `isBig` is true, otherwise returns 'red'
- * ```
- * If space separated atomic styles are provided, they are deduplicated according to the first hashed valued:
- *
- * ```js
- * cx('atm_a_class1 atm_b_class2', 'atm_a_class3') // returns `atm_a_class3 atm_b_class2`
- * ```
- *
- * @returns the combined, space separated class names that can be applied directly to the class attribute
- */
- const cx = function cx() {
- const presentClassNames = Array.prototype.slice // eslint-disable-next-line prefer-rest-params
- .call(arguments).filter(Boolean);
- const atomicClasses = {};
- const nonAtomicClasses = [];
- presentClassNames.forEach(arg => {
- // className could be the output of a previous cx call, so split by ' ' first
- const individualClassNames = arg ? arg.split(' ') : [];
- individualClassNames.forEach(className => {
- if (className.startsWith('atm_')) {
- const [, keyHash] = className.split('_');
- atomicClasses[keyHash] = className;
- } else {
- nonAtomicClasses.push(className);
- }
- });
- });
- const result = []; // eslint-disable-next-line no-restricted-syntax
-
- for (const keyHash in atomicClasses) {
- if (Object.prototype.hasOwnProperty.call(atomicClasses, keyHash)) {
- result.push(atomicClasses[keyHash]);
- }
- }
-
- result.push(...nonAtomicClasses);
- return result.join(' ');
- };
-
- var cx$1 = cx;
-
- /* eslint-disable @typescript-eslint/no-explicit-any */
-
- const isCapital = ch => ch.toUpperCase() === ch;
-
- const filterKey = keys => key => keys.indexOf(key) === -1;
-
- const omit = (obj, keys) => {
- const res = {};
- Object.keys(obj).filter(filterKey(keys)).forEach(key => {
- res[key] = obj[key];
- });
- return res;
- };
-
- function filterProps(component, props, omitKeys) {
- const filteredProps = omit(props, omitKeys); // Check if it's an HTML tag and not a custom element
-
- if (typeof component === 'string' && component.indexOf('-') === -1 && !isCapital(component[0])) {
- Object.keys(filteredProps).forEach(key => {
- if (!index(key)) {
- // Don't pass through invalid attributes to HTML elements
- delete filteredProps[key];
- }
- });
- }
-
- return filteredProps;
- }
-
- const warnIfInvalid = (value, componentName) => {
- };
-
- function styled(tag) {
- return options => {
-
- const render = (props, ref) => {
- const {
- as: component = tag,
- class: className
- } = props;
- const filteredProps = filterProps(component, props, ['as', 'class']);
- filteredProps.ref = ref;
- filteredProps.className = options.atomic ? cx$1(options.class, filteredProps.className || className) : cx$1(filteredProps.className || className, options.class);
- const {
- vars
- } = options;
-
- if (vars) {
- const style = {}; // eslint-disable-next-line guard-for-in,no-restricted-syntax
-
- for (const name in vars) {
- const variable = vars[name];
- const result = variable[0];
- const unit = variable[1] || '';
- const value = typeof result === 'function' ? result(props) : result;
- warnIfInvalid(value, options.name);
- style[`--${name}`] = `${value}${unit}`;
- }
-
- const ownStyle = filteredProps.style || {};
- const keys = Object.keys(ownStyle);
-
- if (keys.length > 0) {
- keys.forEach(key => {
- style[key] = ownStyle[key];
- });
- }
-
- filteredProps.style = style;
- }
-
- if (tag.__linaria && tag !== component) {
- // If the underlying tag is a styled component, forward the `as` prop
- // Otherwise the styles from the underlying component will be ignored
- filteredProps.as = component;
- return /*#__PURE__*/bn.createElement(tag, filteredProps);
- }
-
- return /*#__PURE__*/bn.createElement(component, filteredProps);
- };
-
- const Result = bn.forwardRef ? /*#__PURE__*/bn.forwardRef(render) : // React.forwardRef won't available on older React versions and in Preact
- // Fallback to a innerRef prop in that case
- props => {
- const rest = omit(props, ['innerRef']);
- return render(rest, props.innerRef);
- };
- Result.displayName = options.name; // These properties will be read by the babel plugin for interpolation
-
- Result.__linaria = {
- className: options.class,
- extends: tag
- };
- return Result;
- };
- }
-
- var styled$1 = styled;
-
- /*
- This file is part of GNU Taler
- (C) 2021 Taler Systems S.A.
-
- GNU Taler is free software; you can redistribute it and/or modify it under the
- terms of the GNU General Public License as published by the Free Software
- Foundation; either version 3, or (at your option) any later version.
-
- GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along with
- GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
- */
- const QRPlaceholder = /*#__PURE__*/styled$1('div')({
- name: "QRPlaceholder",
- class: "q1ma0zxq"
- });
- const FooterBar = /*#__PURE__*/styled$1('footer')({
- name: "FooterBar",
- class: "fef0x5t"
- });
- const Page = /*#__PURE__*/styled$1('div')({
- name: "Page",
- class: "p1b3vqup"
- });
- const WalletLink = /*#__PURE__*/styled$1('a')({
- name: "WalletLink",
- class: "wpwjmk",
- vars: {
- "wpwjmk-0": [({
- upperCased
- }) => upperCased ? 'uppercase' : 'none']
- }
- });
-
- /*
- This file is part of GNU Taler
- (C) 2021 Taler Systems S.A.
-
- GNU Taler is free software; you can redistribute it and/or modify it under the
- terms of the GNU General Public License as published by the Free Software
- Foundation; either version 3, or (at your option) any later version.
-
- GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along with
- GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
- */
- function Footer() {
- return (h$2(FooterBar, null,
- h$2("p", null,
- h$2("a", { href: "https://taler.net/" }, "Learn more about GNU Taler on our website."),
- h$2("p", null, "Copyright \u00A9 2014\u20142021 Taler Systems SA"))));
- }
-
- var qrcode$1 = {exports: {}};
-
- (function (module, exports) {
- //---------------------------------------------------------------------
- //
- // QR Code Generator for JavaScript
- //
- // Copyright (c) 2009 Kazuhiko Arase
- //
- // URL: http://www.d-project.com/
- //
- // Licensed under the MIT license:
- // http://www.opensource.org/licenses/mit-license.php
- //
- // The word 'QR Code' is registered trademark of
- // DENSO WAVE INCORPORATED
- // http://www.denso-wave.com/qrcode/faqpatent-e.html
- //
- //---------------------------------------------------------------------
-
- var qrcode = function() {
-
- //---------------------------------------------------------------------
- // qrcode
- //---------------------------------------------------------------------
-
- /**
- * qrcode
- * @param typeNumber 1 to 40
- * @param errorCorrectionLevel 'L','M','Q','H'
- */
- var qrcode = function(typeNumber, errorCorrectionLevel) {
-
- var PAD0 = 0xEC;
- var PAD1 = 0x11;
-
- var _typeNumber = typeNumber;
- var _errorCorrectionLevel = QRErrorCorrectionLevel[errorCorrectionLevel];
- var _modules = null;
- var _moduleCount = 0;
- var _dataCache = null;
- var _dataList = [];
-
- var _this = {};
-
- var makeImpl = function(test, maskPattern) {
-
- _moduleCount = _typeNumber * 4 + 17;
- _modules = function(moduleCount) {
- var modules = new Array(moduleCount);
- for (var row = 0; row < moduleCount; row += 1) {
- modules[row] = new Array(moduleCount);
- for (var col = 0; col < moduleCount; col += 1) {
- modules[row][col] = null;
- }
- }
- return modules;
- }(_moduleCount);
-
- setupPositionProbePattern(0, 0);
- setupPositionProbePattern(_moduleCount - 7, 0);
- setupPositionProbePattern(0, _moduleCount - 7);
- setupPositionAdjustPattern();
- setupTimingPattern();
- setupTypeInfo(test, maskPattern);
-
- if (_typeNumber >= 7) {
- setupTypeNumber(test);
- }
-
- if (_dataCache == null) {
- _dataCache = createData(_typeNumber, _errorCorrectionLevel, _dataList);
- }
-
- mapData(_dataCache, maskPattern);
- };
-
- var setupPositionProbePattern = function(row, col) {
-
- for (var r = -1; r <= 7; r += 1) {
-
- if (row + r <= -1 || _moduleCount <= row + r) continue;
-
- for (var c = -1; c <= 7; c += 1) {
-
- if (col + c <= -1 || _moduleCount <= col + c) continue;
-
- if ( (0 <= r && r <= 6 && (c == 0 || c == 6) )
- || (0 <= c && c <= 6 && (r == 0 || r == 6) )
- || (2 <= r && r <= 4 && 2 <= c && c <= 4) ) {
- _modules[row + r][col + c] = true;
- } else {
- _modules[row + r][col + c] = false;
- }
- }
- }
- };
-
- var getBestMaskPattern = function() {
-
- var minLostPoint = 0;
- var pattern = 0;
-
- for (var i = 0; i < 8; i += 1) {
-
- makeImpl(true, i);
-
- var lostPoint = QRUtil.getLostPoint(_this);
-
- if (i == 0 || minLostPoint > lostPoint) {
- minLostPoint = lostPoint;
- pattern = i;
- }
- }
-
- return pattern;
- };
-
- var setupTimingPattern = function() {
-
- for (var r = 8; r < _moduleCount - 8; r += 1) {
- if (_modules[r][6] != null) {
- continue;
- }
- _modules[r][6] = (r % 2 == 0);
- }
-
- for (var c = 8; c < _moduleCount - 8; c += 1) {
- if (_modules[6][c] != null) {
- continue;
- }
- _modules[6][c] = (c % 2 == 0);
- }
- };
-
- var setupPositionAdjustPattern = function() {
-
- var pos = QRUtil.getPatternPosition(_typeNumber);
-
- for (var i = 0; i < pos.length; i += 1) {
-
- for (var j = 0; j < pos.length; j += 1) {
-
- var row = pos[i];
- var col = pos[j];
-
- if (_modules[row][col] != null) {
- continue;
- }
-
- for (var r = -2; r <= 2; r += 1) {
-
- for (var c = -2; c <= 2; c += 1) {
-
- if (r == -2 || r == 2 || c == -2 || c == 2
- || (r == 0 && c == 0) ) {
- _modules[row + r][col + c] = true;
- } else {
- _modules[row + r][col + c] = false;
- }
- }
- }
- }
- }
- };
-
- var setupTypeNumber = function(test) {
-
- var bits = QRUtil.getBCHTypeNumber(_typeNumber);
-
- for (var i = 0; i < 18; i += 1) {
- var mod = (!test && ( (bits >> i) & 1) == 1);
- _modules[Math.floor(i / 3)][i % 3 + _moduleCount - 8 - 3] = mod;
- }
-
- for (var i = 0; i < 18; i += 1) {
- var mod = (!test && ( (bits >> i) & 1) == 1);
- _modules[i % 3 + _moduleCount - 8 - 3][Math.floor(i / 3)] = mod;
- }
- };
-
- var setupTypeInfo = function(test, maskPattern) {
-
- var data = (_errorCorrectionLevel << 3) | maskPattern;
- var bits = QRUtil.getBCHTypeInfo(data);
-
- // vertical
- for (var i = 0; i < 15; i += 1) {
-
- var mod = (!test && ( (bits >> i) & 1) == 1);
-
- if (i < 6) {
- _modules[i][8] = mod;
- } else if (i < 8) {
- _modules[i + 1][8] = mod;
- } else {
- _modules[_moduleCount - 15 + i][8] = mod;
- }
- }
-
- // horizontal
- for (var i = 0; i < 15; i += 1) {
-
- var mod = (!test && ( (bits >> i) & 1) == 1);
-
- if (i < 8) {
- _modules[8][_moduleCount - i - 1] = mod;
- } else if (i < 9) {
- _modules[8][15 - i - 1 + 1] = mod;
- } else {
- _modules[8][15 - i - 1] = mod;
- }
- }
-
- // fixed module
- _modules[_moduleCount - 8][8] = (!test);
- };
-
- var mapData = function(data, maskPattern) {
-
- var inc = -1;
- var row = _moduleCount - 1;
- var bitIndex = 7;
- var byteIndex = 0;
- var maskFunc = QRUtil.getMaskFunction(maskPattern);
-
- for (var col = _moduleCount - 1; col > 0; col -= 2) {
-
- if (col == 6) col -= 1;
-
- while (true) {
-
- for (var c = 0; c < 2; c += 1) {
-
- if (_modules[row][col - c] == null) {
-
- var dark = false;
-
- if (byteIndex < data.length) {
- dark = ( ( (data[byteIndex] >>> bitIndex) & 1) == 1);
- }
-
- var mask = maskFunc(row, col - c);
-
- if (mask) {
- dark = !dark;
- }
-
- _modules[row][col - c] = dark;
- bitIndex -= 1;
-
- if (bitIndex == -1) {
- byteIndex += 1;
- bitIndex = 7;
- }
- }
- }
-
- row += inc;
-
- if (row < 0 || _moduleCount <= row) {
- row -= inc;
- inc = -inc;
- break;
- }
- }
- }
- };
-
- var createBytes = function(buffer, rsBlocks) {
-
- var offset = 0;
-
- var maxDcCount = 0;
- var maxEcCount = 0;
-
- var dcdata = new Array(rsBlocks.length);
- var ecdata = new Array(rsBlocks.length);
-
- for (var r = 0; r < rsBlocks.length; r += 1) {
-
- var dcCount = rsBlocks[r].dataCount;
- var ecCount = rsBlocks[r].totalCount - dcCount;
-
- maxDcCount = Math.max(maxDcCount, dcCount);
- maxEcCount = Math.max(maxEcCount, ecCount);
-
- dcdata[r] = new Array(dcCount);
-
- for (var i = 0; i < dcdata[r].length; i += 1) {
- dcdata[r][i] = 0xff & buffer.getBuffer()[i + offset];
- }
- offset += dcCount;
-
- var rsPoly = QRUtil.getErrorCorrectPolynomial(ecCount);
- var rawPoly = qrPolynomial(dcdata[r], rsPoly.getLength() - 1);
-
- var modPoly = rawPoly.mod(rsPoly);
- ecdata[r] = new Array(rsPoly.getLength() - 1);
- for (var i = 0; i < ecdata[r].length; i += 1) {
- var modIndex = i + modPoly.getLength() - ecdata[r].length;
- ecdata[r][i] = (modIndex >= 0)? modPoly.getAt(modIndex) : 0;
- }
- }
-
- var totalCodeCount = 0;
- for (var i = 0; i < rsBlocks.length; i += 1) {
- totalCodeCount += rsBlocks[i].totalCount;
- }
-
- var data = new Array(totalCodeCount);
- var index = 0;
-
- for (var i = 0; i < maxDcCount; i += 1) {
- for (var r = 0; r < rsBlocks.length; r += 1) {
- if (i < dcdata[r].length) {
- data[index] = dcdata[r][i];
- index += 1;
- }
- }
- }
-
- for (var i = 0; i < maxEcCount; i += 1) {
- for (var r = 0; r < rsBlocks.length; r += 1) {
- if (i < ecdata[r].length) {
- data[index] = ecdata[r][i];
- index += 1;
- }
- }
- }
-
- return data;
- };
-
- var createData = function(typeNumber, errorCorrectionLevel, dataList) {
-
- var rsBlocks = QRRSBlock.getRSBlocks(typeNumber, errorCorrectionLevel);
-
- var buffer = qrBitBuffer();
-
- for (var i = 0; i < dataList.length; i += 1) {
- var data = dataList[i];
- buffer.put(data.getMode(), 4);
- buffer.put(data.getLength(), QRUtil.getLengthInBits(data.getMode(), typeNumber) );
- data.write(buffer);
- }
-
- // calc num max data.
- var totalDataCount = 0;
- for (var i = 0; i < rsBlocks.length; i += 1) {
- totalDataCount += rsBlocks[i].dataCount;
- }
-
- if (buffer.getLengthInBits() > totalDataCount * 8) {
- throw 'code length overflow. ('
- + buffer.getLengthInBits()
- + '>'
- + totalDataCount * 8
- + ')';
- }
-
- // end code
- if (buffer.getLengthInBits() + 4 <= totalDataCount * 8) {
- buffer.put(0, 4);
- }
-
- // padding
- while (buffer.getLengthInBits() % 8 != 0) {
- buffer.putBit(false);
- }
-
- // padding
- while (true) {
-
- if (buffer.getLengthInBits() >= totalDataCount * 8) {
- break;
- }
- buffer.put(PAD0, 8);
-
- if (buffer.getLengthInBits() >= totalDataCount * 8) {
- break;
- }
- buffer.put(PAD1, 8);
- }
-
- return createBytes(buffer, rsBlocks);
- };
-
- _this.addData = function(data, mode) {
-
- mode = mode || 'Byte';
-
- var newData = null;
-
- switch(mode) {
- case 'Numeric' :
- newData = qrNumber(data);
- break;
- case 'Alphanumeric' :
- newData = qrAlphaNum(data);
- break;
- case 'Byte' :
- newData = qr8BitByte(data);
- break;
- case 'Kanji' :
- newData = qrKanji(data);
- break;
- default :
- throw 'mode:' + mode;
- }
-
- _dataList.push(newData);
- _dataCache = null;
- };
-
- _this.isDark = function(row, col) {
- if (row < 0 || _moduleCount <= row || col < 0 || _moduleCount <= col) {
- throw row + ',' + col;
- }
- return _modules[row][col];
- };
-
- _this.getModuleCount = function() {
- return _moduleCount;
- };
-
- _this.make = function() {
- if (_typeNumber < 1) {
- var typeNumber = 1;
-
- for (; typeNumber < 40; typeNumber++) {
- var rsBlocks = QRRSBlock.getRSBlocks(typeNumber, _errorCorrectionLevel);
- var buffer = qrBitBuffer();
-
- for (var i = 0; i < _dataList.length; i++) {
- var data = _dataList[i];
- buffer.put(data.getMode(), 4);
- buffer.put(data.getLength(), QRUtil.getLengthInBits(data.getMode(), typeNumber) );
- data.write(buffer);
- }
-
- var totalDataCount = 0;
- for (var i = 0; i < rsBlocks.length; i++) {
- totalDataCount += rsBlocks[i].dataCount;
- }
-
- if (buffer.getLengthInBits() <= totalDataCount * 8) {
- break;
- }
- }
-
- _typeNumber = typeNumber;
- }
-
- makeImpl(false, getBestMaskPattern() );
- };
-
- _this.createTableTag = function(cellSize, margin) {
-
- cellSize = cellSize || 2;
- margin = (typeof margin == 'undefined')? cellSize * 4 : margin;
-
- var qrHtml = '';
-
- qrHtml += '<table style="';
- qrHtml += ' border-width: 0px; border-style: none;';
- qrHtml += ' border-collapse: collapse;';
- qrHtml += ' padding: 0px; margin: ' + margin + 'px;';
- qrHtml += '">';
- qrHtml += '<tbody>';
-
- for (var r = 0; r < _this.getModuleCount(); r += 1) {
-
- qrHtml += '<tr>';
-
- for (var c = 0; c < _this.getModuleCount(); c += 1) {
- qrHtml += '<td style="';
- qrHtml += ' border-width: 0px; border-style: none;';
- qrHtml += ' border-collapse: collapse;';
- qrHtml += ' padding: 0px; margin: 0px;';
- qrHtml += ' width: ' + cellSize + 'px;';
- qrHtml += ' height: ' + cellSize + 'px;';
- qrHtml += ' background-color: ';
- qrHtml += _this.isDark(r, c)? '#000000' : '#ffffff';
- qrHtml += ';';
- qrHtml += '"/>';
- }
-
- qrHtml += '</tr>';
- }
-
- qrHtml += '</tbody>';
- qrHtml += '</table>';
-
- return qrHtml;
- };
-
- _this.createSvgTag = function(cellSize, margin, alt, title) {
-
- var opts = {};
- if (typeof arguments[0] == 'object') {
- // Called by options.
- opts = arguments[0];
- // overwrite cellSize and margin.
- cellSize = opts.cellSize;
- margin = opts.margin;
- alt = opts.alt;
- title = opts.title;
- }
-
- cellSize = cellSize || 2;
- margin = (typeof margin == 'undefined')? cellSize * 4 : margin;
-
- // Compose alt property surrogate
- alt = (typeof alt === 'string') ? {text: alt} : alt || {};
- alt.text = alt.text || null;
- alt.id = (alt.text) ? alt.id || 'qrcode-description' : null;
-
- // Compose title property surrogate
- title = (typeof title === 'string') ? {text: title} : title || {};
- title.text = title.text || null;
- title.id = (title.text) ? title.id || 'qrcode-title' : null;
-
- var size = _this.getModuleCount() * cellSize + margin * 2;
- var c, mc, r, mr, qrSvg='', rect;
-
- rect = 'l' + cellSize + ',0 0,' + cellSize +
- ' -' + cellSize + ',0 0,-' + cellSize + 'z ';
-
- qrSvg += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"';
- qrSvg += !opts.scalable ? ' width="' + size + 'px" height="' + size + 'px"' : '';
- qrSvg += ' viewBox="0 0 ' + size + ' ' + size + '" ';
- qrSvg += ' preserveAspectRatio="xMinYMin meet"';
- qrSvg += (title.text || alt.text) ? ' role="img" aria-labelledby="' +
- escapeXml([title.id, alt.id].join(' ').trim() ) + '"' : '';
- qrSvg += '>';
- qrSvg += (title.text) ? '<title id="' + escapeXml(title.id) + '">' +
- escapeXml(title.text) + '</title>' : '';
- qrSvg += (alt.text) ? '<description id="' + escapeXml(alt.id) + '">' +
- escapeXml(alt.text) + '</description>' : '';
- qrSvg += '<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>';
- qrSvg += '<path d="';
-
- for (r = 0; r < _this.getModuleCount(); r += 1) {
- mr = r * cellSize + margin;
- for (c = 0; c < _this.getModuleCount(); c += 1) {
- if (_this.isDark(r, c) ) {
- mc = c*cellSize+margin;
- qrSvg += 'M' + mc + ',' + mr + rect;
- }
- }
- }
-
- qrSvg += '" stroke="transparent" fill="black"/>';
- qrSvg += '</svg>';
-
- return qrSvg;
- };
-
- _this.createDataURL = function(cellSize, margin) {
-
- cellSize = cellSize || 2;
- margin = (typeof margin == 'undefined')? cellSize * 4 : margin;
-
- var size = _this.getModuleCount() * cellSize + margin * 2;
- var min = margin;
- var max = size - margin;
-
- return createDataURL(size, size, function(x, y) {
- if (min <= x && x < max && min <= y && y < max) {
- var c = Math.floor( (x - min) / cellSize);
- var r = Math.floor( (y - min) / cellSize);
- return _this.isDark(r, c)? 0 : 1;
- } else {
- return 1;
- }
- } );
- };
-
- _this.createImgTag = function(cellSize, margin, alt) {
-
- cellSize = cellSize || 2;
- margin = (typeof margin == 'undefined')? cellSize * 4 : margin;
-
- var size = _this.getModuleCount() * cellSize + margin * 2;
-
- var img = '';
- img += '<img';
- img += '\u0020src="';
- img += _this.createDataURL(cellSize, margin);
- img += '"';
- img += '\u0020width="';
- img += size;
- img += '"';
- img += '\u0020height="';
- img += size;
- img += '"';
- if (alt) {
- img += '\u0020alt="';
- img += escapeXml(alt);
- img += '"';
- }
- img += '/>';
-
- return img;
- };
-
- var escapeXml = function(s) {
- var escaped = '';
- for (var i = 0; i < s.length; i += 1) {
- var c = s.charAt(i);
- switch(c) {
- case '<': escaped += '&lt;'; break;
- case '>': escaped += '&gt;'; break;
- case '&': escaped += '&amp;'; break;
- case '"': escaped += '&quot;'; break;
- default : escaped += c; break;
- }
- }
- return escaped;
- };
-
- var _createHalfASCII = function(margin) {
- var cellSize = 1;
- margin = (typeof margin == 'undefined')? cellSize * 2 : margin;
-
- var size = _this.getModuleCount() * cellSize + margin * 2;
- var min = margin;
- var max = size - margin;
-
- var y, x, r1, r2, p;
-
- var blocks = {
- '██': '█',
- 'â–ˆ ': 'â–€',
- ' â–ˆ': 'â–„',
- ' ': ' '
- };
-
- var blocksLastLineNoMargin = {
- '██': '▀',
- 'â–ˆ ': 'â–€',
- ' â–ˆ': ' ',
- ' ': ' '
- };
-
- var ascii = '';
- for (y = 0; y < size; y += 2) {
- r1 = Math.floor((y - min) / cellSize);
- r2 = Math.floor((y + 1 - min) / cellSize);
- for (x = 0; x < size; x += 1) {
- p = 'â–ˆ';
-
- if (min <= x && x < max && min <= y && y < max && _this.isDark(r1, Math.floor((x - min) / cellSize))) {
- p = ' ';
- }
-
- if (min <= x && x < max && min <= y+1 && y+1 < max && _this.isDark(r2, Math.floor((x - min) / cellSize))) {
- p += ' ';
- }
- else {
- p += 'â–ˆ';
- }
-
- // Output 2 characters per pixel, to create full square. 1 character per pixels gives only half width of square.
- ascii += (margin < 1 && y+1 >= max) ? blocksLastLineNoMargin[p] : blocks[p];
- }
-
- ascii += '\n';
- }
-
- if (size % 2 && margin > 0) {
- return ascii.substring(0, ascii.length - size - 1) + Array(size+1).join('â–€');
- }
-
- return ascii.substring(0, ascii.length-1);
- };
-
- _this.createASCII = function(cellSize, margin) {
- cellSize = cellSize || 1;
-
- if (cellSize < 2) {
- return _createHalfASCII(margin);
- }
-
- cellSize -= 1;
- margin = (typeof margin == 'undefined')? cellSize * 2 : margin;
-
- var size = _this.getModuleCount() * cellSize + margin * 2;
- var min = margin;
- var max = size - margin;
-
- var y, x, r, p;
-
- var white = Array(cellSize+1).join('██');
- var black = Array(cellSize+1).join(' ');
-
- var ascii = '';
- var line = '';
- for (y = 0; y < size; y += 1) {
- r = Math.floor( (y - min) / cellSize);
- line = '';
- for (x = 0; x < size; x += 1) {
- p = 1;
-
- if (min <= x && x < max && min <= y && y < max && _this.isDark(r, Math.floor((x - min) / cellSize))) {
- p = 0;
- }
-
- // Output 2 characters per pixel, to create full square. 1 character per pixels gives only half width of square.
- line += p ? white : black;
- }
-
- for (r = 0; r < cellSize; r += 1) {
- ascii += line + '\n';
- }
- }
-
- return ascii.substring(0, ascii.length-1);
- };
-
- _this.renderTo2dContext = function(context, cellSize) {
- cellSize = cellSize || 2;
- var length = _this.getModuleCount();
- for (var row = 0; row < length; row++) {
- for (var col = 0; col < length; col++) {
- context.fillStyle = _this.isDark(row, col) ? 'black' : 'white';
- context.fillRect(row * cellSize, col * cellSize, cellSize, cellSize);
- }
- }
- };
-
- return _this;
- };
-
- //---------------------------------------------------------------------
- // qrcode.stringToBytes
- //---------------------------------------------------------------------
-
- qrcode.stringToBytesFuncs = {
- 'default' : function(s) {
- var bytes = [];
- for (var i = 0; i < s.length; i += 1) {
- var c = s.charCodeAt(i);
- bytes.push(c & 0xff);
- }
- return bytes;
- }
- };
-
- qrcode.stringToBytes = qrcode.stringToBytesFuncs['default'];
-
- //---------------------------------------------------------------------
- // qrcode.createStringToBytes
- //---------------------------------------------------------------------
-
- /**
- * @param unicodeData base64 string of byte array.
- * [16bit Unicode],[16bit Bytes], ...
- * @param numChars
- */
- qrcode.createStringToBytes = function(unicodeData, numChars) {
-
- // create conversion map.
-
- var unicodeMap = function() {
-
- var bin = base64DecodeInputStream(unicodeData);
- var read = function() {
- var b = bin.read();
- if (b == -1) throw 'eof';
- return b;
- };
-
- var count = 0;
- var unicodeMap = {};
- while (true) {
- var b0 = bin.read();
- if (b0 == -1) break;
- var b1 = read();
- var b2 = read();
- var b3 = read();
- var k = String.fromCharCode( (b0 << 8) | b1);
- var v = (b2 << 8) | b3;
- unicodeMap[k] = v;
- count += 1;
- }
- if (count != numChars) {
- throw count + ' != ' + numChars;
- }
-
- return unicodeMap;
- }();
-
- var unknownChar = '?'.charCodeAt(0);
-
- return function(s) {
- var bytes = [];
- for (var i = 0; i < s.length; i += 1) {
- var c = s.charCodeAt(i);
- if (c < 128) {
- bytes.push(c);
- } else {
- var b = unicodeMap[s.charAt(i)];
- if (typeof b == 'number') {
- if ( (b & 0xff) == b) {
- // 1byte
- bytes.push(b);
- } else {
- // 2bytes
- bytes.push(b >>> 8);
- bytes.push(b & 0xff);
- }
- } else {
- bytes.push(unknownChar);
- }
- }
- }
- return bytes;
- };
- };
-
- //---------------------------------------------------------------------
- // QRMode
- //---------------------------------------------------------------------
-
- var QRMode = {
- MODE_NUMBER : 1 << 0,
- MODE_ALPHA_NUM : 1 << 1,
- MODE_8BIT_BYTE : 1 << 2,
- MODE_KANJI : 1 << 3
- };
-
- //---------------------------------------------------------------------
- // QRErrorCorrectionLevel
- //---------------------------------------------------------------------
-
- var QRErrorCorrectionLevel = {
- L : 1,
- M : 0,
- Q : 3,
- H : 2
- };
-
- //---------------------------------------------------------------------
- // QRMaskPattern
- //---------------------------------------------------------------------
-
- var QRMaskPattern = {
- PATTERN000 : 0,
- PATTERN001 : 1,
- PATTERN010 : 2,
- PATTERN011 : 3,
- PATTERN100 : 4,
- PATTERN101 : 5,
- PATTERN110 : 6,
- PATTERN111 : 7
- };
-
- //---------------------------------------------------------------------
- // QRUtil
- //---------------------------------------------------------------------
-
- var QRUtil = function() {
-
- var PATTERN_POSITION_TABLE = [
- [],
- [6, 18],
- [6, 22],
- [6, 26],
- [6, 30],
- [6, 34],
- [6, 22, 38],
- [6, 24, 42],
- [6, 26, 46],
- [6, 28, 50],
- [6, 30, 54],
- [6, 32, 58],
- [6, 34, 62],
- [6, 26, 46, 66],
- [6, 26, 48, 70],
- [6, 26, 50, 74],
- [6, 30, 54, 78],
- [6, 30, 56, 82],
- [6, 30, 58, 86],
- [6, 34, 62, 90],
- [6, 28, 50, 72, 94],
- [6, 26, 50, 74, 98],
- [6, 30, 54, 78, 102],
- [6, 28, 54, 80, 106],
- [6, 32, 58, 84, 110],
- [6, 30, 58, 86, 114],
- [6, 34, 62, 90, 118],
- [6, 26, 50, 74, 98, 122],
- [6, 30, 54, 78, 102, 126],
- [6, 26, 52, 78, 104, 130],
- [6, 30, 56, 82, 108, 134],
- [6, 34, 60, 86, 112, 138],
- [6, 30, 58, 86, 114, 142],
- [6, 34, 62, 90, 118, 146],
- [6, 30, 54, 78, 102, 126, 150],
- [6, 24, 50, 76, 102, 128, 154],
- [6, 28, 54, 80, 106, 132, 158],
- [6, 32, 58, 84, 110, 136, 162],
- [6, 26, 54, 82, 110, 138, 166],
- [6, 30, 58, 86, 114, 142, 170]
- ];
- var G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0);
- var G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0);
- var G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1);
-
- var _this = {};
-
- var getBCHDigit = function(data) {
- var digit = 0;
- while (data != 0) {
- digit += 1;
- data >>>= 1;
- }
- return digit;
- };
-
- _this.getBCHTypeInfo = function(data) {
- var d = data << 10;
- while (getBCHDigit(d) - getBCHDigit(G15) >= 0) {
- d ^= (G15 << (getBCHDigit(d) - getBCHDigit(G15) ) );
- }
- return ( (data << 10) | d) ^ G15_MASK;
- };
-
- _this.getBCHTypeNumber = function(data) {
- var d = data << 12;
- while (getBCHDigit(d) - getBCHDigit(G18) >= 0) {
- d ^= (G18 << (getBCHDigit(d) - getBCHDigit(G18) ) );
- }
- return (data << 12) | d;
- };
-
- _this.getPatternPosition = function(typeNumber) {
- return PATTERN_POSITION_TABLE[typeNumber - 1];
- };
-
- _this.getMaskFunction = function(maskPattern) {
-
- switch (maskPattern) {
-
- case QRMaskPattern.PATTERN000 :
- return function(i, j) { return (i + j) % 2 == 0; };
- case QRMaskPattern.PATTERN001 :
- return function(i, j) { return i % 2 == 0; };
- case QRMaskPattern.PATTERN010 :
- return function(i, j) { return j % 3 == 0; };
- case QRMaskPattern.PATTERN011 :
- return function(i, j) { return (i + j) % 3 == 0; };
- case QRMaskPattern.PATTERN100 :
- return function(i, j) { return (Math.floor(i / 2) + Math.floor(j / 3) ) % 2 == 0; };
- case QRMaskPattern.PATTERN101 :
- return function(i, j) { return (i * j) % 2 + (i * j) % 3 == 0; };
- case QRMaskPattern.PATTERN110 :
- return function(i, j) { return ( (i * j) % 2 + (i * j) % 3) % 2 == 0; };
- case QRMaskPattern.PATTERN111 :
- return function(i, j) { return ( (i * j) % 3 + (i + j) % 2) % 2 == 0; };
-
- default :
- throw 'bad maskPattern:' + maskPattern;
- }
- };
-
- _this.getErrorCorrectPolynomial = function(errorCorrectLength) {
- var a = qrPolynomial([1], 0);
- for (var i = 0; i < errorCorrectLength; i += 1) {
- a = a.multiply(qrPolynomial([1, QRMath.gexp(i)], 0) );
- }
- return a;
- };
-
- _this.getLengthInBits = function(mode, type) {
-
- if (1 <= type && type < 10) {
-
- // 1 - 9
-
- switch(mode) {
- case QRMode.MODE_NUMBER : return 10;
- case QRMode.MODE_ALPHA_NUM : return 9;
- case QRMode.MODE_8BIT_BYTE : return 8;
- case QRMode.MODE_KANJI : return 8;
- default :
- throw 'mode:' + mode;
- }
-
- } else if (type < 27) {
-
- // 10 - 26
-
- switch(mode) {
- case QRMode.MODE_NUMBER : return 12;
- case QRMode.MODE_ALPHA_NUM : return 11;
- case QRMode.MODE_8BIT_BYTE : return 16;
- case QRMode.MODE_KANJI : return 10;
- default :
- throw 'mode:' + mode;
- }
-
- } else if (type < 41) {
-
- // 27 - 40
-
- switch(mode) {
- case QRMode.MODE_NUMBER : return 14;
- case QRMode.MODE_ALPHA_NUM : return 13;
- case QRMode.MODE_8BIT_BYTE : return 16;
- case QRMode.MODE_KANJI : return 12;
- default :
- throw 'mode:' + mode;
- }
-
- } else {
- throw 'type:' + type;
- }
- };
-
- _this.getLostPoint = function(qrcode) {
-
- var moduleCount = qrcode.getModuleCount();
-
- var lostPoint = 0;
-
- // LEVEL1
-
- for (var row = 0; row < moduleCount; row += 1) {
- for (var col = 0; col < moduleCount; col += 1) {
-
- var sameCount = 0;
- var dark = qrcode.isDark(row, col);
-
- for (var r = -1; r <= 1; r += 1) {
-
- if (row + r < 0 || moduleCount <= row + r) {
- continue;
- }
-
- for (var c = -1; c <= 1; c += 1) {
-
- if (col + c < 0 || moduleCount <= col + c) {
- continue;
- }
-
- if (r == 0 && c == 0) {
- continue;
- }
-
- if (dark == qrcode.isDark(row + r, col + c) ) {
- sameCount += 1;
- }
- }
- }
-
- if (sameCount > 5) {
- lostPoint += (3 + sameCount - 5);
- }
- }
- }
- // LEVEL2
-
- for (var row = 0; row < moduleCount - 1; row += 1) {
- for (var col = 0; col < moduleCount - 1; col += 1) {
- var count = 0;
- if (qrcode.isDark(row, col) ) count += 1;
- if (qrcode.isDark(row + 1, col) ) count += 1;
- if (qrcode.isDark(row, col + 1) ) count += 1;
- if (qrcode.isDark(row + 1, col + 1) ) count += 1;
- if (count == 0 || count == 4) {
- lostPoint += 3;
- }
- }
- }
-
- // LEVEL3
-
- for (var row = 0; row < moduleCount; row += 1) {
- for (var col = 0; col < moduleCount - 6; col += 1) {
- if (qrcode.isDark(row, col)
- && !qrcode.isDark(row, col + 1)
- && qrcode.isDark(row, col + 2)
- && qrcode.isDark(row, col + 3)
- && qrcode.isDark(row, col + 4)
- && !qrcode.isDark(row, col + 5)
- && qrcode.isDark(row, col + 6) ) {
- lostPoint += 40;
- }
- }
- }
-
- for (var col = 0; col < moduleCount; col += 1) {
- for (var row = 0; row < moduleCount - 6; row += 1) {
- if (qrcode.isDark(row, col)
- && !qrcode.isDark(row + 1, col)
- && qrcode.isDark(row + 2, col)
- && qrcode.isDark(row + 3, col)
- && qrcode.isDark(row + 4, col)
- && !qrcode.isDark(row + 5, col)
- && qrcode.isDark(row + 6, col) ) {
- lostPoint += 40;
- }
- }
- }
-
- // LEVEL4
-
- var darkCount = 0;
-
- for (var col = 0; col < moduleCount; col += 1) {
- for (var row = 0; row < moduleCount; row += 1) {
- if (qrcode.isDark(row, col) ) {
- darkCount += 1;
- }
- }
- }
-
- var ratio = Math.abs(100 * darkCount / moduleCount / moduleCount - 50) / 5;
- lostPoint += ratio * 10;
-
- return lostPoint;
- };
-
- return _this;
- }();
-
- //---------------------------------------------------------------------
- // QRMath
- //---------------------------------------------------------------------
-
- var QRMath = function() {
-
- var EXP_TABLE = new Array(256);
- var LOG_TABLE = new Array(256);
-
- // initialize tables
- for (var i = 0; i < 8; i += 1) {
- EXP_TABLE[i] = 1 << i;
- }
- for (var i = 8; i < 256; i += 1) {
- EXP_TABLE[i] = EXP_TABLE[i - 4]
- ^ EXP_TABLE[i - 5]
- ^ EXP_TABLE[i - 6]
- ^ EXP_TABLE[i - 8];
- }
- for (var i = 0; i < 255; i += 1) {
- LOG_TABLE[EXP_TABLE[i] ] = i;
- }
-
- var _this = {};
-
- _this.glog = function(n) {
-
- if (n < 1) {
- throw 'glog(' + n + ')';
- }
-
- return LOG_TABLE[n];
- };
-
- _this.gexp = function(n) {
-
- while (n < 0) {
- n += 255;
- }
-
- while (n >= 256) {
- n -= 255;
- }
-
- return EXP_TABLE[n];
- };
-
- return _this;
- }();
-
- //---------------------------------------------------------------------
- // qrPolynomial
- //---------------------------------------------------------------------
-
- function qrPolynomial(num, shift) {
-
- if (typeof num.length == 'undefined') {
- throw num.length + '/' + shift;
- }
-
- var _num = function() {
- var offset = 0;
- while (offset < num.length && num[offset] == 0) {
- offset += 1;
- }
- var _num = new Array(num.length - offset + shift);
- for (var i = 0; i < num.length - offset; i += 1) {
- _num[i] = num[i + offset];
- }
- return _num;
- }();
-
- var _this = {};
-
- _this.getAt = function(index) {
- return _num[index];
- };
-
- _this.getLength = function() {
- return _num.length;
- };
-
- _this.multiply = function(e) {
-
- var num = new Array(_this.getLength() + e.getLength() - 1);
-
- for (var i = 0; i < _this.getLength(); i += 1) {
- for (var j = 0; j < e.getLength(); j += 1) {
- num[i + j] ^= QRMath.gexp(QRMath.glog(_this.getAt(i) ) + QRMath.glog(e.getAt(j) ) );
- }
- }
-
- return qrPolynomial(num, 0);
- };
-
- _this.mod = function(e) {
-
- if (_this.getLength() - e.getLength() < 0) {
- return _this;
- }
-
- var ratio = QRMath.glog(_this.getAt(0) ) - QRMath.glog(e.getAt(0) );
-
- var num = new Array(_this.getLength() );
- for (var i = 0; i < _this.getLength(); i += 1) {
- num[i] = _this.getAt(i);
- }
-
- for (var i = 0; i < e.getLength(); i += 1) {
- num[i] ^= QRMath.gexp(QRMath.glog(e.getAt(i) ) + ratio);
- }
-
- // recursive call
- return qrPolynomial(num, 0).mod(e);
- };
-
- return _this;
- }
- //---------------------------------------------------------------------
- // QRRSBlock
- //---------------------------------------------------------------------
-
- var QRRSBlock = function() {
-
- var RS_BLOCK_TABLE = [
-
- // L
- // M
- // Q
- // H
-
- // 1
- [1, 26, 19],
- [1, 26, 16],
- [1, 26, 13],
- [1, 26, 9],
-
- // 2
- [1, 44, 34],
- [1, 44, 28],
- [1, 44, 22],
- [1, 44, 16],
-
- // 3
- [1, 70, 55],
- [1, 70, 44],
- [2, 35, 17],
- [2, 35, 13],
-
- // 4
- [1, 100, 80],
- [2, 50, 32],
- [2, 50, 24],
- [4, 25, 9],
-
- // 5
- [1, 134, 108],
- [2, 67, 43],
- [2, 33, 15, 2, 34, 16],
- [2, 33, 11, 2, 34, 12],
-
- // 6
- [2, 86, 68],
- [4, 43, 27],
- [4, 43, 19],
- [4, 43, 15],
-
- // 7
- [2, 98, 78],
- [4, 49, 31],
- [2, 32, 14, 4, 33, 15],
- [4, 39, 13, 1, 40, 14],
-
- // 8
- [2, 121, 97],
- [2, 60, 38, 2, 61, 39],
- [4, 40, 18, 2, 41, 19],
- [4, 40, 14, 2, 41, 15],
-
- // 9
- [2, 146, 116],
- [3, 58, 36, 2, 59, 37],
- [4, 36, 16, 4, 37, 17],
- [4, 36, 12, 4, 37, 13],
-
- // 10
- [2, 86, 68, 2, 87, 69],
- [4, 69, 43, 1, 70, 44],
- [6, 43, 19, 2, 44, 20],
- [6, 43, 15, 2, 44, 16],
-
- // 11
- [4, 101, 81],
- [1, 80, 50, 4, 81, 51],
- [4, 50, 22, 4, 51, 23],
- [3, 36, 12, 8, 37, 13],
-
- // 12
- [2, 116, 92, 2, 117, 93],
- [6, 58, 36, 2, 59, 37],
- [4, 46, 20, 6, 47, 21],
- [7, 42, 14, 4, 43, 15],
-
- // 13
- [4, 133, 107],
- [8, 59, 37, 1, 60, 38],
- [8, 44, 20, 4, 45, 21],
- [12, 33, 11, 4, 34, 12],
-
- // 14
- [3, 145, 115, 1, 146, 116],
- [4, 64, 40, 5, 65, 41],
- [11, 36, 16, 5, 37, 17],
- [11, 36, 12, 5, 37, 13],
-
- // 15
- [5, 109, 87, 1, 110, 88],
- [5, 65, 41, 5, 66, 42],
- [5, 54, 24, 7, 55, 25],
- [11, 36, 12, 7, 37, 13],
-
- // 16
- [5, 122, 98, 1, 123, 99],
- [7, 73, 45, 3, 74, 46],
- [15, 43, 19, 2, 44, 20],
- [3, 45, 15, 13, 46, 16],
-
- // 17
- [1, 135, 107, 5, 136, 108],
- [10, 74, 46, 1, 75, 47],
- [1, 50, 22, 15, 51, 23],
- [2, 42, 14, 17, 43, 15],
-
- // 18
- [5, 150, 120, 1, 151, 121],
- [9, 69, 43, 4, 70, 44],
- [17, 50, 22, 1, 51, 23],
- [2, 42, 14, 19, 43, 15],
-
- // 19
- [3, 141, 113, 4, 142, 114],
- [3, 70, 44, 11, 71, 45],
- [17, 47, 21, 4, 48, 22],
- [9, 39, 13, 16, 40, 14],
-
- // 20
- [3, 135, 107, 5, 136, 108],
- [3, 67, 41, 13, 68, 42],
- [15, 54, 24, 5, 55, 25],
- [15, 43, 15, 10, 44, 16],
-
- // 21
- [4, 144, 116, 4, 145, 117],
- [17, 68, 42],
- [17, 50, 22, 6, 51, 23],
- [19, 46, 16, 6, 47, 17],
-
- // 22
- [2, 139, 111, 7, 140, 112],
- [17, 74, 46],
- [7, 54, 24, 16, 55, 25],
- [34, 37, 13],
-
- // 23
- [4, 151, 121, 5, 152, 122],
- [4, 75, 47, 14, 76, 48],
- [11, 54, 24, 14, 55, 25],
- [16, 45, 15, 14, 46, 16],
-
- // 24
- [6, 147, 117, 4, 148, 118],
- [6, 73, 45, 14, 74, 46],
- [11, 54, 24, 16, 55, 25],
- [30, 46, 16, 2, 47, 17],
-
- // 25
- [8, 132, 106, 4, 133, 107],
- [8, 75, 47, 13, 76, 48],
- [7, 54, 24, 22, 55, 25],
- [22, 45, 15, 13, 46, 16],
-
- // 26
- [10, 142, 114, 2, 143, 115],
- [19, 74, 46, 4, 75, 47],
- [28, 50, 22, 6, 51, 23],
- [33, 46, 16, 4, 47, 17],
-
- // 27
- [8, 152, 122, 4, 153, 123],
- [22, 73, 45, 3, 74, 46],
- [8, 53, 23, 26, 54, 24],
- [12, 45, 15, 28, 46, 16],
-
- // 28
- [3, 147, 117, 10, 148, 118],
- [3, 73, 45, 23, 74, 46],
- [4, 54, 24, 31, 55, 25],
- [11, 45, 15, 31, 46, 16],
-
- // 29
- [7, 146, 116, 7, 147, 117],
- [21, 73, 45, 7, 74, 46],
- [1, 53, 23, 37, 54, 24],
- [19, 45, 15, 26, 46, 16],
-
- // 30
- [5, 145, 115, 10, 146, 116],
- [19, 75, 47, 10, 76, 48],
- [15, 54, 24, 25, 55, 25],
- [23, 45, 15, 25, 46, 16],
-
- // 31
- [13, 145, 115, 3, 146, 116],
- [2, 74, 46, 29, 75, 47],
- [42, 54, 24, 1, 55, 25],
- [23, 45, 15, 28, 46, 16],
-
- // 32
- [17, 145, 115],
- [10, 74, 46, 23, 75, 47],
- [10, 54, 24, 35, 55, 25],
- [19, 45, 15, 35, 46, 16],
-
- // 33
- [17, 145, 115, 1, 146, 116],
- [14, 74, 46, 21, 75, 47],
- [29, 54, 24, 19, 55, 25],
- [11, 45, 15, 46, 46, 16],
-
- // 34
- [13, 145, 115, 6, 146, 116],
- [14, 74, 46, 23, 75, 47],
- [44, 54, 24, 7, 55, 25],
- [59, 46, 16, 1, 47, 17],
-
- // 35
- [12, 151, 121, 7, 152, 122],
- [12, 75, 47, 26, 76, 48],
- [39, 54, 24, 14, 55, 25],
- [22, 45, 15, 41, 46, 16],
-
- // 36
- [6, 151, 121, 14, 152, 122],
- [6, 75, 47, 34, 76, 48],
- [46, 54, 24, 10, 55, 25],
- [2, 45, 15, 64, 46, 16],
-
- // 37
- [17, 152, 122, 4, 153, 123],
- [29, 74, 46, 14, 75, 47],
- [49, 54, 24, 10, 55, 25],
- [24, 45, 15, 46, 46, 16],
-
- // 38
- [4, 152, 122, 18, 153, 123],
- [13, 74, 46, 32, 75, 47],
- [48, 54, 24, 14, 55, 25],
- [42, 45, 15, 32, 46, 16],
-
- // 39
- [20, 147, 117, 4, 148, 118],
- [40, 75, 47, 7, 76, 48],
- [43, 54, 24, 22, 55, 25],
- [10, 45, 15, 67, 46, 16],
-
- // 40
- [19, 148, 118, 6, 149, 119],
- [18, 75, 47, 31, 76, 48],
- [34, 54, 24, 34, 55, 25],
- [20, 45, 15, 61, 46, 16]
- ];
-
- var qrRSBlock = function(totalCount, dataCount) {
- var _this = {};
- _this.totalCount = totalCount;
- _this.dataCount = dataCount;
- return _this;
- };
-
- var _this = {};
-
- var getRsBlockTable = function(typeNumber, errorCorrectionLevel) {
-
- switch(errorCorrectionLevel) {
- case QRErrorCorrectionLevel.L :
- return RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 0];
- case QRErrorCorrectionLevel.M :
- return RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 1];
- case QRErrorCorrectionLevel.Q :
- return RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 2];
- case QRErrorCorrectionLevel.H :
- return RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 3];
- default :
- return undefined;
- }
- };
-
- _this.getRSBlocks = function(typeNumber, errorCorrectionLevel) {
-
- var rsBlock = getRsBlockTable(typeNumber, errorCorrectionLevel);
-
- if (typeof rsBlock == 'undefined') {
- throw 'bad rs block @ typeNumber:' + typeNumber +
- '/errorCorrectionLevel:' + errorCorrectionLevel;
- }
-
- var length = rsBlock.length / 3;
-
- var list = [];
-
- for (var i = 0; i < length; i += 1) {
-
- var count = rsBlock[i * 3 + 0];
- var totalCount = rsBlock[i * 3 + 1];
- var dataCount = rsBlock[i * 3 + 2];
-
- for (var j = 0; j < count; j += 1) {
- list.push(qrRSBlock(totalCount, dataCount) );
- }
- }
-
- return list;
- };
-
- return _this;
- }();
-
- //---------------------------------------------------------------------
- // qrBitBuffer
- //---------------------------------------------------------------------
-
- var qrBitBuffer = function() {
-
- var _buffer = [];
- var _length = 0;
-
- var _this = {};
-
- _this.getBuffer = function() {
- return _buffer;
- };
-
- _this.getAt = function(index) {
- var bufIndex = Math.floor(index / 8);
- return ( (_buffer[bufIndex] >>> (7 - index % 8) ) & 1) == 1;
- };
-
- _this.put = function(num, length) {
- for (var i = 0; i < length; i += 1) {
- _this.putBit( ( (num >>> (length - i - 1) ) & 1) == 1);
- }
- };
-
- _this.getLengthInBits = function() {
- return _length;
- };
-
- _this.putBit = function(bit) {
-
- var bufIndex = Math.floor(_length / 8);
- if (_buffer.length <= bufIndex) {
- _buffer.push(0);
- }
-
- if (bit) {
- _buffer[bufIndex] |= (0x80 >>> (_length % 8) );
- }
-
- _length += 1;
- };
-
- return _this;
- };
-
- //---------------------------------------------------------------------
- // qrNumber
- //---------------------------------------------------------------------
-
- var qrNumber = function(data) {
-
- var _mode = QRMode.MODE_NUMBER;
- var _data = data;
-
- var _this = {};
-
- _this.getMode = function() {
- return _mode;
- };
-
- _this.getLength = function(buffer) {
- return _data.length;
- };
-
- _this.write = function(buffer) {
-
- var data = _data;
-
- var i = 0;
-
- while (i + 2 < data.length) {
- buffer.put(strToNum(data.substring(i, i + 3) ), 10);
- i += 3;
- }
-
- if (i < data.length) {
- if (data.length - i == 1) {
- buffer.put(strToNum(data.substring(i, i + 1) ), 4);
- } else if (data.length - i == 2) {
- buffer.put(strToNum(data.substring(i, i + 2) ), 7);
- }
- }
- };
-
- var strToNum = function(s) {
- var num = 0;
- for (var i = 0; i < s.length; i += 1) {
- num = num * 10 + chatToNum(s.charAt(i) );
- }
- return num;
- };
-
- var chatToNum = function(c) {
- if ('0' <= c && c <= '9') {
- return c.charCodeAt(0) - '0'.charCodeAt(0);
- }
- throw 'illegal char :' + c;
- };
-
- return _this;
- };
-
- //---------------------------------------------------------------------
- // qrAlphaNum
- //---------------------------------------------------------------------
-
- var qrAlphaNum = function(data) {
-
- var _mode = QRMode.MODE_ALPHA_NUM;
- var _data = data;
-
- var _this = {};
-
- _this.getMode = function() {
- return _mode;
- };
-
- _this.getLength = function(buffer) {
- return _data.length;
- };
-
- _this.write = function(buffer) {
-
- var s = _data;
-
- var i = 0;
-
- while (i + 1 < s.length) {
- buffer.put(
- getCode(s.charAt(i) ) * 45 +
- getCode(s.charAt(i + 1) ), 11);
- i += 2;
- }
-
- if (i < s.length) {
- buffer.put(getCode(s.charAt(i) ), 6);
- }
- };
-
- var getCode = function(c) {
-
- if ('0' <= c && c <= '9') {
- return c.charCodeAt(0) - '0'.charCodeAt(0);
- } else if ('A' <= c && c <= 'Z') {
- return c.charCodeAt(0) - 'A'.charCodeAt(0) + 10;
- } else {
- switch (c) {
- case ' ' : return 36;
- case '$' : return 37;
- case '%' : return 38;
- case '*' : return 39;
- case '+' : return 40;
- case '-' : return 41;
- case '.' : return 42;
- case '/' : return 43;
- case ':' : return 44;
- default :
- throw 'illegal char :' + c;
- }
- }
- };
-
- return _this;
- };
-
- //---------------------------------------------------------------------
- // qr8BitByte
- //---------------------------------------------------------------------
-
- var qr8BitByte = function(data) {
-
- var _mode = QRMode.MODE_8BIT_BYTE;
- var _bytes = qrcode.stringToBytes(data);
-
- var _this = {};
-
- _this.getMode = function() {
- return _mode;
- };
-
- _this.getLength = function(buffer) {
- return _bytes.length;
- };
-
- _this.write = function(buffer) {
- for (var i = 0; i < _bytes.length; i += 1) {
- buffer.put(_bytes[i], 8);
- }
- };
-
- return _this;
- };
-
- //---------------------------------------------------------------------
- // qrKanji
- //---------------------------------------------------------------------
-
- var qrKanji = function(data) {
-
- var _mode = QRMode.MODE_KANJI;
-
- var stringToBytes = qrcode.stringToBytesFuncs['SJIS'];
- if (!stringToBytes) {
- throw 'sjis not supported.';
- }
- !function(c, code) {
- // self test for sjis support.
- var test = stringToBytes(c);
- if (test.length != 2 || ( (test[0] << 8) | test[1]) != code) {
- throw 'sjis not supported.';
- }
- }('\u53cb', 0x9746);
-
- var _bytes = stringToBytes(data);
-
- var _this = {};
-
- _this.getMode = function() {
- return _mode;
- };
-
- _this.getLength = function(buffer) {
- return ~~(_bytes.length / 2);
- };
-
- _this.write = function(buffer) {
-
- var data = _bytes;
-
- var i = 0;
-
- while (i + 1 < data.length) {
-
- var c = ( (0xff & data[i]) << 8) | (0xff & data[i + 1]);
-
- if (0x8140 <= c && c <= 0x9FFC) {
- c -= 0x8140;
- } else if (0xE040 <= c && c <= 0xEBBF) {
- c -= 0xC140;
- } else {
- throw 'illegal char at ' + (i + 1) + '/' + c;
- }
-
- c = ( (c >>> 8) & 0xff) * 0xC0 + (c & 0xff);
-
- buffer.put(c, 13);
-
- i += 2;
- }
-
- if (i < data.length) {
- throw 'illegal char at ' + (i + 1);
- }
- };
-
- return _this;
- };
-
- //=====================================================================
- // GIF Support etc.
- //
-
- //---------------------------------------------------------------------
- // byteArrayOutputStream
- //---------------------------------------------------------------------
-
- var byteArrayOutputStream = function() {
-
- var _bytes = [];
-
- var _this = {};
-
- _this.writeByte = function(b) {
- _bytes.push(b & 0xff);
- };
-
- _this.writeShort = function(i) {
- _this.writeByte(i);
- _this.writeByte(i >>> 8);
- };
-
- _this.writeBytes = function(b, off, len) {
- off = off || 0;
- len = len || b.length;
- for (var i = 0; i < len; i += 1) {
- _this.writeByte(b[i + off]);
- }
- };
-
- _this.writeString = function(s) {
- for (var i = 0; i < s.length; i += 1) {
- _this.writeByte(s.charCodeAt(i) );
- }
- };
-
- _this.toByteArray = function() {
- return _bytes;
- };
-
- _this.toString = function() {
- var s = '';
- s += '[';
- for (var i = 0; i < _bytes.length; i += 1) {
- if (i > 0) {
- s += ',';
- }
- s += _bytes[i];
- }
- s += ']';
- return s;
- };
-
- return _this;
- };
-
- //---------------------------------------------------------------------
- // base64EncodeOutputStream
- //---------------------------------------------------------------------
-
- var base64EncodeOutputStream = function() {
-
- var _buffer = 0;
- var _buflen = 0;
- var _length = 0;
- var _base64 = '';
-
- var _this = {};
-
- var writeEncoded = function(b) {
- _base64 += String.fromCharCode(encode(b & 0x3f) );
- };
-
- var encode = function(n) {
- if (n < 0) ; else if (n < 26) {
- return 0x41 + n;
- } else if (n < 52) {
- return 0x61 + (n - 26);
- } else if (n < 62) {
- return 0x30 + (n - 52);
- } else if (n == 62) {
- return 0x2b;
- } else if (n == 63) {
- return 0x2f;
- }
- throw 'n:' + n;
- };
-
- _this.writeByte = function(n) {
-
- _buffer = (_buffer << 8) | (n & 0xff);
- _buflen += 8;
- _length += 1;
-
- while (_buflen >= 6) {
- writeEncoded(_buffer >>> (_buflen - 6) );
- _buflen -= 6;
- }
- };
-
- _this.flush = function() {
-
- if (_buflen > 0) {
- writeEncoded(_buffer << (6 - _buflen) );
- _buffer = 0;
- _buflen = 0;
- }
-
- if (_length % 3 != 0) {
- // padding
- var padlen = 3 - _length % 3;
- for (var i = 0; i < padlen; i += 1) {
- _base64 += '=';
- }
- }
- };
-
- _this.toString = function() {
- return _base64;
- };
-
- return _this;
- };
-
- //---------------------------------------------------------------------
- // base64DecodeInputStream
- //---------------------------------------------------------------------
-
- var base64DecodeInputStream = function(str) {
-
- var _str = str;
- var _pos = 0;
- var _buffer = 0;
- var _buflen = 0;
-
- var _this = {};
-
- _this.read = function() {
-
- while (_buflen < 8) {
-
- if (_pos >= _str.length) {
- if (_buflen == 0) {
- return -1;
- }
- throw 'unexpected end of file./' + _buflen;
- }
-
- var c = _str.charAt(_pos);
- _pos += 1;
-
- if (c == '=') {
- _buflen = 0;
- return -1;
- } else if (c.match(/^\s$/) ) {
- // ignore if whitespace.
- continue;
- }
-
- _buffer = (_buffer << 6) | decode(c.charCodeAt(0) );
- _buflen += 6;
- }
-
- var n = (_buffer >>> (_buflen - 8) ) & 0xff;
- _buflen -= 8;
- return n;
- };
-
- var decode = function(c) {
- if (0x41 <= c && c <= 0x5a) {
- return c - 0x41;
- } else if (0x61 <= c && c <= 0x7a) {
- return c - 0x61 + 26;
- } else if (0x30 <= c && c <= 0x39) {
- return c - 0x30 + 52;
- } else if (c == 0x2b) {
- return 62;
- } else if (c == 0x2f) {
- return 63;
- } else {
- throw 'c:' + c;
- }
- };
-
- return _this;
- };
-
- //---------------------------------------------------------------------
- // gifImage (B/W)
- //---------------------------------------------------------------------
-
- var gifImage = function(width, height) {
-
- var _width = width;
- var _height = height;
- var _data = new Array(width * height);
-
- var _this = {};
-
- _this.setPixel = function(x, y, pixel) {
- _data[y * _width + x] = pixel;
- };
-
- _this.write = function(out) {
-
- //---------------------------------
- // GIF Signature
-
- out.writeString('GIF87a');
-
- //---------------------------------
- // Screen Descriptor
-
- out.writeShort(_width);
- out.writeShort(_height);
-
- out.writeByte(0x80); // 2bit
- out.writeByte(0);
- out.writeByte(0);
-
- //---------------------------------
- // Global Color Map
-
- // black
- out.writeByte(0x00);
- out.writeByte(0x00);
- out.writeByte(0x00);
-
- // white
- out.writeByte(0xff);
- out.writeByte(0xff);
- out.writeByte(0xff);
-
- //---------------------------------
- // Image Descriptor
-
- out.writeString(',');
- out.writeShort(0);
- out.writeShort(0);
- out.writeShort(_width);
- out.writeShort(_height);
- out.writeByte(0);
-
- //---------------------------------
- // Local Color Map
-
- //---------------------------------
- // Raster Data
-
- var lzwMinCodeSize = 2;
- var raster = getLZWRaster(lzwMinCodeSize);
-
- out.writeByte(lzwMinCodeSize);
-
- var offset = 0;
-
- while (raster.length - offset > 255) {
- out.writeByte(255);
- out.writeBytes(raster, offset, 255);
- offset += 255;
- }
-
- out.writeByte(raster.length - offset);
- out.writeBytes(raster, offset, raster.length - offset);
- out.writeByte(0x00);
-
- //---------------------------------
- // GIF Terminator
- out.writeString(';');
- };
-
- var bitOutputStream = function(out) {
-
- var _out = out;
- var _bitLength = 0;
- var _bitBuffer = 0;
-
- var _this = {};
-
- _this.write = function(data, length) {
-
- if ( (data >>> length) != 0) {
- throw 'length over';
- }
-
- while (_bitLength + length >= 8) {
- _out.writeByte(0xff & ( (data << _bitLength) | _bitBuffer) );
- length -= (8 - _bitLength);
- data >>>= (8 - _bitLength);
- _bitBuffer = 0;
- _bitLength = 0;
- }
-
- _bitBuffer = (data << _bitLength) | _bitBuffer;
- _bitLength = _bitLength + length;
- };
-
- _this.flush = function() {
- if (_bitLength > 0) {
- _out.writeByte(_bitBuffer);
- }
- };
-
- return _this;
- };
-
- var getLZWRaster = function(lzwMinCodeSize) {
-
- var clearCode = 1 << lzwMinCodeSize;
- var endCode = (1 << lzwMinCodeSize) + 1;
- var bitLength = lzwMinCodeSize + 1;
-
- // Setup LZWTable
- var table = lzwTable();
-
- for (var i = 0; i < clearCode; i += 1) {
- table.add(String.fromCharCode(i) );
- }
- table.add(String.fromCharCode(clearCode) );
- table.add(String.fromCharCode(endCode) );
-
- var byteOut = byteArrayOutputStream();
- var bitOut = bitOutputStream(byteOut);
-
- // clear code
- bitOut.write(clearCode, bitLength);
-
- var dataIndex = 0;
-
- var s = String.fromCharCode(_data[dataIndex]);
- dataIndex += 1;
-
- while (dataIndex < _data.length) {
-
- var c = String.fromCharCode(_data[dataIndex]);
- dataIndex += 1;
-
- if (table.contains(s + c) ) {
-
- s = s + c;
-
- } else {
-
- bitOut.write(table.indexOf(s), bitLength);
-
- if (table.size() < 0xfff) {
-
- if (table.size() == (1 << bitLength) ) {
- bitLength += 1;
- }
-
- table.add(s + c);
- }
-
- s = c;
- }
- }
-
- bitOut.write(table.indexOf(s), bitLength);
-
- // end code
- bitOut.write(endCode, bitLength);
-
- bitOut.flush();
-
- return byteOut.toByteArray();
- };
-
- var lzwTable = function() {
-
- var _map = {};
- var _size = 0;
-
- var _this = {};
-
- _this.add = function(key) {
- if (_this.contains(key) ) {
- throw 'dup key:' + key;
- }
- _map[key] = _size;
- _size += 1;
- };
-
- _this.size = function() {
- return _size;
- };
-
- _this.indexOf = function(key) {
- return _map[key];
- };
-
- _this.contains = function(key) {
- return typeof _map[key] != 'undefined';
- };
-
- return _this;
- };
-
- return _this;
- };
-
- var createDataURL = function(width, height, getPixel) {
- var gif = gifImage(width, height);
- for (var y = 0; y < height; y += 1) {
- for (var x = 0; x < width; x += 1) {
- gif.setPixel(x, y, getPixel(x, y) );
- }
- }
-
- var b = byteArrayOutputStream();
- gif.write(b);
-
- var base64 = base64EncodeOutputStream();
- var bytes = b.toByteArray();
- for (var i = 0; i < bytes.length; i += 1) {
- base64.writeByte(bytes[i]);
- }
- base64.flush();
-
- return 'data:image/gif;base64,' + base64;
- };
-
- //---------------------------------------------------------------------
- // returns qrcode function.
-
- return qrcode;
- }();
-
- // multibyte support
- !function() {
-
- qrcode.stringToBytesFuncs['UTF-8'] = function(s) {
- // http://stackoverflow.com/questions/18729405/how-to-convert-utf8-string-to-byte-array
- function toUTF8Array(str) {
- var utf8 = [];
- for (var i=0; i < str.length; i++) {
- var charcode = str.charCodeAt(i);
- if (charcode < 0x80) utf8.push(charcode);
- else if (charcode < 0x800) {
- utf8.push(0xc0 | (charcode >> 6),
- 0x80 | (charcode & 0x3f));
- }
- else if (charcode < 0xd800 || charcode >= 0xe000) {
- utf8.push(0xe0 | (charcode >> 12),
- 0x80 | ((charcode>>6) & 0x3f),
- 0x80 | (charcode & 0x3f));
- }
- // surrogate pair
- else {
- i++;
- // UTF-16 encodes 0x10000-0x10FFFF by
- // subtracting 0x10000 and splitting the
- // 20 bits of 0x0-0xFFFFF into two halves
- charcode = 0x10000 + (((charcode & 0x3ff)<<10)
- | (str.charCodeAt(i) & 0x3ff));
- utf8.push(0xf0 | (charcode >>18),
- 0x80 | ((charcode>>12) & 0x3f),
- 0x80 | ((charcode>>6) & 0x3f),
- 0x80 | (charcode & 0x3f));
- }
- }
- return utf8;
- }
- return toUTF8Array(s);
- };
-
- }();
-
- (function (factory) {
- {
- module.exports = factory();
- }
- }(function () {
- return qrcode;
- }));
- }(qrcode$1));
-
- var qrcode = qrcode$1.exports;
-
- /*
- This file is part of GNU Taler
- (C) 2021 Taler Systems S.A.
-
- GNU Taler is free software; you can redistribute it and/or modify it under the
- terms of the GNU General Public License as published by the Free Software
- Foundation; either version 3, or (at your option) any later version.
-
- GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along with
- GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
- */
- function createSVG(text) {
- const qr = qrcode(0, "L");
- qr.addData(text);
- qr.make();
- return qr.createSvgTag({
- scalable: true,
- margin: 0,
- });
- }
- function QR({ text }) {
- const divRef = _(null);
- h(() => {
- if (divRef.current) {
- divRef.current.innerHTML = createSVG(text);
- }
- });
- return (h$2("div", { style: {
- width: "100%",
- display: "flex",
- flexDirection: "column",
- alignItems: "center",
- } },
- h$2("div", { style: { width: "50%", minWidth: 200, maxWidth: 300 }, ref: divRef })));
- }
-
- /*
- This file is part of GNU Taler
- (C) 2021 Taler Systems S.A.
-
- GNU Taler is free software; you can redistribute it and/or modify it under the
- terms of the GNU General Public License as published by the Free Software
- Foundation; either version 3, or (at your option) any later version.
-
- GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along with
- GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
- */
- function Head({ order_summary }) {
- return h$2(p$2, null,
- h$2("meta", { charSet: "UTF-8" }),
- h$2("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0" }),
- h$2("noscript", null,
- h$2("meta", { "http-equiv": "refresh", content: "1" })),
- h$2("title", null,
- "Refund available for ",
- order_summary ? order_summary : `{{ order_summary }}`));
- }
- function OfferRefund({ refundURI, qr_code, order_status_url }) {
- h(() => {
- let checkUrl;
- try {
- checkUrl = new URL(order_status_url ? order_status_url : "{{& order_status_url }}");
- }
- catch (e) {
- return;
- }
- checkUrl.searchParams.set("await_refund_obtained", "yes");
- const delayMs = 500;
- function check() {
- let retried = false;
- function retryOnce() {
- if (!retried) {
- retried = true;
- check();
- }
- }
- const req = new XMLHttpRequest();
- req.onreadystatechange = function () {
- if (req.readyState === XMLHttpRequest.DONE) {
- if (req.status === 200) {
- try {
- const resp = JSON.parse(req.responseText);
- if (!resp.refund_pending) {
- window.location.reload();
- }
- }
- catch (e) {
- console.error("could not parse response:", e);
- }
- }
- setTimeout(retryOnce, delayMs);
- }
- };
- req.onerror = function () {
- setTimeout(retryOnce, delayMs);
- };
- req.open("GET", checkUrl.href);
- req.send();
- }
- setTimeout(check, delayMs);
- });
- return h$2(Page, null,
- h$2("section", null,
- h$2("h1", null, "Collect Taler refund"),
- h$2("p", null, "Scan this QR code with your Taler mobile wallet:"),
- h$2(QRPlaceholder, { dangerouslySetInnerHTML: { __html: qr_code ? qr_code : `{{{ taler_refund_qrcode_svg }}}` } }),
- h$2("p", null,
- h$2(WalletLink, { href: refundURI ? refundURI : `{{ taler_refund_uri }}` }, "Or open your Taler wallet")),
- h$2("p", null,
- h$2("a", { href: "https://wallet.taler.net/" }, "Don't have a Taler wallet yet? Install it!"))),
- h$2(Footer, null));
- }
- function mount() {
- try {
- const fromLocation = new URL(window.location.href).searchParams;
- const os = fromLocation.get('order_summary') || undefined;
- if (os) {
- P$1(h$2(Head, { order_summary: os }), document.head);
- }
- const uri = fromLocation.get('refund_uri') || undefined;
- const osu = fromLocation.get('order_status_url') || undefined;
- const qr_code = uri ? S(h$2(QR, { text: uri })) : undefined;
- P$1(h$2(OfferRefund, { refundURI: uri, order_status_url: osu, qr_code: qr_code }), document.body);
- }
- catch (e) {
- console.error("got error", e);
- if (e instanceof Error) {
- document.body.innerText = `Fatal error: "${e.message}". Please report this bug at https://bugs.gnunet.org/.`;
- }
- }
- }
- function buildTimeRendering() {
- return {
- head: S(h$2(Head, null)),
- body: S(h$2(OfferRefund, null))
- };
- }
-
- exports.OfferRefund = OfferRefund;
- exports.buildTimeRendering = buildTimeRendering;
- exports.mount = mount;
-
- Object.defineProperty(exports, '__esModule', { value: true });
-
- return exports;
-
-})({});
+</style>
+ </head>
+ <script id="built_time_data">
+ </script>
+ <body>
+ <div class="p1b3vqup"><section><h1>Collect Taler refund</h1><p>Scan this QR code with your Taler mobile wallet:</p><div class="q1ma0zxq">{{{ taler_refund_qrcode_svg }}}</div><p><a href="{{ taler_refund_uri }}" style="--wpwjmk-0: none;" class="wpwjmk">Or open your Taler wallet</a></p><p><a href="https://wallet.taler.net/">Don't have a Taler wallet yet? Install it!</a></p></section><footer class="fef0x5t"><p><a href="https://taler.net/">Learn more about GNU Taler on our website.</a><p>Copyright © 2014—2021 Taler Systems SA</p></p></footer></div>
+ <script>"use strict";var page=(()=>{var kr=Object.create;var Ae=Object.defineProperty;var Cr=Object.getOwnPropertyDescriptor;var Ar=Object.getOwnPropertyNames;var Er=Object.getPrototypeOf,Tr=Object.prototype.hasOwnProperty;var Mr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Lr=(e,t)=>{for(var r in t)Ae(e,r,{get:t[r],enumerable:!0})},ot=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ar(t))!Tr.call(e,i)&&i!==r&&Ae(e,i,{get:()=>t[i],enumerable:!(n=Cr(t,i))||n.enumerable});return e};var Pr=(e,t,r)=>(r=e!=null?kr(Er(e)):{},ot(t||!e||!e.__esModule?Ae(r,"default",{value:e,enumerable:!0}):r,e)),Br=e=>ot(Ae({},"__esModule",{value:!0}),e);var yr=Mr((gr,mr)=>{var vr=function(){var e=function(w,E){var x=236,b=17,f=w,d=r[E],u=null,a=0,c=null,l=[],p={},S=function(h,v){a=f*4+17,u=function(_){for(var g=new Array(_),y=0;y<_;y+=1){g[y]=new Array(_);for(var T=0;T<_;T+=1)g[y][T]=null}return g}(a),U(0,0),U(a-7,0),U(0,a-7),Y(),V(),Z(h,v),f>=7&&Q(h),c==null&&(c=ke(f,d,l)),J(c,v)},U=function(h,v){for(var _=-1;_<=7;_+=1)if(!(h+_<=-1||a<=h+_))for(var g=-1;g<=7;g+=1)v+g<=-1||a<=v+g||(0<=_&&_<=6&&(g==0||g==6)||0<=g&&g<=6&&(_==0||_==6)||2<=_&&_<=4&&2<=g&&g<=4?u[h+_][v+g]=!0:u[h+_][v+g]=!1)},W=function(){for(var h=0,v=0,_=0;_<8;_+=1){S(!0,_);var g=i.getLostPoint(p);(_==0||h>g)&&(h=g,v=_)}return v},V=function(){for(var h=8;h<a-8;h+=1)u[h][6]==null&&(u[h][6]=h%2==0);for(var v=8;v<a-8;v+=1)u[6][v]==null&&(u[6][v]=v%2==0)},Y=function(){for(var h=i.getPatternPosition(f),v=0;v<h.length;v+=1)for(var _=0;_<h.length;_+=1){var g=h[v],y=h[_];if(u[g][y]==null)for(var T=-2;T<=2;T+=1)for(var R=-2;R<=2;R+=1)T==-2||T==2||R==-2||R==2||T==0&&R==0?u[g+T][y+R]=!0:u[g+T][y+R]=!1}},Q=function(h){for(var v=i.getBCHTypeNumber(f),_=0;_<18;_+=1){var g=!h&&(v>>_&1)==1;u[Math.floor(_/3)][_%3+a-8-3]=g}for(var _=0;_<18;_+=1){var g=!h&&(v>>_&1)==1;u[_%3+a-8-3][Math.floor(_/3)]=g}},Z=function(h,v){for(var _=d<<3|v,g=i.getBCHTypeInfo(_),y=0;y<15;y+=1){var T=!h&&(g>>y&1)==1;y<6?u[y][8]=T:y<8?u[y+1][8]=T:u[a-15+y][8]=T}for(var y=0;y<15;y+=1){var T=!h&&(g>>y&1)==1;y<8?u[8][a-y-1]=T:y<9?u[8][15-y-1+1]=T:u[8][15-y-1]=T}u[a-8][8]=!h},J=function(h,v){for(var _=-1,g=a-1,y=7,T=0,R=i.getMaskFunction(v),O=a-1;O>0;O-=2)for(O==6&&(O-=1);;){for(var $=0;$<2;$+=1)if(u[g][O-$]==null){var G=!1;T<h.length&&(G=(h[T]>>>y&1)==1);var F=R(g,O-$);F&&(G=!G),u[g][O-$]=G,y-=1,y==-1&&(T+=1,y=7)}if(g+=_,g<0||a<=g){g-=_,_=-_;break}}},K=function(h,v){for(var _=0,g=0,y=0,T=new Array(v.length),R=new Array(v.length),O=0;O<v.length;O+=1){var $=v[O].dataCount,G=v[O].totalCount-$;g=Math.max(g,$),y=Math.max(y,G),T[O]=new Array($);for(var F=0;F<T[O].length;F+=1)T[O][F]=255&h.getBuffer()[F+_];_+=$;var z=i.getErrorCorrectPolynomial(G),ee=m(T[O],z.getLength()-1),tt=ee.mod(z);R[O]=new Array(z.getLength()-1);for(var F=0;F<R[O].length;F+=1){var rt=F+tt.getLength()-R[O].length;R[O][F]=rt>=0?tt.getAt(rt):0}}for(var nt=0,F=0;F<v.length;F+=1)nt+=v[F].totalCount;for(var Ue=new Array(nt),Ce=0,F=0;F<g;F+=1)for(var O=0;O<v.length;O+=1)F<T[O].length&&(Ue[Ce]=T[O][F],Ce+=1);for(var F=0;F<y;F+=1)for(var O=0;O<v.length;O+=1)F<R[O].length&&(Ue[Ce]=R[O][F],Ce+=1);return Ue},ke=function(h,v,_){for(var g=k.getRSBlocks(h,v),y=M(),T=0;T<_.length;T+=1){var R=_[T];y.put(R.getMode(),4),y.put(R.getLength(),i.getLengthInBits(R.getMode(),h)),R.write(y)}for(var O=0,T=0;T<g.length;T+=1)O+=g[T].dataCount;if(y.getLengthInBits()>O*8)throw"code length overflow. ("+y.getLengthInBits()+">"+O*8+")";for(y.getLengthInBits()+4<=O*8&&y.put(0,4);y.getLengthInBits()%8!=0;)y.putBit(!1);for(;!(y.getLengthInBits()>=O*8||(y.put(x,8),y.getLengthInBits()>=O*8));)y.put(b,8);return K(y,g)};p.addData=function(h,v){v=v||"Byte";var _=null;switch(v){case"Numeric":_=N(h);break;case"Alphanumeric":_=s(h);break;case"Byte":_=B(h);break;case"Kanji":_=P(h);break;default:throw"mode:"+v}l.push(_),c=null},p.isDark=function(h,v){if(h<0||a<=h||v<0||a<=v)throw h+","+v;return u[h][v]},p.getModuleCount=function(){return a},p.make=function(){if(f<1){for(var h=1;h<40;h++){for(var v=k.getRSBlocks(h,d),_=M(),g=0;g<l.length;g++){var y=l[g];_.put(y.getMode(),4),_.put(y.getLength(),i.getLengthInBits(y.getMode(),h)),y.write(_)}for(var T=0,g=0;g<v.length;g++)T+=v[g].dataCount;if(_.getLengthInBits()<=T*8)break}f=h}S(!1,W())},p.createTableTag=function(h,v){h=h||2,v=typeof v=="undefined"?h*4:v;var _="";_+='<table style="',_+=" border-width: 0px; border-style: none;",_+=" border-collapse: collapse;",_+=" padding: 0px; margin: "+v+"px;",_+='">',_+="<tbody>";for(var g=0;g<p.getModuleCount();g+=1){_+="<tr>";for(var y=0;y<p.getModuleCount();y+=1)_+='<td style="',_+=" border-width: 0px; border-style: none;",_+=" border-collapse: collapse;",_+=" padding: 0px; margin: 0px;",_+=" width: "+h+"px;",_+=" height: "+h+"px;",_+=" background-color: ",_+=p.isDark(g,y)?"#000000":"#ffffff",_+=";",_+='"/>';_+="</tr>"}return _+="</tbody>",_+="</table>",_},p.createSvgTag=function(h,v,_,g){var y={};typeof arguments[0]=="object"&&(y=arguments[0],h=y.cellSize,v=y.margin,_=y.alt,g=y.title),h=h||2,v=typeof v=="undefined"?h*4:v,_=typeof _=="string"?{text:_}:_||{},_.text=_.text||null,_.id=_.text?_.id||"qrcode-description":null,g=typeof g=="string"?{text:g}:g||{},g.text=g.text||null,g.id=g.text?g.id||"qrcode-title":null;var T=p.getModuleCount()*h+v*2,R,O,$,G,F="",z;for(z="l"+h+",0 0,"+h+" -"+h+",0 0,-"+h+"z ",F+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',F+=y.scalable?"":' width="'+T+'px" height="'+T+'px"',F+=' viewBox="0 0 '+T+" "+T+'" ',F+=' preserveAspectRatio="xMinYMin meet"',F+=g.text||_.text?' role="img" aria-labelledby="'+re([g.id,_.id].join(" ").trim())+'"':"",F+=">",F+=g.text?'<title id="'+re(g.id)+'">'+re(g.text)+"</title>":"",F+=_.text?'<description id="'+re(_.id)+'">'+re(_.text)+"</description>":"",F+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',F+='<path d="',$=0;$<p.getModuleCount();$+=1)for(G=$*h+v,R=0;R<p.getModuleCount();R+=1)p.isDark($,R)&&(O=R*h+v,F+="M"+O+","+G+z);return F+='" stroke="transparent" fill="black"/>',F+="</svg>",F},p.createDataURL=function(h,v){h=h||2,v=typeof v=="undefined"?h*4:v;var _=p.getModuleCount()*h+v*2,g=v,y=_-v;return j(_,_,function(T,R){if(g<=T&&T<y&&g<=R&&R<y){var O=Math.floor((T-g)/h),$=Math.floor((R-g)/h);return p.isDark($,O)?0:1}else return 1})},p.createImgTag=function(h,v,_){h=h||2,v=typeof v=="undefined"?h*4:v;var g=p.getModuleCount()*h+v*2,y="";return y+="<img",y+=' src="',y+=p.createDataURL(h,v),y+='"',y+=' width="',y+=g,y+='"',y+=' height="',y+=g,y+='"',_&&(y+=' alt="',y+=re(_),y+='"'),y+="/>",y};var re=function(h){for(var v="",_=0;_<h.length;_+=1){var g=h.charAt(_);switch(g){case"<":v+="&lt;";break;case">":v+="&gt;";break;case"&":v+="&amp;";break;case'"':v+="&quot;";break;default:v+=g;break}}return v},ce=function(h){var v=1;h=typeof h=="undefined"?v*2:h;var _=p.getModuleCount()*v+h*2,g=h,y=_-h,T,R,O,$,G,F={"\u2588\u2588":"\u2588","\u2588 ":"\u2580"," \u2588":"\u2584"," ":" "},z={"\u2588\u2588":"\u2580","\u2588 ":"\u2580"," \u2588":" "," ":" "},ee="";for(T=0;T<_;T+=2){for(O=Math.floor((T-g)/v),$=Math.floor((T+1-g)/v),R=0;R<_;R+=1)G="\u2588",g<=R&&R<y&&g<=T&&T<y&&p.isDark(O,Math.floor((R-g)/v))&&(G=" "),g<=R&&R<y&&g<=T+1&&T+1<y&&p.isDark($,Math.floor((R-g)/v))?G+=" ":G+="\u2588",ee+=h<1&&T+1>=y?z[G]:F[G];ee+=`
+`}return _%2&&h>0?ee.substring(0,ee.length-_-1)+Array(_+1).join("\u2580"):ee.substring(0,ee.length-1)};return p.createASCII=function(h,v){if(h=h||1,h<2)return ce(v);h-=1,v=typeof v=="undefined"?h*2:v;var _=p.getModuleCount()*h+v*2,g=v,y=_-v,T,R,O,$,G=Array(h+1).join("\u2588\u2588"),F=Array(h+1).join(" "),z="",ee="";for(T=0;T<_;T+=1){for(O=Math.floor((T-g)/h),ee="",R=0;R<_;R+=1)$=1,g<=R&&R<y&&g<=T&&T<y&&p.isDark(O,Math.floor((R-g)/h))&&($=0),ee+=$?G:F;for(O=0;O<h;O+=1)z+=ee+`
+`}return z.substring(0,z.length-1)},p.renderTo2dContext=function(h,v){v=v||2;for(var _=p.getModuleCount(),g=0;g<_;g++)for(var y=0;y<_;y++)h.fillStyle=p.isDark(g,y)?"black":"white",h.fillRect(g*v,y*v,v,v)},p};e.stringToBytesFuncs={default:function(w){for(var E=[],x=0;x<w.length;x+=1){var b=w.charCodeAt(x);E.push(b&255)}return E}},e.stringToBytes=e.stringToBytesFuncs.default,e.createStringToBytes=function(w,E){var x=function(){for(var f=H(w),d=function(){var V=f.read();if(V==-1)throw"eof";return V},u=0,a={};;){var c=f.read();if(c==-1)break;var l=d(),p=d(),S=d(),U=String.fromCharCode(c<<8|l),W=p<<8|S;a[U]=W,u+=1}if(u!=E)throw u+" != "+E;return a}(),b="?".charCodeAt(0);return function(f){for(var d=[],u=0;u<f.length;u+=1){var a=f.charCodeAt(u);if(a<128)d.push(a);else{var c=x[f.charAt(u)];typeof c=="number"?(c&255)==c?d.push(c):(d.push(c>>>8),d.push(c&255)):d.push(b)}}return d}};var t={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3},r={L:1,M:0,Q:3,H:2},n={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},i=function(){var w=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],E=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,x=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,b=1<<14|1<<12|1<<10|1<<4|1<<1,f={},d=function(u){for(var a=0;u!=0;)a+=1,u>>>=1;return a};return f.getBCHTypeInfo=function(u){for(var a=u<<10;d(a)-d(E)>=0;)a^=E<<d(a)-d(E);return(u<<10|a)^b},f.getBCHTypeNumber=function(u){for(var a=u<<12;d(a)-d(x)>=0;)a^=x<<d(a)-d(x);return u<<12|a},f.getPatternPosition=function(u){return w[u-1]},f.getMaskFunction=function(u){switch(u){case n.PATTERN000:return function(a,c){return(a+c)%2==0};case n.PATTERN001:return function(a,c){return a%2==0};case n.PATTERN010:return function(a,c){return c%3==0};case n.PATTERN011:return function(a,c){return(a+c)%3==0};case n.PATTERN100:return function(a,c){return(Math.floor(a/2)+Math.floor(c/3))%2==0};case n.PATTERN101:return function(a,c){return a*c%2+a*c%3==0};case n.PATTERN110:return function(a,c){return(a*c%2+a*c%3)%2==0};case n.PATTERN111:return function(a,c){return(a*c%3+(a+c)%2)%2==0};default:throw"bad maskPattern:"+u}},f.getErrorCorrectPolynomial=function(u){for(var a=m([1],0),c=0;c<u;c+=1)a=a.multiply(m([1,o.gexp(c)],0));return a},f.getLengthInBits=function(u,a){if(1<=a&&a<10)switch(u){case t.MODE_NUMBER:return 10;case t.MODE_ALPHA_NUM:return 9;case t.MODE_8BIT_BYTE:return 8;case t.MODE_KANJI:return 8;default:throw"mode:"+u}else if(a<27)switch(u){case t.MODE_NUMBER:return 12;case t.MODE_ALPHA_NUM:return 11;case t.MODE_8BIT_BYTE:return 16;case t.MODE_KANJI:return 10;default:throw"mode:"+u}else if(a<41)switch(u){case t.MODE_NUMBER:return 14;case t.MODE_ALPHA_NUM:return 13;case t.MODE_8BIT_BYTE:return 16;case t.MODE_KANJI:return 12;default:throw"mode:"+u}else throw"type:"+a},f.getLostPoint=function(u){for(var a=u.getModuleCount(),c=0,l=0;l<a;l+=1)for(var p=0;p<a;p+=1){for(var S=0,U=u.isDark(l,p),W=-1;W<=1;W+=1)if(!(l+W<0||a<=l+W))for(var V=-1;V<=1;V+=1)p+V<0||a<=p+V||W==0&&V==0||U==u.isDark(l+W,p+V)&&(S+=1);S>5&&(c+=3+S-5)}for(var l=0;l<a-1;l+=1)for(var p=0;p<a-1;p+=1){var Y=0;u.isDark(l,p)&&(Y+=1),u.isDark(l+1,p)&&(Y+=1),u.isDark(l,p+1)&&(Y+=1),u.isDark(l+1,p+1)&&(Y+=1),(Y==0||Y==4)&&(c+=3)}for(var l=0;l<a;l+=1)for(var p=0;p<a-6;p+=1)u.isDark(l,p)&&!u.isDark(l,p+1)&&u.isDark(l,p+2)&&u.isDark(l,p+3)&&u.isDark(l,p+4)&&!u.isDark(l,p+5)&&u.isDark(l,p+6)&&(c+=40);for(var p=0;p<a;p+=1)for(var l=0;l<a-6;l+=1)u.isDark(l,p)&&!u.isDark(l+1,p)&&u.isDark(l+2,p)&&u.isDark(l+3,p)&&u.isDark(l+4,p)&&!u.isDark(l+5,p)&&u.isDark(l+6,p)&&(c+=40);for(var Q=0,p=0;p<a;p+=1)for(var l=0;l<a;l+=1)u.isDark(l,p)&&(Q+=1);var Z=Math.abs(100*Q/a/a-50)/5;return c+=Z*10,c},f}(),o=function(){for(var w=new Array(256),E=new Array(256),x=0;x<8;x+=1)w[x]=1<<x;for(var x=8;x<256;x+=1)w[x]=w[x-4]^w[x-5]^w[x-6]^w[x-8];for(var x=0;x<255;x+=1)E[w[x]]=x;var b={};return b.glog=function(f){if(f<1)throw"glog("+f+")";return E[f]},b.gexp=function(f){for(;f<0;)f+=255;for(;f>=256;)f-=255;return w[f]},b}();function m(w,E){if(typeof w.length=="undefined")throw w.length+"/"+E;var x=function(){for(var f=0;f<w.length&&w[f]==0;)f+=1;for(var d=new Array(w.length-f+E),u=0;u<w.length-f;u+=1)d[u]=w[u+f];return d}(),b={};return b.getAt=function(f){return x[f]},b.getLength=function(){return x.length},b.multiply=function(f){for(var d=new Array(b.getLength()+f.getLength()-1),u=0;u<b.getLength();u+=1)for(var a=0;a<f.getLength();a+=1)d[u+a]^=o.gexp(o.glog(b.getAt(u))+o.glog(f.getAt(a)));return m(d,0)},b.mod=function(f){if(b.getLength()-f.getLength()<0)return b;for(var d=o.glog(b.getAt(0))-o.glog(f.getAt(0)),u=new Array(b.getLength()),a=0;a<b.getLength();a+=1)u[a]=b.getAt(a);for(var a=0;a<f.getLength();a+=1)u[a]^=o.gexp(o.glog(f.getAt(a))+d);return m(u,0).mod(f)},b}var k=function(){var w=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],E=function(f,d){var u={};return u.totalCount=f,u.dataCount=d,u},x={},b=function(f,d){switch(d){case r.L:return w[(f-1)*4+0];case r.M:return w[(f-1)*4+1];case r.Q:return w[(f-1)*4+2];case r.H:return w[(f-1)*4+3];default:return}};return x.getRSBlocks=function(f,d){var u=b(f,d);if(typeof u=="undefined")throw"bad rs block @ typeNumber:"+f+"/errorCorrectionLevel:"+d;for(var a=u.length/3,c=[],l=0;l<a;l+=1)for(var p=u[l*3+0],S=u[l*3+1],U=u[l*3+2],W=0;W<p;W+=1)c.push(E(S,U));return c},x}(),M=function(){var w=[],E=0,x={};return x.getBuffer=function(){return w},x.getAt=function(b){var f=Math.floor(b/8);return(w[f]>>>7-b%8&1)==1},x.put=function(b,f){for(var d=0;d<f;d+=1)x.putBit((b>>>f-d-1&1)==1)},x.getLengthInBits=function(){return E},x.putBit=function(b){var f=Math.floor(E/8);w.length<=f&&w.push(0),b&&(w[f]|=128>>>E%8),E+=1},x},N=function(w){var E=t.MODE_NUMBER,x=w,b={};b.getMode=function(){return E},b.getLength=function(u){return x.length},b.write=function(u){for(var a=x,c=0;c+2<a.length;)u.put(f(a.substring(c,c+3)),10),c+=3;c<a.length&&(a.length-c==1?u.put(f(a.substring(c,c+1)),4):a.length-c==2&&u.put(f(a.substring(c,c+2)),7))};var f=function(u){for(var a=0,c=0;c<u.length;c+=1)a=a*10+d(u.charAt(c));return a},d=function(u){if("0"<=u&&u<="9")return u.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+u};return b},s=function(w){var E=t.MODE_ALPHA_NUM,x=w,b={};b.getMode=function(){return E},b.getLength=function(d){return x.length},b.write=function(d){for(var u=x,a=0;a+1<u.length;)d.put(f(u.charAt(a))*45+f(u.charAt(a+1)),11),a+=2;a<u.length&&d.put(f(u.charAt(a)),6)};var f=function(d){if("0"<=d&&d<="9")return d.charCodeAt(0)-"0".charCodeAt(0);if("A"<=d&&d<="Z")return d.charCodeAt(0)-"A".charCodeAt(0)+10;switch(d){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+d}};return b},B=function(w){var E=t.MODE_8BIT_BYTE,x=w,b=e.stringToBytes(w),f={};return f.getMode=function(){return E},f.getLength=function(d){return b.length},f.write=function(d){for(var u=0;u<b.length;u+=1)d.put(b[u],8)},f},P=function(w){var E=t.MODE_KANJI,x=w,b=e.stringToBytesFuncs.SJIS;if(!b)throw"sjis not supported.";(function(u,a){var c=b(u);if(c.length!=2||(c[0]<<8|c[1])!=a)throw"sjis not supported."})("\u53CB",38726);var f=b(w),d={};return d.getMode=function(){return E},d.getLength=function(u){return~~(f.length/2)},d.write=function(u){for(var a=f,c=0;c+1<a.length;){var l=(255&a[c])<<8|255&a[c+1];if(33088<=l&&l<=40956)l-=33088;else if(57408<=l&&l<=60351)l-=49472;else throw"illegal char at "+(c+1)+"/"+l;l=(l>>>8&255)*192+(l&255),u.put(l,13),c+=2}if(c<a.length)throw"illegal char at "+(c+1)},d},L=function(){var w=[],E={};return E.writeByte=function(x){w.push(x&255)},E.writeShort=function(x){E.writeByte(x),E.writeByte(x>>>8)},E.writeBytes=function(x,b,f){b=b||0,f=f||x.length;for(var d=0;d<f;d+=1)E.writeByte(x[d+b])},E.writeString=function(x){for(var b=0;b<x.length;b+=1)E.writeByte(x.charCodeAt(b))},E.toByteArray=function(){return w},E.toString=function(){var x="";x+="[";for(var b=0;b<w.length;b+=1)b>0&&(x+=","),x+=w[b];return x+="]",x},E},D=function(){var w=0,E=0,x=0,b="",f={},d=function(a){b+=String.fromCharCode(u(a&63))},u=function(a){if(!(a<0)){if(a<26)return 65+a;if(a<52)return 97+(a-26);if(a<62)return 48+(a-52);if(a==62)return 43;if(a==63)return 47}throw"n:"+a};return f.writeByte=function(a){for(w=w<<8|a&255,E+=8,x+=1;E>=6;)d(w>>>E-6),E-=6},f.flush=function(){if(E>0&&(d(w<<6-E),w=0,E=0),x%3!=0)for(var a=3-x%3,c=0;c<a;c+=1)b+="="},f.toString=function(){return b},f},H=function(w){var E=w,x=0,b=0,f=0,d={};d.read=function(){for(;f<8;){if(x>=E.length){if(f==0)return-1;throw"unexpected end of file./"+f}var a=E.charAt(x);if(x+=1,a=="=")return f=0,-1;if(a.match(/^\s$/))continue;b=b<<6|u(a.charCodeAt(0)),f+=6}var c=b>>>f-8&255;return f-=8,c};var u=function(a){if(65<=a&&a<=90)return a-65;if(97<=a&&a<=122)return a-97+26;if(48<=a&&a<=57)return a-48+52;if(a==43)return 62;if(a==47)return 63;throw"c:"+a};return d},A=function(w,E){var x=w,b=E,f=new Array(w*E),d={};d.setPixel=function(l,p,S){f[p*x+l]=S},d.write=function(l){l.writeString("GIF87a"),l.writeShort(x),l.writeShort(b),l.writeByte(128),l.writeByte(0),l.writeByte(0),l.writeByte(0),l.writeByte(0),l.writeByte(0),l.writeByte(255),l.writeByte(255),l.writeByte(255),l.writeString(","),l.writeShort(0),l.writeShort(0),l.writeShort(x),l.writeShort(b),l.writeByte(0);var p=2,S=a(p);l.writeByte(p);for(var U=0;S.length-U>255;)l.writeByte(255),l.writeBytes(S,U,255),U+=255;l.writeByte(S.length-U),l.writeBytes(S,U,S.length-U),l.writeByte(0),l.writeString(";")};var u=function(l){var p=l,S=0,U=0,W={};return W.write=function(V,Y){if(V>>>Y)throw"length over";for(;S+Y>=8;)p.writeByte(255&(V<<S|U)),Y-=8-S,V>>>=8-S,U=0,S=0;U=V<<S|U,S=S+Y},W.flush=function(){S>0&&p.writeByte(U)},W},a=function(l){for(var p=1<<l,S=(1<<l)+1,U=l+1,W=c(),V=0;V<p;V+=1)W.add(String.fromCharCode(V));W.add(String.fromCharCode(p)),W.add(String.fromCharCode(S));var Y=L(),Q=u(Y);Q.write(p,U);var Z=0,J=String.fromCharCode(f[Z]);for(Z+=1;Z<f.length;){var K=String.fromCharCode(f[Z]);Z+=1,W.contains(J+K)?J=J+K:(Q.write(W.indexOf(J),U),W.size()<4095&&(W.size()==1<<U&&(U+=1),W.add(J+K)),J=K)}return Q.write(W.indexOf(J),U),Q.write(S,U),Q.flush(),Y.toByteArray()},c=function(){var l={},p=0,S={};return S.add=function(U){if(S.contains(U))throw"dup key:"+U;l[U]=p,p+=1},S.size=function(){return p},S.indexOf=function(U){return l[U]},S.contains=function(U){return typeof l[U]!="undefined"},S};return d},j=function(w,E,x){for(var b=A(w,E),f=0;f<E;f+=1)for(var d=0;d<w;d+=1)b.setPixel(d,f,x(d,f));var u=L();b.write(u);for(var a=D(),c=u.toByteArray(),l=0;l<c.length;l+=1)a.writeByte(c[l]);return a.flush(),"data:image/gif;base64,"+a};return e}();(function(){vr.stringToBytesFuncs["UTF-8"]=function(e){function t(r){for(var n=[],i=0;i<r.length;i++){var o=r.charCodeAt(i);o<128?n.push(o):o<2048?n.push(192|o>>6,128|o&63):o<55296||o>=57344?n.push(224|o>>12,128|o>>6&63,128|o&63):(i++,o=65536+((o&1023)<<10|r.charCodeAt(i)&1023),n.push(240|o>>18,128|o>>12&63,128|o>>6&63,128|o&63))}return n}return t(e)}})();(function(e){typeof define=="function"&&define.amd?define([],e):typeof gr=="object"&&(mr.exports=e())})(function(){return vr})});var On={};Lr(On,{OfferRefund:()=>et,buildTimeRendering:()=>Nn,mount:()=>Dn});var ve,C,lt,Dr,pe,at,ft,Ee={},_t=[],Nr=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function oe(e,t){for(var r in t)e[r]=t[r];return e}function ct(e){var t=e.parentNode;t&&t.removeChild(e)}function I(e,t,r){var n,i,o,m={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:m[o]=t[o];if(arguments.length>2&&(m.children=arguments.length>3?ve.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)m[o]===void 0&&(m[o]=e.defaultProps[o]);return de(e,m,n,i,null)}function de(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i==null?++lt:i};return i==null&&C.vnode!=null&&C.vnode(o),o}function Ie(){return{current:null}}function X(e){return e.children}function te(e,t){this.props=e,this.context=t}function he(e,t){if(t==null)return e.__?he(e.__,e.__.__k.indexOf(e)+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?he(e):null}function pt(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return pt(e)}}function Fe(e){(!e.__d&&(e.__d=!0)&&pe.push(e)&&!Te.__r++||at!==C.debounceRendering)&&((at=C.debounceRendering)||setTimeout)(Te)}function Te(){for(var e;Te.__r=pe.length;)e=pe.sort(function(t,r){return t.__v.__b-r.__v.__b}),pe=[],e.some(function(t){var r,n,i,o,m,k;t.__d&&(m=(o=(r=t).__v).__e,(k=r.__P)&&(n=[],(i=oe({},o)).__v=o.__v+1,He(k,o,i,r.__n,k.ownerSVGElement!==void 0,o.__h!=null?[m]:null,n,m==null?he(o):m,o.__h),gt(n,o),o.__e!=m&&pt(o)))})}function dt(e,t,r,n,i,o,m,k,M,N){var s,B,P,L,D,H,A,j=n&&n.__k||_t,w=j.length;for(r.__k=[],s=0;s<t.length;s++)if((L=r.__k[s]=(L=t[s])==null||typeof L=="boolean"?null:typeof L=="string"||typeof L=="number"||typeof L=="bigint"?de(null,L,null,null,L):Array.isArray(L)?de(X,{children:L},null,null,null):L.__b>0?de(L.type,L.props,L.key,L.ref?L.ref:null,L.__v):L)!=null){if(L.__=r,L.__b=r.__b+1,(P=j[s])===null||P&&L.key==P.key&&L.type===P.type)j[s]=void 0;else for(B=0;B<w;B++){if((P=j[B])&&L.key==P.key&&L.type===P.type){j[B]=void 0;break}P=null}He(e,L,P=P||Ee,i,o,m,k,M,N),D=L.__e,(B=L.ref)&&P.ref!=B&&(A||(A=[]),P.ref&&A.push(P.ref,null,L),A.push(B,L.__c||D,L)),D!=null?(H==null&&(H=D),typeof L.type=="function"&&L.__k===P.__k?L.__d=M=ht(L,M,e):M=vt(e,L,P,j,D,M),typeof r.type=="function"&&(r.__d=M)):M&&P.__e==M&&M.parentNode!=e&&(M=he(P))}for(r.__e=H,s=w;s--;)j[s]!=null&&yt(j[s],j[s]);if(A)for(s=0;s<A.length;s++)mt(A[s],A[++s],A[++s])}function ht(e,t,r){for(var n,i=e.__k,o=0;i&&o<i.length;o++)(n=i[o])&&(n.__=e,t=typeof n.type=="function"?ht(n,t,r):vt(r,n,n,i,n.__e,t));return t}function ne(e,t){return t=t||[],e==null||typeof e=="boolean"||(Array.isArray(e)?e.some(function(r){ne(r,t)}):t.push(e)),t}function vt(e,t,r,n,i,o){var m,k,M;if(t.__d!==void 0)m=t.__d,t.__d=void 0;else if(r==null||i!=o||i.parentNode==null)e:if(o==null||o.parentNode!==e)e.appendChild(i),m=null;else{for(k=o,M=0;(k=k.nextSibling)&&M<n.length;M+=1)if(k==i)break e;e.insertBefore(i,o),m=o}return m!==void 0?m:i.nextSibling}function Or(e,t,r,n,i){var o;for(o in r)o==="children"||o==="key"||o in t||Me(e,o,null,r[o],n);for(o in t)i&&typeof t[o]!="function"||o==="children"||o==="key"||o==="value"||o==="checked"||r[o]===t[o]||Me(e,o,t[o],r[o],n)}function it(e,t,r){t[0]==="-"?e.setProperty(t,r):e[t]=r==null?"":typeof r!="number"||Nr.test(t)?r:r+"px"}function Me(e,t,r,n,i){var o;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||it(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||it(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n||e.addEventListener(t,o?st:ut,o):e.removeEventListener(t,o?st:ut,o);else if(t!=="dangerouslySetInnerHTML"){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in e)try{e[t]=r==null?"":r;break e}catch(m){}typeof r=="function"||(r==null||r===!1&&t.indexOf("-")==-1?e.removeAttribute(t):e.setAttribute(t,r))}}function ut(e){this.l[e.type+!1](C.event?C.event(e):e)}function st(e){this.l[e.type+!0](C.event?C.event(e):e)}function He(e,t,r,n,i,o,m,k,M){var N,s,B,P,L,D,H,A,j,w,E,x,b,f,d,u=t.type;if(t.constructor!==void 0)return null;r.__h!=null&&(M=r.__h,k=t.__e=r.__e,t.__h=null,o=[k]),(N=C.__b)&&N(t);try{e:if(typeof u=="function"){if(A=t.props,j=(N=u.contextType)&&n[N.__c],w=N?j?j.props.value:N.__:n,r.__c?H=(s=t.__c=r.__c).__=s.__E:("prototype"in u&&u.prototype.render?t.__c=s=new u(A,w):(t.__c=s=new te(A,w),s.constructor=u,s.render=Rr),j&&j.sub(s),s.props=A,s.state||(s.state={}),s.context=w,s.__n=n,B=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),u.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=oe({},s.__s)),oe(s.__s,u.getDerivedStateFromProps(A,s.__s))),P=s.props,L=s.state,B)u.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(u.getDerivedStateFromProps==null&&A!==P&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(A,w),!s.__e&&s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(A,s.__s,w)===!1||t.__v===r.__v){for(s.props=A,s.state=s.__s,t.__v!==r.__v&&(s.__d=!1),s.__v=t,t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(a){a&&(a.__=t)}),E=0;E<s._sb.length;E++)s.__h.push(s._sb[E]);s._sb=[],s.__h.length&&m.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(A,s.__s,w),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(P,L,D)})}if(s.context=w,s.props=A,s.__v=t,s.__P=e,x=C.__r,b=0,"prototype"in u&&u.prototype.render){for(s.state=s.__s,s.__d=!1,x&&x(t),N=s.render(s.props,s.state,s.context),f=0;f<s._sb.length;f++)s.__h.push(s._sb[f]);s._sb=[]}else do s.__d=!1,x&&x(t),N=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++b<25);s.state=s.__s,s.getChildContext!=null&&(n=oe(oe({},n),s.getChildContext())),B||s.getSnapshotBeforeUpdate==null||(D=s.getSnapshotBeforeUpdate(P,L)),d=N!=null&&N.type===X&&N.key==null?N.props.children:N,dt(e,Array.isArray(d)?d:[d],t,r,n,i,o,m,k,M),s.base=t.__e,t.__h=null,s.__h.length&&m.push(s),H&&(s.__E=s.__=null),s.__e=!1}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=Sr(r.__e,t,r,n,i,o,m,M);(N=C.diffed)&&N(t)}catch(a){t.__v=null,(M||o!=null)&&(t.__e=k,t.__h=!!M,o[o.indexOf(k)]=null),C.__e(a,t,r)}}function gt(e,t){C.__c&&C.__c(t,e),e.some(function(r){try{e=r.__h,r.__h=[],e.some(function(n){n.call(r)})}catch(n){C.__e(n,r.__v)}})}function Sr(e,t,r,n,i,o,m,k){var M,N,s,B=r.props,P=t.props,L=t.type,D=0;if(L==="svg"&&(i=!0),o!=null){for(;D<o.length;D++)if((M=o[D])&&"setAttribute"in M==!!L&&(L?M.localName===L:M.nodeType===3)){e=M,o[D]=null;break}}if(e==null){if(L===null)return document.createTextNode(P);e=i?document.createElementNS("http://www.w3.org/2000/svg",L):document.createElement(L,P.is&&P),o=null,k=!1}if(L===null)B===P||k&&e.data===P||(e.data=P);else{if(o=o&&ve.call(e.childNodes),N=(B=r.props||Ee).dangerouslySetInnerHTML,s=P.dangerouslySetInnerHTML,!k){if(o!=null)for(B={},D=0;D<e.attributes.length;D++)B[e.attributes[D].name]=e.attributes[D].value;(s||N)&&(s&&(N&&s.__html==N.__html||s.__html===e.innerHTML)||(e.innerHTML=s&&s.__html||""))}if(Or(e,P,B,i,k),s)t.__k=[];else if(D=t.props.children,dt(e,Array.isArray(D)?D:[D],t,r,n,i&&L!=="foreignObject",o,m,o?o[0]:r.__k&&he(r,0),k),o!=null)for(D=o.length;D--;)o[D]!=null&&ct(o[D]);k||("value"in P&&(D=P.value)!==void 0&&(D!==e.value||L==="progress"&&!D||L==="option"&&D!==B.value)&&Me(e,"value",D,B.value,!1),"checked"in P&&(D=P.checked)!==void 0&&D!==e.checked&&Me(e,"checked",D,B.checked,!1))}return e}function mt(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){C.__e(n,r)}}function yt(e,t,r){var n,i;if(C.unmount&&C.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||mt(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){C.__e(o,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&yt(n[i],t,r||typeof e.type!="function");r||e.__e==null||ct(e.__e),e.__=e.__e=e.__d=void 0}function Rr(e,t,r){return this.constructor(e,r)}function ae(e,t,r){var n,i,o;C.__&&C.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],He(t,e=(!n&&r||t).__k=I(X,null,[e]),i||Ee,Ee,t.ownerSVGElement!==void 0,!n&&r?[r]:i?null:t.firstChild?ve.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n),gt(o,e)}function Ve(e,t){ae(e,t,Ve)}function xt(e,t,r){var n,i,o,m=oe({},e.props);for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:m[o]=t[o];return arguments.length>2&&(m.children=arguments.length>3?ve.call(arguments,2):r),de(e.type,m,n||e.key,i||e.ref,null)}function We(e,t){var r={__c:t="__cC"+ft++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=[],(o={})[t]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(m){this.props.value!==m.value&&i.some(Fe)},this.sub=function(m){i.push(m);var k=m.componentWillUnmount;m.componentWillUnmount=function(){i.splice(i.indexOf(m),1),k&&k.call(m)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}ve=_t.slice,C={__e:function(e,t,r,n){for(var i,o,m;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),m=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),m=i.__d),m)return i.__E=i}catch(k){e=k}throw e}},lt=0,Dr=function(e){return e!=null&&e.constructor===void 0},te.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=oe({},this.state),typeof e=="function"&&(e=e(oe({},r),this.props)),e&&oe(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Fe(this))},te.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Fe(this))},te.prototype.render=X,pe=[],Te.__r=0,ft=0;var Ur=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i,Mt=/^(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)$/,Le=/[\s\n\\/='"\0<>]/,Lt=/^xlink:?./,Fr=/["&<]/;function ye(e){if(Fr.test(e+="")===!1)return e;for(var t=0,r=0,n="",i="";r<e.length;r++){switch(e.charCodeAt(r)){case 34:i="&quot;";break;case 38:i="&amp;";break;case 60:i="&lt;";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=i,t=r+1}return r!==t&&(n+=e.slice(t,r)),n}var bt=function(e,t){return String(e).replace(/(\n+)/g,"$1"+(t||" "))},wt=function(e,t,r){return String(e).length>(t||40)||!r&&String(e).indexOf(`
+`)!==-1||String(e).indexOf("<")!==-1},kt={},Ir=/([A-Z])/g;function Pt(e){var t="";for(var r in e){var n=e[r];n!=null&&n!==""&&(t&&(t+=" "),t+=r[0]=="-"?r:kt[r]||(kt[r]=r.replace(Ir,"-$1").toLowerCase()),t=typeof n=="number"&&Ur.test(r)===!1?t+": "+n+"px;":t+": "+n+";")}return t||void 0}function qe(e,t){return Array.isArray(t)?t.reduce(qe,e):t!=null&&t!==!1&&e.push(t),e}function Ct(){this.__d=!0}function Bt(e,t){return{__v:e,context:t,props:e.props,setState:Ct,forceUpdate:Ct,__d:!0,__h:[]}}function Pe(e,t){var r=e.contextType,n=r&&t[r.__c];return r!=null?n?n.props.value:r.__:t}var je=[];function ge(e,t,r,n,i,o){if(e==null||typeof e=="boolean")return"";if(typeof e!="object")return typeof e=="function"?"":ye(e);var m=r.pretty,k=m&&typeof m=="string"?m:" ";if(Array.isArray(e)){for(var M="",N=0;N<e.length;N++)m&&N>0&&(M+=`
+`),M+=ge(e[N],t,r,n,i,o);return M}if(e.constructor!==void 0)return"";var s,B=e.type,P=e.props,L=!1;if(typeof B=="function"){if(L=!0,!r.shallow||!n&&r.renderRootComponent!==!1){if(B===X){var D=[];return qe(D,e.props.children),ge(D,t,r,r.shallowHighOrder!==!1,i,o)}var H,A=e.__c=Bt(e,t);C.__b&&C.__b(e);var j=C.__r;if(B.prototype&&typeof B.prototype.render=="function"){var w=Pe(B,t);(A=e.__c=new B(P,w)).__v=e,A._dirty=A.__d=!0,A.props=P,A.state==null&&(A.state={}),A._nextState==null&&A.__s==null&&(A._nextState=A.__s=A.state),A.context=w,B.getDerivedStateFromProps?A.state=Object.assign({},A.state,B.getDerivedStateFromProps(A.props,A.state)):A.componentWillMount&&(A.componentWillMount(),A.state=A._nextState!==A.state?A._nextState:A.__s!==A.state?A.__s:A.state),j&&j(e),H=A.render(A.props,A.state,A.context)}else for(var E=Pe(B,t),x=0;A.__d&&x++<25;)A.__d=!1,j&&j(e),H=B.call(e.__c,P,E);return A.getChildContext&&(t=Object.assign({},t,A.getChildContext())),C.diffed&&C.diffed(e),ge(H,t,r,r.shallowHighOrder!==!1,i,o)}B=(s=B).displayName||s!==Function&&s.name||function(ce){var h=(Function.prototype.toString.call(ce).match(/^\s*function\s+([^( ]+)/)||"")[1];if(!h){for(var v=-1,_=je.length;_--;)if(je[_]===ce){v=_;break}v<0&&(v=je.push(ce)-1),h="UnnamedComponent"+v}return h}(s)}var b,f,d="<"+B;if(P){var u=Object.keys(P);r&&r.sortAttributes===!0&&u.sort();for(var a=0;a<u.length;a++){var c=u[a],l=P[c];if(c!=="children"){if(!Le.test(c)&&(r&&r.allAttributes||c!=="key"&&c!=="ref"&&c!=="__self"&&c!=="__source")){if(c==="defaultValue")c="value";else if(c==="defaultChecked")c="checked";else if(c==="defaultSelected")c="selected";else if(c==="className"){if(P.class!==void 0)continue;c="class"}else i&&Lt.test(c)&&(c=c.toLowerCase().replace(/^xlink:?/,"xlink:"));if(c==="htmlFor"){if(P.for)continue;c="for"}c==="style"&&l&&typeof l=="object"&&(l=Pt(l)),c[0]==="a"&&c[1]==="r"&&typeof l=="boolean"&&(l=String(l));var p=r.attributeHook&&r.attributeHook(c,l,t,r,L);if(p||p==="")d+=p;else if(c==="dangerouslySetInnerHTML")f=l&&l.__html;else if(B==="textarea"&&c==="value")b=l;else if((l||l===0||l==="")&&typeof l!="function"){if(!(l!==!0&&l!==""||(l=c,r&&r.xml))){d=d+" "+c;continue}if(c==="value"){if(B==="select"){o=l;continue}B==="option"&&o==l&&P.selected===void 0&&(d+=" selected")}d=d+" "+c+'="'+ye(l)+'"'}}}else b=l}}if(m){var S=d.replace(/\n\s*/," ");S===d||~S.indexOf(`
+`)?m&&~d.indexOf(`
+`)&&(d+=`
+`):d=S}if(d+=">",Le.test(B))throw new Error(B+" is not a valid HTML tag name in "+d);var U,W=Mt.test(B)||r.voidElements&&r.voidElements.test(B),V=[];if(f)m&&wt(f)&&(f=`
+`+k+bt(f,k)),d+=f;else if(b!=null&&qe(U=[],b).length){for(var Y=m&&~d.indexOf(`
+`),Q=!1,Z=0;Z<U.length;Z++){var J=U[Z];if(J!=null&&J!==!1){var K=ge(J,t,r,!0,B==="svg"||B!=="foreignObject"&&i,o);if(m&&!Y&&wt(K)&&(Y=!0),K)if(m){var ke=K.length>0&&K[0]!="<";Q&&ke?V[V.length-1]+=K:V.push(K),Q=ke}else V.push(K)}}if(m&&Y)for(var re=V.length;re--;)V[re]=`
+`+k+bt(V[re],k)}if(V.length||f)d+=V.join("");else if(r&&r.xml)return d.substring(0,d.length-1)+" />";return!W||U||f?(m&&~d.indexOf(`
+`)&&(d+=`
+`),d=d+"</"+B+">"):d=d.replace(/>$/," />"),d}var Hr={shallow:!0};ie.render=ie;var Vr=function(e,t){return ie(e,t,Hr)},At=[];function ie(e,t,r){t=t||{};var n=C.__s;C.__s=!0;var i,o=I(X,null);return o.__k=[e],i=r&&(r.pretty||r.voidElements||r.sortAttributes||r.shallow||r.allAttributes||r.xml||r.attributeHook)?ge(e,t,r):me(e,t,!1,void 0,o),C.__c&&C.__c(e,At),C.__s=n,At.length=0,i}function $e(e){return e==null||typeof e=="boolean"?null:typeof e=="string"||typeof e=="number"||typeof e=="bigint"?I(null,null,e):e}function Wr(e,t){return e==="className"?"class":e==="htmlFor"?"for":e==="defaultValue"?"value":e==="defaultChecked"?"checked":e==="defaultSelected"?"selected":t&&Lt.test(e)?e.toLowerCase().replace(/^xlink:?/,"xlink:"):e}function jr(e,t){return e==="style"&&t!=null&&typeof t=="object"?Pt(t):e[0]==="a"&&e[1]==="r"&&typeof t=="boolean"?String(t):t}var Et=Array.isArray,Tt=Object.assign;function me(e,t,r,n,i){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":ye(e);if(Et(e)){var o="";i.__k=e;for(var m=0;m<e.length;m++)o+=me(e[m],t,r,n,i),e[m]=$e(e[m]);return o}if(e.constructor!==void 0)return"";e.__=i,C.__b&&C.__b(e);var k=e.type,M=e.props;if(typeof k=="function"){var N;if(k===X)N=M.children;else{N=k.prototype&&typeof k.prototype.render=="function"?function(u,a){var c=u.type,l=Pe(c,a),p=new c(u.props,l);u.__c=p,p.__v=u,p.__d=!0,p.props=u.props,p.state==null&&(p.state={}),p.__s==null&&(p.__s=p.state),p.context=l,c.getDerivedStateFromProps?p.state=Tt({},p.state,c.getDerivedStateFromProps(p.props,p.state)):p.componentWillMount&&(p.componentWillMount(),p.state=p.__s!==p.state?p.__s:p.state);var S=C.__r;return S&&S(u),p.render(p.props,p.state,p.context)}(e,t):function(u,a){var c,l=Bt(u,a),p=Pe(u.type,a);u.__c=l;for(var S=C.__r,U=0;l.__d&&U++<25;)l.__d=!1,S&&S(u),c=u.type.call(l,u.props,p);return c}(e,t);var s=e.__c;s.getChildContext&&(t=Tt({},t,s.getChildContext()))}var B=me(N=N!=null&&N.type===X&&N.key==null?N.props.children:N,t,r,n,e);return C.diffed&&C.diffed(e),e.__=void 0,C.unmount&&C.unmount(e),B}var P,L,D="<";if(D+=k,M)for(var H in P=M.children,M){var A=M[H];if(!(H==="key"||H==="ref"||H==="__self"||H==="__source"||H==="children"||H==="className"&&"class"in M||H==="htmlFor"&&"for"in M||Le.test(H))){if(A=jr(H=Wr(H,r),A),H==="dangerouslySetInnerHTML")L=A&&A.__html;else if(k==="textarea"&&H==="value")P=A;else if((A||A===0||A==="")&&typeof A!="function"){if(A===!0||A===""){A=H,D=D+" "+H;continue}if(H==="value"){if(k==="select"){n=A;continue}k!=="option"||n!=A||"selected"in M||(D+=" selected")}D=D+" "+H+'="'+ye(A)+'"'}}}var j=D;if(D+=">",Le.test(k))throw new Error(k+" is not a valid HTML tag name in "+D);var w="",E=!1;if(L)w+=L,E=!0;else if(typeof P=="string")w+=ye(P),E=!0;else if(Et(P)){e.__k=P;for(var x=0;x<P.length;x++){var b=P[x];if(P[x]=$e(b),b!=null&&b!==!1){var f=me(b,t,k==="svg"||k!=="foreignObject"&&r,n,e);f&&(w+=f,E=!0)}}}else if(P!=null&&P!==!1&&P!==!0){e.__k=[$e(P)];var d=me(P,t,k==="svg"||k!=="foreignObject"&&r,n,e);d&&(w+=d,E=!0)}if(C.diffed&&C.diffed(e),e.__=void 0,C.unmount&&C.unmount(e),E)D+=w;else if(Mt.test(k))return j+" />";return D+"</"+k+">"}ie.shallowRender=Vr;var ue,q,Ye,Dt,le=0,It=[],Be=[],Nt=C.__b,Ot=C.__r,St=C.diffed,Rt=C.__c,Ut=C.unmount;function fe(e,t){C.__h&&C.__h(q,e,le||t),le=0;var r=q.__H||(q.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:Be}),r.__[e]}function Xe(e){return le=1,Ke(qt,e)}function Ke(e,t,r){var n=fe(ue++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):qt(void 0,t),function(o){var m=n.__N?n.__N[0]:n.__[0],k=n.t(m,o);m!==k&&(n.__N=[k,n.__[1]],n.__c.setState({}))}],n.__c=q,!q.u)){q.u=!0;var i=q.shouldComponentUpdate;q.shouldComponentUpdate=function(o,m,k){if(!n.__c.__H)return!0;var M=n.__c.__H.__.filter(function(s){return s.__c});if(M.every(function(s){return!s.__N}))return!i||i.call(this,o,m,k);var N=!1;return M.forEach(function(s){if(s.__N){var B=s.__[0];s.__=s.__N,s.__N=void 0,B!==s.__[0]&&(N=!0)}}),!(!N&&n.__c.props===o)&&(!i||i.call(this,o,m,k))}}return n.__N||n.__}function se(e,t){var r=fe(ue++,3);!C.__s&&Qe(r.__H,t)&&(r.__=e,r.i=t,q.__H.__h.push(r))}function xe(e,t){var r=fe(ue++,4);!C.__s&&Qe(r.__H,t)&&(r.__=e,r.i=t,q.__h.push(r))}function Ne(e){return le=5,Oe(function(){return{current:e}},[])}function Ht(e,t,r){le=6,xe(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function Oe(e,t){var r=fe(ue++,7);return Qe(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Vt(e,t){return le=8,Oe(function(){return e},t)}function Wt(e){var t=q.context[e.__c],r=fe(ue++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(q)),t.props.value):e.__}function jt(e,t){C.useDebugValue&&C.useDebugValue(t?t(e):e)}function $t(){var e=fe(ue++,11);if(!e.__){for(var t=q.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function $r(){for(var e;e=It.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(De),e.__H.__h.forEach(Ge),e.__H.__h=[]}catch(t){e.__H.__h=[],C.__e(t,e.__v)}}C.__b=function(e){q=null,Nt&&Nt(e)},C.__r=function(e){Ot&&Ot(e),ue=0;var t=(q=e.__c).__H;t&&(Ye===q?(t.__h=[],q.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Be,r.__N=r.i=void 0})):(t.__h.forEach(De),t.__h.forEach(Ge),t.__h=[])),Ye=q},C.diffed=function(e){St&&St(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(It.push(t)!==1&&Dt===C.requestAnimationFrame||((Dt=C.requestAnimationFrame)||qr)($r)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Be&&(r.__=r.__V),r.i=void 0,r.__V=Be})),Ye=q=null},C.__c=function(e,t){t.some(function(r){try{r.__h.forEach(De),r.__h=r.__h.filter(function(n){return!n.__||Ge(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],C.__e(n,r.__v)}}),Rt&&Rt(e,t)},C.unmount=function(e){Ut&&Ut(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{De(n)}catch(i){t=i}}),r.__H=void 0,t&&C.__e(t,r.__v))};var Ft=typeof requestAnimationFrame=="function";function qr(e){var t,r=function(){clearTimeout(n),Ft&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);Ft&&(t=requestAnimationFrame(r))}function De(e){var t=q,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),q=t}function Ge(e){var t=q;e.__c=e.__(),q=t}function Qe(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function qt(e,t){return typeof t=="function"?t(e):t}function Yr(e){var t={};return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Yt=Yr;var Gr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Xr=Yt(function(e){return Gr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Gt=Xr;function rr(e,t){for(var r in t)e[r]=t[r];return e}function Je(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Ze(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function ze(e){this.props=e}function Kr(e,t){function r(i){var o=this.props.ref,m=o==i.ref;return!m&&o&&(o.call?o(null):o.current=null),t?!t(this.props,i)||!m:Je(this.props,i)}function n(i){return this.shouldComponentUpdate=r,I(e,i)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(ze.prototype=new te).isPureReactComponent=!0,ze.prototype.shouldComponentUpdate=function(e,t){return Je(this.props,e)||Je(this.state,t)};var Xt=C.__b;C.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Xt&&Xt(e)};var Qr=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Zr(e){function t(r){var n=rr({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=Qr,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Kt=function(e,t){return e==null?null:ne(ne(e).map(t))},Jr={map:Kt,forEach:Kt,count:function(e){return e?ne(e).length:0},only:function(e){var t=ne(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:ne},zr=C.__e;C.__e=function(e,t,r,n){if(e.then){for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),i.__c(e,t)}zr(e,t,r,n)};var Qt=C.unmount;function nr(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=rr({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return nr(n,t,r)})),e}function or(e,t,r){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return or(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=r)),e}function Se(){this.__u=0,this.t=null,this.__b=null}function ar(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function en(e){var t,r,n;function i(o){if(t||(t=e()).then(function(m){r=m.default||m},function(m){n=m}),n)throw n;if(!r)throw t;return I(r,o)}return i.displayName="Lazy",i.__f=!0,i}function be(){this.u=null,this.o=null}C.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Qt&&Qt(e)},(Se.prototype=new te).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=ar(n.__v),o=!1,m=function(){o||(o=!0,r.__R=null,i?i(k):k())};r.__R=m;var k=function(){if(!--n.__u){if(n.state.__a){var N=n.state.__a;n.__v.__k[0]=or(N,N.__c.__P,N.__c.__O)}var s;for(n.setState({__a:n.__b=null});s=n.t.pop();)s.forceUpdate()}},M=t.__h===!0;n.__u++||M||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(m,m)},Se.prototype.componentWillUnmount=function(){this.t=[]},Se.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=nr(this.__b,r,n.__O=n.__P)}this.__b=null}var i=t.__a&&I(X,null,e.fallback);return i&&(i.__h=null),[I(X,null,t.__a?null:e.children),i]};var Zt=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function tn(e){return this.getChildContext=function(){return e.context},e.children}function rn(e){var t=this,r=e.i;t.componentWillUnmount=function(){ae(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),e.__v?(t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),ae(I(tn,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function nn(e,t){var r=I(rn,{__v:e,i:t});return r.containerInfo=t,r}(be.prototype=new te).__a=function(e){var t=this,r=ar(t.__v),n=t.o.get(e);return n[0]++,function(i){var o=function(){t.props.revealOrder?(n.push(i),Zt(t,e,n)):i()};r?r(o):o()}},be.prototype.render=function(e){this.u=null,this.o=new Map;var t=ne(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},be.prototype.componentDidUpdate=be.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){Zt(e,r,t)})};var ir=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,on=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,an=typeof document!="undefined",un=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function sn(e,t,r){return t.__k==null&&(t.textContent=""),ae(e,t),typeof r=="function"&&r(),e?e.__c:null}function ln(e,t,r){return Ve(e,t),typeof r=="function"&&r(),e?e.__c:null}te.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(te.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Jt=C.event;function fn(){}function _n(){return this.cancelBubble}function cn(){return this.defaultPrevented}C.event=function(e){return Jt&&(e=Jt(e)),e.persist=fn,e.isPropagationStopped=_n,e.isDefaultPrevented=cn,e.nativeEvent=e};var ur,zt={configurable:!0,get:function(){return this.class}},er=C.vnode;C.vnode=function(e){var t=e.type,r=e.props,n=r;if(typeof t=="string"){var i=t.indexOf("-")===-1;for(var o in n={},r){var m=r[o];an&&o==="children"&&t==="noscript"||o==="value"&&"defaultValue"in r&&m==null||(o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&m===!0?m="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!un(r.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&on.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():m===null&&(m=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),n[o]&&(o="oninputCapture")),n[o]=m)}t=="select"&&n.multiple&&Array.isArray(n.value)&&(n.value=ne(r.children).forEach(function(k){k.props.selected=n.value.indexOf(k.props.value)!=-1})),t=="select"&&n.defaultValue!=null&&(n.value=ne(r.children).forEach(function(k){k.props.selected=n.multiple?n.defaultValue.indexOf(k.props.value)!=-1:n.defaultValue==k.props.value})),e.props=n,r.class!=r.className&&(zt.enumerable="className"in r,r.className!=null&&(n.class=r.className),Object.defineProperty(n,"className",zt))}e.$$typeof=ir,er&&er(e)};var tr=C.__r;C.__r=function(e){tr&&tr(e),ur=e.__c};var pn={ReactCurrentDispatcher:{current:{readContext:function(e){return ur.__n[e.__c].props.value}}}};function dn(e){return I.bind(null,e)}function sr(e){return!!e&&e.$$typeof===ir}function hn(e){return sr(e)?xt.apply(null,arguments):e}function vn(e){return!!e.__k&&(ae(null,e),!0)}function gn(e){return e&&(e.base||e.nodeType===1&&e)||null}var mn=function(e,t){return e(t)},yn=function(e,t){return e(t)},xn=X;function lr(e){e()}function bn(e){return e}function wn(){return[!1,lr]}var kn=xe;function Cn(e,t){var r=t(),n=Xe({h:{__:r,v:t}}),i=n[0].h,o=n[1];return xe(function(){i.__=r,i.v=t,Ze(i.__,t())||o({h:i})},[e,r,t]),se(function(){return Ze(i.__,i.v())||o({h:i}),e(function(){Ze(i.__,i.v())||o({h:i})})},[e]),r}var we={useState:Xe,useId:$t,useReducer:Ke,useEffect:se,useLayoutEffect:xe,useInsertionEffect:kn,useTransition:wn,useDeferredValue:bn,useSyncExternalStore:Cn,startTransition:lr,useRef:Ne,useImperativeHandle:Ht,useMemo:Oe,useCallback:Vt,useContext:Wt,useDebugValue:jt,version:"17.0.2",Children:Jr,render:sn,hydrate:ln,unmountComponentAtNode:vn,createPortal:nn,createElement:I,createContext:We,createFactory:dn,cloneElement:hn,createRef:Ie,Fragment:X,isValidElement:sr,findDOMNode:gn,Component:te,PureComponent:ze,memo:Kr,forwardRef:Zr,flushSync:yn,unstable_batchedUpdates:mn,StrictMode:xn,Suspense:Se,SuspenseList:be,lazy:en,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:pn};var An=function(){let t=Array.prototype.slice.call(arguments).filter(Boolean),r={},n=[];t.forEach(o=>{(o?o.split(" "):[]).forEach(k=>{if(k.startsWith("atm_")){let[,M]=k.split("_");r[M]=k}else n.push(k)})});let i=[];for(let o in r)Object.prototype.hasOwnProperty.call(r,o)&&i.push(r[o]);return i.push(...n),i.join(" ")},Re=An;var En=e=>e.toUpperCase()===e,Tn=e=>t=>e.indexOf(t)===-1,fr=(e,t)=>{let r={};return Object.keys(e).filter(Tn(t)).forEach(n=>{r[n]=e[n]}),r};function Mn(e,t,r){let n=fr(t,r);return typeof e=="string"&&e.indexOf("-")===-1&&!En(e[0])&&Object.keys(n).forEach(i=>{Gt(i)||delete n[i]}),n}var Ln=(e,t)=>{};function Pn(e){return t=>{let r=(i,o)=>{let{as:m=e,class:k}=i,M=Mn(m,i,["as","class"]);M.ref=o,M.className=t.atomic?Re(t.class,M.className||k):Re(M.className||k,t.class);let{vars:N}=t;if(N){let s={};for(let L in N){let D=N[L],H=D[0],A=D[1]||"",j=typeof H=="function"?H(i):H;Ln(j,t.name),s[`--${L}`]=`${j}${A}`}let B=M.style||{},P=Object.keys(B);P.length>0&&P.forEach(L=>{s[L]=B[L]}),M.style=s}return e.__linaria&&e!==m?(M.as=m,we.createElement(e,M)):we.createElement(m,M)},n=we.forwardRef?we.forwardRef(r):i=>{let o=fr(i,["innerRef"]);return r(o,i.innerRef)};return n.displayName=t.name,n.__linaria={className:t.class,extends:e},n}}var _e=Pn;var _r=_e("div")({name:"QRPlaceholder",class:"q1ma0zxq"}),cr=_e("footer")({name:"FooterBar",class:"fef0x5t"}),pr=_e("div")({name:"Page",class:"p1b3vqup"});var dr=_e("a")({name:"WalletLink",class:"wpwjmk",vars:{"wpwjmk-0":[({upperCased:e})=>e?"uppercase":"none"]}});function hr(){return I(cr,null,I("p",null,I("a",{href:"https://taler.net/"},"Learn more about GNU Taler on our website."),I("p",null,"Copyright \xA9 2014\u20142021 Taler Systems SA")))}var xr=Pr(yr());function Bn(e){let t=(0,xr.default)(0,"L");return t.addData(e),t.make(),t.createSvgTag({scalable:!0,margin:0})}function br({text:e}){let t=Ne(null);return se(()=>{t.current&&(t.current.innerHTML=Bn(e))}),I("div",{style:{width:"100%",display:"flex",flexDirection:"column",alignItems:"center"}},I("div",{style:{width:"50%",minWidth:200,maxWidth:300},ref:t}))}function wr({order_summary:e}){return I(X,null,I("meta",{charSet:"UTF-8"}),I("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),I("noscript",null,I("meta",{"http-equiv":"refresh",content:"1"})),I("title",null,"Refund available for ",e||"{{ order_summary }}"))}function et({refundURI:e,qr_code:t,order_status_url:r}){return se(()=>{let n;try{n=new URL(r||"{{& order_status_url }}")}catch(m){return}n.searchParams.set("await_refund_obtained","yes");let i=500;function o(){let m=!1;function k(){m||(m=!0,o())}let M=new XMLHttpRequest;M.onreadystatechange=function(){if(M.readyState===XMLHttpRequest.DONE){if(M.status===200)try{JSON.parse(M.responseText).refund_pending||window.location.reload()}catch(N){console.error("could not parse response:",N)}setTimeout(k,i)}},M.onerror=function(){setTimeout(k,i)},M.open("GET",n.href),M.send()}setTimeout(o,i)}),I(pr,null,I("section",null,I("h1",null,"Collect Taler refund"),I("p",null,"Scan this QR code with your Taler mobile wallet:"),I(_r,{dangerouslySetInnerHTML:{__html:t||"{{{ taler_refund_qrcode_svg }}}"}}),I("p",null,I(dr,{href:e||"{{ taler_refund_uri }}"},"Or open your Taler wallet")),I("p",null,I("a",{href:"https://wallet.taler.net/"},"Don't have a Taler wallet yet? Install it!"))),I(hr,null))}function Dn(){try{let e=new URL(window.location.href).searchParams,t=e.get("order_summary")||void 0;t&&ae(I(wr,{order_summary:t}),document.head);let r=e.get("refund_uri")||void 0,n=e.get("order_status_url")||void 0,i=r?ie(I(br,{text:r})):void 0;ae(I(et,{refundURI:r,order_status_url:n,qr_code:i}),document.body)}catch(e){console.error("got error",e),e instanceof Error&&(document.body.innerText=`Fatal error: "${e.message}". Please report this bug at https://bugs.gnunet.org/.`)}}function Nn(){return{head:ie(I(wr,null)),body:ie(I(et,null))}}return Br(On);})();
</script>
- <script>page.mount()</script>
- </body>
-</html> \ No newline at end of file
+ <script>page.mount()</script>
+ </body>
+ </html> \ No newline at end of file