Plugin Directory

Changeset 2371183


Ignore:
Timestamp:
08/28/2020 04:02:00 PM (6 years ago)
Author:
giuseppectmobi
Message:

Update to version 1.0.4 from GitHub

Location:
wubtitle
Files:
110 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wubtitle/tags/1.0.4/assets/css/payment_template.css

    r2354686 r2371183  
    365365    text-align: center;
    366366    border-color: #2962ff;
    367 }
     367    border-style: solid;
     368    outline: none;
     369}
  • wubtitle/tags/1.0.4/assets/css/stripeStyle.css

    r2354686 r2371183  
    2525
    2626.button-bar button,
    27 .coupon-button {
     27.coupon-button,
     28input.cancel {
    2829    background: transparent linear-gradient(257deg, #d500f9 0%, #2962ff 99%) 0% 0% no-repeat padding-box;
    2930    border-radius: 16px;
     
    4647}
    4748
     49.button-bar input.cancel {
     50    background: none;
     51    color: #616161;
     52    width: auto;
     53}
     54
     55input.cancel:hover:enabled {
     56    cursor: pointer;
     57    transform: translateY(-1px);
     58    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
     59}
     60
    4861.disabled {
    4962    background-color: #7795f8;
     
    5972    padding: 10px 14px;
    6073    font-size: 1em;
    61     font-family: "Source Code Pro", monospace;
     74    font-family: "Open Sans", sans-serif;
    6275    box-shadow:
    6376        rgba(50, 50, 93, 0.14902) 0 1px 3px,
     
    6881    background: #fff;
    6982    width: 100%;
     83}
     84
     85/* selector should use lowercase but class is generated by stripe */
     86/* stylelint-disable-next-line selector-class-pattern */
     87.StripeElement {
     88    margin-top: 1rem;
    7089}
    7190
     
    257276}
    258277
    259 .button-bar button.cancel {
    260     background: none;
    261     color: #616161;
    262 }
    263 
    264278.summary {
    265279    padding: 1rem;
     
    310324}
    311325
     326.switch-container p {
     327    color: #616161;
     328    font-weight: 600;
     329    font-size: 12px;
     330}
     331
    312332/* Desktop */
    313333@media screen and (min-width: 1024px) {
     
    401421    .price-column .mobile-price-view.opened .disclaimer {
    402422        display: block;
    403     }
    404 }
    405 
    406 
    407 /* Smartphone */
    408 @media screen and (max-width: 767px) {
    409 
    410     .accordion-bar {
    411         display: flex;
    412         flex-direction: row;
    413         align-items: center;
    414         justify-content: space-between;
    415     }
    416 
    417     .accordion {
    418         width: 20px;
    419         height: 20px;
    420         display: flex;
    421         align-items: center;
    422         justify-content: center;
    423     }
    424 
    425     .accordion.opened {
    426         transform: rotate(180deg);
    427     }
    428 
    429     .form-field-container {
    430         width: 100%;
    431     }
    432 
    433     .summary {
    434         border-bottom: 1px rgb(201, 201, 201) solid;
    435         overflow: hidden;
    436     }
    437 
    438     .summary .columns {
    439         display: block;
    440     }
    441 
    442     .summary .column {
    443         width: 100%;
    444     }
    445 
    446 
    447     .summary.closed {
    448         height: 80px;
    449     }
    450 
    451     .summary.opened {
    452         height: auto;
    453423    }
    454424}
     
    534504}
    535505
     506.fields-container.flex-container {
     507    padding: 0.5rem;
     508}
     509
    536510.switch-container {
    537511    display: inline-flex;
     
    550524
    551525.error-message {
     526    color: #d32f2f;
     527    height: 8px;
     528    padding: 0 1rem;
     529    margin: 0;
     530}
     531
     532.error-message-notice {
    552533    color: #d32f2f;
    553534    height: 8px;
     
    579560.coupon-message {
    580561    height: 8px;
     562    color: #d32f2f;
    581563}
    582564
     
    588570    font: 400 14px/19px "Open Sans", sans-serif;
    589571}
     572
     573/* Smartphone */
     574@media screen and (max-width: 767px) {
     575
     576    .accordion-bar {
     577        display: flex;
     578        flex-direction: row;
     579        align-items: center;
     580        justify-content: space-between;
     581    }
     582
     583    .accordion {
     584        width: 20px;
     585        height: 20px;
     586        display: flex;
     587        align-items: center;
     588        justify-content: center;
     589    }
     590
     591    .accordion.opened {
     592        transform: rotate(180deg);
     593    }
     594
     595    .form-field-container {
     596        width: 100%;
     597    }
     598
     599    .summary {
     600        border-bottom: 1px rgb(201, 201, 201) solid;
     601        overflow: hidden;
     602    }
     603
     604    .columns {
     605        padding-top: 0;
     606    }
     607
     608    .summary .columns {
     609        display: block;
     610    }
     611
     612    .summary .column {
     613        width: 100%;
     614    }
     615
     616
     617    .summary.closed {
     618        height: 80px;
     619    }
     620
     621    .summary.opened {
     622        height: auto;
     623    }
     624
     625    .switch-container {
     626        display: flex;
     627        left: 1rem;
     628        align-items: center;
     629        position: initial;
     630        margin-top: 16px;
     631    }
     632
     633    .switch-container p {
     634        left: 0;
     635        margin: auto 0;
     636    }
     637
     638    .switch {
     639        position: absolute;
     640        right: 1rem;
     641    }
     642
     643    .title-section {
     644        padding-bottom: 0;
     645    }
     646
     647    .summary p {
     648        margin-top: 16px;
     649    }
     650}
     651
  • wubtitle/tags/1.0.4/build/index.asset.php

    r2354686 r2371183  
    1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '42f08e0eb4faf2321dd222757ada72f7');
     1<?php return array('dependencies' => array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '522b29c2c0236dcac5d26f996c59a0bf');
  • wubtitle/tags/1.0.4/build/index.js

    r2354686 r2371183  
    1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var c=e[r]={i:r,l:!1,exports:{}};return t[r].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var c in t)n.d(r,c,function(e){return t[e]}.bind(null,c));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=19)}([function(t,e){!function(){t.exports=this.wp.element}()},function(t,e){!function(){t.exports=this.wp.i18n}()},function(t,e,n){var r=n(14),c=n(15),i=n(16),o=n(18);t.exports=function(t,e){return r(t)||c(t,e)||i(t,e)||o()}},function(t,e){!function(){t.exports=this.wp.components}()},function(t,e){!function(){t.exports=this.wp.data}()},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n},function(t,e){!function(){t.exports=this.wp.compose}()},function(t,e){!function(){t.exports=this.wp.hooks}()},function(t,e){!function(){t.exports=this.wp.blockEditor}()},function(t,e){!function(){t.exports=this.wp.apiFetch}()},function(t,e){!function(){t.exports=this.wp.plugins}()},function(t,e){!function(){t.exports=this.wp.editPost}()},function(t,e){!function(){t.exports=this.wp.domReady}()},function(t,e){!function(){t.exports=this.wp.blocks}()},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,c=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){c=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(c)throw i}}return n}}},function(t,e,n){var r=n(17);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){"use strict";n.r(e);var r=n(5),c=n.n(r),i=n(0),o=n(6),a=n(7),l=n(2),u=n.n(l),b=n(4),s=n(9),d=n.n(s),p=n(3),f=n(8),_=n(1),j={it:Object(_.__)("Italian","wubtitle"),en:Object(_.__)("English","wubtitle"),es:Object(_.__)("Spanish","wubtitle"),de:Object(_.__)("German","wubtitle"),zh:Object(_.__)("Chinese","wubtitle"),fr:Object(_.__)("French","wubtitle")},O={pending:Object(_.__)("Generating","wubtitle"),draft:Object(_.__)("Draft","wubtitle"),enabled:Object(_.__)("Enabled","wubtitle"),notfound:Object(_.__)("None","wubtitle")},m=[{value:"it",label:Object(_.__)("Italian","wubtitle")},{value:"en",label:Object(_.__)("English","wubtitle")},{value:"es",label:Object(_.__)("Spanish","wubtitle")},{value:"de",label:Object(_.__)("German","wubtitle")},{value:"zh",label:Object(_.__)("Chinese","wubtitle")},{value:"fr",label:Object(_.__)("French","wubtitle")}],w=[{value:"it",label:Object(_.__)("Italian","wubtitle"),disabled:!1},{value:"en",label:Object(_.__)("English","wubtitle"),disabled:!1},{value:"es",label:Object(_.__)("Spanish (Pro only)","wubtitle"),disabled:!0},{value:"de",label:Object(_.__)("German (Pro only)","wubtitle"),disabled:!0},{value:"zh",label:Object(_.__)("Chinese (Pro only)","wubtitle"),disabled:!0},{value:"fr",label:Object(_.__)("French (Pro only)","wubtitle"),disabled:!0}],g=function(t){var e=t.statusText,n=t.langText;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Status:","wubtitle")+" "+O[e]),Object(i.createElement)("div",null,Object(_.__)("Language:","wubtitle")+" "+j[n]))},h=function(t){var e=t.statusText,n=t.langText,r=t.isPublished,c=t.postId,o=Object(i.useState)(""),a=u()(o,2),l=a[0],s=a[1],d=Object(b.useDispatch)("core"),f=function(t){d.editEntityRecord("postType","attachment",c,{meta:{wubtitle_status:t}})};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",{style:{margin:"0"}},Object(_.__)("Status:","wubtitle")+" "+O[e]),Object(i.createElement)("p",{style:{margin:"8px 0"}},Object(_.__)("Language:","wubtitle")+" "+j[n]),Object(i.createElement)(p.ToggleControl,{label:Object(_.__)("Published","wubtitle"),checked:r,onChange:function(){var t;t="draft",!r&&(t="enabled"),f(t),d.saveEditedEntityRecord("postType","attachment",c)}}),Object(i.createElement)(p.Button,{name:"sottotitoli",id:c,isPrimary:!0,onClick:function(){s(Object(_.__)("Getting transcript…","wubtitle")),wp.ajax.send("get_transcript_internal_video",{type:"POST",data:{id:c,_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){s("Done");var e=wp.blocks.createBlock("wubtitle/transcription",{contentId:t});wp.data.dispatch("core/block-editor").insertBlocks(e)})).fail((function(t){s(t)}))}},Object(_.__)("Get Transcribe","wubtitle")),Object(i.createElement)("p",null,l))},v=function(t){var e,n,r=void 0!==t.id?t.src.substring(t.src.lastIndexOf(".")+1):"mp4",c=("1"===wubtitle_button_object.isFree?["it","en"]:["it","en","es","de","zh"]).includes(wubtitle_button_object.lang)?wubtitle_button_object.lang:"en",o=Object(b.useSelect)((function(e){var n;void 0!==t.id&&(n=e("core").getEntityRecord("postType","attachment",t.id));var r="";return void 0!==n&&(r=e("core").getEditedEntityRecord("postType","attachment",t.id).meta),r}));void 0!==o&&(e=o.wubtitle_lang_video,n=o.wubtitle_status);var a=Object(b.useDispatch)("core/notices"),l=Object(b.useDispatch)("core"),s=Object(i.useState)(c),j=u()(s,2),O=j[0],v=j[1],y="pending"===n||void 0===t.id,E="enabled"===n,x="1"===wubtitle_button_object.isFree?w:m,S=function(){return n="error"===n?Object(_.__)("Error","wubtitle"):Object(_.__)("None","wubtitle"),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Status:","wubtitle")+" "+n),Object(i.createElement)(p.SelectControl,{label:Object(_.__)("Select the video language","wubtitle"),value:O,onChange:function(t){v(t)},options:x}),Object(i.createElement)(p.Button,{disabled:y,name:"sottotitoli",id:t.id,isPrimary:!0,onClick:k},Object(_.__)("GENERATE SUBTITLES","wubtitle")))},T=function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Unsupported video format for free plan","wubtitle")))};function k(){var e=t.id,n=t.src;d()({url:wubtitle_button_object.ajax_url,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"},body:"action=submitVideo&_ajax_nonce=".concat(wubtitle_button_object.ajaxnonce,"&id_attachment=").concat(e,"&src_attachment=").concat(n,"&lang=").concat(O,"&")}).then((function(e){201===e.data?(a.createNotice("success",Object(_.__)("Subtitle creation successfully started","wubtitle")),l.editEntityRecord("postType","attachment",t.id,{meta:{wubtitle_status:"pending",wubtitle_lang_video:O}})):a.createNotice("error",e.data)}))}return Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(p.PanelBody,{title:"Wubtitle"},Object(i.createElement)((function(){if("1"===wubtitle_button_object.isFree&&"mp4"!==r)return Object(i.createElement)(T,null);switch(n){case"pending":return Object(i.createElement)(g,{langText:e,statusText:n});case"draft":case"enabled":return Object(i.createElement)(h,{statusText:n,langText:e,isPublished:E,postId:t.id});default:return Object(i.createElement)(S,null)}}),{status:n,languageSaved:e})))},y=Object(o.createHigherOrderComponent)((function(t){return function(e){return"core/video"!==e.name?Object(i.createElement)(t,e):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(t,e),Object(i.createElement)(v,c()({},e.attributes,{setAttributes:e.setAttributes})))}}),"withInspectorControls");Object(a.addFilter)("editor.BlockEdit","wubtitle/with-inspector-controls",y);var E=n(10),x=n(11),S=n(12),T=function(){var t=Object(i.useState)(""),e=u()(t,2),n=e[0],r=e[1],c=Object(i.useState)(""),o=u()(c,2),a=o[0],l=o[1],b=""===a;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(x.PluginDocumentSettingPanel,{name:"transcript-panel",title:"Transcript"},Object(i.createElement)(p.TextControl,{label:"video url",id:"input",value:a,onChange:function(t){l(t)}}),Object(i.createElement)(p.Button,{name:"transcript",isPrimary:!0,onClick:function(){r(Object(_.__)("Getting transcript…","wubtitle")),wp.ajax.send("get_transcript",{type:"POST",data:{url:a,source:"youtube",from:"transcript_post_type",_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){r(Object(_.__)("Done","wubtitle"));var e=wp.blocks.createBlock("core/paragraph",{content:t});wp.data.dispatch("core/block-editor").insertBlocks(e)})).fail((function(t){r(t)}))},disabled:b},Object(_.__)("Get transcript","wubtitle")),Object(i.createElement)("p",null,n)))};n.n(S)()((function(){"transcript"===Object(b.select)("core/editor").getCurrentPostType()&&Object(E.registerPlugin)("transcript-panel",{render:T,icon:""})}));var k=function(t){var e=Object(i.useState)(""),n=u()(e,2),r=n[0],c=n[1],o=Object(i.useState)(Object(_.__)("None","wubtitle")),a=u()(o,2),l=a[0],s=a[1],d=Object(i.useState)(""),j=u()(d,2),O=j[0],m=j[1],w=Object(i.useState)(!1),g=u()(w,2),h=g[0],v=g[1],y=Object(i.useState)([]),E=u()(y,2),x=E[0],S=E[1],T=Object(i.useState)(""),k=u()(T,2),C=k[0],P=k[1],I=Object(i.useState)(!0),B=u()(I,2),F=B[0],A=B[1],G=Object(b.useDispatch)("core/notices");Object(b.useSelect)((function(e){if(void 0!==t.url){var n=e("core").getEntityRecords("postType","transcript",{metaKey:"_video_id",metaValue:t.url}),r=Object(_.__)("Created","wubtitle");n&&n.length>0&&l!==r&&s(r)}}));return Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(p.PanelBody,{title:"Wubtitle"},Object(i.createElement)("p",{style:{margin:"0",marginBottom:"20px"}},"".concat(Object(_.__)("Transcript status:","wubtitle")," ").concat(l)),t.url&&h?Object(i.createElement)(p.SelectControl,{label:Object(_.__)("Select the video language","wubtitle"),value:O,onChange:function(t){m(t),A("none"===t)},options:x}):void wp.ajax.send("get_video_info",{type:"POST",data:{url:t.url,_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){if(t.languages){c(""),v(!0);var e=t.languages.map((function(t){return{value:t.baseUrl,label:t.name.simpleText}}));e.unshift({value:"none",label:Object(_.__)("Select language","wubtitle")}),S(e),P(t.title)}else c(Object(_.__)("Subtitles not available for this video","wubtitle"))})).fail((function(t){console.log(t)})),Object(i.createElement)(p.Button,{name:"sottotitoli",id:t.id,isPrimary:!0,onClick:function(){var e=wp.data.select("core/block-editor").getBlockIndex(wp.data.select("core/block-editor").getSelectedBlock().clientId);c(Object(_.__)("Getting transcript…","ear2words")),wp.ajax.send("get_transcript_yt",{type:"POST",data:{urlVideo:t.url,urlSubtitle:O,videoTitle:C,from:"default_post_type",_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){var n=wp.blocks.createBlock("wubtitle/transcription",{contentId:t}),r=e+1;wp.data.dispatch("core/block-editor").insertBlocks(n,r),c(""),s(Object(_.__)("Created","wubtitle"))})).fail((function(t){G.createNotice("error",t),c("")}))},disabled:F},Object(_.__)("Get Transcribe","wubtitle")),Object(i.createElement)("p",null,r)))},C=Object(o.createHigherOrderComponent)((function(t){return function(e){return"core-embed/youtube"!==e.name?Object(i.createElement)(t,e):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(t,e),Object(i.createElement)(k,c()({},e.attributes,{setAttributes:e.setAttributes})))}}),"withInspectorControls");Object(a.addFilter)("editor.BlockEdit","wubtitle/with-inspector-controls",C);var P=n(13);function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=Object(i.useState)(t),r=u()(n,2),c=r[0],o=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){o(t)}),e);return function(){clearTimeout(n)}}),[t]),c}var B=function(t){var e=t.attributes,n=t.setAttributes,r=t.className,c=Object(i.useState)(""),o=u()(c,2),a=o[0],l=o[1],s=Object(i.useState)(""),d=u()(s,2),f=d[0],j=d[1],O=Object(i.useState)([]),m=u()(O,2),w=m[0],g=m[1],h=I(a,500),v=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)}))},y=function(t){var e=wp.blocks.createBlock("core/paragraph",{content:t}),n=wp.data.select("core/block-editor").getSelectedBlock().clientId;wp.data.dispatch("core/block-editor").replaceBlocks(n,e)};Object(i.useEffect)((function(){j(h)}),[h]),Object(b.useSelect)((function(t){if(e.contentId&&0===w.length){var n={per_page:1,include:e.contentId},r=t("core").getEntityRecords("postType","transcript",n);if(null!==r){g([r[0].title.rendered]);var c=r[0].content.rendered;c=(c=c.replace("<p>","")).replace("</p>",""),y(c)}}}));for(var E=Object(b.useSelect)((function(t){if(f.length>2){var e={per_page:10,search:f},n=t("core").getEntityRecords("postType","transcript",e);return null!==n?n:[]}return[]})),x=new Map,S=[],T=0;T<E.length;T++)x.set(v(E[T].title.rendered),E[T].id),x.set(v("".concat(E[T].title.rendered," content")),E[T].content.rendered),S[T]=v(E[T].title.rendered);var k="";return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.FormTokenField,{className:r,label:Object(_.__)("Wubtitle transcriptions","wubtitle"),value:w,suggestions:S,onChange:function(t){return function(t){if(0===t.length)n({contentId:null}),g(t);else if(S.includes(t[0])){var e=x.get(t[0]),r="".concat(t[0]," content");k=(k=(k=x.get(r)).replace("<p>","")).replace("</p>",""),g(t),n({contentId:e}),y(k)}}(t)},placeholder:Object(_.__)("Insert transcriptions","wubtitle"),onInputChange:function(t){return l(t)},maxLength:1}),Object(i.createElement)("p",{className:"helperText"},Object(_.__)("Enter the title of the video you want to transcribe","wubtitle")))};Object(P.registerBlockType)("wubtitle/transcription",{title:Object(_.__)("Trascription","wubtitle"),icon:"megaphone",description:Object(_.__)("Enter the transcript of your video","wubtitle"),category:"embed",attributes:{contentId:{type:"int"}},edit:B})}]);
     1!function(t){var e={};function n(r){if(e[r])return e[r].exports;var c=e[r]={i:r,l:!1,exports:{}};return t[r].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var c in t)n.d(r,c,function(e){return t[e]}.bind(null,c));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=19)}([function(t,e){!function(){t.exports=this.wp.element}()},function(t,e){!function(){t.exports=this.wp.i18n}()},function(t,e,n){var r=n(14),c=n(15),i=n(16),o=n(18);t.exports=function(t,e){return r(t)||c(t,e)||i(t,e)||o()}},function(t,e){!function(){t.exports=this.wp.components}()},function(t,e){!function(){t.exports=this.wp.data}()},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n},function(t,e){!function(){t.exports=this.wp.compose}()},function(t,e){!function(){t.exports=this.wp.hooks}()},function(t,e){!function(){t.exports=this.wp.blockEditor}()},function(t,e){!function(){t.exports=this.wp.apiFetch}()},function(t,e){!function(){t.exports=this.wp.plugins}()},function(t,e){!function(){t.exports=this.wp.editPost}()},function(t,e){!function(){t.exports=this.wp.domReady}()},function(t,e){!function(){t.exports=this.wp.blocks}()},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,c=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){c=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(c)throw i}}return n}}},function(t,e,n){var r=n(17);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){"use strict";n.r(e);var r=n(5),c=n.n(r),i=n(0),o=n(6),a=n(7),l=n(2),u=n.n(l),b=n(4),s=n(9),d=n.n(s),p=n(3),f=n(8),_=n(1),j={it:Object(_.__)("Italian","wubtitle"),en:Object(_.__)("English","wubtitle"),es:Object(_.__)("Spanish","wubtitle"),de:Object(_.__)("German","wubtitle"),zh:Object(_.__)("Chinese","wubtitle"),fr:Object(_.__)("French","wubtitle")},O={pending:Object(_.__)("Generating","wubtitle"),draft:Object(_.__)("Draft","wubtitle"),enabled:Object(_.__)("Enabled","wubtitle"),notfound:Object(_.__)("None","wubtitle")},m=[{value:"it",label:Object(_.__)("Italian","wubtitle")},{value:"en",label:Object(_.__)("English","wubtitle")},{value:"es",label:Object(_.__)("Spanish","wubtitle")},{value:"de",label:Object(_.__)("German","wubtitle")},{value:"zh",label:Object(_.__)("Chinese","wubtitle")},{value:"fr",label:Object(_.__)("French","wubtitle")}],w=[{value:"it",label:Object(_.__)("Italian","wubtitle"),disabled:!1},{value:"en",label:Object(_.__)("English","wubtitle"),disabled:!1},{value:"es",label:Object(_.__)("Spanish (Pro only)","wubtitle"),disabled:!0},{value:"de",label:Object(_.__)("German (Pro only)","wubtitle"),disabled:!0},{value:"zh",label:Object(_.__)("Chinese (Pro only)","wubtitle"),disabled:!0},{value:"fr",label:Object(_.__)("French (Pro only)","wubtitle"),disabled:!0}],g=function(t){var e=t.statusText,n=t.langText;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Status:","wubtitle")+" "+O[e]),Object(i.createElement)("div",null,Object(_.__)("Language:","wubtitle")+" "+j[n]))},h=function(t){var e=t.statusText,n=t.langText,r=t.isPublished,c=t.postId,o=Object(i.useState)(""),a=u()(o,2),l=a[0],s=a[1],d=Object(b.useDispatch)("core"),f=function(t){d.editEntityRecord("postType","attachment",c,{meta:{wubtitle_status:t}})};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",{style:{margin:"0"}},Object(_.__)("Status:","wubtitle")+" "+O[e]),Object(i.createElement)("p",{style:{margin:"8px 0"}},Object(_.__)("Language:","wubtitle")+" "+j[n]),Object(i.createElement)(p.ToggleControl,{label:Object(_.__)("Published","wubtitle"),checked:r,onChange:function(){var t;t="draft",!r&&(t="enabled"),f(t),d.saveEditedEntityRecord("postType","attachment",c)}}),Object(i.createElement)(p.Button,{name:"sottotitoli",id:c,isPrimary:!0,onClick:function(){s(Object(_.__)("Getting transcript…","wubtitle")),wp.ajax.send("get_transcript_internal_video",{type:"POST",data:{id:c,_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){s("Done");var e=wp.data.select("core/block-editor").getBlockIndex(wp.data.select("core/block-editor").getSelectedBlock().clientId),n=wp.blocks.createBlock("wubtitle/transcription",{contentId:t});wp.data.dispatch("core/block-editor").insertBlocks(n,e+1)})).fail((function(t){s(t)}))}},Object(_.__)("Get Transcribe","wubtitle")),Object(i.createElement)("p",null,l))},v=function(t){var e,n,r=void 0!==t.id?t.src.substring(t.src.lastIndexOf(".")+1):"mp4",c=("1"===wubtitle_button_object.isFree?["it","en"]:["it","en","es","de","zh"]).includes(wubtitle_button_object.lang)?wubtitle_button_object.lang:"en",o=Object(b.useSelect)((function(e){var n;void 0!==t.id&&(n=e("core").getEntityRecord("postType","attachment",t.id));var r="";return void 0!==n&&(r=e("core").getEditedEntityRecord("postType","attachment",t.id).meta),r}));void 0!==o&&(e=o.wubtitle_lang_video,n=o.wubtitle_status);var a=Object(b.useDispatch)("core/notices"),l=Object(b.useDispatch)("core"),s=Object(i.useState)(c),j=u()(s,2),O=j[0],v=j[1],y="pending"===n||void 0===t.id,E="enabled"===n,x="1"===wubtitle_button_object.isFree?w:m,S=function(){return n="error"===n?Object(_.__)("Error","wubtitle"):Object(_.__)("None","wubtitle"),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Status:","wubtitle")+" "+n),Object(i.createElement)(p.SelectControl,{label:Object(_.__)("Select the video language","wubtitle"),value:O,onChange:function(t){v(t)},options:x}),Object(i.createElement)(p.Button,{disabled:y,name:"sottotitoli",id:t.id,isPrimary:!0,onClick:k},Object(_.__)("GENERATE SUBTITLES","wubtitle")))},T=function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Unsupported video format for free plan","wubtitle")))};function k(){var e=t.id,n=t.src;d()({url:wubtitle_button_object.ajax_url,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"},body:"action=submitVideo&_ajax_nonce=".concat(wubtitle_button_object.ajaxnonce,"&id_attachment=").concat(e,"&src_attachment=").concat(n,"&lang=").concat(O,"&")}).then((function(e){201===e.data?(a.createNotice("success",Object(_.__)("Subtitle creation successfully started","wubtitle")),l.editEntityRecord("postType","attachment",t.id,{meta:{wubtitle_status:"pending",wubtitle_lang_video:O}})):a.createNotice("error",e.data)}))}return Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(p.PanelBody,{title:"Wubtitle"},Object(i.createElement)((function(){if("1"===wubtitle_button_object.isFree&&"mp4"!==r)return Object(i.createElement)(T,null);switch(n){case"pending":return Object(i.createElement)(g,{langText:e,statusText:n});case"draft":case"enabled":return Object(i.createElement)(h,{statusText:n,langText:e,isPublished:E,postId:t.id});default:return Object(i.createElement)(S,null)}}),{status:n,languageSaved:e})))},y=Object(o.createHigherOrderComponent)((function(t){return function(e){return"core/video"!==e.name?Object(i.createElement)(t,e):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(t,e),Object(i.createElement)(v,c()({},e.attributes,{setAttributes:e.setAttributes})))}}),"withInspectorControls");Object(a.addFilter)("editor.BlockEdit","wubtitle/with-inspector-controls",y);var E=n(10),x=n(11),S=n(12),T=function(){var t=Object(i.useState)(""),e=u()(t,2),n=e[0],r=e[1],c=Object(i.useState)(""),o=u()(c,2),a=o[0],l=o[1],b=""===a;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(x.PluginDocumentSettingPanel,{name:"transcript-panel",title:"Transcript"},Object(i.createElement)(p.TextControl,{label:"video url",id:"input",value:a,onChange:function(t){l(t)}}),Object(i.createElement)(p.Button,{name:"transcript",isPrimary:!0,onClick:function(){r(Object(_.__)("Getting transcript…","wubtitle")),wp.ajax.send("get_transcript",{type:"POST",data:{url:a,source:"youtube",from:"transcript_post_type",_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){r(Object(_.__)("Done","wubtitle"));var e=wp.blocks.createBlock("core/paragraph",{content:t});wp.data.dispatch("core/block-editor").insertBlocks(e)})).fail((function(t){r(t)}))},disabled:b},Object(_.__)("Get transcript","wubtitle")),Object(i.createElement)("p",null,n)))};n.n(S)()((function(){"transcript"===Object(b.select)("core/editor").getCurrentPostType()&&Object(E.registerPlugin)("transcript-panel",{render:T,icon:""})}));var k=function(t){var e=Object(i.useState)(""),n=u()(e,2),r=n[0],c=n[1],o=Object(i.useState)(Object(_.__)("None","wubtitle")),a=u()(o,2),l=a[0],s=a[1],d=Object(i.useState)(""),j=u()(d,2),O=j[0],m=j[1],w=Object(i.useState)(!1),g=u()(w,2),h=g[0],v=g[1],y=Object(i.useState)([]),E=u()(y,2),x=E[0],S=E[1],T=Object(i.useState)(""),k=u()(T,2),C=k[0],P=k[1],I=Object(i.useState)(!0),B=u()(I,2),F=B[0],A=B[1],G=Object(b.useDispatch)("core/notices");Object(b.useSelect)((function(e){if(void 0!==t.url){var n=e("core").getEntityRecords("postType","transcript",{metaKey:"_video_id",metaValue:t.url}),r=Object(_.__)("Created","wubtitle");n&&n.length>0&&l!==r&&s(r)}}));return Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(p.PanelBody,{title:"Wubtitle"},Object(i.createElement)("p",{style:{margin:"0",marginBottom:"20px"}},"".concat(Object(_.__)("Transcript status:","wubtitle")," ").concat(l)),t.url&&h?Object(i.createElement)(p.SelectControl,{label:Object(_.__)("Select the video language","wubtitle"),value:O,onChange:function(t){m(t),A("none"===t)},options:x}):void wp.ajax.send("get_video_info",{type:"POST",data:{url:t.url,_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){if(t.languages){c(""),v(!0);var e=t.languages.map((function(t){return{value:t.baseUrl,label:t.name.simpleText}}));e.unshift({value:"none",label:Object(_.__)("Select language","wubtitle")}),S(e),P(t.title)}else c(Object(_.__)("Subtitles not available for this video","wubtitle"))})).fail((function(t){console.log(t)})),Object(i.createElement)(p.Button,{name:"sottotitoli",id:t.id,isPrimary:!0,onClick:function(){var e=wp.data.select("core/block-editor").getBlockIndex(wp.data.select("core/block-editor").getSelectedBlock().clientId);c(Object(_.__)("Getting transcript…","ear2words")),wp.ajax.send("get_transcript_yt",{type:"POST",data:{urlVideo:t.url,urlSubtitle:O,videoTitle:C,from:"default_post_type",_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){var n=wp.blocks.createBlock("wubtitle/transcription",{contentId:t}),r=e+1;wp.data.dispatch("core/block-editor").insertBlocks(n,r),c(""),s(Object(_.__)("Created","wubtitle"))})).fail((function(t){G.createNotice("error",t),c("")}))},disabled:F},Object(_.__)("Get Transcribe","wubtitle")),Object(i.createElement)("p",null,r)))},C=Object(o.createHigherOrderComponent)((function(t){return function(e){return"core-embed/youtube"!==e.name?Object(i.createElement)(t,e):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(t,e),Object(i.createElement)(k,c()({},e.attributes,{setAttributes:e.setAttributes})))}}),"withInspectorControls");Object(a.addFilter)("editor.BlockEdit","wubtitle/with-inspector-controls",C);var P=n(13);function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=Object(i.useState)(t),r=u()(n,2),c=r[0],o=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){o(t)}),e);return function(){clearTimeout(n)}}),[t]),c}var B=function(t){var e=t.attributes,n=t.setAttributes,r=t.className,c=Object(i.useState)(""),o=u()(c,2),a=o[0],l=o[1],s=Object(i.useState)(""),d=u()(s,2),f=d[0],j=d[1],O=Object(i.useState)([]),m=u()(O,2),w=m[0],g=m[1],h=I(a,500),v=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)}))},y=function(t){var e=wp.blocks.createBlock("core/paragraph",{content:t}),n=wp.data.select("core/block-editor").getSelectedBlock().clientId;wp.data.dispatch("core/block-editor").replaceBlocks(n,e),wp.data.dispatch("core/block-editor").clearSelectedBlock()};Object(i.useEffect)((function(){j(h)}),[h]),Object(b.useSelect)((function(t){if(e.contentId&&0===w.length){var n={per_page:1,include:e.contentId},r=t("core").getEntityRecords("postType","transcript",n);if(null!==r){g([r[0].title.rendered]);var c=r[0].content.rendered;c=(c=c.replace("<p>","")).replace("</p>",""),y(c)}}}));for(var E=Object(b.useSelect)((function(t){if(f.length>2){var e={per_page:10,search:f},n=t("core").getEntityRecords("postType","transcript",e);return null!==n?n:[]}return[]})),x=new Map,S=[],T=0;T<E.length;T++)x.set(v(E[T].title.rendered),E[T].id),x.set(v("".concat(E[T].title.rendered," content")),E[T].content.rendered),S[T]=v(E[T].title.rendered);var k="";return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.FormTokenField,{className:r,label:Object(_.__)("Wubtitle transcriptions","wubtitle"),value:w,suggestions:S,onChange:function(t){return function(t){if(0===t.length)n({contentId:null}),g(t);else if(S.includes(t[0])){var e=x.get(t[0]),r="".concat(t[0]," content");k=(k=(k=x.get(r)).replace("<p>","")).replace("</p>",""),g(t),n({contentId:e}),y(k)}}(t)},placeholder:Object(_.__)("Insert transcriptions","wubtitle"),onInputChange:function(t){return l(t)},maxLength:1}),Object(i.createElement)("p",{className:"helperText"},Object(_.__)("Enter the title of the video you want to transcribe","wubtitle")))};Object(P.registerBlockType)("wubtitle/transcription",{title:Object(_.__)("Trascription","wubtitle"),icon:"megaphone",description:Object(_.__)("Enter the transcript of your video","wubtitle"),category:"embed",attributes:{contentId:{type:"int"}},edit:B})}]);
  • wubtitle/tags/1.0.4/build_form/index.asset.php

    r2354686 r2371183  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '1ddba13778b1ccfea0c3698b5b19de82');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '32e9fad34b6b754cc508a3165a7a111d');
  • wubtitle/tags/1.0.4/build_form/index.js

    r2354686 r2371183  
    1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=217)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t,n){e.exports=n(215)()},function(e,t,n){var r=n(99),a=n(100),i=n(101),o=n(103);e.exports=function(e,t){return r(e)||a(e,t)||i(e,t)||o()}},function(e,t,n){var r=n(104),a=n(61);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t,n){!function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(){}function o(){}t=t&&t.hasOwnProperty("default")?t.default:t,o.resetWarningCache=i;var c=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){e.exports=function(){function e(e,t,n,r,a,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}()})),u=function(e){return null!==e&&"object"===n(e)},s=function e(t,n){if(!u(t)||!u(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var a="[object Object]"===Object.prototype.toString.call(t);if(a!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!a&&!r)return!1;var i=Object.keys(t),o=Object.keys(n);if(i.length!==o.length)return!1;for(var c={},s=0;s<i.length;s+=1)c[i[s]]=!0;for(var l=0;l<o.length;l+=1)c[o[l]]=!0;var f=Object.keys(c);if(f.length!==i.length)return!1;var p=t,d=n;return f.every((function(t){return e(p[t],d[t])}))},l=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},f=function(e){if(null===e||u(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;var t;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},p=function(e){if(function(e){return u(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(f)};var t=f(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}},d=t.createContext(null);d.displayName="ElementsContext";var m=function(e){var n=e.stripe,r=e.options,i=e.children,o=t.useRef(!1),c=t.useRef(!0),u=t.useMemo((function(){return p(n)}),[n]),f=a(t.useState((function(){return{stripe:null,elements:null}})),2),m=f[0],h=f[1],v=l(n),b=l(r);return null!==v&&(v!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),s(r,b)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),o.current||("sync"===u.tag&&(o.current=!0,h({stripe:u.stripe,elements:u.stripe.elements(r)})),"async"===u.tag&&(o.current=!0,u.stripePromise.then((function(e){e&&c.current&&h({stripe:e,elements:e.elements(r)})})))),t.useEffect((function(){return function(){c.current=!1}}),[]),t.useEffect((function(){var e=m.stripe;e&&e._registerWrapper&&e._registerWrapper({name:"react-stripe-js",version:"1.1.2"})}),[m.stripe]),t.createElement(d.Provider,{value:m},i)};m.propTypes={stripe:c.any,options:c.object};var h=function(e){return function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(t.useContext(d),e)},v=function(e){return(0,e.children)(h("mounts <ElementsConsumer>"))};v.propTypes={children:c.func.isRequired};var b=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),function(){n.current&&n.current.apply(n,arguments)}},y=function(e){return u(e)?(e.paymentRequest,r(e,["paymentRequest"])):{}},g=function(){},_=function(e,n){var r,a="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),i=n?function(e){h("mounts <".concat(a,">"));var n=e.id,r=e.className;return t.createElement("div",{id:n,className:r})}:function(n){var r=n.id,i=n.className,o=n.options,c=void 0===o?{}:o,u=n.onBlur,l=void 0===u?g:u,f=n.onFocus,p=void 0===f?g:f,d=n.onReady,m=void 0===d?g:d,v=n.onChange,_=void 0===v?g:v,O=n.onEscape,j=void 0===O?g:O,w=n.onClick,E=void 0===w?g:w,x=h("mounts <".concat(a,">")).elements,S=t.useRef(null),F=t.useRef(null),T=b(m),A=b(l),C=b(p),P=b(E),k=b(_),N=b(j);t.useLayoutEffect((function(){if(null==S.current&&x&&null!=F.current){var t=x.create(e,c);S.current=t,t.mount(F.current),t.on("ready",(function(){return T(t)})),t.on("change",k),t.on("blur",A),t.on("focus",C),t.on("escape",N),t.on("click",P)}}));var I=t.useRef(c);return t.useEffect((function(){I.current&&I.current.paymentRequest!==c.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var e=y(c);0===Object.keys(e).length||s(e,y(I.current))||S.current&&(S.current.update(e),I.current=c)}),[c]),t.useEffect((function(){return function(){S.current&&S.current.destroy()}}),[]),t.createElement("div",{id:r,className:i,ref:F})};return i.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},i.displayName=a,i.__elementType=e,i},O="undefined"==typeof window,j=_("auBankAccount",O),w=_("card",O),E=_("cardNumber",O),x=_("cardExpiry",O),S=_("cardCvc",O),F=_("fpxBank",O),T=_("iban",O),A=_("idealBank",O),C=_("paymentRequestButton",O);e.AuBankAccountElement=j,e.CardCvcElement=S,e.CardElement=w,e.CardExpiryElement=x,e.CardNumberElement=E,e.Elements=m,e.ElementsConsumer=v,e.FpxBankElement=F,e.IbanElement=T,e.IdealBankElement=A,e.PaymentRequestButtonElement=C,e.useElements=function(){return h("calls useElements()").elements},e.useStripe=function(){return h("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(1))},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(63),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=Array.isArray,a=Object.keys,i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var c,u,s,l=r(t),f=r(n);if(l&&f){if((u=t.length)!=n.length)return!1;for(c=u;0!=c--;)if(!e(t[c],n[c]))return!1;return!0}if(l!=f)return!1;var p=t instanceof Date,d=n instanceof Date;if(p!=d)return!1;if(p&&d)return t.getTime()==n.getTime();var m=t instanceof RegExp,h=n instanceof RegExp;if(m!=h)return!1;if(m&&h)return t.toString()==n.toString();var v=a(t);if((u=v.length)!==a(n).length)return!1;for(c=u;0!=c--;)if(!i.call(n,v[c]))return!1;if(o&&t instanceof Element&&n instanceof Element)return t===n;for(c=u;0!=c--;)if(!("_owner"===(s=v[c])&&t.$$typeof||e(t[s],n[s])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},function(e,t,n){"use strict";function r(e){this._maxSize=e,this.clear()}r.prototype.clear=function(){this._size=0,this._values=Object.create(null)},r.prototype.get=function(e){return this._values[e]},r.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var a=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,c=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,u=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new r(512),l=new r(512),f=new r(512);function p(e){return s.get(e)||s.set(e,d(e).map((function(e){return e.replace(u,"$2")})))}function d(e){return e.match(a)}function m(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function h(e){return!m(e)&&(function(e){return e.match(o)&&!e.match(i)}(e)||function(e){return c.test(e)}(e))}e.exports={Cache:r,split:d,normalizePath:p,setter:function(e){var t=p(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,a=t.length;r<a-1;)e=e[t[r++]];e[t[r]]=n}))},getter:function(e,t){var n=p(e);return f.get(e)||f.set(e,(function(e){for(var r=0,a=n.length;r<a;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(m(t)||i.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,a,i,o,c=e.length;for(a=0;a<c;a++)(r=e[a])&&(h(r)&&(r='"'+r+'"'),o=m(r),i=!o&&/^\d+$/.test(r),t.call(n,r,o,i,a,e))}(Array.isArray(e)?e:d(e),t,n)}}},function(e,t,n){var r=n(15),a=n(105),i=n(106),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},function(e,t,n){var r=n(112),a=n(115);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(8).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(130);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(70),a=n(143),i=n(46);e.exports=function(e){return i(e)?r(e):a(e)}},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.apply(e)}function a(e){this.status="pending",this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function i(e){return e&&"function"==typeof e.then}function o(e){return e}if(a.prototype={then:function(e,t){var n=a.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:n,nextFn:e,catchFn:t}),n;if(t)try{var r=t(this._error);return i(r)?(this._chainPromiseData(r,n),n):a.resolve(r)._setParent(this)}catch(e){return a.reject(e)._setParent(this)}return a.reject(this._error)._setParent(this)}return this._continuations.push({promise:n,nextFn:e,catchFn:t}),this._runResolutions(),n},catch:function(e){if(this._isResolved())return a.resolve(this._data)._setParent(this);var t=a.unresolved()._setParent(this);return this._continuations.push({promise:t,catchFn:e}),this._runRejections(),t},finally:function(e){var t=!1;function n(n,r){if(!t){t=!0,e||(e=o);var a=e(n);return i(a)?a.then((function(){if(r)throw r;return n})):n}}return this.then((function(e){return n(e)})).catch((function(e){return n(null,e)}))},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce((function(e,t){if(t.promise){var n={promise:t.promise,children:t.promise._findAncestry()};e.push(n)}return e}),[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var t=this._findFirstPending();t&&(t._data=e,t._setResolved())},_findFirstPending:function(){return this._findFirstAncestor((function(e){return e._isPending&&e._isPending()}))},_findFirstPaused:function(){return this._findFirstAncestor((function(e){return e._paused}))},_findFirstAncestor:function(e){for(var t,n=this;n;)e(n)&&(t=n),n=n._parent;return t},_failWith:function(e){var t=this._findFirstPending();t&&(t._error=e,t._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var e=this._error,t=this._takeContinuations(),n=this;t.forEach((function(t){if(t.catchFn)try{var r=t.catchFn(e);n._handleUserFunctionResult(r,t.promise)}catch(e){t.promise.reject(e)}else t.promise.reject(e)}))}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var e=this._takeContinuations();if(i(this._data))return this._handleWhenResolvedDataIsPromise(this._data);var t=this._data,n=this;e.forEach((function(e){if(e.nextFn)try{var r=e.nextFn(t);n._handleUserFunctionResult(r,e.promise)}catch(t){n._handleResolutionError(t,e)}else e.promise&&e.promise.resolve(t)}))}},_handleResolutionError:function(e,t){if(this._setRejected(),t.catchFn)try{return void t.catchFn(e)}catch(t){e=t}t.promise&&t.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var t=this;return e.then((function(e){t._data=e,t._runResolutions()})).catch((function(e){t._error=e,t._setRejected(),t._runRejections()}))},_handleUserFunctionResult:function(e,t){i(e)?this._chainPromiseData(e,t):t.resolve(e)},_chainPromiseData:function(e,t){e.then((function(e){t.resolve(e)})).catch((function(e){t.reject(e)}))},_setResolved:function(){this.status="resolved",this._paused||this._runResolutions()},_setRejected:function(){this.status="rejected",this._paused||this._runRejections()},_isPending:function(){return"pending"===this.status},_isResolved:function(){return"resolved"===this.status},_isRejected:function(){return"rejected"===this.status}},a.resolve=function(e){return new a((function(t,n){i(e)?e.then((function(e){t(e)})).catch((function(e){n(e)})):t(e)}))},a.reject=function(e){return new a((function(t,n){n(e)}))},a.unresolved=function(){return new a((function(e,t){this.resolve=e,this.reject=t}))},a.all=function(){var e=r(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new a((function(t,n){var r=[],i=0,o=!1;e.forEach((function(c,u){a.resolve(c).then((function(n){r[u]=n,(i+=1)===e.length&&t(r)})).catch((function(e){!function(e){o||(o=!0,n(e))}(e)}))}))})):a.resolve([])},Promise===a)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var c=Promise;a.installGlobally=function(e){if(Promise===a)return e;var t=function(e){if(void 0===e||e.__patched)return e;var t=e;return(e=function(){t.apply(this,r(arguments))}).__patched=!0,e}(e);return Promise=a,t},a.uninstallGlobally=function(){Promise===a&&(Promise=c)},e.exports={SynchronousPromise:a}},function(e,t){function n(e,t,n,r,a,i,o){try{var c=e[i](o),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,i){var o=e.apply(t,r);function c(e){n(o,a,i,c,u,"next",e)}function u(e){n(o,a,i,c,u,"throw",e)}c(void 0)}))}}},function(e,t,n){var r=n(23);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(153),a=n(36),i=n(154),o=n(155),c=n(156),u=n(13),s=n(66),l=s(r),f=s(a),p=s(i),d=s(o),m=s(c),h=u;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||a&&"[object Map]"!=h(new a)||i&&"[object Promise]"!=h(i.resolve())||o&&"[object Set]"!=h(new o)||c&&"[object WeakMap]"!=h(new c))&&(h=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},function(e,t,n){var r=n(13),a=n(10);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(14)(Object,"create");e.exports=r},function(e,t,n){var r=n(120),a=n(121),i=n(122),o=n(123),c=n(124);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(35);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(126);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(138);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(69),a=n(29);e.exports=function(e,t,n,i){var o=!n;n||(n={});for(var c=-1,u=t.length;++c<u;){var s=t[c],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?a(n,s,l):r(n,s,l)}return n}},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){var r=n(29),a=n(84),i=n(85);e.exports=function(e,t){var n={};return t=i(t,3),a(e,(function(e,a,i){r(n,a,t(e,a,i))})),n}},function(e,t,n){var r=n(7),a=n(23),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(o.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(109),a=n(125),i=n(127),o=n(128),c=n(129);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(14)(n(8),"Map");e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(40),a=n(137),i=n(69),o=n(139),c=n(145),u=n(148),s=n(47),l=n(149),f=n(151),p=n(77),d=n(152),m=n(22),h=n(157),v=n(158),b=n(163),y=n(7),g=n(41),_=n(165),O=n(16),j=n(167),w=n(18),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,x,S,F,T){var A,C=1&n,P=2&n,k=4&n;if(x&&(A=F?x(t,S,F,T):x(t)),void 0!==A)return A;if(!O(t))return t;var N=y(t);if(N){if(A=h(t),!C)return s(t,A)}else{var I=m(t),M="[object Function]"==I||"[object GeneratorFunction]"==I;if(g(t))return u(t,C);if("[object Object]"==I||"[object Arguments]"==I||M&&!F){if(A=P||M?{}:b(t),!C)return P?f(t,c(A,t)):l(t,o(A,t))}else{if(!E[I])return F?t:{};A=v(t,I,C)}}T||(T=new r);var R=T.get(t);if(R)return R;T.set(t,A),j(t)?t.forEach((function(r){A.add(e(r,n,x,r,t,T))})):_(t)&&t.forEach((function(r,a){A.set(a,e(r,n,x,a,t,T))}));var D=k?P?d:p:P?keysIn:w,L=N?void 0:D(t);return a(L||t,(function(r,a){L&&(r=t[a=r]),i(A,a,e(r,n,x,a,t,T))})),A}},function(e,t,n){var r=n(26),a=n(132),i=n(133),o=n(134),c=n(135),u=n(136);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=c,s.prototype.set=u,e.exports=s},function(e,t,n){(function(e){var r=n(8),a=n(141),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=o&&o.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;e.exports=u}).call(this,n(42)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(63),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c}).call(this,n(42)(e))},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(65),a=n(38);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(150),a=n(74),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:a;e.exports=c},function(e,t,n){var r=n(72)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(79);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(39);e.exports=function(e,t){return r(e,5,t="function"==typeof t?t:void 0)}},function(e,t,n){var r=n(15),a=n(47),i=n(22),o=n(46),c=n(169),u=n(170),s=n(80),l=n(81),f=n(82),p=n(173),d=r?r.iterator:void 0;e.exports=function(e){if(!e)return[];if(o(e))return c(e)?f(e):a(e);if(d&&e[d])return u(e[d]());var t=i(e);return("[object Map]"==t?s:"[object Set]"==t?l:p)(e)}},function(e,t,n){var r=n(91)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},function(e,t,n){var r=n(13),a=n(49),i=n(10),o=Function.prototype,c=Object.prototype,u=o.toString,s=c.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},function(e,t,n){var r=n(39);e.exports=function(e){return r(e,4)}},function(e,t,n){var r=n(37),a=n(47),i=n(7),o=n(23),c=n(64),u=n(21),s=n(17);e.exports=function(e){return i(e)?r(e,u):o(e)?[e]:a(c(s(e)))}},function(e,t,n){"use strict";e.exports=n(209)},function(e,t,n){"use strict";var r=n(210),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function u(e){return r.isMemo(e)?o:c[e.$$typeof]||a}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=o;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=d(n);a&&a!==m&&e(t,a,r)}var o=l(n);f&&(o=o.concat(f(n)));for(var c=u(t),h=u(n),v=0;v<o.length;++v){var b=o[v];if(!(i[b]||r&&r[b]||h&&h[b]||c&&c[b])){var y=p(n,b);try{s(t,b,y)}catch(e){}}}}return t}},function(e){e.exports=JSON.parse('["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"]')},function(e,t,n){"use strict";(function(e,r){function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return Ee})),n.d(t,"b",(function(){return we}));var s=function(){},l={},f={},p={mark:s,measure:s};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(p=performance)}catch(e){}var d=(l.navigator||{}).userAgent,m=void 0===d?"":d,h=l,v=f,b=p,y=(h.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&"function"==typeof v.createElement),g=(~m.indexOf("MSIE")||m.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),_=g.concat([11,12,13,14,15,16,17,18,19,20]),O={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},j=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",O.GROUP,O.SWAP_OPACITY,O.PRIMARY,O.SECONDARY].concat(g.map((function(e){return"".concat(e,"x")}))).concat(_.map((function(e){return"w-".concat(e)}))),h.FontAwesomeConfig||{});if(v&&"function"==typeof v.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=u(e,2),n=t[0],r=t[1],a=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=v.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=a&&(j[r]=a)}))}var w=c({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},j);w.autoReplaceSvg||(w.observeMutations=!1);var E=c({},w);h.FontAwesomeConfig=E;var x=h||{};x.___FONT_AWESOME___||(x.___FONT_AWESOME___={}),x.___FONT_AWESOME___.styles||(x.___FONT_AWESOME___.styles={}),x.___FONT_AWESOME___.hooks||(x.___FONT_AWESOME___.hooks={}),x.___FONT_AWESOME___.shims||(x.___FONT_AWESOME___.shims=[]);var S=x.___FONT_AWESOME___,F=[];y&&((v.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(v.readyState)||v.addEventListener("DOMContentLoaded",(function e(){v.removeEventListener("DOMContentLoaded",e),1,F.map((function(e){return e()}))})));var T,A=function(){},C=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,P=void 0===r?setTimeout:r,k=[];function N(){for(var e=0;e<k.length;e++)k[e][0](k[e][1]);k=[],T=!1}function I(e,t){k.push([e,t]),T||(T=!0,P(N,0))}function M(e){var t=e.owner,n=t._state,r=t._data,a=e[n],i=e.then;if("function"==typeof a){n="fulfilled";try{r=a(r)}catch(e){z(i,e)}}R(i,r)||("fulfilled"===n&&D(i,r),"rejected"===n&&z(i,r))}function R(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===a(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?L(e,r):D(e,r))}),(function(t){n||(n=!0,z(e,t))})),!0}}catch(t){return n||z(e,t),!0}return!1}function D(e,t){e!==t&&R(e,t)||L(e,t)}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,I(B,e))}function z(e,t){"pending"===e._state&&(e._state="settled",e._data=t,I(U,e))}function V(e){e._then=e._then.forEach(M)}function B(e){e._state="fulfilled",V(e)}function U(t){t._state="rejected",V(t),!t._handled&&C&&e.process.emit("unhandledRejection",t._data,t)}function $(t){e.process.emit("rejectionHandled",t)}function G(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof G==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){z(t,e)}try{e((function(e){D(t,e)}),n)}catch(e){n(e)}}(e,this)}G.prototype={constructor:G,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(A),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&C&&I($,this)),"fulfilled"===this._state||"rejected"===this._state?I(M,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},G.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new G((function(t,n){var r=[],a=0;function i(e){return a++,function(n){r[e]=n,--a||t(r)}}for(var o,c=0;c<e.length;c++)(o=e[c])&&"function"==typeof o.then?o.then(i(c),n):r[c]=o;a||t(r)}))},G.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new G((function(t,n){for(var r,a=0;a<e.length;a++)(r=e[a])&&"function"==typeof r.then?r.then(t,n):t(r)}))},G.resolve=function(e){return e&&"object"===a(e)&&e.constructor===G?e:new G((function(t){t(e)}))},G.reject=function(e){return new G((function(t,n){n(e)}))};var W={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function q(e){if(e&&y){var t=v.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=v.head.childNodes,r=null,a=n.length-1;a>-1;a--){var i=n[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return v.head.insertBefore(t,r),e}}function H(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Y(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function K(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Z(e){return e.size!==W.size||e.x!==W.x||e.y!==W.y||e.rotate!==W.rotate||e.flipX||e.flipY}function J(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(i," ").concat(o," ").concat(c)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var X={x:0,y:0,width:"100%",height:"100%"};function Q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ee(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,i=e.iconName,o=e.transform,u=e.symbol,s=e.title,l=e.maskId,f=e.titleId,p=e.extra,d=e.watchable,m=void 0!==d&&d,h=r.found?r:n,v=h.width,b=h.height,y="fa-w-".concat(Math.ceil(v/b*16)),g=[E.replacementClass,i?"".concat(E.familyPrefix,"-").concat(i):"",y].filter((function(e){return-1===p.classes.indexOf(e)})).concat(p.classes).join(" "),_={children:[],attributes:c({},p.attributes,{"data-prefix":a,"data-icon":i,class:g,role:p.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(b)})};m&&(_.attributes["data-fa-i2svg"]=""),s&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||H())},children:[s]});var O=c({},_,{prefix:a,iconName:i,main:n,mask:r,maskId:l,transform:o,symbol:u,styles:p.styles}),j=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,a=e.main,i=e.mask,o=e.maskId,u=e.transform,s=a.width,l=a.icon,f=i.width,p=i.icon,d=J({transform:u,containerWidth:f,iconWidth:s}),m={tag:"rect",attributes:c({},X,{fill:"white"})},h=l.children?{children:l.children.map(Q)}:{},v={tag:"g",attributes:c({},d.inner),children:[Q(c({tag:l.tag,attributes:c({},l.attributes,d.path)},h))]},b={tag:"g",attributes:c({},d.outer),children:[v]},y="mask-".concat(o||H()),g="clip-".concat(o||H()),_={tag:"mask",attributes:c({},X,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,b]},O={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(t=p,"g"===t.tag?t.children:[t])},_]};return n.push(O,{tag:"rect",attributes:c({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(y,")")},X)}),{children:n,attributes:r}}(O):function(e){var t=e.children,n=e.attributes,r=e.main,a=e.transform,i=K(e.styles);if(i.length>0&&(n.style=i),Z(a)){var o=J({transform:a,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:c({},o.outer),children:[{tag:"g",attributes:c({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:c({},r.icon.attributes,o.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(O),w=j.children,x=j.attributes;return O.children=w,O.attributes=x,u?function(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:c({},a,{id:!0===i?"".concat(t,"-").concat(E.familyPrefix,"-").concat(n):i}),children:r}]}]}(O):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,i=e.styles,o=e.transform;if(Z(o)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};a.style=K(c({},i,{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(O)}var te=function(){},ne=(E.measurePerformance&&b&&b.mark&&b.measure,function(e,t,n,r){var a,i,o,c=Object.keys(e),u=c.length,s=void 0!==r?function(e,t){return function(n,r,a,i){return e.call(t,n,r,a,i)}}(t,r):t;for(void 0===n?(a=1,o=e[c[0]]):(a=0,o=n);a<u;a++)o=s(o,e[i=c[a]],i,e);return o});function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,i=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof S.hooks.addPack||a?S.styles[e]=c({},S.styles[e]||{},i):S.hooks.addPack(e,i),"fas"===e&&re("fa",t)}var ae=S.styles,ie=S.shims,oe=function(){var e=function(e){return ne(ae,(function(t,n,r){return t[r]=ne(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in ae;ne(ie,(function(e,n){var r=n[0],a=n[1],i=n[2];return"far"!==a||t||(a="fas"),e[r]={prefix:a,iconName:i},e}),{})};oe();S.styles;function ce(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ue(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,i=void 0===a?[]:a;return"string"==typeof e?Y(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Y(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(ue).join(""),"</").concat(t,">")}var se=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e}),t):t};function le(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}le.prototype=Object.create(Error.prototype),le.prototype.constructor=le;var fe={fill:"currentColor"},pe={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},de={tag:"path",attributes:c({},fe,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},me=c({},pe,{attributeName:"opacity"});c({},fe,{cx:"256",cy:"364",r:"28"}),c({},pe,{attributeName:"r",values:"28;14;28;28;14;28;"}),c({},me,{values:"1;0;1;1;0;1;"}),c({},fe,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),c({},me,{values:"1;0;0;0;0;1;"}),c({},fe,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),c({},me,{values:"0;0;1;1;0;0;"}),S.styles;function he(e){var t=e[0],n=e[1],r=u(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.GROUP)},children:[{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}S.styles;function ve(){var e="svg-inline--fa",t=E.familyPrefix,n=E.replacementClass,r='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if("fa"!==t||n!==e){var a=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(e),"g");r=r.replace(a,".".concat(t,"-")).replace(i,"--".concat(t,"-")).replace(o,".".concat(n))}return r}function be(){E.autoAddCss&&!je&&(q(ve()),je=!0)}function ye(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return ue(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(y){var t=v.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ge(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return ce(Oe.definitions,n,r)||ce(S.styles,n,r)}var _e,Oe=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach((function(t){e.definitions[t]=c({},e.definitions[t]||{},a[t]),re(t,a[t]),oe()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],a=r.prefix,i=r.iconName,o=r.icon;e[a]||(e[a]={}),e[a][i]=o})),e}}])&&i(t.prototype,n),r&&i(t,r),e}()),je=!1,we={transform:function(e){return se(e)}},Ee=(_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?W:n,a=t.symbol,i=void 0!==a&&a,o=t.mask,u=void 0===o?null:o,s=t.maskId,l=void 0===s?null:s,f=t.title,p=void 0===f?null:f,d=t.titleId,m=void 0===d?null:d,h=t.classes,v=void 0===h?[]:h,b=t.attributes,y=void 0===b?{}:b,g=t.styles,_=void 0===g?{}:g;if(e){var O=e.prefix,j=e.iconName,w=e.icon;return ye(c({type:"icon"},e),(function(){return be(),E.autoA11y&&(p?y["aria-labelledby"]="".concat(E.replacementClass,"-title-").concat(m||H()):(y["aria-hidden"]="true",y.focusable="false")),ee({icons:{main:he(w),mask:u?he(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:O,iconName:j,transform:c({},W,r),symbol:i,title:p,maskId:l,titleId:m,extra:{attributes:y,styles:_,classes:v}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ge(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:ge(r||{})),_e(n,c({},t,{mask:r}))})}).call(this,n(24),n(212).setImmediate)},function(e,t,n){var r=n(62),a=n(67),i=n(7),o=n(68),c=n(38),u=n(21);e.exports=function(e,t,n){for(var s=-1,l=(t=r(t,e)).length,f=!1;++s<l;){var p=u(t[s]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++s!=l?f:!!(l=null==e?0:e.length)&&c(l)&&o(p,l)&&(i(e)||a(e))}},function(e,t,n){var r=n(7),a=n(33),i=n(64),o=n(17);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:i(o(e))}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(24))},function(e,t,n){var r=n(107),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(i,"$1"):n||e)})),t}));e.exports=o},function(e,t,n){var r=n(13),a=n(16);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(131),a=n(10),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(29),a=n(35),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];i.call(e,t)&&a(o,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(140),a=n(67),i=n(7),o=n(41),c=n(68),u=n(71),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&a(e),f=!n&&!l&&o(e),p=!n&&!l&&!f&&u(e),d=n||l||f||p,m=d?r(e.length,String):[],h=m.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||m.push(v);return m}},function(e,t,n){var r=n(142),a=n(43),i=n(44),o=i&&i.isTypedArray,c=o?a(o):r;e.exports=c},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(70),a=n(146),i=n(46);e.exports=function(e){return i(e)?r(e,!0):a(e)}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(76),a=n(49),i=n(48),o=n(74),c=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=a(e);return t}:o;e.exports=c},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t,n){var r=n(78),a=n(48),i=n(18);e.exports=function(e){return r(e,i,a)}},function(e,t,n){var r=n(76),a=n(7);e.exports=function(e,t,n){var i=t(e);return a(e)?i:r(i,n(e))}},function(e,t,n){var r=n(8).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(171),a=n(83),i=n(172);e.exports=function(e){return a(e)?i(e):r(e)}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){var r=n(175),a=n(18);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(177),a=n(188),i=n(192),o=n(7),c=n(193);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?o(e)?a(e[0],e[1]):r(e):c(e)}},function(e,t,n){var r=n(179),a=n(10);e.exports=function e(t,n,i,o,c){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,i,o,e,c))}},function(e,t,n){var r=n(180),a=n(183),i=n(184);e.exports=function(e,t,n,o,c,u){var s=1&n,l=e.length,f=t.length;if(l!=f&&!(s&&f>l))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d<l;){var v=e[d],b=t[d];if(o)var y=s?o(b,v,d,t,e,u):o(v,b,d,e,t,u);if(void 0!==y){if(y)continue;m=!1;break}if(h){if(!a(t,(function(e,t){if(!i(h,t)&&(v===e||c(v,e,n,o,u)))return h.push(t)}))){m=!1;break}}else if(v!==b&&!c(v,b,n,o,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},function(e,t,n){var r=n(16);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(62),a=n(21);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[a(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(196),a=n(197),i=n(200),o=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(a(t).replace(o,"")),e,"")}}},function(e,t,n){var r=n(204),a=n(91)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=a},function(e,t,n){var r=n(29),a=n(84),i=n(85);e.exports=function(e,t){var n={};return t=i(t,3),a(e,(function(e,a,i){r(n,t(e,a,i),e)})),n}},function(e,t){function n(e,t){var n=e.length,r=new Array(n),a={},i=n,o=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var a=e[n];t.has(a[0])||t.set(a[0],new Set),t.has(a[1])||t.set(a[1],new Set),t.get(a[0]).add(a[1])}return t}(t),c=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!c.has(e[0])||!c.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)a[i]||u(e[i],i,new Set);return r;function u(e,t,i){if(i.has(e)){var s;try{s=", node was:"+JSON.stringify(e)}catch(e){s=""}throw new Error("Cyclic dependency"+s)}if(!c.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!a[t]){a[t]=!0;var l=o.get(e)||new Set;if(t=(l=Array.from(l)).length){i.add(e);do{var f=l[--t];u(f,c.get(f),i)}while(t);i.delete(e)}r[--n]=e}}}e.exports=function(e){return n(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var a=e[n];t.add(a[0]),t.add(a[1])}return Array.from(t)}(e),e)},e.exports.array=n},function(e,t,n){var r=n(39);e.exports=function(e){return r(e,5)}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e){e.exports=JSON.parse('{"AF":"Afghanistan","AX":"Aland Islands","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua And Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BA":"Bosnia And Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CV":"Cape Verde","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":"China","CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":"Congo","CD":"Congo, Democratic Republic","CK":"Cook Islands","CR":"Costa Rica","CI":"Cote D\\"Ivoire","HR":"Croatia","CU":"Cuba","CY":"Cyprus","CZ":"Czech Republic","DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands (Malvinas)","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":"Gambia","GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GG":"Guernsey","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island & Mcdonald Islands","VA":"Holy See (Vatican City State)","HN":"Honduras","HK":"Hong Kong","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":"Iran, Islamic Republic Of","IQ":"Iraq","IE":"Ireland","IM":"Isle Of Man","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JE":"Jersey","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KR":"Korea","KW":"Kuwait","KG":"Kyrgyzstan","LA":"Lao People\\"s Democratic Republic","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libyan Arab Jamahiriya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao","MK":"Macedonia","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia, Federated States Of","MD":"Moldova","MC":"Monaco","MN":"Mongolia","ME":"Montenegro","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":"Netherlands","AN":"Netherlands Antilles","NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":"Palestinian Territory, Occupied","PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":"Pitcairn","PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Reunion","RO":"Romania","RU":"Russian Federation","RW":"Rwanda","BL":"Saint Barthelemy","SH":"Saint Helena","KN":"Saint Kitts And Nevis","LC":"Saint Lucia","MF":"Saint Martin","PM":"Saint Pierre And Miquelon","VC":"Saint Vincent And Grenadines","WS":"Samoa","SM":"San Marino","ST":"Sao Tome And Principe","SA":"Saudi Arabia","SN":"Senegal","RS":"Serbia","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia And Sandwich Isl.","ES":"Spain","LK":"Sri Lanka","SD":"Sudan","SR":"Suriname","SJ":"Svalbard And Jan Mayen","SZ":"Swaziland","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","TW":"Taiwan","TJ":"Tajikistan","TZ":"Tanzania","TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad And Tobago","TN":"Tunisia","TR":"Turkey","TM":"Turkmenistan","TC":"Turks And Caicos Islands","TV":"Tuvalu","UG":"Uganda","UA":"Ukraine","AE":"United Arab Emirates","GB":"United Kingdom","US":"United States","UM":"United States Outlying Islands","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","WF":"Wallis And Futuna","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe"}')},function(e){e.exports=JSON.parse('{"AG":"Agrigento","AL":"Alessandria","AN":"Ancona","AR":"Arezzo","AP":"Ascoli Piceno","AT":"Asti","AV":"Avellino","BA":"Bari","BT":"Barletta-Andria-Trani","BL":"Belluno","BN":"Benevento","BG":"Bergamo","BI":"Biella","BO":"Bologna","BZ":"Bolzano/Bozen","BS":"Brescia","BR":"Brindisi","CA":"Cagliari","CL":"Caltanissetta","CB":"Campobasso","CI":"Carbonia-Iglesias","CE":"Caserta","CT":"Catania","CZ":"Catanzaro","CH":"Chieti","CO":"Como","CS":"Cosenza","CR":"Cremona","KR":"Crotone","CN":"Cuneo","EN":"Enna","FM":"Fermo","FE":"Ferrara","FI":"Firenze","FG":"Foggia","FC":"Forlì-Cesena","FR":"Frosinone","GE":"Genova","GO":"Gorizia","GR":"Grosseto","IM":"Imperia","IS":"Isernia","AQ":"L\'Aquila","SP":"La Spezia","LT":"Latina","LE":"Lecce","LC":"Lecco","LI":"Livorno","LO":"Lodi","LU":"Lucca","MC":"Macerata","MN":"Mantova","MS":"Massa-Carrara","MT":"Matera","VS":"Medio Campidano","ME":"Messina","MI":"Milano","MO":"Modena","MB":"Monza e della Brianza","NA":"Napoli","NO":"Novara","NU":"Nuoro","OG":"Ogliastra","OT":"Olbia-Tempio","OR":"Oristano","PD":"Padova","PA":"Palermo","PR":"Parma","PV":"Pavia","PG":"Perugia","PU":"Pesaro e Urbino","PE":"Pescara","PC":"Piacenza","PI":"Pisa","PT":"Pistoia","PN":"Pordenone","PZ":"Potenza","PO":"Prato","RG":"Ragusa","RA":"Ravenna","RC":"Reggio di Calabria","RE":"Reggio nell\'Emilia","RI":"Rieti","RN":"Rimini","RM":"Roma","RO":"Rovigo","SA":"Salerno","SS":"Sassari","SV":"Savona","SI":"Siena","SR":"Siracusa","SO":"Sondrio","TA":"Taranto","TE":"Teramo","TR":"Terni","TO":"Torino","TP":"Trapani","TN":"Trento","TV":"Treviso","TS":"Trieste","UD":"Udine","AO":"Valle d\'Aosta","VA":"Varese","VE":"Venezia","VB":"Verbano-Cusio-Ossola","VC":"Vercelli","VR":"Verona","VV":"Vibo Valentia","VI":"Vicenza","VT":"Viterbo"}')},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){var r=n(15),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[c]=n:delete e[c]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(108);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(34);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},function(e,t,n){var r=n(110),a=n(26),i=n(36);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||a),string:new r}}},function(e,t,n){var r=n(111),a=n(116),i=n(117),o=n(118),c=n(119);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(25);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(65),a=n(113),i=n(16),o=n(66),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,l=u.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||a(e))&&(r(e)?p:c).test(o(e))}},function(e,t,n){var r,a=n(114),i=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(8)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(25),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(25),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},function(e,t,n){var r=n(25);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(27),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(27);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(27);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(27);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(28);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(28);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(28);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(28);e.exports=function(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},function(e,t,n){var r=n(15),a=n(37),i=n(7),o=n(23),c=r?r.prototype:void 0,u=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return a(t,e)+"";if(o(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(13),a=n(10);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(26);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(26),a=n(36),i=n(34);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!a||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(14),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},function(e,t,n){var r=n(30),a=n(18);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(13),a=n(38),i=n(10),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&a(e.length)&&!!o[r(e)]}},function(e,t,n){var r=n(45),a=n(144),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(72)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(30),a=n(73);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t,n){var r=n(16),a=n(45),i=n(147),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=a(e),n=[];for(var c in e)("constructor"!=c||!t&&o.call(e,c))&&n.push(c);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(8),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a?r.Buffer:void 0,c=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(42)(e))},function(e,t,n){var r=n(30),a=n(48);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}},function(e,t,n){var r=n(30),a=n(75);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t,n){var r=n(78),a=n(75),i=n(73);e.exports=function(e){return r(e,i,a)}},function(e,t,n){var r=n(14)(n(8),"DataView");e.exports=r},function(e,t,n){var r=n(14)(n(8),"Promise");e.exports=r},function(e,t,n){var r=n(14)(n(8),"Set");e.exports=r},function(e,t,n){var r=n(14)(n(8),"WeakMap");e.exports=r},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(50),a=n(159),i=n(160),o=n(161),c=n(162);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return a(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Set]":return new u;case"[object Symbol]":return o(e)}}},function(e,t,n){var r=n(50);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(15),a=r?r.prototype:void 0,i=a?a.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(50);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(164),a=n(49),i=n(45);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(a(e))}},function(e,t,n){var r=n(16),a=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(a)return a(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(166),a=n(43),i=n(44),o=i&&i.isMap,c=o?a(o):r;e.exports=c},function(e,t,n){var r=n(22),a=n(10);e.exports=function(e){return a(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(168),a=n(43),i=n(44),o=i&&i.isSet,c=o?a(o):r;e.exports=c},function(e,t,n){var r=n(22),a=n(10);e.exports=function(e){return a(e)&&"[object Set]"==r(e)}},function(e,t,n){var r=n(13),a=n(7),i=n(10);e.exports=function(e){return"string"==typeof e||!a(e)&&i(e)&&"[object String]"==r(e)}},function(e,t){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",a="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+a+")"+"?",s="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,o,c].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),l="(?:"+[i+r+"?",r,o,c,n].join("|")+")",f=RegExp(a+"(?="+a+")|"+l+s,"g");e.exports=function(e){return e.match(f)||[]}},function(e,t,n){var r=n(174),a=n(18);e.exports=function(e){return null==e?[]:r(e,a(e))}},function(e,t,n){var r=n(37);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t,n){var r=n(176)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,i=Object(t),o=r(t),c=o.length;c--;){var u=o[e?c:++a];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(178),a=n(187),i=n(89);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(40),a=n(86);e.exports=function(e,t,n,i){var o=n.length,c=o,u=!i;if(null==e)return!c;for(e=Object(e);o--;){var s=n[o];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<c;){var l=(s=n[o])[0],f=e[l],p=s[1];if(u&&s[2]){if(void 0===f&&!(l in e))return!1}else{var d=new r;if(i)var m=i(f,p,l,e,t,d);if(!(void 0===m?a(p,f,3,i,d):m))return!1}}return!0}},function(e,t,n){var r=n(40),a=n(87),i=n(185),o=n(186),c=n(22),u=n(7),s=n(41),l=n(71),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var v=u(e),b=u(t),y=v?"[object Array]":c(e),g=b?"[object Array]":c(t),_=(y="[object Arguments]"==y?f:y)==f,O=(g="[object Arguments]"==g?f:g)==f,j=y==g;if(j&&s(e)){if(!s(t))return!1;v=!0,_=!1}if(j&&!_)return h||(h=new r),v||l(e)?a(e,t,n,d,m,h):i(e,t,y,n,d,m,h);if(!(1&n)){var w=_&&p.call(e,"__wrapped__"),E=O&&p.call(t,"__wrapped__");if(w||E){var x=w?e.value():e,S=E?t.value():t;return h||(h=new r),m(x,S,n,d,h)}}return!!j&&(h||(h=new r),o(e,t,n,d,m,h))}},function(e,t,n){var r=n(34),a=n(181),i=n(182);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=a,o.prototype.has=i,e.exports=o},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(15),a=n(79),i=n(35),o=n(87),c=n(80),u=n(81),s=r?r.prototype:void 0,l=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new a(e),new a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=c;case"[object Set]":var m=1&r;if(d||(d=u),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var v=o(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,n){var r=n(77),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,c){var u=1&n,s=r(e),l=s.length;if(l!=r(t).length&&!u)return!1;for(var f=l;f--;){var p=s[f];if(!(u?p in t:a.call(t,p)))return!1}var d=c.get(e);if(d&&c.get(t))return d==t;var m=!0;c.set(e,t),c.set(t,e);for(var h=u;++f<l;){var v=e[p=s[f]],b=t[p];if(i)var y=u?i(b,v,p,t,e,c):i(v,b,p,e,t,c);if(!(void 0===y?v===b||o(v,b,n,i,c):y)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var g=e.constructor,_=t.constructor;g==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof _&&_ instanceof _||(m=!1)}return c.delete(e),c.delete(t),m}},function(e,t,n){var r=n(88),a=n(18);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var i=t[n],o=e[i];t[n]=[i,o,r(o)]}return t}},function(e,t,n){var r=n(86),a=n(189),i=n(190),o=n(33),c=n(88),u=n(89),s=n(21);e.exports=function(e,t){return o(e)&&c(t)?u(s(e),t):function(n){var o=a(n,e);return void 0===o&&o===t?i(n,e):r(t,o,3)}}},function(e,t,n){var r=n(90);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},function(e,t,n){var r=n(191),a=n(61);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(194),a=n(195),i=n(33),o=n(21);e.exports=function(e){return i(e)?r(o(e)):a(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(90);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e,t,n,r){var a=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++a]);++a<i;)n=t(n,e[a],a,e);return n}},function(e,t,n){var r=n(198),a=n(17),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=a(e))&&e.replace(i,r).replace(o,"")}},function(e,t,n){var r=n(199)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(201),a=n(202),i=n(17),o=n(203);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?a(e)?o(e):r(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",a="\\d+",i="[\\u2700-\\u27bf]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]",c="[^\\ud800-\\udfff"+n+a+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+o+"|"+c+")",p="(?:"+l+"|"+c+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",m="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,s].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),h="(?:"+[i,u,s].join("|")+")"+m,v=RegExp([l+"?"+o+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,l,"$"].join("|")+")",p+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,h].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},function(e,t,n){var r=n(17),a=n(205);e.exports=function(e){return a(r(e).toLowerCase())}},function(e,t,n){var r=n(206)("toUpperCase");e.exports=r},function(e,t,n){var r=n(207),a=n(83),i=n(82),o=n(17);e.exports=function(e){return function(t){t=o(t);var n=a(t)?i(t):void 0,c=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return c[e]()+u}}},function(e,t,n){var r=n(208);e.exports=function(e,t,n){var a=e.length;return n=void 0===n?a:n,!t&&n>=a?e:r(e,t,n)}},function(e,t){e.exports=function(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(a);++r<a;)i[r]=e[r+t];return i}},function(e,t,n){"use strict";var r,a,i,o,c;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,l=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(l,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(l,0))},a=function(e,t){s=setTimeout(e,t)},i=function(){clearTimeout(s)},o=function(){return!1},c=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var b=d.now();t.unstable_now=function(){return d.now()-b}}var y=!1,g=null,_=-1,O=5,j=0;o=function(){return t.unstable_now()>=j},c=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):O=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();j=e+O;try{g(!0,e)?E.postMessage(null):(y=!1,g=null)}catch(e){throw E.postMessage(null),e}}else y=!1},r=function(e){g=e,y||(y=!0,E.postMessage(null))},a=function(e,n){_=m((function(){e(t.unstable_now())}),n)},i=function(){h(_),_=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),a=e[r];if(!(void 0!==a&&0<T(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function F(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var i=2*(r+1)-1,o=e[i],c=i+1,u=e[c];if(void 0!==o&&0>T(o,n))void 0!==u&&0>T(u,o)?(e[r]=u,e[c]=n,r=c):(e[r]=o,e[i]=n,r=i);else{if(!(void 0!==u&&0>T(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],C=[],P=1,k=null,N=3,I=!1,M=!1,R=!1;function D(e){for(var t=S(C);null!==t;){if(null===t.callback)F(C);else{if(!(t.startTime<=e))break;F(C),t.sortIndex=t.expirationTime,x(A,t)}t=S(C)}}function L(e){if(R=!1,D(e),!M)if(null!==S(A))M=!0,r(z);else{var t=S(C);null!==t&&a(L,t.startTime-e)}}function z(e,n){M=!1,R&&(R=!1,i()),I=!0;var r=N;try{for(D(n),k=S(A);null!==k&&(!(k.expirationTime>n)||e&&!o());){var c=k.callback;if(null!==c){k.callback=null,N=k.priorityLevel;var u=c(k.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?k.callback=u:k===S(A)&&F(A),D(n)}else F(A);k=S(A)}if(null!==k)var s=!0;else{var l=S(C);null!==l&&a(L,l.startTime-n),s=!1}return s}finally{k=null,N=r,I=!1}}function V(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=c;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_scheduleCallback=function(e,n,o){var c=t.unstable_now();if("object"==typeof o&&null!==o){var u=o.delay;u="number"==typeof u&&0<u?c+u:c,o="number"==typeof o.timeout?o.timeout:V(e)}else o=V(e),u=c;return e={id:P++,callback:n,priorityLevel:e,startTime:u,expirationTime:o=u+o,sortIndex:-1},u>c?(e.sortIndex=u,x(C,e),null===S(A)&&e===S(C)&&(R?i():R=!0,a(L,u-c))):(e.sortIndex=o,x(A,e),M||I||(M=!0,r(z))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=S(A);return n!==k&&null!==k&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<k.expirationTime||o()},t.unstable_requestPaint=B,t.unstable_continueExecution=function(){M||I||(M=!0,r(z))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return S(A)},t.unstable_Profiling=null},function(e,t,n){"use strict";e.exports=n(211)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case f:case p:case o:case u:case c:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case b:case v:case s:return e;default:return t}}case i:return t}}}function w(e){return j(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=a,t.ForwardRef=d,t.Fragment=o,t.Lazy=b,t.Memo=v,t.Portal=i,t.Profiler=u,t.StrictMode=c,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||j(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return j(e)===l},t.isContextProvider=function(e){return j(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return j(e)===d},t.isFragment=function(e){return j(e)===o},t.isLazy=function(e){return j(e)===b},t.isMemo=function(e){return j(e)===v},t.isPortal=function(e){return j(e)===i},t.isProfiler=function(e){return j(e)===u},t.isStrictMode=function(e){return j(e)===c},t.isSuspense=function(e){return j(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===u||e===c||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===_||e.$$typeof===O||e.$$typeof===y)},t.typeOf=j},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,a=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(a.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(a.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(213),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(24))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,a,i,o,c,u=1,s={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){m(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){m(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(a=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){m(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):r=function(e){setTimeout(m,0,e)}:(o="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&m(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),r=function(t){e.postMessage(o+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return s[u]=a,r(u),u++},p.clearImmediate=d}function d(e){delete s[e]}function m(e){if(l)setTimeout(m,0,e);else{var t=s[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{d(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(24),n(214))},function(e,t){var n,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,s=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function h(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new m(e,t)),1!==s.length||l||c(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(216);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t);var r=n(4),a=n.n(r),i=n(0),o=n(1),c=n.n(o),u=n(31),s=n.n(u),l=n(9),f=n.n(l),p=n(20),d=n.n(p);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var v=n(5),b=n.n(v),y=n(51),g=n.n(y),_=n(52),O=n.n(_),j=Object.prototype.toString,w=Error.prototype.toString,E=RegExp.prototype.toString,x="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},S=/^Symbol\((.*)\)(.*)$/;function F(e,t){if(void 0===t&&(t=!1),null==e||!0===e||!1===e)return""+e;var n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?'"'+e+'"':e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return x.call(e).replace(S,"Symbol($1)");var r=j.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+w.call(e)+"]":"RegExp"===r?E.call(e):null}function T(e,t){var n=F(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=F(this[e],t);return null!==r?r:n}),2)}var A={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,n=e.type,r=e.value,a=e.originalValue,i=null!=a&&a!==r,o=t+" must be a `"+n+"` type, but the final value was: `"+T(r,!0)+"`"+(i?" (cast from the value `"+T(a,!0)+"`).":".");return null===r&&(o+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),o},defined:"${path} must be defined"},C={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},P={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",notEqual:"${path} must be not equal to ${notEqual}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},k={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},N={noUnknown:"${path} field has unspecified keys: ${unknown}"},I={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items"},M=function(e){return e&&e.__isYupSchema__},R=function(){function e(e,t){if(this.refs=e,"function"!=typeof t){if(!b()(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var n=t.is,r=t.then,a=t.otherwise,i="function"==typeof n?n:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every((function(e){return e===n}))};this.fn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.pop(),c=t.pop(),u=i.apply(void 0,t)?r:a;if(u)return"function"==typeof u?u(c):c.concat(u.resolve(o))}}else this.fn=t}return e.prototype.resolve=function(e,t){var n=this.refs.map((function(e){return e.getValue(t)})),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!M(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)},e}();function D(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var L=n(19),z=/\$\{\s*(\w+)\s*\}/g,V=function(e){return function(t){return e.replace(z,(function(e,n){return T(t[n])}))}};function B(e,t,n,r){var a=this;this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],e&&[].concat(e).forEach((function(e){a.errors=a.errors.concat(e.errors||e),e.inner&&(a.inner=a.inner.concat(e.inner.length?e.inner:e))})),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,B)}B.prototype=Object.create(Error.prototype),B.prototype.constructor=B,B.isError=function(e){return e&&"ValidationError"===e.name},B.formatError=function(e,t){"string"==typeof e&&(e=V(e));var n=function(t){return t.path=t.label||t.path||"this","function"==typeof e?e(t):e};return 1===arguments.length?n:n(t)};var U=function(e){return e?L.SynchronousPromise:Promise};function $(e,t){return e?null:function(e){return t.push(e),e.value}}function G(e){var t=e.validations,n=e.value,r=e.path,a=e.sync,i=e.errors,o=e.sort;return i=function(e){return void 0===e&&(e=[]),e.inner&&e.inner.length?e.inner:[].concat(e)}(i),function(e,t){var n=U(t);return n.all(e.map((function(e){return n.resolve(e).then((function(e){return{fulfilled:!0,value:e}}),(function(e){return{fulfilled:!1,value:e}}))})))}(t,a).then((function(e){var t=e.filter((function(e){return!e.fulfilled})).reduce((function(e,t){var n=t.value;if(!B.isError(n))throw n;return e.concat(n)}),[]);if(o&&t.sort(o),(i=t.concat(i)).length)throw new B(i,n,r);return n}))}function W(e){var t,n,r,a=e.endEarly,i=D(e,["endEarly"]);return a?(t=i.validations,n=i.value,r=i.sync,U(r).all(t).catch((function(e){throw"ValidationError"===e.name&&(e.value=n),e})).then((function(){return n}))):G(i)}var q=function(e){return"[object Object]"===Object.prototype.toString.call(e)};var H=n(32),Y=n.n(H),K=n(12),Z="$",J=".",X=function(){function e(e,t){if(void 0===t&&(t={}),"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Z,this.isValue=this.key[0]===J,this.isSibling=!this.isContext&&!this.isValue;var n=this.isContext?Z:this.isValue?J:"";this.path=this.key.slice(n.length),this.getter=this.path&&Object(K.getter)(this.path,!0),this.map=t.map}var t=e.prototype;return t.getValue=function(e){var t=this.isContext?e.context:this.isValue?e.value:e.parent;return this.getter&&(t=this.getter(t||{})),this.map&&(t=this.map(t)),t},t.cast=function(e,t){return this.getValue(m({},t,{value:e}))},t.resolve=function(){return this},t.describe=function(){return{type:"ref",key:this.key}},t.toString=function(){return"Ref("+this.key+")"},e.isRef=function(e){return e&&e.__isYupRef},e}();X.prototype.__isYupRef=!0;var Q=B.formatError;function ee(e){var t=e.value,n=e.label,r=e.resolve,a=e.originalValue,i=D(e,["value","label","resolve","originalValue"]);return function(e){var o=void 0===e?{}:e,c=o.path,u=void 0===c?i.path:c,s=o.message,l=void 0===s?i.message:s,f=o.type,p=void 0===f?i.name:f,d=o.params;return d=m({path:u,value:t,originalValue:a,label:n},function(e,t,n){return Y()(m({},e,t),n)}(i.params,d,r)),m(new B(Q(l,d),t,u,p),{params:d})}}function te(e){var t=e.name,n=e.message,r=e.test,a=e.params;function i(e){var i=e.value,o=e.path,c=e.label,u=e.options,s=e.originalValue,l=e.sync,f=D(e,["value","path","label","options","originalValue","sync"]),p=u.parent,d=function(e){return X.isRef(e)?e.getValue({value:i,parent:p,context:u.context}):e},h=ee({message:n,path:o,value:i,originalValue:s,params:a,label:c,resolve:d,name:t}),v=m({path:o,parent:p,type:t,createError:h,resolve:d,options:u},f);return function(e,t,n,r){var a,i=e.call(t,n);if(!r)return Promise.resolve(i);if((a=i)&&"function"==typeof a.then&&"function"==typeof a.catch)throw new Error('Validation test of type: "'+t.type+'" returned a Promise during a synchronous validate. This test will finish after the validate call has returned');return L.SynchronousPromise.resolve(i)}(r,v,i,l).then((function(e){if(B.isError(e))throw e;if(!e)throw h()}))}return i.OPTIONS=e,i}function ne(e,t,n,r){var a,i,o;return void 0===r&&(r=n),t?(Object(K.forEach)(t,(function(c,u,s){var l=u?function(e){return e.substr(0,e.length-1).substr(1)}(c):c;if((e=e.resolve({context:r,parent:a,value:n})).innerType){var f=s?parseInt(l,10):0;if(n&&f>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: "+c+", in the path: "+t+". because there is no value at that index. ");a=n,n=n&&n[f],e=e.innerType}if(!s){if(!e.fields||!e.fields[l])throw new Error("The schema does not contain the path: "+t+". (failed at: "+o+' which is a type: "'+e._type+'")');a=n,n=n&&n[l],e=e.fields[l]}i=l,o=u?"["+c+"]":"."+c})),{schema:e,parent:a,parentPath:i}):{parent:a,parentPath:t,schema:e}}function re(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ie=function(){function e(){this.list=new Set,this.refs=new Map}var t,n,r,a=e.prototype;return a.describe=function(){for(var e,t=[],n=re(this.list);!(e=n()).done;){var r=e.value;t.push(r)}for(var a,i=re(this.refs);!(a=i()).done;){var o=a.value[1];t.push(o.describe())}return t},a.toArray=function(){return O()(this.list).concat(O()(this.refs.values()))},a.add=function(e){X.isRef(e)?this.refs.set(e.key,e):this.list.add(e)},a.delete=function(e){X.isRef(e)?this.refs.delete(e.key):this.list.delete(e)},a.has=function(e,t){if(this.list.has(e))return!0;for(var n,r=this.refs.values();!(n=r.next()).done;)if(t(n.value)===e)return!0;return!1},a.clone=function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t},a.merge=function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n},t=e,(n=[{key:"size",get:function(){return this.list.size+this.refs.size}}])&&h(t.prototype,n),r&&h(t,r),e}();function oe(e){var t=this;if(void 0===e&&(e={}),!(this instanceof oe))return new oe;this._deps=[],this._conditions=[],this._options={abortEarly:!0,recursive:!0},this._exclusive=Object.create(null),this._whitelist=new ie,this._blacklist=new ie,this.tests=[],this.transforms=[],this.withMutation((function(){t.typeError(A.notType)})),b()(e,"default")&&(this._defaultDefault=e.default),this.type=e.type||"mixed",this._type=e.type||"mixed"}for(var ce=oe.prototype={__isYupSchema__:!0,constructor:oe,clone:function(){var e=this;return this._mutate?this:g()(this,(function(t){if(M(t)&&t!==e)return t}))},label:function(e){var t=this.clone();return t._label=e,t},meta:function(e){if(0===arguments.length)return this._meta;var t=this.clone();return t._meta=m(t._meta||{},e),t},withMutation:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n},concat:function(e){if(!e||e===this)return this;if(e._type!==this._type&&"mixed"!==this._type)throw new TypeError("You cannot `concat()` schema's of different types: "+this._type+" and "+e._type);var t=function e(t,n){for(var r in n)if(b()(n,r)){var a=n[r],i=t[r];if(void 0===i)t[r]=a;else{if(i===a)continue;M(i)?M(a)&&(t[r]=a.concat(i)):q(i)?q(a)&&(t[r]=e(i,a)):Array.isArray(i)&&Array.isArray(a)&&(t[r]=a.concat(i))}}return t}(e.clone(),this);return b()(e,"_default")&&(t._default=e._default),t.tests=this.tests,t._exclusive=this._exclusive,t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),t},isType:function(e){return!(!this._nullable||null!==e)||(!this._typeCheck||this._typeCheck(e))},resolve:function(e){var t=this;if(t._conditions.length){var n=t._conditions;(t=t.clone())._conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t},cast:function(e,t){void 0===t&&(t={});var n=this.resolve(m({},t,{value:e})),r=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(r)){var a=T(e),i=T(r);throw new TypeError("The value of "+(t.path||"field")+' could not be cast to a value that satisfies the schema type: "'+n._type+'". \n\nattempted value: '+a+" \n"+(i!==a?"result of cast: "+i:""))}return r},_cast:function(e){var t=this,n=void 0===e?e:this.transforms.reduce((function(n,r){return r.call(t,n,e)}),e);return void 0===n&&b()(this,"_default")&&(n=this.default()),n},_validate:function(e,t){var n=this;void 0===t&&(t={});var r=e,a=null!=t.originalValue?t.originalValue:e,i=this._option("strict",t),o=this._option("abortEarly",t),c=t.sync,u=t.path,s=this._label;i||(r=this._cast(r,m({assert:!1},t)));var l={value:r,path:u,schema:this,options:t,label:s,originalValue:a,sync:c};t.from&&(l.from=t.from);var f=[];return this._typeError&&f.push(this._typeError(l)),this._whitelistError&&f.push(this._whitelistError(l)),this._blacklistError&&f.push(this._blacklistError(l)),W({validations:f,endEarly:o,value:r,path:u,sync:c}).then((function(e){return W({path:u,sync:c,value:e,endEarly:o,validations:n.tests.map((function(e){return e(l)}))})}))},validate:function(e,t){return void 0===t&&(t={}),this.resolve(m({},t,{value:e}))._validate(e,t)},validateSync:function(e,t){var n,r;if(void 0===t&&(t={}),this.resolve(m({},t,{value:e}))._validate(e,m({},t,{sync:!0})).then((function(e){return n=e})).catch((function(e){return r=e})),r)throw r;return n},isValid:function(e,t){return this.validate(e,t).then((function(){return!0})).catch((function(e){if("ValidationError"===e.name)return!1;throw e}))},isValidSync:function(e,t){try{return this.validateSync(e,t),!0}catch(e){if("ValidationError"===e.name)return!1;throw e}},getDefault:function(e){return void 0===e&&(e={}),this.resolve(e).default()},default:function(e){if(0===arguments.length){var t=b()(this,"_default")?this._default:this._defaultDefault;return"function"==typeof t?t.call(this):g()(t)}var n=this.clone();return n._default=e,n},strict:function(e){void 0===e&&(e=!0);var t=this.clone();return t._options.strict=e,t},_isPresent:function(e){return null!=e},required:function(e){return void 0===e&&(e=A.required),this.test({message:e,name:"required",exclusive:!0,test:function(e){return this.schema._isPresent(e)}})},notRequired:function(){var e=this.clone();return e.tests=e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e},nullable:function(e){void 0===e&&(e=!0);var t=this.clone();return t._nullable=e,t},transform:function(e){var t=this.clone();return t.transforms.push(e),t},test:function(){var e;if(void 0===(e=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=A.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=te(e),r=e.exclusive||e.name&&!0===t._exclusive[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t._exclusive[e.name]=!!e.exclusive,t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t},when:function(e,t){1===arguments.length&&(t=e,e=".");var n=this.clone(),r=[].concat(e).map((function(e){return new X(e)}));return r.forEach((function(e){e.isSibling&&n._deps.push(e.key)})),n._conditions.push(new R(r,t)),n},typeError:function(e){var t=this.clone();return t._typeError=te({message:e,name:"typeError",test:function(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t},oneOf:function(e,t){void 0===t&&(t=A.oneOf);var n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=te({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist;return!!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},notOneOf:function(e,t){void 0===t&&(t=A.notOneOf);var n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=te({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist;return!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},strip:function(e){void 0===e&&(e=!0);var t=this.clone();return t._strip=e,t},_option:function(e,t){return b()(t,e)?t[e]:this._options[e]},describe:function(){var e=this.clone(),t={type:e._type,meta:e._meta,label:e._label,tests:e.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return e._whitelist.size&&(t.oneOf=e._whitelist.describe()),e._blacklist.size&&(t.notOneOf=e._blacklist.describe()),t},defined:function(e){return void 0===e&&(e=A.defined),this.nullable().test({message:e,name:"defined",exclusive:!0,test:function(e){return void 0!==e}})}},ue=function(){var e=le[se];ce[e+"At"]=function(t,n,r){void 0===r&&(r={});var a=ne(this,t,n,r.context),i=a.parent,o=a.parentPath;return a.schema[e](i&&i[o],m({},r,{parent:i,path:t}))}},se=0,le=["validate","validateSync"];se<le.length;se++)ue();for(var fe=0,pe=["equals","is"];fe<pe.length;fe++){ce[pe[fe]]=ce.oneOf}for(var de=0,me=["not","nope"];de<me.length;de++){ce[me[de]]=ce.notOneOf}function he(e,t,n){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),m(e.prototype,n)}ce.optional=ce.notRequired;function ve(){var e=this;if(!(this instanceof ve))return new ve;oe.call(this,{type:"boolean"}),this.withMutation((function(){e.transform((function(e){if(!this.isType(e)){if(/^(true|1)$/i.test(e))return!0;if(/^(false|0)$/i.test(e))return!1}return e}))}))}he(ve,oe,{_typeCheck:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e}});var be=function(e){return null==e},ye=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,ge=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,_e=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i,Oe=function(e){return be(e)||e===e.trim()};function je(){var e=this;if(!(this instanceof je))return new je;oe.call(this,{type:"string"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:null!=e&&e.toString?e.toString():e}))}))}he(je,oe,{_typeCheck:function(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e},_isPresent:function(e){return oe.prototype._isPresent.call(this,e)&&e.length>0},length:function(e,t){return void 0===t&&(t=C.length),this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return be(t)||t.length===this.resolve(e)}})},min:function(e,t){return void 0===t&&(t=C.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t.length>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=C.max),this.test({name:"max",exclusive:!0,message:t,params:{max:e},test:function(t){return be(t)||t.length<=this.resolve(e)}})},matches:function(e,t){var n,r,a=!1;return t&&("object"==typeof t?(a=t.excludeEmptyString,n=t.message,r=t.name):n=t),this.test({name:r||"matches",message:n||C.matches,params:{regex:e},test:function(t){return be(t)||""===t&&a||-1!==t.search(e)}})},email:function(e){return void 0===e&&(e=C.email),this.matches(ye,{name:"email",message:e,excludeEmptyString:!0})},url:function(e){return void 0===e&&(e=C.url),this.matches(ge,{name:"url",message:e,excludeEmptyString:!0})},uuid:function(e){return void 0===e&&(e=C.uuid),this.matches(_e,{name:"uuid",message:e,excludeEmptyString:!1})},ensure:function(){return this.default("").transform((function(e){return null===e?"":e}))},trim:function(e){return void 0===e&&(e=C.trim),this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:Oe})},lowercase:function(e){return void 0===e&&(e=C.lowercase),this.transform((function(e){return be(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return be(e)||e===e.toLowerCase()}})},uppercase:function(e){return void 0===e&&(e=C.uppercase),this.transform((function(e){return be(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return be(e)||e===e.toUpperCase()}})}});he((function e(){var t=this;if(!(this instanceof e))return new e;oe.call(this,{type:"number"}),this.withMutation((function(){t.transform((function(e){var t=e;if("string"==typeof t){if(""===(t=t.replace(/\s/g,"")))return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))}))}),oe,{_typeCheck:function(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!function(e){return e!=+e}(e)},min:function(e,t){return void 0===t&&(t=P.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=P.max),this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return be(t)||t<=this.resolve(e)}})},lessThan:function(e,t){return void 0===t&&(t=P.lessThan),this.test({message:t,name:"max",exclusive:!0,params:{less:e},test:function(t){return be(t)||t<this.resolve(e)}})},moreThan:function(e,t){return void 0===t&&(t=P.moreThan),this.test({message:t,name:"min",exclusive:!0,params:{more:e},test:function(t){return be(t)||t>this.resolve(e)}})},positive:function(e){return void 0===e&&(e=P.positive),this.moreThan(0,e)},negative:function(e){return void 0===e&&(e=P.negative),this.lessThan(0,e)},integer:function(e){return void 0===e&&(e=P.integer),this.test({name:"integer",message:e,test:function(e){return be(e)||Number.isInteger(e)}})},truncate:function(){return this.transform((function(e){return be(e)?e:0|e}))},round:function(e){var t=["ceil","floor","round","trunc"];if("trunc"===(e=e&&e.toLowerCase()||"round"))return this.truncate();if(-1===t.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+t.join(", "));return this.transform((function(t){return be(t)?t:Math[e](t)}))}});var we=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var Ee=new Date("");function xe(){var e=this;if(!(this instanceof xe))return new xe;oe.call(this,{type:"date"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],a=0;if(n=we.exec(e)){for(var i,o=0;i=r[o];++o)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(a=60*n[10]+n[11],"+"===n[9]&&(a=0-a)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+a,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?Ee:new Date(e))}))}))}function Se(e,t){return t||(t=e.slice(0)),e.raw=t,e}he(xe,oe,{_typeCheck:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t},min:function(e,t){void 0===t&&(t=k.min);var n=e;if(!X.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`min` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(e){return be(e)||e>=this.resolve(n)}})},max:function(e,t){void 0===t&&(t=k.max);var n=e;if(!X.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`max` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(e){return be(e)||e<=this.resolve(n)}})}});var Fe=n(53),Te=n.n(Fe),Ae=n(92),Ce=n.n(Ae),Pe=n(93),ke=n.n(Pe),Ne=n(94),Ie=n.n(Ne);function Me(e,t){void 0===t&&(t=[]);var n=[],r=[];function a(e,a){var i=Object(K.split)(e)[0];~r.indexOf(i)||r.push(i),~t.indexOf(a+"-"+i)||n.push([a,i])}for(var i in e)if(b()(e,i)){var o=e[i];~r.indexOf(i)||r.push(i),X.isRef(o)&&o.isSibling?a(o.path,i):M(o)&&o._deps&&o._deps.forEach((function(e){return a(e,i)}))}return Ie.a.array(r,n).reverse()}function Re(e,t){var n=1/0;return e.some((function(e,r){if(-1!==t.path.indexOf(e))return n=r,!0})),n}function De(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=e.reduce((function(e,t){var r=n.shift();return e+(null==r?"":r)+t}));return a.replace(/^\./,"")}function Le(){var e=Se(["",'["','"]']);return Le=function(){return e},e}function ze(){var e=Se(["",".",""]);return ze=function(){return e},e}function Ve(){var e=Se(["",".",""]);return Ve=function(){return e},e}var Be=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function Ue(e){var t=this;if(!(this instanceof Ue))return new Ue(e);oe.call(this,{type:"object",default:function(){var e=this;if(this._nodes.length){var t={};return this._nodes.forEach((function(n){t[n]=e.fields[n].default?e.fields[n].default():void 0})),t}}}),this.fields=Object.create(null),this._nodes=[],this._excludedEdges=[],this.withMutation((function(){t.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.shape(e)}))}function $e(){var e=Se(["","[","]"]);return $e=function(){return e},e}function Ge(){var e=Se(["","[","]"]);return Ge=function(){return e},e}he(Ue,oe,{_typeCheck:function(e){return Be(e)||"function"==typeof e},_cast:function(e,t){var n=this;void 0===t&&(t={});var r=oe.prototype._cast.call(this,e,t);if(void 0===r)return this.default();if(!this._typeCheck(r))return r;var a=this.fields,i=!0===this._option("stripUnknown",t),o=this._nodes.concat(Object.keys(r).filter((function(e){return-1===n._nodes.indexOf(e)}))),c={},u=m({},t,{parent:c,__validating:t.__validating||!1}),s=!1;return o.forEach((function(e){var n=a[e],o=b()(r,e);if(n){var l,f=n._options&&n._options.strict;if(u.path=De(Ve(),t.path,e),u.value=r[e],!0===(n=n.resolve(u))._strip)return void(s=s||e in r);void 0!==(l=t.__validating&&f?r[e]:n.cast(r[e],u))&&(c[e]=l)}else o&&!i&&(c[e]=r[e]);c[e]!==r[e]&&(s=!0)})),s?c:r},_validate:function(e,t){var n,r,a=this;void 0===t&&(t={});var i=t.sync,o=[],c=null!=t.originalValue?t.originalValue:e,u=[{schema:this,value:c}].concat(t.from||[]);return n=this._option("abortEarly",t),r=this._option("recursive",t),t=m({},t,{__validating:!0,originalValue:c,from:u}),oe.prototype._validate.call(this,e,t).catch($(n,o)).then((function(e){if(!r||!Be(e)){if(o.length)throw o[0];return e}u=c?[].concat(u):[{schema:a,value:c||e}].concat(t.from||[]),c=c||e;var s,l,f=a._nodes.map((function(n){var r=-1===n.indexOf(".")?De(ze(),t.path,n):De(Le(),t.path,n),o=a.fields[n],s=m({},t,{path:r,from:u,parent:e,originalValue:c[n]});return o&&o.validate?(s.strict=!0,o.validate(e[n],s)):function(e){return e?L.SynchronousPromise:Promise}(i).resolve(!0)}));return W({sync:i,validations:f,value:e,errors:o,endEarly:n,path:t.path,sort:(s=a.fields,l=Object.keys(s),function(e,t){return Re(l,e)-Re(l,t)})})}))},concat:function(e){var t=oe.prototype.concat.call(this,e);return t._nodes=Me(t.fields,t._excludedEdges),t},shape:function(e,t){void 0===t&&(t=[]);var n=this.clone(),r=m(n.fields,e);if(n.fields=r,t.length){Array.isArray(t[0])||(t=[t]);var a=t.map((function(e){return e[0]+"-"+e[1]}));n._excludedEdges=n._excludedEdges.concat(a)}return n._nodes=Me(r,n._excludedEdges),n},from:function(e,t,n){var r=Object(K.getter)(e,!0);return this.transform((function(a){if(null==a)return a;var i=a;return b()(a,e)&&(i=m({},a),n||delete i[e],i[t]=r(a)),i}))},noUnknown:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=N.noUnknown),"string"==typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=function(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n._options.stripUnknown=e,n},unknown:function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=N.noUnknown),this.noUnknown(!e,t)},transformKeys:function(e){return this.transform((function(t){return t&&ke()(t,(function(t,n){return e(n)}))}))},camelCase:function(){return this.transformKeys(Ce.a)},snakeCase:function(){return this.transformKeys(Te.a)},constantCase:function(){return this.transformKeys((function(e){return Te()(e).toUpperCase()}))},describe:function(){var e=oe.prototype.describe.call(this);return e.fields=Y()(this.fields,(function(e){return e.describe()})),e}});function We(e){var t=this;if(!(this instanceof We))return new We(e);oe.call(this,{type:"array"}),this._subType=void 0,this.innerType=void 0,this.withMutation((function(){t.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.of(e)}))}he(We,oe,{_typeCheck:function(e){return Array.isArray(e)},_cast:function(e,t){var n=this,r=oe.prototype._cast.call(this,e,t);if(!this._typeCheck(r)||!this.innerType)return r;var a=!1,i=r.map((function(e,r){var i=n.innerType.cast(e,m({},t,{path:De(Ge(),t.path,r)}));return i!==e&&(a=!0),i}));return a?i:r},_validate:function(e,t){var n=this;void 0===t&&(t={});var r=[],a=t.sync,i=t.path,o=this.innerType,c=this._option("abortEarly",t),u=this._option("recursive",t),s=null!=t.originalValue?t.originalValue:e;return oe.prototype._validate.call(this,e,t).catch($(c,r)).then((function(e){if(!u||!o||!n._typeCheck(e)){if(r.length)throw r[0];return e}s=s||e;for(var l=new Array(e.length),f=0;f<e.length;f++){var p=e[f],d=De($e(),t.path,f),h=m({},t,{path:d,strict:!0,parent:e,index:f,originalValue:s[f]});l[f]=!o.validate||o.validate(p,h)}return W({sync:a,path:i,value:e,errors:r,endEarly:c,validations:l})}))},_isPresent:function(e){return oe.prototype._isPresent.call(this,e)&&e.length>0},of:function(e){var t=this.clone();if(!1!==e&&!M(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema, or `false` to negate a current sub-schema. not: "+T(e));return t._subType=e,t.innerType=e,t},min:function(e,t){return t=t||I.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t.length>=this.resolve(e)}})},max:function(e,t){return t=t||I.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return be(t)||t.length<=this.resolve(e)}})},ensure:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))},compact:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))},describe:function(){var e=oe.prototype.describe.call(this);return this.innerType&&(e.innerType=this.innerType.describe()),e}});var qe=function(){function e(e){this._resolve=function(t,n){var r=e(t,n);if(!M(r))throw new TypeError("lazy() functions must return a valid schema");return r.resolve(n)}}var t=e.prototype;return t.resolve=function(e){return this._resolve(e.value,e)},t.cast=function(e,t){return this._resolve(e,t).cast(e,t)},t.validate=function(e,t){return this._resolve(e,t).validate(e,t)},t.validateSync=function(e,t){return this._resolve(e,t).validateSync(e,t)},t.validateAt=function(e,t,n){return this._resolve(t,n).validateAt(e,t,n)},t.validateSyncAt=function(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)},e}();qe.prototype.__isYupSchema__=!0;var He=qe;var Ye=function(e){return new He(e)};var Ke=n(2),Ze=n(11),Je=n.n(Ze),Xe=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Qe}(e)}(e)};var Qe="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nt((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function tt(e,t,n){return e.concat(t).map((function(e){return et(e,n)}))}function nt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||tt,n.isMergeableObject=n.isMergeableObject||Xe;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=et(e[t],n)})),Object.keys(t).forEach((function(a){n.isMergeableObject(t[a])&&e[a]?r[a]=nt(e[a],t[a],n):r[a]=et(t[a],n)})),r}(e,t,n):et(t,n)}nt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return nt(e,n,t)}),{})};var rt=nt,at=n(54),it=n.n(at),ot=n(55),ct=n.n(ot),ut=n(56),st=n.n(ut);var lt=function(e,t){},ft=n(57),pt=n(58),dt=n.n(pt),mt=n(95),ht=n.n(mt);function vt(){return(vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function bt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function yt(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var _t=function(e){return Array.isArray(e)&&0===e.length},Ot=function(e){return"function"==typeof e},jt=function(e){return null!==e&&"object"==typeof e},wt=function(e){return String(Math.floor(Number(e)))===e},Et=function(e){return"[object String]"===Object.prototype.toString.call(e)},xt=function(e){return 0===o.Children.count(e)},St=function(e){return jt(e)&&Ot(e.then)};function Ft(e,t,n,r){void 0===r&&(r=0);for(var a=st()(t);e&&r<a.length;)e=e[a[r++]];return void 0===e?n:e}function Tt(e,t,n){for(var r=ct()(e),a=r,i=0,o=st()(t);i<o.length-1;i++){var c=o[i],u=Ft(e,o.slice(0,i+1));if(u&&(jt(u)||Array.isArray(u)))a=a[c]=ct()(u);else{var s=o[i+1];a=a[c]=wt(s)&&Number(s)>=0?[]:{}}}return(0===i?e:a)[o[i]]===n?e:(void 0===n?delete a[o[i]]:a[o[i]]=n,0===i&&void 0===n&&delete r[o[i]],r)}function At(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var a=0,i=Object.keys(e);a<i.length;a++){var o=i[a],c=e[o];jt(c)?n.get(c)||(n.set(c,!0),r[o]=Array.isArray(c)?[]:{},At(c,t,n,r[o])):r[o]=t}return r}var Ct=Object(o.createContext)(void 0),Pt=Ct.Provider,kt=Ct.Consumer;function Nt(){var e=Object(o.useContext)(Ct);return e||lt(!1),e}function It(e,t){switch(t.type){case"SET_VALUES":return vt({},e,{values:t.payload});case"SET_TOUCHED":return vt({},e,{touched:t.payload});case"SET_ERRORS":return Je()(e.errors,t.payload)?e:vt({},e,{errors:t.payload});case"SET_STATUS":return vt({},e,{status:t.payload});case"SET_ISSUBMITTING":return vt({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return vt({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return vt({},e,{values:Tt(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return vt({},e,{touched:Tt(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return vt({},e,{errors:Tt(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return vt({},e,{},t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return vt({},e,{touched:At(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return vt({},e,{isSubmitting:!1});default:return e}}var Mt={},Rt={};function Dt(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,a=void 0===r||r,i=e.validateOnMount,c=void 0!==i&&i,u=e.isInitialValid,s=e.enableReinitialize,l=void 0!==s&&s,f=e.onSubmit,p=yt(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),d=vt({validateOnChange:n,validateOnBlur:a,validateOnMount:c,onSubmit:f},p),m=Object(o.useRef)(d.initialValues),h=Object(o.useRef)(d.initialErrors||Mt),v=Object(o.useRef)(d.initialTouched||Rt),b=Object(o.useRef)(d.initialStatus),y=Object(o.useRef)(!1),g=Object(o.useRef)({});Object(o.useEffect)((function(){return y.current=!0,function(){y.current=!1}}),[]);var _=Object(o.useReducer)(It,{values:d.initialValues,errors:d.initialErrors||Mt,touched:d.initialTouched||Rt,status:d.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),O=_[0],j=_[1],w=Object(o.useCallback)((function(e,t){return new Promise((function(n,r){var a=d.validate(e,t);null==a?n(Mt):St(a)?a.then((function(e){n(e||Mt)}),(function(e){r(e)})):n(a)}))}),[d.validate]),E=Object(o.useCallback)((function(e,t){var n=d.validationSchema,r=Ot(n)?n(t):n,a=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var a=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var a=String(r);!0===Array.isArray(t[a])?n[a]=t[a].map((function(t){return!0===Array.isArray(t)||it()(t)?e(t):""!==t?t:void 0})):it()(t[a])?n[a]=e(t[a]):n[a]=""!==t[a]?t[a]:void 0}return n}(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:r})}(e,r);return new Promise((function(e,t){a.then((function(){e(Mt)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return Tt(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),a=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(a>=n.length)break;i=n[a++]}else{if((a=n.next()).done)break;i=a.value}var o=i;Ft(t,o.path)||(t=Tt(t,o.path,o.message))}}return t}(n)):t(n)}))}))}),[d.validationSchema]),x=Object(o.useCallback)((function(e,t){return new Promise((function(n){return n(g.current[e].validate(t))}))}),[]),S=Object(o.useCallback)((function(e){var t=Object.keys(g.current).filter((function(e){return Ot(g.current[e].validate)})),n=t.length>0?t.map((function(t){return x(t,Ft(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Tt(e,t[r],n)),e}),{})}))}),[x]),F=Object(o.useCallback)((function(e){return Promise.all([S(e),d.validationSchema?E(e):{},d.validate?w(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return rt.all([t,n,r],{arrayMerge:zt})}))}),[d.validate,d.validationSchema,S,w,E]),T=Bt((function(e){return void 0===e&&(e=O.values),Object(ft.unstable_runWithPriority)(ft.unstable_LowPriority,(function(){return F(e).then((function(e){return y.current&&j({type:"SET_ERRORS",payload:e}),e})).catch((function(e){0}))}))})),A=Bt((function(e){return void 0===e&&(e=O.values),j({type:"SET_ISVALIDATING",payload:!0}),F(e).then((function(e){return y.current&&(j({type:"SET_ISVALIDATING",payload:!1}),Je()(O.errors,e)||j({type:"SET_ERRORS",payload:e})),e}))})),C=Object(o.useCallback)((function(e){var t=e&&e.values?e.values:m.current,n=e&&e.errors?e.errors:h.current?h.current:d.initialErrors||{},r=e&&e.touched?e.touched:v.current?v.current:d.initialTouched||{},a=e&&e.status?e.status:b.current?b.current:d.initialStatus;m.current=t,h.current=n,v.current=r,b.current=a;var i=function(){j({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(d.onReset){var o=d.onReset(O.values,K);St(o)?o.then(i):i()}else i()}),[d.initialErrors,d.initialStatus,d.initialTouched]);Object(o.useEffect)((function(){!0!==y.current||Je()(m.current,d.initialValues)||(m.current=d.initialValues,l&&C(),c&&T(m.current))}),[l,d.initialValues,C,c,T]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(h.current,d.initialErrors)&&(h.current=d.initialErrors||Mt,j({type:"SET_ERRORS",payload:d.initialErrors||Mt}))}),[l,d.initialErrors]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(v.current,d.initialTouched)&&(v.current=d.initialTouched||Rt,j({type:"SET_TOUCHED",payload:d.initialTouched||Rt}))}),[l,d.initialTouched]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(b.current,d.initialStatus)&&(b.current=d.initialStatus,j({type:"SET_STATUS",payload:d.initialStatus}))}),[l,d.initialStatus,d.initialTouched]);var P=Bt((function(e){if(Ot(g.current[e].validate)){var t=Ft(O.values,e),n=g.current[e].validate(t);return St(n)?(j({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),j({type:"SET_ISVALIDATING",payload:!1})}))):(j({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return d.validationSchema?(j({type:"SET_ISVALIDATING",payload:!0}),E(O.values,e).then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),j({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),k=Object(o.useCallback)((function(e,t){var n=t.validate;g.current[e]={validate:n}}),[]),N=Object(o.useCallback)((function(e){delete g.current[e]}),[]),I=Bt((function(e,t){return j({type:"SET_TOUCHED",payload:e}),(void 0===t?a:t)?T(O.values):Promise.resolve()})),M=Object(o.useCallback)((function(e){j({type:"SET_ERRORS",payload:e})}),[]),R=Bt((function(e,t){return j({type:"SET_VALUES",payload:e}),(void 0===t?n:t)?T(e):Promise.resolve()})),D=Object(o.useCallback)((function(e,t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),L=Bt((function(e,t,r){return j({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?T(Tt(O.values,e,t)):Promise.resolve()})),z=Object(o.useCallback)((function(e,t){var n,r=t,a=e;if(!Et(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,o=i.type,c=i.name,u=i.id,s=i.value,l=i.checked,f=(i.outerHTML,i.options),p=i.multiple;r=t||(c||u),a=/number|range/.test(o)?(n=parseFloat(s),isNaN(n)?"":n):/checkbox/.test(o)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!a)return r.concat(n);if(!a)return r;return r.slice(0,i).concat(r.slice(i+1))}(Ft(O.values,r),l,s):p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(f):s}r&&L(r,a)}),[L,O.values]),V=Bt((function(e){if(Et(e))return function(t){return z(t,e)};z(e)})),B=Bt((function(e,t,n){return void 0===t&&(t=!0),j({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?a:n)?T(O.values):Promise.resolve()})),U=Object(o.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,a=n.id,i=(n.outerHTML,t||(r||a));B(i,!0)}),[B]),$=Bt((function(e){if(Et(e))return function(t){return U(t,e)};U(e)})),G=Object(o.useCallback)((function(e){Ot(e)?j({type:"SET_FORMIK_STATE",payload:e}):j({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),W=Object(o.useCallback)((function(e){j({type:"SET_STATUS",payload:e})}),[]),q=Object(o.useCallback)((function(e){j({type:"SET_ISSUBMITTING",payload:e})}),[]),H=Bt((function(){return j({type:"SUBMIT_ATTEMPT"}),A().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Z()))return}catch(e){throw e}return Promise.resolve(n).then((function(e){return y.current&&j({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(y.current)throw j({type:"SUBMIT_FAILURE"}),e}))}if(y.current&&(j({type:"SUBMIT_FAILURE"}),t))throw e}))})),Y=Bt((function(e){e&&e.preventDefault&&Ot(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ot(e.stopPropagation)&&e.stopPropagation(),H().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),K={resetForm:C,validateForm:A,validateField:P,setErrors:M,setFieldError:D,setFieldTouched:B,setFieldValue:L,setStatus:W,setSubmitting:q,setTouched:I,setValues:R,setFormikState:G,submitForm:H},Z=Bt((function(){return f(O.values,K)})),J=Bt((function(e){e&&e.preventDefault&&Ot(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ot(e.stopPropagation)&&e.stopPropagation(),C()})),X=Object(o.useCallback)((function(e){return{value:Ft(O.values,e),error:Ft(O.errors,e),touched:!!Ft(O.touched,e),initialValue:Ft(m.current,e),initialTouched:!!Ft(v.current,e),initialError:Ft(h.current,e)}}),[O.errors,O.touched,O.values]),Q=Object(o.useCallback)((function(e){return{setValue:function(t,n){return L(e,t,n)},setTouched:function(t,n){return B(e,t,n)},setError:function(t){return D(e,t)}}}),[L,B,D]),ee=Object(o.useCallback)((function(e){var t=jt(e),n=t?e.name:e,r=Ft(O.values,n),a={name:n,value:r,onChange:V,onBlur:$};if(t){var i=e.type,o=e.value,c=e.as,u=e.multiple;"checkbox"===i?void 0===o?a.checked=!!r:(a.checked=!(!Array.isArray(r)||!~r.indexOf(o)),a.value=o):"radio"===i?(a.checked=r===o,a.value=o):"select"===c&&u&&(a.value=a.value||[],a.multiple=!0)}return a}),[$,V,O.values]),te=Object(o.useMemo)((function(){return!Je()(m.current,O.values)}),[m.current,O.values]),ne=Object(o.useMemo)((function(){return void 0!==u?te?O.errors&&0===Object.keys(O.errors).length:!1!==u&&Ot(u)?u(d):u:O.errors&&0===Object.keys(O.errors).length}),[u,te,O.errors,d]);return vt({},O,{initialValues:m.current,initialErrors:h.current,initialTouched:v.current,initialStatus:b.current,handleBlur:$,handleChange:V,handleReset:J,handleSubmit:Y,resetForm:C,setErrors:M,setFormikState:G,setFieldTouched:B,setFieldValue:L,setFieldError:D,setStatus:W,setSubmitting:q,setTouched:I,setValues:R,submitForm:H,validateForm:A,validateField:P,isValid:ne,dirty:te,unregisterField:N,registerField:k,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:Q,validateOnBlur:a,validateOnChange:n,validateOnMount:c})}function Lt(e){var t=Dt(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return Object(o.useImperativeHandle)(i,(function(){return t})),Object(o.createElement)(Pt,{value:t},n?Object(o.createElement)(n,t):a?a(t):r?Ot(r)?r(t):xt(r)?null:o.Children.only(r):null)}function zt(e,t,n){var r=e.slice();return t.forEach((function(t,a){if(void 0===r[a]){var i=!1!==n.clone&&n.isMergeableObject(t);r[a]=i?rt(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[a]=rt(e[a],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var Vt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect;function Bt(e){var t=Object(o.useRef)(e);return Vt((function(){t.current=e})),Object(o.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}function Ut(e){var t=e.validate,n=e.name,r=e.render,a=e.children,i=e.as,c=e.component,u=yt(e,["validate","name","render","children","as","component"]),s=yt(Nt(),["validate","validationSchema"]);var l=s.registerField,f=s.unregisterField;Object(o.useEffect)((function(){return l(n,{validate:t}),function(){f(n)}}),[l,f,n,t]);var p=s.getFieldProps(vt({name:n},u)),d=s.getFieldMeta(n),m={field:p,form:s};if(r)return r(vt({},m,{meta:d}));if(Ot(a))return a(vt({},m,{meta:d}));if(c){if("string"==typeof c){var h=u.innerRef,v=yt(u,["innerRef"]);return Object(o.createElement)(c,vt({ref:h},p,{},v),a)}return Object(o.createElement)(c,vt({field:p,form:s},u),a)}var b=i||"input";if("string"==typeof b){var y=u.innerRef,g=yt(u,["innerRef"]);return Object(o.createElement)(b,vt({ref:y},p,{},g),a)}return Object(o.createElement)(b,vt({},p,{},u),a)}var $t=Object(o.forwardRef)((function(e,t){var n=e.action,r=yt(e,["action"]),a=n||"#",i=Nt(),c=i.handleReset,u=i.handleSubmit;return Object(o.createElement)("form",Object.assign({onSubmit:u,ref:t,onReset:c,action:a},r))}));function Gt(e){var t=function(t){return Object(o.createElement)(kt,null,(function(n){return n||lt(!1),Object(o.createElement)(e,Object.assign({},t,{formik:n}))}))},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",dt()(t,e)}$t.displayName="Form";var Wt=function(e,t,n){var r=qt(e);return r.splice(t,0,n),r},qt=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(vt({},e,{length:t+1}))}return[]},Ht=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var a=n.props,i=a.name;(0,a.formik.setFormikState)((function(n){var a="function"==typeof r?r:e,o="function"==typeof t?t:e,c=Tt(n.values,i,e(Ft(n.values,i))),u=r?a(Ft(n.errors,i)):void 0,s=t?o(Ft(n.touched,i)):void 0;return _t(u)&&(u=void 0),_t(s)&&(s=void 0),vt({},n,{values:c,errors:r?Tt(n.errors,i,u):n.errors,touched:t?Tt(n.touched,i,s):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(qt(t),[ht()(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e),a=r[t];return r[t]=r[n],r[n]=a,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e),a=r[t];return r.splice(t,1),r.splice(n,0,a),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return Wt(n,e,t)}),(function(t){return Wt(t,e,null)}),(function(t){return Wt(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(gt(n)),n.pop=n.pop.bind(gt(n)),n}bt(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){!Je()(Ft(e.formik.values,e.name),Ft(this.props.formik.values,this.props.name))&&this.props.formik.validateOnChange&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?qt(n):[];return t||(t=r[e]),Ot(r.splice)&&r.splice(e,1),r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t;return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,a=t.children,i=t.name,c=vt({},e,{form:yt(t.formik,["validate","validationSchema"]),name:i});return n?Object(o.createElement)(n,c):r?r(c):a?"function"==typeof a?a(c):xt(a)?null:o.Children.only(a):null},t}(o.Component);Ht.defaultProps={validateOnChange:!0};o.Component,o.Component;var Yt=n(6),Kt={style:{base:{color:"#32325d",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',fontSmoothing:"antialiased",fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}}};var Zt=function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{htmlFor:"form"},Object(Ke.__)("Card details","wubtitle")),Object(i.createElement)(Yt.CardNumberElement,{options:Kt,className:"num"}),Object(i.createElement)(Yt.CardExpiryElement,{options:Kt,className:"exp"}),Object(i.createElement)(Yt.CardCvcElement,{options:Kt,className:"cvc"}))};function Jt(e){var t=e.createSubscription,n=e.backFunction,r=e.error,c=e.paymentPreValues,u=e.updatePrice,s=e.loading,l=e.coupon,p=e.setCoupon,m=e.planId,h=WP_GLOBALS,v=h.ajaxUrl,b=h.ajaxNonce,y=Object(Yt.useStripe)(),g=Object(Yt.useElements)(),_=Object(o.useState)(!1),O=a()(_,2),j=O[0],w=O[1],E=Object(o.useState)(null),x=a()(E,2),S=x[0],F=x[1],T=Object(o.useState)(!1),A=a()(T,2),C=A[0],P=A[1],k=Object(Ke.__)("Required","wubtitle"),N=Ye((function(){var e={};return c&&!j||(e={name:je().required(k),email:je().email(Object(Ke.__)("Invalid email","wubtitle")).required(k)}),Ue().shape(e)})),I=function(){var e=d()(f.a.mark((function e(n){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(y&&g){e.next=2;break}return e.abrupt("return");case 2:if(r=null,!c||j){e.next=8;break}return n.name=c.name,n.email=c.email,t(r,n,y),e.abrupt("return");case 8:r=g.getElement(Yt.CardNumberElement),t(r,n,y);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(i.createElement)("div",{className:"checkout-form"},c?null:Object(i.createElement)("div",{className:"title-section"},Object(i.createElement)("h2",null,Object(Ke.__)("Coupon","wubtitle"))),c?null:Object(i.createElement)("div",{className:"fields-container flex-container"},Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"name"},Object(Ke.__)("Discount Code","wubtitle")),Object(i.createElement)("input",{name:"coupon",placeholder:"Coupon",value:l,onChange:function(e){return p(e.target.value)}}),Object(i.createElement)("p",{className:"coupon-message"},S)),Object(i.createElement)("div",{className:"form-field-container flex-container center-items"},Object(i.createElement)("button",{className:"coupon-button",disabled:!l||C,onClick:function(){return P(!0),void fetch(v,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_coupon&_ajax_nonce=".concat(b,"&coupon=").concat(l,"&planId=").concat(m)}).then((function(e){return e.json()})).then((function(e){P(!1),e.success?(F(e.data.message),u(e.data)):(F(e.data),u(!1))}))}},C&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Apply Coupon","wubtitle")))),Object(i.createElement)("div",{className:"title-section"},Object(i.createElement)("h2",null,Object(Ke.__)("Payment Details","wubtitle")),c?Object(i.createElement)("div",{className:"switch-container"},Object(i.createElement)("p",null,j?Object(Ke.__)("editing enabled","wubtitle"):Object(Ke.__)("editing disabled","wubtitle")),Object(i.createElement)("label",{htmlFor:"change-data",className:"switch"},Object(i.createElement)("input",{type:"checkbox",onClick:function(){w(!j)}}),Object(i.createElement)("span",{className:"slider round"}))):null),c?Object(i.createElement)("div",{className:"summary columns"},Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Email","wubtitle"),": "),c.email),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Card Details","wubtitle"),": "),c.cardNumber)),Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Card Holder","wubtitle"),": "),c.name),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Expires","wubtitle"),": "),c.expiration))):null,Object(i.createElement)(Lt,{initialValues:{name:"",email:""},validationSchema:N,onSubmit:function(e){I(e)}},(function(e){var t=e.errors,a=e.touched;return Object(i.createElement)($t,null,r&&j||r&&!c?Object(i.createElement)("div",{className:"error-message-container",role:"alert"},Object(i.createElement)("p",{className:"error-message"},r)):"",!c||j?Object(i.createElement)("div",{className:"fields-container"},Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"email"},"E-Mail"),Object(i.createElement)(Ut,{name:"email",placeholder:"Email"}),Object(i.createElement)("p",{className:"error-message"},a.name&&t.name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"name"},Object(Ke.__)("Card Holder","wubtitle")),Object(i.createElement)(Ut,{name:"name",placeholder:"Card Holder"}),Object(i.createElement)("p",{className:"error-message"},a.name&&t.name)),Object(i.createElement)("div",{className:"form-field-container card"},Object(i.createElement)(Zt,null))):null,Object(i.createElement)("div",{className:"button-bar"},Object(i.createElement)("button",{className:"cancel",onClick:function(){return n()}},Object(Ke.__)("Back","wubtitle")),Object(i.createElement)("button",{disabled:!y||s,className:s?"disabled":""},s&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Subscribe","wubtitle"))))})))}var Xt=n(96),Qt=n.n(Xt),en=n(97),tn=n(98),nn=n(59);function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function an(e){var t,n,r=e.invoicePreValues,o=e.handleSubmit,c=e.cancelFunction,u=e.error,s=e.loading,l=WP_GLOBALS,p=l.ajaxUrl,m=l.ajaxNonce,h=Object(Ke.__)("Required","wubtitle"),v=function(){var e=d()(f.a.mark((function e(r){var a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&16===r.length){e.next=2;break}return e.abrupt("return",!0);case 2:if(!t||t!==r){e.next=4;break}return e.abrupt("return",n);case 4:return t=r,e.next=7,fetch(p,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_fiscal_code&_ajax_nonce=".concat(m,"&fiscalCode=").concat(t)});case 7:return a=e.sent,e.next=10,a.json();case 10:return a=e.sent,n=a.data,e.abrupt("return",n);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=Ye((function(e){var t={invoice_name:je().required(h),invoice_email:je().email(Object(Ke.__)("Invalid email","wubtitle")).required(h),invoice_lastname:je().required(h),telephone:je().required(Object(Ke.__)("Telephone number required","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),prefix:je().required(Object(Ke.__)("Prefix required","wubtitle")).matches("^[+][0-9]*$",Object(Ke.__)("Prefix is only numbers","wubtitle")).max(4,Object(Ke.__)("Prefix must be max 3 numbers","wubtitle")),address:je().required(h),city:je().required(h),country:je().required(h)};return nn.includes(e.country)?(e.company_name?(t.vat_code=je().required(h),"IT"===e.country&&(t.vat_code=je().required(h).length(11,Object(Ke.__)("Vat Code must be exactly 11 characters","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),t.fiscal_code=je().length(16,Object(Ke.__)("Fiscal Code must be exactly 16 characters","wubtitle")).test("is-valid-fiscalcode",Object(Ke.__)("Invalid Fiscal Code","wubtitle"),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()))):"IT"===e.country&&(t.fiscal_code=je().required(h).length(16,Object(Ke.__)("Fiscal Code must be exactly 16 characters","wubtitle")).test("is-valid-fiscalcode",Object(Ke.__)("Invalid Fiscal Code","wubtitle"),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())),"IT"===e.country&&(t.cap=je().required(h).length(5,Object(Ke.__)("Postal Code must be exactly 5 characters","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),t.province=je().required(h),t.destination_code=je().length(7,Object(Ke.__)("Destination Code must be exactly 7 characters","wubtitle"))),Ue().shape(t)):Ue().shape(t)})),y={invoice_name:"",invoice_email:"",invoice_lastname:"",prefix:"",telephone:"",company_name:"",address:"",cap:"",city:"",province:"",country:"",vat_code:"",fiscal_code:"",destination_code:"0000000"};r&&("+"!==r.prefix.charAt(0)&&(r.prefix="+".concat(r.prefix)),y=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach((function(t){Qt()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r));return Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(Lt,{initialValues:y,validationSchema:b,onSubmit:function(e){o(e)}},(function(e){var t,n=e.errors,r=e.touched,o=e.values;return Object(i.createElement)($t,null,Object(i.createElement)("h2",null," ",Object(Ke.__)("Billing Details","wubtitle")),u?Object(i.createElement)("div",{className:"error-message-container",role:"alert"},Object(i.createElement)("p",{className:"error-message"},u)):"",Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceName"},Object(Ke.__)("Name","wubtitle")),Object(i.createElement)(Ut,{name:"invoice_name",placeholder:"Name"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_name&&n.invoice_name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceLastname"},Object(Ke.__)("Lastname","wubtitle")),Object(i.createElement)(Ut,{name:"invoice_lastname",placeholder:"Lastname"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_lastname&&n.invoice_lastname)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceEmail"},"E-Mail"),Object(i.createElement)(Ut,{name:"invoice_email",placeholder:"Email"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_email&&n.invoice_email)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"companyName"},Object(Ke.__)("Company Name","wubtitle")),Object(i.createElement)(Ut,{name:"company_name",placeholder:"Company Name"}),Object(i.createElement)("p",{className:"error-message"},r.company_name&&n.company_name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"country"},Object(Ke.__)("Country","wubtitle")),Object(i.createElement)(Ut,{name:"country",component:"select"},Object(i.createElement)("option",{value:"",label:"Select a country"}),Object.entries(en).map((function(e){var t=a()(e,2),n=t[0],r=t[1];return Object(i.createElement)("option",{key:n,value:n,label:r})}))),Object(i.createElement)("p",{className:"error-message"},r.country&&n.country)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"province"},Object(Ke.__)("Province","wubtitle")),Object(i.createElement)(Ut,{name:"province",component:"select"},Object(i.createElement)("option",{value:"",label:"Select a province"}),Object.entries(tn).map((function(e){var t=a()(e,2),n=t[0],r=t[1];return Object(i.createElement)("option",{key:n,value:n,label:r})}))),Object(i.createElement)("p",{className:"error-message"},r.province&&n.province)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"city"},Object(Ke.__)("City","wubtitle")),Object(i.createElement)(Ut,{name:"city",placeholder:"City"}),Object(i.createElement)("p",{className:"error-message"},r.city&&n.city)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"address"},Object(Ke.__)("Address","wubtitle")),Object(i.createElement)(Ut,{name:"address",placeholder:"Address"}),Object(i.createElement)("p",{className:"error-message"},r.address&&n.address)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"cap"},Object(Ke.__)("Postal Code","wubtitle")),Object(i.createElement)(Ut,{name:"cap",placeholder:"CAP"}),Object(i.createElement)("p",{className:"error-message"},r.cap&&n.cap)),Object(i.createElement)("div",{className:"form-field-container ".concat(o.company_name&&nn.includes(o.country)?"":"hidden")},Object(i.createElement)("label",{htmlFor:"vatCode"},Object(Ke.__)("Vat Code","wubtitle")),Object(i.createElement)("div",null,Object(i.createElement)("span",{className:"prefix-input input"},o.country),Object(i.createElement)(Ut,{className:"input-with-prefix",name:"vat_code",placeholder:"Vat Code"})),Object(i.createElement)("p",{className:"error-message"},r.vat_code&&n.vat_code)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"fiscalCode"},Object(Ke.__)("Fiscal Code","wubtitle")),Object(i.createElement)(Ut,{name:"fiscal_code",placeholder:"Fiscal Code"}),Object(i.createElement)("p",{className:"error-message"},r.fiscal_code&&n.fiscal_code)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"telephone"},Object(Ke.__)("Telephone","wubtitle")),Object(i.createElement)("div",null,Object(i.createElement)(Ut,{className:"prefix-input",name:"prefix",placeholder:"+",value:(t=o.prefix,"+"!==t.charAt(0)&&(t="+".concat(t)),t.length>4?t.substring(0,t.length-1):t)}),Object(i.createElement)(Ut,{className:"input-with-prefix",name:"telephone",placeholder:"Telephone"})),Object(i.createElement)("p",{className:"error-message"},r.prefix&&n.prefix&&"".concat(n.prefix,". "),r.telephone&&n.telephone&&"".concat(n.telephone,". "))),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"destination-code"},Object(Ke.__)("Destination Code","wubtitle")),Object(i.createElement)(Ut,{name:"destination_code",placeholder:"Destination Code"}),Object(i.createElement)("p",{className:"error-message"},r.destination_code&&n.destination_code)),Object(i.createElement)("div",{className:"button-bar"},Object(i.createElement)("button",{className:"cancel",onClick:function(){return c()}},Object(Ke.__)("Cancel","wubtitle")),Object(i.createElement)("button",null,s&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Next","wubtitle"))))})))}var on=n(60),cn=n(3),un=n.n(cn);function sn(e){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){ln(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dn(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function mn(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function hn(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}function vn(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),a=hn(t.slice(0,r)),i=t.slice(r+1).trim();return a.startsWith("webkit")?e[(n=a,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[a]=i,e}),{})}var bn=!1;try{bn=!0}catch(e){}function yn(e){return null===e?null:"object"===sn(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function gn(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ln({},e,t):{}}function _n(e){var t=e.forwardedRef,n=dn(e,["forwardedRef"]),r=n.icon,a=n.mask,i=n.symbol,o=n.className,c=n.title,u=yn(r),s=gn("classes",[].concat(mn(function(e){var t,n=e.spin,r=e.pulse,a=e.fixedWidth,i=e.inverse,o=e.border,c=e.listItem,u=e.flip,s=e.size,l=e.rotation,f=e.pull,p=(ln(t={"fa-spin":n,"fa-pulse":r,"fa-fw":a,"fa-inverse":i,"fa-border":o,"fa-li":c,"fa-flip-horizontal":"horizontal"===u||"both"===u,"fa-flip-vertical":"vertical"===u||"both"===u},"fa-".concat(s),null!=s),ln(t,"fa-rotate-".concat(l),null!=l&&0!==l),ln(t,"fa-pull-".concat(f),null!=f),ln(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(p).map((function(e){return p[e]?e:null})).filter((function(e){return e}))}(n)),mn(o.split(" ")))),l=gn("transform","string"==typeof n.transform?on.b.transform(n.transform):n.transform),f=gn("mask",yn(a)),p=Object(on.a)(u,pn({},s,{},l,{},f,{symbol:i,title:c}));if(!p)return function(){var e;!bn&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var d=p.abstract,m={ref:t};return Object.keys(n).forEach((function(e){_n.defaultProps.hasOwnProperty(e)||(m[e]=n[e])})),On(d[0],m)}_n.displayName="FontAwesomeIcon",_n.propTypes={border:un.a.bool,className:un.a.string,mask:un.a.oneOfType([un.a.object,un.a.array,un.a.string]),fixedWidth:un.a.bool,inverse:un.a.bool,flip:un.a.oneOf(["horizontal","vertical","both"]),icon:un.a.oneOfType([un.a.object,un.a.array,un.a.string]),listItem:un.a.bool,pull:un.a.oneOf(["right","left"]),pulse:un.a.bool,rotation:un.a.oneOf([0,90,180,270]),size:un.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:un.a.bool,symbol:un.a.oneOfType([un.a.bool,un.a.string]),title:un.a.string,transform:un.a.oneOfType([un.a.string,un.a.object]),swapOpacity:un.a.bool},_n.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var On=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=vn(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[hn(t)]=r}return e}),{attrs:{}}),o=r.style,c=void 0===o?{}:o,u=dn(r,["style"]);return i.attrs.style=pn({},i.attrs.style,{},c),t.apply(void 0,[n.tag,pn({},i.attrs,{},u)].concat(mn(a)))}.bind(null,c.a.createElement),jn={prefix:"fas",iconName:"arrow-left",icon:[448,512,[],"f060","M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"]},wn={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]};function En(e){var t=e.invoiceValues,n=Object(o.useState)(!1),r=a()(n,2),c=r[0],u=r[1],s=Object(o.useState)("closed"),l=a()(s,2),f=l[0],p=l[1];return Object(i.createElement)("div",{className:"summary ".concat(f)},Object(i.createElement)("div",{className:"accordion-bar"},Object(i.createElement)("h2",null,Object(Ke.__)("Billing Recap","wubtitle")),Object(i.createElement)("span",{className:"accordion is-hidden-on-desktop ".concat(f),onClick:function(){u(!c),p(c?"opened":"closed")},"aria-hidden":"true"},Object(i.createElement)(_n,{icon:wn}))),Object(i.createElement)("div",{className:"columns"},Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Name","wubtitle"),": "),t.invoice_name),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Email","wubtitle"),": "),t.invoice_email),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Country","wubtitle"),": "),t.country),t.cap?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Postal Code","wubtitle"),": "),t.cap):"",Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Address","wubtitle"),": "),t.address),t.vat_code?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("VAT Code","wubtitle"),": "),t.vat_code):""),Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Lastname","wubtitle"),": "),t.invoice_lastname),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Company Name","wubtitle"),": "),t.company_name),t.province?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Province","wubtitle"),": "),t.province):"",Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("City","wubtitle"),": "),t.city),t.fiscal_code?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Fiscal Code","wubtitle"),": "),t.fiscal_code):"","0000000"!==t.destination_code?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Destination Code","wubtitle"),":"," "),t.destination_code):"")))}function xn(){return(xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Sn=o.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Fn=o.createElement("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"});function Tn(e){return o.createElement("svg",xn({viewBox:"0 0 24 24",fill:"#fff",width:18,height:18},e),Sn,Fn)}var An=function(e){var t=e.price,n=e.taxPercentage,r=e.taxAmount,a=e.total,o=e.taxable,c=e.discountedPrice;return c&&(a=o?c.newTotal:c.price,r=c.newTax),Object(i.createElement)("div",null,Object(i.createElement)("table",{className:"price-table"},Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Price","wubtitle")),c?Object(i.createElement)("td",{className:"val"},Object(i.createElement)("span",{className:"cut-vat"},t," €",Object(i.createElement)("span",{className:"cut-line"})),parseFloat(c.price)," €"):Object(i.createElement)("td",{className:"val"},t," €")),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("VAT","wubtitle")," (",n,"%)"),o?Object(i.createElement)("td",{className:"val"},r," €"):Object(i.createElement)("td",{className:"val"},"0 €"," ",Object(i.createElement)("span",{className:"description"},Object(Ke.__)("no Vat due for you","wubtitle")))),Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Total","wubtitle")),Object(i.createElement)("td",{className:"val"},a," €",Object(i.createElement)("span",{className:"valxm"},Object(Ke.__)(" per month","wubtitle"))))),c?Object(i.createElement)("p",{className:"coupon-notice"},Object(Ke.__)("Coupon applied!","wubtitle")):"")},Cn=function(){return Object(i.createElement)("div",{className:"disclaimer"},Object(i.createElement)("p",null,Object(Ke.__)("When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.","wubtitle")),Object(i.createElement)("p",null,Object(i.createElement)("a",{href:"https://stripe.com/checkout/terms",rel:"noreferrer",target:"_blank"},Object(Ke.__)("Terms and conditions","wubtitle")),Object(i.createElement)("span",null," | "),Object(i.createElement)("a",{href:"https://stripe.com/it/privacy",target:"_blank",rel:"noreferrer"},Object(Ke.__)("Privacy","wubtitle"))))},Pn=function(e){var t=e.name,n=e.update;return Object(i.createElement)("p",{className:"price-name"},n?Object(Ke.__)("Update billing or payment details"):"".concat(Object(Ke.__)("Subscribe to","wubtitle")," ").concat(t," ").concat(Object(Ke.__)("plan","wubtitle")))},kn=function(e){var t=e.currentPlan,n=e.taxPercentage,r=e.renewal,a=e.taxable,o=e.taxAmount,c=e.price,u=e.total;return Object(i.createElement)("table",{className:"price-table"},Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Your plan","wubtitle")),Object(i.createElement)("td",{className:"val"},t)),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(i.createElement)("td",null,Object(Ke.__)("Price","wubtitle"))),Object(i.createElement)("td",{className:"val"},c," €")),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("VAT","wubtitle")," (",n,"%)"),a?Object(i.createElement)("td",{className:"val"},o," €"):Object(i.createElement)("td",{className:"val"},"0 €"," ",Object(i.createElement)("span",{className:"description"},Object(Ke.__)("no Vat due for you","wubtitle")))),Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Total","wubtitle")),Object(i.createElement)("td",{className:"val"},u," €",Object(i.createElement)("span",{className:"valxm"},Object(Ke.__)(" per month","wubtitle")))),r?Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Automatic renewal","wubtitle")),Object(i.createElement)("td",{className:"val"},r)):null)},Nn=function(e){var t=e.update,n=e.price,r=e.name,c=e.taxAmount,u=e.taxPercentage,s=e.taxable,l=e.expirationDate,f=e.discountedPrice,p=parseFloat(n);s&&(p=parseFloat(n)+parseFloat(c));var d=Object(o.useState)(!1),m=a()(d,2),h=m[0],v=m[1];return Object(i.createElement)("div",{className:"column price-column"},Object(i.createElement)("div",{className:"price"},Object(i.createElement)(Pn,{name:r,update:t}),t?null:Object(i.createElement)("p",{className:"mobile-price-info is-hidden-on-desktop"},f?Object(i.createElement)("span",{className:"cut-vat"},Object(i.createElement)("span",{className:"total"},p," €",Object(i.createElement)("span",{className:"cut-line"})),Object(i.createElement)("span",{className:"total"},parseFloat(f.newTotal)," ","€")):Object(i.createElement)("span",{className:"total"},p," € "),Object(i.createElement)("span",{className:"valxm"},Object(Ke.__)("per month","wubtitle")),Object(i.createElement)(Tn,{className:"info-icon",onClick:function(){return v(!h)}})),t?Object(i.createElement)(kn,{currentPlan:r,renewal:l,taxable:s,taxAmount:c,price:n,taxPercentage:u,total:p}):Object(i.createElement)(An,{price:n,taxPercentage:u,taxAmount:c,taxable:s,total:p,discountedPrice:f})),Object(i.createElement)(Cn,null),Object(i.createElement)("div",{className:h?"mobile-price-view opened":"mobile-price-view"},Object(i.createElement)("div",{className:"top"},Object(i.createElement)("div",{className:"nav-back",onClick:function(){return v(!h)},"aria-hidden":"true"},Object(i.createElement)("span",null,Object(i.createElement)(_n,{icon:jn}),"Subscription details")),Object(i.createElement)(Pn,{name:r,update:t}),Object(i.createElement)(An,{price:n,taxPercentage:u,taxAmount:c,taxable:s,total:p,discountedPrice:f})),Object(i.createElement)(Cn,null)))};function In(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Mn="https://js.stripe.com/v3",Rn=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Dn="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Ln=null,zn=function(e){return null!==Ln?Ln:Ln=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(Dn),window.Stripe)t(window.Stripe);else try{var r=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Mn,'"]')),t=0;t<e.length;t++){var n=e[t];if(Rn.test(n.src))return n}return null}();r&&e?console.warn(Dn):r||(r=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(Mn).concat(t);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n}(e)),r.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),r.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}))},Vn=function(e,t){if(null===e)return null;var n=e.apply(void 0,In(t));return function(e){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.8.0"})}(n),n},Bn=Promise.resolve().then((function(){return zn(null)})),Un=!1;Bn.catch((function(e){Un||console.warn(e)}));var $n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Un=!0,Bn.then((function(e){return Vn(e,t)}))};document.getElementById("root")&&s.a.render(Object(i.createElement)((function(){var e=WP_GLOBALS,t=e.stripeKey,n=e.planId,r=e.ajaxUrl,c=e.ajaxNonce,u=e.pricePlan,s=e.namePlan,l=e.taxAmount,f=e.taxPercentage,p=$n(t),d=Object(o.useState)(!1),m=a()(d,2),h=m[0],v=m[1],b=Object(o.useState)(null),y=a()(b,2),g=y[0],_=y[1],O=Object(o.useState)(null),j=a()(O,2),w=j[0],E=j[1],x=Object(o.useState)(null),S=a()(x,2),F=S[0],T=S[1],A=Object(o.useState)(!1),C=a()(A,2),P=C[0],k=C[1],N=Object(o.useState)(!1),I=a()(N,2),M=I[0],R=I[1],D=function(e,t,a){var i=a.name,o=a.email;fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=confirm_subscription&actionCheckout=create&coupon=".concat(g||"","&name=").concat(i,"&email=").concat(o,"&planId=").concat(n,"&_ajax_nonce=").concat(c,"&setupIntent=").concat(JSON.stringify(e))}).then((function(e){return e.json()})).then((function(n){n.success?(E(null),n.data&&"requires_action"===n.data.status?(E(null),function(e,t,n){n.confirmCardPayment(e,{payment_method:t,setup_future_usage:"off_session"}).then((function(e){"succeeded"===e.paymentIntent.status&&(v(!1),E(null),window.opener.thankYouPage("upgrade")),e.error&&(v(!1),E(e.error.message))}))}(n.data.clientSecret,e.paymentMethod,t)):(v(!1),window.opener.thankYouPage("upgrade"))):(v(!1),E(n.data))}))};return Object(i.createElement)("div",{className:"main columns"},Object(i.createElement)(Nn,{update:!1,price:u,name:s,taxAmount:l,taxPercentage:f,taxable:!F||F.tax,discountedPrice:M}),Object(i.createElement)(Yt.Elements,{stripe:p},F&&!P?Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(En,{invoiceValues:F,price:u}),Object(i.createElement)(Jt,{createSubscription:function(e,t,n){v(!0);var a=t.email;fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=create_subscription&actionCheckout=create&email=".concat(a,"&_ajax_nonce=").concat(c,"&invoiceObject=").concat(JSON.stringify(F))}).then((function(e){return e.json()})).then((function(r){r.success?function(e,t,n,r){var a=n.name,i=n.email;r.confirmCardSetup(e,{payment_method:{type:"card",card:t,billing_details:{name:a,email:i}}}).then((function(e){e.setupIntent&&"succeeded"===e.setupIntent.status&&(E(null),D(e,r,n)),e.error&&(v(!1),E(e.error.message))}))}(r.data,e,t,n):(v(!1),E(r.data))}))},error:w,backFunction:function(){k(!0),E(null)},paymentPreValues:null,updatePrice:function(e){R(e||!1)},loading:h,coupon:g,setCoupon:_,planId:n})):Object(i.createElement)(an,{handleSubmit:function(e){v(!0),fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_vat_code&_ajax_nonce=".concat(c,"&vat_code=").concat(e.vat_code,"&country=").concat(e.country,"&price_plan=").concat(u,"&companyName=").concat(e.company_name)}).then((function(e){return e.json()})).then((function(t){v(!1),t.success?(E(null),e.tax=t.data,T(e),P&&k(!1)):E(t.data)}))},invoicePreValues:F,error:w,cancelFunction:function(){window.opener.cancelPayment()},loading:h})))}),null),document.getElementById("root")),document.getElementById("update-form")&&s.a.render(Object(i.createElement)((function(){var e=WP_GLOBALS,t=e.stripeKey,n=e.ajaxUrl,r=e.ajaxNonce,c=e.pricePlan,u=e.invoicePreValues,s=e.paymentPreValues,l=e.namePlan,f=e.expirationDate,p=e.taxAmount,d=e.taxPercentage,m=e.isTaxable,h=$n(t),v=Object(o.useState)(null),b=a()(v,2),y=b[0],g=b[1],_=Object(o.useState)(!1),O=a()(_,2),j=O[0],w=O[1],E=Object(o.useState)(null),x=a()(E,2),S=x[0],F=x[1],T=Object(o.useState)(!1),A=a()(T,2),C=A[0],P=A[1],k=Object(o.useState)(!0),N=a()(k,2),I=N[0],M=N[1];Object(o.useEffect)((function(){null!==m&&M(m)}),[m]);var R=function(e,t,a,i){var o=a.name,c=a.email;i.confirmCardSetup(e,{payment_method:{type:"card",card:t,billing_details:{name:o,email:c}}}).then((function(e){e.setupIntent&&"succeeded"===e.setupIntent.status&&(g(null),function(e,t,a){var i=a.name,o=a.email;fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=confirm_subscription&actionCheckout=updateCard&name=".concat(i,"&email=").concat(o,"&_ajax_nonce=").concat(r,"&setupIntent=").concat(JSON.stringify(e))}).then((function(e){return e.json()})).then((function(e){e.success?(w(!1),window.opener.thankYouPage("update")):(w(!1),g(e.data))}))}(e,0,a)),e.error&&(w(!1),g(e.error.message))}))};return Object(i.createElement)("div",{className:"main columns"},Object(i.createElement)(Nn,{update:!0,price:c,name:l,taxAmount:p,taxPercentage:d,taxable:I,expirationDate:f,discountedPrice:!1}),Object(i.createElement)(Yt.Elements,{stripe:h},S&&!C?Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(En,{invoiceValues:S,price:c}),Object(i.createElement)(Jt,{createSubscription:function(e,t,a){w(!0);var i=t.email,o="updateInvoice";e&&(o="updateCard"),fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=create_subscription&actionCheckout=".concat(o,"&email=").concat(i,"&_ajax_nonce=").concat(r,"&invoiceObject=").concat(JSON.stringify(S))}).then((function(e){return e.json()})).then((function(n){"updateInvoice"===n.data?(w(!1),g(null),window.opener.thankYouPage("update")):n.success?R(n.data,e,t,a):(w(!1),g(n.data))}))},backFunction:function(){P(!0),g(null)},paymentPreValues:s,error:y,setError:g,loading:j})):Object(i.createElement)(an,{handleSubmit:function(e){w(!0),fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_vat_code&_ajax_nonce=".concat(r,"&vat_code=").concat(e.vat_code,"&country=").concat(e.country,"&price_plan=").concat(c)}).then((function(e){return e.json()})).then((function(t){w(!1),t.success?(g(null),M(t.data),F(e),C&&P(!1)):g(t.data)}))},invoicePreValues:S||u,error:y,cancelFunction:function(){window.close()},loading:j})))}),null),document.getElementById("update-form"))}]);
     1!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=217)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t,n){e.exports=n(215)()},function(e,t,n){var r=n(99),a=n(100),i=n(101),o=n(103);e.exports=function(e,t){return r(e)||a(e,t)||i(e,t)||o()}},function(e,t,n){var r=n(104),a=n(61);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t,n){!function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(){}function o(){}t=t&&t.hasOwnProperty("default")?t.default:t,o.resetWarningCache=i;var c=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){e.exports=function(){function e(e,t,n,r,a,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}()})),u=function(e){return null!==e&&"object"===n(e)},s=function e(t,n){if(!u(t)||!u(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var a="[object Object]"===Object.prototype.toString.call(t);if(a!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!a&&!r)return!1;var i=Object.keys(t),o=Object.keys(n);if(i.length!==o.length)return!1;for(var c={},s=0;s<i.length;s+=1)c[i[s]]=!0;for(var l=0;l<o.length;l+=1)c[o[l]]=!0;var f=Object.keys(c);if(f.length!==i.length)return!1;var p=t,d=n;return f.every((function(t){return e(p[t],d[t])}))},l=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},f=function(e){if(null===e||u(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;var t;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},p=function(e){if(function(e){return u(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(f)};var t=f(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}},d=t.createContext(null);d.displayName="ElementsContext";var m=function(e){var n=e.stripe,r=e.options,i=e.children,o=t.useRef(!1),c=t.useRef(!0),u=t.useMemo((function(){return p(n)}),[n]),f=a(t.useState((function(){return{stripe:null,elements:null}})),2),m=f[0],h=f[1],v=l(n),b=l(r);return null!==v&&(v!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),s(r,b)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),o.current||("sync"===u.tag&&(o.current=!0,h({stripe:u.stripe,elements:u.stripe.elements(r)})),"async"===u.tag&&(o.current=!0,u.stripePromise.then((function(e){e&&c.current&&h({stripe:e,elements:e.elements(r)})})))),t.useEffect((function(){return function(){c.current=!1}}),[]),t.useEffect((function(){var e=m.stripe;e&&e._registerWrapper&&e._registerWrapper({name:"react-stripe-js",version:"1.1.2"})}),[m.stripe]),t.createElement(d.Provider,{value:m},i)};m.propTypes={stripe:c.any,options:c.object};var h=function(e){return function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(t.useContext(d),e)},v=function(e){return(0,e.children)(h("mounts <ElementsConsumer>"))};v.propTypes={children:c.func.isRequired};var b=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),function(){n.current&&n.current.apply(n,arguments)}},y=function(e){return u(e)?(e.paymentRequest,r(e,["paymentRequest"])):{}},g=function(){},_=function(e,n){var r,a="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),i=n?function(e){h("mounts <".concat(a,">"));var n=e.id,r=e.className;return t.createElement("div",{id:n,className:r})}:function(n){var r=n.id,i=n.className,o=n.options,c=void 0===o?{}:o,u=n.onBlur,l=void 0===u?g:u,f=n.onFocus,p=void 0===f?g:f,d=n.onReady,m=void 0===d?g:d,v=n.onChange,_=void 0===v?g:v,O=n.onEscape,j=void 0===O?g:O,w=n.onClick,E=void 0===w?g:w,x=h("mounts <".concat(a,">")).elements,S=t.useRef(null),F=t.useRef(null),T=b(m),A=b(l),C=b(p),P=b(E),k=b(_),N=b(j);t.useLayoutEffect((function(){if(null==S.current&&x&&null!=F.current){var t=x.create(e,c);S.current=t,t.mount(F.current),t.on("ready",(function(){return T(t)})),t.on("change",k),t.on("blur",A),t.on("focus",C),t.on("escape",N),t.on("click",P)}}));var I=t.useRef(c);return t.useEffect((function(){I.current&&I.current.paymentRequest!==c.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var e=y(c);0===Object.keys(e).length||s(e,y(I.current))||S.current&&(S.current.update(e),I.current=c)}),[c]),t.useEffect((function(){return function(){S.current&&S.current.destroy()}}),[]),t.createElement("div",{id:r,className:i,ref:F})};return i.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},i.displayName=a,i.__elementType=e,i},O="undefined"==typeof window,j=_("auBankAccount",O),w=_("card",O),E=_("cardNumber",O),x=_("cardExpiry",O),S=_("cardCvc",O),F=_("fpxBank",O),T=_("iban",O),A=_("idealBank",O),C=_("paymentRequestButton",O);e.AuBankAccountElement=j,e.CardCvcElement=S,e.CardElement=w,e.CardExpiryElement=x,e.CardNumberElement=E,e.Elements=m,e.ElementsConsumer=v,e.FpxBankElement=F,e.IbanElement=T,e.IdealBankElement=A,e.PaymentRequestButtonElement=C,e.useElements=function(){return h("calls useElements()").elements},e.useStripe=function(){return h("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(1))},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(63),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=Array.isArray,a=Object.keys,i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var c,u,s,l=r(t),f=r(n);if(l&&f){if((u=t.length)!=n.length)return!1;for(c=u;0!=c--;)if(!e(t[c],n[c]))return!1;return!0}if(l!=f)return!1;var p=t instanceof Date,d=n instanceof Date;if(p!=d)return!1;if(p&&d)return t.getTime()==n.getTime();var m=t instanceof RegExp,h=n instanceof RegExp;if(m!=h)return!1;if(m&&h)return t.toString()==n.toString();var v=a(t);if((u=v.length)!==a(n).length)return!1;for(c=u;0!=c--;)if(!i.call(n,v[c]))return!1;if(o&&t instanceof Element&&n instanceof Element)return t===n;for(c=u;0!=c--;)if(!("_owner"===(s=v[c])&&t.$$typeof||e(t[s],n[s])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},function(e,t,n){"use strict";function r(e){this._maxSize=e,this.clear()}r.prototype.clear=function(){this._size=0,this._values=Object.create(null)},r.prototype.get=function(e){return this._values[e]},r.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var a=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,c=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,u=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new r(512),l=new r(512),f=new r(512);function p(e){return s.get(e)||s.set(e,d(e).map((function(e){return e.replace(u,"$2")})))}function d(e){return e.match(a)}function m(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function h(e){return!m(e)&&(function(e){return e.match(o)&&!e.match(i)}(e)||function(e){return c.test(e)}(e))}e.exports={Cache:r,split:d,normalizePath:p,setter:function(e){var t=p(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,a=t.length;r<a-1;)e=e[t[r++]];e[t[r]]=n}))},getter:function(e,t){var n=p(e);return f.get(e)||f.set(e,(function(e){for(var r=0,a=n.length;r<a;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(m(t)||i.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,a,i,o,c=e.length;for(a=0;a<c;a++)(r=e[a])&&(h(r)&&(r='"'+r+'"'),o=m(r),i=!o&&/^\d+$/.test(r),t.call(n,r,o,i,a,e))}(Array.isArray(e)?e:d(e),t,n)}}},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t,n){var r=n(15),a=n(105),i=n(106),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},function(e,t,n){var r=n(112),a=n(115);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(8).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(130);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(70),a=n(143),i=n(47);e.exports=function(e){return i(e)?r(e):a(e)}},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.apply(e)}function a(e){this.status="pending",this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function i(e){return e&&"function"==typeof e.then}function o(e){return e}if(a.prototype={then:function(e,t){var n=a.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:n,nextFn:e,catchFn:t}),n;if(t)try{var r=t(this._error);return i(r)?(this._chainPromiseData(r,n),n):a.resolve(r)._setParent(this)}catch(e){return a.reject(e)._setParent(this)}return a.reject(this._error)._setParent(this)}return this._continuations.push({promise:n,nextFn:e,catchFn:t}),this._runResolutions(),n},catch:function(e){if(this._isResolved())return a.resolve(this._data)._setParent(this);var t=a.unresolved()._setParent(this);return this._continuations.push({promise:t,catchFn:e}),this._runRejections(),t},finally:function(e){var t=!1;function n(n,r){if(!t){t=!0,e||(e=o);var a=e(n);return i(a)?a.then((function(){if(r)throw r;return n})):n}}return this.then((function(e){return n(e)})).catch((function(e){return n(null,e)}))},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce((function(e,t){if(t.promise){var n={promise:t.promise,children:t.promise._findAncestry()};e.push(n)}return e}),[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var t=this._findFirstPending();t&&(t._data=e,t._setResolved())},_findFirstPending:function(){return this._findFirstAncestor((function(e){return e._isPending&&e._isPending()}))},_findFirstPaused:function(){return this._findFirstAncestor((function(e){return e._paused}))},_findFirstAncestor:function(e){for(var t,n=this;n;)e(n)&&(t=n),n=n._parent;return t},_failWith:function(e){var t=this._findFirstPending();t&&(t._error=e,t._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var e=this._error,t=this._takeContinuations(),n=this;t.forEach((function(t){if(t.catchFn)try{var r=t.catchFn(e);n._handleUserFunctionResult(r,t.promise)}catch(e){t.promise.reject(e)}else t.promise.reject(e)}))}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var e=this._takeContinuations();if(i(this._data))return this._handleWhenResolvedDataIsPromise(this._data);var t=this._data,n=this;e.forEach((function(e){if(e.nextFn)try{var r=e.nextFn(t);n._handleUserFunctionResult(r,e.promise)}catch(t){n._handleResolutionError(t,e)}else e.promise&&e.promise.resolve(t)}))}},_handleResolutionError:function(e,t){if(this._setRejected(),t.catchFn)try{return void t.catchFn(e)}catch(t){e=t}t.promise&&t.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var t=this;return e.then((function(e){t._data=e,t._runResolutions()})).catch((function(e){t._error=e,t._setRejected(),t._runRejections()}))},_handleUserFunctionResult:function(e,t){i(e)?this._chainPromiseData(e,t):t.resolve(e)},_chainPromiseData:function(e,t){e.then((function(e){t.resolve(e)})).catch((function(e){t.reject(e)}))},_setResolved:function(){this.status="resolved",this._paused||this._runResolutions()},_setRejected:function(){this.status="rejected",this._paused||this._runRejections()},_isPending:function(){return"pending"===this.status},_isResolved:function(){return"resolved"===this.status},_isRejected:function(){return"rejected"===this.status}},a.resolve=function(e){return new a((function(t,n){i(e)?e.then((function(e){t(e)})).catch((function(e){n(e)})):t(e)}))},a.reject=function(e){return new a((function(t,n){n(e)}))},a.unresolved=function(){return new a((function(e,t){this.resolve=e,this.reject=t}))},a.all=function(){var e=r(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new a((function(t,n){var r=[],i=0,o=!1;e.forEach((function(c,u){a.resolve(c).then((function(n){r[u]=n,(i+=1)===e.length&&t(r)})).catch((function(e){!function(e){o||(o=!0,n(e))}(e)}))}))})):a.resolve([])},Promise===a)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var c=Promise;a.installGlobally=function(e){if(Promise===a)return e;var t=function(e){if(void 0===e||e.__patched)return e;var t=e;return(e=function(){t.apply(this,r(arguments))}).__patched=!0,e}(e);return Promise=a,t},a.uninstallGlobally=function(){Promise===a&&(Promise=c)},e.exports={SynchronousPromise:a}},function(e,t,n){var r=n(24);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(153),a=n(37),i=n(154),o=n(155),c=n(156),u=n(13),s=n(66),l=s(r),f=s(a),p=s(i),d=s(o),m=s(c),h=u;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||a&&"[object Map]"!=h(new a)||i&&"[object Promise]"!=h(i.resolve())||o&&"[object Set]"!=h(new o)||c&&"[object WeakMap]"!=h(new c))&&(h=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},function(e,t){function n(e,t,n,r,a,i,o){try{var c=e[i](o),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,i){var o=e.apply(t,r);function c(e){n(o,a,i,c,u,"next",e)}function u(e){n(o,a,i,c,u,"throw",e)}c(void 0)}))}}},function(e){e.exports=JSON.parse('["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"]')},function(e,t,n){var r=n(13),a=n(9);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(14)(Object,"create");e.exports=r},function(e,t,n){var r=n(120),a=n(121),i=n(122),o=n(123),c=n(124);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(36);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(126);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(138);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(69),a=n(30);e.exports=function(e,t,n,i){var o=!n;n||(n={});for(var c=-1,u=t.length;++c<u;){var s=t[c],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?a(n,s,l):r(n,s,l)}return n}},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){var r=n(30),a=n(84),i=n(85);e.exports=function(e,t){var n={};return t=i(t,3),a(e,(function(e,a,i){r(n,a,t(e,a,i))})),n}},function(e,t,n){var r=n(7),a=n(24),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(o.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(109),a=n(125),i=n(127),o=n(128),c=n(129);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(14)(n(8),"Map");e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(41),a=n(137),i=n(69),o=n(139),c=n(145),u=n(148),s=n(48),l=n(149),f=n(151),p=n(77),d=n(152),m=n(21),h=n(157),v=n(158),b=n(163),y=n(7),g=n(42),_=n(165),O=n(16),j=n(167),w=n(18),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,x,S,F,T){var A,C=1&n,P=2&n,k=4&n;if(x&&(A=F?x(t,S,F,T):x(t)),void 0!==A)return A;if(!O(t))return t;var N=y(t);if(N){if(A=h(t),!C)return s(t,A)}else{var I=m(t),M="[object Function]"==I||"[object GeneratorFunction]"==I;if(g(t))return u(t,C);if("[object Object]"==I||"[object Arguments]"==I||M&&!F){if(A=P||M?{}:b(t),!C)return P?f(t,c(A,t)):l(t,o(A,t))}else{if(!E[I])return F?t:{};A=v(t,I,C)}}T||(T=new r);var R=T.get(t);if(R)return R;T.set(t,A),j(t)?t.forEach((function(r){A.add(e(r,n,x,r,t,T))})):_(t)&&t.forEach((function(r,a){A.set(a,e(r,n,x,a,t,T))}));var D=k?P?d:p:P?keysIn:w,L=N?void 0:D(t);return a(L||t,(function(r,a){L&&(r=t[a=r]),i(A,a,e(r,n,x,a,t,T))})),A}},function(e,t,n){var r=n(27),a=n(132),i=n(133),o=n(134),c=n(135),u=n(136);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=c,s.prototype.set=u,e.exports=s},function(e,t,n){(function(e){var r=n(8),a=n(141),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=o&&o.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;e.exports=u}).call(this,n(43)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(63),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c}).call(this,n(43)(e))},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(65),a=n(39);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(150),a=n(74),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:a;e.exports=c},function(e,t,n){var r=n(72)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(79);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(40);e.exports=function(e,t){return r(e,5,t="function"==typeof t?t:void 0)}},function(e,t,n){var r=n(15),a=n(48),i=n(21),o=n(47),c=n(169),u=n(170),s=n(80),l=n(81),f=n(82),p=n(173),d=r?r.iterator:void 0;e.exports=function(e){if(!e)return[];if(o(e))return c(e)?f(e):a(e);if(d&&e[d])return u(e[d]());var t=i(e);return("[object Map]"==t?s:"[object Set]"==t?l:p)(e)}},function(e,t,n){var r=n(91)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},function(e,t,n){var r=n(13),a=n(50),i=n(9),o=Function.prototype,c=Object.prototype,u=o.toString,s=c.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},function(e,t,n){var r=n(40);e.exports=function(e){return r(e,4)}},function(e,t,n){var r=n(38),a=n(48),i=n(7),o=n(24),c=n(64),u=n(20),s=n(17);e.exports=function(e){return i(e)?r(e,u):o(e)?[e]:a(c(s(e)))}},function(e,t,n){"use strict";e.exports=n(209)},function(e,t,n){"use strict";var r=n(210),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function u(e){return r.isMemo(e)?o:c[e.$$typeof]||a}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=o;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=d(n);a&&a!==m&&e(t,a,r)}var o=l(n);f&&(o=o.concat(f(n)));for(var c=u(t),h=u(n),v=0;v<o.length;++v){var b=o[v];if(!(i[b]||r&&r[b]||h&&h[b]||c&&c[b])){var y=p(n,b);try{s(t,b,y)}catch(e){}}}}return t}},function(e,t,n){"use strict";(function(e,r){function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return Ee})),n.d(t,"b",(function(){return we}));var s=function(){},l={},f={},p={mark:s,measure:s};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(p=performance)}catch(e){}var d=(l.navigator||{}).userAgent,m=void 0===d?"":d,h=l,v=f,b=p,y=(h.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&"function"==typeof v.createElement),g=(~m.indexOf("MSIE")||m.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),_=g.concat([11,12,13,14,15,16,17,18,19,20]),O={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},j=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",O.GROUP,O.SWAP_OPACITY,O.PRIMARY,O.SECONDARY].concat(g.map((function(e){return"".concat(e,"x")}))).concat(_.map((function(e){return"w-".concat(e)}))),h.FontAwesomeConfig||{});if(v&&"function"==typeof v.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=u(e,2),n=t[0],r=t[1],a=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=v.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=a&&(j[r]=a)}))}var w=c({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},j);w.autoReplaceSvg||(w.observeMutations=!1);var E=c({},w);h.FontAwesomeConfig=E;var x=h||{};x.___FONT_AWESOME___||(x.___FONT_AWESOME___={}),x.___FONT_AWESOME___.styles||(x.___FONT_AWESOME___.styles={}),x.___FONT_AWESOME___.hooks||(x.___FONT_AWESOME___.hooks={}),x.___FONT_AWESOME___.shims||(x.___FONT_AWESOME___.shims=[]);var S=x.___FONT_AWESOME___,F=[];y&&((v.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(v.readyState)||v.addEventListener("DOMContentLoaded",(function e(){v.removeEventListener("DOMContentLoaded",e),1,F.map((function(e){return e()}))})));var T,A=function(){},C=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,P=void 0===r?setTimeout:r,k=[];function N(){for(var e=0;e<k.length;e++)k[e][0](k[e][1]);k=[],T=!1}function I(e,t){k.push([e,t]),T||(T=!0,P(N,0))}function M(e){var t=e.owner,n=t._state,r=t._data,a=e[n],i=e.then;if("function"==typeof a){n="fulfilled";try{r=a(r)}catch(e){z(i,e)}}R(i,r)||("fulfilled"===n&&D(i,r),"rejected"===n&&z(i,r))}function R(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===a(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?L(e,r):D(e,r))}),(function(t){n||(n=!0,z(e,t))})),!0}}catch(t){return n||z(e,t),!0}return!1}function D(e,t){e!==t&&R(e,t)||L(e,t)}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,I(B,e))}function z(e,t){"pending"===e._state&&(e._state="settled",e._data=t,I(U,e))}function V(e){e._then=e._then.forEach(M)}function B(e){e._state="fulfilled",V(e)}function U(t){t._state="rejected",V(t),!t._handled&&C&&e.process.emit("unhandledRejection",t._data,t)}function $(t){e.process.emit("rejectionHandled",t)}function G(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof G==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){z(t,e)}try{e((function(e){D(t,e)}),n)}catch(e){n(e)}}(e,this)}G.prototype={constructor:G,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(A),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&C&&I($,this)),"fulfilled"===this._state||"rejected"===this._state?I(M,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},G.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new G((function(t,n){var r=[],a=0;function i(e){return a++,function(n){r[e]=n,--a||t(r)}}for(var o,c=0;c<e.length;c++)(o=e[c])&&"function"==typeof o.then?o.then(i(c),n):r[c]=o;a||t(r)}))},G.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new G((function(t,n){for(var r,a=0;a<e.length;a++)(r=e[a])&&"function"==typeof r.then?r.then(t,n):t(r)}))},G.resolve=function(e){return e&&"object"===a(e)&&e.constructor===G?e:new G((function(t){t(e)}))},G.reject=function(e){return new G((function(t,n){n(e)}))};var W={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function q(e){if(e&&y){var t=v.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=v.head.childNodes,r=null,a=n.length-1;a>-1;a--){var i=n[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return v.head.insertBefore(t,r),e}}function H(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Y(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function K(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Z(e){return e.size!==W.size||e.x!==W.x||e.y!==W.y||e.rotate!==W.rotate||e.flipX||e.flipY}function J(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(i," ").concat(o," ").concat(c)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var X={x:0,y:0,width:"100%",height:"100%"};function Q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ee(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,i=e.iconName,o=e.transform,u=e.symbol,s=e.title,l=e.maskId,f=e.titleId,p=e.extra,d=e.watchable,m=void 0!==d&&d,h=r.found?r:n,v=h.width,b=h.height,y="fa-w-".concat(Math.ceil(v/b*16)),g=[E.replacementClass,i?"".concat(E.familyPrefix,"-").concat(i):"",y].filter((function(e){return-1===p.classes.indexOf(e)})).concat(p.classes).join(" "),_={children:[],attributes:c({},p.attributes,{"data-prefix":a,"data-icon":i,class:g,role:p.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(b)})};m&&(_.attributes["data-fa-i2svg"]=""),s&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||H())},children:[s]});var O=c({},_,{prefix:a,iconName:i,main:n,mask:r,maskId:l,transform:o,symbol:u,styles:p.styles}),j=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,a=e.main,i=e.mask,o=e.maskId,u=e.transform,s=a.width,l=a.icon,f=i.width,p=i.icon,d=J({transform:u,containerWidth:f,iconWidth:s}),m={tag:"rect",attributes:c({},X,{fill:"white"})},h=l.children?{children:l.children.map(Q)}:{},v={tag:"g",attributes:c({},d.inner),children:[Q(c({tag:l.tag,attributes:c({},l.attributes,d.path)},h))]},b={tag:"g",attributes:c({},d.outer),children:[v]},y="mask-".concat(o||H()),g="clip-".concat(o||H()),_={tag:"mask",attributes:c({},X,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,b]},O={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(t=p,"g"===t.tag?t.children:[t])},_]};return n.push(O,{tag:"rect",attributes:c({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(y,")")},X)}),{children:n,attributes:r}}(O):function(e){var t=e.children,n=e.attributes,r=e.main,a=e.transform,i=K(e.styles);if(i.length>0&&(n.style=i),Z(a)){var o=J({transform:a,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:c({},o.outer),children:[{tag:"g",attributes:c({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:c({},r.icon.attributes,o.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(O),w=j.children,x=j.attributes;return O.children=w,O.attributes=x,u?function(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:c({},a,{id:!0===i?"".concat(t,"-").concat(E.familyPrefix,"-").concat(n):i}),children:r}]}]}(O):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,i=e.styles,o=e.transform;if(Z(o)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};a.style=K(c({},i,{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(O)}var te=function(){},ne=(E.measurePerformance&&b&&b.mark&&b.measure,function(e,t,n,r){var a,i,o,c=Object.keys(e),u=c.length,s=void 0!==r?function(e,t){return function(n,r,a,i){return e.call(t,n,r,a,i)}}(t,r):t;for(void 0===n?(a=1,o=e[c[0]]):(a=0,o=n);a<u;a++)o=s(o,e[i=c[a]],i,e);return o});function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,i=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof S.hooks.addPack||a?S.styles[e]=c({},S.styles[e]||{},i):S.hooks.addPack(e,i),"fas"===e&&re("fa",t)}var ae=S.styles,ie=S.shims,oe=function(){var e=function(e){return ne(ae,(function(t,n,r){return t[r]=ne(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in ae;ne(ie,(function(e,n){var r=n[0],a=n[1],i=n[2];return"far"!==a||t||(a="fas"),e[r]={prefix:a,iconName:i},e}),{})};oe();S.styles;function ce(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ue(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,i=void 0===a?[]:a;return"string"==typeof e?Y(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Y(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(ue).join(""),"</").concat(t,">")}var se=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e}),t):t};function le(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}le.prototype=Object.create(Error.prototype),le.prototype.constructor=le;var fe={fill:"currentColor"},pe={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},de={tag:"path",attributes:c({},fe,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},me=c({},pe,{attributeName:"opacity"});c({},fe,{cx:"256",cy:"364",r:"28"}),c({},pe,{attributeName:"r",values:"28;14;28;28;14;28;"}),c({},me,{values:"1;0;1;1;0;1;"}),c({},fe,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),c({},me,{values:"1;0;0;0;0;1;"}),c({},fe,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),c({},me,{values:"0;0;1;1;0;0;"}),S.styles;function he(e){var t=e[0],n=e[1],r=u(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.GROUP)},children:[{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}S.styles;function ve(){var e="svg-inline--fa",t=E.familyPrefix,n=E.replacementClass,r='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if("fa"!==t||n!==e){var a=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(e),"g");r=r.replace(a,".".concat(t,"-")).replace(i,"--".concat(t,"-")).replace(o,".".concat(n))}return r}function be(){E.autoAddCss&&!je&&(q(ve()),je=!0)}function ye(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return ue(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(y){var t=v.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ge(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return ce(Oe.definitions,n,r)||ce(S.styles,n,r)}var _e,Oe=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach((function(t){e.definitions[t]=c({},e.definitions[t]||{},a[t]),re(t,a[t]),oe()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],a=r.prefix,i=r.iconName,o=r.icon;e[a]||(e[a]={}),e[a][i]=o})),e}}])&&i(t.prototype,n),r&&i(t,r),e}()),je=!1,we={transform:function(e){return se(e)}},Ee=(_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?W:n,a=t.symbol,i=void 0!==a&&a,o=t.mask,u=void 0===o?null:o,s=t.maskId,l=void 0===s?null:s,f=t.title,p=void 0===f?null:f,d=t.titleId,m=void 0===d?null:d,h=t.classes,v=void 0===h?[]:h,b=t.attributes,y=void 0===b?{}:b,g=t.styles,_=void 0===g?{}:g;if(e){var O=e.prefix,j=e.iconName,w=e.icon;return ye(c({type:"icon"},e),(function(){return be(),E.autoA11y&&(p?y["aria-labelledby"]="".concat(E.replacementClass,"-title-").concat(m||H()):(y["aria-hidden"]="true",y.focusable="false")),ee({icons:{main:he(w),mask:u?he(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:O,iconName:j,transform:c({},W,r),symbol:i,title:p,maskId:l,titleId:m,extra:{attributes:y,styles:_,classes:v}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ge(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:ge(r||{})),_e(n,c({},t,{mask:r}))})}).call(this,n(25),n(212).setImmediate)},function(e,t,n){var r=n(62),a=n(67),i=n(7),o=n(68),c=n(39),u=n(20);e.exports=function(e,t,n){for(var s=-1,l=(t=r(t,e)).length,f=!1;++s<l;){var p=u(t[s]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++s!=l?f:!!(l=null==e?0:e.length)&&c(l)&&o(p,l)&&(i(e)||a(e))}},function(e,t,n){var r=n(7),a=n(34),i=n(64),o=n(17);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:i(o(e))}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(25))},function(e,t,n){var r=n(107),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(i,"$1"):n||e)})),t}));e.exports=o},function(e,t,n){var r=n(13),a=n(16);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(131),a=n(9),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(30),a=n(36),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];i.call(e,t)&&a(o,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(140),a=n(67),i=n(7),o=n(42),c=n(68),u=n(71),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&a(e),f=!n&&!l&&o(e),p=!n&&!l&&!f&&u(e),d=n||l||f||p,m=d?r(e.length,String):[],h=m.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||m.push(v);return m}},function(e,t,n){var r=n(142),a=n(44),i=n(45),o=i&&i.isTypedArray,c=o?a(o):r;e.exports=c},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(70),a=n(146),i=n(47);e.exports=function(e){return i(e)?r(e,!0):a(e)}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(76),a=n(50),i=n(49),o=n(74),c=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=a(e);return t}:o;e.exports=c},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t,n){var r=n(78),a=n(49),i=n(18);e.exports=function(e){return r(e,i,a)}},function(e,t,n){var r=n(76),a=n(7);e.exports=function(e,t,n){var i=t(e);return a(e)?i:r(i,n(e))}},function(e,t,n){var r=n(8).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(171),a=n(83),i=n(172);e.exports=function(e){return a(e)?i(e):r(e)}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){var r=n(175),a=n(18);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(177),a=n(188),i=n(192),o=n(7),c=n(193);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?o(e)?a(e[0],e[1]):r(e):c(e)}},function(e,t,n){var r=n(179),a=n(9);e.exports=function e(t,n,i,o,c){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,i,o,e,c))}},function(e,t,n){var r=n(180),a=n(183),i=n(184);e.exports=function(e,t,n,o,c,u){var s=1&n,l=e.length,f=t.length;if(l!=f&&!(s&&f>l))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d<l;){var v=e[d],b=t[d];if(o)var y=s?o(b,v,d,t,e,u):o(v,b,d,e,t,u);if(void 0!==y){if(y)continue;m=!1;break}if(h){if(!a(t,(function(e,t){if(!i(h,t)&&(v===e||c(v,e,n,o,u)))return h.push(t)}))){m=!1;break}}else if(v!==b&&!c(v,b,n,o,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},function(e,t,n){var r=n(16);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(62),a=n(20);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[a(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(196),a=n(197),i=n(200),o=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(a(t).replace(o,"")),e,"")}}},function(e,t,n){var r=n(204),a=n(91)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=a},function(e,t,n){var r=n(30),a=n(84),i=n(85);e.exports=function(e,t){var n={};return t=i(t,3),a(e,(function(e,a,i){r(n,t(e,a,i),e)})),n}},function(e,t){function n(e,t){var n=e.length,r=new Array(n),a={},i=n,o=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var a=e[n];t.has(a[0])||t.set(a[0],new Set),t.has(a[1])||t.set(a[1],new Set),t.get(a[0]).add(a[1])}return t}(t),c=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!c.has(e[0])||!c.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)a[i]||u(e[i],i,new Set);return r;function u(e,t,i){if(i.has(e)){var s;try{s=", node was:"+JSON.stringify(e)}catch(e){s=""}throw new Error("Cyclic dependency"+s)}if(!c.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!a[t]){a[t]=!0;var l=o.get(e)||new Set;if(t=(l=Array.from(l)).length){i.add(e);do{var f=l[--t];u(f,c.get(f),i)}while(t);i.delete(e)}r[--n]=e}}}e.exports=function(e){return n(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var a=e[n];t.add(a[0]),t.add(a[1])}return Array.from(t)}(e),e)},e.exports.array=n},function(e,t,n){var r=n(40);e.exports=function(e){return r(e,5)}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e){e.exports=JSON.parse('{"AF":"Afghanistan","AX":"Aland Islands","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua And Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BA":"Bosnia And Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CV":"Cape Verde","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":"China","CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":"Congo","CD":"Congo, Democratic Republic","CK":"Cook Islands","CR":"Costa Rica","CI":"Cote D\\"Ivoire","HR":"Croatia","CU":"Cuba","CY":"Cyprus","CZ":"Czech Republic","DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands (Malvinas)","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":"Gambia","GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GG":"Guernsey","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island & Mcdonald Islands","VA":"Holy See (Vatican City State)","HN":"Honduras","HK":"Hong Kong","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":"Iran, Islamic Republic Of","IQ":"Iraq","IE":"Ireland","IM":"Isle Of Man","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JE":"Jersey","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KR":"Korea","KW":"Kuwait","KG":"Kyrgyzstan","LA":"Lao People\\"s Democratic Republic","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libyan Arab Jamahiriya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao","MK":"Macedonia","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia, Federated States Of","MD":"Moldova","MC":"Monaco","MN":"Mongolia","ME":"Montenegro","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":"Netherlands","AN":"Netherlands Antilles","NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":"Palestinian Territory, Occupied","PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":"Pitcairn","PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Reunion","RO":"Romania","RU":"Russian Federation","RW":"Rwanda","BL":"Saint Barthelemy","SH":"Saint Helena","KN":"Saint Kitts And Nevis","LC":"Saint Lucia","MF":"Saint Martin","PM":"Saint Pierre And Miquelon","VC":"Saint Vincent And Grenadines","WS":"Samoa","SM":"San Marino","ST":"Sao Tome And Principe","SA":"Saudi Arabia","SN":"Senegal","RS":"Serbia","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia And Sandwich Isl.","ES":"Spain","LK":"Sri Lanka","SD":"Sudan","SR":"Suriname","SJ":"Svalbard And Jan Mayen","SZ":"Swaziland","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","TW":"Taiwan","TJ":"Tajikistan","TZ":"Tanzania","TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad And Tobago","TN":"Tunisia","TR":"Turkey","TM":"Turkmenistan","TC":"Turks And Caicos Islands","TV":"Tuvalu","UG":"Uganda","UA":"Ukraine","AE":"United Arab Emirates","GB":"United Kingdom","US":"United States","UM":"United States Outlying Islands","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","WF":"Wallis And Futuna","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe"}')},function(e){e.exports=JSON.parse('{"AG":"Agrigento","AL":"Alessandria","AN":"Ancona","AR":"Arezzo","AP":"Ascoli Piceno","AT":"Asti","AV":"Avellino","BA":"Bari","BT":"Barletta-Andria-Trani","BL":"Belluno","BN":"Benevento","BG":"Bergamo","BI":"Biella","BO":"Bologna","BZ":"Bolzano/Bozen","BS":"Brescia","BR":"Brindisi","CA":"Cagliari","CL":"Caltanissetta","CB":"Campobasso","CI":"Carbonia-Iglesias","CE":"Caserta","CT":"Catania","CZ":"Catanzaro","CH":"Chieti","CO":"Como","CS":"Cosenza","CR":"Cremona","KR":"Crotone","CN":"Cuneo","EN":"Enna","FM":"Fermo","FE":"Ferrara","FI":"Firenze","FG":"Foggia","FC":"Forlì-Cesena","FR":"Frosinone","GE":"Genova","GO":"Gorizia","GR":"Grosseto","IM":"Imperia","IS":"Isernia","AQ":"L\'Aquila","SP":"La Spezia","LT":"Latina","LE":"Lecce","LC":"Lecco","LI":"Livorno","LO":"Lodi","LU":"Lucca","MC":"Macerata","MN":"Mantova","MS":"Massa-Carrara","MT":"Matera","VS":"Medio Campidano","ME":"Messina","MI":"Milano","MO":"Modena","MB":"Monza e della Brianza","NA":"Napoli","NO":"Novara","NU":"Nuoro","OG":"Ogliastra","OT":"Olbia-Tempio","OR":"Oristano","PD":"Padova","PA":"Palermo","PR":"Parma","PV":"Pavia","PG":"Perugia","PU":"Pesaro e Urbino","PE":"Pescara","PC":"Piacenza","PI":"Pisa","PT":"Pistoia","PN":"Pordenone","PZ":"Potenza","PO":"Prato","RG":"Ragusa","RA":"Ravenna","RC":"Reggio di Calabria","RE":"Reggio nell\'Emilia","RI":"Rieti","RN":"Rimini","RM":"Roma","RO":"Rovigo","SA":"Salerno","SS":"Sassari","SV":"Savona","SI":"Siena","SR":"Siracusa","SO":"Sondrio","TA":"Taranto","TE":"Teramo","TR":"Terni","TO":"Torino","TP":"Trapani","TN":"Trento","TV":"Treviso","TS":"Trieste","UD":"Udine","AO":"Valle d\'Aosta","VA":"Varese","VE":"Venezia","VB":"Verbano-Cusio-Ossola","VC":"Vercelli","VR":"Verona","VV":"Vibo Valentia","VI":"Vicenza","VT":"Viterbo"}')},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){var r=n(15),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[c]=n:delete e[c]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(108);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(35);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},function(e,t,n){var r=n(110),a=n(27),i=n(37);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||a),string:new r}}},function(e,t,n){var r=n(111),a=n(116),i=n(117),o=n(118),c=n(119);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(26);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(65),a=n(113),i=n(16),o=n(66),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,l=u.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||a(e))&&(r(e)?p:c).test(o(e))}},function(e,t,n){var r,a=n(114),i=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(8)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(26),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(26),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},function(e,t,n){var r=n(26);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(28),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(28);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(28);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(28);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(29);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(29);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(29);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(29);e.exports=function(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},function(e,t,n){var r=n(15),a=n(38),i=n(7),o=n(24),c=r?r.prototype:void 0,u=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return a(t,e)+"";if(o(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(13),a=n(9);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(27);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(27),a=n(37),i=n(35);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!a||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(14),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},function(e,t,n){var r=n(31),a=n(18);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(13),a=n(39),i=n(9),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&a(e.length)&&!!o[r(e)]}},function(e,t,n){var r=n(46),a=n(144),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(72)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(31),a=n(73);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t,n){var r=n(16),a=n(46),i=n(147),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=a(e),n=[];for(var c in e)("constructor"!=c||!t&&o.call(e,c))&&n.push(c);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(8),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a?r.Buffer:void 0,c=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(43)(e))},function(e,t,n){var r=n(31),a=n(49);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}},function(e,t,n){var r=n(31),a=n(75);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t,n){var r=n(78),a=n(75),i=n(73);e.exports=function(e){return r(e,i,a)}},function(e,t,n){var r=n(14)(n(8),"DataView");e.exports=r},function(e,t,n){var r=n(14)(n(8),"Promise");e.exports=r},function(e,t,n){var r=n(14)(n(8),"Set");e.exports=r},function(e,t,n){var r=n(14)(n(8),"WeakMap");e.exports=r},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(51),a=n(159),i=n(160),o=n(161),c=n(162);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return a(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Set]":return new u;case"[object Symbol]":return o(e)}}},function(e,t,n){var r=n(51);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(15),a=r?r.prototype:void 0,i=a?a.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(51);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(164),a=n(50),i=n(46);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(a(e))}},function(e,t,n){var r=n(16),a=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(a)return a(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(166),a=n(44),i=n(45),o=i&&i.isMap,c=o?a(o):r;e.exports=c},function(e,t,n){var r=n(21),a=n(9);e.exports=function(e){return a(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(168),a=n(44),i=n(45),o=i&&i.isSet,c=o?a(o):r;e.exports=c},function(e,t,n){var r=n(21),a=n(9);e.exports=function(e){return a(e)&&"[object Set]"==r(e)}},function(e,t,n){var r=n(13),a=n(7),i=n(9);e.exports=function(e){return"string"==typeof e||!a(e)&&i(e)&&"[object String]"==r(e)}},function(e,t){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",a="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+a+")"+"?",s="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,o,c].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),l="(?:"+[i+r+"?",r,o,c,n].join("|")+")",f=RegExp(a+"(?="+a+")|"+l+s,"g");e.exports=function(e){return e.match(f)||[]}},function(e,t,n){var r=n(174),a=n(18);e.exports=function(e){return null==e?[]:r(e,a(e))}},function(e,t,n){var r=n(38);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t,n){var r=n(176)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,i=Object(t),o=r(t),c=o.length;c--;){var u=o[e?c:++a];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(178),a=n(187),i=n(89);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(41),a=n(86);e.exports=function(e,t,n,i){var o=n.length,c=o,u=!i;if(null==e)return!c;for(e=Object(e);o--;){var s=n[o];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<c;){var l=(s=n[o])[0],f=e[l],p=s[1];if(u&&s[2]){if(void 0===f&&!(l in e))return!1}else{var d=new r;if(i)var m=i(f,p,l,e,t,d);if(!(void 0===m?a(p,f,3,i,d):m))return!1}}return!0}},function(e,t,n){var r=n(41),a=n(87),i=n(185),o=n(186),c=n(21),u=n(7),s=n(42),l=n(71),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var v=u(e),b=u(t),y=v?"[object Array]":c(e),g=b?"[object Array]":c(t),_=(y="[object Arguments]"==y?f:y)==f,O=(g="[object Arguments]"==g?f:g)==f,j=y==g;if(j&&s(e)){if(!s(t))return!1;v=!0,_=!1}if(j&&!_)return h||(h=new r),v||l(e)?a(e,t,n,d,m,h):i(e,t,y,n,d,m,h);if(!(1&n)){var w=_&&p.call(e,"__wrapped__"),E=O&&p.call(t,"__wrapped__");if(w||E){var x=w?e.value():e,S=E?t.value():t;return h||(h=new r),m(x,S,n,d,h)}}return!!j&&(h||(h=new r),o(e,t,n,d,m,h))}},function(e,t,n){var r=n(35),a=n(181),i=n(182);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=a,o.prototype.has=i,e.exports=o},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(15),a=n(79),i=n(36),o=n(87),c=n(80),u=n(81),s=r?r.prototype:void 0,l=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new a(e),new a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=c;case"[object Set]":var m=1&r;if(d||(d=u),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var v=o(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,n){var r=n(77),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,c){var u=1&n,s=r(e),l=s.length;if(l!=r(t).length&&!u)return!1;for(var f=l;f--;){var p=s[f];if(!(u?p in t:a.call(t,p)))return!1}var d=c.get(e);if(d&&c.get(t))return d==t;var m=!0;c.set(e,t),c.set(t,e);for(var h=u;++f<l;){var v=e[p=s[f]],b=t[p];if(i)var y=u?i(b,v,p,t,e,c):i(v,b,p,e,t,c);if(!(void 0===y?v===b||o(v,b,n,i,c):y)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var g=e.constructor,_=t.constructor;g==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof _&&_ instanceof _||(m=!1)}return c.delete(e),c.delete(t),m}},function(e,t,n){var r=n(88),a=n(18);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var i=t[n],o=e[i];t[n]=[i,o,r(o)]}return t}},function(e,t,n){var r=n(86),a=n(189),i=n(190),o=n(34),c=n(88),u=n(89),s=n(20);e.exports=function(e,t){return o(e)&&c(t)?u(s(e),t):function(n){var o=a(n,e);return void 0===o&&o===t?i(n,e):r(t,o,3)}}},function(e,t,n){var r=n(90);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},function(e,t,n){var r=n(191),a=n(61);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(194),a=n(195),i=n(34),o=n(20);e.exports=function(e){return i(e)?r(o(e)):a(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(90);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e,t,n,r){var a=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++a]);++a<i;)n=t(n,e[a],a,e);return n}},function(e,t,n){var r=n(198),a=n(17),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=a(e))&&e.replace(i,r).replace(o,"")}},function(e,t,n){var r=n(199)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(201),a=n(202),i=n(17),o=n(203);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?a(e)?o(e):r(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",a="\\d+",i="[\\u2700-\\u27bf]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]",c="[^\\ud800-\\udfff"+n+a+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+o+"|"+c+")",p="(?:"+l+"|"+c+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",m="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,s].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),h="(?:"+[i,u,s].join("|")+")"+m,v=RegExp([l+"?"+o+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,l,"$"].join("|")+")",p+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,h].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},function(e,t,n){var r=n(17),a=n(205);e.exports=function(e){return a(r(e).toLowerCase())}},function(e,t,n){var r=n(206)("toUpperCase");e.exports=r},function(e,t,n){var r=n(207),a=n(83),i=n(82),o=n(17);e.exports=function(e){return function(t){t=o(t);var n=a(t)?i(t):void 0,c=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return c[e]()+u}}},function(e,t,n){var r=n(208);e.exports=function(e,t,n){var a=e.length;return n=void 0===n?a:n,!t&&n>=a?e:r(e,t,n)}},function(e,t){e.exports=function(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(a);++r<a;)i[r]=e[r+t];return i}},function(e,t,n){"use strict";var r,a,i,o,c;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,l=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(l,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(l,0))},a=function(e,t){s=setTimeout(e,t)},i=function(){clearTimeout(s)},o=function(){return!1},c=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var b=d.now();t.unstable_now=function(){return d.now()-b}}var y=!1,g=null,_=-1,O=5,j=0;o=function(){return t.unstable_now()>=j},c=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):O=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();j=e+O;try{g(!0,e)?E.postMessage(null):(y=!1,g=null)}catch(e){throw E.postMessage(null),e}}else y=!1},r=function(e){g=e,y||(y=!0,E.postMessage(null))},a=function(e,n){_=m((function(){e(t.unstable_now())}),n)},i=function(){h(_),_=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),a=e[r];if(!(void 0!==a&&0<T(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function F(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var i=2*(r+1)-1,o=e[i],c=i+1,u=e[c];if(void 0!==o&&0>T(o,n))void 0!==u&&0>T(u,o)?(e[r]=u,e[c]=n,r=c):(e[r]=o,e[i]=n,r=i);else{if(!(void 0!==u&&0>T(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],C=[],P=1,k=null,N=3,I=!1,M=!1,R=!1;function D(e){for(var t=S(C);null!==t;){if(null===t.callback)F(C);else{if(!(t.startTime<=e))break;F(C),t.sortIndex=t.expirationTime,x(A,t)}t=S(C)}}function L(e){if(R=!1,D(e),!M)if(null!==S(A))M=!0,r(z);else{var t=S(C);null!==t&&a(L,t.startTime-e)}}function z(e,n){M=!1,R&&(R=!1,i()),I=!0;var r=N;try{for(D(n),k=S(A);null!==k&&(!(k.expirationTime>n)||e&&!o());){var c=k.callback;if(null!==c){k.callback=null,N=k.priorityLevel;var u=c(k.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?k.callback=u:k===S(A)&&F(A),D(n)}else F(A);k=S(A)}if(null!==k)var s=!0;else{var l=S(C);null!==l&&a(L,l.startTime-n),s=!1}return s}finally{k=null,N=r,I=!1}}function V(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=c;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_scheduleCallback=function(e,n,o){var c=t.unstable_now();if("object"==typeof o&&null!==o){var u=o.delay;u="number"==typeof u&&0<u?c+u:c,o="number"==typeof o.timeout?o.timeout:V(e)}else o=V(e),u=c;return e={id:P++,callback:n,priorityLevel:e,startTime:u,expirationTime:o=u+o,sortIndex:-1},u>c?(e.sortIndex=u,x(C,e),null===S(A)&&e===S(C)&&(R?i():R=!0,a(L,u-c))):(e.sortIndex=o,x(A,e),M||I||(M=!0,r(z))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=S(A);return n!==k&&null!==k&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<k.expirationTime||o()},t.unstable_requestPaint=B,t.unstable_continueExecution=function(){M||I||(M=!0,r(z))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return S(A)},t.unstable_Profiling=null},function(e,t,n){"use strict";e.exports=n(211)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case f:case p:case o:case u:case c:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case b:case v:case s:return e;default:return t}}case i:return t}}}function w(e){return j(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=a,t.ForwardRef=d,t.Fragment=o,t.Lazy=b,t.Memo=v,t.Portal=i,t.Profiler=u,t.StrictMode=c,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||j(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return j(e)===l},t.isContextProvider=function(e){return j(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return j(e)===d},t.isFragment=function(e){return j(e)===o},t.isLazy=function(e){return j(e)===b},t.isMemo=function(e){return j(e)===v},t.isPortal=function(e){return j(e)===i},t.isProfiler=function(e){return j(e)===u},t.isStrictMode=function(e){return j(e)===c},t.isSuspense=function(e){return j(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===u||e===c||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===_||e.$$typeof===O||e.$$typeof===y)},t.typeOf=j},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,a=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(a.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(a.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(213),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(25))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,a,i,o,c,u=1,s={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){m(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){m(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(a=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){m(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):r=function(e){setTimeout(m,0,e)}:(o="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&m(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),r=function(t){e.postMessage(o+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return s[u]=a,r(u),u++},p.clearImmediate=d}function d(e){delete s[e]}function m(e){if(l)setTimeout(m,0,e);else{var t=s[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{d(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(25),n(214))},function(e,t){var n,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,s=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function h(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new m(e,t)),1!==s.length||l||c(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(216);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t);var r=n(4),a=n.n(r),i=n(0),o=n(1),c=n.n(o),u=n(32),s=n.n(u),l=n(12),f=n.n(l),p=n(22),d=n.n(p);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var v=n(5),b=n.n(v),y=n(52),g=n.n(y),_=n(53),O=n.n(_),j=Object.prototype.toString,w=Error.prototype.toString,E=RegExp.prototype.toString,x="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},S=/^Symbol\((.*)\)(.*)$/;function F(e,t){if(void 0===t&&(t=!1),null==e||!0===e||!1===e)return""+e;var n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?'"'+e+'"':e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return x.call(e).replace(S,"Symbol($1)");var r=j.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+w.call(e)+"]":"RegExp"===r?E.call(e):null}function T(e,t){var n=F(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=F(this[e],t);return null!==r?r:n}),2)}var A={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,n=e.type,r=e.value,a=e.originalValue,i=null!=a&&a!==r,o=t+" must be a `"+n+"` type, but the final value was: `"+T(r,!0)+"`"+(i?" (cast from the value `"+T(a,!0)+"`).":".");return null===r&&(o+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),o},defined:"${path} must be defined"},C={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},P={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",notEqual:"${path} must be not equal to ${notEqual}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},k={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},N={noUnknown:"${path} field has unspecified keys: ${unknown}"},I={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items"},M=function(e){return e&&e.__isYupSchema__},R=function(){function e(e,t){if(this.refs=e,"function"!=typeof t){if(!b()(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var n=t.is,r=t.then,a=t.otherwise,i="function"==typeof n?n:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every((function(e){return e===n}))};this.fn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.pop(),c=t.pop(),u=i.apply(void 0,t)?r:a;if(u)return"function"==typeof u?u(c):c.concat(u.resolve(o))}}else this.fn=t}return e.prototype.resolve=function(e,t){var n=this.refs.map((function(e){return e.getValue(t)})),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!M(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)},e}();function D(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var L=n(19),z=/\$\{\s*(\w+)\s*\}/g,V=function(e){return function(t){return e.replace(z,(function(e,n){return T(t[n])}))}};function B(e,t,n,r){var a=this;this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],e&&[].concat(e).forEach((function(e){a.errors=a.errors.concat(e.errors||e),e.inner&&(a.inner=a.inner.concat(e.inner.length?e.inner:e))})),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,B)}B.prototype=Object.create(Error.prototype),B.prototype.constructor=B,B.isError=function(e){return e&&"ValidationError"===e.name},B.formatError=function(e,t){"string"==typeof e&&(e=V(e));var n=function(t){return t.path=t.label||t.path||"this","function"==typeof e?e(t):e};return 1===arguments.length?n:n(t)};var U=function(e){return e?L.SynchronousPromise:Promise};function $(e,t){return e?null:function(e){return t.push(e),e.value}}function G(e){var t=e.validations,n=e.value,r=e.path,a=e.sync,i=e.errors,o=e.sort;return i=function(e){return void 0===e&&(e=[]),e.inner&&e.inner.length?e.inner:[].concat(e)}(i),function(e,t){var n=U(t);return n.all(e.map((function(e){return n.resolve(e).then((function(e){return{fulfilled:!0,value:e}}),(function(e){return{fulfilled:!1,value:e}}))})))}(t,a).then((function(e){var t=e.filter((function(e){return!e.fulfilled})).reduce((function(e,t){var n=t.value;if(!B.isError(n))throw n;return e.concat(n)}),[]);if(o&&t.sort(o),(i=t.concat(i)).length)throw new B(i,n,r);return n}))}function W(e){var t,n,r,a=e.endEarly,i=D(e,["endEarly"]);return a?(t=i.validations,n=i.value,r=i.sync,U(r).all(t).catch((function(e){throw"ValidationError"===e.name&&(e.value=n),e})).then((function(){return n}))):G(i)}var q=function(e){return"[object Object]"===Object.prototype.toString.call(e)};var H=n(33),Y=n.n(H),K=n(11),Z="$",J=".",X=function(){function e(e,t){if(void 0===t&&(t={}),"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Z,this.isValue=this.key[0]===J,this.isSibling=!this.isContext&&!this.isValue;var n=this.isContext?Z:this.isValue?J:"";this.path=this.key.slice(n.length),this.getter=this.path&&Object(K.getter)(this.path,!0),this.map=t.map}var t=e.prototype;return t.getValue=function(e){var t=this.isContext?e.context:this.isValue?e.value:e.parent;return this.getter&&(t=this.getter(t||{})),this.map&&(t=this.map(t)),t},t.cast=function(e,t){return this.getValue(m({},t,{value:e}))},t.resolve=function(){return this},t.describe=function(){return{type:"ref",key:this.key}},t.toString=function(){return"Ref("+this.key+")"},e.isRef=function(e){return e&&e.__isYupRef},e}();X.prototype.__isYupRef=!0;var Q=B.formatError;function ee(e){var t=e.value,n=e.label,r=e.resolve,a=e.originalValue,i=D(e,["value","label","resolve","originalValue"]);return function(e){var o=void 0===e?{}:e,c=o.path,u=void 0===c?i.path:c,s=o.message,l=void 0===s?i.message:s,f=o.type,p=void 0===f?i.name:f,d=o.params;return d=m({path:u,value:t,originalValue:a,label:n},function(e,t,n){return Y()(m({},e,t),n)}(i.params,d,r)),m(new B(Q(l,d),t,u,p),{params:d})}}function te(e){var t=e.name,n=e.message,r=e.test,a=e.params;function i(e){var i=e.value,o=e.path,c=e.label,u=e.options,s=e.originalValue,l=e.sync,f=D(e,["value","path","label","options","originalValue","sync"]),p=u.parent,d=function(e){return X.isRef(e)?e.getValue({value:i,parent:p,context:u.context}):e},h=ee({message:n,path:o,value:i,originalValue:s,params:a,label:c,resolve:d,name:t}),v=m({path:o,parent:p,type:t,createError:h,resolve:d,options:u},f);return function(e,t,n,r){var a,i=e.call(t,n);if(!r)return Promise.resolve(i);if((a=i)&&"function"==typeof a.then&&"function"==typeof a.catch)throw new Error('Validation test of type: "'+t.type+'" returned a Promise during a synchronous validate. This test will finish after the validate call has returned');return L.SynchronousPromise.resolve(i)}(r,v,i,l).then((function(e){if(B.isError(e))throw e;if(!e)throw h()}))}return i.OPTIONS=e,i}function ne(e,t,n,r){var a,i,o;return void 0===r&&(r=n),t?(Object(K.forEach)(t,(function(c,u,s){var l=u?function(e){return e.substr(0,e.length-1).substr(1)}(c):c;if((e=e.resolve({context:r,parent:a,value:n})).innerType){var f=s?parseInt(l,10):0;if(n&&f>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: "+c+", in the path: "+t+". because there is no value at that index. ");a=n,n=n&&n[f],e=e.innerType}if(!s){if(!e.fields||!e.fields[l])throw new Error("The schema does not contain the path: "+t+". (failed at: "+o+' which is a type: "'+e._type+'")');a=n,n=n&&n[l],e=e.fields[l]}i=l,o=u?"["+c+"]":"."+c})),{schema:e,parent:a,parentPath:i}):{parent:a,parentPath:t,schema:e}}function re(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ie=function(){function e(){this.list=new Set,this.refs=new Map}var t,n,r,a=e.prototype;return a.describe=function(){for(var e,t=[],n=re(this.list);!(e=n()).done;){var r=e.value;t.push(r)}for(var a,i=re(this.refs);!(a=i()).done;){var o=a.value[1];t.push(o.describe())}return t},a.toArray=function(){return O()(this.list).concat(O()(this.refs.values()))},a.add=function(e){X.isRef(e)?this.refs.set(e.key,e):this.list.add(e)},a.delete=function(e){X.isRef(e)?this.refs.delete(e.key):this.list.delete(e)},a.has=function(e,t){if(this.list.has(e))return!0;for(var n,r=this.refs.values();!(n=r.next()).done;)if(t(n.value)===e)return!0;return!1},a.clone=function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t},a.merge=function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n},t=e,(n=[{key:"size",get:function(){return this.list.size+this.refs.size}}])&&h(t.prototype,n),r&&h(t,r),e}();function oe(e){var t=this;if(void 0===e&&(e={}),!(this instanceof oe))return new oe;this._deps=[],this._conditions=[],this._options={abortEarly:!0,recursive:!0},this._exclusive=Object.create(null),this._whitelist=new ie,this._blacklist=new ie,this.tests=[],this.transforms=[],this.withMutation((function(){t.typeError(A.notType)})),b()(e,"default")&&(this._defaultDefault=e.default),this.type=e.type||"mixed",this._type=e.type||"mixed"}for(var ce=oe.prototype={__isYupSchema__:!0,constructor:oe,clone:function(){var e=this;return this._mutate?this:g()(this,(function(t){if(M(t)&&t!==e)return t}))},label:function(e){var t=this.clone();return t._label=e,t},meta:function(e){if(0===arguments.length)return this._meta;var t=this.clone();return t._meta=m(t._meta||{},e),t},withMutation:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n},concat:function(e){if(!e||e===this)return this;if(e._type!==this._type&&"mixed"!==this._type)throw new TypeError("You cannot `concat()` schema's of different types: "+this._type+" and "+e._type);var t=function e(t,n){for(var r in n)if(b()(n,r)){var a=n[r],i=t[r];if(void 0===i)t[r]=a;else{if(i===a)continue;M(i)?M(a)&&(t[r]=a.concat(i)):q(i)?q(a)&&(t[r]=e(i,a)):Array.isArray(i)&&Array.isArray(a)&&(t[r]=a.concat(i))}}return t}(e.clone(),this);return b()(e,"_default")&&(t._default=e._default),t.tests=this.tests,t._exclusive=this._exclusive,t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),t},isType:function(e){return!(!this._nullable||null!==e)||(!this._typeCheck||this._typeCheck(e))},resolve:function(e){var t=this;if(t._conditions.length){var n=t._conditions;(t=t.clone())._conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t},cast:function(e,t){void 0===t&&(t={});var n=this.resolve(m({},t,{value:e})),r=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(r)){var a=T(e),i=T(r);throw new TypeError("The value of "+(t.path||"field")+' could not be cast to a value that satisfies the schema type: "'+n._type+'". \n\nattempted value: '+a+" \n"+(i!==a?"result of cast: "+i:""))}return r},_cast:function(e){var t=this,n=void 0===e?e:this.transforms.reduce((function(n,r){return r.call(t,n,e)}),e);return void 0===n&&b()(this,"_default")&&(n=this.default()),n},_validate:function(e,t){var n=this;void 0===t&&(t={});var r=e,a=null!=t.originalValue?t.originalValue:e,i=this._option("strict",t),o=this._option("abortEarly",t),c=t.sync,u=t.path,s=this._label;i||(r=this._cast(r,m({assert:!1},t)));var l={value:r,path:u,schema:this,options:t,label:s,originalValue:a,sync:c};t.from&&(l.from=t.from);var f=[];return this._typeError&&f.push(this._typeError(l)),this._whitelistError&&f.push(this._whitelistError(l)),this._blacklistError&&f.push(this._blacklistError(l)),W({validations:f,endEarly:o,value:r,path:u,sync:c}).then((function(e){return W({path:u,sync:c,value:e,endEarly:o,validations:n.tests.map((function(e){return e(l)}))})}))},validate:function(e,t){return void 0===t&&(t={}),this.resolve(m({},t,{value:e}))._validate(e,t)},validateSync:function(e,t){var n,r;if(void 0===t&&(t={}),this.resolve(m({},t,{value:e}))._validate(e,m({},t,{sync:!0})).then((function(e){return n=e})).catch((function(e){return r=e})),r)throw r;return n},isValid:function(e,t){return this.validate(e,t).then((function(){return!0})).catch((function(e){if("ValidationError"===e.name)return!1;throw e}))},isValidSync:function(e,t){try{return this.validateSync(e,t),!0}catch(e){if("ValidationError"===e.name)return!1;throw e}},getDefault:function(e){return void 0===e&&(e={}),this.resolve(e).default()},default:function(e){if(0===arguments.length){var t=b()(this,"_default")?this._default:this._defaultDefault;return"function"==typeof t?t.call(this):g()(t)}var n=this.clone();return n._default=e,n},strict:function(e){void 0===e&&(e=!0);var t=this.clone();return t._options.strict=e,t},_isPresent:function(e){return null!=e},required:function(e){return void 0===e&&(e=A.required),this.test({message:e,name:"required",exclusive:!0,test:function(e){return this.schema._isPresent(e)}})},notRequired:function(){var e=this.clone();return e.tests=e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e},nullable:function(e){void 0===e&&(e=!0);var t=this.clone();return t._nullable=e,t},transform:function(e){var t=this.clone();return t.transforms.push(e),t},test:function(){var e;if(void 0===(e=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=A.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=te(e),r=e.exclusive||e.name&&!0===t._exclusive[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t._exclusive[e.name]=!!e.exclusive,t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t},when:function(e,t){1===arguments.length&&(t=e,e=".");var n=this.clone(),r=[].concat(e).map((function(e){return new X(e)}));return r.forEach((function(e){e.isSibling&&n._deps.push(e.key)})),n._conditions.push(new R(r,t)),n},typeError:function(e){var t=this.clone();return t._typeError=te({message:e,name:"typeError",test:function(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t},oneOf:function(e,t){void 0===t&&(t=A.oneOf);var n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=te({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist;return!!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},notOneOf:function(e,t){void 0===t&&(t=A.notOneOf);var n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=te({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist;return!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},strip:function(e){void 0===e&&(e=!0);var t=this.clone();return t._strip=e,t},_option:function(e,t){return b()(t,e)?t[e]:this._options[e]},describe:function(){var e=this.clone(),t={type:e._type,meta:e._meta,label:e._label,tests:e.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return e._whitelist.size&&(t.oneOf=e._whitelist.describe()),e._blacklist.size&&(t.notOneOf=e._blacklist.describe()),t},defined:function(e){return void 0===e&&(e=A.defined),this.nullable().test({message:e,name:"defined",exclusive:!0,test:function(e){return void 0!==e}})}},ue=function(){var e=le[se];ce[e+"At"]=function(t,n,r){void 0===r&&(r={});var a=ne(this,t,n,r.context),i=a.parent,o=a.parentPath;return a.schema[e](i&&i[o],m({},r,{parent:i,path:t}))}},se=0,le=["validate","validateSync"];se<le.length;se++)ue();for(var fe=0,pe=["equals","is"];fe<pe.length;fe++){ce[pe[fe]]=ce.oneOf}for(var de=0,me=["not","nope"];de<me.length;de++){ce[me[de]]=ce.notOneOf}function he(e,t,n){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),m(e.prototype,n)}ce.optional=ce.notRequired;function ve(){var e=this;if(!(this instanceof ve))return new ve;oe.call(this,{type:"boolean"}),this.withMutation((function(){e.transform((function(e){if(!this.isType(e)){if(/^(true|1)$/i.test(e))return!0;if(/^(false|0)$/i.test(e))return!1}return e}))}))}he(ve,oe,{_typeCheck:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e}});var be=function(e){return null==e},ye=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,ge=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,_e=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i,Oe=function(e){return be(e)||e===e.trim()};function je(){var e=this;if(!(this instanceof je))return new je;oe.call(this,{type:"string"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:null!=e&&e.toString?e.toString():e}))}))}he(je,oe,{_typeCheck:function(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e},_isPresent:function(e){return oe.prototype._isPresent.call(this,e)&&e.length>0},length:function(e,t){return void 0===t&&(t=C.length),this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return be(t)||t.length===this.resolve(e)}})},min:function(e,t){return void 0===t&&(t=C.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t.length>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=C.max),this.test({name:"max",exclusive:!0,message:t,params:{max:e},test:function(t){return be(t)||t.length<=this.resolve(e)}})},matches:function(e,t){var n,r,a=!1;return t&&("object"==typeof t?(a=t.excludeEmptyString,n=t.message,r=t.name):n=t),this.test({name:r||"matches",message:n||C.matches,params:{regex:e},test:function(t){return be(t)||""===t&&a||-1!==t.search(e)}})},email:function(e){return void 0===e&&(e=C.email),this.matches(ye,{name:"email",message:e,excludeEmptyString:!0})},url:function(e){return void 0===e&&(e=C.url),this.matches(ge,{name:"url",message:e,excludeEmptyString:!0})},uuid:function(e){return void 0===e&&(e=C.uuid),this.matches(_e,{name:"uuid",message:e,excludeEmptyString:!1})},ensure:function(){return this.default("").transform((function(e){return null===e?"":e}))},trim:function(e){return void 0===e&&(e=C.trim),this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:Oe})},lowercase:function(e){return void 0===e&&(e=C.lowercase),this.transform((function(e){return be(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return be(e)||e===e.toLowerCase()}})},uppercase:function(e){return void 0===e&&(e=C.uppercase),this.transform((function(e){return be(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return be(e)||e===e.toUpperCase()}})}});he((function e(){var t=this;if(!(this instanceof e))return new e;oe.call(this,{type:"number"}),this.withMutation((function(){t.transform((function(e){var t=e;if("string"==typeof t){if(""===(t=t.replace(/\s/g,"")))return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))}))}),oe,{_typeCheck:function(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!function(e){return e!=+e}(e)},min:function(e,t){return void 0===t&&(t=P.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=P.max),this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return be(t)||t<=this.resolve(e)}})},lessThan:function(e,t){return void 0===t&&(t=P.lessThan),this.test({message:t,name:"max",exclusive:!0,params:{less:e},test:function(t){return be(t)||t<this.resolve(e)}})},moreThan:function(e,t){return void 0===t&&(t=P.moreThan),this.test({message:t,name:"min",exclusive:!0,params:{more:e},test:function(t){return be(t)||t>this.resolve(e)}})},positive:function(e){return void 0===e&&(e=P.positive),this.moreThan(0,e)},negative:function(e){return void 0===e&&(e=P.negative),this.lessThan(0,e)},integer:function(e){return void 0===e&&(e=P.integer),this.test({name:"integer",message:e,test:function(e){return be(e)||Number.isInteger(e)}})},truncate:function(){return this.transform((function(e){return be(e)?e:0|e}))},round:function(e){var t=["ceil","floor","round","trunc"];if("trunc"===(e=e&&e.toLowerCase()||"round"))return this.truncate();if(-1===t.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+t.join(", "));return this.transform((function(t){return be(t)?t:Math[e](t)}))}});var we=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var Ee=new Date("");function xe(){var e=this;if(!(this instanceof xe))return new xe;oe.call(this,{type:"date"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],a=0;if(n=we.exec(e)){for(var i,o=0;i=r[o];++o)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(a=60*n[10]+n[11],"+"===n[9]&&(a=0-a)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+a,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?Ee:new Date(e))}))}))}function Se(e,t){return t||(t=e.slice(0)),e.raw=t,e}he(xe,oe,{_typeCheck:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t},min:function(e,t){void 0===t&&(t=k.min);var n=e;if(!X.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`min` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(e){return be(e)||e>=this.resolve(n)}})},max:function(e,t){void 0===t&&(t=k.max);var n=e;if(!X.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`max` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(e){return be(e)||e<=this.resolve(n)}})}});var Fe=n(54),Te=n.n(Fe),Ae=n(92),Ce=n.n(Ae),Pe=n(93),ke=n.n(Pe),Ne=n(94),Ie=n.n(Ne);function Me(e,t){void 0===t&&(t=[]);var n=[],r=[];function a(e,a){var i=Object(K.split)(e)[0];~r.indexOf(i)||r.push(i),~t.indexOf(a+"-"+i)||n.push([a,i])}for(var i in e)if(b()(e,i)){var o=e[i];~r.indexOf(i)||r.push(i),X.isRef(o)&&o.isSibling?a(o.path,i):M(o)&&o._deps&&o._deps.forEach((function(e){return a(e,i)}))}return Ie.a.array(r,n).reverse()}function Re(e,t){var n=1/0;return e.some((function(e,r){if(-1!==t.path.indexOf(e))return n=r,!0})),n}function De(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=e.reduce((function(e,t){var r=n.shift();return e+(null==r?"":r)+t}));return a.replace(/^\./,"")}function Le(){var e=Se(["",'["','"]']);return Le=function(){return e},e}function ze(){var e=Se(["",".",""]);return ze=function(){return e},e}function Ve(){var e=Se(["",".",""]);return Ve=function(){return e},e}var Be=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function Ue(e){var t=this;if(!(this instanceof Ue))return new Ue(e);oe.call(this,{type:"object",default:function(){var e=this;if(this._nodes.length){var t={};return this._nodes.forEach((function(n){t[n]=e.fields[n].default?e.fields[n].default():void 0})),t}}}),this.fields=Object.create(null),this._nodes=[],this._excludedEdges=[],this.withMutation((function(){t.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.shape(e)}))}function $e(){var e=Se(["","[","]"]);return $e=function(){return e},e}function Ge(){var e=Se(["","[","]"]);return Ge=function(){return e},e}he(Ue,oe,{_typeCheck:function(e){return Be(e)||"function"==typeof e},_cast:function(e,t){var n=this;void 0===t&&(t={});var r=oe.prototype._cast.call(this,e,t);if(void 0===r)return this.default();if(!this._typeCheck(r))return r;var a=this.fields,i=!0===this._option("stripUnknown",t),o=this._nodes.concat(Object.keys(r).filter((function(e){return-1===n._nodes.indexOf(e)}))),c={},u=m({},t,{parent:c,__validating:t.__validating||!1}),s=!1;return o.forEach((function(e){var n=a[e],o=b()(r,e);if(n){var l,f=n._options&&n._options.strict;if(u.path=De(Ve(),t.path,e),u.value=r[e],!0===(n=n.resolve(u))._strip)return void(s=s||e in r);void 0!==(l=t.__validating&&f?r[e]:n.cast(r[e],u))&&(c[e]=l)}else o&&!i&&(c[e]=r[e]);c[e]!==r[e]&&(s=!0)})),s?c:r},_validate:function(e,t){var n,r,a=this;void 0===t&&(t={});var i=t.sync,o=[],c=null!=t.originalValue?t.originalValue:e,u=[{schema:this,value:c}].concat(t.from||[]);return n=this._option("abortEarly",t),r=this._option("recursive",t),t=m({},t,{__validating:!0,originalValue:c,from:u}),oe.prototype._validate.call(this,e,t).catch($(n,o)).then((function(e){if(!r||!Be(e)){if(o.length)throw o[0];return e}u=c?[].concat(u):[{schema:a,value:c||e}].concat(t.from||[]),c=c||e;var s,l,f=a._nodes.map((function(n){var r=-1===n.indexOf(".")?De(ze(),t.path,n):De(Le(),t.path,n),o=a.fields[n],s=m({},t,{path:r,from:u,parent:e,originalValue:c[n]});return o&&o.validate?(s.strict=!0,o.validate(e[n],s)):function(e){return e?L.SynchronousPromise:Promise}(i).resolve(!0)}));return W({sync:i,validations:f,value:e,errors:o,endEarly:n,path:t.path,sort:(s=a.fields,l=Object.keys(s),function(e,t){return Re(l,e)-Re(l,t)})})}))},concat:function(e){var t=oe.prototype.concat.call(this,e);return t._nodes=Me(t.fields,t._excludedEdges),t},shape:function(e,t){void 0===t&&(t=[]);var n=this.clone(),r=m(n.fields,e);if(n.fields=r,t.length){Array.isArray(t[0])||(t=[t]);var a=t.map((function(e){return e[0]+"-"+e[1]}));n._excludedEdges=n._excludedEdges.concat(a)}return n._nodes=Me(r,n._excludedEdges),n},from:function(e,t,n){var r=Object(K.getter)(e,!0);return this.transform((function(a){if(null==a)return a;var i=a;return b()(a,e)&&(i=m({},a),n||delete i[e],i[t]=r(a)),i}))},noUnknown:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=N.noUnknown),"string"==typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=function(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n._options.stripUnknown=e,n},unknown:function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=N.noUnknown),this.noUnknown(!e,t)},transformKeys:function(e){return this.transform((function(t){return t&&ke()(t,(function(t,n){return e(n)}))}))},camelCase:function(){return this.transformKeys(Ce.a)},snakeCase:function(){return this.transformKeys(Te.a)},constantCase:function(){return this.transformKeys((function(e){return Te()(e).toUpperCase()}))},describe:function(){var e=oe.prototype.describe.call(this);return e.fields=Y()(this.fields,(function(e){return e.describe()})),e}});function We(e){var t=this;if(!(this instanceof We))return new We(e);oe.call(this,{type:"array"}),this._subType=void 0,this.innerType=void 0,this.withMutation((function(){t.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.of(e)}))}he(We,oe,{_typeCheck:function(e){return Array.isArray(e)},_cast:function(e,t){var n=this,r=oe.prototype._cast.call(this,e,t);if(!this._typeCheck(r)||!this.innerType)return r;var a=!1,i=r.map((function(e,r){var i=n.innerType.cast(e,m({},t,{path:De(Ge(),t.path,r)}));return i!==e&&(a=!0),i}));return a?i:r},_validate:function(e,t){var n=this;void 0===t&&(t={});var r=[],a=t.sync,i=t.path,o=this.innerType,c=this._option("abortEarly",t),u=this._option("recursive",t),s=null!=t.originalValue?t.originalValue:e;return oe.prototype._validate.call(this,e,t).catch($(c,r)).then((function(e){if(!u||!o||!n._typeCheck(e)){if(r.length)throw r[0];return e}s=s||e;for(var l=new Array(e.length),f=0;f<e.length;f++){var p=e[f],d=De($e(),t.path,f),h=m({},t,{path:d,strict:!0,parent:e,index:f,originalValue:s[f]});l[f]=!o.validate||o.validate(p,h)}return W({sync:a,path:i,value:e,errors:r,endEarly:c,validations:l})}))},_isPresent:function(e){return oe.prototype._isPresent.call(this,e)&&e.length>0},of:function(e){var t=this.clone();if(!1!==e&&!M(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema, or `false` to negate a current sub-schema. not: "+T(e));return t._subType=e,t.innerType=e,t},min:function(e,t){return t=t||I.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t.length>=this.resolve(e)}})},max:function(e,t){return t=t||I.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return be(t)||t.length<=this.resolve(e)}})},ensure:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))},compact:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))},describe:function(){var e=oe.prototype.describe.call(this);return this.innerType&&(e.innerType=this.innerType.describe()),e}});var qe=function(){function e(e){this._resolve=function(t,n){var r=e(t,n);if(!M(r))throw new TypeError("lazy() functions must return a valid schema");return r.resolve(n)}}var t=e.prototype;return t.resolve=function(e){return this._resolve(e.value,e)},t.cast=function(e,t){return this._resolve(e,t).cast(e,t)},t.validate=function(e,t){return this._resolve(e,t).validate(e,t)},t.validateSync=function(e,t){return this._resolve(e,t).validateSync(e,t)},t.validateAt=function(e,t,n){return this._resolve(t,n).validateAt(e,t,n)},t.validateSyncAt=function(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)},e}();qe.prototype.__isYupSchema__=!0;var He=qe;var Ye=function(e){return new He(e)};var Ke=n(2),Ze=n(10),Je=n.n(Ze),Xe=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Qe}(e)}(e)};var Qe="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nt((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function tt(e,t,n){return e.concat(t).map((function(e){return et(e,n)}))}function nt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||tt,n.isMergeableObject=n.isMergeableObject||Xe;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=et(e[t],n)})),Object.keys(t).forEach((function(a){n.isMergeableObject(t[a])&&e[a]?r[a]=nt(e[a],t[a],n):r[a]=et(t[a],n)})),r}(e,t,n):et(t,n)}nt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return nt(e,n,t)}),{})};var rt=nt,at=n(55),it=n.n(at),ot=n(56),ct=n.n(ot),ut=n(57),st=n.n(ut);var lt=function(e,t){},ft=n(58),pt=n(59),dt=n.n(pt),mt=n(95),ht=n.n(mt);function vt(){return(vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function bt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function yt(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var _t=function(e){return Array.isArray(e)&&0===e.length},Ot=function(e){return"function"==typeof e},jt=function(e){return null!==e&&"object"==typeof e},wt=function(e){return String(Math.floor(Number(e)))===e},Et=function(e){return"[object String]"===Object.prototype.toString.call(e)},xt=function(e){return 0===o.Children.count(e)},St=function(e){return jt(e)&&Ot(e.then)};function Ft(e,t,n,r){void 0===r&&(r=0);for(var a=st()(t);e&&r<a.length;)e=e[a[r++]];return void 0===e?n:e}function Tt(e,t,n){for(var r=ct()(e),a=r,i=0,o=st()(t);i<o.length-1;i++){var c=o[i],u=Ft(e,o.slice(0,i+1));if(u&&(jt(u)||Array.isArray(u)))a=a[c]=ct()(u);else{var s=o[i+1];a=a[c]=wt(s)&&Number(s)>=0?[]:{}}}return(0===i?e:a)[o[i]]===n?e:(void 0===n?delete a[o[i]]:a[o[i]]=n,0===i&&void 0===n&&delete r[o[i]],r)}function At(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var a=0,i=Object.keys(e);a<i.length;a++){var o=i[a],c=e[o];jt(c)?n.get(c)||(n.set(c,!0),r[o]=Array.isArray(c)?[]:{},At(c,t,n,r[o])):r[o]=t}return r}var Ct=Object(o.createContext)(void 0),Pt=Ct.Provider,kt=Ct.Consumer;function Nt(){var e=Object(o.useContext)(Ct);return e||lt(!1),e}function It(e,t){switch(t.type){case"SET_VALUES":return vt({},e,{values:t.payload});case"SET_TOUCHED":return vt({},e,{touched:t.payload});case"SET_ERRORS":return Je()(e.errors,t.payload)?e:vt({},e,{errors:t.payload});case"SET_STATUS":return vt({},e,{status:t.payload});case"SET_ISSUBMITTING":return vt({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return vt({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return vt({},e,{values:Tt(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return vt({},e,{touched:Tt(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return vt({},e,{errors:Tt(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return vt({},e,{},t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return vt({},e,{touched:At(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return vt({},e,{isSubmitting:!1});default:return e}}var Mt={},Rt={};function Dt(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,a=void 0===r||r,i=e.validateOnMount,c=void 0!==i&&i,u=e.isInitialValid,s=e.enableReinitialize,l=void 0!==s&&s,f=e.onSubmit,p=yt(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),d=vt({validateOnChange:n,validateOnBlur:a,validateOnMount:c,onSubmit:f},p),m=Object(o.useRef)(d.initialValues),h=Object(o.useRef)(d.initialErrors||Mt),v=Object(o.useRef)(d.initialTouched||Rt),b=Object(o.useRef)(d.initialStatus),y=Object(o.useRef)(!1),g=Object(o.useRef)({});Object(o.useEffect)((function(){return y.current=!0,function(){y.current=!1}}),[]);var _=Object(o.useReducer)(It,{values:d.initialValues,errors:d.initialErrors||Mt,touched:d.initialTouched||Rt,status:d.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),O=_[0],j=_[1],w=Object(o.useCallback)((function(e,t){return new Promise((function(n,r){var a=d.validate(e,t);null==a?n(Mt):St(a)?a.then((function(e){n(e||Mt)}),(function(e){r(e)})):n(a)}))}),[d.validate]),E=Object(o.useCallback)((function(e,t){var n=d.validationSchema,r=Ot(n)?n(t):n,a=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var a=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var a=String(r);!0===Array.isArray(t[a])?n[a]=t[a].map((function(t){return!0===Array.isArray(t)||it()(t)?e(t):""!==t?t:void 0})):it()(t[a])?n[a]=e(t[a]):n[a]=""!==t[a]?t[a]:void 0}return n}(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:r})}(e,r);return new Promise((function(e,t){a.then((function(){e(Mt)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return Tt(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),a=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(a>=n.length)break;i=n[a++]}else{if((a=n.next()).done)break;i=a.value}var o=i;Ft(t,o.path)||(t=Tt(t,o.path,o.message))}}return t}(n)):t(n)}))}))}),[d.validationSchema]),x=Object(o.useCallback)((function(e,t){return new Promise((function(n){return n(g.current[e].validate(t))}))}),[]),S=Object(o.useCallback)((function(e){var t=Object.keys(g.current).filter((function(e){return Ot(g.current[e].validate)})),n=t.length>0?t.map((function(t){return x(t,Ft(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Tt(e,t[r],n)),e}),{})}))}),[x]),F=Object(o.useCallback)((function(e){return Promise.all([S(e),d.validationSchema?E(e):{},d.validate?w(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return rt.all([t,n,r],{arrayMerge:zt})}))}),[d.validate,d.validationSchema,S,w,E]),T=Bt((function(e){return void 0===e&&(e=O.values),Object(ft.unstable_runWithPriority)(ft.unstable_LowPriority,(function(){return F(e).then((function(e){return y.current&&j({type:"SET_ERRORS",payload:e}),e})).catch((function(e){0}))}))})),A=Bt((function(e){return void 0===e&&(e=O.values),j({type:"SET_ISVALIDATING",payload:!0}),F(e).then((function(e){return y.current&&(j({type:"SET_ISVALIDATING",payload:!1}),Je()(O.errors,e)||j({type:"SET_ERRORS",payload:e})),e}))})),C=Object(o.useCallback)((function(e){var t=e&&e.values?e.values:m.current,n=e&&e.errors?e.errors:h.current?h.current:d.initialErrors||{},r=e&&e.touched?e.touched:v.current?v.current:d.initialTouched||{},a=e&&e.status?e.status:b.current?b.current:d.initialStatus;m.current=t,h.current=n,v.current=r,b.current=a;var i=function(){j({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(d.onReset){var o=d.onReset(O.values,K);St(o)?o.then(i):i()}else i()}),[d.initialErrors,d.initialStatus,d.initialTouched]);Object(o.useEffect)((function(){!0!==y.current||Je()(m.current,d.initialValues)||(m.current=d.initialValues,l&&C(),c&&T(m.current))}),[l,d.initialValues,C,c,T]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(h.current,d.initialErrors)&&(h.current=d.initialErrors||Mt,j({type:"SET_ERRORS",payload:d.initialErrors||Mt}))}),[l,d.initialErrors]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(v.current,d.initialTouched)&&(v.current=d.initialTouched||Rt,j({type:"SET_TOUCHED",payload:d.initialTouched||Rt}))}),[l,d.initialTouched]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(b.current,d.initialStatus)&&(b.current=d.initialStatus,j({type:"SET_STATUS",payload:d.initialStatus}))}),[l,d.initialStatus,d.initialTouched]);var P=Bt((function(e){if(Ot(g.current[e].validate)){var t=Ft(O.values,e),n=g.current[e].validate(t);return St(n)?(j({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),j({type:"SET_ISVALIDATING",payload:!1})}))):(j({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return d.validationSchema?(j({type:"SET_ISVALIDATING",payload:!0}),E(O.values,e).then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),j({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),k=Object(o.useCallback)((function(e,t){var n=t.validate;g.current[e]={validate:n}}),[]),N=Object(o.useCallback)((function(e){delete g.current[e]}),[]),I=Bt((function(e,t){return j({type:"SET_TOUCHED",payload:e}),(void 0===t?a:t)?T(O.values):Promise.resolve()})),M=Object(o.useCallback)((function(e){j({type:"SET_ERRORS",payload:e})}),[]),R=Bt((function(e,t){return j({type:"SET_VALUES",payload:e}),(void 0===t?n:t)?T(e):Promise.resolve()})),D=Object(o.useCallback)((function(e,t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),L=Bt((function(e,t,r){return j({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?T(Tt(O.values,e,t)):Promise.resolve()})),z=Object(o.useCallback)((function(e,t){var n,r=t,a=e;if(!Et(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,o=i.type,c=i.name,u=i.id,s=i.value,l=i.checked,f=(i.outerHTML,i.options),p=i.multiple;r=t||(c||u),a=/number|range/.test(o)?(n=parseFloat(s),isNaN(n)?"":n):/checkbox/.test(o)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!a)return r.concat(n);if(!a)return r;return r.slice(0,i).concat(r.slice(i+1))}(Ft(O.values,r),l,s):p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(f):s}r&&L(r,a)}),[L,O.values]),V=Bt((function(e){if(Et(e))return function(t){return z(t,e)};z(e)})),B=Bt((function(e,t,n){return void 0===t&&(t=!0),j({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?a:n)?T(O.values):Promise.resolve()})),U=Object(o.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,a=n.id,i=(n.outerHTML,t||(r||a));B(i,!0)}),[B]),$=Bt((function(e){if(Et(e))return function(t){return U(t,e)};U(e)})),G=Object(o.useCallback)((function(e){Ot(e)?j({type:"SET_FORMIK_STATE",payload:e}):j({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),W=Object(o.useCallback)((function(e){j({type:"SET_STATUS",payload:e})}),[]),q=Object(o.useCallback)((function(e){j({type:"SET_ISSUBMITTING",payload:e})}),[]),H=Bt((function(){return j({type:"SUBMIT_ATTEMPT"}),A().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Z()))return}catch(e){throw e}return Promise.resolve(n).then((function(e){return y.current&&j({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(y.current)throw j({type:"SUBMIT_FAILURE"}),e}))}if(y.current&&(j({type:"SUBMIT_FAILURE"}),t))throw e}))})),Y=Bt((function(e){e&&e.preventDefault&&Ot(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ot(e.stopPropagation)&&e.stopPropagation(),H().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),K={resetForm:C,validateForm:A,validateField:P,setErrors:M,setFieldError:D,setFieldTouched:B,setFieldValue:L,setStatus:W,setSubmitting:q,setTouched:I,setValues:R,setFormikState:G,submitForm:H},Z=Bt((function(){return f(O.values,K)})),J=Bt((function(e){e&&e.preventDefault&&Ot(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ot(e.stopPropagation)&&e.stopPropagation(),C()})),X=Object(o.useCallback)((function(e){return{value:Ft(O.values,e),error:Ft(O.errors,e),touched:!!Ft(O.touched,e),initialValue:Ft(m.current,e),initialTouched:!!Ft(v.current,e),initialError:Ft(h.current,e)}}),[O.errors,O.touched,O.values]),Q=Object(o.useCallback)((function(e){return{setValue:function(t,n){return L(e,t,n)},setTouched:function(t,n){return B(e,t,n)},setError:function(t){return D(e,t)}}}),[L,B,D]),ee=Object(o.useCallback)((function(e){var t=jt(e),n=t?e.name:e,r=Ft(O.values,n),a={name:n,value:r,onChange:V,onBlur:$};if(t){var i=e.type,o=e.value,c=e.as,u=e.multiple;"checkbox"===i?void 0===o?a.checked=!!r:(a.checked=!(!Array.isArray(r)||!~r.indexOf(o)),a.value=o):"radio"===i?(a.checked=r===o,a.value=o):"select"===c&&u&&(a.value=a.value||[],a.multiple=!0)}return a}),[$,V,O.values]),te=Object(o.useMemo)((function(){return!Je()(m.current,O.values)}),[m.current,O.values]),ne=Object(o.useMemo)((function(){return void 0!==u?te?O.errors&&0===Object.keys(O.errors).length:!1!==u&&Ot(u)?u(d):u:O.errors&&0===Object.keys(O.errors).length}),[u,te,O.errors,d]);return vt({},O,{initialValues:m.current,initialErrors:h.current,initialTouched:v.current,initialStatus:b.current,handleBlur:$,handleChange:V,handleReset:J,handleSubmit:Y,resetForm:C,setErrors:M,setFormikState:G,setFieldTouched:B,setFieldValue:L,setFieldError:D,setStatus:W,setSubmitting:q,setTouched:I,setValues:R,submitForm:H,validateForm:A,validateField:P,isValid:ne,dirty:te,unregisterField:N,registerField:k,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:Q,validateOnBlur:a,validateOnChange:n,validateOnMount:c})}function Lt(e){var t=Dt(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return Object(o.useImperativeHandle)(i,(function(){return t})),Object(o.createElement)(Pt,{value:t},n?Object(o.createElement)(n,t):a?a(t):r?Ot(r)?r(t):xt(r)?null:o.Children.only(r):null)}function zt(e,t,n){var r=e.slice();return t.forEach((function(t,a){if(void 0===r[a]){var i=!1!==n.clone&&n.isMergeableObject(t);r[a]=i?rt(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[a]=rt(e[a],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var Vt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect;function Bt(e){var t=Object(o.useRef)(e);return Vt((function(){t.current=e})),Object(o.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}function Ut(e){var t=e.validate,n=e.name,r=e.render,a=e.children,i=e.as,c=e.component,u=yt(e,["validate","name","render","children","as","component"]),s=yt(Nt(),["validate","validationSchema"]);var l=s.registerField,f=s.unregisterField;Object(o.useEffect)((function(){return l(n,{validate:t}),function(){f(n)}}),[l,f,n,t]);var p=s.getFieldProps(vt({name:n},u)),d=s.getFieldMeta(n),m={field:p,form:s};if(r)return r(vt({},m,{meta:d}));if(Ot(a))return a(vt({},m,{meta:d}));if(c){if("string"==typeof c){var h=u.innerRef,v=yt(u,["innerRef"]);return Object(o.createElement)(c,vt({ref:h},p,{},v),a)}return Object(o.createElement)(c,vt({field:p,form:s},u),a)}var b=i||"input";if("string"==typeof b){var y=u.innerRef,g=yt(u,["innerRef"]);return Object(o.createElement)(b,vt({ref:y},p,{},g),a)}return Object(o.createElement)(b,vt({},p,{},u),a)}var $t=Object(o.forwardRef)((function(e,t){var n=e.action,r=yt(e,["action"]),a=n||"#",i=Nt(),c=i.handleReset,u=i.handleSubmit;return Object(o.createElement)("form",Object.assign({onSubmit:u,ref:t,onReset:c,action:a},r))}));function Gt(e){var t=function(t){return Object(o.createElement)(kt,null,(function(n){return n||lt(!1),Object(o.createElement)(e,Object.assign({},t,{formik:n}))}))},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",dt()(t,e)}$t.displayName="Form";var Wt=function(e,t,n){var r=qt(e);return r.splice(t,0,n),r},qt=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(vt({},e,{length:t+1}))}return[]},Ht=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var a=n.props,i=a.name;(0,a.formik.setFormikState)((function(n){var a="function"==typeof r?r:e,o="function"==typeof t?t:e,c=Tt(n.values,i,e(Ft(n.values,i))),u=r?a(Ft(n.errors,i)):void 0,s=t?o(Ft(n.touched,i)):void 0;return _t(u)&&(u=void 0),_t(s)&&(s=void 0),vt({},n,{values:c,errors:r?Tt(n.errors,i,u):n.errors,touched:t?Tt(n.touched,i,s):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(qt(t),[ht()(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e),a=r[t];return r[t]=r[n],r[n]=a,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e),a=r[t];return r.splice(t,1),r.splice(n,0,a),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return Wt(n,e,t)}),(function(t){return Wt(t,e,null)}),(function(t){return Wt(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(gt(n)),n.pop=n.pop.bind(gt(n)),n}bt(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){!Je()(Ft(e.formik.values,e.name),Ft(this.props.formik.values,this.props.name))&&this.props.formik.validateOnChange&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?qt(n):[];return t||(t=r[e]),Ot(r.splice)&&r.splice(e,1),r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t;return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,a=t.children,i=t.name,c=vt({},e,{form:yt(t.formik,["validate","validationSchema"]),name:i});return n?Object(o.createElement)(n,c):r?r(c):a?"function"==typeof a?a(c):xt(a)?null:o.Children.only(a):null},t}(o.Component);Ht.defaultProps={validateOnChange:!0};o.Component,o.Component;var Yt=n(6),Kt={style:{base:{color:"#32325d",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',fontSmoothing:"antialiased",fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}}};var Zt=function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{htmlFor:"form"},Object(Ke.__)("Card details","wubtitle")),Object(i.createElement)(Yt.CardNumberElement,{options:Kt,className:"num"}),Object(i.createElement)(Yt.CardExpiryElement,{options:Kt,className:"exp"}),Object(i.createElement)(Yt.CardCvcElement,{options:Kt,className:"cvc"}))};function Jt(e){var t=e.createSubscription,n=e.backFunction,r=e.error,c=e.paymentPreValues,u=e.updatePrice,s=e.loading,l=e.coupon,p=e.setCoupon,m=e.planId,h=e.couponMessage,v=e.setCouponMessage,b=WP_GLOBALS,y=b.ajaxUrl,g=b.ajaxNonce,_=Object(Yt.useStripe)(),O=Object(Yt.useElements)(),j=Object(o.useState)(!1),w=a()(j,2),E=w[0],x=w[1],S=Object(o.useState)(!1),F=a()(S,2),T=F[0],A=F[1],C=Object(Ke.__)("Required","wubtitle"),P=Ye((function(){var e={};return c&&!E||(e={name:je().required(C),email:je().email(Object(Ke.__)("Invalid email","wubtitle")).required(C)}),Ue().shape(e)})),k=function(){var e=d()(f.a.mark((function e(n){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(_&&O){e.next=2;break}return e.abrupt("return");case 2:if(r=null,!c||E){e.next=8;break}return n.name=c.name,n.email=c.email,t(r,n,_),e.abrupt("return");case 8:r=O.getElement(Yt.CardNumberElement),t(r,n,_);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(i.createElement)("div",{className:"checkout-form"},c?null:Object(i.createElement)("div",{className:"title-section"},Object(i.createElement)("h2",null,Object(Ke.__)("Coupon","wubtitle"))),c?null:Object(i.createElement)("div",{className:"fields-container flex-container"},Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"name"},Object(Ke.__)("Discount Code","wubtitle")),Object(i.createElement)("input",{name:"coupon",placeholder:"Coupon",value:l,onChange:function(e){return p(e.target.value)}}),Object(i.createElement)("p",{className:"coupon-message"},h)),Object(i.createElement)("div",{className:"form-field-container flex-container center-items"},Object(i.createElement)("button",{className:"coupon-button",disabled:!l||T,onClick:function(){return A(!0),void fetch(y,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_coupon&_ajax_nonce=".concat(g,"&coupon=").concat(l,"&planId=").concat(m)}).then((function(e){return e.json()})).then((function(e){A(!1),e.success?(v(e.data.message),u(e.data)):(v(e.data),p(null),u(!1))}))}},T&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Apply Coupon","wubtitle")))),Object(i.createElement)("div",{className:"title-section"},Object(i.createElement)("h2",null,Object(Ke.__)("Payment Details","wubtitle")),c?Object(i.createElement)("div",{className:"switch-container"},Object(i.createElement)("p",null,E?Object(Ke.__)("editing enabled","wubtitle"):Object(Ke.__)("editing disabled","wubtitle")),Object(i.createElement)("label",{htmlFor:"change-data",className:"switch"},Object(i.createElement)("input",{type:"checkbox",onClick:function(){x(!E)}}),Object(i.createElement)("span",{className:"slider round"}))):null),c?Object(i.createElement)("div",{className:"summary columns"},Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Email","wubtitle"),": "),c.email),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Card Details","wubtitle"),": "),c.cardNumber)),Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Card Holder","wubtitle"),": "),c.name),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Expires","wubtitle"),": "),c.expiration))):null,Object(i.createElement)(Lt,{initialValues:{name:"",email:""},validationSchema:P,onSubmit:function(e){k(e)}},(function(e){var t=e.errors,a=e.touched;return Object(i.createElement)($t,null,r&&E||r&&!c?Object(i.createElement)("div",{className:"error-message-container",role:"alert"},Object(i.createElement)("p",{className:"error-message-notice"},r)):"",!c||E?Object(i.createElement)("div",{className:"fields-container"},Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"email"},"E-Mail"),Object(i.createElement)(Ut,{name:"email",placeholder:"Email"}),Object(i.createElement)("p",{className:"error-message"},a.name&&t.name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"name"},Object(Ke.__)("Card Holder","wubtitle")),Object(i.createElement)(Ut,{name:"name",placeholder:"Card Holder"}),Object(i.createElement)("p",{className:"error-message"},a.name&&t.name)),Object(i.createElement)("div",{className:"form-field-container card"},Object(i.createElement)(Zt,null))):null,Object(i.createElement)("div",{className:"button-bar"},Object(i.createElement)("input",{type:"button",className:"cancel",onClick:function(){return n()},value:Object(Ke.__)("Back","wubtitle")}),Object(i.createElement)("button",{disabled:!_||s,className:s?"disabled":""},s&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Subscribe","wubtitle"))))})))}var Xt=n(96),Qt=n.n(Xt),en=n(97),tn=n(98),nn=n(23);function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function an(e){var t,n,r=e.invoicePreValues,o=e.handleSubmit,c=e.cancelFunction,u=e.error,s=e.loading,l=WP_GLOBALS,p=l.ajaxUrl,m=l.ajaxNonce,h=Object(Ke.__)("Required","wubtitle"),v=function(){var e=d()(f.a.mark((function e(r){var a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&16===r.length){e.next=2;break}return e.abrupt("return",!0);case 2:if(!t||t!==r){e.next=4;break}return e.abrupt("return",n);case 4:return t=r,e.next=7,fetch(p,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_fiscal_code&_ajax_nonce=".concat(m,"&fiscalCode=").concat(t)});case 7:return a=e.sent,e.next=10,a.json();case 10:return a=e.sent,n=a.data,e.abrupt("return",n);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=Ye((function(e){var t={invoice_firstname:je().required(h),invoice_email:je().email(Object(Ke.__)("Invalid email","wubtitle")).required(h),invoice_lastname:je().required(h),telephone:je().required(Object(Ke.__)("Telephone number required","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),prefix:je().required(Object(Ke.__)("Prefix required","wubtitle")).matches("^[+][0-9]*$",Object(Ke.__)("Prefix is only numbers","wubtitle")).max(4,Object(Ke.__)("Prefix must be max 3 numbers","wubtitle")),address:je().required(h),city:je().required(h),country:je().required(h)};return nn.includes(e.country)?(e.company_name?(t.vat_code=je().required(h),"IT"===e.country&&(t.vat_code=je().required(h).length(11,Object(Ke.__)("Vat Code must be exactly 11 characters","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),t.fiscal_code=je())):"IT"===e.country&&(t.fiscal_code=je().required(h).length(16,Object(Ke.__)("Fiscal Code must be exactly 16 characters","wubtitle")).test("is-valid-fiscalcode",Object(Ke.__)("Invalid Fiscal Code","wubtitle"),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())),"IT"===e.country&&(t.cap=je().required(h).length(5,Object(Ke.__)("Postal Code must be exactly 5 characters","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),t.province=je().required(h),t.destination_code=je().length(7,Object(Ke.__)("Destination Code must be exactly 7 characters","wubtitle"))),Ue().shape(t)):Ue().shape(t)})),y={invoice_firstname:"",invoice_email:"",invoice_lastname:"",prefix:"",telephone:"",company_name:"",address:"",cap:"",city:"",province:"",country:"",vat_code:"",fiscal_code:"",destination_code:"0000000"};r&&("+"!==r.prefix.charAt(0)&&(r.prefix="+".concat(r.prefix)),y=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach((function(t){Qt()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r));return Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(Lt,{initialValues:y,validationSchema:b,onSubmit:function(e){o(e)}},(function(e){var t,n=e.errors,r=e.touched,o=e.values;return Object(i.createElement)($t,null,Object(i.createElement)("h2",null," ",Object(Ke.__)("Billing Details","wubtitle")),u?Object(i.createElement)("div",{className:"error-message-container",role:"alert"},Object(i.createElement)("p",{className:"error-message-notice"},u)):"",Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceName"},Object(Ke.__)("Name","wubtitle")),Object(i.createElement)(Ut,{name:"invoice_firstname",placeholder:"Name"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_firstname&&n.invoice_firstname)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceLastname"},Object(Ke.__)("Lastname","wubtitle")),Object(i.createElement)(Ut,{name:"invoice_lastname",placeholder:"Lastname"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_lastname&&n.invoice_lastname)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceEmail"},"E-Mail"),Object(i.createElement)(Ut,{name:"invoice_email",placeholder:"Email"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_email&&n.invoice_email)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"companyName"},Object(Ke.__)("Company Name","wubtitle")),Object(i.createElement)(Ut,{name:"company_name",placeholder:"Company Name"}),Object(i.createElement)("p",{className:"error-message"},r.company_name&&n.company_name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"country"},Object(Ke.__)("Country","wubtitle")),Object(i.createElement)(Ut,{name:"country",component:"select"},Object(i.createElement)("option",{value:"",label:"Select a country"}),Object.entries(en).map((function(e){var t=a()(e,2),n=t[0],r=t[1];return Object(i.createElement)("option",{key:n,value:n,label:r})}))),Object(i.createElement)("p",{className:"error-message"},r.country&&n.country)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"province"},Object(Ke.__)("Province","wubtitle")),Object(i.createElement)(Ut,{name:"province",component:"select"},Object(i.createElement)("option",{value:"",label:"Select a province"}),Object.entries(tn).map((function(e){var t=a()(e,2),n=t[0],r=t[1];return Object(i.createElement)("option",{key:n,value:n,label:r})}))),Object(i.createElement)("p",{className:"error-message"},r.province&&n.province)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"city"},Object(Ke.__)("City","wubtitle")),Object(i.createElement)(Ut,{name:"city",placeholder:"City"}),Object(i.createElement)("p",{className:"error-message"},r.city&&n.city)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"address"},Object(Ke.__)("Address","wubtitle")),Object(i.createElement)(Ut,{name:"address",placeholder:"Address"}),Object(i.createElement)("p",{className:"error-message"},r.address&&n.address)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"cap"},Object(Ke.__)("Postal Code","wubtitle")),Object(i.createElement)(Ut,{name:"cap",placeholder:"CAP"}),Object(i.createElement)("p",{className:"error-message"},r.cap&&n.cap)),Object(i.createElement)("div",{className:"form-field-container ".concat(o.company_name&&nn.includes(o.country)?"":"hidden")},Object(i.createElement)("label",{htmlFor:"vatCode"},Object(Ke.__)("Vat Code","wubtitle")),Object(i.createElement)("div",null,Object(i.createElement)("span",{className:"prefix-input input"},o.country),Object(i.createElement)(Ut,{className:"input-with-prefix",name:"vat_code",placeholder:"Vat Code"})),Object(i.createElement)("p",{className:"error-message"},r.vat_code&&n.vat_code)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"fiscalCode"},Object(Ke.__)("Fiscal Code","wubtitle")),Object(i.createElement)(Ut,{name:"fiscal_code",placeholder:"Fiscal Code"}),Object(i.createElement)("p",{className:"error-message"},r.fiscal_code&&n.fiscal_code)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"telephone"},Object(Ke.__)("Telephone","wubtitle")),Object(i.createElement)("div",null,Object(i.createElement)(Ut,{className:"prefix-input",name:"prefix",placeholder:"+",value:(t=o.prefix,"+"!==t.charAt(0)&&(t="+".concat(t)),t.length>4?t.substring(0,t.length-1):t)}),Object(i.createElement)(Ut,{className:"input-with-prefix",name:"telephone",placeholder:"Telephone"})),Object(i.createElement)("p",{className:"error-message"},r.prefix&&n.prefix&&"".concat(n.prefix,". "),r.telephone&&n.telephone&&"".concat(n.telephone,". "))),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"destination-code"},Object(Ke.__)("Destination Code","wubtitle")),Object(i.createElement)(Ut,{name:"destination_code",placeholder:"Destination Code"}),Object(i.createElement)("p",{className:"error-message"},r.destination_code&&n.destination_code)),Object(i.createElement)("div",{className:"button-bar"},Object(i.createElement)("input",{type:"button",className:"cancel",onClick:function(){return c()},value:Object(Ke.__)("Cancel","wubtitle")}),Object(i.createElement)("button",null,s&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Next","wubtitle"))))})))}var on=n(60),cn=n(3),un=n.n(cn);function sn(e){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){ln(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dn(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function mn(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function hn(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}function vn(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),a=hn(t.slice(0,r)),i=t.slice(r+1).trim();return a.startsWith("webkit")?e[(n=a,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[a]=i,e}),{})}var bn=!1;try{bn=!0}catch(e){}function yn(e){return null===e?null:"object"===sn(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function gn(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ln({},e,t):{}}function _n(e){var t=e.forwardedRef,n=dn(e,["forwardedRef"]),r=n.icon,a=n.mask,i=n.symbol,o=n.className,c=n.title,u=yn(r),s=gn("classes",[].concat(mn(function(e){var t,n=e.spin,r=e.pulse,a=e.fixedWidth,i=e.inverse,o=e.border,c=e.listItem,u=e.flip,s=e.size,l=e.rotation,f=e.pull,p=(ln(t={"fa-spin":n,"fa-pulse":r,"fa-fw":a,"fa-inverse":i,"fa-border":o,"fa-li":c,"fa-flip-horizontal":"horizontal"===u||"both"===u,"fa-flip-vertical":"vertical"===u||"both"===u},"fa-".concat(s),null!=s),ln(t,"fa-rotate-".concat(l),null!=l&&0!==l),ln(t,"fa-pull-".concat(f),null!=f),ln(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(p).map((function(e){return p[e]?e:null})).filter((function(e){return e}))}(n)),mn(o.split(" ")))),l=gn("transform","string"==typeof n.transform?on.b.transform(n.transform):n.transform),f=gn("mask",yn(a)),p=Object(on.a)(u,pn({},s,{},l,{},f,{symbol:i,title:c}));if(!p)return function(){var e;!bn&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var d=p.abstract,m={ref:t};return Object.keys(n).forEach((function(e){_n.defaultProps.hasOwnProperty(e)||(m[e]=n[e])})),On(d[0],m)}_n.displayName="FontAwesomeIcon",_n.propTypes={border:un.a.bool,className:un.a.string,mask:un.a.oneOfType([un.a.object,un.a.array,un.a.string]),fixedWidth:un.a.bool,inverse:un.a.bool,flip:un.a.oneOf(["horizontal","vertical","both"]),icon:un.a.oneOfType([un.a.object,un.a.array,un.a.string]),listItem:un.a.bool,pull:un.a.oneOf(["right","left"]),pulse:un.a.bool,rotation:un.a.oneOf([0,90,180,270]),size:un.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:un.a.bool,symbol:un.a.oneOfType([un.a.bool,un.a.string]),title:un.a.string,transform:un.a.oneOfType([un.a.string,un.a.object]),swapOpacity:un.a.bool},_n.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var On=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=vn(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[hn(t)]=r}return e}),{attrs:{}}),o=r.style,c=void 0===o?{}:o,u=dn(r,["style"]);return i.attrs.style=pn({},i.attrs.style,{},c),t.apply(void 0,[n.tag,pn({},i.attrs,{},u)].concat(mn(a)))}.bind(null,c.a.createElement),jn={prefix:"fas",iconName:"arrow-left",icon:[448,512,[],"f060","M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"]},wn={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]};function En(e){var t=e.invoiceValues,n=Object(o.useState)(!1),r=a()(n,2),c=r[0],u=r[1],s=Object(o.useState)("closed"),l=a()(s,2),f=l[0],p=l[1];return Object(i.createElement)("div",{className:"summary ".concat(f)},Object(i.createElement)("div",{className:"accordion-bar"},Object(i.createElement)("h2",null,Object(Ke.__)("Billing Recap","wubtitle")),Object(i.createElement)("span",{className:"accordion is-hidden-on-desktop ".concat(f),onClick:function(){u(!c),p(c?"opened":"closed")},"aria-hidden":"true"},Object(i.createElement)(_n,{icon:wn}))),Object(i.createElement)("div",{className:"columns"},Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Name","wubtitle"),": "),t.invoice_firstname),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Email","wubtitle"),": "),t.invoice_email),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Country","wubtitle"),": "),t.country),t.cap&&"IT"===t.country?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Postal Code","wubtitle"),": "),t.cap):"",Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Address","wubtitle"),": "),t.address),t.telephone?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Telephone","wubtitle"),": "),"".concat(t.prefix," ").concat(t.telephone)):""),Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Lastname","wubtitle"),": "),t.invoice_lastname),t.company_name?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Company Name","wubtitle"),": "),t.company_name):"",t.province&&"IT"===t.country?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Province","wubtitle"),": "),t.province):"",Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("City","wubtitle"),": "),t.city),t.fiscal_code&&"IT"===t.country?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Fiscal Code","wubtitle"),": "),t.fiscal_code):"",t.vat_code&&t.company_name&&nn.includes(t.country)?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("VAT Code","wubtitle"),": "),t.vat_code):"","0000000"!==t.destination_code&&"IT"===t.country?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Destination Code","wubtitle"),":"," "),t.destination_code):"")))}function xn(){return(xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Sn=o.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Fn=o.createElement("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"});function Tn(e){return o.createElement("svg",xn({viewBox:"0 0 24 24",fill:"#fff",width:18,height:18},e),Sn,Fn)}var An=function(e){var t=e.price,n=e.taxPercentage,r=e.taxAmount,a=e.total,o=e.taxable,c=e.discountedPrice,u=e.messagePrice;return c&&(a=o?c.newTotal:c.price,r=c.newTax),Object(i.createElement)("div",null,Object(i.createElement)("table",{className:"price-table"},Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Price","wubtitle")),c?Object(i.createElement)("td",{className:"val"},Object(i.createElement)("span",{className:"cut-vat"},t," €",Object(i.createElement)("span",{className:"cut-line"})),parseFloat(c.price)," €"):Object(i.createElement)("td",{className:"val"},t," €")),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("VAT","wubtitle")," (",n,"%)"),o?Object(i.createElement)("td",{className:"val"},r," €"):Object(i.createElement)("td",{className:"val"},"0 €"," ",Object(i.createElement)("span",{className:"description"},Object(Ke.__)("no Vat due for you","wubtitle")))),Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Total","wubtitle")),Object(i.createElement)("td",{className:"val"},a," €",Object(i.createElement)("span",{className:"valxm"},u)))),c?Object(i.createElement)("p",{className:"coupon-notice"},Object(Ke.__)("Coupon applied!","wubtitle")):"")},Cn=function(e){var t=e.infoMessage;return Object(i.createElement)("div",{className:"disclaimer"},t&&Object(i.createElement)("p",null,t),Object(i.createElement)("p",null,Object(Ke.__)("When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.","wubtitle")),Object(i.createElement)("p",null,Object(i.createElement)("a",{href:"https://stripe.com/checkout/terms",rel:"noreferrer",target:"_blank"},Object(Ke.__)("Terms and conditions","wubtitle")),Object(i.createElement)("span",null," | "),Object(i.createElement)("a",{href:"https://stripe.com/it/privacy",target:"_blank",rel:"noreferrer"},Object(Ke.__)("Privacy","wubtitle"))))},Pn=function(e){var t=e.name,n=e.update;return Object(i.createElement)("p",{className:"price-name"},n?Object(Ke.__)("Update billing or payment details"):"".concat(Object(Ke.__)("Subscribe to","wubtitle")," ").concat(t," ").concat(Object(Ke.__)("plan","wubtitle")))},kn=function(e){var t=e.currentPlan,n=e.taxPercentage,r=e.renewal,a=e.taxable,o=e.taxAmount,c=e.price,u=e.total;return Object(i.createElement)("table",{className:"price-table"},Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Your plan","wubtitle")),Object(i.createElement)("td",{className:"val"},t)),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Price","wubtitle")),Object(i.createElement)("td",{className:"val"},c," €")),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("VAT","wubtitle")," (",n,"%)"),a?Object(i.createElement)("td",{className:"val"},o," €"):Object(i.createElement)("td",{className:"val"},"0 €"," ",Object(i.createElement)("span",{className:"description"},Object(Ke.__)("no Vat due for you","wubtitle")))),Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Total","wubtitle")),Object(i.createElement)("td",{className:"val"},u," €",Object(i.createElement)("span",{className:"valxm"},Object(Ke.__)(" per month","wubtitle")))),r?Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Automatic renewal","wubtitle")),Object(i.createElement)("td",{className:"val"},r)):null)},Nn=function(e){var t=e.update,n=e.price,r=e.name,c=e.taxAmount,u=e.taxPercentage,s=e.taxable,l=e.expirationDate,f=e.discountedPrice,p=" ".concat(Object(Ke.__)("per month","wubtitle")),d=null;f&&"once"===f.duration&&(p=" ".concat(Object(Ke.__)("for this month*","wubtitle")),d="*".concat(Object(Ke.__)("After the first month the monthly price will be","wubtitle")," ").concat(n,"€ + ").concat(c,"€ ").concat(Object(Ke.__)("(VAT)","wubtitle"))),f&&"repeating"===f.duration&&(p=" ".concat(Object(Ke.__)("for the firsts","wubtitle")," ").concat(f.durationInMonths," ").concat(Object(Ke.__)("months*","wubtitle")),d="*".concat(Object(Ke.__)("After the firsts","wubtitle")," ").concat(f.durationInMonths," ").concat(Object(Ke.__)("months the monthly price will be","wubtitle")," ").concat(n,"€ + ").concat(c,"€ ").concat(Object(Ke.__)("(VAT)","wubtitle")));var m=parseFloat(n);s&&(m=parseFloat(n)+parseFloat(c));var h=Object(o.useState)(!1),v=a()(h,2),b=v[0],y=v[1];return Object(i.createElement)("div",{className:"column price-column"},Object(i.createElement)("div",{className:"price"},Object(i.createElement)(Pn,{name:r,update:t}),t?null:Object(i.createElement)("p",{className:"mobile-price-info is-hidden-on-desktop"},f?Object(i.createElement)("span",{className:"cut-vat"},Object(i.createElement)("span",{className:"total"},m," €",Object(i.createElement)("span",{className:"cut-line"})),Object(i.createElement)("span",{className:"total"},parseFloat(f.newTotal)," ","€")):Object(i.createElement)("span",{className:"total"},m," € "),Object(i.createElement)("span",{className:"valxm"},p),Object(i.createElement)(Tn,{className:"info-icon",onClick:function(){return y(!b)}})),t?Object(i.createElement)(kn,{currentPlan:r,renewal:l,taxable:s,taxAmount:c,price:n,taxPercentage:u,total:m}):Object(i.createElement)(An,{price:n,taxPercentage:u,taxAmount:c,taxable:s,total:m,discountedPrice:f,messagePrice:p})),Object(i.createElement)(Cn,{infoMessage:d}),Object(i.createElement)("div",{className:b?"mobile-price-view opened":"mobile-price-view"},Object(i.createElement)("div",{className:"top"},Object(i.createElement)("div",{className:"nav-back",onClick:function(){return y(!b)},"aria-hidden":"true"},Object(i.createElement)("span",null,Object(i.createElement)(_n,{icon:jn}),"Subscription details")),Object(i.createElement)(Pn,{name:r,update:t}),Object(i.createElement)(An,{price:n,taxPercentage:u,taxAmount:c,taxable:s,total:m,discountedPrice:f,messagePrice:p})),Object(i.createElement)(Cn,{infoMessage:d})))},In="https://js.stripe.com/v3",Mn=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Rn="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Dn=null,Ln=function(e){return null!==Dn?Dn:Dn=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(Rn),window.Stripe)t(window.Stripe);else try{var r=function(){for(var e=document.querySelectorAll('script[src^="'.concat(In,'"]')),t=0;t<e.length;t++){var n=e[t];if(Mn.test(n.src))return n}return null}();r&&e?console.warn(Rn):r||(r=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(In).concat(t);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n}(e)),r.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),r.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}))},zn=function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.9.0",startTime:t})}(r,n),r},Vn=Promise.resolve().then((function(){return Ln(null)})),Bn=!1;Vn.catch((function(e){Bn||console.warn(e)}));var Un=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Bn=!0;var r=Date.now();return Vn.then((function(e){return zn(e,t,r)}))};document.getElementById("root")&&s.a.render(Object(i.createElement)((function(){var e=WP_GLOBALS,t=e.stripeKey,n=e.planId,r=e.ajaxUrl,c=e.ajaxNonce,u=e.pricePlan,s=e.namePlan,l=e.taxAmount,f=e.taxPercentage,p=Un(t),d=Object(o.useState)(!1),m=a()(d,2),h=m[0],v=m[1],b=Object(o.useState)(null),y=a()(b,2),g=y[0],_=y[1],O=Object(o.useState)(null),j=a()(O,2),w=j[0],E=j[1],x=Object(o.useState)(null),S=a()(x,2),F=S[0],T=S[1],A=Object(o.useState)(!1),C=a()(A,2),P=C[0],k=C[1],N=Object(o.useState)(!1),I=a()(N,2),M=I[0],R=I[1],D=Object(o.useState)(null),L=a()(D,2),z=L[0],V=L[1],B=function(e,t,a){var i=a.name,o=a.email;fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=confirm_subscription&actionCheckout=create&coupon=".concat(g||"","&name=").concat(i,"&email=").concat(o,"&planId=").concat(n,"&_ajax_nonce=").concat(c,"&setupIntent=").concat(JSON.stringify(e))}).then((function(e){return e.json()})).then((function(n){if(n.success)E(null),n.data&&"requires_action"===n.data.status?(E(null),function(e,t,n){n.confirmCardPayment(e,{payment_method:t,setup_future_usage:"off_session"}).then((function(e){"succeeded"===e.paymentIntent.status&&(v(!1),E(null),window.opener.thankYouPage("upgrade")),e.error&&(v(!1),E(e.error.message))}))}(n.data.clientSecret,e.paymentMethod,t)):(v(!1),window.opener.thankYouPage("upgrade"));else{if(n.data.couponError)return V(n.data.message),_(null),U(!1),void v(!1);v(!1),E(n.data)}}))},U=function(e){R(e||!1)};return Object(i.createElement)("div",{className:"main columns"},Object(i.createElement)(Nn,{update:!1,price:u,name:s,taxAmount:l,taxPercentage:f,taxable:!F||F.tax,discountedPrice:M}),Object(i.createElement)(Yt.Elements,{stripe:p},F&&!P?Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(En,{invoiceValues:F,price:u}),Object(i.createElement)(Jt,{createSubscription:function(e,t,n){v(!0);var a=t.email;fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=create_subscription&actionCheckout=create&email=".concat(a,"&_ajax_nonce=").concat(c,"&invoiceObject=").concat(JSON.stringify(F))}).then((function(e){return e.json()})).then((function(r){r.success?function(e,t,n,r){var a=n.name,i=n.email;r.confirmCardSetup(e,{payment_method:{type:"card",card:t,billing_details:{name:a,email:i}}}).then((function(e){e.setupIntent&&"succeeded"===e.setupIntent.status&&(E(null),B(e,r,n)),e.error&&(v(!1),E(e.error.message))}))}(r.data,e,t,n):(v(!1),E(r.data))}))},error:w,backFunction:function(){k(!0),E(null)},paymentPreValues:null,updatePrice:U,loading:h,coupon:g,setCoupon:_,planId:n,couponMessage:z,setCouponMessage:V})):Object(i.createElement)(an,{handleSubmit:function(e){v(!0),fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_vat_code&_ajax_nonce=".concat(c,"&vat_code=").concat(e.vat_code,"&country=").concat(e.country,"&price_plan=").concat(u,"&companyName=").concat(e.company_name)}).then((function(e){return e.json()})).then((function(t){v(!1),t.success?(E(null),e.tax=t.data,T(e),P&&k(!1)):E(t.data)}))},invoicePreValues:F,error:w,cancelFunction:function(){window.opener.cancelPayment()},loading:h})))}),null),document.getElementById("root")),document.getElementById("update-form")&&s.a.render(Object(i.createElement)((function(){var e=WP_GLOBALS,t=e.stripeKey,n=e.ajaxUrl,r=e.ajaxNonce,c=e.pricePlan,u=e.invoicePreValues,s=e.paymentPreValues,l=e.namePlan,f=e.expirationDate,p=e.taxAmount,d=e.taxPercentage,m=e.isTaxable,h=Un(t),v=Object(o.useState)(null),b=a()(v,2),y=b[0],g=b[1],_=Object(o.useState)(!1),O=a()(_,2),j=O[0],w=O[1],E=Object(o.useState)(null),x=a()(E,2),S=x[0],F=x[1],T=Object(o.useState)(!1),A=a()(T,2),C=A[0],P=A[1],k=Object(o.useState)(!0),N=a()(k,2),I=N[0],M=N[1];Object(o.useEffect)((function(){null!==m&&M(m)}),[m]);var R=function(e,t,a,i){var o=a.name,c=a.email;i.confirmCardSetup(e,{payment_method:{type:"card",card:t,billing_details:{name:o,email:c}}}).then((function(e){e.setupIntent&&"succeeded"===e.setupIntent.status&&(g(null),function(e,t,a){var i=a.name,o=a.email;fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=confirm_subscription&actionCheckout=updateCard&name=".concat(i,"&email=").concat(o,"&_ajax_nonce=").concat(r,"&setupIntent=").concat(JSON.stringify(e))}).then((function(e){return e.json()})).then((function(e){e.success?(w(!1),window.opener.thankYouPage("update")):(w(!1),g(e.data))}))}(e,0,a)),e.error&&(w(!1),g(e.error.message))}))};return Object(i.createElement)("div",{className:"main columns"},Object(i.createElement)(Nn,{update:!0,price:c,name:l,taxAmount:p,taxPercentage:d,taxable:I,expirationDate:f,discountedPrice:!1}),Object(i.createElement)(Yt.Elements,{stripe:h},S&&!C?Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(En,{invoiceValues:S,price:c}),Object(i.createElement)(Jt,{createSubscription:function(e,t,a){w(!0);var i=t.email,o="updateInvoice";e&&(o="updateCard"),fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=create_subscription&actionCheckout=".concat(o,"&email=").concat(i,"&_ajax_nonce=").concat(r,"&invoiceObject=").concat(JSON.stringify(S))}).then((function(e){return e.json()})).then((function(n){"updateInvoice"===n.data?(w(!1),g(null),window.opener.thankYouPage("update")):n.success?R(n.data,e,t,a):(w(!1),g(n.data))}))},backFunction:function(){P(!0),g(null)},paymentPreValues:s,error:y,setError:g,loading:j})):Object(i.createElement)(an,{handleSubmit:function(e){w(!0),fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_vat_code&_ajax_nonce=".concat(r,"&vat_code=").concat(e.vat_code,"&country=").concat(e.country,"&price_plan=").concat(c)}).then((function(e){return e.json()})).then((function(t){w(!1),t.success?(g(null),M(t.data),F(e),C&&P(!1)):g(t.data)}))},invoicePreValues:S||u,error:y,cancelFunction:function(){window.close()},loading:j})))}),null),document.getElementById("update-form"))}]);
  • wubtitle/tags/1.0.4/includes/Api/ApiAuthUpgradePlan.php

    r2346395 r2371183  
    1111
    1212use WP_REST_Response;
    13 use \Firebase\JWT\JWT;
     13use Wubtitle\Helpers;
    1414
    1515/**
     
    1717 */
    1818class ApiAuthUpgradePlan {
     19
     20    /**
     21     * Instance of class helpers.
     22     *
     23     * @var mixed
     24     */
     25    private $helpers;
     26
    1927    /**
    2028     * Init class action.
     
    2533        add_action( 'rest_api_init', array( $this, 'register_auth_plan_route' ) );
    2634        add_action( 'rest_api_init', array( $this, 'register_reactivate_plan_route' ) );
     35        $this->helpers = new Helpers();
    2736    }
    2837
     
    3746            '/auth-plan',
    3847            array(
    39                 'methods'  => 'POST',
    40                 'callback' => array( $this, 'auth_and_get_plan' ),
     48                'methods'             => 'POST',
     49                'callback'            => array( $this, 'return_plan' ),
     50                'permission_callback' => function( $request ) {
     51                    return $this->helpers->authorizer( $request );
     52                },
    4153            )
    4254        );
     
    5264            '/reactivate-plan',
    5365            array(
    54                 'methods'  => 'POST',
    55                 'callback' => array( $this, 'reactivate_plan' ),
     66                'methods'             => 'POST',
     67                'callback'            => array( $this, 'reactivate_plan' ),
     68                'permission_callback' => function( $request ) {
     69                    return $this->helpers->authorizer( $request );
     70                },
    5671            )
    5772        );
     
    6176     * JWT authentication.
    6277     *
    63      * @param \WP_REST_Request $request request values.
    6478     * @return WP_REST_Response|array<string,array<string,bool>>
    6579     */
    66     public function reactivate_plan( $request ) {
    67         $headers        = $request->get_headers();
    68         $jwt            = $headers['jwt'][0];
    69         $db_license_key = get_option( 'wubtitle_license_key' );
    70         try {
    71             JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
    72         } catch ( \Exception $e ) {
    73             $error = array(
    74                 'errors' => array(
    75                     'status' => '403',
    76                     'title'  => 'Authentication Failed',
    77                     'source' => $e->getMessage(),
    78                 ),
    79             );
    80 
    81             $response = new WP_REST_Response( $error );
    82 
    83             $response->set_status( 403 );
    84 
    85             return $response;
    86         }
     80    public function reactivate_plan() {
    8781        $is_reactivating = (bool) get_option( 'wubtitle_is_reactivating' );
    8882        update_option( 'wubtitle_is_reactivating', false );
     
    9387        );
    9488        return $message;
    95     }
    96 
    97     /**
    98      * JWT Authentication.
    99      *
    100      * @param \WP_REST_Request $request values.
    101      * @return WP_REST_Response|array<array<string>>
    102      */
    103     public function auth_and_get_plan( $request ) {
    104         $headers        = $request->get_headers();
    105         $jwt            = $headers['jwt'][0];
    106         $db_license_key = get_option( 'wubtitle_license_key' );
    107         try {
    108             JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
    109         } catch ( \Exception $e ) {
    110             $error = array(
    111                 'errors' => array(
    112                     'status' => '403',
    113                     'title'  => 'Authentication Failed',
    114                     'source' => $e->getMessage(),
    115                 ),
    116             );
    117 
    118             $response = new WP_REST_Response( $error );
    119 
    120             $response->set_status( 403 );
    121 
    122             return $response;
    123         }
    124         return $this->return_plan();
    12589    }
    12690
  • wubtitle/tags/1.0.4/includes/Api/ApiLicenseValidation.php

    r2354686 r2371183  
    1313use WP_REST_Response;
    1414use \Firebase\JWT\JWT;
     15use Wubtitle\Helpers;
    1516
    1617/**
     
    1819 */
    1920class ApiLicenseValidation {
     21    /**
     22     * Instance of class helpers.
     23     *
     24     * @var mixed
     25     */
     26    private $helpers;
     27
    2028    /**
    2129     * Init class action.
     
    2634        add_action( 'rest_api_init', array( $this, 'register_license_validation_route' ) );
    2735        add_action( 'rest_api_init', array( $this, 'register_reset_invalid_license_route' ) );
     36        $this->helpers = new Helpers();
    2837    }
    2938
     
    3847            '/job-list',
    3948            array(
    40                 'methods'  => 'GET',
    41                 'callback' => array( $this, 'auth_and_get_job_list' ),
     49                'methods'             => 'GET',
     50                'callback'            => array( $this, 'get_job_list' ),
     51                'permission_callback' => function( $request ) {
     52                    return $this->helpers->authorizer( $request );
     53                },
    4254            )
    4355        );
     
    5466            '/reset-user',
    5567            array(
    56                 'methods'  => 'POST',
    57                 'callback' => array( $this, 'get_init_data' ),
     68                'methods'             => 'POST',
     69                'callback'            => array( $this, 'get_init_data' ),
     70                'permission_callback' => function( $request ) {
     71                    $headers          = $request->get_headers();
     72                    $token            = $headers['token'][0];
     73                    $current_token    = get_option( 'wubtitle_token' );
     74                    $token_expiration = get_option( 'wubtitle_token_time' );
     75                    if ( $token !== $current_token && time() > $token_expiration ) {
     76                        return false;
     77                    }
     78                },
    5879            )
    5980        );
     
    6283
    6384    /**
    64      * JWT Authentication and reset user data.
     85     * Reset user data.
    6586     *
    6687     * @param \WP_REST_Request $request valori della richiesta.
     
    6889     */
    6990    public function get_init_data( $request ) {
    70         $headers          = $request->get_headers();
    71         $token            = $headers['token'][0];
    72         $current_token    = get_option( 'wubtitle_token' );
    73         $token_expiration = get_option( 'wubtitle_token_time' );
    74         if ( $token !== $current_token && time() > $token_expiration ) {
    75             $error    = array(
    76                 'errors' => array(
    77                     'status' => '403',
    78                     'title'  => 'Authentication Failed',
    79                 ),
    80             );
    81             $response = new WP_REST_Response( $error );
    82             $response->set_status( 403 );
    83             return $response;
    84         }
    8591        $params = json_decode( $request->get_body() )->data;
    8692        // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
     
    104110
    105111        return $message;
    106     }
    107 
    108     /**
    109      * JWT Authentication.
    110      *
    111      * @param \WP_REST_Request $request valori della richiesta.
    112      * @return WP_REST_Response|array<string,array<string,array<int,mixed>>>
    113      */
    114     public function auth_and_get_job_list( $request ) {
    115         $headers = $request->get_headers();
    116         $error   = array(
    117             'errors' => array(
    118                 'status' => '403',
    119                 'title'  => 'Authentication Failed',
    120             ),
    121         );
    122         if ( ! isset( $headers['jwt'] ) ) {
    123             $response = new WP_REST_Response( $error );
    124             $response->set_status( 403 );
    125             return $response;
    126         }
    127         $jwt            = $headers['jwt'][0];
    128         $db_license_key = get_option( 'wubtitle_license_key' );
    129         try {
    130             JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
    131         } catch ( \Exception $e ) {
    132             $error['source'] = $e->getMessage();
    133             $response        = new WP_REST_Response( $error );
    134 
    135             $response->set_status( 403 );
    136 
    137             return $response;
    138         }
    139         return $this->get_job_list();
    140112    }
    141113
  • wubtitle/tags/1.0.4/includes/Api/ApiPricingPlan.php

    r2354686 r2371183  
    2525        add_action( 'wp_ajax_change_plan', array( $this, 'change_plan' ) );
    2626        add_action( 'wp_ajax_create_subscription', array( $this, 'create_subscription' ) );
    27         add_action( 'wp_ajax_check_coupon', array( $this, 'check_coupon' ) );
    2827        add_action( 'wp_ajax_confirm_subscription', array( $this, 'confirm_subscription' ) );
    2928        add_action( 'wp_ajax_check_plan_change', array( $this, 'check_plan_change' ) );
     
    4039        $current_plan_rank = get_option( 'wubtitle_plan_rank' );
    4140        $is_upgrade        = $wanted_plan_rank > $current_plan_rank;
    42         if ( ! isset( $_POST['_ajax_nonce'] ) || empty( $wanted_plan ) ) {
     41        if ( ! isset( $_POST['_ajax_nonce'] ) || empty( $wanted_plan ) || ! current_user_can( 'manage_options' ) ) {
    4342            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    4443        }
     
    9796     */
    9897    public function reactivate_plan() {
    99         if ( ! isset( $_POST['_ajax_nonce'] ) ) {
     98        if ( ! isset( $_POST['_ajax_nonce'] ) || ! current_user_can( 'manage_options' ) ) {
    10099            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    101100        }
     
    244243     */
    245244    public function create_subscription() {
    246         if ( ! isset( $_POST['_ajax_nonce'], $_POST['invoiceObject'], $_POST['email'], $_POST['actionCheckout'] ) ) {
     245        if ( ! isset( $_POST['_ajax_nonce'], $_POST['invoiceObject'], $_POST['email'], $_POST['actionCheckout'] ) || ! current_user_can( 'manage_options' ) ) {
    247246            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    248247        }
     
    349348        );
    350349        $code_response = $this->is_successful_response( $response ) ? wp_remote_retrieve_response_code( $response ) : '500';
    351         $message       = array(
    352             '400' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
    353             '401' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
    354             '403' => __( 'Access denied', 'wubtitle' ),
    355             '500' => __( 'Could not contact the server', 'wubtitle' ),
    356             ''    => __( 'Could not contact the server', 'wubtitle' ),
    357         );
    358350        $response_body = json_decode( wp_remote_retrieve_body( $response ) );
    359351        if ( 200 !== $code_response ) {
    360             $message = 402 === $code_response ? $response_body->errors->title : $message[ $code_response ];
    361             wp_send_json_error( $message );
     352            $data = $this->error_confirm_manager( $code_response, $response_body );
     353            wp_send_json_error( $data );
    362354        }
    363355        $data = array(
     
    370362        wp_send_json_success( $data );
    371363    }
    372 
    373     /**
    374      * Check coupon code.
    375      *
    376      * @return void
    377      */
    378     public function check_coupon() {
    379         if ( ! isset( $_POST['_ajax_nonce'], $_POST['coupon'], $_POST['planId'] ) ) {
    380             wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    381         }
    382         $coupon  = sanitize_text_field( wp_unslash( $_POST['coupon'] ) );
    383         $nonce   = sanitize_text_field( wp_unslash( $_POST['_ajax_nonce'] ) );
    384         $plan_id = sanitize_text_field( wp_unslash( $_POST['planId'] ) );
    385         check_ajax_referer( 'itr_ajax_nonce', $nonce );
    386 
    387         $body = array(
    388             'data' => array(
    389                 'coupon' => $coupon,
    390                 'planId' => $plan_id,
    391             ),
    392         );
    393 
    394         $license_key   = get_option( 'wubtitle_license_key' );
    395         $response      = wp_remote_post(
    396             WUBTITLE_ENDPOINT . 'stripe/customer/create/preview',
    397             array(
    398                 'method'  => 'POST',
    399                 'timeout' => 10,
    400                 'headers' => array(
    401                     'Content-Type' => 'application/json; charset=utf-8',
    402                     'licenseKey'   => $license_key,
    403                     'domainUrl'    => get_site_url(),
    404                 ),
    405                 'body'    => wp_json_encode( $body ),
    406             )
    407         );
    408         $code_response = $this->is_successful_response( $response ) ? wp_remote_retrieve_response_code( $response ) : '500';
    409         $response_body = json_decode( wp_remote_retrieve_body( $response ) );
    410         $message       = array(
     364    /**
     365     * Manager of confirm error.
     366     *
     367     * @param int|string $code_response code response.
     368     * @param mixed      $response_body body of response.
     369     *
     370     * @return string|array<mixed>
     371     */
     372    private function error_confirm_manager( $code_response, $response_body ) {
     373        $message = array(
    411374            '400' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
    412375            '401' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
     
    415378            ''    => __( 'Could not contact the server', 'wubtitle' ),
    416379        );
    417         if ( 200 !== $code_response ) {
    418             $message['402'] = $response_body->errors->title;
    419             $message        = $message[ $code_response ];
    420             if ( 400 === $code_response && 'INVALID_COUPON' === $response_body->errors->title ) {
    421                 $message = __( 'Invalid Coupon', 'wubtitle' );
    422             }
    423             wp_send_json_error( $message );
    424         }
    425         $data = array(
    426             'price'    => $response_body->data->netAmount,
    427             'newTax'   => $response_body->data->taxAmount,
    428             'newTotal' => $response_body->data->totalAmount,
    429         );
    430         wp_send_json_success( $data );
     380        if ( 400 !== $code_response || ! isset( $response_body->errors->title ) ) {
     381            return 402 === $code_response ? $response_body->errors->title : $message[ $code_response ];
     382        }
     383        $error         = $response_body->errors->title;
     384        $error_message = array(
     385            'WRONG_CUSTOMER'    => __( 'Unable to apply discount. You are not authorized to use this coupon', 'wubtitle' ),
     386            'FIRST_TRANSACTION' => __( 'Unable to apply discount. This coupon can only be used on the first purchase', 'wubtitle' ),
     387            'GENERIC_ERROR'     => __( 'Unable to apply discount. Please try again later or enter a different discount code', 'wubtitle' ),
     388        );
     389        $data          = array(
     390            'couponError' => true,
     391            'message'     => $error_message[ $error ],
     392        );
     393        return $data;
    431394    }
    432395}
  • wubtitle/tags/1.0.4/includes/Api/ApiStoreSubtitle.php

    r2346395 r2371183  
    1111
    1212use WP_REST_Response;
    13 use \Firebase\JWT\JWT;
    1413use \download_url;
     14use Wubtitle\Helpers;
    1515
    1616/**
     
    1919class ApiStoreSubtitle {
    2020    /**
     21     * Instance of class helpers.
     22     *
     23     * @var mixed
     24     */
     25    private $helpers;
     26
     27    /**
    2128     * Init class action.
    2229     *
     
    2633        add_action( 'rest_api_init', array( $this, 'register_store_subtitle_route' ) );
    2734        add_action( 'rest_api_init', array( $this, 'register_error_jobs_route' ) );
     35        $this->helpers = new Helpers();
    2836    }
    2937
     
    3846            '/store-subtitle',
    3947            array(
    40                 'methods'  => 'POST',
    41                 'callback' => array( $this, 'auth_and_get_subtitle' ),
     48                'methods'             => 'POST',
     49                'callback'            => array( $this, 'get_subtitle' ),
     50                'permission_callback' => function( $request ) {
     51                    return $this->helpers->authorizer( $request );
     52                },
    4253            )
    4354        );
    44     }
    45 
    46     /**
    47      * JWT authentication.
    48      *
    49      * @param \WP_REST_Request $request request values.
    50      * @return WP_REST_Response
    51      */
    52     public function auth_and_get_subtitle( $request ) {
    53         $headers        = $request->get_headers();
    54         $jwt            = $headers['jwt'][0];
    55         $params         = $request->get_param( 'data' );
    56         $db_license_key = get_option( 'wubtitle_license_key' );
    57         try {
    58             JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
    59         } catch ( \Exception $e ) {
    60             $error = array(
    61                 'errors' => array(
    62                     'status' => '403',
    63                     'title'  => 'Authentication Failed',
    64                     'source' => $e->getMessage(),
    65                 ),
    66             );
    67 
    68             $response = new WP_REST_Response( $error );
    69 
    70             $response->set_status( 403 );
    71 
    72             return $response;
    73         }
    74         return $this->get_subtitle( $params );
    7555    }
    7656
     
    198178            '/error-jobs',
    199179            array(
    200                 'methods'  => 'POST',
    201                 'callback' => array( $this, 'get_jobs_failed' ),
     180                'methods'             => 'POST',
     181                'callback'            => array( $this, 'get_jobs_failed' ),
     182                'permission_callback' => '__return_true',
    202183            )
    203184        );
  • wubtitle/tags/1.0.4/includes/Core/Activation.php

    r2348353 r2371183  
    2121    public function run() {
    2222        register_activation_hook( WUBTITLE_FILE_URL, array( $this, 'wubtitle_activation_license_key' ) );
     23        add_action( '_core_updated_successfully', array( $this, 'wubtitle_activation_license_key' ), 10, 1 );
    2324    }
    2425
     
    2627     * When the plugin is activated calls the endpoint to receive the license key.
    2728     *
     29     * @param string $wp_version WordPress version.
     30     *
    2831     * @return void
    2932     */
    30     public function wubtitle_activation_license_key() {
     33    public function wubtitle_activation_license_key( $wp_version = '' ) {
    3134        $site_url      = get_site_url();
     35        $wubtitle_data = get_plugin_data( WUBTITLE_FILE_URL );
    3236        $body          = array(
    3337            'data' => array(
    34                 'domainUrl' => $site_url,
    35                 'siteLang'  => explode( '_', get_locale(), 2 )[0],
     38                'domainUrl'     => $site_url,
     39                'siteLang'      => explode( '_', get_locale(), 2 )[0],
     40                'wpVersion'     => empty( $wp_version ) ? $GLOBALS['wp_version'] : $wp_version,
     41                'pluginVersion' => $wubtitle_data['Version'],
    3642            ),
    3743        );
  • wubtitle/tags/1.0.4/includes/Dashboard/Settings.php

    r2354686 r2371183  
    4545    public function create_settings_menu() {
    4646        // TODO: Cambiare $icon_url e $position (attualmente subito dopo "Impostazioni") quando verranno date indicazioni UX.
    47         add_menu_page( __( 'Wubtitle Settings', 'wubtitle' ), __( 'Wubtitle', 'wubtitle' ), 'manage_options', 'wubtitle_settings', array( $this, 'render_settings_page' ), 'dashicons-format-status', 81 );
     47        add_menu_page( __( 'Wubtitle Settings', 'wubtitle' ), __( 'Wubtitle', 'wubtitle' ), 'edit_posts', 'wubtitle_settings', array( $this, 'render_settings_page' ), 'dashicons-format-status', 81 );
    4848    }
    4949
     
    184184    private function render_plan_renewal( $plan, $cancelling, $date ) {
    185185        if ( '0' !== $plan && ! $cancelling ) {
    186             echo esc_html( __( 'Automatic renewal:', 'wubtitle' ) . $date ) . ' ';
     186            echo esc_html( __( 'Automatic renewal:', 'wubtitle' ) . ' ' . $date );
    187187        } elseif ( '0' !== $plan && $cancelling ) {
    188             echo esc_html( __( 'You requested the subscription cancellation. Your plan will be valid until', 'wubtitle' ) . $date );
     188            echo esc_html( __( 'You requested the subscription cancellation. Your plan will be valid until', 'wubtitle' ) . ' ' . $date );
    189189        }
    190190    }
     
    197197     */
    198198    private function render_plan_update( $cancelling ) {
    199         if ( ! $cancelling && ! get_option( 'wubtitle_free' ) && $this->price_info_plans ) {
     199        if ( ! $cancelling && ! get_option( 'wubtitle_free' ) && $this->price_info_plans && current_user_can( 'manage_options' ) ) {
    200200            ?>
    201201            <a href="#" id="cancel-license-button" style="text-decoration: underline; color:red; margin-right:10px;" >
     
    203203            </a>
    204204            <a href="#" id="update-plan-button" style="text-decoration: underline" >
    205                 <?php esc_html_e( 'Update email or payment detail', 'wubtitle' ); ?>
     205                <?php esc_html_e( 'Update billing or payment details', 'wubtitle' ); ?>
    206206            </a>
    207207            <a href="#" id="modify-plan" style="text-decoration: underline; margin-left: 10px;" >
     
    321321
    322322        $plans    = get_option( 'wubtitle_all_plans', array() );
    323         $disabled = count( $plans ) === 0 ? 'disabled' : '';
    324         $message  = count( $plans ) === 0 ? __( 'Upgrade feature temporarily disabled due to error loading the page. Please refresh the page and try again.', 'wubtitle' ) : '';
     323        $disabled = '';
     324        $message  = '';
     325        if ( count( $plans ) === 0 ) {
     326            $disabled = 'disabled';
     327            $message  = __( 'Upgrade feature temporarily disabled due to error loading the page. Please refresh the page and try again.', 'wubtitle' );
     328        }
     329        if ( ! current_user_can( 'manage_options' ) ) {
     330            $disabled = 'disabled';
     331            $message  = __( 'Upgrading and plan changes can only be done by the administrator', 'wubtitle' );
     332        }
    325333        if ( count( $plans ) === 0 || ( get_option( 'wubtitle_plan_rank' ) < count( $plans ) - 1 && $this->price_info_plans ) ) {
    326334            add_settings_field(
     
    338346            );
    339347        }
    340         add_settings_field(
    341             'wubtitle-license-key',
    342             __( 'License Number', 'wubtitle' ),
    343             array( $this, 'input_field' ),
    344             'wubtitle-settings',
    345             'wubtitle-main-settings',
    346             array(
    347                 'type'        => 'text',
    348                 'name'        => 'wubtitle_license_key',
    349                 'placeholder' => __( 'License key', 'wubtitle' ),
    350                 'class'       => 'input-license-key',
    351                 'description' => __( 'Please enter the license key you received after successful checkout', 'wubtitle' ),
    352             )
    353         );
     348        if ( current_user_can( 'manage_options' ) ) {
     349            add_settings_field(
     350                'wubtitle-license-key',
     351                __( 'License Number', 'wubtitle' ),
     352                array( $this, 'input_field' ),
     353                'wubtitle-settings',
     354                'wubtitle-main-settings',
     355                array(
     356                    'type'        => 'text',
     357                    'name'        => 'wubtitle_license_key',
     358                    'placeholder' => __( 'License key', 'wubtitle' ),
     359                    'class'       => 'input-license-key',
     360                    'description' => __( 'Please enter the license key you received after successful checkout', 'wubtitle' ),
     361                )
     362            );
     363        }
    354364    }
    355365
  • wubtitle/tags/1.0.4/includes/Dashboard/Templates/update_template.php

    r2346395 r2371183  
    1111 * This template displays the update plan page.
    1212 */
     13
     14wp_cache_delete( 'wubtitle_plan', 'options' );
     15wp_cache_delete( 'wubtitle_free', 'options' );
     16wp_cache_delete( 'wubtitle_plan_rank', 'options' );
     17wp_cache_delete( 'wubtitle_is_first_month', 'options' );
     18
    1319?>
    1420<!DOCTYPE html>
  • wubtitle/tags/1.0.4/includes/Gutenberg/VideoBlock.php

    r2354686 r2371183  
    2424    public function run() {
    2525        add_action( 'enqueue_block_editor_assets', array( $this, 'add_subtitle_button_enqueue' ) );
    26         add_action( 'init', array( $this, 'video_block_dynamic' ) );
     26        add_filter( 'render_block', array( $this, 'video_dynamic_block_render_callback' ), 10, 2 );
    2727    }
    2828
     
    4848
    4949    /**
    50      * This function overrides the core/video block.
    51      *
    52      * @return void
    53      */
    54     public function video_block_dynamic() {
    55         register_block_type(
    56             'core/video',
    57             array(
    58                 'render_callback' => array( $this, 'video_dynamic_block_render_callback' ),
    59             )
    60         );
    61     }
    62 
    63     /**
    6450     * Dynamic block callback.
    6551     *
    66      * @param array<string,int> $attributes video attributes (id).
    67      * @param string            $content standard video block html generated by wordress.
     52     * @param string       $block_content standard video block html generated by wordress.
     53     * @param array<mixed> $block video attributes (id).
    6854     * @return string|false
    6955     */
    70     public function video_dynamic_block_render_callback( $attributes, $content ) {
     56    public function video_dynamic_block_render_callback( $block_content, $block ) {
     57        if ( 'core/video' !== $block['blockName'] ) {
     58            return $block_content;
     59        }
    7160        wp_enqueue_style( 'wubtitle_test', WUBTITLE_URL . '/assets/css/subtitles.css', array(), WUBTITLE_VER );
     61        $attributes = $block['attrs'];
    7262        if ( empty( $attributes['id'] ) ) {
    73             return $content;
     63            return $block_content;
    7464        }
    7565        $subtitle     = get_post_meta( $attributes['id'], 'wubtitle_subtitle', true );
     
    7969        $status       = get_post_meta( $attributes['id'], 'wubtitle_status', true );
    8070        if ( ! $subtitle_src || ! $video_src || 'enabled' !== $status ) {
    81             return $content;
     71            return $block_content;
    8272        }
    8373        ob_start();
  • wubtitle/tags/1.0.4/includes/Helpers.php

    r2346395 r2371183  
    99
    1010namespace Wubtitle;
     11
     12use \Firebase\JWT\JWT;
    1113
    1214/**
     
    8082    }
    8183
     84    /**
     85     * JWT authentication
     86     *
     87     * @param \WP_REST_Request $request request value.
     88     * @return bool|object
     89     */
     90    public function authorizer( $request ) {
     91        $headers = $request->get_headers();
     92        if ( ! isset( $headers['jwt'] ) ) {
     93            return false;
     94        }
     95        $jwt            = $headers['jwt'][0];
     96        $db_license_key = get_option( 'wubtitle_license_key' );
     97        return JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
     98    }
     99
    82100}
  • wubtitle/tags/1.0.4/includes/Utils/InvoiceHelper.php

    r2354686 r2371183  
    2323        add_action( 'wp_ajax_check_vat_code', array( $this, 'check_vat_code' ) );
    2424        add_action( 'wp_ajax_check_fiscal_code', array( $this, 'check_fiscal_code' ) );
     25        add_action( 'wp_ajax_check_coupon', array( $this, 'check_coupon' ) );
    2526    }
    2627
     
    3132     */
    3233    public function check_vat_code() {
    33         if ( ! isset( $_POST['_ajax_nonce'], $_POST['price_plan'], $_POST['vat_code'], $_POST['country'] ) ) {
     34        if ( ! isset( $_POST['_ajax_nonce'], $_POST['price_plan'], $_POST['vat_code'], $_POST['country'] ) || ! current_user_can( 'manage_options' ) ) {
    3435            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    3536        }
     
    9192     */
    9293    public function check_fiscal_code() {
    93         if ( ! isset( $_POST['_ajax_nonce'], $_POST['fiscalCode'] ) ) {
     94        if ( ! isset( $_POST['_ajax_nonce'], $_POST['fiscalCode'] ) || ! current_user_can( 'manage_options' ) ) {
    9495            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    9596        }
     
    137138        $eu_countries_file = wp_remote_get( WUBTITLE_URL . 'build_form/europeanCountries.json' );
    138139        $eu_countries      = json_decode( wp_remote_retrieve_body( $eu_countries_file ) );
    139         if ( ! isset( $invoice_object->invoice_name, $invoice_object->invoice_lastname, $invoice_object->invoice_email, $invoice_object->telephone, $invoice_object->prefix, $invoice_object->address, $invoice_object->city, $invoice_object->country ) ) {
     140        if ( ! isset( $invoice_object->invoice_firstname, $invoice_object->invoice_lastname, $invoice_object->invoice_email, $invoice_object->telephone, $invoice_object->prefix, $invoice_object->address, $invoice_object->city, $invoice_object->country ) ) {
    140141            return false;
    141142        }
    142143        $invoice_details = array(
    143             'Name'            => $invoice_object->invoice_name,
     144            'Name'            => $invoice_object->invoice_firstname,
    144145            'LastName'        => $invoice_object->invoice_lastname,
    145146            'Email'           => $invoice_object->invoice_email,
     
    225226        $is_taxable      = $response_body->data->taxable;
    226227        $invoice_data    = array(
    227             'invoice_name'    => $invoice_details->Name,
    228             'invoice_email'    => $invoice_details->Email,
    229             'invoice_lastname' => $invoice_details->LastName,
    230             'telephone'        => $invoice_details->Telephone,
    231             'prefix'           => $invoice_details->TelephonePrefix,
    232             'company_name'     => $invoice_details->CompanyName,
    233             'address'          => $invoice_details->Address,
    234             'cap'              => $invoice_details->PostCode,
    235             'city'             => $invoice_details->City,
    236             'province'         => $invoice_details->Province,
    237             'country'          => $invoice_details->Country,
    238             'vat_code'         => $invoice_details->VatCode,
    239             'fiscal_code'      => $invoice_details->FiscalCode,
    240             'destination_code' => $invoice_details->DestinationCode,
     228            'invoice_firstname' => $invoice_details->Name,
     229            'invoice_email'     => $invoice_details->Email,
     230            'invoice_lastname'  => $invoice_details->LastName,
     231            'telephone'         => $invoice_details->Telephone,
     232            'prefix'            => $invoice_details->TelephonePrefix,
     233            'company_name'      => $invoice_details->CompanyName,
     234            'address'           => $invoice_details->Address,
     235            'cap'               => $invoice_details->PostCode,
     236            'city'              => $invoice_details->City,
     237            'province'          => $invoice_details->Province,
     238            'country'           => $invoice_details->Country,
     239            'vat_code'          => $invoice_details->VatCode,
     240            'fiscal_code'       => $invoice_details->FiscalCode,
     241            'destination_code'  => $invoice_details->DestinationCode,
    241242        );
    242243        $payment_data    = array(
     
    252253        );
    253254    }
     255
     256
     257    /**
     258     * Check coupon code.
     259     *
     260     * @return void
     261     */
     262    public function check_coupon() {
     263        if ( ! isset( $_POST['_ajax_nonce'], $_POST['coupon'], $_POST['planId'] ) || ! current_user_can( 'manage_options' ) ) {
     264            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
     265        }
     266        $coupon  = sanitize_text_field( wp_unslash( $_POST['coupon'] ) );
     267        $nonce   = sanitize_text_field( wp_unslash( $_POST['_ajax_nonce'] ) );
     268        $plan_id = sanitize_text_field( wp_unslash( $_POST['planId'] ) );
     269        check_ajax_referer( 'itr_ajax_nonce', $nonce );
     270
     271        $body = array(
     272            'data' => array(
     273                'coupon' => $coupon,
     274                'planId' => $plan_id,
     275            ),
     276        );
     277
     278        $license_key   = get_option( 'wubtitle_license_key' );
     279        $response      = wp_remote_post(
     280            WUBTITLE_ENDPOINT . 'stripe/customer/create/preview',
     281            array(
     282                'method'  => 'POST',
     283                'timeout' => 10,
     284                'headers' => array(
     285                    'Content-Type' => 'application/json; charset=utf-8',
     286                    'licenseKey'   => $license_key,
     287                    'domainUrl'    => get_site_url(),
     288                ),
     289                'body'    => wp_json_encode( $body ),
     290            )
     291        );
     292        $code_response = ! is_wp_error( $response ) ? wp_remote_retrieve_response_code( $response ) : '500';
     293        $response_body = json_decode( wp_remote_retrieve_body( $response ) );
     294        $message       = array(
     295            '400' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
     296            '401' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
     297            '403' => __( 'Access denied', 'wubtitle' ),
     298            '500' => __( 'Could not contact the server', 'wubtitle' ),
     299            ''    => __( 'Could not contact the server', 'wubtitle' ),
     300        );
     301        if ( 200 !== $code_response ) {
     302            $message['402'] = $response_body->errors->title;
     303            $message        = $message[ $code_response ];
     304            if ( 400 === $code_response && 'INVALID_COUPON' === $response_body->errors->title ) {
     305                $message = __( 'Invalid Coupon', 'wubtitle' );
     306            }
     307            wp_send_json_error( $message );
     308        }
     309        $data = array(
     310            'price'            => $response_body->data->netAmount,
     311            'newTax'           => $response_body->data->taxAmount,
     312            'newTotal'         => $response_body->data->totalAmount,
     313            'duration'         => $response_body->data->duration,
     314            'durationInMonths' => isset( $response_body->data->durationInMonths ) ? $response_body->data->durationInMonths : '',
     315        );
     316        wp_send_json_success( $data );
     317    }
    254318}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-082cb3cfb7f0d9aaf9883884ca93b72a.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InvoiceForm.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Required":["Obbligat"],"Invalid email":["Email non valida"],"Telephone number required":["Numero di telefono richiesto"],"Only numbers":["Solo numeri"],"Prefix required":["Prefisso obbligatorio"],"Prefix is only numbers":["Prefisso: solo numeri"],"Prefix must be max 3 numbers":["Il prefisso ha massimo 3 numeri"],"Vat Code must be exactly 11 characters":["La partita iva deve essere esattamente di 11 caratteri"],"Fiscal Code must be exactly 16 characters":["Il codice fiscale deve essere esattamente di 16 caratteri"],"Postal Code must be exactly 5 characters":["Il codice postale deve essere esattamente di 5 caratteri"],"Destination Code must be exactly 7 characters":["Codice di destinazioni deve essere esattamente di 7 caratteri"],"Billing Details":["Dettagli fatturazione"],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Vat Code":["Partita iva"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Cancel":["Annulla"],"Summary":["Riepilogo"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InvoiceForm.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Required":["Obbligat"],"Invalid email":["Email non valida"],"Telephone number required":["Numero di telefono richiesto"],"Only numbers":["Solo numeri"],"Prefix required":["Prefisso obbligatorio"],"Prefix is only numbers":["Prefisso: solo numeri"],"Prefix must be max 3 numbers":["Il prefisso ha massimo 3 numeri"],"Vat Code must be exactly 11 characters":["La partita iva deve essere esattamente di 11 caratteri"],"Fiscal Code must be exactly 16 characters":["Il codice fiscale deve essere esattamente di 16 caratteri"],"Invalid Fiscal Code":["Codice fiscale non valido"],"Postal Code must be exactly 5 characters":["Il codice postale deve essere esattamente di 5 caratteri"],"Destination Code must be exactly 7 characters":["Codice di destinazioni deve essere esattamente di 7 caratteri"],"Billing Details":["Dettagli fatturazione"],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Vat Code":["Partita iva"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Cancel":["Annulla"],"Next":["Avanti"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-17faf4638fc6bb20e37946e634ecee08.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InvoiceSummary.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Email":[""],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Fiscal Code":["Codice fiscale"],"Destination Code":["Codice di destinazione"],"Billing Recap":["Riepilogo dati di fattura"],"VAT Code":["Partita IVA"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InvoiceSummary.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Email":[""],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Billing Recap":["Riepilogo dati di fattura"],"VAT Code":["Partita IVA"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-2684b3dabd7823b0128434ddd21a0b3d.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"build_form\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Your plan":["Il tuo piano"],"Card details":["Dettagli carta"],"Required":["Obbligat"],"Invalid email":["Email non valida"],"Payment Details":["Dettagli di pagamento"],"editing enabled":["modalit\u00e0 modifica attivata"],"editing disabled":["modalit\u00e0 mopdifica disattivata"],"Email":[""],"Card Details":["Dettagli carta"],"Card Holder":["Titolare della carta"],"Expires":["Scadenza"],"Back":["Indietro"],"Confirm order":["Conferma"],"Telephone number required":["Numero di telefono richiesto"],"Only numbers":["Solo numeri"],"Prefix required":["Prefisso obbligatorio"],"Prefix is only numbers":["Prefisso: solo numeri"],"Prefix must be max 3 numbers":["Il prefisso ha massimo 3 numeri"],"Vat Code must be exactly 11 characters":["La partita iva deve essere esattamente di 11 caratteri"],"Fiscal Code must be exactly 16 characters":["Il codice fiscale deve essere esattamente di 16 caratteri"],"Postal Code must be exactly 5 characters":["Il codice postale deve essere esattamente di 5 caratteri"],"Destination Code must be exactly 7 characters":["Codice di destinazioni deve essere esattamente di 7 caratteri"],"Billing Details":["Dettagli fatturazione"],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Vat Code":["Partita iva"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Cancel":["Annulla"],"Summary":["Riepilogo"],"Billing Recap":["Riepilogo dati di fattura"],"VAT Code":["Partita IVA"],"Price":["Prezzo"],"VAT":["IVA"],"Total":["Totale"],"per month":["per mese"],"When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.":["In caso di pagamento all'interno dell'UE un pagamento pu\u00f2 essere esente da IVA se viene fornito un numero di partita IVA valido."],"Terms and conditions":["Termini e condizioni"],"Privacy":[""],"Subscribe to":["Iscrizione a"],"plan":["piano"],"Automatic renewal":["Rinnovo automatico: "]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"build_form\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Your plan":["Il tuo piano"],"Card details":["Dettagli carta"],"Required":["Obbligat"],"Invalid email":["Email non valida"],"Coupon":[""],"Discount Code":["Codice Sconto"],"Apply Coupon":["Applica Coupon"],"Payment Details":["Dettagli di pagamento"],"editing enabled":["modalit\u00e0 modifica attivata"],"editing disabled":["modalit\u00e0 modifica disattivata"],"Email":[""],"Card Details":["Dettagli carta"],"Card Holder":["Titolare della carta"],"Expires":["Scadenza"],"Back":["Indietro"],"Subscribe":["Iscrizione"],"Telephone number required":["Numero di telefono richiesto"],"Only numbers":["Solo numeri"],"Prefix required":["Prefisso obbligatorio"],"Prefix is only numbers":["Prefisso: solo numeri"],"Prefix must be max 3 numbers":["Il prefisso ha massimo 3 numeri"],"Vat Code must be exactly 11 characters":["La partita iva deve essere esattamente di 11 caratteri"],"Fiscal Code must be exactly 16 characters":["Il codice fiscale deve essere esattamente di 16 caratteri"],"Invalid Fiscal Code":["Codice fiscale non valido"],"Postal Code must be exactly 5 characters":["Il codice postale deve essere esattamente di 5 caratteri"],"Destination Code must be exactly 7 characters":["Codice di destinazioni deve essere esattamente di 7 caratteri"],"Billing Details":["Dettagli fatturazione"],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Vat Code":["Partita iva"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Cancel":["Annulla"],"Next":["Avanti"],"Billing Recap":["Riepilogo dati di fattura"],"VAT Code":["Partita IVA"],"Price":["Prezzo"],"VAT":["IVA"],"no Vat due for you":["nessuna IVA per te"],"Total":["Totale"],"Coupon applied!":["Coupon applicato!"],"When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.":["In caso di pagamento all'interno dell'UE un pagamento pu\u00f2 essere esente da IVA se viene fornito un numero di partita IVA valido."],"Terms and conditions":["Termini e condizioni"],"Privacy":[""],"Subscribe to":["Iscrizione a"],"plan":["piano"]," per month":["per mese"],"Automatic renewal":["Rinnovo automatico: "],"per month":["per mese"],"for this month*":["per questo mese*"],"After the first month the price is":["Dopo il primo mese il prezzo \u00e8"],"(VAT)":["(IVA)"],"for the first":["per il primo"],"months*":["mesi*"],"After the first":["Dopo il primo"],"months the price is":["mesi il prezzo \u00e8"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-2b87d19cc900cf7980c08750a6ffedc8.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InfoPriceColumn.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"per month":["per mese"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InfoPriceColumn.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"per month":["per mese"],"for this month*":["per questo mese*"],"(VAT)":["(IVA)"],"months*":["mesi*"],"After the first month the monthly price will be":["Dopo il primo mese il prezzo mensile sar\u00e0"],"for the firsts":["per i primi"],"After the firsts":["Dopo i primi"],"months the monthly price will be":["mesi il prezzo mensile sar\u00e0"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-46e33d8ed60f7075f374f6202f7cfa51.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/PendingSubtitle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Status:":["Stato:"],"Language:":["Lingua:"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/PendingSubtitle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Status:":["Stato:"],"Language:":["Lingua:"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-4bc3626de0ecd6358143b5cb3182ee1f.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/SubtitleControl.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Published":["Pubblicati"],"Status:":["Stato:"],"Language:":["Lingua:"],"Getting transcript\u2026":["Generazione trascrizione..."],"Get Transcribe":["Ottieni trascrizione"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/SubtitleControl.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Published":["Pubblicati"],"Status:":["Stato:"],"Language:":["Lingua:"],"Getting transcript\u2026":["Generazione trascrizione..."],"Get Transcribe":["Ottieni trascrizione"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-563dfe6dc0dc70121876df8ca46c4043.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"assets\/editor\/transcriptionModalScript.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Transcription of the video":["Trascrizione del video"],"Error, language not selected":["Errore, lingua non selezionata"],"Select language":["Seleziona la lingua"],"Error: this video does not contain subtitles. Select a video with subtitles to generate the transcript":["Errore: questo video non contiene sottotitoli. Selezionare un video con sottotitoli per generare la trascrizione"],"Language of trascription":["Lingua della trascrizione"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"assets\/editor\/transcriptionModalScript.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Transcription of the video":["Trascrizione del video"],"Error, language not selected":["Errore, lingua non selezionata"],"Select language":["Seleziona la lingua"],"Error: this video does not contain subtitles. Select a video with subtitles to generate the transcript":["Errore: questo video non contiene sottotitoli. Selezionare un video con sottotitoli per generare la trascrizione"],"Language of trascription":["Lingua della trascrizione"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-5bca34f4b31b031a8a5c0e8dfe9bc8b6.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/YoutubeControlPanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"None":["Nessuno"],"Select language":["Seleziona la lingua"],"Get Transcribe":["Ottieni trascrizione"],"Select the video language":["Seleziona la lingua del video"],"Created":["Creata"],"Transcript status:":["Stato trascrizione:"],"Subtitles not available for this video":["Sottotitoli non disponibili per questo video"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/YoutubeControlPanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"None":["Nessuno"],"Select language":["Seleziona la lingua"],"Get Transcribe":["Ottieni trascrizione"],"Select the video language":["Seleziona la lingua del video"],"Created":["Creata"],"Transcript status:":["Stato trascrizione:"],"Subtitles not available for this video":["Sottotitoli non disponibili per questo video"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-6edab9999a36a9b83bd98080e0260900.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/CheckoutForm.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Required":["Obbligat"],"Invalid email":["Email non valida"],"Payment Details":["Dettagli di pagamento"],"editing enabled":["modalit\u00e0 modifica attivata"],"editing disabled":["modalit\u00e0 mopdifica disattivata"],"Email":[""],"Card Details":["Dettagli carta"],"Card Holder":["Titolare della carta"],"Expires":["Scadenza"],"Back":["Indietro"],"Confirm order":["Conferma"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/CheckoutForm.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Required":["Obbligat"],"Invalid email":["Email non valida"],"Coupon":[""],"Discount Code":["Codice Sconto"],"Apply Coupon":["Applica Coupon"],"Payment Details":["Dettagli di pagamento"],"editing enabled":["modalit\u00e0 modifica attivata"],"editing disabled":["modalit\u00e0 modifica disattivata"],"Email":[""],"Card Details":["Dettagli carta"],"Card Holder":["Titolare della carta"],"Expires":["Scadenza"],"Back":["Indietro"],"Subscribe":["Iscrizione"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-97550d9f8b770df2d1b7985ce975d41b.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/PriceTable.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Price":["Prezzo"],"VAT":["IVA"],"Total":["Totale"],"per month":["per mese"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/PriceTable.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Price":["Prezzo"],"VAT":["IVA"],"no Vat due for you":["nessuna IVA per te"],"Total":["Totale"],"Coupon applied!":["Coupon applicato!"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-9eea33bfc6ae82b9ece5a58136c3eae9.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/PlanTable.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Your plan":["Il tuo piano"],"Price":["Prezzo"],"per month":["per mese"],"Automatic renewal":["Rinnovo automatico: "]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/PlanTable.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Your plan":["Il tuo piano"],"Price":["Prezzo"],"VAT":["IVA"],"no Vat due for you":["nessuna IVA per te"],"Total":["Totale"]," per month":["per mese"],"Automatic renewal":["Rinnovo automatico: "]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-a36d7c48e106bde1adc4add0982df44c.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/TranscriptionEditBlock.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Wubtitle transcriptions":["Trascrizioni Wubtitle"],"Insert transcriptions":["Inserisci trascrizioni"],"Enter the title of the video you want to transcribe":["Scrivi il titolo del video del quale vuoi inserire la trascrizione"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/TranscriptionEditBlock.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Wubtitle transcriptions":["Trascrizioni Wubtitle"],"Insert transcriptions":["Inserisci trascrizioni"],"Enter the title of the video you want to transcribe":["Scrivi il titolo del video del quale vuoi inserire la trascrizione"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-a59bb6a3ec005920a66524cba992f70b.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/TranscriptPanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Getting transcript\u2026":["Generazione trascrizione..."],"Done":["Fatto"],"Get transcript":["Ottieni trascrizione"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/TranscriptPanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Getting transcript\u2026":["Generazione trascrizione..."],"Done":["Fatto"],"Get transcript":["Ottieni trascrizione"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-bad3349217eddfff8df6bcec8ead4e68.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/trascriptionBlock.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Trascription":["Trascrizione"],"Enter the transcript of your video":["Inserisci la trascrizione del tuo video"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/trascriptionBlock.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Trascription":["Trascrizione"],"Enter the transcript of your video":["Inserisci la trascrizione del tuo video"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-c2d2cdf713a952b86eb4783551acf0b9.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/labels.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Generating":["In Creazione"],"Draft":["In bozza"],"None":["Nessuno"],"Italian":["Italiano"],"English":["Inglese"],"Spanish":["Spagnolo"],"German":["Tedesco"],"Chinese":["Cinese"],"French":["Francese"],"Enabled":["Attivati"],"Spanish (Pro only)":["Spagnolo (solo Pro)"],"German (Pro only)":["Tedesco (solo Pro)"],"Chinese (Pro only)":["Cinese (solo Pro)"],"French (Pro only)":["Francese (solo Pro)"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/labels.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Generating":["In Creazione"],"Draft":["In bozza"],"None":["Nessuno"],"Italian":["Italiano"],"English":["Inglese"],"Spanish":["Spagnolo"],"German":["Tedesco"],"Chinese":["Cinese"],"French":["Francese"],"Enabled":["Attivati"],"Spanish (Pro only)":["Spagnolo (solo Pro)"],"German (Pro only)":["Tedesco (solo Pro)"],"Chinese (Pro only)":["Cinese (solo Pro)"],"French (Pro only)":["Francese (solo Pro)"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-ce8d5c064b43a5c1a88891f233ec2580.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/ColumnTitle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Subscribe to":["Iscrizione a"],"plan":["piano"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/ColumnTitle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Subscribe to":["Iscrizione a"],"plan":["piano"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-dfbff627e6c248bcb3b61d7d06da9ca9.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"build\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Unsupported video format for free plan":["Formato video non supportato per il piano free"],"Generating":["In Creazione"],"Draft":["In bozza"],"Published":["Pubblicati"],"None":["Nessuno"],"Error":["Errore"],"GENERATE SUBTITLES":["GENERA SOTTOTITOLI"],"Italian":["Italiano"],"English":["Inglese"],"Spanish":["Spagnolo"],"German":["Tedesco"],"Chinese":["Cinese"],"French":["Francese"],"Select language":["Seleziona la lingua"],"Enabled":["Attivati"],"Spanish (Pro only)":["Spagnolo (solo Pro)"],"German (Pro only)":["Tedesco (solo Pro)"],"Chinese (Pro only)":["Cinese (solo Pro)"],"French (Pro only)":["Francese (solo Pro)"],"Status:":["Stato:"],"Language:":["Lingua:"],"Getting transcript\u2026":["Generazione trascrizione..."],"Get Transcribe":["Ottieni trascrizione"],"Select the video language":["Seleziona la lingua del video"],"Subtitle creation successfully started":["Creazione dei sottotitoli avviata con successo"],"Done":["Fatto"],"Get transcript":["Ottieni trascrizione"],"Created":["Creata"],"Transcript status:":["Stato trascrizione:"],"Subtitles not available for this video":["Sottotitoli non disponibili per questo video"],"Wubtitle transcriptions":["Trascrizioni Wubtitle"],"Insert transcriptions":["Inserisci trascrizioni"],"Enter the title of the video you want to transcribe":["Scrivi il titolo del video del quale vuoi inserire la trascrizione"],"Trascription":["Trascrizione"],"Enter the transcript of your video":["Inserisci la trascrizione del tuo video"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"build\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Unsupported video format for free plan":["Formato video non supportato per il piano free"],"Generating":["In Creazione"],"Draft":["In bozza"],"Published":["Pubblicati"],"None":["Nessuno"],"Error":["Errore"],"GENERATE SUBTITLES":["GENERA SOTTOTITOLI"],"Italian":["Italiano"],"English":["Inglese"],"Spanish":["Spagnolo"],"German":["Tedesco"],"Chinese":["Cinese"],"French":["Francese"],"Select language":["Seleziona la lingua"],"Enabled":["Attivati"],"Spanish (Pro only)":["Spagnolo (solo Pro)"],"German (Pro only)":["Tedesco (solo Pro)"],"Chinese (Pro only)":["Cinese (solo Pro)"],"French (Pro only)":["Francese (solo Pro)"],"Status:":["Stato:"],"Language:":["Lingua:"],"Getting transcript\u2026":["Generazione trascrizione..."],"Get Transcribe":["Ottieni trascrizione"],"Select the video language":["Seleziona la lingua del video"],"Subtitle creation successfully started":["Creazione dei sottotitoli avviata con successo"],"Done":["Fatto"],"Get transcript":["Ottieni trascrizione"],"Created":["Creata"],"Transcript status:":["Stato trascrizione:"],"Subtitles not available for this video":["Sottotitoli non disponibili per questo video"],"Wubtitle transcriptions":["Trascrizioni Wubtitle"],"Insert transcriptions":["Inserisci trascrizioni"],"Enter the title of the video you want to transcribe":["Scrivi il titolo del video del quale vuoi inserire la trascrizione"],"Trascription":["Trascrizione"],"Enter the transcript of your video":["Inserisci la trascrizione del tuo video"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-f44a2f1277f1805954e2e9b54d16704d.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/Disclaimer.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.":["In caso di pagamento all'interno dell'UE un pagamento pu\u00f2 essere esente da IVA se viene fornito un numero di partita IVA valido."],"Terms and conditions":["Termini e condizioni"],"Privacy":[""]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/Disclaimer.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.":["In caso di pagamento all'interno dell'UE un pagamento pu\u00f2 essere esente da IVA se viene fornito un numero di partita IVA valido."],"Terms and conditions":["Termini e condizioni"],"Privacy":[""]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-f502fcd463be19e9432d2bdb61eeb943.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/WubtitlePanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Unsupported video format for free plan":["Formato video non supportato per il piano free"],"None":["Nessuno"],"Error":["Errore"],"GENERATE SUBTITLES":["GENERA SOTTOTITOLI"],"Status:":["Stato:"],"Select the video language":["Seleziona la lingua del video"],"Subtitle creation successfully started":["Creazione dei sottotitoli avviata con successo"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/WubtitlePanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Unsupported video format for free plan":["Formato video non supportato per il piano free"],"None":["Nessuno"],"Error":["Errore"],"GENERATE SUBTITLES":["GENERA SOTTOTITOLI"],"Status:":["Stato:"],"Select the video language":["Seleziona la lingua del video"],"Subtitle creation successfully started":["Creazione dei sottotitoli avviata con successo"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT-fe3fc4948f6f85768ebb8f694e93e2cf.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/CardSection.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Card details":["Dettagli carta"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/CardSection.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Card details":["Dettagli carta"]}}}
  • wubtitle/tags/1.0.4/languages/wubtitle-it_IT.po

    r2354686 r2371183  
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/Wubtitle-"
    77"Wordpress-Plugin\n"
    8 "POT-Creation-Date: 2020-08-04T13:25:04+02:00\n"
    9 "PO-Revision-Date: 2020-08-04 13:28+0200\n"
     8"POT-Creation-Date: 2020-08-26T15:46:17+02:00\n"
     9"PO-Revision-Date: 2020-08-26 15:48+0200\n"
    1010"Last-Translator: \n"
    1111"Language-Team: \n"
     
    1414"Content-Type: text/plain; charset=UTF-8\n"
    1515"Content-Transfer-Encoding: 8bit\n"
    16 "X-Generator: Poedit 2.4\n"
     16"X-Generator: Poedit 2.4.1\n"
    1717"X-Domain: wubtitle\n"
    1818"Plural-Forms: nplurals=2; plural=(n != 1);\n"
     
    8383#: includes/Api/ApiGetTranscript.php:151 includes/Api/ApiGetTranscript.php:187
    8484#: includes/Api/ApiGetTranscript.php:223 includes/Api/ApiGetTranscript.php:224
     85#: includes/Api/ApiPricingPlan.php:121
    8586#: includes/Core/CustomPostTypes/Transcript.php:161
    8687#: includes/Core/CustomPostTypes/Transcript.php:162
    87 #: includes/Core/Sources/YouTube.php:203 includes/Core/Sources/YouTube.php:204
     88#: includes/Core/Sources/YouTube.php:204 includes/Core/Sources/YouTube.php:205
    8889msgid ""
    8990"An error occurred while creating the transcriptions. Please try again in a "
     
    102103#: includes/Api/ApiGetTranscript.php:79 includes/Api/ApiGetTranscript.php:225
    103104#: includes/Core/CustomPostTypes/Transcript.php:163
    104 #: includes/Core/Sources/YouTube.php:205
     105#: includes/Core/Sources/YouTube.php:206
    105106msgid "Unable to create transcriptions. Invalid product license"
    106107msgstr ""
     
    109110#: includes/Api/ApiGetTranscript.php:80 includes/Api/ApiGetTranscript.php:226
    110111#: includes/Api/ApiPricingPlan.php:73 includes/Api/ApiPricingPlan.php:74
    111 #: includes/Api/ApiPricingPlan.php:112 includes/Api/ApiPricingPlan.php:187
    112 #: includes/Api/ApiPricingPlan.php:188 includes/Api/ApiPricingPlan.php:270
    113 #: includes/Api/ApiPricingPlan.php:271 includes/Api/ApiPricingPlan.php:336
    114 #: includes/Api/ApiPricingPlan.php:337 includes/Api/ApiRequest.php:123
     112#: includes/Api/ApiPricingPlan.php:123 includes/Api/ApiPricingPlan.php:200
     113#: includes/Api/ApiPricingPlan.php:201 includes/Api/ApiPricingPlan.php:288
     114#: includes/Api/ApiPricingPlan.php:289 includes/Api/ApiPricingPlan.php:377
     115#: includes/Api/ApiPricingPlan.php:378 includes/Api/ApiRequest.php:123
    115116#: includes/Core/CustomPostTypes/Transcript.php:164
    116 #: includes/Core/Sources/YouTube.php:206 includes/Utils/InvoiceHelper.php:68
    117 #: includes/Utils/InvoiceHelper.php:69
     117#: includes/Core/Sources/YouTube.php:207 includes/Utils/InvoiceHelper.php:77
     118#: includes/Utils/InvoiceHelper.php:78 includes/Utils/InvoiceHelper.php:298
     119#: includes/Utils/InvoiceHelper.php:299
    118120msgid "Could not contact the server"
    119121msgstr "Impossibile contattare il server"
     
    122124#: includes/Api/ApiRequest.php:223
    123125#: includes/Core/CustomPostTypes/Transcript.php:165
    124 #: includes/Core/Sources/YouTube.php:207
     126#: includes/Core/Sources/YouTube.php:208
    125127msgid "Error, no more video left for your subscription plan"
    126128msgstr "Errore, non hai più video disponibili per il tuo piano di abbonamento"
     
    128130#: includes/Api/ApiGetTranscript.php:88 includes/Api/ApiGetTranscript.php:236
    129131#: includes/Core/CustomPostTypes/Transcript.php:186
    130 #: includes/Core/Sources/YouTube.php:222
     132#: includes/Core/Sources/YouTube.php:223
    131133msgid "Transcript not avaiable for this video."
    132134msgstr "Trascrizione non disponibile per questo video."
     
    140142"per ottenere la trascrizione"
    141143
    142 #: includes/Api/ApiPricingPlan.php:42 includes/Api/ApiPricingPlan.php:89
    143 #: includes/Api/ApiPricingPlan.php:149 includes/Api/ApiPricingPlan.php:159
    144 #: includes/Api/ApiPricingPlan.php:228 includes/Api/ApiPricingPlan.php:239
    145 #: includes/Api/ApiPricingPlan.php:292 includes/Api/ApiPricingPlan.php:311
    146 #: includes/Dashboard/CancelPage.php:33
    147 #: includes/Dashboard/PaymentTemplate.php:39
    148 #: includes/Dashboard/PaymentTemplate.php:80
    149 #: includes/Dashboard/PaymentTemplate.php:121
    150 #: includes/Dashboard/PaymentTemplate.php:169
    151 #: includes/Utils/InvoiceHelper.php:33
     144#: includes/Api/ApiPricingPlan.php:42 includes/Api/ApiPricingPlan.php:99
     145#: includes/Api/ApiPricingPlan.php:172 includes/Api/ApiPricingPlan.php:246
     146#: includes/Api/ApiPricingPlan.php:257 includes/Api/ApiPricingPlan.php:310
     147#: includes/Api/ApiPricingPlan.php:329 includes/Dashboard/CancelPage.php:33
     148#: includes/Dashboard/PaymentTemplate.php:52
     149#: includes/Dashboard/PaymentTemplate.php:104
     150#: includes/Dashboard/PaymentTemplate.php:138
     151#: includes/Dashboard/PaymentTemplate.php:183
     152#: includes/Dashboard/PaymentTemplate.php:231
     153#: includes/Utils/InvoiceHelper.php:35 includes/Utils/InvoiceHelper.php:95
     154#: includes/Utils/InvoiceHelper.php:264
    152155msgid "An error occurred. Please try again in a few minutes."
    153156msgstr "Si è verificato un errore. Riprova di nuovo tra qualche minuto."
    154157
    155 #: includes/Api/ApiPricingPlan.php:53 includes/Api/ApiPricingPlan.php:95
     158#: includes/Api/ApiPricingPlan.php:53 includes/Api/ApiPricingPlan.php:105
    156159#: includes/Api/ApiRequest.php:104
    157160msgid "Unable to create subtitles. The product license key is missing."
     
    159162
    160163#: includes/Api/ApiPricingPlan.php:70 includes/Api/ApiPricingPlan.php:71
    161 #: includes/Api/ApiPricingPlan.php:110 includes/Api/ApiPricingPlan.php:184
    162 #: includes/Api/ApiPricingPlan.php:185 includes/Api/ApiPricingPlan.php:267
    163 #: includes/Api/ApiPricingPlan.php:268 includes/Api/ApiPricingPlan.php:333
    164 #: includes/Api/ApiPricingPlan.php:334 includes/Utils/InvoiceHelper.php:65
    165 #: includes/Utils/InvoiceHelper.php:66
     164#: includes/Api/ApiPricingPlan.php:120 includes/Api/ApiPricingPlan.php:197
     165#: includes/Api/ApiPricingPlan.php:198 includes/Api/ApiPricingPlan.php:285
     166#: includes/Api/ApiPricingPlan.php:286 includes/Api/ApiPricingPlan.php:374
     167#: includes/Api/ApiPricingPlan.php:375 includes/Utils/InvoiceHelper.php:74
     168#: includes/Utils/InvoiceHelper.php:75 includes/Utils/InvoiceHelper.php:123
     169#: includes/Utils/InvoiceHelper.php:295 includes/Utils/InvoiceHelper.php:296
    166170msgid "An error occurred. Please try again in a few minutes"
    167171msgstr "Si è verificato un errore.  Riprova di nuovo tra qualche minuto"
    168172
    169 #: includes/Api/ApiPricingPlan.php:72 includes/Api/ApiPricingPlan.php:111
    170 #: includes/Api/ApiPricingPlan.php:186 includes/Api/ApiPricingPlan.php:269
    171 #: includes/Api/ApiPricingPlan.php:335 includes/Utils/InvoiceHelper.php:67
     173#: includes/Api/ApiPricingPlan.php:72 includes/Api/ApiPricingPlan.php:122
     174#: includes/Api/ApiPricingPlan.php:199 includes/Api/ApiPricingPlan.php:287
     175#: includes/Api/ApiPricingPlan.php:376 includes/Utils/InvoiceHelper.php:76
     176#: includes/Utils/InvoiceHelper.php:297
    172177msgid "Access denied"
    173178msgstr "Accesso negato"
    174179
    175 #: includes/Api/ApiPricingPlan.php:163
     180#: includes/Api/ApiPricingPlan.php:176
    176181msgid "The product license key is missing."
    177182msgstr "Errore, la licenza del prodotto è assente."
     183
     184#: includes/Api/ApiPricingPlan.php:385
     185msgid "Unable to apply discount. You are not authorized to use this coupon"
     186msgstr ""
     187"Impossibile applicare lo sconto. Non sei abilitato ad usare questo coupon"
     188
     189#: includes/Api/ApiPricingPlan.php:386
     190msgid ""
     191"Unable to apply discount. This coupon can only be used on the first purchase"
     192msgstr ""
     193"Impossibile applicare lo sconto. Questo coupon può essere utilizzato solo al "
     194"primo acquisto"
     195
     196#: includes/Api/ApiPricingPlan.php:387
     197msgid ""
     198"Unable to apply discount. Please try again later or enter a different "
     199"discount code"
     200msgstr ""
     201"Impossibile applicare lo sconto. Riprova più tardi o inserisci un codice "
     202"sconto differente"
    178203
    179204#: includes/Api/ApiRequest.php:67
     
    217242msgid ""
    218243"Error, video length is longer than minutes available for your subscription "
    219 "plan (minutes left "
     244"plan (minutes left"
    220245msgstr ""
    221246"Errore, la durata del video è maggiore dei minuti disponibili per il tuo "
    222 "piano di abbonamento (minuti rimasti "
     247"piano di abbonamento (minuti rimasti"
    223248
    224249#: includes/Api/ApiRequest.php:230
     
    350375msgstr "Trascrizioni video"
    351376
     377#: includes/Dashboard/PaymentTemplate.php:143
     378msgid "Update successfull!"
     379msgstr "Aggiornamento riuscito!"
     380
     381#: includes/Dashboard/PaymentTemplate.php:145
     382msgid "Upgrade successfull!"
     383msgstr "Modifica del piano avvenuta con successo"
     384
     385#: includes/Dashboard/PaymentTemplate.php:147
     386msgid "Downgrade successfull!"
     387msgstr "Modifica del piano avvenuta con successo"
     388
    352389#: includes/Dashboard/Settings.php:47
    353390msgid "Wubtitle Settings"
     
    376413#: includes/Dashboard/Settings.php:116
    377414msgid "The counters will be reset on:"
    378 msgstr ""
     415msgstr "I contatori verranno resettati il:"
    379416
    380417#: includes/Dashboard/Settings.php:153
     
    414451
    415452#: includes/Dashboard/Settings.php:205
    416 msgid "Update email or payment detail"
    417 msgstr "Aggiorna email o dettagli pagamento"
     453msgid "Update billing or payment details"
     454msgstr "Aggiorna dettagli di fatturazione o di pagamento"
    418455
    419456#: includes/Dashboard/Settings.php:208
     
    498535#: includes/Dashboard/Templates/cancel_template.php:36
    499536#: includes/Dashboard/Templates/downgrade_plan_template.php:49
    500 #: includes/Dashboard/Templates/upgrade_plan_template.php:57
     537#: includes/Dashboard/Templates/upgrade_plan_template.php:138
    501538msgid "Forget it"
    502539msgstr "Annulla"
     
    528565
    529566#: includes/Dashboard/Templates/downgrade_plan_template.php:46
     567#: includes/Dashboard/Templates/upgrade_plan_template.php:133
    530568msgid ""
    531569"The subtitles already created and the minutes already used will be counted "
     
    572610
    573611#: includes/Dashboard/Templates/plans_array.php:49 build_form/index.js:1
    574 #: src/stripe/Components/PlanTable.js:10
     612#: src/stripe/Components/PlanTable.js:18
    575613msgid "Your plan"
    576614msgstr "Il tuo piano"
    577615
    578 #: includes/Dashboard/Templates/upgrade_plan_template.php:27
    579 msgid "Subscription plan upgrade"
    580 msgstr "Modifica piano di abbonamento"
    581 
    582 #: includes/Dashboard/Templates/upgrade_plan_template.php:28
    583 msgid ""
    584 "Upgrading now, for the first month you are entired to a partial refund of "
    585 "previous monthly subscription plan"
    586 msgstr ""
    587 "Scegliendo un piano di abbonamento superiore, per il primo mese verrà "
    588 "applicato uno sconto pari al credito residuo della mensilità "
    589 "dell'abbonamento precedente"
    590 
    591 #: includes/Dashboard/Templates/upgrade_plan_template.php:47
    592 msgid "Only for first month (Until"
    593 msgstr "Solo per il primo mese (Fino al"
    594 
    595 #: includes/Dashboard/Templates/upgrade_plan_template.php:58
     616#: includes/Dashboard/Templates/thankyou_page.php:25
     617msgid ""
     618"Update Wubtitle settings page on your site backoffice to view the changes or "
     619"click on the button below"
     620msgstr ""
     621"Aggiorna la pagina delle impostazioni di Wubtitle per visualizzare le "
     622"modifiche o fai clic sul pulsante in basso"
     623
     624#: includes/Dashboard/Templates/thankyou_page.php:26
     625msgid "BACK TO WUBTITLE"
     626msgstr "TORNA A WUBTITLE"
     627
     628#: includes/Dashboard/Templates/upgrade_plan_template.php:34
     629msgid "Upgrade your plan"
     630msgstr "Aggiorna il tuo piano"
     631
     632#: includes/Dashboard/Templates/upgrade_plan_template.php:37
     633msgid "Upgrading to"
     634msgstr "Aggiornamento a"
     635
     636#: includes/Dashboard/Templates/upgrade_plan_template.php:39
     637msgid "now you will be charged only for the price difference between"
     638msgstr "ti verrà addebitata solo la differenza di prezzo tra"
     639
     640#: includes/Dashboard/Templates/upgrade_plan_template.php:41
     641msgid "plan and your current plan with no changes to your billing period. "
     642msgstr "piano e il piano attuale senza modifiche al periodo di fatturazione. "
     643
     644#: includes/Dashboard/Templates/upgrade_plan_template.php:66
     645msgid "You will pay:"
     646msgstr "Pagherai:"
     647
     648#: includes/Dashboard/Templates/upgrade_plan_template.php:75
     649#: includes/Dashboard/Templates/upgrade_plan_template.php:101
     650msgid " (VAT)"
     651msgstr "(IVA)"
     652
     653#: includes/Dashboard/Templates/upgrade_plan_template.php:82
     654msgid "What you pay now (Discounted"
     655msgstr "Cosa paghi adesso (scontato"
     656
     657#: includes/Dashboard/Templates/upgrade_plan_template.php:84
     658msgid "Price)"
     659msgstr "Prezzo)"
     660
     661#: includes/Dashboard/Templates/upgrade_plan_template.php:89
     662msgid "Until "
     663msgstr "Fino"
     664
     665#: includes/Dashboard/Templates/upgrade_plan_template.php:108
     666msgid "What you pay monthly (Full"
     667msgstr "Quanto paghi mensilmente(Full"
     668
     669#: includes/Dashboard/Templates/upgrade_plan_template.php:110
     670msgid "price)"
     671msgstr "rezzo)"
     672
     673#: includes/Dashboard/Templates/upgrade_plan_template.php:115
     674msgid "From "
     675msgstr "a partire da"
     676
     677#: includes/Dashboard/Templates/upgrade_plan_template.php:123
     678msgid "Current Payment details"
     679msgstr "Dettagli di pagamento corrente"
     680
     681#: includes/Dashboard/Templates/upgrade_plan_template.php:127
     682msgid "Name: "
     683msgstr "Nome:"
     684
     685#: includes/Dashboard/Templates/upgrade_plan_template.php:128
     686msgid "Email: "
     687msgstr ""
     688
     689#: includes/Dashboard/Templates/upgrade_plan_template.php:129
     690msgid "Card: "
     691msgstr "Carta:"
     692
     693#: includes/Dashboard/Templates/upgrade_plan_template.php:130
     694msgid "Expiration Date: "
     695msgstr "Data di scadenza: "
     696
     697#: includes/Dashboard/Templates/upgrade_plan_template.php:139
    596698msgid "Upgrade Now"
    597699msgstr "Modifica piano"
     
    624726#: includes/MediaLibrary/MediaLibraryExtented.php:189
    625727#: includes/MediaLibrary/MediaLibraryExtented.php:263 build/index.js:1
    626 #: src/block/SubtitleControl.js:65
     728#: src/block/SubtitleControl.js:73
    627729msgid "Published"
    628730msgstr "Pubblicati"
     
    712814msgstr "Aggiungi trascrizione"
    713815
    714 #: includes/Utils/InvoiceHelper.php:49 includes/Utils/InvoiceHelper.php:154
     816#: includes/Utils/InvoiceHelper.php:58 includes/Utils/InvoiceHelper.php:107
     817#: includes/Utils/InvoiceHelper.php:204
    715818msgid "Error. The product license key is missing."
    716819msgstr "Errore, la licenza del prodotto è assente."
     820
     821#: includes/Utils/InvoiceHelper.php:305
     822msgid "Invalid Coupon"
     823msgstr "Coupon non valido"
    717824
    718825#: assets/editor/transcriptionModalScript.js:47
     
    765872
    766873#: build/index.js:1 src/block/PendingSubtitle.js:7
    767 #: src/block/SubtitleControl.js:59 src/block/WubtitlePanel.js:67
     874#: src/block/SubtitleControl.js:67 src/block/WubtitlePanel.js:67
    768875msgid "Status:"
    769876msgstr "Stato:"
    770877
    771878#: build/index.js:1 src/block/PendingSubtitle.js:8
    772 #: src/block/SubtitleControl.js:62
     879#: src/block/SubtitleControl.js:70
    773880msgid "Language:"
    774881msgstr "Lingua:"
     
    779886msgstr "Generazione trascrizione..."
    780887
    781 #: build/index.js:1 src/block/SubtitleControl.js:72
     888#: build/index.js:1 src/block/SubtitleControl.js:80
    782889#: src/block/YoutubeControlPanel.js:135
    783890msgid "Get Transcribe"
     
    814921msgstr "Sottotitoli non disponibili per questo video"
    815922
    816 #: build/index.js:1 src/block/TranscriptionEditBlock.js:107
     923#: build/index.js:1 src/block/TranscriptionEditBlock.js:108
    817924msgid "Wubtitle transcriptions"
    818925msgstr "Trascrizioni Wubtitle"
    819926
    820 #: build/index.js:1 src/block/TranscriptionEditBlock.js:111
     927#: build/index.js:1 src/block/TranscriptionEditBlock.js:112
    821928msgid "Insert transcriptions"
    822929msgstr "Inserisci trascrizioni"
    823930
    824 #: build/index.js:1 src/block/TranscriptionEditBlock.js:116
     931#: build/index.js:1 src/block/TranscriptionEditBlock.js:117
    825932msgid "Enter the title of the video you want to transcribe"
    826933msgstr "Scrivi il titolo del video del quale vuoi inserire la trascrizione"
     
    838945msgstr "Dettagli carta"
    839946
    840 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:23
    841 #: src/stripe/Components/InvoiceForm.js:16
     947#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:31
     948#: src/stripe/Components/InvoiceForm.js:17
    842949msgid "Required"
    843950msgstr "Obbligat"
    844951
    845 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:30
    846 #: src/stripe/Components/InvoiceForm.js:22
     952#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:38
     953#: src/stripe/Components/InvoiceForm.js:44
    847954msgid "Invalid email"
    848955msgstr "Email non valida"
    849956
    850 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:56
     957#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:88
     958msgid "Coupon"
     959msgstr ""
     960
     961#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:95
     962msgid "Discount Code"
     963msgstr "Codice Sconto"
     964
     965#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:114
     966msgid "Apply Coupon"
     967msgstr "Applica Coupon"
     968
     969#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:120
    851970msgid "Payment Details"
    852971msgstr "Dettagli di pagamento"
    853972
    854 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:61
     973#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:125
    855974msgid "editing enabled"
    856975msgstr "modalità modifica attivata"
    857976
    858 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:62
     977#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:126
    859978msgid "editing disabled"
    860 msgstr "modalità mopdifica disattivata"
    861 
    862 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:80
    863 #: src/stripe/Components/InvoiceSummary.js:39
     979msgstr "modalità modifica disattivata"
     980
     981#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:144
     982#: src/stripe/Components/InvoiceSummary.js:40
    864983msgid "Email"
    865984msgstr ""
    866985
    867 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:84
     986#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:148
    868987msgid "Card Details"
    869988msgstr "Dettagli carta"
    870989
    871 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:90
    872 #: src/stripe/Components/CheckoutForm.js:133
     990#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:154
     991#: src/stripe/Components/CheckoutForm.js:197
    873992msgid "Card Holder"
    874993msgstr "Titolare della carta"
    875994
    876 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:94
     995#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:158
    877996msgid "Expires"
    878997msgstr "Scadenza"
    879998
    880 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:153
     999#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:217
    8811000msgid "Back"
    8821001msgstr "Indietro"
    8831002
    884 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:162
    885 msgid "Confirm order"
    886 msgstr "Conferma"
    887 
    888 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:26
     1003#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:226
     1004msgid "Subscribe"
     1005msgstr "Iscrizione"
     1006
     1007#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:48
    8891008msgid "Telephone number required"
    8901009msgstr "Numero di telefono richiesto"
    8911010
    892 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:27
    893 #: src/stripe/Components/InvoiceForm.js:48
    894 #: src/stripe/Components/InvoiceForm.js:65
     1011#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:49
     1012#: src/stripe/Components/InvoiceForm.js:73
     1013#: src/stripe/Components/InvoiceForm.js:96
    8951014msgid "Only numbers"
    8961015msgstr "Solo numeri"
    8971016
    898 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:29
     1017#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:51
    8991018msgid "Prefix required"
    9001019msgstr "Prefisso obbligatorio"
    9011020
    902 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:30
     1021#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:54
    9031022msgid "Prefix is only numbers"
    9041023msgstr "Prefisso: solo numeri"
    9051024
    906 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:31
     1025#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:56
    9071026msgid "Prefix must be max 3 numbers"
    9081027msgstr "Il prefisso ha massimo 3 numeri"
    9091028
    910 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:46
     1029#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:71
    9111030msgid "Vat Code must be exactly 11 characters"
    9121031msgstr "La partita iva deve essere esattamente di 11 caratteri"
    9131032
    914 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:55
     1033#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:81
    9151034msgid "Fiscal Code must be exactly 16 characters"
    9161035msgstr "Il codice fiscale deve essere esattamente di 16 caratteri"
    9171036
    918 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:63
     1037#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:85
     1038msgid "Invalid Fiscal Code"
     1039msgstr "Codice fiscale non valido"
     1040
     1041#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:94
    9191042msgid "Postal Code must be exactly 5 characters"
    9201043msgstr "Il codice postale deve essere esattamente di 5 caratteri"
    9211044
    922 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:69
     1045#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:100
    9231046msgid "Destination Code must be exactly 7 characters"
    9241047msgstr "Codice di destinazioni deve essere esattamente di 7 caratteri"
    9251048
    926 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:114
     1049#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:151
    9271050msgid "Billing Details"
    9281051msgstr "Dettagli fatturazione"
    9291052
    930 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:127
    931 #: src/stripe/Components/InvoiceSummary.js:35
     1053#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:164
     1054#: src/stripe/Components/InvoiceSummary.js:36
    9321055msgid "Name"
    9331056msgstr "Nome"
    9341057
    935 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:136
    936 #: src/stripe/Components/InvoiceSummary.js:71
     1058#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:177
     1059#: src/stripe/Components/InvoiceSummary.js:72
    9371060msgid "Lastname"
    9381061msgstr "Cognome"
    9391062
    940 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:156
    941 #: src/stripe/Components/InvoiceSummary.js:75
     1063#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:197
     1064#: src/stripe/Components/InvoiceSummary.js:77
    9421065msgid "Company Name"
    9431066msgstr "Nome azienda"
    9441067
    945 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:168
    946 #: src/stripe/Components/InvoiceSummary.js:43
     1068#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:209
     1069#: src/stripe/Components/InvoiceSummary.js:44
    9471070msgid "Country"
    9481071msgstr "Nazione"
    9491072
    950 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:192
    951 #: src/stripe/Components/InvoiceSummary.js:80
     1073#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:233
     1074#: src/stripe/Components/InvoiceSummary.js:86
    9521075msgid "Province"
    9531076msgstr "Provincia"
    9541077
    955 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:212
    956 #: src/stripe/Components/InvoiceSummary.js:88
     1078#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:253
     1079#: src/stripe/Components/InvoiceSummary.js:94
    9571080msgid "City"
    9581081msgstr "Città"
    9591082
    960 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:221
    961 #: src/stripe/Components/InvoiceSummary.js:55
     1083#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:262
     1084#: src/stripe/Components/InvoiceSummary.js:56
    9621085msgid "Address"
    9631086msgstr "Indirizzo"
    9641087
    965 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:234
    966 #: src/stripe/Components/InvoiceSummary.js:48
     1088#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:275
     1089#: src/stripe/Components/InvoiceSummary.js:49
    9671090msgid "Postal Code"
    9681091msgstr "Codice postale"
    9691092
    970 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:250
     1093#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:291
    9711094msgid "Vat Code"
    9721095msgstr "Partita iva"
    9731096
    974 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:272
    975 #: src/stripe/Components/InvoiceSummary.js:93
     1097#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:313
     1098#: src/stripe/Components/InvoiceSummary.js:100
    9761099msgid "Fiscal Code"
    9771100msgstr "Codice fiscale"
    9781101
    979 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:284
     1102#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:325
     1103#: src/stripe/Components/InvoiceSummary.js:62
    9801104msgid "Telephone"
    9811105msgstr "Numero di telefono"
    9821106
    983 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:311
    984 #: src/stripe/Components/InvoiceSummary.js:102
     1107#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:355
     1108#: src/stripe/Components/InvoiceSummary.js:120
    9851109msgid "Destination Code"
    9861110msgstr "Codice di destinazione"
    9871111
    988 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:328
     1112#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:372
    9891113msgid "Cancel"
    9901114msgstr "Annulla"
    9911115
    992 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:334
    993 msgid "Summary"
    994 msgstr "Riepilogo"
    995 
    996 #: build_form/index.js:1 src/stripe/Components/InvoiceSummary.js:23
     1116#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:378
     1117msgid "Next"
     1118msgstr "Avanti"
     1119
     1120#: build_form/index.js:1 src/stripe/Components/InvoiceSummary.js:24
    9971121msgid "Billing Recap"
    9981122msgstr "Riepilogo dati di fattura"
    9991123
    1000 #: build_form/index.js:1 src/stripe/Components/InvoiceSummary.js:61
     1124#: build_form/index.js:1 src/stripe/Components/InvoiceSummary.js:110
    10011125msgid "VAT Code"
    10021126msgstr "Partita IVA"
    10031127
    1004 #: build_form/index.js:1 src/stripe/Components/PlanTable.js:15
    1005 #: src/stripe/Components/PriceTable.js:10
     1128#: build_form/index.js:1 src/stripe/Components/PlanTable.js:22
     1129#: src/stripe/Components/PriceTable.js:22
    10061130msgid "Price"
    10071131msgstr "Prezzo"
    10081132
    1009 #: build_form/index.js:1 src/stripe/Components/PriceTable.js:15
     1133#: build_form/index.js:1 src/stripe/Components/PlanTable.js:27
     1134#: src/stripe/Components/PriceTable.js:37
    10101135msgid "VAT"
    10111136msgstr "IVA"
    10121137
    1013 #: build_form/index.js:1 src/stripe/Components/PriceTable.js:30
     1138#: build_form/index.js:1 src/stripe/Components/PlanTable.js:35
     1139#: src/stripe/Components/PriceTable.js:45
     1140msgid "no Vat due for you"
     1141msgstr "nessuna IVA per te"
     1142
     1143#: build_form/index.js:1 src/stripe/Components/PlanTable.js:41
     1144#: src/stripe/Components/PriceTable.js:51
    10141145msgid "Total"
    10151146msgstr "Totale"
    10161147
    1017 #: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:34
    1018 #: src/stripe/Components/PlanTable.js:22 src/stripe/Components/PriceTable.js:33
    1019 msgid "per month"
    1020 msgstr "per mese"
    1021 
    1022 #: build_form/index.js:1 src/stripe/Components/Disclaimer.js:8
     1148#: build_form/index.js:1 src/stripe/Components/PriceTable.js:60
     1149msgid "Coupon applied!"
     1150msgstr "Coupon applicato!"
     1151
     1152#: build_form/index.js:1 src/stripe/Components/Disclaimer.js:10
    10231153msgid ""
    10241154"When ordering within the EU an order may be exempt to VAT if a valid VAT "
     
    10281158"IVA se viene fornito un numero di partita IVA valido."
    10291159
    1030 #: build_form/index.js:1 src/stripe/Components/Disclaimer.js:19
     1160#: build_form/index.js:1 src/stripe/Components/Disclaimer.js:21
    10311161msgid "Terms and conditions"
    10321162msgstr "Termini e condizioni"
    10331163
    1034 #: build_form/index.js:1 src/stripe/Components/Disclaimer.js:27
     1164#: build_form/index.js:1 src/stripe/Components/Disclaimer.js:29
    10351165msgid "Privacy"
    10361166msgstr ""
     
    10441174msgstr "piano"
    10451175
    1046 #: build_form/index.js:1 src/stripe/Components/PlanTable.js:38
     1176#: build_form/index.js:1 src/stripe/Components/PlanTable.js:45
     1177msgid " per month"
     1178msgstr "per mese"
     1179
     1180#: build_form/index.js:1 src/stripe/Components/PlanTable.js:51
    10471181msgid "Automatic renewal"
    10481182msgstr "Rinnovo automatico: "
     1183
     1184#: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:22
     1185msgid "per month"
     1186msgstr "per mese"
     1187
     1188#: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:25
     1189msgid "for this month*"
     1190msgstr "per questo mese*"
     1191
     1192#: build_form/index.js:1
     1193msgid "After the first month the price is"
     1194msgstr "Dopo il primo mese il prezzo è"
     1195
     1196#: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:29
     1197#: src/stripe/Components/InfoPriceColumn.js:40
     1198msgid "(VAT)"
     1199msgstr "(IVA)"
     1200
     1201#: build_form/index.js:1
     1202msgid "for the first"
     1203msgstr "per il primo"
     1204
     1205#: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:34
     1206msgid "months*"
     1207msgstr "mesi*"
     1208
     1209#: build_form/index.js:1
     1210msgid "After the first"
     1211msgstr "Dopo il primo"
     1212
     1213#: build_form/index.js:1
     1214msgid "months the price is"
     1215msgstr "mesi il prezzo è"
     1216
     1217#: src/stripe/Components/InfoPriceColumn.js:26
     1218msgid "After the first month the monthly price will be"
     1219msgstr "Dopo il primo mese il prezzo mensile sarà"
     1220
     1221#: src/stripe/Components/InfoPriceColumn.js:32
     1222msgid "for the firsts"
     1223msgstr "per i primi"
     1224
     1225#: src/stripe/Components/InfoPriceColumn.js:35
     1226msgid "After the firsts"
     1227msgstr "Dopo i primi"
     1228
     1229#: src/stripe/Components/InfoPriceColumn.js:37
     1230msgid "months the monthly price will be"
     1231msgstr "mesi il prezzo mensile sarà"
     1232
     1233#~ msgid "Subscription plan upgrade"
     1234#~ msgstr "Modifica piano di abbonamento"
     1235
     1236#~ msgid ""
     1237#~ "Upgrading now, for the first month you are entired to a partial refund of "
     1238#~ "previous monthly subscription plan"
     1239#~ msgstr ""
     1240#~ "Scegliendo un piano di abbonamento superiore, per il primo mese verrà "
     1241#~ "applicato uno sconto pari al credito residuo della mensilità "
     1242#~ "dell'abbonamento precedente"
     1243
     1244#~ msgid "Only for first month (Until"
     1245#~ msgstr "Solo per il primo mese (Fino al"
     1246
     1247#~ msgid "Confirm order"
     1248#~ msgstr "Conferma"
     1249
     1250#~ msgid "Summary"
     1251#~ msgstr "Riepilogo"
    10491252
    10501253#~ msgid "Unable to update payment data. The product license key is missing."
  • wubtitle/tags/1.0.4/languages/wubtitle.pot

    r2354686 r2371183  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Wubtitle 1.0.2\n"
     5"Project-Id-Version: Wubtitle 1.0.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/Wubtitle-Wordpress-Plugin\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2020-08-04T13:25:04+02:00\n"
     12"POT-Creation-Date: 2020-08-26T15:46:17+02:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.4.0\n"
     
    8484#: includes/Api/ApiGetTranscript.php:223
    8585#: includes/Api/ApiGetTranscript.php:224
     86#: includes/Api/ApiPricingPlan.php:121
    8687#: includes/Core/CustomPostTypes/Transcript.php:161
    8788#: includes/Core/CustomPostTypes/Transcript.php:162
    88 #: includes/Core/Sources/YouTube.php:203
    8989#: includes/Core/Sources/YouTube.php:204
     90#: includes/Core/Sources/YouTube.php:205
    9091msgid "An error occurred while creating the transcriptions. Please try again in a few minutes"
    9192msgstr ""
     
    103104#: includes/Api/ApiGetTranscript.php:225
    104105#: includes/Core/CustomPostTypes/Transcript.php:163
    105 #: includes/Core/Sources/YouTube.php:205
     106#: includes/Core/Sources/YouTube.php:206
    106107msgid "Unable to create transcriptions. Invalid product license"
    107108msgstr ""
     
    111112#: includes/Api/ApiPricingPlan.php:73
    112113#: includes/Api/ApiPricingPlan.php:74
    113 #: includes/Api/ApiPricingPlan.php:112
    114 #: includes/Api/ApiPricingPlan.php:187
    115 #: includes/Api/ApiPricingPlan.php:188
    116 #: includes/Api/ApiPricingPlan.php:270
    117 #: includes/Api/ApiPricingPlan.php:271
    118 #: includes/Api/ApiPricingPlan.php:336
    119 #: includes/Api/ApiPricingPlan.php:337
     114#: includes/Api/ApiPricingPlan.php:123
     115#: includes/Api/ApiPricingPlan.php:200
     116#: includes/Api/ApiPricingPlan.php:201
     117#: includes/Api/ApiPricingPlan.php:288
     118#: includes/Api/ApiPricingPlan.php:289
     119#: includes/Api/ApiPricingPlan.php:377
     120#: includes/Api/ApiPricingPlan.php:378
    120121#: includes/Api/ApiRequest.php:123
    121122#: includes/Core/CustomPostTypes/Transcript.php:164
    122 #: includes/Core/Sources/YouTube.php:206
    123 #: includes/Utils/InvoiceHelper.php:68
    124 #: includes/Utils/InvoiceHelper.php:69
     123#: includes/Core/Sources/YouTube.php:207
     124#: includes/Utils/InvoiceHelper.php:77
     125#: includes/Utils/InvoiceHelper.php:78
     126#: includes/Utils/InvoiceHelper.php:298
     127#: includes/Utils/InvoiceHelper.php:299
    125128msgid "Could not contact the server"
    126129msgstr ""
     
    130133#: includes/Api/ApiRequest.php:223
    131134#: includes/Core/CustomPostTypes/Transcript.php:165
    132 #: includes/Core/Sources/YouTube.php:207
     135#: includes/Core/Sources/YouTube.php:208
    133136msgid "Error, no more video left for your subscription plan"
    134137msgstr ""
     
    137140#: includes/Api/ApiGetTranscript.php:236
    138141#: includes/Core/CustomPostTypes/Transcript.php:186
    139 #: includes/Core/Sources/YouTube.php:222
     142#: includes/Core/Sources/YouTube.php:223
    140143msgid "Transcript not avaiable for this video."
    141144msgstr ""
     
    146149
    147150#: includes/Api/ApiPricingPlan.php:42
    148 #: includes/Api/ApiPricingPlan.php:89
    149 #: includes/Api/ApiPricingPlan.php:149
    150 #: includes/Api/ApiPricingPlan.php:159
    151 #: includes/Api/ApiPricingPlan.php:228
    152 #: includes/Api/ApiPricingPlan.php:239
    153 #: includes/Api/ApiPricingPlan.php:292
    154 #: includes/Api/ApiPricingPlan.php:311
     151#: includes/Api/ApiPricingPlan.php:99
     152#: includes/Api/ApiPricingPlan.php:172
     153#: includes/Api/ApiPricingPlan.php:246
     154#: includes/Api/ApiPricingPlan.php:257
     155#: includes/Api/ApiPricingPlan.php:310
     156#: includes/Api/ApiPricingPlan.php:329
    155157#: includes/Dashboard/CancelPage.php:33
    156 #: includes/Dashboard/PaymentTemplate.php:39
    157 #: includes/Dashboard/PaymentTemplate.php:80
    158 #: includes/Dashboard/PaymentTemplate.php:121
    159 #: includes/Dashboard/PaymentTemplate.php:169
    160 #: includes/Utils/InvoiceHelper.php:33
     158#: includes/Dashboard/PaymentTemplate.php:52
     159#: includes/Dashboard/PaymentTemplate.php:104
     160#: includes/Dashboard/PaymentTemplate.php:138
     161#: includes/Dashboard/PaymentTemplate.php:183
     162#: includes/Dashboard/PaymentTemplate.php:231
     163#: includes/Utils/InvoiceHelper.php:35
     164#: includes/Utils/InvoiceHelper.php:95
     165#: includes/Utils/InvoiceHelper.php:264
    161166msgid "An error occurred. Please try again in a few minutes."
    162167msgstr ""
    163168
    164169#: includes/Api/ApiPricingPlan.php:53
    165 #: includes/Api/ApiPricingPlan.php:95
     170#: includes/Api/ApiPricingPlan.php:105
    166171#: includes/Api/ApiRequest.php:104
    167172msgid "Unable to create subtitles. The product license key is missing."
     
    170175#: includes/Api/ApiPricingPlan.php:70
    171176#: includes/Api/ApiPricingPlan.php:71
    172 #: includes/Api/ApiPricingPlan.php:110
    173 #: includes/Api/ApiPricingPlan.php:184
    174 #: includes/Api/ApiPricingPlan.php:185
    175 #: includes/Api/ApiPricingPlan.php:267
    176 #: includes/Api/ApiPricingPlan.php:268
    177 #: includes/Api/ApiPricingPlan.php:333
    178 #: includes/Api/ApiPricingPlan.php:334
    179 #: includes/Utils/InvoiceHelper.php:65
    180 #: includes/Utils/InvoiceHelper.php:66
     177#: includes/Api/ApiPricingPlan.php:120
     178#: includes/Api/ApiPricingPlan.php:197
     179#: includes/Api/ApiPricingPlan.php:198
     180#: includes/Api/ApiPricingPlan.php:285
     181#: includes/Api/ApiPricingPlan.php:286
     182#: includes/Api/ApiPricingPlan.php:374
     183#: includes/Api/ApiPricingPlan.php:375
     184#: includes/Utils/InvoiceHelper.php:74
     185#: includes/Utils/InvoiceHelper.php:75
     186#: includes/Utils/InvoiceHelper.php:123
     187#: includes/Utils/InvoiceHelper.php:295
     188#: includes/Utils/InvoiceHelper.php:296
    181189msgid "An error occurred. Please try again in a few minutes"
    182190msgstr ""
    183191
    184192#: includes/Api/ApiPricingPlan.php:72
    185 #: includes/Api/ApiPricingPlan.php:111
    186 #: includes/Api/ApiPricingPlan.php:186
    187 #: includes/Api/ApiPricingPlan.php:269
    188 #: includes/Api/ApiPricingPlan.php:335
    189 #: includes/Utils/InvoiceHelper.php:67
     193#: includes/Api/ApiPricingPlan.php:122
     194#: includes/Api/ApiPricingPlan.php:199
     195#: includes/Api/ApiPricingPlan.php:287
     196#: includes/Api/ApiPricingPlan.php:376
     197#: includes/Utils/InvoiceHelper.php:76
     198#: includes/Utils/InvoiceHelper.php:297
    190199msgid "Access denied"
    191200msgstr ""
    192201
    193 #: includes/Api/ApiPricingPlan.php:163
     202#: includes/Api/ApiPricingPlan.php:176
    194203msgid "The product license key is missing."
     204msgstr ""
     205
     206#: includes/Api/ApiPricingPlan.php:385
     207msgid "Unable to apply discount. You are not authorized to use this coupon"
     208msgstr ""
     209
     210#: includes/Api/ApiPricingPlan.php:386
     211msgid "Unable to apply discount. This coupon can only be used on the first purchase"
     212msgstr ""
     213
     214#: includes/Api/ApiPricingPlan.php:387
     215msgid "Unable to apply discount. Please try again later or enter a different discount code"
    195216msgstr ""
    196217
     
    227248
    228249#: includes/Api/ApiRequest.php:230
    229 msgid "Error, video length is longer than minutes available for your subscription plan (minutes left "
     250msgid "Error, video length is longer than minutes available for your subscription plan (minutes left"
    230251msgstr ""
    231252
     
    358379msgstr ""
    359380
     381#: includes/Dashboard/PaymentTemplate.php:143
     382msgid "Update successfull!"
     383msgstr ""
     384
     385#: includes/Dashboard/PaymentTemplate.php:145
     386msgid "Upgrade successfull!"
     387msgstr ""
     388
     389#: includes/Dashboard/PaymentTemplate.php:147
     390msgid "Downgrade successfull!"
     391msgstr ""
     392
    360393#: includes/Dashboard/Settings.php:47
    361394msgid "Wubtitle Settings"
     
    419452
    420453#: includes/Dashboard/Settings.php:205
    421 msgid "Update email or payment detail"
     454msgid "Update billing or payment details"
    422455msgstr ""
    423456
     
    488521#: includes/Dashboard/Templates/cancel_template.php:36
    489522#: includes/Dashboard/Templates/downgrade_plan_template.php:49
    490 #: includes/Dashboard/Templates/upgrade_plan_template.php:57
     523#: includes/Dashboard/Templates/upgrade_plan_template.php:138
    491524msgid "Forget it"
    492525msgstr ""
     
    514547
    515548#: includes/Dashboard/Templates/downgrade_plan_template.php:46
     549#: includes/Dashboard/Templates/upgrade_plan_template.php:133
    516550msgid "The subtitles already created and the minutes already used will be counted on the new subscription plan"
    517551msgstr ""
     
    551585#: includes/Dashboard/Templates/plans_array.php:49
    552586#: build_form/index.js:1
    553 #: src/stripe/Components/PlanTable.js:10
     587#: src/stripe/Components/PlanTable.js:18
    554588msgid "Your plan"
    555589msgstr ""
    556590
    557 #: includes/Dashboard/Templates/upgrade_plan_template.php:27
    558 msgid "Subscription plan upgrade"
    559 msgstr ""
    560 
    561 #: includes/Dashboard/Templates/upgrade_plan_template.php:28
    562 msgid "Upgrading now, for the first month you are entired to a partial refund of previous monthly subscription plan"
    563 msgstr ""
    564 
    565 #: includes/Dashboard/Templates/upgrade_plan_template.php:47
    566 msgid "Only for first month (Until"
    567 msgstr ""
    568 
    569 #: includes/Dashboard/Templates/upgrade_plan_template.php:58
     591#: includes/Dashboard/Templates/thankyou_page.php:25
     592msgid "Update Wubtitle settings page on your site backoffice to view the changes or click on the button below"
     593msgstr ""
     594
     595#: includes/Dashboard/Templates/thankyou_page.php:26
     596msgid "BACK TO WUBTITLE"
     597msgstr ""
     598
     599#: includes/Dashboard/Templates/upgrade_plan_template.php:34
     600msgid "Upgrade your plan"
     601msgstr ""
     602
     603#: includes/Dashboard/Templates/upgrade_plan_template.php:37
     604msgid "Upgrading to"
     605msgstr ""
     606
     607#: includes/Dashboard/Templates/upgrade_plan_template.php:39
     608msgid "now you will be charged only for the price difference between"
     609msgstr ""
     610
     611#: includes/Dashboard/Templates/upgrade_plan_template.php:41
     612msgid "plan and your current plan with no changes to your billing period. "
     613msgstr ""
     614
     615#: includes/Dashboard/Templates/upgrade_plan_template.php:66
     616msgid "You will pay:"
     617msgstr ""
     618
     619#: includes/Dashboard/Templates/upgrade_plan_template.php:75
     620#: includes/Dashboard/Templates/upgrade_plan_template.php:101
     621msgid " (VAT)"
     622msgstr ""
     623
     624#: includes/Dashboard/Templates/upgrade_plan_template.php:82
     625msgid "What you pay now (Discounted"
     626msgstr ""
     627
     628#: includes/Dashboard/Templates/upgrade_plan_template.php:84
     629msgid "Price)"
     630msgstr ""
     631
     632#: includes/Dashboard/Templates/upgrade_plan_template.php:89
     633msgid "Until "
     634msgstr ""
     635
     636#: includes/Dashboard/Templates/upgrade_plan_template.php:108
     637msgid "What you pay monthly (Full"
     638msgstr ""
     639
     640#: includes/Dashboard/Templates/upgrade_plan_template.php:110
     641msgid "price)"
     642msgstr ""
     643
     644#: includes/Dashboard/Templates/upgrade_plan_template.php:115
     645msgid "From "
     646msgstr ""
     647
     648#: includes/Dashboard/Templates/upgrade_plan_template.php:123
     649msgid "Current Payment details"
     650msgstr ""
     651
     652#: includes/Dashboard/Templates/upgrade_plan_template.php:127
     653msgid "Name: "
     654msgstr ""
     655
     656#: includes/Dashboard/Templates/upgrade_plan_template.php:128
     657msgid "Email: "
     658msgstr ""
     659
     660#: includes/Dashboard/Templates/upgrade_plan_template.php:129
     661msgid "Card: "
     662msgstr ""
     663
     664#: includes/Dashboard/Templates/upgrade_plan_template.php:130
     665msgid "Expiration Date: "
     666msgstr ""
     667
     668#: includes/Dashboard/Templates/upgrade_plan_template.php:139
    570669msgid "Upgrade Now"
    571670msgstr ""
     
    601700#: includes/MediaLibrary/MediaLibraryExtented.php:263
    602701#: build/index.js:1
    603 #: src/block/SubtitleControl.js:65
     702#: src/block/SubtitleControl.js:73
    604703msgid "Published"
    605704msgstr ""
     
    703802msgstr ""
    704803
    705 #: includes/Utils/InvoiceHelper.php:49
    706 #: includes/Utils/InvoiceHelper.php:154
     804#: includes/Utils/InvoiceHelper.php:58
     805#: includes/Utils/InvoiceHelper.php:107
     806#: includes/Utils/InvoiceHelper.php:204
    707807msgid "Error. The product license key is missing."
     808msgstr ""
     809
     810#: includes/Utils/InvoiceHelper.php:305
     811msgid "Invalid Coupon"
    708812msgstr ""
    709813
     
    760864#: build/index.js:1
    761865#: src/block/PendingSubtitle.js:7
    762 #: src/block/SubtitleControl.js:59
     866#: src/block/SubtitleControl.js:67
    763867#: src/block/WubtitlePanel.js:67
    764868msgid "Status:"
     
    767871#: build/index.js:1
    768872#: src/block/PendingSubtitle.js:8
    769 #: src/block/SubtitleControl.js:62
     873#: src/block/SubtitleControl.js:70
    770874msgid "Language:"
    771875msgstr ""
     
    778882
    779883#: build/index.js:1
    780 #: src/block/SubtitleControl.js:72
     884#: src/block/SubtitleControl.js:80
    781885#: src/block/YoutubeControlPanel.js:135
    782886msgid "Get Transcribe"
     
    821925
    822926#: build/index.js:1
    823 #: src/block/TranscriptionEditBlock.js:107
     927#: src/block/TranscriptionEditBlock.js:108
    824928msgid "Wubtitle transcriptions"
    825929msgstr ""
    826930
    827931#: build/index.js:1
    828 #: src/block/TranscriptionEditBlock.js:111
     932#: src/block/TranscriptionEditBlock.js:112
    829933msgid "Insert transcriptions"
    830934msgstr ""
    831935
    832936#: build/index.js:1
    833 #: src/block/TranscriptionEditBlock.js:116
     937#: src/block/TranscriptionEditBlock.js:117
    834938msgid "Enter the title of the video you want to transcribe"
    835939msgstr ""
     
    851955
    852956#: build_form/index.js:1
    853 #: src/stripe/Components/CheckoutForm.js:23
    854 #: src/stripe/Components/InvoiceForm.js:16
     957#: src/stripe/Components/CheckoutForm.js:31
     958#: src/stripe/Components/InvoiceForm.js:17
    855959msgid "Required"
    856960msgstr ""
    857961
    858962#: build_form/index.js:1
    859 #: src/stripe/Components/CheckoutForm.js:30
    860 #: src/stripe/Components/InvoiceForm.js:22
     963#: src/stripe/Components/CheckoutForm.js:38
     964#: src/stripe/Components/InvoiceForm.js:44
    861965msgid "Invalid email"
    862966msgstr ""
    863967
    864968#: build_form/index.js:1
    865 #: src/stripe/Components/CheckoutForm.js:56
     969#: src/stripe/Components/CheckoutForm.js:88
     970msgid "Coupon"
     971msgstr ""
     972
     973#: build_form/index.js:1
     974#: src/stripe/Components/CheckoutForm.js:95
     975msgid "Discount Code"
     976msgstr ""
     977
     978#: build_form/index.js:1
     979#: src/stripe/Components/CheckoutForm.js:114
     980msgid "Apply Coupon"
     981msgstr ""
     982
     983#: build_form/index.js:1
     984#: src/stripe/Components/CheckoutForm.js:120
    866985msgid "Payment Details"
    867986msgstr ""
    868987
    869988#: build_form/index.js:1
    870 #: src/stripe/Components/CheckoutForm.js:61
     989#: src/stripe/Components/CheckoutForm.js:125
    871990msgid "editing enabled"
    872991msgstr ""
    873992
    874993#: build_form/index.js:1
    875 #: src/stripe/Components/CheckoutForm.js:62
     994#: src/stripe/Components/CheckoutForm.js:126
    876995msgid "editing disabled"
    877996msgstr ""
    878997
    879998#: build_form/index.js:1
    880 #: src/stripe/Components/CheckoutForm.js:80
    881 #: src/stripe/Components/InvoiceSummary.js:39
     999#: src/stripe/Components/CheckoutForm.js:144
     1000#: src/stripe/Components/InvoiceSummary.js:40
    8821001msgid "Email"
    8831002msgstr ""
    8841003
    8851004#: build_form/index.js:1
    886 #: src/stripe/Components/CheckoutForm.js:84
     1005#: src/stripe/Components/CheckoutForm.js:148
    8871006msgid "Card Details"
    8881007msgstr ""
    8891008
    8901009#: build_form/index.js:1
    891 #: src/stripe/Components/CheckoutForm.js:90
    892 #: src/stripe/Components/CheckoutForm.js:133
     1010#: src/stripe/Components/CheckoutForm.js:154
     1011#: src/stripe/Components/CheckoutForm.js:197
    8931012msgid "Card Holder"
    8941013msgstr ""
    8951014
    8961015#: build_form/index.js:1
    897 #: src/stripe/Components/CheckoutForm.js:94
     1016#: src/stripe/Components/CheckoutForm.js:158
    8981017msgid "Expires"
    8991018msgstr ""
    9001019
    9011020#: build_form/index.js:1
    902 #: src/stripe/Components/CheckoutForm.js:153
     1021#: src/stripe/Components/CheckoutForm.js:217
    9031022msgid "Back"
    9041023msgstr ""
    9051024
    9061025#: build_form/index.js:1
    907 #: src/stripe/Components/CheckoutForm.js:162
    908 msgid "Confirm order"
    909 msgstr ""
    910 
    911 #: build_form/index.js:1
    912 #: src/stripe/Components/InvoiceForm.js:26
     1026#: src/stripe/Components/CheckoutForm.js:226
     1027msgid "Subscribe"
     1028msgstr ""
     1029
     1030#: build_form/index.js:1
     1031#: src/stripe/Components/InvoiceForm.js:48
    9131032msgid "Telephone number required"
    9141033msgstr ""
    9151034
    9161035#: build_form/index.js:1
    917 #: src/stripe/Components/InvoiceForm.js:27
    918 #: src/stripe/Components/InvoiceForm.js:48
    919 #: src/stripe/Components/InvoiceForm.js:65
     1036#: src/stripe/Components/InvoiceForm.js:49
     1037#: src/stripe/Components/InvoiceForm.js:73
     1038#: src/stripe/Components/InvoiceForm.js:96
    9201039msgid "Only numbers"
    9211040msgstr ""
    9221041
    9231042#: build_form/index.js:1
    924 #: src/stripe/Components/InvoiceForm.js:29
     1043#: src/stripe/Components/InvoiceForm.js:51
    9251044msgid "Prefix required"
    9261045msgstr ""
    9271046
    9281047#: build_form/index.js:1
    929 #: src/stripe/Components/InvoiceForm.js:30
     1048#: src/stripe/Components/InvoiceForm.js:54
    9301049msgid "Prefix is only numbers"
    9311050msgstr ""
    9321051
    9331052#: build_form/index.js:1
    934 #: src/stripe/Components/InvoiceForm.js:31
     1053#: src/stripe/Components/InvoiceForm.js:56
    9351054msgid "Prefix must be max 3 numbers"
    9361055msgstr ""
    9371056
    9381057#: build_form/index.js:1
    939 #: src/stripe/Components/InvoiceForm.js:46
     1058#: src/stripe/Components/InvoiceForm.js:71
    9401059msgid "Vat Code must be exactly 11 characters"
    9411060msgstr ""
    9421061
    9431062#: build_form/index.js:1
    944 #: src/stripe/Components/InvoiceForm.js:55
     1063#: src/stripe/Components/InvoiceForm.js:81
    9451064msgid "Fiscal Code must be exactly 16 characters"
    9461065msgstr ""
    9471066
    9481067#: build_form/index.js:1
    949 #: src/stripe/Components/InvoiceForm.js:63
     1068#: src/stripe/Components/InvoiceForm.js:85
     1069msgid "Invalid Fiscal Code"
     1070msgstr ""
     1071
     1072#: build_form/index.js:1
     1073#: src/stripe/Components/InvoiceForm.js:94
    9501074msgid "Postal Code must be exactly 5 characters"
    9511075msgstr ""
    9521076
    9531077#: build_form/index.js:1
    954 #: src/stripe/Components/InvoiceForm.js:69
     1078#: src/stripe/Components/InvoiceForm.js:100
    9551079msgid "Destination Code must be exactly 7 characters"
    9561080msgstr ""
    9571081
    9581082#: build_form/index.js:1
    959 #: src/stripe/Components/InvoiceForm.js:114
     1083#: src/stripe/Components/InvoiceForm.js:151
    9601084msgid "Billing Details"
    9611085msgstr ""
    9621086
    9631087#: build_form/index.js:1
    964 #: src/stripe/Components/InvoiceForm.js:127
    965 #: src/stripe/Components/InvoiceSummary.js:35
     1088#: src/stripe/Components/InvoiceForm.js:164
     1089#: src/stripe/Components/InvoiceSummary.js:36
    9661090msgid "Name"
    9671091msgstr ""
    9681092
    9691093#: build_form/index.js:1
    970 #: src/stripe/Components/InvoiceForm.js:136
    971 #: src/stripe/Components/InvoiceSummary.js:71
     1094#: src/stripe/Components/InvoiceForm.js:177
     1095#: src/stripe/Components/InvoiceSummary.js:72
    9721096msgid "Lastname"
    9731097msgstr ""
    9741098
    9751099#: build_form/index.js:1
    976 #: src/stripe/Components/InvoiceForm.js:156
    977 #: src/stripe/Components/InvoiceSummary.js:75
     1100#: src/stripe/Components/InvoiceForm.js:197
     1101#: src/stripe/Components/InvoiceSummary.js:77
    9781102msgid "Company Name"
    9791103msgstr ""
    9801104
    9811105#: build_form/index.js:1
    982 #: src/stripe/Components/InvoiceForm.js:168
    983 #: src/stripe/Components/InvoiceSummary.js:43
     1106#: src/stripe/Components/InvoiceForm.js:209
     1107#: src/stripe/Components/InvoiceSummary.js:44
    9841108msgid "Country"
    9851109msgstr ""
    9861110
    9871111#: build_form/index.js:1
    988 #: src/stripe/Components/InvoiceForm.js:192
    989 #: src/stripe/Components/InvoiceSummary.js:80
     1112#: src/stripe/Components/InvoiceForm.js:233
     1113#: src/stripe/Components/InvoiceSummary.js:86
    9901114msgid "Province"
    9911115msgstr ""
    9921116
    9931117#: build_form/index.js:1
    994 #: src/stripe/Components/InvoiceForm.js:212
    995 #: src/stripe/Components/InvoiceSummary.js:88
     1118#: src/stripe/Components/InvoiceForm.js:253
     1119#: src/stripe/Components/InvoiceSummary.js:94
    9961120msgid "City"
    9971121msgstr ""
    9981122
    9991123#: build_form/index.js:1
    1000 #: src/stripe/Components/InvoiceForm.js:221
    1001 #: src/stripe/Components/InvoiceSummary.js:55
     1124#: src/stripe/Components/InvoiceForm.js:262
     1125#: src/stripe/Components/InvoiceSummary.js:56
    10021126msgid "Address"
    10031127msgstr ""
    10041128
    10051129#: build_form/index.js:1
    1006 #: src/stripe/Components/InvoiceForm.js:234
    1007 #: src/stripe/Components/InvoiceSummary.js:48
     1130#: src/stripe/Components/InvoiceForm.js:275
     1131#: src/stripe/Components/InvoiceSummary.js:49
    10081132msgid "Postal Code"
    10091133msgstr ""
    10101134
    10111135#: build_form/index.js:1
    1012 #: src/stripe/Components/InvoiceForm.js:250
     1136#: src/stripe/Components/InvoiceForm.js:291
    10131137msgid "Vat Code"
    10141138msgstr ""
    10151139
    10161140#: build_form/index.js:1
    1017 #: src/stripe/Components/InvoiceForm.js:272
    1018 #: src/stripe/Components/InvoiceSummary.js:93
     1141#: src/stripe/Components/InvoiceForm.js:313
     1142#: src/stripe/Components/InvoiceSummary.js:100
    10191143msgid "Fiscal Code"
    10201144msgstr ""
    10211145
    10221146#: build_form/index.js:1
    1023 #: src/stripe/Components/InvoiceForm.js:284
     1147#: src/stripe/Components/InvoiceForm.js:325
     1148#: src/stripe/Components/InvoiceSummary.js:62
    10241149msgid "Telephone"
    10251150msgstr ""
    10261151
    10271152#: build_form/index.js:1
    1028 #: src/stripe/Components/InvoiceForm.js:311
    1029 #: src/stripe/Components/InvoiceSummary.js:102
     1153#: src/stripe/Components/InvoiceForm.js:355
     1154#: src/stripe/Components/InvoiceSummary.js:120
    10301155msgid "Destination Code"
    10311156msgstr ""
    10321157
    10331158#: build_form/index.js:1
    1034 #: src/stripe/Components/InvoiceForm.js:328
     1159#: src/stripe/Components/InvoiceForm.js:372
    10351160msgid "Cancel"
    10361161msgstr ""
    10371162
    10381163#: build_form/index.js:1
    1039 #: src/stripe/Components/InvoiceForm.js:334
    1040 msgid "Summary"
    1041 msgstr ""
    1042 
    1043 #: build_form/index.js:1
    1044 #: src/stripe/Components/InvoiceSummary.js:23
     1164#: src/stripe/Components/InvoiceForm.js:378
     1165msgid "Next"
     1166msgstr ""
     1167
     1168#: build_form/index.js:1
     1169#: src/stripe/Components/InvoiceSummary.js:24
    10451170msgid "Billing Recap"
    10461171msgstr ""
    10471172
    10481173#: build_form/index.js:1
    1049 #: src/stripe/Components/InvoiceSummary.js:61
     1174#: src/stripe/Components/InvoiceSummary.js:110
    10501175msgid "VAT Code"
    10511176msgstr ""
    10521177
    10531178#: build_form/index.js:1
    1054 #: src/stripe/Components/PlanTable.js:15
    1055 #: src/stripe/Components/PriceTable.js:10
     1179#: src/stripe/Components/PlanTable.js:22
     1180#: src/stripe/Components/PriceTable.js:22
    10561181msgid "Price"
    10571182msgstr ""
    10581183
    10591184#: build_form/index.js:1
    1060 #: src/stripe/Components/PriceTable.js:15
     1185#: src/stripe/Components/PlanTable.js:27
     1186#: src/stripe/Components/PriceTable.js:37
    10611187msgid "VAT"
    10621188msgstr ""
    10631189
    10641190#: build_form/index.js:1
    1065 #: src/stripe/Components/PriceTable.js:30
     1191#: src/stripe/Components/PlanTable.js:35
     1192#: src/stripe/Components/PriceTable.js:45
     1193msgid "no Vat due for you"
     1194msgstr ""
     1195
     1196#: build_form/index.js:1
     1197#: src/stripe/Components/PlanTable.js:41
     1198#: src/stripe/Components/PriceTable.js:51
    10661199msgid "Total"
    10671200msgstr ""
    10681201
    10691202#: build_form/index.js:1
    1070 #: src/stripe/Components/InfoPriceColumn.js:34
    1071 #: src/stripe/Components/PlanTable.js:22
    1072 #: src/stripe/Components/PriceTable.js:33
    1073 msgid "per month"
    1074 msgstr ""
    1075 
    1076 #: build_form/index.js:1
    1077 #: src/stripe/Components/Disclaimer.js:8
     1203#: src/stripe/Components/PriceTable.js:60
     1204msgid "Coupon applied!"
     1205msgstr ""
     1206
     1207#: build_form/index.js:1
     1208#: src/stripe/Components/Disclaimer.js:10
    10781209msgid "When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided."
    10791210msgstr ""
    10801211
    10811212#: build_form/index.js:1
    1082 #: src/stripe/Components/Disclaimer.js:19
     1213#: src/stripe/Components/Disclaimer.js:21
    10831214msgid "Terms and conditions"
    10841215msgstr ""
    10851216
    10861217#: build_form/index.js:1
    1087 #: src/stripe/Components/Disclaimer.js:27
     1218#: src/stripe/Components/Disclaimer.js:29
    10881219msgid "Privacy"
    10891220msgstr ""
     
    11001231
    11011232#: build_form/index.js:1
    1102 #: src/stripe/Components/PlanTable.js:38
     1233#: src/stripe/Components/PlanTable.js:45
     1234msgid " per month"
     1235msgstr ""
     1236
     1237#: build_form/index.js:1
     1238#: src/stripe/Components/PlanTable.js:51
    11031239msgid "Automatic renewal"
    11041240msgstr ""
     1241
     1242#: build_form/index.js:1
     1243#: src/stripe/Components/InfoPriceColumn.js:22
     1244msgid "per month"
     1245msgstr ""
     1246
     1247#: build_form/index.js:1
     1248#: src/stripe/Components/InfoPriceColumn.js:25
     1249msgid "for this month*"
     1250msgstr ""
     1251
     1252#: build_form/index.js:1
     1253msgid "After the first month the price is"
     1254msgstr ""
     1255
     1256#: build_form/index.js:1
     1257#: src/stripe/Components/InfoPriceColumn.js:29
     1258#: src/stripe/Components/InfoPriceColumn.js:40
     1259msgid "(VAT)"
     1260msgstr ""
     1261
     1262#: build_form/index.js:1
     1263msgid "for the first"
     1264msgstr ""
     1265
     1266#: build_form/index.js:1
     1267#: src/stripe/Components/InfoPriceColumn.js:34
     1268msgid "months*"
     1269msgstr ""
     1270
     1271#: build_form/index.js:1
     1272msgid "After the first"
     1273msgstr ""
     1274
     1275#: build_form/index.js:1
     1276msgid "months the price is"
     1277msgstr ""
     1278
     1279#: src/stripe/Components/InfoPriceColumn.js:26
     1280msgid "After the first month the monthly price will be"
     1281msgstr ""
     1282
     1283#: src/stripe/Components/InfoPriceColumn.js:32
     1284msgid "for the firsts"
     1285msgstr ""
     1286
     1287#: src/stripe/Components/InfoPriceColumn.js:35
     1288msgid "After the firsts"
     1289msgstr ""
     1290
     1291#: src/stripe/Components/InfoPriceColumn.js:37
     1292msgid "months the monthly price will be"
     1293msgstr ""
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/dist/pure.esm.js

    r2347061 r2371183  
    11function _typeof(obj) {
     2  "@babel/helpers - typeof";
     3
    24  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
    35    _typeof = function (obj) {
     
    1113
    1214  return _typeof(obj);
    13 }
    14 
    15 function _toConsumableArray(arr) {
    16   return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
    17 }
    18 
    19 function _arrayWithoutHoles(arr) {
    20   if (Array.isArray(arr)) {
    21     for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
    22 
    23     return arr2;
    24   }
    25 }
    26 
    27 function _iterableToArray(iter) {
    28   if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
    29 }
    30 
    31 function _nonIterableSpread() {
    32   throw new TypeError("Invalid attempt to spread non-iterable instance");
    3315}
    3416
     
    6648};
    6749
    68 var registerWrapper = function registerWrapper(stripe) {
     50var registerWrapper = function registerWrapper(stripe, startTime) {
    6951  if (!stripe || !stripe._registerWrapper) {
    7052    return;
     
    7355  stripe._registerWrapper({
    7456    name: 'stripe-js',
    75     version: "1.8.0"
     57    version: "1.9.0",
     58    startTime: startTime
    7659  });
    7760};
     
    127110  return stripePromise;
    128111};
    129 var initStripe = function initStripe(maybeStripe, args) {
     112var initStripe = function initStripe(maybeStripe, args, startTime) {
    130113  if (maybeStripe === null) {
    131114    return null;
    132115  }
    133116
    134   var stripe = maybeStripe.apply(void 0, _toConsumableArray(args));
    135   registerWrapper(stripe);
     117  var stripe = maybeStripe.apply(undefined, args);
     118  registerWrapper(stripe, startTime);
    136119  return stripe;
    137120};
     
    158141
    159142  loadStripeCalled = true;
     143  var startTime = Date.now();
    160144  return loadScript(loadParams).then(function (maybeStripe) {
    161     return initStripe(maybeStripe, args);
     145    return initStripe(maybeStripe, args, startTime);
    162146  });
    163147};
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/dist/pure.js

    r2347061 r2371183  
    44
    55function _typeof(obj) {
     6  "@babel/helpers - typeof";
     7
    68  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
    79    _typeof = function (obj) {
     
    1517
    1618  return _typeof(obj);
    17 }
    18 
    19 function _toConsumableArray(arr) {
    20   return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
    21 }
    22 
    23 function _arrayWithoutHoles(arr) {
    24   if (Array.isArray(arr)) {
    25     for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
    26 
    27     return arr2;
    28   }
    29 }
    30 
    31 function _iterableToArray(iter) {
    32   if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
    33 }
    34 
    35 function _nonIterableSpread() {
    36   throw new TypeError("Invalid attempt to spread non-iterable instance");
    3719}
    3820
     
    7052};
    7153
    72 var registerWrapper = function registerWrapper(stripe) {
     54var registerWrapper = function registerWrapper(stripe, startTime) {
    7355  if (!stripe || !stripe._registerWrapper) {
    7456    return;
     
    7759  stripe._registerWrapper({
    7860    name: 'stripe-js',
    79     version: "1.8.0"
     61    version: "1.9.0",
     62    startTime: startTime
    8063  });
    8164};
     
    131114  return stripePromise;
    132115};
    133 var initStripe = function initStripe(maybeStripe, args) {
     116var initStripe = function initStripe(maybeStripe, args, startTime) {
    134117  if (maybeStripe === null) {
    135118    return null;
    136119  }
    137120
    138   var stripe = maybeStripe.apply(void 0, _toConsumableArray(args));
    139   registerWrapper(stripe);
     121  var stripe = maybeStripe.apply(undefined, args);
     122  registerWrapper(stripe, startTime);
    140123  return stripe;
    141124};
     
    162145
    163146  loadStripeCalled = true;
     147  var startTime = Date.now();
    164148  return loadScript(loadParams).then(function (maybeStripe) {
    165     return initStripe(maybeStripe, args);
     149    return initStripe(maybeStripe, args, startTime);
    166150  });
    167151};
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/dist/stripe.esm.js

    r2347061 r2371183  
    1 function _toConsumableArray(arr) {
    2   return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
    3 }
    4 
    5 function _arrayWithoutHoles(arr) {
    6   if (Array.isArray(arr)) {
    7     for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
    8 
    9     return arr2;
    10   }
    11 }
    12 
    13 function _iterableToArray(iter) {
    14   if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
    15 }
    16 
    17 function _nonIterableSpread() {
    18   throw new TypeError("Invalid attempt to spread non-iterable instance");
    19 }
    20 
    211var V3_URL = 'https://js.stripe.com/v3';
    222var V3_URL_REGEX = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;
     
    5232};
    5333
    54 var registerWrapper = function registerWrapper(stripe) {
     34var registerWrapper = function registerWrapper(stripe, startTime) {
    5535  if (!stripe || !stripe._registerWrapper) {
    5636    return;
     
    5939  stripe._registerWrapper({
    6040    name: 'stripe-js',
    61     version: "1.8.0"
     41    version: "1.9.0",
     42    startTime: startTime
    6243  });
    6344};
     
    11394  return stripePromise;
    11495};
    115 var initStripe = function initStripe(maybeStripe, args) {
     96var initStripe = function initStripe(maybeStripe, args, startTime) {
    11697  if (maybeStripe === null) {
    11798    return null;
    11899  }
    119100
    120   var stripe = maybeStripe.apply(void 0, _toConsumableArray(args));
    121   registerWrapper(stripe);
     101  var stripe = maybeStripe.apply(undefined, args);
     102  registerWrapper(stripe, startTime);
    122103  return stripe;
    123104};
     
    140121
    141122  loadCalled = true;
     123  var startTime = Date.now();
    142124  return stripePromise$1.then(function (maybeStripe) {
    143     return initStripe(maybeStripe, args);
     125    return initStripe(maybeStripe, args, startTime);
    144126  });
    145127};
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/dist/stripe.js

    r2347061 r2371183  
    22
    33Object.defineProperty(exports, '__esModule', { value: true });
    4 
    5 function _toConsumableArray(arr) {
    6   return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
    7 }
    8 
    9 function _arrayWithoutHoles(arr) {
    10   if (Array.isArray(arr)) {
    11     for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
    12 
    13     return arr2;
    14   }
    15 }
    16 
    17 function _iterableToArray(iter) {
    18   if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
    19 }
    20 
    21 function _nonIterableSpread() {
    22   throw new TypeError("Invalid attempt to spread non-iterable instance");
    23 }
    244
    255var V3_URL = 'https://js.stripe.com/v3';
     
    5636};
    5737
    58 var registerWrapper = function registerWrapper(stripe) {
     38var registerWrapper = function registerWrapper(stripe, startTime) {
    5939  if (!stripe || !stripe._registerWrapper) {
    6040    return;
     
    6343  stripe._registerWrapper({
    6444    name: 'stripe-js',
    65     version: "1.8.0"
     45    version: "1.9.0",
     46    startTime: startTime
    6647  });
    6748};
     
    11798  return stripePromise;
    11899};
    119 var initStripe = function initStripe(maybeStripe, args) {
     100var initStripe = function initStripe(maybeStripe, args, startTime) {
    120101  if (maybeStripe === null) {
    121102    return null;
    122103  }
    123104
    124   var stripe = maybeStripe.apply(void 0, _toConsumableArray(args));
    125   registerWrapper(stripe);
     105  var stripe = maybeStripe.apply(undefined, args);
     106  registerWrapper(stripe, startTime);
    126107  return stripe;
    127108};
     
    144125
    145126  loadCalled = true;
     127  var startTime = Date.now();
    146128  return stripePromise$1.then(function (maybeStripe) {
    147     return initStripe(maybeStripe, args);
     129    return initStripe(maybeStripe, args, startTime);
    148130  });
    149131};
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/src/index.ts

    r2347061 r2371183  
    1515export const loadStripe: LoadStripe = (...args) => {
    1616  loadCalled = true;
     17  const startTime = Date.now();
    1718
    18   return stripePromise.then((maybeStripe) => initStripe(maybeStripe, args));
     19  return stripePromise.then((maybeStripe) =>
     20    initStripe(maybeStripe, args, startTime)
     21  );
    1922};
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/src/pure.ts

    r2347061 r2371183  
    1616) => {
    1717  loadStripeCalled = true;
     18  const startTime = Date.now();
    1819
    1920  return loadScript(loadParams).then((maybeStripe) =>
    20     initStripe(maybeStripe, args)
     21    initStripe(maybeStripe, args, startTime)
    2122  );
    2223};
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/src/shared.ts

    r2347061 r2371183  
    5656};
    5757
    58 const registerWrapper = (stripe: any): void => {
     58const registerWrapper = (stripe: any, startTime: number): void => {
    5959  if (!stripe || !stripe._registerWrapper) {
    6060    return;
    6161  }
    6262
    63   stripe._registerWrapper({name: 'stripe-js', version: _VERSION});
     63  stripe._registerWrapper({name: 'stripe-js', version: _VERSION, startTime});
    6464};
    6565
     
    122122export const initStripe = (
    123123  maybeStripe: StripeConstructor | null,
    124   args: Parameters<StripeConstructor>
     124  args: Parameters<StripeConstructor>,
     125  startTime: number
    125126): Stripe | null => {
    126127  if (maybeStripe === null) {
     
    128129  }
    129130
    130   const stripe = maybeStripe(...args);
    131   registerWrapper(stripe);
     131  const stripe = maybeStripe.apply(undefined, args);
     132  registerWrapper(stripe, startTime);
    132133  return stripe;
    133134};
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/types/stripe-js/checkout.d.ts

    r2347061 r2371183  
    9999     * Default is `auto` (Stripe detects the locale of the browser).
    100100     */
    101     locale?:
    102       | 'auto'
    103       | 'bg'
    104       | 'cs'
    105       | 'da'
    106       | 'de'
    107       | 'el'
    108       | 'en'
    109       | 'es'
    110       | 'es-419'
    111       | 'et'
    112       | 'fi'
    113       | 'fr'
    114       | 'hu'
    115       | 'it'
    116       | 'ja'
    117       | 'lt'
    118       | 'lv'
    119       | 'ms'
    120       | 'mt'
    121       | 'nb'
    122       | 'nl'
    123       | 'pl'
    124       | 'pt'
    125       | 'pt-BR'
    126       | 'ro'
    127       | 'ru'
    128       | 'sk'
    129       | 'sl'
    130       | 'sv'
    131       | 'tr'
    132       | 'zh';
     101    locale?: CheckoutLocale;
    133102
    134103    /**
     
    143112    | RedirectToCheckoutServerOptions
    144113    | RedirectToCheckoutClientOptions;
     114
     115  type CheckoutLocale =
     116    | 'auto'
     117    | 'bg'
     118    | 'cs'
     119    | 'da'
     120    | 'de'
     121    | 'el'
     122    | 'en'
     123    | 'en-GB'
     124    | 'es'
     125    | 'es-419'
     126    | 'et'
     127    | 'fi'
     128    | 'fr'
     129    | 'fr-CA'
     130    | 'hu'
     131    | 'id'
     132    | 'it'
     133    | 'ja'
     134    | 'lt'
     135    | 'lv'
     136    | 'ms'
     137    | 'mt'
     138    | 'nb'
     139    | 'nl'
     140    | 'pl'
     141    | 'pt'
     142    | 'pt-BR'
     143    | 'ro'
     144    | 'ru'
     145    | 'sk'
     146    | 'sl'
     147    | 'sv'
     148    | 'tr'
     149    | 'zh'
     150    | 'zh-HK'
     151    | 'zh-TW';
    145152}
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/types/stripe-js/elements.d.ts

    r2347061 r2371183  
    199199    | StripePaymentRequestButtonElement;
    200200
     201  type StripeElementLocale =
     202    | 'auto'
     203    | 'ar'
     204    | 'bg'
     205    | 'cs'
     206    | 'da'
     207    | 'de'
     208    | 'el'
     209    | 'en'
     210    | 'es'
     211    | 'es-419'
     212    | 'et'
     213    | 'fi'
     214    | 'fr'
     215    | 'he'
     216    | 'id'
     217    | 'it'
     218    | 'ja'
     219    | 'lt'
     220    | 'lv'
     221    | 'ms'
     222    | 'nb'
     223    | 'nl'
     224    | 'no'
     225    | 'pl'
     226    | 'pt'
     227    | 'pt-BR'
     228    | 'ru'
     229    | 'sk'
     230    | 'sl'
     231    | 'sv'
     232    | 'zh';
     233
    201234  /**
    202235   * Options to create an `Elements` instance with.
     
    213246     * Setting the locale does not affect the behavior of postal code validation—a valid postal code for the billing country of the card is still required.
    214247     */
    215     locale?:
    216       | 'auto'
    217       | 'ar'
    218       | 'bg'
    219       | 'cs'
    220       | 'da'
    221       | 'de'
    222       | 'el'
    223       | 'en'
    224       | 'es'
    225       | 'es-419'
    226       | 'et'
    227       | 'fi'
    228       | 'fr'
    229       | 'he'
    230       | 'id'
    231       | 'it'
    232       | 'ja'
    233       | 'lt'
    234       | 'lv'
    235       | 'ms'
    236       | 'nb'
    237       | 'nl'
    238       | 'no'
    239       | 'pl'
    240       | 'pt'
    241       | 'pt-BR'
    242       | 'ru'
    243       | 'sk'
    244       | 'sl'
    245       | 'sv'
    246       | 'zh';
     248    locale?: StripeElementLocale;
    247249  }
    248250
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/types/stripe-js/index.d.ts

    r2347061 r2371183  
    4040    /// https://stripe.com/docs/js/payment_intents
    4141    /////////////////////////////
     42
     43    /**
     44     * Use `stripe.confirmAlipayPayment` in the [Alipay Payments](https://stripe.com/docs/payments/alipay) with Payment Methods flow when the customer submits your payment form.
     45     * When called, it will confirm the [PaymentIntent](https://stripe.com/docs/api/payment_intents) with `data` you provide, and it will automatically redirect the customer to authorize the transaction.
     46     * Once authorization is complete, the customer will be redirected back to your specified `return_url`.
     47     *
     48     * When you confirm a `PaymentIntent`, it needs to have an attached [PaymentMethod](https://stripe.com/docs/api/payment_methods).
     49     * In addition to confirming the `PaymentIntent`, this method can automatically create and attach a new PaymentMethod for you.
     50     * If you have already attached a `PaymentMethod` you can call this method without needing to provide any additional data.
     51     *
     52     * @docs https://stripe.com/docs/js/payment_intents/confirm_alipay_payment
     53     */
     54    confirmAlipayPayment(
     55      clientSecret: string,
     56      data?: ConfirmAlipayPaymentData,
     57      options?: ConfirmAlipayPaymentOptions
     58    ): Promise<{paymentIntent?: PaymentIntent; error?: StripeError}>;
    4259
    4360    /**
     
    485502     * If you are planning on using Checkout, make sure to use a [value](#checkout_redirect_to_checkout-options-locale) that it supports.
    486503     */
    487     locale?:
    488       | 'auto'
    489       | 'ar'
    490       | 'bg'
    491       | 'cs'
    492       | 'da'
    493       | 'de'
    494       | 'el'
    495       | 'en'
    496       | 'es'
    497       | 'es-419'
    498       | 'et'
    499       | 'fi'
    500       | 'fr'
    501       | 'he'
    502       | 'id'
    503       | 'it'
    504       | 'ja'
    505       | 'lt'
    506       | 'lv'
    507       | 'ms'
    508       | 'nb'
    509       | 'nl'
    510       | 'no'
    511       | 'pl'
    512       | 'pt'
    513       | 'pt-BR'
    514       | 'ru'
    515       | 'sk'
    516       | 'sl'
    517       | 'sv'
    518       | 'zh';
     504    locale?: StripeElementLocale | CheckoutLocale;
    519505  }
    520506
  • wubtitle/tags/1.0.4/node_modules/@stripe/stripe-js/types/stripe-js/payment-intents.d.ts

    r2347061 r2371183  
    44
    55  type CreatePaymentMethodData =
     6    | CreatePaymentMethodAlipayData
    67    | CreatePaymentMethodAuBecsDebitData
    78    | CreatePaymentMethodBancontactData
     
    1415    | CreatePaymentMethodSepaDebitData;
    1516
     17  interface CreatePaymentMethodAlipayData extends PaymentMethodCreateParams {
     18    type: 'alipay';
     19  }
     20
    1621  interface CreatePaymentMethodBancontactData
    1722    extends PaymentMethodCreateParams {
     
    220225
    221226  /**
     227   * Data to be sent with a `stripe.confirmAlipayPayment` request.
     228   * Refer to the [Payment Intents API](https://stripe.com/docs/api/payment_intents/confirm) for a full list of parameters.
     229   */
     230  interface ConfirmAlipayPaymentData extends PaymentIntentConfirmParams {
     231    /*
     232     * The `id` of an existing [PaymentMethod](https://stripe.com/docs/api/payment_methods).
     233     * This field is optional if a `PaymentMethod` has already been attached to this `PaymentIntent` or a new `PaymentMethod` will be created.
     234     *
     235     * @recommended
     236     */
     237    payment_method?: string | Omit<CreatePaymentMethodAlipayData, 'type'>;
     238
     239    /**
     240     * The url your customer will be directed to after they complete authentication.
     241     *
     242     * @recommended
     243     */
     244    return_url?: string;
     245  }
     246
     247  /**
     248   * An options object to control the behavior of `stripe.confirmAlipayPayment`.
     249   */
     250  interface ConfirmAlipayPaymentOptions {
     251    /*
     252     * Set this to `false` if you want to [manually handle the authorization redirect](https://stripe.com/docs/payments/alipay/accept-a-payment#handle-redirect).
     253     * Default is `true`.
     254     */
     255    handleActions?: boolean;
     256  }
     257
     258  /**
    222259   * An options object to control the behavior of `stripe.confirmBancontactPayment`.
    223260   */
  • wubtitle/tags/1.0.4/readme.txt

    r2354686 r2371183  
    33Donate link: https://www.wubtitle.com/
    44Tags: subtitle, subtitles, video, Transcription, SEO, speech-to-text, video to text, youtube to text
    5 Requires at least: 5.0
     5Requires at least: 5.3
    66Tested up to: 5.5
    77Stable tag: trunk
     
    9595== Changelog ==
    9696
     97=1.0.4=
     98Release Date: August 28th, 2020
     99
     100Enhancements:
     101
     102* Wordpress 5.5 support
     103
     104Bugfixes:
     105
     106* Permit plan upgrade only to Administrator
     107* Stability improvements
     108
    97109= 1.0.3 =
    98110Release Date: August 7th, 2020
  • wubtitle/tags/1.0.4/vendor/autoload.php

    r2354686 r2371183  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit144ec1da1375d1ed142b5e69e7fae16e::getLoader();
     7return ComposerAutoloaderInit6c741866330a801191c9af39dac6d322::getLoader();
  • wubtitle/tags/1.0.4/vendor/composer/autoload_real.php

    r2354686 r2371183  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit144ec1da1375d1ed142b5e69e7fae16e
     5class ComposerAutoloaderInit6c741866330a801191c9af39dac6d322
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit144ec1da1375d1ed142b5e69e7fae16e', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit6c741866330a801191c9af39dac6d322', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInit144ec1da1375d1ed142b5e69e7fae16e', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit6c741866330a801191c9af39dac6d322', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit144ec1da1375d1ed142b5e69e7fae16e::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit6c741866330a801191c9af39dac6d322::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • wubtitle/tags/1.0.4/vendor/composer/autoload_static.php

    r2354686 r2371183  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit144ec1da1375d1ed142b5e69e7fae16e
     7class ComposerStaticInit6c741866330a801191c9af39dac6d322
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3232    {
    3333        return \Closure::bind(function () use ($loader) {
    34             $loader->prefixLengthsPsr4 = ComposerStaticInit144ec1da1375d1ed142b5e69e7fae16e::$prefixLengthsPsr4;
    35             $loader->prefixDirsPsr4 = ComposerStaticInit144ec1da1375d1ed142b5e69e7fae16e::$prefixDirsPsr4;
     34            $loader->prefixLengthsPsr4 = ComposerStaticInit6c741866330a801191c9af39dac6d322::$prefixLengthsPsr4;
     35            $loader->prefixDirsPsr4 = ComposerStaticInit6c741866330a801191c9af39dac6d322::$prefixDirsPsr4;
    3636
    3737        }, null, ClassLoader::class);
  • wubtitle/tags/1.0.4/wubtitle.php

    r2354686 r2371183  
    88 * Text Domain:     wubtitle
    99 * Domain Path:     /languages
    10  * Version:         1.0.3
     10 * Version:         1.0.4
    1111 *
    1212 * @package         Wubtitle
     
    2222define( 'WUBTITLE_URL', plugin_dir_url( __FILE__ ) );
    2323define( 'WUBTITLE_NAME', dirname( plugin_basename( __FILE__ ) ) );
    24 define( 'WUBTITLE_VER', '1.0.3' );
     24define( 'WUBTITLE_VER', '1.0.4' );
    2525$endpoint = 'https://api.wubtitle.com/';
    2626if ( defined( 'WP_WUBTITLE_ENV' ) && 'development' === WP_WUBTITLE_ENV ) {
  • wubtitle/trunk/assets/css/payment_template.css

    r2354686 r2371183  
    365365    text-align: center;
    366366    border-color: #2962ff;
    367 }
     367    border-style: solid;
     368    outline: none;
     369}
  • wubtitle/trunk/assets/css/stripeStyle.css

    r2354686 r2371183  
    2525
    2626.button-bar button,
    27 .coupon-button {
     27.coupon-button,
     28input.cancel {
    2829    background: transparent linear-gradient(257deg, #d500f9 0%, #2962ff 99%) 0% 0% no-repeat padding-box;
    2930    border-radius: 16px;
     
    4647}
    4748
     49.button-bar input.cancel {
     50    background: none;
     51    color: #616161;
     52    width: auto;
     53}
     54
     55input.cancel:hover:enabled {
     56    cursor: pointer;
     57    transform: translateY(-1px);
     58    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
     59}
     60
    4861.disabled {
    4962    background-color: #7795f8;
     
    5972    padding: 10px 14px;
    6073    font-size: 1em;
    61     font-family: "Source Code Pro", monospace;
     74    font-family: "Open Sans", sans-serif;
    6275    box-shadow:
    6376        rgba(50, 50, 93, 0.14902) 0 1px 3px,
     
    6881    background: #fff;
    6982    width: 100%;
     83}
     84
     85/* selector should use lowercase but class is generated by stripe */
     86/* stylelint-disable-next-line selector-class-pattern */
     87.StripeElement {
     88    margin-top: 1rem;
    7089}
    7190
     
    257276}
    258277
    259 .button-bar button.cancel {
    260     background: none;
    261     color: #616161;
    262 }
    263 
    264278.summary {
    265279    padding: 1rem;
     
    310324}
    311325
     326.switch-container p {
     327    color: #616161;
     328    font-weight: 600;
     329    font-size: 12px;
     330}
     331
    312332/* Desktop */
    313333@media screen and (min-width: 1024px) {
     
    401421    .price-column .mobile-price-view.opened .disclaimer {
    402422        display: block;
    403     }
    404 }
    405 
    406 
    407 /* Smartphone */
    408 @media screen and (max-width: 767px) {
    409 
    410     .accordion-bar {
    411         display: flex;
    412         flex-direction: row;
    413         align-items: center;
    414         justify-content: space-between;
    415     }
    416 
    417     .accordion {
    418         width: 20px;
    419         height: 20px;
    420         display: flex;
    421         align-items: center;
    422         justify-content: center;
    423     }
    424 
    425     .accordion.opened {
    426         transform: rotate(180deg);
    427     }
    428 
    429     .form-field-container {
    430         width: 100%;
    431     }
    432 
    433     .summary {
    434         border-bottom: 1px rgb(201, 201, 201) solid;
    435         overflow: hidden;
    436     }
    437 
    438     .summary .columns {
    439         display: block;
    440     }
    441 
    442     .summary .column {
    443         width: 100%;
    444     }
    445 
    446 
    447     .summary.closed {
    448         height: 80px;
    449     }
    450 
    451     .summary.opened {
    452         height: auto;
    453423    }
    454424}
     
    534504}
    535505
     506.fields-container.flex-container {
     507    padding: 0.5rem;
     508}
     509
    536510.switch-container {
    537511    display: inline-flex;
     
    550524
    551525.error-message {
     526    color: #d32f2f;
     527    height: 8px;
     528    padding: 0 1rem;
     529    margin: 0;
     530}
     531
     532.error-message-notice {
    552533    color: #d32f2f;
    553534    height: 8px;
     
    579560.coupon-message {
    580561    height: 8px;
     562    color: #d32f2f;
    581563}
    582564
     
    588570    font: 400 14px/19px "Open Sans", sans-serif;
    589571}
     572
     573/* Smartphone */
     574@media screen and (max-width: 767px) {
     575
     576    .accordion-bar {
     577        display: flex;
     578        flex-direction: row;
     579        align-items: center;
     580        justify-content: space-between;
     581    }
     582
     583    .accordion {
     584        width: 20px;
     585        height: 20px;
     586        display: flex;
     587        align-items: center;
     588        justify-content: center;
     589    }
     590
     591    .accordion.opened {
     592        transform: rotate(180deg);
     593    }
     594
     595    .form-field-container {
     596        width: 100%;
     597    }
     598
     599    .summary {
     600        border-bottom: 1px rgb(201, 201, 201) solid;
     601        overflow: hidden;
     602    }
     603
     604    .columns {
     605        padding-top: 0;
     606    }
     607
     608    .summary .columns {
     609        display: block;
     610    }
     611
     612    .summary .column {
     613        width: 100%;
     614    }
     615
     616
     617    .summary.closed {
     618        height: 80px;
     619    }
     620
     621    .summary.opened {
     622        height: auto;
     623    }
     624
     625    .switch-container {
     626        display: flex;
     627        left: 1rem;
     628        align-items: center;
     629        position: initial;
     630        margin-top: 16px;
     631    }
     632
     633    .switch-container p {
     634        left: 0;
     635        margin: auto 0;
     636    }
     637
     638    .switch {
     639        position: absolute;
     640        right: 1rem;
     641    }
     642
     643    .title-section {
     644        padding-bottom: 0;
     645    }
     646
     647    .summary p {
     648        margin-top: 16px;
     649    }
     650}
     651
  • wubtitle/trunk/build/index.asset.php

    r2354686 r2371183  
    1 <?php return array('dependencies' => array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '42f08e0eb4faf2321dd222757ada72f7');
     1<?php return array('dependencies' => array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => '522b29c2c0236dcac5d26f996c59a0bf');
  • wubtitle/trunk/build/index.js

    r2354686 r2371183  
    1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var c=e[r]={i:r,l:!1,exports:{}};return t[r].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var c in t)n.d(r,c,function(e){return t[e]}.bind(null,c));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=19)}([function(t,e){!function(){t.exports=this.wp.element}()},function(t,e){!function(){t.exports=this.wp.i18n}()},function(t,e,n){var r=n(14),c=n(15),i=n(16),o=n(18);t.exports=function(t,e){return r(t)||c(t,e)||i(t,e)||o()}},function(t,e){!function(){t.exports=this.wp.components}()},function(t,e){!function(){t.exports=this.wp.data}()},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n},function(t,e){!function(){t.exports=this.wp.compose}()},function(t,e){!function(){t.exports=this.wp.hooks}()},function(t,e){!function(){t.exports=this.wp.blockEditor}()},function(t,e){!function(){t.exports=this.wp.apiFetch}()},function(t,e){!function(){t.exports=this.wp.plugins}()},function(t,e){!function(){t.exports=this.wp.editPost}()},function(t,e){!function(){t.exports=this.wp.domReady}()},function(t,e){!function(){t.exports=this.wp.blocks}()},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,c=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){c=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(c)throw i}}return n}}},function(t,e,n){var r=n(17);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){"use strict";n.r(e);var r=n(5),c=n.n(r),i=n(0),o=n(6),a=n(7),l=n(2),u=n.n(l),b=n(4),s=n(9),d=n.n(s),p=n(3),f=n(8),_=n(1),j={it:Object(_.__)("Italian","wubtitle"),en:Object(_.__)("English","wubtitle"),es:Object(_.__)("Spanish","wubtitle"),de:Object(_.__)("German","wubtitle"),zh:Object(_.__)("Chinese","wubtitle"),fr:Object(_.__)("French","wubtitle")},O={pending:Object(_.__)("Generating","wubtitle"),draft:Object(_.__)("Draft","wubtitle"),enabled:Object(_.__)("Enabled","wubtitle"),notfound:Object(_.__)("None","wubtitle")},m=[{value:"it",label:Object(_.__)("Italian","wubtitle")},{value:"en",label:Object(_.__)("English","wubtitle")},{value:"es",label:Object(_.__)("Spanish","wubtitle")},{value:"de",label:Object(_.__)("German","wubtitle")},{value:"zh",label:Object(_.__)("Chinese","wubtitle")},{value:"fr",label:Object(_.__)("French","wubtitle")}],w=[{value:"it",label:Object(_.__)("Italian","wubtitle"),disabled:!1},{value:"en",label:Object(_.__)("English","wubtitle"),disabled:!1},{value:"es",label:Object(_.__)("Spanish (Pro only)","wubtitle"),disabled:!0},{value:"de",label:Object(_.__)("German (Pro only)","wubtitle"),disabled:!0},{value:"zh",label:Object(_.__)("Chinese (Pro only)","wubtitle"),disabled:!0},{value:"fr",label:Object(_.__)("French (Pro only)","wubtitle"),disabled:!0}],g=function(t){var e=t.statusText,n=t.langText;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Status:","wubtitle")+" "+O[e]),Object(i.createElement)("div",null,Object(_.__)("Language:","wubtitle")+" "+j[n]))},h=function(t){var e=t.statusText,n=t.langText,r=t.isPublished,c=t.postId,o=Object(i.useState)(""),a=u()(o,2),l=a[0],s=a[1],d=Object(b.useDispatch)("core"),f=function(t){d.editEntityRecord("postType","attachment",c,{meta:{wubtitle_status:t}})};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",{style:{margin:"0"}},Object(_.__)("Status:","wubtitle")+" "+O[e]),Object(i.createElement)("p",{style:{margin:"8px 0"}},Object(_.__)("Language:","wubtitle")+" "+j[n]),Object(i.createElement)(p.ToggleControl,{label:Object(_.__)("Published","wubtitle"),checked:r,onChange:function(){var t;t="draft",!r&&(t="enabled"),f(t),d.saveEditedEntityRecord("postType","attachment",c)}}),Object(i.createElement)(p.Button,{name:"sottotitoli",id:c,isPrimary:!0,onClick:function(){s(Object(_.__)("Getting transcript…","wubtitle")),wp.ajax.send("get_transcript_internal_video",{type:"POST",data:{id:c,_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){s("Done");var e=wp.blocks.createBlock("wubtitle/transcription",{contentId:t});wp.data.dispatch("core/block-editor").insertBlocks(e)})).fail((function(t){s(t)}))}},Object(_.__)("Get Transcribe","wubtitle")),Object(i.createElement)("p",null,l))},v=function(t){var e,n,r=void 0!==t.id?t.src.substring(t.src.lastIndexOf(".")+1):"mp4",c=("1"===wubtitle_button_object.isFree?["it","en"]:["it","en","es","de","zh"]).includes(wubtitle_button_object.lang)?wubtitle_button_object.lang:"en",o=Object(b.useSelect)((function(e){var n;void 0!==t.id&&(n=e("core").getEntityRecord("postType","attachment",t.id));var r="";return void 0!==n&&(r=e("core").getEditedEntityRecord("postType","attachment",t.id).meta),r}));void 0!==o&&(e=o.wubtitle_lang_video,n=o.wubtitle_status);var a=Object(b.useDispatch)("core/notices"),l=Object(b.useDispatch)("core"),s=Object(i.useState)(c),j=u()(s,2),O=j[0],v=j[1],y="pending"===n||void 0===t.id,E="enabled"===n,x="1"===wubtitle_button_object.isFree?w:m,S=function(){return n="error"===n?Object(_.__)("Error","wubtitle"):Object(_.__)("None","wubtitle"),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Status:","wubtitle")+" "+n),Object(i.createElement)(p.SelectControl,{label:Object(_.__)("Select the video language","wubtitle"),value:O,onChange:function(t){v(t)},options:x}),Object(i.createElement)(p.Button,{disabled:y,name:"sottotitoli",id:t.id,isPrimary:!0,onClick:k},Object(_.__)("GENERATE SUBTITLES","wubtitle")))},T=function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Unsupported video format for free plan","wubtitle")))};function k(){var e=t.id,n=t.src;d()({url:wubtitle_button_object.ajax_url,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"},body:"action=submitVideo&_ajax_nonce=".concat(wubtitle_button_object.ajaxnonce,"&id_attachment=").concat(e,"&src_attachment=").concat(n,"&lang=").concat(O,"&")}).then((function(e){201===e.data?(a.createNotice("success",Object(_.__)("Subtitle creation successfully started","wubtitle")),l.editEntityRecord("postType","attachment",t.id,{meta:{wubtitle_status:"pending",wubtitle_lang_video:O}})):a.createNotice("error",e.data)}))}return Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(p.PanelBody,{title:"Wubtitle"},Object(i.createElement)((function(){if("1"===wubtitle_button_object.isFree&&"mp4"!==r)return Object(i.createElement)(T,null);switch(n){case"pending":return Object(i.createElement)(g,{langText:e,statusText:n});case"draft":case"enabled":return Object(i.createElement)(h,{statusText:n,langText:e,isPublished:E,postId:t.id});default:return Object(i.createElement)(S,null)}}),{status:n,languageSaved:e})))},y=Object(o.createHigherOrderComponent)((function(t){return function(e){return"core/video"!==e.name?Object(i.createElement)(t,e):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(t,e),Object(i.createElement)(v,c()({},e.attributes,{setAttributes:e.setAttributes})))}}),"withInspectorControls");Object(a.addFilter)("editor.BlockEdit","wubtitle/with-inspector-controls",y);var E=n(10),x=n(11),S=n(12),T=function(){var t=Object(i.useState)(""),e=u()(t,2),n=e[0],r=e[1],c=Object(i.useState)(""),o=u()(c,2),a=o[0],l=o[1],b=""===a;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(x.PluginDocumentSettingPanel,{name:"transcript-panel",title:"Transcript"},Object(i.createElement)(p.TextControl,{label:"video url",id:"input",value:a,onChange:function(t){l(t)}}),Object(i.createElement)(p.Button,{name:"transcript",isPrimary:!0,onClick:function(){r(Object(_.__)("Getting transcript…","wubtitle")),wp.ajax.send("get_transcript",{type:"POST",data:{url:a,source:"youtube",from:"transcript_post_type",_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){r(Object(_.__)("Done","wubtitle"));var e=wp.blocks.createBlock("core/paragraph",{content:t});wp.data.dispatch("core/block-editor").insertBlocks(e)})).fail((function(t){r(t)}))},disabled:b},Object(_.__)("Get transcript","wubtitle")),Object(i.createElement)("p",null,n)))};n.n(S)()((function(){"transcript"===Object(b.select)("core/editor").getCurrentPostType()&&Object(E.registerPlugin)("transcript-panel",{render:T,icon:""})}));var k=function(t){var e=Object(i.useState)(""),n=u()(e,2),r=n[0],c=n[1],o=Object(i.useState)(Object(_.__)("None","wubtitle")),a=u()(o,2),l=a[0],s=a[1],d=Object(i.useState)(""),j=u()(d,2),O=j[0],m=j[1],w=Object(i.useState)(!1),g=u()(w,2),h=g[0],v=g[1],y=Object(i.useState)([]),E=u()(y,2),x=E[0],S=E[1],T=Object(i.useState)(""),k=u()(T,2),C=k[0],P=k[1],I=Object(i.useState)(!0),B=u()(I,2),F=B[0],A=B[1],G=Object(b.useDispatch)("core/notices");Object(b.useSelect)((function(e){if(void 0!==t.url){var n=e("core").getEntityRecords("postType","transcript",{metaKey:"_video_id",metaValue:t.url}),r=Object(_.__)("Created","wubtitle");n&&n.length>0&&l!==r&&s(r)}}));return Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(p.PanelBody,{title:"Wubtitle"},Object(i.createElement)("p",{style:{margin:"0",marginBottom:"20px"}},"".concat(Object(_.__)("Transcript status:","wubtitle")," ").concat(l)),t.url&&h?Object(i.createElement)(p.SelectControl,{label:Object(_.__)("Select the video language","wubtitle"),value:O,onChange:function(t){m(t),A("none"===t)},options:x}):void wp.ajax.send("get_video_info",{type:"POST",data:{url:t.url,_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){if(t.languages){c(""),v(!0);var e=t.languages.map((function(t){return{value:t.baseUrl,label:t.name.simpleText}}));e.unshift({value:"none",label:Object(_.__)("Select language","wubtitle")}),S(e),P(t.title)}else c(Object(_.__)("Subtitles not available for this video","wubtitle"))})).fail((function(t){console.log(t)})),Object(i.createElement)(p.Button,{name:"sottotitoli",id:t.id,isPrimary:!0,onClick:function(){var e=wp.data.select("core/block-editor").getBlockIndex(wp.data.select("core/block-editor").getSelectedBlock().clientId);c(Object(_.__)("Getting transcript…","ear2words")),wp.ajax.send("get_transcript_yt",{type:"POST",data:{urlVideo:t.url,urlSubtitle:O,videoTitle:C,from:"default_post_type",_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){var n=wp.blocks.createBlock("wubtitle/transcription",{contentId:t}),r=e+1;wp.data.dispatch("core/block-editor").insertBlocks(n,r),c(""),s(Object(_.__)("Created","wubtitle"))})).fail((function(t){G.createNotice("error",t),c("")}))},disabled:F},Object(_.__)("Get Transcribe","wubtitle")),Object(i.createElement)("p",null,r)))},C=Object(o.createHigherOrderComponent)((function(t){return function(e){return"core-embed/youtube"!==e.name?Object(i.createElement)(t,e):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(t,e),Object(i.createElement)(k,c()({},e.attributes,{setAttributes:e.setAttributes})))}}),"withInspectorControls");Object(a.addFilter)("editor.BlockEdit","wubtitle/with-inspector-controls",C);var P=n(13);function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=Object(i.useState)(t),r=u()(n,2),c=r[0],o=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){o(t)}),e);return function(){clearTimeout(n)}}),[t]),c}var B=function(t){var e=t.attributes,n=t.setAttributes,r=t.className,c=Object(i.useState)(""),o=u()(c,2),a=o[0],l=o[1],s=Object(i.useState)(""),d=u()(s,2),f=d[0],j=d[1],O=Object(i.useState)([]),m=u()(O,2),w=m[0],g=m[1],h=I(a,500),v=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)}))},y=function(t){var e=wp.blocks.createBlock("core/paragraph",{content:t}),n=wp.data.select("core/block-editor").getSelectedBlock().clientId;wp.data.dispatch("core/block-editor").replaceBlocks(n,e)};Object(i.useEffect)((function(){j(h)}),[h]),Object(b.useSelect)((function(t){if(e.contentId&&0===w.length){var n={per_page:1,include:e.contentId},r=t("core").getEntityRecords("postType","transcript",n);if(null!==r){g([r[0].title.rendered]);var c=r[0].content.rendered;c=(c=c.replace("<p>","")).replace("</p>",""),y(c)}}}));for(var E=Object(b.useSelect)((function(t){if(f.length>2){var e={per_page:10,search:f},n=t("core").getEntityRecords("postType","transcript",e);return null!==n?n:[]}return[]})),x=new Map,S=[],T=0;T<E.length;T++)x.set(v(E[T].title.rendered),E[T].id),x.set(v("".concat(E[T].title.rendered," content")),E[T].content.rendered),S[T]=v(E[T].title.rendered);var k="";return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.FormTokenField,{className:r,label:Object(_.__)("Wubtitle transcriptions","wubtitle"),value:w,suggestions:S,onChange:function(t){return function(t){if(0===t.length)n({contentId:null}),g(t);else if(S.includes(t[0])){var e=x.get(t[0]),r="".concat(t[0]," content");k=(k=(k=x.get(r)).replace("<p>","")).replace("</p>",""),g(t),n({contentId:e}),y(k)}}(t)},placeholder:Object(_.__)("Insert transcriptions","wubtitle"),onInputChange:function(t){return l(t)},maxLength:1}),Object(i.createElement)("p",{className:"helperText"},Object(_.__)("Enter the title of the video you want to transcribe","wubtitle")))};Object(P.registerBlockType)("wubtitle/transcription",{title:Object(_.__)("Trascription","wubtitle"),icon:"megaphone",description:Object(_.__)("Enter the transcript of your video","wubtitle"),category:"embed",attributes:{contentId:{type:"int"}},edit:B})}]);
     1!function(t){var e={};function n(r){if(e[r])return e[r].exports;var c=e[r]={i:r,l:!1,exports:{}};return t[r].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var c in t)n.d(r,c,function(e){return t[e]}.bind(null,c));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=19)}([function(t,e){!function(){t.exports=this.wp.element}()},function(t,e){!function(){t.exports=this.wp.i18n}()},function(t,e,n){var r=n(14),c=n(15),i=n(16),o=n(18);t.exports=function(t,e){return r(t)||c(t,e)||i(t,e)||o()}},function(t,e){!function(){t.exports=this.wp.components}()},function(t,e){!function(){t.exports=this.wp.data}()},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n},function(t,e){!function(){t.exports=this.wp.compose}()},function(t,e){!function(){t.exports=this.wp.hooks}()},function(t,e){!function(){t.exports=this.wp.blockEditor}()},function(t,e){!function(){t.exports=this.wp.apiFetch}()},function(t,e){!function(){t.exports=this.wp.plugins}()},function(t,e){!function(){t.exports=this.wp.editPost}()},function(t,e){!function(){t.exports=this.wp.domReady}()},function(t,e){!function(){t.exports=this.wp.blocks}()},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,c=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){c=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(c)throw i}}return n}}},function(t,e,n){var r=n(17);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){"use strict";n.r(e);var r=n(5),c=n.n(r),i=n(0),o=n(6),a=n(7),l=n(2),u=n.n(l),b=n(4),s=n(9),d=n.n(s),p=n(3),f=n(8),_=n(1),j={it:Object(_.__)("Italian","wubtitle"),en:Object(_.__)("English","wubtitle"),es:Object(_.__)("Spanish","wubtitle"),de:Object(_.__)("German","wubtitle"),zh:Object(_.__)("Chinese","wubtitle"),fr:Object(_.__)("French","wubtitle")},O={pending:Object(_.__)("Generating","wubtitle"),draft:Object(_.__)("Draft","wubtitle"),enabled:Object(_.__)("Enabled","wubtitle"),notfound:Object(_.__)("None","wubtitle")},m=[{value:"it",label:Object(_.__)("Italian","wubtitle")},{value:"en",label:Object(_.__)("English","wubtitle")},{value:"es",label:Object(_.__)("Spanish","wubtitle")},{value:"de",label:Object(_.__)("German","wubtitle")},{value:"zh",label:Object(_.__)("Chinese","wubtitle")},{value:"fr",label:Object(_.__)("French","wubtitle")}],w=[{value:"it",label:Object(_.__)("Italian","wubtitle"),disabled:!1},{value:"en",label:Object(_.__)("English","wubtitle"),disabled:!1},{value:"es",label:Object(_.__)("Spanish (Pro only)","wubtitle"),disabled:!0},{value:"de",label:Object(_.__)("German (Pro only)","wubtitle"),disabled:!0},{value:"zh",label:Object(_.__)("Chinese (Pro only)","wubtitle"),disabled:!0},{value:"fr",label:Object(_.__)("French (Pro only)","wubtitle"),disabled:!0}],g=function(t){var e=t.statusText,n=t.langText;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Status:","wubtitle")+" "+O[e]),Object(i.createElement)("div",null,Object(_.__)("Language:","wubtitle")+" "+j[n]))},h=function(t){var e=t.statusText,n=t.langText,r=t.isPublished,c=t.postId,o=Object(i.useState)(""),a=u()(o,2),l=a[0],s=a[1],d=Object(b.useDispatch)("core"),f=function(t){d.editEntityRecord("postType","attachment",c,{meta:{wubtitle_status:t}})};return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",{style:{margin:"0"}},Object(_.__)("Status:","wubtitle")+" "+O[e]),Object(i.createElement)("p",{style:{margin:"8px 0"}},Object(_.__)("Language:","wubtitle")+" "+j[n]),Object(i.createElement)(p.ToggleControl,{label:Object(_.__)("Published","wubtitle"),checked:r,onChange:function(){var t;t="draft",!r&&(t="enabled"),f(t),d.saveEditedEntityRecord("postType","attachment",c)}}),Object(i.createElement)(p.Button,{name:"sottotitoli",id:c,isPrimary:!0,onClick:function(){s(Object(_.__)("Getting transcript…","wubtitle")),wp.ajax.send("get_transcript_internal_video",{type:"POST",data:{id:c,_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){s("Done");var e=wp.data.select("core/block-editor").getBlockIndex(wp.data.select("core/block-editor").getSelectedBlock().clientId),n=wp.blocks.createBlock("wubtitle/transcription",{contentId:t});wp.data.dispatch("core/block-editor").insertBlocks(n,e+1)})).fail((function(t){s(t)}))}},Object(_.__)("Get Transcribe","wubtitle")),Object(i.createElement)("p",null,l))},v=function(t){var e,n,r=void 0!==t.id?t.src.substring(t.src.lastIndexOf(".")+1):"mp4",c=("1"===wubtitle_button_object.isFree?["it","en"]:["it","en","es","de","zh"]).includes(wubtitle_button_object.lang)?wubtitle_button_object.lang:"en",o=Object(b.useSelect)((function(e){var n;void 0!==t.id&&(n=e("core").getEntityRecord("postType","attachment",t.id));var r="";return void 0!==n&&(r=e("core").getEditedEntityRecord("postType","attachment",t.id).meta),r}));void 0!==o&&(e=o.wubtitle_lang_video,n=o.wubtitle_status);var a=Object(b.useDispatch)("core/notices"),l=Object(b.useDispatch)("core"),s=Object(i.useState)(c),j=u()(s,2),O=j[0],v=j[1],y="pending"===n||void 0===t.id,E="enabled"===n,x="1"===wubtitle_button_object.isFree?w:m,S=function(){return n="error"===n?Object(_.__)("Error","wubtitle"):Object(_.__)("None","wubtitle"),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Status:","wubtitle")+" "+n),Object(i.createElement)(p.SelectControl,{label:Object(_.__)("Select the video language","wubtitle"),value:O,onChange:function(t){v(t)},options:x}),Object(i.createElement)(p.Button,{disabled:y,name:"sottotitoli",id:t.id,isPrimary:!0,onClick:k},Object(_.__)("GENERATE SUBTITLES","wubtitle")))},T=function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(_.__)("Unsupported video format for free plan","wubtitle")))};function k(){var e=t.id,n=t.src;d()({url:wubtitle_button_object.ajax_url,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=utf-8"},body:"action=submitVideo&_ajax_nonce=".concat(wubtitle_button_object.ajaxnonce,"&id_attachment=").concat(e,"&src_attachment=").concat(n,"&lang=").concat(O,"&")}).then((function(e){201===e.data?(a.createNotice("success",Object(_.__)("Subtitle creation successfully started","wubtitle")),l.editEntityRecord("postType","attachment",t.id,{meta:{wubtitle_status:"pending",wubtitle_lang_video:O}})):a.createNotice("error",e.data)}))}return Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(p.PanelBody,{title:"Wubtitle"},Object(i.createElement)((function(){if("1"===wubtitle_button_object.isFree&&"mp4"!==r)return Object(i.createElement)(T,null);switch(n){case"pending":return Object(i.createElement)(g,{langText:e,statusText:n});case"draft":case"enabled":return Object(i.createElement)(h,{statusText:n,langText:e,isPublished:E,postId:t.id});default:return Object(i.createElement)(S,null)}}),{status:n,languageSaved:e})))},y=Object(o.createHigherOrderComponent)((function(t){return function(e){return"core/video"!==e.name?Object(i.createElement)(t,e):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(t,e),Object(i.createElement)(v,c()({},e.attributes,{setAttributes:e.setAttributes})))}}),"withInspectorControls");Object(a.addFilter)("editor.BlockEdit","wubtitle/with-inspector-controls",y);var E=n(10),x=n(11),S=n(12),T=function(){var t=Object(i.useState)(""),e=u()(t,2),n=e[0],r=e[1],c=Object(i.useState)(""),o=u()(c,2),a=o[0],l=o[1],b=""===a;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(x.PluginDocumentSettingPanel,{name:"transcript-panel",title:"Transcript"},Object(i.createElement)(p.TextControl,{label:"video url",id:"input",value:a,onChange:function(t){l(t)}}),Object(i.createElement)(p.Button,{name:"transcript",isPrimary:!0,onClick:function(){r(Object(_.__)("Getting transcript…","wubtitle")),wp.ajax.send("get_transcript",{type:"POST",data:{url:a,source:"youtube",from:"transcript_post_type",_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){r(Object(_.__)("Done","wubtitle"));var e=wp.blocks.createBlock("core/paragraph",{content:t});wp.data.dispatch("core/block-editor").insertBlocks(e)})).fail((function(t){r(t)}))},disabled:b},Object(_.__)("Get transcript","wubtitle")),Object(i.createElement)("p",null,n)))};n.n(S)()((function(){"transcript"===Object(b.select)("core/editor").getCurrentPostType()&&Object(E.registerPlugin)("transcript-panel",{render:T,icon:""})}));var k=function(t){var e=Object(i.useState)(""),n=u()(e,2),r=n[0],c=n[1],o=Object(i.useState)(Object(_.__)("None","wubtitle")),a=u()(o,2),l=a[0],s=a[1],d=Object(i.useState)(""),j=u()(d,2),O=j[0],m=j[1],w=Object(i.useState)(!1),g=u()(w,2),h=g[0],v=g[1],y=Object(i.useState)([]),E=u()(y,2),x=E[0],S=E[1],T=Object(i.useState)(""),k=u()(T,2),C=k[0],P=k[1],I=Object(i.useState)(!0),B=u()(I,2),F=B[0],A=B[1],G=Object(b.useDispatch)("core/notices");Object(b.useSelect)((function(e){if(void 0!==t.url){var n=e("core").getEntityRecords("postType","transcript",{metaKey:"_video_id",metaValue:t.url}),r=Object(_.__)("Created","wubtitle");n&&n.length>0&&l!==r&&s(r)}}));return Object(i.createElement)(f.InspectorControls,null,Object(i.createElement)(p.PanelBody,{title:"Wubtitle"},Object(i.createElement)("p",{style:{margin:"0",marginBottom:"20px"}},"".concat(Object(_.__)("Transcript status:","wubtitle")," ").concat(l)),t.url&&h?Object(i.createElement)(p.SelectControl,{label:Object(_.__)("Select the video language","wubtitle"),value:O,onChange:function(t){m(t),A("none"===t)},options:x}):void wp.ajax.send("get_video_info",{type:"POST",data:{url:t.url,_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){if(t.languages){c(""),v(!0);var e=t.languages.map((function(t){return{value:t.baseUrl,label:t.name.simpleText}}));e.unshift({value:"none",label:Object(_.__)("Select language","wubtitle")}),S(e),P(t.title)}else c(Object(_.__)("Subtitles not available for this video","wubtitle"))})).fail((function(t){console.log(t)})),Object(i.createElement)(p.Button,{name:"sottotitoli",id:t.id,isPrimary:!0,onClick:function(){var e=wp.data.select("core/block-editor").getBlockIndex(wp.data.select("core/block-editor").getSelectedBlock().clientId);c(Object(_.__)("Getting transcript…","ear2words")),wp.ajax.send("get_transcript_yt",{type:"POST",data:{urlVideo:t.url,urlSubtitle:O,videoTitle:C,from:"default_post_type",_ajax_nonce:wubtitle_button_object.ajaxnonce}}).then((function(t){var n=wp.blocks.createBlock("wubtitle/transcription",{contentId:t}),r=e+1;wp.data.dispatch("core/block-editor").insertBlocks(n,r),c(""),s(Object(_.__)("Created","wubtitle"))})).fail((function(t){G.createNotice("error",t),c("")}))},disabled:F},Object(_.__)("Get Transcribe","wubtitle")),Object(i.createElement)("p",null,r)))},C=Object(o.createHigherOrderComponent)((function(t){return function(e){return"core-embed/youtube"!==e.name?Object(i.createElement)(t,e):Object(i.createElement)(i.Fragment,null,Object(i.createElement)(t,e),Object(i.createElement)(k,c()({},e.attributes,{setAttributes:e.setAttributes})))}}),"withInspectorControls");Object(a.addFilter)("editor.BlockEdit","wubtitle/with-inspector-controls",C);var P=n(13);function I(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=Object(i.useState)(t),r=u()(n,2),c=r[0],o=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){o(t)}),e);return function(){clearTimeout(n)}}),[t]),c}var B=function(t){var e=t.attributes,n=t.setAttributes,r=t.className,c=Object(i.useState)(""),o=u()(c,2),a=o[0],l=o[1],s=Object(i.useState)(""),d=u()(s,2),f=d[0],j=d[1],O=Object(i.useState)([]),m=u()(O,2),w=m[0],g=m[1],h=I(a,500),v=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)}))},y=function(t){var e=wp.blocks.createBlock("core/paragraph",{content:t}),n=wp.data.select("core/block-editor").getSelectedBlock().clientId;wp.data.dispatch("core/block-editor").replaceBlocks(n,e),wp.data.dispatch("core/block-editor").clearSelectedBlock()};Object(i.useEffect)((function(){j(h)}),[h]),Object(b.useSelect)((function(t){if(e.contentId&&0===w.length){var n={per_page:1,include:e.contentId},r=t("core").getEntityRecords("postType","transcript",n);if(null!==r){g([r[0].title.rendered]);var c=r[0].content.rendered;c=(c=c.replace("<p>","")).replace("</p>",""),y(c)}}}));for(var E=Object(b.useSelect)((function(t){if(f.length>2){var e={per_page:10,search:f},n=t("core").getEntityRecords("postType","transcript",e);return null!==n?n:[]}return[]})),x=new Map,S=[],T=0;T<E.length;T++)x.set(v(E[T].title.rendered),E[T].id),x.set(v("".concat(E[T].title.rendered," content")),E[T].content.rendered),S[T]=v(E[T].title.rendered);var k="";return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(p.FormTokenField,{className:r,label:Object(_.__)("Wubtitle transcriptions","wubtitle"),value:w,suggestions:S,onChange:function(t){return function(t){if(0===t.length)n({contentId:null}),g(t);else if(S.includes(t[0])){var e=x.get(t[0]),r="".concat(t[0]," content");k=(k=(k=x.get(r)).replace("<p>","")).replace("</p>",""),g(t),n({contentId:e}),y(k)}}(t)},placeholder:Object(_.__)("Insert transcriptions","wubtitle"),onInputChange:function(t){return l(t)},maxLength:1}),Object(i.createElement)("p",{className:"helperText"},Object(_.__)("Enter the title of the video you want to transcribe","wubtitle")))};Object(P.registerBlockType)("wubtitle/transcription",{title:Object(_.__)("Trascription","wubtitle"),icon:"megaphone",description:Object(_.__)("Enter the transcript of your video","wubtitle"),category:"embed",attributes:{contentId:{type:"int"}},edit:B})}]);
  • wubtitle/trunk/build_form/index.asset.php

    r2354686 r2371183  
    1 <?php return array('dependencies' => array('react', 'react-dom', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '1ddba13778b1ccfea0c3698b5b19de82');
     1<?php return array('dependencies' => array('react', 'react-dom', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '32e9fad34b6b754cc508a3165a7a111d');
  • wubtitle/trunk/build_form/index.js

    r2354686 r2371183  
    1 !function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=217)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t,n){e.exports=n(215)()},function(e,t,n){var r=n(99),a=n(100),i=n(101),o=n(103);e.exports=function(e,t){return r(e)||a(e,t)||i(e,t)||o()}},function(e,t,n){var r=n(104),a=n(61);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t,n){!function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(){}function o(){}t=t&&t.hasOwnProperty("default")?t.default:t,o.resetWarningCache=i;var c=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){e.exports=function(){function e(e,t,n,r,a,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}()})),u=function(e){return null!==e&&"object"===n(e)},s=function e(t,n){if(!u(t)||!u(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var a="[object Object]"===Object.prototype.toString.call(t);if(a!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!a&&!r)return!1;var i=Object.keys(t),o=Object.keys(n);if(i.length!==o.length)return!1;for(var c={},s=0;s<i.length;s+=1)c[i[s]]=!0;for(var l=0;l<o.length;l+=1)c[o[l]]=!0;var f=Object.keys(c);if(f.length!==i.length)return!1;var p=t,d=n;return f.every((function(t){return e(p[t],d[t])}))},l=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},f=function(e){if(null===e||u(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;var t;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},p=function(e){if(function(e){return u(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(f)};var t=f(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}},d=t.createContext(null);d.displayName="ElementsContext";var m=function(e){var n=e.stripe,r=e.options,i=e.children,o=t.useRef(!1),c=t.useRef(!0),u=t.useMemo((function(){return p(n)}),[n]),f=a(t.useState((function(){return{stripe:null,elements:null}})),2),m=f[0],h=f[1],v=l(n),b=l(r);return null!==v&&(v!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),s(r,b)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),o.current||("sync"===u.tag&&(o.current=!0,h({stripe:u.stripe,elements:u.stripe.elements(r)})),"async"===u.tag&&(o.current=!0,u.stripePromise.then((function(e){e&&c.current&&h({stripe:e,elements:e.elements(r)})})))),t.useEffect((function(){return function(){c.current=!1}}),[]),t.useEffect((function(){var e=m.stripe;e&&e._registerWrapper&&e._registerWrapper({name:"react-stripe-js",version:"1.1.2"})}),[m.stripe]),t.createElement(d.Provider,{value:m},i)};m.propTypes={stripe:c.any,options:c.object};var h=function(e){return function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(t.useContext(d),e)},v=function(e){return(0,e.children)(h("mounts <ElementsConsumer>"))};v.propTypes={children:c.func.isRequired};var b=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),function(){n.current&&n.current.apply(n,arguments)}},y=function(e){return u(e)?(e.paymentRequest,r(e,["paymentRequest"])):{}},g=function(){},_=function(e,n){var r,a="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),i=n?function(e){h("mounts <".concat(a,">"));var n=e.id,r=e.className;return t.createElement("div",{id:n,className:r})}:function(n){var r=n.id,i=n.className,o=n.options,c=void 0===o?{}:o,u=n.onBlur,l=void 0===u?g:u,f=n.onFocus,p=void 0===f?g:f,d=n.onReady,m=void 0===d?g:d,v=n.onChange,_=void 0===v?g:v,O=n.onEscape,j=void 0===O?g:O,w=n.onClick,E=void 0===w?g:w,x=h("mounts <".concat(a,">")).elements,S=t.useRef(null),F=t.useRef(null),T=b(m),A=b(l),C=b(p),P=b(E),k=b(_),N=b(j);t.useLayoutEffect((function(){if(null==S.current&&x&&null!=F.current){var t=x.create(e,c);S.current=t,t.mount(F.current),t.on("ready",(function(){return T(t)})),t.on("change",k),t.on("blur",A),t.on("focus",C),t.on("escape",N),t.on("click",P)}}));var I=t.useRef(c);return t.useEffect((function(){I.current&&I.current.paymentRequest!==c.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var e=y(c);0===Object.keys(e).length||s(e,y(I.current))||S.current&&(S.current.update(e),I.current=c)}),[c]),t.useEffect((function(){return function(){S.current&&S.current.destroy()}}),[]),t.createElement("div",{id:r,className:i,ref:F})};return i.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},i.displayName=a,i.__elementType=e,i},O="undefined"==typeof window,j=_("auBankAccount",O),w=_("card",O),E=_("cardNumber",O),x=_("cardExpiry",O),S=_("cardCvc",O),F=_("fpxBank",O),T=_("iban",O),A=_("idealBank",O),C=_("paymentRequestButton",O);e.AuBankAccountElement=j,e.CardCvcElement=S,e.CardElement=w,e.CardExpiryElement=x,e.CardNumberElement=E,e.Elements=m,e.ElementsConsumer=v,e.FpxBankElement=F,e.IbanElement=T,e.IdealBankElement=A,e.PaymentRequestButtonElement=C,e.useElements=function(){return h("calls useElements()").elements},e.useStripe=function(){return h("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(1))},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(63),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=Array.isArray,a=Object.keys,i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var c,u,s,l=r(t),f=r(n);if(l&&f){if((u=t.length)!=n.length)return!1;for(c=u;0!=c--;)if(!e(t[c],n[c]))return!1;return!0}if(l!=f)return!1;var p=t instanceof Date,d=n instanceof Date;if(p!=d)return!1;if(p&&d)return t.getTime()==n.getTime();var m=t instanceof RegExp,h=n instanceof RegExp;if(m!=h)return!1;if(m&&h)return t.toString()==n.toString();var v=a(t);if((u=v.length)!==a(n).length)return!1;for(c=u;0!=c--;)if(!i.call(n,v[c]))return!1;if(o&&t instanceof Element&&n instanceof Element)return t===n;for(c=u;0!=c--;)if(!("_owner"===(s=v[c])&&t.$$typeof||e(t[s],n[s])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},function(e,t,n){"use strict";function r(e){this._maxSize=e,this.clear()}r.prototype.clear=function(){this._size=0,this._values=Object.create(null)},r.prototype.get=function(e){return this._values[e]},r.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var a=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,c=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,u=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new r(512),l=new r(512),f=new r(512);function p(e){return s.get(e)||s.set(e,d(e).map((function(e){return e.replace(u,"$2")})))}function d(e){return e.match(a)}function m(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function h(e){return!m(e)&&(function(e){return e.match(o)&&!e.match(i)}(e)||function(e){return c.test(e)}(e))}e.exports={Cache:r,split:d,normalizePath:p,setter:function(e){var t=p(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,a=t.length;r<a-1;)e=e[t[r++]];e[t[r]]=n}))},getter:function(e,t){var n=p(e);return f.get(e)||f.set(e,(function(e){for(var r=0,a=n.length;r<a;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(m(t)||i.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,a,i,o,c=e.length;for(a=0;a<c;a++)(r=e[a])&&(h(r)&&(r='"'+r+'"'),o=m(r),i=!o&&/^\d+$/.test(r),t.call(n,r,o,i,a,e))}(Array.isArray(e)?e:d(e),t,n)}}},function(e,t,n){var r=n(15),a=n(105),i=n(106),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},function(e,t,n){var r=n(112),a=n(115);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(8).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(130);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(70),a=n(143),i=n(46);e.exports=function(e){return i(e)?r(e):a(e)}},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.apply(e)}function a(e){this.status="pending",this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function i(e){return e&&"function"==typeof e.then}function o(e){return e}if(a.prototype={then:function(e,t){var n=a.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:n,nextFn:e,catchFn:t}),n;if(t)try{var r=t(this._error);return i(r)?(this._chainPromiseData(r,n),n):a.resolve(r)._setParent(this)}catch(e){return a.reject(e)._setParent(this)}return a.reject(this._error)._setParent(this)}return this._continuations.push({promise:n,nextFn:e,catchFn:t}),this._runResolutions(),n},catch:function(e){if(this._isResolved())return a.resolve(this._data)._setParent(this);var t=a.unresolved()._setParent(this);return this._continuations.push({promise:t,catchFn:e}),this._runRejections(),t},finally:function(e){var t=!1;function n(n,r){if(!t){t=!0,e||(e=o);var a=e(n);return i(a)?a.then((function(){if(r)throw r;return n})):n}}return this.then((function(e){return n(e)})).catch((function(e){return n(null,e)}))},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce((function(e,t){if(t.promise){var n={promise:t.promise,children:t.promise._findAncestry()};e.push(n)}return e}),[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var t=this._findFirstPending();t&&(t._data=e,t._setResolved())},_findFirstPending:function(){return this._findFirstAncestor((function(e){return e._isPending&&e._isPending()}))},_findFirstPaused:function(){return this._findFirstAncestor((function(e){return e._paused}))},_findFirstAncestor:function(e){for(var t,n=this;n;)e(n)&&(t=n),n=n._parent;return t},_failWith:function(e){var t=this._findFirstPending();t&&(t._error=e,t._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var e=this._error,t=this._takeContinuations(),n=this;t.forEach((function(t){if(t.catchFn)try{var r=t.catchFn(e);n._handleUserFunctionResult(r,t.promise)}catch(e){t.promise.reject(e)}else t.promise.reject(e)}))}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var e=this._takeContinuations();if(i(this._data))return this._handleWhenResolvedDataIsPromise(this._data);var t=this._data,n=this;e.forEach((function(e){if(e.nextFn)try{var r=e.nextFn(t);n._handleUserFunctionResult(r,e.promise)}catch(t){n._handleResolutionError(t,e)}else e.promise&&e.promise.resolve(t)}))}},_handleResolutionError:function(e,t){if(this._setRejected(),t.catchFn)try{return void t.catchFn(e)}catch(t){e=t}t.promise&&t.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var t=this;return e.then((function(e){t._data=e,t._runResolutions()})).catch((function(e){t._error=e,t._setRejected(),t._runRejections()}))},_handleUserFunctionResult:function(e,t){i(e)?this._chainPromiseData(e,t):t.resolve(e)},_chainPromiseData:function(e,t){e.then((function(e){t.resolve(e)})).catch((function(e){t.reject(e)}))},_setResolved:function(){this.status="resolved",this._paused||this._runResolutions()},_setRejected:function(){this.status="rejected",this._paused||this._runRejections()},_isPending:function(){return"pending"===this.status},_isResolved:function(){return"resolved"===this.status},_isRejected:function(){return"rejected"===this.status}},a.resolve=function(e){return new a((function(t,n){i(e)?e.then((function(e){t(e)})).catch((function(e){n(e)})):t(e)}))},a.reject=function(e){return new a((function(t,n){n(e)}))},a.unresolved=function(){return new a((function(e,t){this.resolve=e,this.reject=t}))},a.all=function(){var e=r(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new a((function(t,n){var r=[],i=0,o=!1;e.forEach((function(c,u){a.resolve(c).then((function(n){r[u]=n,(i+=1)===e.length&&t(r)})).catch((function(e){!function(e){o||(o=!0,n(e))}(e)}))}))})):a.resolve([])},Promise===a)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var c=Promise;a.installGlobally=function(e){if(Promise===a)return e;var t=function(e){if(void 0===e||e.__patched)return e;var t=e;return(e=function(){t.apply(this,r(arguments))}).__patched=!0,e}(e);return Promise=a,t},a.uninstallGlobally=function(){Promise===a&&(Promise=c)},e.exports={SynchronousPromise:a}},function(e,t){function n(e,t,n,r,a,i,o){try{var c=e[i](o),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,i){var o=e.apply(t,r);function c(e){n(o,a,i,c,u,"next",e)}function u(e){n(o,a,i,c,u,"throw",e)}c(void 0)}))}}},function(e,t,n){var r=n(23);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(153),a=n(36),i=n(154),o=n(155),c=n(156),u=n(13),s=n(66),l=s(r),f=s(a),p=s(i),d=s(o),m=s(c),h=u;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||a&&"[object Map]"!=h(new a)||i&&"[object Promise]"!=h(i.resolve())||o&&"[object Set]"!=h(new o)||c&&"[object WeakMap]"!=h(new c))&&(h=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},function(e,t,n){var r=n(13),a=n(10);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(14)(Object,"create");e.exports=r},function(e,t,n){var r=n(120),a=n(121),i=n(122),o=n(123),c=n(124);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(35);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(126);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(138);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(69),a=n(29);e.exports=function(e,t,n,i){var o=!n;n||(n={});for(var c=-1,u=t.length;++c<u;){var s=t[c],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?a(n,s,l):r(n,s,l)}return n}},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){var r=n(29),a=n(84),i=n(85);e.exports=function(e,t){var n={};return t=i(t,3),a(e,(function(e,a,i){r(n,a,t(e,a,i))})),n}},function(e,t,n){var r=n(7),a=n(23),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(o.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(109),a=n(125),i=n(127),o=n(128),c=n(129);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(14)(n(8),"Map");e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(40),a=n(137),i=n(69),o=n(139),c=n(145),u=n(148),s=n(47),l=n(149),f=n(151),p=n(77),d=n(152),m=n(22),h=n(157),v=n(158),b=n(163),y=n(7),g=n(41),_=n(165),O=n(16),j=n(167),w=n(18),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,x,S,F,T){var A,C=1&n,P=2&n,k=4&n;if(x&&(A=F?x(t,S,F,T):x(t)),void 0!==A)return A;if(!O(t))return t;var N=y(t);if(N){if(A=h(t),!C)return s(t,A)}else{var I=m(t),M="[object Function]"==I||"[object GeneratorFunction]"==I;if(g(t))return u(t,C);if("[object Object]"==I||"[object Arguments]"==I||M&&!F){if(A=P||M?{}:b(t),!C)return P?f(t,c(A,t)):l(t,o(A,t))}else{if(!E[I])return F?t:{};A=v(t,I,C)}}T||(T=new r);var R=T.get(t);if(R)return R;T.set(t,A),j(t)?t.forEach((function(r){A.add(e(r,n,x,r,t,T))})):_(t)&&t.forEach((function(r,a){A.set(a,e(r,n,x,a,t,T))}));var D=k?P?d:p:P?keysIn:w,L=N?void 0:D(t);return a(L||t,(function(r,a){L&&(r=t[a=r]),i(A,a,e(r,n,x,a,t,T))})),A}},function(e,t,n){var r=n(26),a=n(132),i=n(133),o=n(134),c=n(135),u=n(136);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=c,s.prototype.set=u,e.exports=s},function(e,t,n){(function(e){var r=n(8),a=n(141),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=o&&o.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;e.exports=u}).call(this,n(42)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(63),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c}).call(this,n(42)(e))},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(65),a=n(38);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(150),a=n(74),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:a;e.exports=c},function(e,t,n){var r=n(72)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(79);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(39);e.exports=function(e,t){return r(e,5,t="function"==typeof t?t:void 0)}},function(e,t,n){var r=n(15),a=n(47),i=n(22),o=n(46),c=n(169),u=n(170),s=n(80),l=n(81),f=n(82),p=n(173),d=r?r.iterator:void 0;e.exports=function(e){if(!e)return[];if(o(e))return c(e)?f(e):a(e);if(d&&e[d])return u(e[d]());var t=i(e);return("[object Map]"==t?s:"[object Set]"==t?l:p)(e)}},function(e,t,n){var r=n(91)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},function(e,t,n){var r=n(13),a=n(49),i=n(10),o=Function.prototype,c=Object.prototype,u=o.toString,s=c.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},function(e,t,n){var r=n(39);e.exports=function(e){return r(e,4)}},function(e,t,n){var r=n(37),a=n(47),i=n(7),o=n(23),c=n(64),u=n(21),s=n(17);e.exports=function(e){return i(e)?r(e,u):o(e)?[e]:a(c(s(e)))}},function(e,t,n){"use strict";e.exports=n(209)},function(e,t,n){"use strict";var r=n(210),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function u(e){return r.isMemo(e)?o:c[e.$$typeof]||a}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=o;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=d(n);a&&a!==m&&e(t,a,r)}var o=l(n);f&&(o=o.concat(f(n)));for(var c=u(t),h=u(n),v=0;v<o.length;++v){var b=o[v];if(!(i[b]||r&&r[b]||h&&h[b]||c&&c[b])){var y=p(n,b);try{s(t,b,y)}catch(e){}}}}return t}},function(e){e.exports=JSON.parse('["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"]')},function(e,t,n){"use strict";(function(e,r){function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return Ee})),n.d(t,"b",(function(){return we}));var s=function(){},l={},f={},p={mark:s,measure:s};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(p=performance)}catch(e){}var d=(l.navigator||{}).userAgent,m=void 0===d?"":d,h=l,v=f,b=p,y=(h.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&"function"==typeof v.createElement),g=(~m.indexOf("MSIE")||m.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),_=g.concat([11,12,13,14,15,16,17,18,19,20]),O={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},j=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",O.GROUP,O.SWAP_OPACITY,O.PRIMARY,O.SECONDARY].concat(g.map((function(e){return"".concat(e,"x")}))).concat(_.map((function(e){return"w-".concat(e)}))),h.FontAwesomeConfig||{});if(v&&"function"==typeof v.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=u(e,2),n=t[0],r=t[1],a=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=v.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=a&&(j[r]=a)}))}var w=c({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},j);w.autoReplaceSvg||(w.observeMutations=!1);var E=c({},w);h.FontAwesomeConfig=E;var x=h||{};x.___FONT_AWESOME___||(x.___FONT_AWESOME___={}),x.___FONT_AWESOME___.styles||(x.___FONT_AWESOME___.styles={}),x.___FONT_AWESOME___.hooks||(x.___FONT_AWESOME___.hooks={}),x.___FONT_AWESOME___.shims||(x.___FONT_AWESOME___.shims=[]);var S=x.___FONT_AWESOME___,F=[];y&&((v.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(v.readyState)||v.addEventListener("DOMContentLoaded",(function e(){v.removeEventListener("DOMContentLoaded",e),1,F.map((function(e){return e()}))})));var T,A=function(){},C=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,P=void 0===r?setTimeout:r,k=[];function N(){for(var e=0;e<k.length;e++)k[e][0](k[e][1]);k=[],T=!1}function I(e,t){k.push([e,t]),T||(T=!0,P(N,0))}function M(e){var t=e.owner,n=t._state,r=t._data,a=e[n],i=e.then;if("function"==typeof a){n="fulfilled";try{r=a(r)}catch(e){z(i,e)}}R(i,r)||("fulfilled"===n&&D(i,r),"rejected"===n&&z(i,r))}function R(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===a(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?L(e,r):D(e,r))}),(function(t){n||(n=!0,z(e,t))})),!0}}catch(t){return n||z(e,t),!0}return!1}function D(e,t){e!==t&&R(e,t)||L(e,t)}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,I(B,e))}function z(e,t){"pending"===e._state&&(e._state="settled",e._data=t,I(U,e))}function V(e){e._then=e._then.forEach(M)}function B(e){e._state="fulfilled",V(e)}function U(t){t._state="rejected",V(t),!t._handled&&C&&e.process.emit("unhandledRejection",t._data,t)}function $(t){e.process.emit("rejectionHandled",t)}function G(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof G==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){z(t,e)}try{e((function(e){D(t,e)}),n)}catch(e){n(e)}}(e,this)}G.prototype={constructor:G,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(A),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&C&&I($,this)),"fulfilled"===this._state||"rejected"===this._state?I(M,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},G.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new G((function(t,n){var r=[],a=0;function i(e){return a++,function(n){r[e]=n,--a||t(r)}}for(var o,c=0;c<e.length;c++)(o=e[c])&&"function"==typeof o.then?o.then(i(c),n):r[c]=o;a||t(r)}))},G.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new G((function(t,n){for(var r,a=0;a<e.length;a++)(r=e[a])&&"function"==typeof r.then?r.then(t,n):t(r)}))},G.resolve=function(e){return e&&"object"===a(e)&&e.constructor===G?e:new G((function(t){t(e)}))},G.reject=function(e){return new G((function(t,n){n(e)}))};var W={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function q(e){if(e&&y){var t=v.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=v.head.childNodes,r=null,a=n.length-1;a>-1;a--){var i=n[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return v.head.insertBefore(t,r),e}}function H(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Y(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function K(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Z(e){return e.size!==W.size||e.x!==W.x||e.y!==W.y||e.rotate!==W.rotate||e.flipX||e.flipY}function J(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(i," ").concat(o," ").concat(c)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var X={x:0,y:0,width:"100%",height:"100%"};function Q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ee(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,i=e.iconName,o=e.transform,u=e.symbol,s=e.title,l=e.maskId,f=e.titleId,p=e.extra,d=e.watchable,m=void 0!==d&&d,h=r.found?r:n,v=h.width,b=h.height,y="fa-w-".concat(Math.ceil(v/b*16)),g=[E.replacementClass,i?"".concat(E.familyPrefix,"-").concat(i):"",y].filter((function(e){return-1===p.classes.indexOf(e)})).concat(p.classes).join(" "),_={children:[],attributes:c({},p.attributes,{"data-prefix":a,"data-icon":i,class:g,role:p.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(b)})};m&&(_.attributes["data-fa-i2svg"]=""),s&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||H())},children:[s]});var O=c({},_,{prefix:a,iconName:i,main:n,mask:r,maskId:l,transform:o,symbol:u,styles:p.styles}),j=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,a=e.main,i=e.mask,o=e.maskId,u=e.transform,s=a.width,l=a.icon,f=i.width,p=i.icon,d=J({transform:u,containerWidth:f,iconWidth:s}),m={tag:"rect",attributes:c({},X,{fill:"white"})},h=l.children?{children:l.children.map(Q)}:{},v={tag:"g",attributes:c({},d.inner),children:[Q(c({tag:l.tag,attributes:c({},l.attributes,d.path)},h))]},b={tag:"g",attributes:c({},d.outer),children:[v]},y="mask-".concat(o||H()),g="clip-".concat(o||H()),_={tag:"mask",attributes:c({},X,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,b]},O={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(t=p,"g"===t.tag?t.children:[t])},_]};return n.push(O,{tag:"rect",attributes:c({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(y,")")},X)}),{children:n,attributes:r}}(O):function(e){var t=e.children,n=e.attributes,r=e.main,a=e.transform,i=K(e.styles);if(i.length>0&&(n.style=i),Z(a)){var o=J({transform:a,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:c({},o.outer),children:[{tag:"g",attributes:c({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:c({},r.icon.attributes,o.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(O),w=j.children,x=j.attributes;return O.children=w,O.attributes=x,u?function(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:c({},a,{id:!0===i?"".concat(t,"-").concat(E.familyPrefix,"-").concat(n):i}),children:r}]}]}(O):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,i=e.styles,o=e.transform;if(Z(o)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};a.style=K(c({},i,{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(O)}var te=function(){},ne=(E.measurePerformance&&b&&b.mark&&b.measure,function(e,t,n,r){var a,i,o,c=Object.keys(e),u=c.length,s=void 0!==r?function(e,t){return function(n,r,a,i){return e.call(t,n,r,a,i)}}(t,r):t;for(void 0===n?(a=1,o=e[c[0]]):(a=0,o=n);a<u;a++)o=s(o,e[i=c[a]],i,e);return o});function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,i=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof S.hooks.addPack||a?S.styles[e]=c({},S.styles[e]||{},i):S.hooks.addPack(e,i),"fas"===e&&re("fa",t)}var ae=S.styles,ie=S.shims,oe=function(){var e=function(e){return ne(ae,(function(t,n,r){return t[r]=ne(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in ae;ne(ie,(function(e,n){var r=n[0],a=n[1],i=n[2];return"far"!==a||t||(a="fas"),e[r]={prefix:a,iconName:i},e}),{})};oe();S.styles;function ce(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ue(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,i=void 0===a?[]:a;return"string"==typeof e?Y(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Y(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(ue).join(""),"</").concat(t,">")}var se=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e}),t):t};function le(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}le.prototype=Object.create(Error.prototype),le.prototype.constructor=le;var fe={fill:"currentColor"},pe={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},de={tag:"path",attributes:c({},fe,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},me=c({},pe,{attributeName:"opacity"});c({},fe,{cx:"256",cy:"364",r:"28"}),c({},pe,{attributeName:"r",values:"28;14;28;28;14;28;"}),c({},me,{values:"1;0;1;1;0;1;"}),c({},fe,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),c({},me,{values:"1;0;0;0;0;1;"}),c({},fe,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),c({},me,{values:"0;0;1;1;0;0;"}),S.styles;function he(e){var t=e[0],n=e[1],r=u(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.GROUP)},children:[{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}S.styles;function ve(){var e="svg-inline--fa",t=E.familyPrefix,n=E.replacementClass,r='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if("fa"!==t||n!==e){var a=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(e),"g");r=r.replace(a,".".concat(t,"-")).replace(i,"--".concat(t,"-")).replace(o,".".concat(n))}return r}function be(){E.autoAddCss&&!je&&(q(ve()),je=!0)}function ye(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return ue(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(y){var t=v.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ge(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return ce(Oe.definitions,n,r)||ce(S.styles,n,r)}var _e,Oe=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach((function(t){e.definitions[t]=c({},e.definitions[t]||{},a[t]),re(t,a[t]),oe()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],a=r.prefix,i=r.iconName,o=r.icon;e[a]||(e[a]={}),e[a][i]=o})),e}}])&&i(t.prototype,n),r&&i(t,r),e}()),je=!1,we={transform:function(e){return se(e)}},Ee=(_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?W:n,a=t.symbol,i=void 0!==a&&a,o=t.mask,u=void 0===o?null:o,s=t.maskId,l=void 0===s?null:s,f=t.title,p=void 0===f?null:f,d=t.titleId,m=void 0===d?null:d,h=t.classes,v=void 0===h?[]:h,b=t.attributes,y=void 0===b?{}:b,g=t.styles,_=void 0===g?{}:g;if(e){var O=e.prefix,j=e.iconName,w=e.icon;return ye(c({type:"icon"},e),(function(){return be(),E.autoA11y&&(p?y["aria-labelledby"]="".concat(E.replacementClass,"-title-").concat(m||H()):(y["aria-hidden"]="true",y.focusable="false")),ee({icons:{main:he(w),mask:u?he(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:O,iconName:j,transform:c({},W,r),symbol:i,title:p,maskId:l,titleId:m,extra:{attributes:y,styles:_,classes:v}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ge(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:ge(r||{})),_e(n,c({},t,{mask:r}))})}).call(this,n(24),n(212).setImmediate)},function(e,t,n){var r=n(62),a=n(67),i=n(7),o=n(68),c=n(38),u=n(21);e.exports=function(e,t,n){for(var s=-1,l=(t=r(t,e)).length,f=!1;++s<l;){var p=u(t[s]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++s!=l?f:!!(l=null==e?0:e.length)&&c(l)&&o(p,l)&&(i(e)||a(e))}},function(e,t,n){var r=n(7),a=n(33),i=n(64),o=n(17);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:i(o(e))}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(24))},function(e,t,n){var r=n(107),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(i,"$1"):n||e)})),t}));e.exports=o},function(e,t,n){var r=n(13),a=n(16);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(131),a=n(10),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(29),a=n(35),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];i.call(e,t)&&a(o,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(140),a=n(67),i=n(7),o=n(41),c=n(68),u=n(71),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&a(e),f=!n&&!l&&o(e),p=!n&&!l&&!f&&u(e),d=n||l||f||p,m=d?r(e.length,String):[],h=m.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||m.push(v);return m}},function(e,t,n){var r=n(142),a=n(43),i=n(44),o=i&&i.isTypedArray,c=o?a(o):r;e.exports=c},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(70),a=n(146),i=n(46);e.exports=function(e){return i(e)?r(e,!0):a(e)}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(76),a=n(49),i=n(48),o=n(74),c=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=a(e);return t}:o;e.exports=c},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t,n){var r=n(78),a=n(48),i=n(18);e.exports=function(e){return r(e,i,a)}},function(e,t,n){var r=n(76),a=n(7);e.exports=function(e,t,n){var i=t(e);return a(e)?i:r(i,n(e))}},function(e,t,n){var r=n(8).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(171),a=n(83),i=n(172);e.exports=function(e){return a(e)?i(e):r(e)}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){var r=n(175),a=n(18);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(177),a=n(188),i=n(192),o=n(7),c=n(193);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?o(e)?a(e[0],e[1]):r(e):c(e)}},function(e,t,n){var r=n(179),a=n(10);e.exports=function e(t,n,i,o,c){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,i,o,e,c))}},function(e,t,n){var r=n(180),a=n(183),i=n(184);e.exports=function(e,t,n,o,c,u){var s=1&n,l=e.length,f=t.length;if(l!=f&&!(s&&f>l))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d<l;){var v=e[d],b=t[d];if(o)var y=s?o(b,v,d,t,e,u):o(v,b,d,e,t,u);if(void 0!==y){if(y)continue;m=!1;break}if(h){if(!a(t,(function(e,t){if(!i(h,t)&&(v===e||c(v,e,n,o,u)))return h.push(t)}))){m=!1;break}}else if(v!==b&&!c(v,b,n,o,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},function(e,t,n){var r=n(16);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(62),a=n(21);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[a(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(196),a=n(197),i=n(200),o=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(a(t).replace(o,"")),e,"")}}},function(e,t,n){var r=n(204),a=n(91)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=a},function(e,t,n){var r=n(29),a=n(84),i=n(85);e.exports=function(e,t){var n={};return t=i(t,3),a(e,(function(e,a,i){r(n,t(e,a,i),e)})),n}},function(e,t){function n(e,t){var n=e.length,r=new Array(n),a={},i=n,o=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var a=e[n];t.has(a[0])||t.set(a[0],new Set),t.has(a[1])||t.set(a[1],new Set),t.get(a[0]).add(a[1])}return t}(t),c=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!c.has(e[0])||!c.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)a[i]||u(e[i],i,new Set);return r;function u(e,t,i){if(i.has(e)){var s;try{s=", node was:"+JSON.stringify(e)}catch(e){s=""}throw new Error("Cyclic dependency"+s)}if(!c.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!a[t]){a[t]=!0;var l=o.get(e)||new Set;if(t=(l=Array.from(l)).length){i.add(e);do{var f=l[--t];u(f,c.get(f),i)}while(t);i.delete(e)}r[--n]=e}}}e.exports=function(e){return n(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var a=e[n];t.add(a[0]),t.add(a[1])}return Array.from(t)}(e),e)},e.exports.array=n},function(e,t,n){var r=n(39);e.exports=function(e){return r(e,5)}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e){e.exports=JSON.parse('{"AF":"Afghanistan","AX":"Aland Islands","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua And Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BA":"Bosnia And Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CV":"Cape Verde","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":"China","CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":"Congo","CD":"Congo, Democratic Republic","CK":"Cook Islands","CR":"Costa Rica","CI":"Cote D\\"Ivoire","HR":"Croatia","CU":"Cuba","CY":"Cyprus","CZ":"Czech Republic","DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands (Malvinas)","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":"Gambia","GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GG":"Guernsey","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island & Mcdonald Islands","VA":"Holy See (Vatican City State)","HN":"Honduras","HK":"Hong Kong","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":"Iran, Islamic Republic Of","IQ":"Iraq","IE":"Ireland","IM":"Isle Of Man","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JE":"Jersey","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KR":"Korea","KW":"Kuwait","KG":"Kyrgyzstan","LA":"Lao People\\"s Democratic Republic","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libyan Arab Jamahiriya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao","MK":"Macedonia","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia, Federated States Of","MD":"Moldova","MC":"Monaco","MN":"Mongolia","ME":"Montenegro","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":"Netherlands","AN":"Netherlands Antilles","NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":"Palestinian Territory, Occupied","PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":"Pitcairn","PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Reunion","RO":"Romania","RU":"Russian Federation","RW":"Rwanda","BL":"Saint Barthelemy","SH":"Saint Helena","KN":"Saint Kitts And Nevis","LC":"Saint Lucia","MF":"Saint Martin","PM":"Saint Pierre And Miquelon","VC":"Saint Vincent And Grenadines","WS":"Samoa","SM":"San Marino","ST":"Sao Tome And Principe","SA":"Saudi Arabia","SN":"Senegal","RS":"Serbia","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia And Sandwich Isl.","ES":"Spain","LK":"Sri Lanka","SD":"Sudan","SR":"Suriname","SJ":"Svalbard And Jan Mayen","SZ":"Swaziland","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","TW":"Taiwan","TJ":"Tajikistan","TZ":"Tanzania","TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad And Tobago","TN":"Tunisia","TR":"Turkey","TM":"Turkmenistan","TC":"Turks And Caicos Islands","TV":"Tuvalu","UG":"Uganda","UA":"Ukraine","AE":"United Arab Emirates","GB":"United Kingdom","US":"United States","UM":"United States Outlying Islands","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","WF":"Wallis And Futuna","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe"}')},function(e){e.exports=JSON.parse('{"AG":"Agrigento","AL":"Alessandria","AN":"Ancona","AR":"Arezzo","AP":"Ascoli Piceno","AT":"Asti","AV":"Avellino","BA":"Bari","BT":"Barletta-Andria-Trani","BL":"Belluno","BN":"Benevento","BG":"Bergamo","BI":"Biella","BO":"Bologna","BZ":"Bolzano/Bozen","BS":"Brescia","BR":"Brindisi","CA":"Cagliari","CL":"Caltanissetta","CB":"Campobasso","CI":"Carbonia-Iglesias","CE":"Caserta","CT":"Catania","CZ":"Catanzaro","CH":"Chieti","CO":"Como","CS":"Cosenza","CR":"Cremona","KR":"Crotone","CN":"Cuneo","EN":"Enna","FM":"Fermo","FE":"Ferrara","FI":"Firenze","FG":"Foggia","FC":"Forlì-Cesena","FR":"Frosinone","GE":"Genova","GO":"Gorizia","GR":"Grosseto","IM":"Imperia","IS":"Isernia","AQ":"L\'Aquila","SP":"La Spezia","LT":"Latina","LE":"Lecce","LC":"Lecco","LI":"Livorno","LO":"Lodi","LU":"Lucca","MC":"Macerata","MN":"Mantova","MS":"Massa-Carrara","MT":"Matera","VS":"Medio Campidano","ME":"Messina","MI":"Milano","MO":"Modena","MB":"Monza e della Brianza","NA":"Napoli","NO":"Novara","NU":"Nuoro","OG":"Ogliastra","OT":"Olbia-Tempio","OR":"Oristano","PD":"Padova","PA":"Palermo","PR":"Parma","PV":"Pavia","PG":"Perugia","PU":"Pesaro e Urbino","PE":"Pescara","PC":"Piacenza","PI":"Pisa","PT":"Pistoia","PN":"Pordenone","PZ":"Potenza","PO":"Prato","RG":"Ragusa","RA":"Ravenna","RC":"Reggio di Calabria","RE":"Reggio nell\'Emilia","RI":"Rieti","RN":"Rimini","RM":"Roma","RO":"Rovigo","SA":"Salerno","SS":"Sassari","SV":"Savona","SI":"Siena","SR":"Siracusa","SO":"Sondrio","TA":"Taranto","TE":"Teramo","TR":"Terni","TO":"Torino","TP":"Trapani","TN":"Trento","TV":"Treviso","TS":"Trieste","UD":"Udine","AO":"Valle d\'Aosta","VA":"Varese","VE":"Venezia","VB":"Verbano-Cusio-Ossola","VC":"Vercelli","VR":"Verona","VV":"Vibo Valentia","VI":"Vicenza","VT":"Viterbo"}')},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){var r=n(15),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[c]=n:delete e[c]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(108);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(34);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},function(e,t,n){var r=n(110),a=n(26),i=n(36);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||a),string:new r}}},function(e,t,n){var r=n(111),a=n(116),i=n(117),o=n(118),c=n(119);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(25);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(65),a=n(113),i=n(16),o=n(66),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,l=u.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||a(e))&&(r(e)?p:c).test(o(e))}},function(e,t,n){var r,a=n(114),i=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(8)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(25),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(25),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},function(e,t,n){var r=n(25);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(27),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(27);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(27);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(27);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(28);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(28);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(28);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(28);e.exports=function(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},function(e,t,n){var r=n(15),a=n(37),i=n(7),o=n(23),c=r?r.prototype:void 0,u=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return a(t,e)+"";if(o(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(13),a=n(10);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(26);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(26),a=n(36),i=n(34);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!a||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(14),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},function(e,t,n){var r=n(30),a=n(18);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(13),a=n(38),i=n(10),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&a(e.length)&&!!o[r(e)]}},function(e,t,n){var r=n(45),a=n(144),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(72)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(30),a=n(73);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t,n){var r=n(16),a=n(45),i=n(147),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=a(e),n=[];for(var c in e)("constructor"!=c||!t&&o.call(e,c))&&n.push(c);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(8),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a?r.Buffer:void 0,c=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(42)(e))},function(e,t,n){var r=n(30),a=n(48);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}},function(e,t,n){var r=n(30),a=n(75);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t,n){var r=n(78),a=n(75),i=n(73);e.exports=function(e){return r(e,i,a)}},function(e,t,n){var r=n(14)(n(8),"DataView");e.exports=r},function(e,t,n){var r=n(14)(n(8),"Promise");e.exports=r},function(e,t,n){var r=n(14)(n(8),"Set");e.exports=r},function(e,t,n){var r=n(14)(n(8),"WeakMap");e.exports=r},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(50),a=n(159),i=n(160),o=n(161),c=n(162);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return a(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Set]":return new u;case"[object Symbol]":return o(e)}}},function(e,t,n){var r=n(50);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(15),a=r?r.prototype:void 0,i=a?a.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(50);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(164),a=n(49),i=n(45);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(a(e))}},function(e,t,n){var r=n(16),a=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(a)return a(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(166),a=n(43),i=n(44),o=i&&i.isMap,c=o?a(o):r;e.exports=c},function(e,t,n){var r=n(22),a=n(10);e.exports=function(e){return a(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(168),a=n(43),i=n(44),o=i&&i.isSet,c=o?a(o):r;e.exports=c},function(e,t,n){var r=n(22),a=n(10);e.exports=function(e){return a(e)&&"[object Set]"==r(e)}},function(e,t,n){var r=n(13),a=n(7),i=n(10);e.exports=function(e){return"string"==typeof e||!a(e)&&i(e)&&"[object String]"==r(e)}},function(e,t){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",a="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+a+")"+"?",s="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,o,c].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),l="(?:"+[i+r+"?",r,o,c,n].join("|")+")",f=RegExp(a+"(?="+a+")|"+l+s,"g");e.exports=function(e){return e.match(f)||[]}},function(e,t,n){var r=n(174),a=n(18);e.exports=function(e){return null==e?[]:r(e,a(e))}},function(e,t,n){var r=n(37);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t,n){var r=n(176)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,i=Object(t),o=r(t),c=o.length;c--;){var u=o[e?c:++a];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(178),a=n(187),i=n(89);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(40),a=n(86);e.exports=function(e,t,n,i){var o=n.length,c=o,u=!i;if(null==e)return!c;for(e=Object(e);o--;){var s=n[o];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<c;){var l=(s=n[o])[0],f=e[l],p=s[1];if(u&&s[2]){if(void 0===f&&!(l in e))return!1}else{var d=new r;if(i)var m=i(f,p,l,e,t,d);if(!(void 0===m?a(p,f,3,i,d):m))return!1}}return!0}},function(e,t,n){var r=n(40),a=n(87),i=n(185),o=n(186),c=n(22),u=n(7),s=n(41),l=n(71),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var v=u(e),b=u(t),y=v?"[object Array]":c(e),g=b?"[object Array]":c(t),_=(y="[object Arguments]"==y?f:y)==f,O=(g="[object Arguments]"==g?f:g)==f,j=y==g;if(j&&s(e)){if(!s(t))return!1;v=!0,_=!1}if(j&&!_)return h||(h=new r),v||l(e)?a(e,t,n,d,m,h):i(e,t,y,n,d,m,h);if(!(1&n)){var w=_&&p.call(e,"__wrapped__"),E=O&&p.call(t,"__wrapped__");if(w||E){var x=w?e.value():e,S=E?t.value():t;return h||(h=new r),m(x,S,n,d,h)}}return!!j&&(h||(h=new r),o(e,t,n,d,m,h))}},function(e,t,n){var r=n(34),a=n(181),i=n(182);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=a,o.prototype.has=i,e.exports=o},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(15),a=n(79),i=n(35),o=n(87),c=n(80),u=n(81),s=r?r.prototype:void 0,l=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new a(e),new a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=c;case"[object Set]":var m=1&r;if(d||(d=u),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var v=o(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,n){var r=n(77),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,c){var u=1&n,s=r(e),l=s.length;if(l!=r(t).length&&!u)return!1;for(var f=l;f--;){var p=s[f];if(!(u?p in t:a.call(t,p)))return!1}var d=c.get(e);if(d&&c.get(t))return d==t;var m=!0;c.set(e,t),c.set(t,e);for(var h=u;++f<l;){var v=e[p=s[f]],b=t[p];if(i)var y=u?i(b,v,p,t,e,c):i(v,b,p,e,t,c);if(!(void 0===y?v===b||o(v,b,n,i,c):y)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var g=e.constructor,_=t.constructor;g==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof _&&_ instanceof _||(m=!1)}return c.delete(e),c.delete(t),m}},function(e,t,n){var r=n(88),a=n(18);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var i=t[n],o=e[i];t[n]=[i,o,r(o)]}return t}},function(e,t,n){var r=n(86),a=n(189),i=n(190),o=n(33),c=n(88),u=n(89),s=n(21);e.exports=function(e,t){return o(e)&&c(t)?u(s(e),t):function(n){var o=a(n,e);return void 0===o&&o===t?i(n,e):r(t,o,3)}}},function(e,t,n){var r=n(90);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},function(e,t,n){var r=n(191),a=n(61);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(194),a=n(195),i=n(33),o=n(21);e.exports=function(e){return i(e)?r(o(e)):a(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(90);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e,t,n,r){var a=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++a]);++a<i;)n=t(n,e[a],a,e);return n}},function(e,t,n){var r=n(198),a=n(17),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=a(e))&&e.replace(i,r).replace(o,"")}},function(e,t,n){var r=n(199)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(201),a=n(202),i=n(17),o=n(203);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?a(e)?o(e):r(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",a="\\d+",i="[\\u2700-\\u27bf]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]",c="[^\\ud800-\\udfff"+n+a+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+o+"|"+c+")",p="(?:"+l+"|"+c+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",m="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,s].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),h="(?:"+[i,u,s].join("|")+")"+m,v=RegExp([l+"?"+o+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,l,"$"].join("|")+")",p+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,h].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},function(e,t,n){var r=n(17),a=n(205);e.exports=function(e){return a(r(e).toLowerCase())}},function(e,t,n){var r=n(206)("toUpperCase");e.exports=r},function(e,t,n){var r=n(207),a=n(83),i=n(82),o=n(17);e.exports=function(e){return function(t){t=o(t);var n=a(t)?i(t):void 0,c=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return c[e]()+u}}},function(e,t,n){var r=n(208);e.exports=function(e,t,n){var a=e.length;return n=void 0===n?a:n,!t&&n>=a?e:r(e,t,n)}},function(e,t){e.exports=function(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(a);++r<a;)i[r]=e[r+t];return i}},function(e,t,n){"use strict";var r,a,i,o,c;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,l=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(l,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(l,0))},a=function(e,t){s=setTimeout(e,t)},i=function(){clearTimeout(s)},o=function(){return!1},c=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var b=d.now();t.unstable_now=function(){return d.now()-b}}var y=!1,g=null,_=-1,O=5,j=0;o=function(){return t.unstable_now()>=j},c=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):O=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();j=e+O;try{g(!0,e)?E.postMessage(null):(y=!1,g=null)}catch(e){throw E.postMessage(null),e}}else y=!1},r=function(e){g=e,y||(y=!0,E.postMessage(null))},a=function(e,n){_=m((function(){e(t.unstable_now())}),n)},i=function(){h(_),_=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),a=e[r];if(!(void 0!==a&&0<T(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function F(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var i=2*(r+1)-1,o=e[i],c=i+1,u=e[c];if(void 0!==o&&0>T(o,n))void 0!==u&&0>T(u,o)?(e[r]=u,e[c]=n,r=c):(e[r]=o,e[i]=n,r=i);else{if(!(void 0!==u&&0>T(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],C=[],P=1,k=null,N=3,I=!1,M=!1,R=!1;function D(e){for(var t=S(C);null!==t;){if(null===t.callback)F(C);else{if(!(t.startTime<=e))break;F(C),t.sortIndex=t.expirationTime,x(A,t)}t=S(C)}}function L(e){if(R=!1,D(e),!M)if(null!==S(A))M=!0,r(z);else{var t=S(C);null!==t&&a(L,t.startTime-e)}}function z(e,n){M=!1,R&&(R=!1,i()),I=!0;var r=N;try{for(D(n),k=S(A);null!==k&&(!(k.expirationTime>n)||e&&!o());){var c=k.callback;if(null!==c){k.callback=null,N=k.priorityLevel;var u=c(k.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?k.callback=u:k===S(A)&&F(A),D(n)}else F(A);k=S(A)}if(null!==k)var s=!0;else{var l=S(C);null!==l&&a(L,l.startTime-n),s=!1}return s}finally{k=null,N=r,I=!1}}function V(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=c;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_scheduleCallback=function(e,n,o){var c=t.unstable_now();if("object"==typeof o&&null!==o){var u=o.delay;u="number"==typeof u&&0<u?c+u:c,o="number"==typeof o.timeout?o.timeout:V(e)}else o=V(e),u=c;return e={id:P++,callback:n,priorityLevel:e,startTime:u,expirationTime:o=u+o,sortIndex:-1},u>c?(e.sortIndex=u,x(C,e),null===S(A)&&e===S(C)&&(R?i():R=!0,a(L,u-c))):(e.sortIndex=o,x(A,e),M||I||(M=!0,r(z))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=S(A);return n!==k&&null!==k&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<k.expirationTime||o()},t.unstable_requestPaint=B,t.unstable_continueExecution=function(){M||I||(M=!0,r(z))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return S(A)},t.unstable_Profiling=null},function(e,t,n){"use strict";e.exports=n(211)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case f:case p:case o:case u:case c:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case b:case v:case s:return e;default:return t}}case i:return t}}}function w(e){return j(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=a,t.ForwardRef=d,t.Fragment=o,t.Lazy=b,t.Memo=v,t.Portal=i,t.Profiler=u,t.StrictMode=c,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||j(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return j(e)===l},t.isContextProvider=function(e){return j(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return j(e)===d},t.isFragment=function(e){return j(e)===o},t.isLazy=function(e){return j(e)===b},t.isMemo=function(e){return j(e)===v},t.isPortal=function(e){return j(e)===i},t.isProfiler=function(e){return j(e)===u},t.isStrictMode=function(e){return j(e)===c},t.isSuspense=function(e){return j(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===u||e===c||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===_||e.$$typeof===O||e.$$typeof===y)},t.typeOf=j},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,a=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(a.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(a.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(213),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(24))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,a,i,o,c,u=1,s={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){m(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){m(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(a=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){m(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):r=function(e){setTimeout(m,0,e)}:(o="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&m(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),r=function(t){e.postMessage(o+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return s[u]=a,r(u),u++},p.clearImmediate=d}function d(e){delete s[e]}function m(e){if(l)setTimeout(m,0,e);else{var t=s[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{d(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(24),n(214))},function(e,t){var n,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,s=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function h(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new m(e,t)),1!==s.length||l||c(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(216);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t);var r=n(4),a=n.n(r),i=n(0),o=n(1),c=n.n(o),u=n(31),s=n.n(u),l=n(9),f=n.n(l),p=n(20),d=n.n(p);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var v=n(5),b=n.n(v),y=n(51),g=n.n(y),_=n(52),O=n.n(_),j=Object.prototype.toString,w=Error.prototype.toString,E=RegExp.prototype.toString,x="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},S=/^Symbol\((.*)\)(.*)$/;function F(e,t){if(void 0===t&&(t=!1),null==e||!0===e||!1===e)return""+e;var n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?'"'+e+'"':e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return x.call(e).replace(S,"Symbol($1)");var r=j.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+w.call(e)+"]":"RegExp"===r?E.call(e):null}function T(e,t){var n=F(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=F(this[e],t);return null!==r?r:n}),2)}var A={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,n=e.type,r=e.value,a=e.originalValue,i=null!=a&&a!==r,o=t+" must be a `"+n+"` type, but the final value was: `"+T(r,!0)+"`"+(i?" (cast from the value `"+T(a,!0)+"`).":".");return null===r&&(o+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),o},defined:"${path} must be defined"},C={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},P={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",notEqual:"${path} must be not equal to ${notEqual}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},k={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},N={noUnknown:"${path} field has unspecified keys: ${unknown}"},I={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items"},M=function(e){return e&&e.__isYupSchema__},R=function(){function e(e,t){if(this.refs=e,"function"!=typeof t){if(!b()(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var n=t.is,r=t.then,a=t.otherwise,i="function"==typeof n?n:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every((function(e){return e===n}))};this.fn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.pop(),c=t.pop(),u=i.apply(void 0,t)?r:a;if(u)return"function"==typeof u?u(c):c.concat(u.resolve(o))}}else this.fn=t}return e.prototype.resolve=function(e,t){var n=this.refs.map((function(e){return e.getValue(t)})),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!M(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)},e}();function D(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var L=n(19),z=/\$\{\s*(\w+)\s*\}/g,V=function(e){return function(t){return e.replace(z,(function(e,n){return T(t[n])}))}};function B(e,t,n,r){var a=this;this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],e&&[].concat(e).forEach((function(e){a.errors=a.errors.concat(e.errors||e),e.inner&&(a.inner=a.inner.concat(e.inner.length?e.inner:e))})),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,B)}B.prototype=Object.create(Error.prototype),B.prototype.constructor=B,B.isError=function(e){return e&&"ValidationError"===e.name},B.formatError=function(e,t){"string"==typeof e&&(e=V(e));var n=function(t){return t.path=t.label||t.path||"this","function"==typeof e?e(t):e};return 1===arguments.length?n:n(t)};var U=function(e){return e?L.SynchronousPromise:Promise};function $(e,t){return e?null:function(e){return t.push(e),e.value}}function G(e){var t=e.validations,n=e.value,r=e.path,a=e.sync,i=e.errors,o=e.sort;return i=function(e){return void 0===e&&(e=[]),e.inner&&e.inner.length?e.inner:[].concat(e)}(i),function(e,t){var n=U(t);return n.all(e.map((function(e){return n.resolve(e).then((function(e){return{fulfilled:!0,value:e}}),(function(e){return{fulfilled:!1,value:e}}))})))}(t,a).then((function(e){var t=e.filter((function(e){return!e.fulfilled})).reduce((function(e,t){var n=t.value;if(!B.isError(n))throw n;return e.concat(n)}),[]);if(o&&t.sort(o),(i=t.concat(i)).length)throw new B(i,n,r);return n}))}function W(e){var t,n,r,a=e.endEarly,i=D(e,["endEarly"]);return a?(t=i.validations,n=i.value,r=i.sync,U(r).all(t).catch((function(e){throw"ValidationError"===e.name&&(e.value=n),e})).then((function(){return n}))):G(i)}var q=function(e){return"[object Object]"===Object.prototype.toString.call(e)};var H=n(32),Y=n.n(H),K=n(12),Z="$",J=".",X=function(){function e(e,t){if(void 0===t&&(t={}),"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Z,this.isValue=this.key[0]===J,this.isSibling=!this.isContext&&!this.isValue;var n=this.isContext?Z:this.isValue?J:"";this.path=this.key.slice(n.length),this.getter=this.path&&Object(K.getter)(this.path,!0),this.map=t.map}var t=e.prototype;return t.getValue=function(e){var t=this.isContext?e.context:this.isValue?e.value:e.parent;return this.getter&&(t=this.getter(t||{})),this.map&&(t=this.map(t)),t},t.cast=function(e,t){return this.getValue(m({},t,{value:e}))},t.resolve=function(){return this},t.describe=function(){return{type:"ref",key:this.key}},t.toString=function(){return"Ref("+this.key+")"},e.isRef=function(e){return e&&e.__isYupRef},e}();X.prototype.__isYupRef=!0;var Q=B.formatError;function ee(e){var t=e.value,n=e.label,r=e.resolve,a=e.originalValue,i=D(e,["value","label","resolve","originalValue"]);return function(e){var o=void 0===e?{}:e,c=o.path,u=void 0===c?i.path:c,s=o.message,l=void 0===s?i.message:s,f=o.type,p=void 0===f?i.name:f,d=o.params;return d=m({path:u,value:t,originalValue:a,label:n},function(e,t,n){return Y()(m({},e,t),n)}(i.params,d,r)),m(new B(Q(l,d),t,u,p),{params:d})}}function te(e){var t=e.name,n=e.message,r=e.test,a=e.params;function i(e){var i=e.value,o=e.path,c=e.label,u=e.options,s=e.originalValue,l=e.sync,f=D(e,["value","path","label","options","originalValue","sync"]),p=u.parent,d=function(e){return X.isRef(e)?e.getValue({value:i,parent:p,context:u.context}):e},h=ee({message:n,path:o,value:i,originalValue:s,params:a,label:c,resolve:d,name:t}),v=m({path:o,parent:p,type:t,createError:h,resolve:d,options:u},f);return function(e,t,n,r){var a,i=e.call(t,n);if(!r)return Promise.resolve(i);if((a=i)&&"function"==typeof a.then&&"function"==typeof a.catch)throw new Error('Validation test of type: "'+t.type+'" returned a Promise during a synchronous validate. This test will finish after the validate call has returned');return L.SynchronousPromise.resolve(i)}(r,v,i,l).then((function(e){if(B.isError(e))throw e;if(!e)throw h()}))}return i.OPTIONS=e,i}function ne(e,t,n,r){var a,i,o;return void 0===r&&(r=n),t?(Object(K.forEach)(t,(function(c,u,s){var l=u?function(e){return e.substr(0,e.length-1).substr(1)}(c):c;if((e=e.resolve({context:r,parent:a,value:n})).innerType){var f=s?parseInt(l,10):0;if(n&&f>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: "+c+", in the path: "+t+". because there is no value at that index. ");a=n,n=n&&n[f],e=e.innerType}if(!s){if(!e.fields||!e.fields[l])throw new Error("The schema does not contain the path: "+t+". (failed at: "+o+' which is a type: "'+e._type+'")');a=n,n=n&&n[l],e=e.fields[l]}i=l,o=u?"["+c+"]":"."+c})),{schema:e,parent:a,parentPath:i}):{parent:a,parentPath:t,schema:e}}function re(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ie=function(){function e(){this.list=new Set,this.refs=new Map}var t,n,r,a=e.prototype;return a.describe=function(){for(var e,t=[],n=re(this.list);!(e=n()).done;){var r=e.value;t.push(r)}for(var a,i=re(this.refs);!(a=i()).done;){var o=a.value[1];t.push(o.describe())}return t},a.toArray=function(){return O()(this.list).concat(O()(this.refs.values()))},a.add=function(e){X.isRef(e)?this.refs.set(e.key,e):this.list.add(e)},a.delete=function(e){X.isRef(e)?this.refs.delete(e.key):this.list.delete(e)},a.has=function(e,t){if(this.list.has(e))return!0;for(var n,r=this.refs.values();!(n=r.next()).done;)if(t(n.value)===e)return!0;return!1},a.clone=function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t},a.merge=function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n},t=e,(n=[{key:"size",get:function(){return this.list.size+this.refs.size}}])&&h(t.prototype,n),r&&h(t,r),e}();function oe(e){var t=this;if(void 0===e&&(e={}),!(this instanceof oe))return new oe;this._deps=[],this._conditions=[],this._options={abortEarly:!0,recursive:!0},this._exclusive=Object.create(null),this._whitelist=new ie,this._blacklist=new ie,this.tests=[],this.transforms=[],this.withMutation((function(){t.typeError(A.notType)})),b()(e,"default")&&(this._defaultDefault=e.default),this.type=e.type||"mixed",this._type=e.type||"mixed"}for(var ce=oe.prototype={__isYupSchema__:!0,constructor:oe,clone:function(){var e=this;return this._mutate?this:g()(this,(function(t){if(M(t)&&t!==e)return t}))},label:function(e){var t=this.clone();return t._label=e,t},meta:function(e){if(0===arguments.length)return this._meta;var t=this.clone();return t._meta=m(t._meta||{},e),t},withMutation:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n},concat:function(e){if(!e||e===this)return this;if(e._type!==this._type&&"mixed"!==this._type)throw new TypeError("You cannot `concat()` schema's of different types: "+this._type+" and "+e._type);var t=function e(t,n){for(var r in n)if(b()(n,r)){var a=n[r],i=t[r];if(void 0===i)t[r]=a;else{if(i===a)continue;M(i)?M(a)&&(t[r]=a.concat(i)):q(i)?q(a)&&(t[r]=e(i,a)):Array.isArray(i)&&Array.isArray(a)&&(t[r]=a.concat(i))}}return t}(e.clone(),this);return b()(e,"_default")&&(t._default=e._default),t.tests=this.tests,t._exclusive=this._exclusive,t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),t},isType:function(e){return!(!this._nullable||null!==e)||(!this._typeCheck||this._typeCheck(e))},resolve:function(e){var t=this;if(t._conditions.length){var n=t._conditions;(t=t.clone())._conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t},cast:function(e,t){void 0===t&&(t={});var n=this.resolve(m({},t,{value:e})),r=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(r)){var a=T(e),i=T(r);throw new TypeError("The value of "+(t.path||"field")+' could not be cast to a value that satisfies the schema type: "'+n._type+'". \n\nattempted value: '+a+" \n"+(i!==a?"result of cast: "+i:""))}return r},_cast:function(e){var t=this,n=void 0===e?e:this.transforms.reduce((function(n,r){return r.call(t,n,e)}),e);return void 0===n&&b()(this,"_default")&&(n=this.default()),n},_validate:function(e,t){var n=this;void 0===t&&(t={});var r=e,a=null!=t.originalValue?t.originalValue:e,i=this._option("strict",t),o=this._option("abortEarly",t),c=t.sync,u=t.path,s=this._label;i||(r=this._cast(r,m({assert:!1},t)));var l={value:r,path:u,schema:this,options:t,label:s,originalValue:a,sync:c};t.from&&(l.from=t.from);var f=[];return this._typeError&&f.push(this._typeError(l)),this._whitelistError&&f.push(this._whitelistError(l)),this._blacklistError&&f.push(this._blacklistError(l)),W({validations:f,endEarly:o,value:r,path:u,sync:c}).then((function(e){return W({path:u,sync:c,value:e,endEarly:o,validations:n.tests.map((function(e){return e(l)}))})}))},validate:function(e,t){return void 0===t&&(t={}),this.resolve(m({},t,{value:e}))._validate(e,t)},validateSync:function(e,t){var n,r;if(void 0===t&&(t={}),this.resolve(m({},t,{value:e}))._validate(e,m({},t,{sync:!0})).then((function(e){return n=e})).catch((function(e){return r=e})),r)throw r;return n},isValid:function(e,t){return this.validate(e,t).then((function(){return!0})).catch((function(e){if("ValidationError"===e.name)return!1;throw e}))},isValidSync:function(e,t){try{return this.validateSync(e,t),!0}catch(e){if("ValidationError"===e.name)return!1;throw e}},getDefault:function(e){return void 0===e&&(e={}),this.resolve(e).default()},default:function(e){if(0===arguments.length){var t=b()(this,"_default")?this._default:this._defaultDefault;return"function"==typeof t?t.call(this):g()(t)}var n=this.clone();return n._default=e,n},strict:function(e){void 0===e&&(e=!0);var t=this.clone();return t._options.strict=e,t},_isPresent:function(e){return null!=e},required:function(e){return void 0===e&&(e=A.required),this.test({message:e,name:"required",exclusive:!0,test:function(e){return this.schema._isPresent(e)}})},notRequired:function(){var e=this.clone();return e.tests=e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e},nullable:function(e){void 0===e&&(e=!0);var t=this.clone();return t._nullable=e,t},transform:function(e){var t=this.clone();return t.transforms.push(e),t},test:function(){var e;if(void 0===(e=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=A.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=te(e),r=e.exclusive||e.name&&!0===t._exclusive[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t._exclusive[e.name]=!!e.exclusive,t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t},when:function(e,t){1===arguments.length&&(t=e,e=".");var n=this.clone(),r=[].concat(e).map((function(e){return new X(e)}));return r.forEach((function(e){e.isSibling&&n._deps.push(e.key)})),n._conditions.push(new R(r,t)),n},typeError:function(e){var t=this.clone();return t._typeError=te({message:e,name:"typeError",test:function(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t},oneOf:function(e,t){void 0===t&&(t=A.oneOf);var n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=te({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist;return!!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},notOneOf:function(e,t){void 0===t&&(t=A.notOneOf);var n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=te({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist;return!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},strip:function(e){void 0===e&&(e=!0);var t=this.clone();return t._strip=e,t},_option:function(e,t){return b()(t,e)?t[e]:this._options[e]},describe:function(){var e=this.clone(),t={type:e._type,meta:e._meta,label:e._label,tests:e.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return e._whitelist.size&&(t.oneOf=e._whitelist.describe()),e._blacklist.size&&(t.notOneOf=e._blacklist.describe()),t},defined:function(e){return void 0===e&&(e=A.defined),this.nullable().test({message:e,name:"defined",exclusive:!0,test:function(e){return void 0!==e}})}},ue=function(){var e=le[se];ce[e+"At"]=function(t,n,r){void 0===r&&(r={});var a=ne(this,t,n,r.context),i=a.parent,o=a.parentPath;return a.schema[e](i&&i[o],m({},r,{parent:i,path:t}))}},se=0,le=["validate","validateSync"];se<le.length;se++)ue();for(var fe=0,pe=["equals","is"];fe<pe.length;fe++){ce[pe[fe]]=ce.oneOf}for(var de=0,me=["not","nope"];de<me.length;de++){ce[me[de]]=ce.notOneOf}function he(e,t,n){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),m(e.prototype,n)}ce.optional=ce.notRequired;function ve(){var e=this;if(!(this instanceof ve))return new ve;oe.call(this,{type:"boolean"}),this.withMutation((function(){e.transform((function(e){if(!this.isType(e)){if(/^(true|1)$/i.test(e))return!0;if(/^(false|0)$/i.test(e))return!1}return e}))}))}he(ve,oe,{_typeCheck:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e}});var be=function(e){return null==e},ye=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,ge=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,_e=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i,Oe=function(e){return be(e)||e===e.trim()};function je(){var e=this;if(!(this instanceof je))return new je;oe.call(this,{type:"string"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:null!=e&&e.toString?e.toString():e}))}))}he(je,oe,{_typeCheck:function(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e},_isPresent:function(e){return oe.prototype._isPresent.call(this,e)&&e.length>0},length:function(e,t){return void 0===t&&(t=C.length),this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return be(t)||t.length===this.resolve(e)}})},min:function(e,t){return void 0===t&&(t=C.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t.length>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=C.max),this.test({name:"max",exclusive:!0,message:t,params:{max:e},test:function(t){return be(t)||t.length<=this.resolve(e)}})},matches:function(e,t){var n,r,a=!1;return t&&("object"==typeof t?(a=t.excludeEmptyString,n=t.message,r=t.name):n=t),this.test({name:r||"matches",message:n||C.matches,params:{regex:e},test:function(t){return be(t)||""===t&&a||-1!==t.search(e)}})},email:function(e){return void 0===e&&(e=C.email),this.matches(ye,{name:"email",message:e,excludeEmptyString:!0})},url:function(e){return void 0===e&&(e=C.url),this.matches(ge,{name:"url",message:e,excludeEmptyString:!0})},uuid:function(e){return void 0===e&&(e=C.uuid),this.matches(_e,{name:"uuid",message:e,excludeEmptyString:!1})},ensure:function(){return this.default("").transform((function(e){return null===e?"":e}))},trim:function(e){return void 0===e&&(e=C.trim),this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:Oe})},lowercase:function(e){return void 0===e&&(e=C.lowercase),this.transform((function(e){return be(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return be(e)||e===e.toLowerCase()}})},uppercase:function(e){return void 0===e&&(e=C.uppercase),this.transform((function(e){return be(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return be(e)||e===e.toUpperCase()}})}});he((function e(){var t=this;if(!(this instanceof e))return new e;oe.call(this,{type:"number"}),this.withMutation((function(){t.transform((function(e){var t=e;if("string"==typeof t){if(""===(t=t.replace(/\s/g,"")))return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))}))}),oe,{_typeCheck:function(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!function(e){return e!=+e}(e)},min:function(e,t){return void 0===t&&(t=P.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=P.max),this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return be(t)||t<=this.resolve(e)}})},lessThan:function(e,t){return void 0===t&&(t=P.lessThan),this.test({message:t,name:"max",exclusive:!0,params:{less:e},test:function(t){return be(t)||t<this.resolve(e)}})},moreThan:function(e,t){return void 0===t&&(t=P.moreThan),this.test({message:t,name:"min",exclusive:!0,params:{more:e},test:function(t){return be(t)||t>this.resolve(e)}})},positive:function(e){return void 0===e&&(e=P.positive),this.moreThan(0,e)},negative:function(e){return void 0===e&&(e=P.negative),this.lessThan(0,e)},integer:function(e){return void 0===e&&(e=P.integer),this.test({name:"integer",message:e,test:function(e){return be(e)||Number.isInteger(e)}})},truncate:function(){return this.transform((function(e){return be(e)?e:0|e}))},round:function(e){var t=["ceil","floor","round","trunc"];if("trunc"===(e=e&&e.toLowerCase()||"round"))return this.truncate();if(-1===t.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+t.join(", "));return this.transform((function(t){return be(t)?t:Math[e](t)}))}});var we=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var Ee=new Date("");function xe(){var e=this;if(!(this instanceof xe))return new xe;oe.call(this,{type:"date"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],a=0;if(n=we.exec(e)){for(var i,o=0;i=r[o];++o)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(a=60*n[10]+n[11],"+"===n[9]&&(a=0-a)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+a,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?Ee:new Date(e))}))}))}function Se(e,t){return t||(t=e.slice(0)),e.raw=t,e}he(xe,oe,{_typeCheck:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t},min:function(e,t){void 0===t&&(t=k.min);var n=e;if(!X.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`min` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(e){return be(e)||e>=this.resolve(n)}})},max:function(e,t){void 0===t&&(t=k.max);var n=e;if(!X.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`max` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(e){return be(e)||e<=this.resolve(n)}})}});var Fe=n(53),Te=n.n(Fe),Ae=n(92),Ce=n.n(Ae),Pe=n(93),ke=n.n(Pe),Ne=n(94),Ie=n.n(Ne);function Me(e,t){void 0===t&&(t=[]);var n=[],r=[];function a(e,a){var i=Object(K.split)(e)[0];~r.indexOf(i)||r.push(i),~t.indexOf(a+"-"+i)||n.push([a,i])}for(var i in e)if(b()(e,i)){var o=e[i];~r.indexOf(i)||r.push(i),X.isRef(o)&&o.isSibling?a(o.path,i):M(o)&&o._deps&&o._deps.forEach((function(e){return a(e,i)}))}return Ie.a.array(r,n).reverse()}function Re(e,t){var n=1/0;return e.some((function(e,r){if(-1!==t.path.indexOf(e))return n=r,!0})),n}function De(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=e.reduce((function(e,t){var r=n.shift();return e+(null==r?"":r)+t}));return a.replace(/^\./,"")}function Le(){var e=Se(["",'["','"]']);return Le=function(){return e},e}function ze(){var e=Se(["",".",""]);return ze=function(){return e},e}function Ve(){var e=Se(["",".",""]);return Ve=function(){return e},e}var Be=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function Ue(e){var t=this;if(!(this instanceof Ue))return new Ue(e);oe.call(this,{type:"object",default:function(){var e=this;if(this._nodes.length){var t={};return this._nodes.forEach((function(n){t[n]=e.fields[n].default?e.fields[n].default():void 0})),t}}}),this.fields=Object.create(null),this._nodes=[],this._excludedEdges=[],this.withMutation((function(){t.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.shape(e)}))}function $e(){var e=Se(["","[","]"]);return $e=function(){return e},e}function Ge(){var e=Se(["","[","]"]);return Ge=function(){return e},e}he(Ue,oe,{_typeCheck:function(e){return Be(e)||"function"==typeof e},_cast:function(e,t){var n=this;void 0===t&&(t={});var r=oe.prototype._cast.call(this,e,t);if(void 0===r)return this.default();if(!this._typeCheck(r))return r;var a=this.fields,i=!0===this._option("stripUnknown",t),o=this._nodes.concat(Object.keys(r).filter((function(e){return-1===n._nodes.indexOf(e)}))),c={},u=m({},t,{parent:c,__validating:t.__validating||!1}),s=!1;return o.forEach((function(e){var n=a[e],o=b()(r,e);if(n){var l,f=n._options&&n._options.strict;if(u.path=De(Ve(),t.path,e),u.value=r[e],!0===(n=n.resolve(u))._strip)return void(s=s||e in r);void 0!==(l=t.__validating&&f?r[e]:n.cast(r[e],u))&&(c[e]=l)}else o&&!i&&(c[e]=r[e]);c[e]!==r[e]&&(s=!0)})),s?c:r},_validate:function(e,t){var n,r,a=this;void 0===t&&(t={});var i=t.sync,o=[],c=null!=t.originalValue?t.originalValue:e,u=[{schema:this,value:c}].concat(t.from||[]);return n=this._option("abortEarly",t),r=this._option("recursive",t),t=m({},t,{__validating:!0,originalValue:c,from:u}),oe.prototype._validate.call(this,e,t).catch($(n,o)).then((function(e){if(!r||!Be(e)){if(o.length)throw o[0];return e}u=c?[].concat(u):[{schema:a,value:c||e}].concat(t.from||[]),c=c||e;var s,l,f=a._nodes.map((function(n){var r=-1===n.indexOf(".")?De(ze(),t.path,n):De(Le(),t.path,n),o=a.fields[n],s=m({},t,{path:r,from:u,parent:e,originalValue:c[n]});return o&&o.validate?(s.strict=!0,o.validate(e[n],s)):function(e){return e?L.SynchronousPromise:Promise}(i).resolve(!0)}));return W({sync:i,validations:f,value:e,errors:o,endEarly:n,path:t.path,sort:(s=a.fields,l=Object.keys(s),function(e,t){return Re(l,e)-Re(l,t)})})}))},concat:function(e){var t=oe.prototype.concat.call(this,e);return t._nodes=Me(t.fields,t._excludedEdges),t},shape:function(e,t){void 0===t&&(t=[]);var n=this.clone(),r=m(n.fields,e);if(n.fields=r,t.length){Array.isArray(t[0])||(t=[t]);var a=t.map((function(e){return e[0]+"-"+e[1]}));n._excludedEdges=n._excludedEdges.concat(a)}return n._nodes=Me(r,n._excludedEdges),n},from:function(e,t,n){var r=Object(K.getter)(e,!0);return this.transform((function(a){if(null==a)return a;var i=a;return b()(a,e)&&(i=m({},a),n||delete i[e],i[t]=r(a)),i}))},noUnknown:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=N.noUnknown),"string"==typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=function(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n._options.stripUnknown=e,n},unknown:function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=N.noUnknown),this.noUnknown(!e,t)},transformKeys:function(e){return this.transform((function(t){return t&&ke()(t,(function(t,n){return e(n)}))}))},camelCase:function(){return this.transformKeys(Ce.a)},snakeCase:function(){return this.transformKeys(Te.a)},constantCase:function(){return this.transformKeys((function(e){return Te()(e).toUpperCase()}))},describe:function(){var e=oe.prototype.describe.call(this);return e.fields=Y()(this.fields,(function(e){return e.describe()})),e}});function We(e){var t=this;if(!(this instanceof We))return new We(e);oe.call(this,{type:"array"}),this._subType=void 0,this.innerType=void 0,this.withMutation((function(){t.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.of(e)}))}he(We,oe,{_typeCheck:function(e){return Array.isArray(e)},_cast:function(e,t){var n=this,r=oe.prototype._cast.call(this,e,t);if(!this._typeCheck(r)||!this.innerType)return r;var a=!1,i=r.map((function(e,r){var i=n.innerType.cast(e,m({},t,{path:De(Ge(),t.path,r)}));return i!==e&&(a=!0),i}));return a?i:r},_validate:function(e,t){var n=this;void 0===t&&(t={});var r=[],a=t.sync,i=t.path,o=this.innerType,c=this._option("abortEarly",t),u=this._option("recursive",t),s=null!=t.originalValue?t.originalValue:e;return oe.prototype._validate.call(this,e,t).catch($(c,r)).then((function(e){if(!u||!o||!n._typeCheck(e)){if(r.length)throw r[0];return e}s=s||e;for(var l=new Array(e.length),f=0;f<e.length;f++){var p=e[f],d=De($e(),t.path,f),h=m({},t,{path:d,strict:!0,parent:e,index:f,originalValue:s[f]});l[f]=!o.validate||o.validate(p,h)}return W({sync:a,path:i,value:e,errors:r,endEarly:c,validations:l})}))},_isPresent:function(e){return oe.prototype._isPresent.call(this,e)&&e.length>0},of:function(e){var t=this.clone();if(!1!==e&&!M(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema, or `false` to negate a current sub-schema. not: "+T(e));return t._subType=e,t.innerType=e,t},min:function(e,t){return t=t||I.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t.length>=this.resolve(e)}})},max:function(e,t){return t=t||I.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return be(t)||t.length<=this.resolve(e)}})},ensure:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))},compact:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))},describe:function(){var e=oe.prototype.describe.call(this);return this.innerType&&(e.innerType=this.innerType.describe()),e}});var qe=function(){function e(e){this._resolve=function(t,n){var r=e(t,n);if(!M(r))throw new TypeError("lazy() functions must return a valid schema");return r.resolve(n)}}var t=e.prototype;return t.resolve=function(e){return this._resolve(e.value,e)},t.cast=function(e,t){return this._resolve(e,t).cast(e,t)},t.validate=function(e,t){return this._resolve(e,t).validate(e,t)},t.validateSync=function(e,t){return this._resolve(e,t).validateSync(e,t)},t.validateAt=function(e,t,n){return this._resolve(t,n).validateAt(e,t,n)},t.validateSyncAt=function(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)},e}();qe.prototype.__isYupSchema__=!0;var He=qe;var Ye=function(e){return new He(e)};var Ke=n(2),Ze=n(11),Je=n.n(Ze),Xe=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Qe}(e)}(e)};var Qe="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nt((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function tt(e,t,n){return e.concat(t).map((function(e){return et(e,n)}))}function nt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||tt,n.isMergeableObject=n.isMergeableObject||Xe;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=et(e[t],n)})),Object.keys(t).forEach((function(a){n.isMergeableObject(t[a])&&e[a]?r[a]=nt(e[a],t[a],n):r[a]=et(t[a],n)})),r}(e,t,n):et(t,n)}nt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return nt(e,n,t)}),{})};var rt=nt,at=n(54),it=n.n(at),ot=n(55),ct=n.n(ot),ut=n(56),st=n.n(ut);var lt=function(e,t){},ft=n(57),pt=n(58),dt=n.n(pt),mt=n(95),ht=n.n(mt);function vt(){return(vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function bt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function yt(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var _t=function(e){return Array.isArray(e)&&0===e.length},Ot=function(e){return"function"==typeof e},jt=function(e){return null!==e&&"object"==typeof e},wt=function(e){return String(Math.floor(Number(e)))===e},Et=function(e){return"[object String]"===Object.prototype.toString.call(e)},xt=function(e){return 0===o.Children.count(e)},St=function(e){return jt(e)&&Ot(e.then)};function Ft(e,t,n,r){void 0===r&&(r=0);for(var a=st()(t);e&&r<a.length;)e=e[a[r++]];return void 0===e?n:e}function Tt(e,t,n){for(var r=ct()(e),a=r,i=0,o=st()(t);i<o.length-1;i++){var c=o[i],u=Ft(e,o.slice(0,i+1));if(u&&(jt(u)||Array.isArray(u)))a=a[c]=ct()(u);else{var s=o[i+1];a=a[c]=wt(s)&&Number(s)>=0?[]:{}}}return(0===i?e:a)[o[i]]===n?e:(void 0===n?delete a[o[i]]:a[o[i]]=n,0===i&&void 0===n&&delete r[o[i]],r)}function At(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var a=0,i=Object.keys(e);a<i.length;a++){var o=i[a],c=e[o];jt(c)?n.get(c)||(n.set(c,!0),r[o]=Array.isArray(c)?[]:{},At(c,t,n,r[o])):r[o]=t}return r}var Ct=Object(o.createContext)(void 0),Pt=Ct.Provider,kt=Ct.Consumer;function Nt(){var e=Object(o.useContext)(Ct);return e||lt(!1),e}function It(e,t){switch(t.type){case"SET_VALUES":return vt({},e,{values:t.payload});case"SET_TOUCHED":return vt({},e,{touched:t.payload});case"SET_ERRORS":return Je()(e.errors,t.payload)?e:vt({},e,{errors:t.payload});case"SET_STATUS":return vt({},e,{status:t.payload});case"SET_ISSUBMITTING":return vt({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return vt({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return vt({},e,{values:Tt(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return vt({},e,{touched:Tt(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return vt({},e,{errors:Tt(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return vt({},e,{},t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return vt({},e,{touched:At(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return vt({},e,{isSubmitting:!1});default:return e}}var Mt={},Rt={};function Dt(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,a=void 0===r||r,i=e.validateOnMount,c=void 0!==i&&i,u=e.isInitialValid,s=e.enableReinitialize,l=void 0!==s&&s,f=e.onSubmit,p=yt(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),d=vt({validateOnChange:n,validateOnBlur:a,validateOnMount:c,onSubmit:f},p),m=Object(o.useRef)(d.initialValues),h=Object(o.useRef)(d.initialErrors||Mt),v=Object(o.useRef)(d.initialTouched||Rt),b=Object(o.useRef)(d.initialStatus),y=Object(o.useRef)(!1),g=Object(o.useRef)({});Object(o.useEffect)((function(){return y.current=!0,function(){y.current=!1}}),[]);var _=Object(o.useReducer)(It,{values:d.initialValues,errors:d.initialErrors||Mt,touched:d.initialTouched||Rt,status:d.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),O=_[0],j=_[1],w=Object(o.useCallback)((function(e,t){return new Promise((function(n,r){var a=d.validate(e,t);null==a?n(Mt):St(a)?a.then((function(e){n(e||Mt)}),(function(e){r(e)})):n(a)}))}),[d.validate]),E=Object(o.useCallback)((function(e,t){var n=d.validationSchema,r=Ot(n)?n(t):n,a=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var a=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var a=String(r);!0===Array.isArray(t[a])?n[a]=t[a].map((function(t){return!0===Array.isArray(t)||it()(t)?e(t):""!==t?t:void 0})):it()(t[a])?n[a]=e(t[a]):n[a]=""!==t[a]?t[a]:void 0}return n}(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:r})}(e,r);return new Promise((function(e,t){a.then((function(){e(Mt)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return Tt(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),a=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(a>=n.length)break;i=n[a++]}else{if((a=n.next()).done)break;i=a.value}var o=i;Ft(t,o.path)||(t=Tt(t,o.path,o.message))}}return t}(n)):t(n)}))}))}),[d.validationSchema]),x=Object(o.useCallback)((function(e,t){return new Promise((function(n){return n(g.current[e].validate(t))}))}),[]),S=Object(o.useCallback)((function(e){var t=Object.keys(g.current).filter((function(e){return Ot(g.current[e].validate)})),n=t.length>0?t.map((function(t){return x(t,Ft(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Tt(e,t[r],n)),e}),{})}))}),[x]),F=Object(o.useCallback)((function(e){return Promise.all([S(e),d.validationSchema?E(e):{},d.validate?w(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return rt.all([t,n,r],{arrayMerge:zt})}))}),[d.validate,d.validationSchema,S,w,E]),T=Bt((function(e){return void 0===e&&(e=O.values),Object(ft.unstable_runWithPriority)(ft.unstable_LowPriority,(function(){return F(e).then((function(e){return y.current&&j({type:"SET_ERRORS",payload:e}),e})).catch((function(e){0}))}))})),A=Bt((function(e){return void 0===e&&(e=O.values),j({type:"SET_ISVALIDATING",payload:!0}),F(e).then((function(e){return y.current&&(j({type:"SET_ISVALIDATING",payload:!1}),Je()(O.errors,e)||j({type:"SET_ERRORS",payload:e})),e}))})),C=Object(o.useCallback)((function(e){var t=e&&e.values?e.values:m.current,n=e&&e.errors?e.errors:h.current?h.current:d.initialErrors||{},r=e&&e.touched?e.touched:v.current?v.current:d.initialTouched||{},a=e&&e.status?e.status:b.current?b.current:d.initialStatus;m.current=t,h.current=n,v.current=r,b.current=a;var i=function(){j({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(d.onReset){var o=d.onReset(O.values,K);St(o)?o.then(i):i()}else i()}),[d.initialErrors,d.initialStatus,d.initialTouched]);Object(o.useEffect)((function(){!0!==y.current||Je()(m.current,d.initialValues)||(m.current=d.initialValues,l&&C(),c&&T(m.current))}),[l,d.initialValues,C,c,T]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(h.current,d.initialErrors)&&(h.current=d.initialErrors||Mt,j({type:"SET_ERRORS",payload:d.initialErrors||Mt}))}),[l,d.initialErrors]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(v.current,d.initialTouched)&&(v.current=d.initialTouched||Rt,j({type:"SET_TOUCHED",payload:d.initialTouched||Rt}))}),[l,d.initialTouched]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(b.current,d.initialStatus)&&(b.current=d.initialStatus,j({type:"SET_STATUS",payload:d.initialStatus}))}),[l,d.initialStatus,d.initialTouched]);var P=Bt((function(e){if(Ot(g.current[e].validate)){var t=Ft(O.values,e),n=g.current[e].validate(t);return St(n)?(j({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),j({type:"SET_ISVALIDATING",payload:!1})}))):(j({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return d.validationSchema?(j({type:"SET_ISVALIDATING",payload:!0}),E(O.values,e).then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),j({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),k=Object(o.useCallback)((function(e,t){var n=t.validate;g.current[e]={validate:n}}),[]),N=Object(o.useCallback)((function(e){delete g.current[e]}),[]),I=Bt((function(e,t){return j({type:"SET_TOUCHED",payload:e}),(void 0===t?a:t)?T(O.values):Promise.resolve()})),M=Object(o.useCallback)((function(e){j({type:"SET_ERRORS",payload:e})}),[]),R=Bt((function(e,t){return j({type:"SET_VALUES",payload:e}),(void 0===t?n:t)?T(e):Promise.resolve()})),D=Object(o.useCallback)((function(e,t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),L=Bt((function(e,t,r){return j({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?T(Tt(O.values,e,t)):Promise.resolve()})),z=Object(o.useCallback)((function(e,t){var n,r=t,a=e;if(!Et(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,o=i.type,c=i.name,u=i.id,s=i.value,l=i.checked,f=(i.outerHTML,i.options),p=i.multiple;r=t||(c||u),a=/number|range/.test(o)?(n=parseFloat(s),isNaN(n)?"":n):/checkbox/.test(o)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!a)return r.concat(n);if(!a)return r;return r.slice(0,i).concat(r.slice(i+1))}(Ft(O.values,r),l,s):p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(f):s}r&&L(r,a)}),[L,O.values]),V=Bt((function(e){if(Et(e))return function(t){return z(t,e)};z(e)})),B=Bt((function(e,t,n){return void 0===t&&(t=!0),j({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?a:n)?T(O.values):Promise.resolve()})),U=Object(o.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,a=n.id,i=(n.outerHTML,t||(r||a));B(i,!0)}),[B]),$=Bt((function(e){if(Et(e))return function(t){return U(t,e)};U(e)})),G=Object(o.useCallback)((function(e){Ot(e)?j({type:"SET_FORMIK_STATE",payload:e}):j({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),W=Object(o.useCallback)((function(e){j({type:"SET_STATUS",payload:e})}),[]),q=Object(o.useCallback)((function(e){j({type:"SET_ISSUBMITTING",payload:e})}),[]),H=Bt((function(){return j({type:"SUBMIT_ATTEMPT"}),A().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Z()))return}catch(e){throw e}return Promise.resolve(n).then((function(e){return y.current&&j({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(y.current)throw j({type:"SUBMIT_FAILURE"}),e}))}if(y.current&&(j({type:"SUBMIT_FAILURE"}),t))throw e}))})),Y=Bt((function(e){e&&e.preventDefault&&Ot(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ot(e.stopPropagation)&&e.stopPropagation(),H().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),K={resetForm:C,validateForm:A,validateField:P,setErrors:M,setFieldError:D,setFieldTouched:B,setFieldValue:L,setStatus:W,setSubmitting:q,setTouched:I,setValues:R,setFormikState:G,submitForm:H},Z=Bt((function(){return f(O.values,K)})),J=Bt((function(e){e&&e.preventDefault&&Ot(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ot(e.stopPropagation)&&e.stopPropagation(),C()})),X=Object(o.useCallback)((function(e){return{value:Ft(O.values,e),error:Ft(O.errors,e),touched:!!Ft(O.touched,e),initialValue:Ft(m.current,e),initialTouched:!!Ft(v.current,e),initialError:Ft(h.current,e)}}),[O.errors,O.touched,O.values]),Q=Object(o.useCallback)((function(e){return{setValue:function(t,n){return L(e,t,n)},setTouched:function(t,n){return B(e,t,n)},setError:function(t){return D(e,t)}}}),[L,B,D]),ee=Object(o.useCallback)((function(e){var t=jt(e),n=t?e.name:e,r=Ft(O.values,n),a={name:n,value:r,onChange:V,onBlur:$};if(t){var i=e.type,o=e.value,c=e.as,u=e.multiple;"checkbox"===i?void 0===o?a.checked=!!r:(a.checked=!(!Array.isArray(r)||!~r.indexOf(o)),a.value=o):"radio"===i?(a.checked=r===o,a.value=o):"select"===c&&u&&(a.value=a.value||[],a.multiple=!0)}return a}),[$,V,O.values]),te=Object(o.useMemo)((function(){return!Je()(m.current,O.values)}),[m.current,O.values]),ne=Object(o.useMemo)((function(){return void 0!==u?te?O.errors&&0===Object.keys(O.errors).length:!1!==u&&Ot(u)?u(d):u:O.errors&&0===Object.keys(O.errors).length}),[u,te,O.errors,d]);return vt({},O,{initialValues:m.current,initialErrors:h.current,initialTouched:v.current,initialStatus:b.current,handleBlur:$,handleChange:V,handleReset:J,handleSubmit:Y,resetForm:C,setErrors:M,setFormikState:G,setFieldTouched:B,setFieldValue:L,setFieldError:D,setStatus:W,setSubmitting:q,setTouched:I,setValues:R,submitForm:H,validateForm:A,validateField:P,isValid:ne,dirty:te,unregisterField:N,registerField:k,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:Q,validateOnBlur:a,validateOnChange:n,validateOnMount:c})}function Lt(e){var t=Dt(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return Object(o.useImperativeHandle)(i,(function(){return t})),Object(o.createElement)(Pt,{value:t},n?Object(o.createElement)(n,t):a?a(t):r?Ot(r)?r(t):xt(r)?null:o.Children.only(r):null)}function zt(e,t,n){var r=e.slice();return t.forEach((function(t,a){if(void 0===r[a]){var i=!1!==n.clone&&n.isMergeableObject(t);r[a]=i?rt(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[a]=rt(e[a],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var Vt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect;function Bt(e){var t=Object(o.useRef)(e);return Vt((function(){t.current=e})),Object(o.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}function Ut(e){var t=e.validate,n=e.name,r=e.render,a=e.children,i=e.as,c=e.component,u=yt(e,["validate","name","render","children","as","component"]),s=yt(Nt(),["validate","validationSchema"]);var l=s.registerField,f=s.unregisterField;Object(o.useEffect)((function(){return l(n,{validate:t}),function(){f(n)}}),[l,f,n,t]);var p=s.getFieldProps(vt({name:n},u)),d=s.getFieldMeta(n),m={field:p,form:s};if(r)return r(vt({},m,{meta:d}));if(Ot(a))return a(vt({},m,{meta:d}));if(c){if("string"==typeof c){var h=u.innerRef,v=yt(u,["innerRef"]);return Object(o.createElement)(c,vt({ref:h},p,{},v),a)}return Object(o.createElement)(c,vt({field:p,form:s},u),a)}var b=i||"input";if("string"==typeof b){var y=u.innerRef,g=yt(u,["innerRef"]);return Object(o.createElement)(b,vt({ref:y},p,{},g),a)}return Object(o.createElement)(b,vt({},p,{},u),a)}var $t=Object(o.forwardRef)((function(e,t){var n=e.action,r=yt(e,["action"]),a=n||"#",i=Nt(),c=i.handleReset,u=i.handleSubmit;return Object(o.createElement)("form",Object.assign({onSubmit:u,ref:t,onReset:c,action:a},r))}));function Gt(e){var t=function(t){return Object(o.createElement)(kt,null,(function(n){return n||lt(!1),Object(o.createElement)(e,Object.assign({},t,{formik:n}))}))},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",dt()(t,e)}$t.displayName="Form";var Wt=function(e,t,n){var r=qt(e);return r.splice(t,0,n),r},qt=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(vt({},e,{length:t+1}))}return[]},Ht=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var a=n.props,i=a.name;(0,a.formik.setFormikState)((function(n){var a="function"==typeof r?r:e,o="function"==typeof t?t:e,c=Tt(n.values,i,e(Ft(n.values,i))),u=r?a(Ft(n.errors,i)):void 0,s=t?o(Ft(n.touched,i)):void 0;return _t(u)&&(u=void 0),_t(s)&&(s=void 0),vt({},n,{values:c,errors:r?Tt(n.errors,i,u):n.errors,touched:t?Tt(n.touched,i,s):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(qt(t),[ht()(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e),a=r[t];return r[t]=r[n],r[n]=a,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e),a=r[t];return r.splice(t,1),r.splice(n,0,a),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return Wt(n,e,t)}),(function(t){return Wt(t,e,null)}),(function(t){return Wt(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(gt(n)),n.pop=n.pop.bind(gt(n)),n}bt(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){!Je()(Ft(e.formik.values,e.name),Ft(this.props.formik.values,this.props.name))&&this.props.formik.validateOnChange&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?qt(n):[];return t||(t=r[e]),Ot(r.splice)&&r.splice(e,1),r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t;return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,a=t.children,i=t.name,c=vt({},e,{form:yt(t.formik,["validate","validationSchema"]),name:i});return n?Object(o.createElement)(n,c):r?r(c):a?"function"==typeof a?a(c):xt(a)?null:o.Children.only(a):null},t}(o.Component);Ht.defaultProps={validateOnChange:!0};o.Component,o.Component;var Yt=n(6),Kt={style:{base:{color:"#32325d",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',fontSmoothing:"antialiased",fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}}};var Zt=function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{htmlFor:"form"},Object(Ke.__)("Card details","wubtitle")),Object(i.createElement)(Yt.CardNumberElement,{options:Kt,className:"num"}),Object(i.createElement)(Yt.CardExpiryElement,{options:Kt,className:"exp"}),Object(i.createElement)(Yt.CardCvcElement,{options:Kt,className:"cvc"}))};function Jt(e){var t=e.createSubscription,n=e.backFunction,r=e.error,c=e.paymentPreValues,u=e.updatePrice,s=e.loading,l=e.coupon,p=e.setCoupon,m=e.planId,h=WP_GLOBALS,v=h.ajaxUrl,b=h.ajaxNonce,y=Object(Yt.useStripe)(),g=Object(Yt.useElements)(),_=Object(o.useState)(!1),O=a()(_,2),j=O[0],w=O[1],E=Object(o.useState)(null),x=a()(E,2),S=x[0],F=x[1],T=Object(o.useState)(!1),A=a()(T,2),C=A[0],P=A[1],k=Object(Ke.__)("Required","wubtitle"),N=Ye((function(){var e={};return c&&!j||(e={name:je().required(k),email:je().email(Object(Ke.__)("Invalid email","wubtitle")).required(k)}),Ue().shape(e)})),I=function(){var e=d()(f.a.mark((function e(n){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(y&&g){e.next=2;break}return e.abrupt("return");case 2:if(r=null,!c||j){e.next=8;break}return n.name=c.name,n.email=c.email,t(r,n,y),e.abrupt("return");case 8:r=g.getElement(Yt.CardNumberElement),t(r,n,y);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(i.createElement)("div",{className:"checkout-form"},c?null:Object(i.createElement)("div",{className:"title-section"},Object(i.createElement)("h2",null,Object(Ke.__)("Coupon","wubtitle"))),c?null:Object(i.createElement)("div",{className:"fields-container flex-container"},Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"name"},Object(Ke.__)("Discount Code","wubtitle")),Object(i.createElement)("input",{name:"coupon",placeholder:"Coupon",value:l,onChange:function(e){return p(e.target.value)}}),Object(i.createElement)("p",{className:"coupon-message"},S)),Object(i.createElement)("div",{className:"form-field-container flex-container center-items"},Object(i.createElement)("button",{className:"coupon-button",disabled:!l||C,onClick:function(){return P(!0),void fetch(v,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_coupon&_ajax_nonce=".concat(b,"&coupon=").concat(l,"&planId=").concat(m)}).then((function(e){return e.json()})).then((function(e){P(!1),e.success?(F(e.data.message),u(e.data)):(F(e.data),u(!1))}))}},C&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Apply Coupon","wubtitle")))),Object(i.createElement)("div",{className:"title-section"},Object(i.createElement)("h2",null,Object(Ke.__)("Payment Details","wubtitle")),c?Object(i.createElement)("div",{className:"switch-container"},Object(i.createElement)("p",null,j?Object(Ke.__)("editing enabled","wubtitle"):Object(Ke.__)("editing disabled","wubtitle")),Object(i.createElement)("label",{htmlFor:"change-data",className:"switch"},Object(i.createElement)("input",{type:"checkbox",onClick:function(){w(!j)}}),Object(i.createElement)("span",{className:"slider round"}))):null),c?Object(i.createElement)("div",{className:"summary columns"},Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Email","wubtitle"),": "),c.email),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Card Details","wubtitle"),": "),c.cardNumber)),Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Card Holder","wubtitle"),": "),c.name),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Expires","wubtitle"),": "),c.expiration))):null,Object(i.createElement)(Lt,{initialValues:{name:"",email:""},validationSchema:N,onSubmit:function(e){I(e)}},(function(e){var t=e.errors,a=e.touched;return Object(i.createElement)($t,null,r&&j||r&&!c?Object(i.createElement)("div",{className:"error-message-container",role:"alert"},Object(i.createElement)("p",{className:"error-message"},r)):"",!c||j?Object(i.createElement)("div",{className:"fields-container"},Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"email"},"E-Mail"),Object(i.createElement)(Ut,{name:"email",placeholder:"Email"}),Object(i.createElement)("p",{className:"error-message"},a.name&&t.name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"name"},Object(Ke.__)("Card Holder","wubtitle")),Object(i.createElement)(Ut,{name:"name",placeholder:"Card Holder"}),Object(i.createElement)("p",{className:"error-message"},a.name&&t.name)),Object(i.createElement)("div",{className:"form-field-container card"},Object(i.createElement)(Zt,null))):null,Object(i.createElement)("div",{className:"button-bar"},Object(i.createElement)("button",{className:"cancel",onClick:function(){return n()}},Object(Ke.__)("Back","wubtitle")),Object(i.createElement)("button",{disabled:!y||s,className:s?"disabled":""},s&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Subscribe","wubtitle"))))})))}var Xt=n(96),Qt=n.n(Xt),en=n(97),tn=n(98),nn=n(59);function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function an(e){var t,n,r=e.invoicePreValues,o=e.handleSubmit,c=e.cancelFunction,u=e.error,s=e.loading,l=WP_GLOBALS,p=l.ajaxUrl,m=l.ajaxNonce,h=Object(Ke.__)("Required","wubtitle"),v=function(){var e=d()(f.a.mark((function e(r){var a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&16===r.length){e.next=2;break}return e.abrupt("return",!0);case 2:if(!t||t!==r){e.next=4;break}return e.abrupt("return",n);case 4:return t=r,e.next=7,fetch(p,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_fiscal_code&_ajax_nonce=".concat(m,"&fiscalCode=").concat(t)});case 7:return a=e.sent,e.next=10,a.json();case 10:return a=e.sent,n=a.data,e.abrupt("return",n);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=Ye((function(e){var t={invoice_name:je().required(h),invoice_email:je().email(Object(Ke.__)("Invalid email","wubtitle")).required(h),invoice_lastname:je().required(h),telephone:je().required(Object(Ke.__)("Telephone number required","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),prefix:je().required(Object(Ke.__)("Prefix required","wubtitle")).matches("^[+][0-9]*$",Object(Ke.__)("Prefix is only numbers","wubtitle")).max(4,Object(Ke.__)("Prefix must be max 3 numbers","wubtitle")),address:je().required(h),city:je().required(h),country:je().required(h)};return nn.includes(e.country)?(e.company_name?(t.vat_code=je().required(h),"IT"===e.country&&(t.vat_code=je().required(h).length(11,Object(Ke.__)("Vat Code must be exactly 11 characters","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),t.fiscal_code=je().length(16,Object(Ke.__)("Fiscal Code must be exactly 16 characters","wubtitle")).test("is-valid-fiscalcode",Object(Ke.__)("Invalid Fiscal Code","wubtitle"),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()))):"IT"===e.country&&(t.fiscal_code=je().required(h).length(16,Object(Ke.__)("Fiscal Code must be exactly 16 characters","wubtitle")).test("is-valid-fiscalcode",Object(Ke.__)("Invalid Fiscal Code","wubtitle"),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())),"IT"===e.country&&(t.cap=je().required(h).length(5,Object(Ke.__)("Postal Code must be exactly 5 characters","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),t.province=je().required(h),t.destination_code=je().length(7,Object(Ke.__)("Destination Code must be exactly 7 characters","wubtitle"))),Ue().shape(t)):Ue().shape(t)})),y={invoice_name:"",invoice_email:"",invoice_lastname:"",prefix:"",telephone:"",company_name:"",address:"",cap:"",city:"",province:"",country:"",vat_code:"",fiscal_code:"",destination_code:"0000000"};r&&("+"!==r.prefix.charAt(0)&&(r.prefix="+".concat(r.prefix)),y=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach((function(t){Qt()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r));return Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(Lt,{initialValues:y,validationSchema:b,onSubmit:function(e){o(e)}},(function(e){var t,n=e.errors,r=e.touched,o=e.values;return Object(i.createElement)($t,null,Object(i.createElement)("h2",null," ",Object(Ke.__)("Billing Details","wubtitle")),u?Object(i.createElement)("div",{className:"error-message-container",role:"alert"},Object(i.createElement)("p",{className:"error-message"},u)):"",Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceName"},Object(Ke.__)("Name","wubtitle")),Object(i.createElement)(Ut,{name:"invoice_name",placeholder:"Name"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_name&&n.invoice_name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceLastname"},Object(Ke.__)("Lastname","wubtitle")),Object(i.createElement)(Ut,{name:"invoice_lastname",placeholder:"Lastname"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_lastname&&n.invoice_lastname)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceEmail"},"E-Mail"),Object(i.createElement)(Ut,{name:"invoice_email",placeholder:"Email"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_email&&n.invoice_email)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"companyName"},Object(Ke.__)("Company Name","wubtitle")),Object(i.createElement)(Ut,{name:"company_name",placeholder:"Company Name"}),Object(i.createElement)("p",{className:"error-message"},r.company_name&&n.company_name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"country"},Object(Ke.__)("Country","wubtitle")),Object(i.createElement)(Ut,{name:"country",component:"select"},Object(i.createElement)("option",{value:"",label:"Select a country"}),Object.entries(en).map((function(e){var t=a()(e,2),n=t[0],r=t[1];return Object(i.createElement)("option",{key:n,value:n,label:r})}))),Object(i.createElement)("p",{className:"error-message"},r.country&&n.country)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"province"},Object(Ke.__)("Province","wubtitle")),Object(i.createElement)(Ut,{name:"province",component:"select"},Object(i.createElement)("option",{value:"",label:"Select a province"}),Object.entries(tn).map((function(e){var t=a()(e,2),n=t[0],r=t[1];return Object(i.createElement)("option",{key:n,value:n,label:r})}))),Object(i.createElement)("p",{className:"error-message"},r.province&&n.province)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"city"},Object(Ke.__)("City","wubtitle")),Object(i.createElement)(Ut,{name:"city",placeholder:"City"}),Object(i.createElement)("p",{className:"error-message"},r.city&&n.city)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"address"},Object(Ke.__)("Address","wubtitle")),Object(i.createElement)(Ut,{name:"address",placeholder:"Address"}),Object(i.createElement)("p",{className:"error-message"},r.address&&n.address)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"cap"},Object(Ke.__)("Postal Code","wubtitle")),Object(i.createElement)(Ut,{name:"cap",placeholder:"CAP"}),Object(i.createElement)("p",{className:"error-message"},r.cap&&n.cap)),Object(i.createElement)("div",{className:"form-field-container ".concat(o.company_name&&nn.includes(o.country)?"":"hidden")},Object(i.createElement)("label",{htmlFor:"vatCode"},Object(Ke.__)("Vat Code","wubtitle")),Object(i.createElement)("div",null,Object(i.createElement)("span",{className:"prefix-input input"},o.country),Object(i.createElement)(Ut,{className:"input-with-prefix",name:"vat_code",placeholder:"Vat Code"})),Object(i.createElement)("p",{className:"error-message"},r.vat_code&&n.vat_code)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"fiscalCode"},Object(Ke.__)("Fiscal Code","wubtitle")),Object(i.createElement)(Ut,{name:"fiscal_code",placeholder:"Fiscal Code"}),Object(i.createElement)("p",{className:"error-message"},r.fiscal_code&&n.fiscal_code)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"telephone"},Object(Ke.__)("Telephone","wubtitle")),Object(i.createElement)("div",null,Object(i.createElement)(Ut,{className:"prefix-input",name:"prefix",placeholder:"+",value:(t=o.prefix,"+"!==t.charAt(0)&&(t="+".concat(t)),t.length>4?t.substring(0,t.length-1):t)}),Object(i.createElement)(Ut,{className:"input-with-prefix",name:"telephone",placeholder:"Telephone"})),Object(i.createElement)("p",{className:"error-message"},r.prefix&&n.prefix&&"".concat(n.prefix,". "),r.telephone&&n.telephone&&"".concat(n.telephone,". "))),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"destination-code"},Object(Ke.__)("Destination Code","wubtitle")),Object(i.createElement)(Ut,{name:"destination_code",placeholder:"Destination Code"}),Object(i.createElement)("p",{className:"error-message"},r.destination_code&&n.destination_code)),Object(i.createElement)("div",{className:"button-bar"},Object(i.createElement)("button",{className:"cancel",onClick:function(){return c()}},Object(Ke.__)("Cancel","wubtitle")),Object(i.createElement)("button",null,s&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Next","wubtitle"))))})))}var on=n(60),cn=n(3),un=n.n(cn);function sn(e){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){ln(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dn(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function mn(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function hn(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}function vn(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),a=hn(t.slice(0,r)),i=t.slice(r+1).trim();return a.startsWith("webkit")?e[(n=a,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[a]=i,e}),{})}var bn=!1;try{bn=!0}catch(e){}function yn(e){return null===e?null:"object"===sn(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function gn(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ln({},e,t):{}}function _n(e){var t=e.forwardedRef,n=dn(e,["forwardedRef"]),r=n.icon,a=n.mask,i=n.symbol,o=n.className,c=n.title,u=yn(r),s=gn("classes",[].concat(mn(function(e){var t,n=e.spin,r=e.pulse,a=e.fixedWidth,i=e.inverse,o=e.border,c=e.listItem,u=e.flip,s=e.size,l=e.rotation,f=e.pull,p=(ln(t={"fa-spin":n,"fa-pulse":r,"fa-fw":a,"fa-inverse":i,"fa-border":o,"fa-li":c,"fa-flip-horizontal":"horizontal"===u||"both"===u,"fa-flip-vertical":"vertical"===u||"both"===u},"fa-".concat(s),null!=s),ln(t,"fa-rotate-".concat(l),null!=l&&0!==l),ln(t,"fa-pull-".concat(f),null!=f),ln(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(p).map((function(e){return p[e]?e:null})).filter((function(e){return e}))}(n)),mn(o.split(" ")))),l=gn("transform","string"==typeof n.transform?on.b.transform(n.transform):n.transform),f=gn("mask",yn(a)),p=Object(on.a)(u,pn({},s,{},l,{},f,{symbol:i,title:c}));if(!p)return function(){var e;!bn&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var d=p.abstract,m={ref:t};return Object.keys(n).forEach((function(e){_n.defaultProps.hasOwnProperty(e)||(m[e]=n[e])})),On(d[0],m)}_n.displayName="FontAwesomeIcon",_n.propTypes={border:un.a.bool,className:un.a.string,mask:un.a.oneOfType([un.a.object,un.a.array,un.a.string]),fixedWidth:un.a.bool,inverse:un.a.bool,flip:un.a.oneOf(["horizontal","vertical","both"]),icon:un.a.oneOfType([un.a.object,un.a.array,un.a.string]),listItem:un.a.bool,pull:un.a.oneOf(["right","left"]),pulse:un.a.bool,rotation:un.a.oneOf([0,90,180,270]),size:un.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:un.a.bool,symbol:un.a.oneOfType([un.a.bool,un.a.string]),title:un.a.string,transform:un.a.oneOfType([un.a.string,un.a.object]),swapOpacity:un.a.bool},_n.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var On=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=vn(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[hn(t)]=r}return e}),{attrs:{}}),o=r.style,c=void 0===o?{}:o,u=dn(r,["style"]);return i.attrs.style=pn({},i.attrs.style,{},c),t.apply(void 0,[n.tag,pn({},i.attrs,{},u)].concat(mn(a)))}.bind(null,c.a.createElement),jn={prefix:"fas",iconName:"arrow-left",icon:[448,512,[],"f060","M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"]},wn={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]};function En(e){var t=e.invoiceValues,n=Object(o.useState)(!1),r=a()(n,2),c=r[0],u=r[1],s=Object(o.useState)("closed"),l=a()(s,2),f=l[0],p=l[1];return Object(i.createElement)("div",{className:"summary ".concat(f)},Object(i.createElement)("div",{className:"accordion-bar"},Object(i.createElement)("h2",null,Object(Ke.__)("Billing Recap","wubtitle")),Object(i.createElement)("span",{className:"accordion is-hidden-on-desktop ".concat(f),onClick:function(){u(!c),p(c?"opened":"closed")},"aria-hidden":"true"},Object(i.createElement)(_n,{icon:wn}))),Object(i.createElement)("div",{className:"columns"},Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Name","wubtitle"),": "),t.invoice_name),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Email","wubtitle"),": "),t.invoice_email),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Country","wubtitle"),": "),t.country),t.cap?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Postal Code","wubtitle"),": "),t.cap):"",Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Address","wubtitle"),": "),t.address),t.vat_code?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("VAT Code","wubtitle"),": "),t.vat_code):""),Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Lastname","wubtitle"),": "),t.invoice_lastname),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Company Name","wubtitle"),": "),t.company_name),t.province?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Province","wubtitle"),": "),t.province):"",Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("City","wubtitle"),": "),t.city),t.fiscal_code?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Fiscal Code","wubtitle"),": "),t.fiscal_code):"","0000000"!==t.destination_code?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Destination Code","wubtitle"),":"," "),t.destination_code):"")))}function xn(){return(xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Sn=o.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Fn=o.createElement("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"});function Tn(e){return o.createElement("svg",xn({viewBox:"0 0 24 24",fill:"#fff",width:18,height:18},e),Sn,Fn)}var An=function(e){var t=e.price,n=e.taxPercentage,r=e.taxAmount,a=e.total,o=e.taxable,c=e.discountedPrice;return c&&(a=o?c.newTotal:c.price,r=c.newTax),Object(i.createElement)("div",null,Object(i.createElement)("table",{className:"price-table"},Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Price","wubtitle")),c?Object(i.createElement)("td",{className:"val"},Object(i.createElement)("span",{className:"cut-vat"},t," €",Object(i.createElement)("span",{className:"cut-line"})),parseFloat(c.price)," €"):Object(i.createElement)("td",{className:"val"},t," €")),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("VAT","wubtitle")," (",n,"%)"),o?Object(i.createElement)("td",{className:"val"},r," €"):Object(i.createElement)("td",{className:"val"},"0 €"," ",Object(i.createElement)("span",{className:"description"},Object(Ke.__)("no Vat due for you","wubtitle")))),Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Total","wubtitle")),Object(i.createElement)("td",{className:"val"},a," €",Object(i.createElement)("span",{className:"valxm"},Object(Ke.__)(" per month","wubtitle"))))),c?Object(i.createElement)("p",{className:"coupon-notice"},Object(Ke.__)("Coupon applied!","wubtitle")):"")},Cn=function(){return Object(i.createElement)("div",{className:"disclaimer"},Object(i.createElement)("p",null,Object(Ke.__)("When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.","wubtitle")),Object(i.createElement)("p",null,Object(i.createElement)("a",{href:"https://stripe.com/checkout/terms",rel:"noreferrer",target:"_blank"},Object(Ke.__)("Terms and conditions","wubtitle")),Object(i.createElement)("span",null," | "),Object(i.createElement)("a",{href:"https://stripe.com/it/privacy",target:"_blank",rel:"noreferrer"},Object(Ke.__)("Privacy","wubtitle"))))},Pn=function(e){var t=e.name,n=e.update;return Object(i.createElement)("p",{className:"price-name"},n?Object(Ke.__)("Update billing or payment details"):"".concat(Object(Ke.__)("Subscribe to","wubtitle")," ").concat(t," ").concat(Object(Ke.__)("plan","wubtitle")))},kn=function(e){var t=e.currentPlan,n=e.taxPercentage,r=e.renewal,a=e.taxable,o=e.taxAmount,c=e.price,u=e.total;return Object(i.createElement)("table",{className:"price-table"},Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Your plan","wubtitle")),Object(i.createElement)("td",{className:"val"},t)),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(i.createElement)("td",null,Object(Ke.__)("Price","wubtitle"))),Object(i.createElement)("td",{className:"val"},c," €")),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("VAT","wubtitle")," (",n,"%)"),a?Object(i.createElement)("td",{className:"val"},o," €"):Object(i.createElement)("td",{className:"val"},"0 €"," ",Object(i.createElement)("span",{className:"description"},Object(Ke.__)("no Vat due for you","wubtitle")))),Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Total","wubtitle")),Object(i.createElement)("td",{className:"val"},u," €",Object(i.createElement)("span",{className:"valxm"},Object(Ke.__)(" per month","wubtitle")))),r?Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Automatic renewal","wubtitle")),Object(i.createElement)("td",{className:"val"},r)):null)},Nn=function(e){var t=e.update,n=e.price,r=e.name,c=e.taxAmount,u=e.taxPercentage,s=e.taxable,l=e.expirationDate,f=e.discountedPrice,p=parseFloat(n);s&&(p=parseFloat(n)+parseFloat(c));var d=Object(o.useState)(!1),m=a()(d,2),h=m[0],v=m[1];return Object(i.createElement)("div",{className:"column price-column"},Object(i.createElement)("div",{className:"price"},Object(i.createElement)(Pn,{name:r,update:t}),t?null:Object(i.createElement)("p",{className:"mobile-price-info is-hidden-on-desktop"},f?Object(i.createElement)("span",{className:"cut-vat"},Object(i.createElement)("span",{className:"total"},p," €",Object(i.createElement)("span",{className:"cut-line"})),Object(i.createElement)("span",{className:"total"},parseFloat(f.newTotal)," ","€")):Object(i.createElement)("span",{className:"total"},p," € "),Object(i.createElement)("span",{className:"valxm"},Object(Ke.__)("per month","wubtitle")),Object(i.createElement)(Tn,{className:"info-icon",onClick:function(){return v(!h)}})),t?Object(i.createElement)(kn,{currentPlan:r,renewal:l,taxable:s,taxAmount:c,price:n,taxPercentage:u,total:p}):Object(i.createElement)(An,{price:n,taxPercentage:u,taxAmount:c,taxable:s,total:p,discountedPrice:f})),Object(i.createElement)(Cn,null),Object(i.createElement)("div",{className:h?"mobile-price-view opened":"mobile-price-view"},Object(i.createElement)("div",{className:"top"},Object(i.createElement)("div",{className:"nav-back",onClick:function(){return v(!h)},"aria-hidden":"true"},Object(i.createElement)("span",null,Object(i.createElement)(_n,{icon:jn}),"Subscription details")),Object(i.createElement)(Pn,{name:r,update:t}),Object(i.createElement)(An,{price:n,taxPercentage:u,taxAmount:c,taxable:s,total:p,discountedPrice:f})),Object(i.createElement)(Cn,null)))};function In(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Mn="https://js.stripe.com/v3",Rn=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Dn="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Ln=null,zn=function(e){return null!==Ln?Ln:Ln=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(Dn),window.Stripe)t(window.Stripe);else try{var r=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Mn,'"]')),t=0;t<e.length;t++){var n=e[t];if(Rn.test(n.src))return n}return null}();r&&e?console.warn(Dn):r||(r=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(Mn).concat(t);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n}(e)),r.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),r.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}))},Vn=function(e,t){if(null===e)return null;var n=e.apply(void 0,In(t));return function(e){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.8.0"})}(n),n},Bn=Promise.resolve().then((function(){return zn(null)})),Un=!1;Bn.catch((function(e){Un||console.warn(e)}));var $n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Un=!0,Bn.then((function(e){return Vn(e,t)}))};document.getElementById("root")&&s.a.render(Object(i.createElement)((function(){var e=WP_GLOBALS,t=e.stripeKey,n=e.planId,r=e.ajaxUrl,c=e.ajaxNonce,u=e.pricePlan,s=e.namePlan,l=e.taxAmount,f=e.taxPercentage,p=$n(t),d=Object(o.useState)(!1),m=a()(d,2),h=m[0],v=m[1],b=Object(o.useState)(null),y=a()(b,2),g=y[0],_=y[1],O=Object(o.useState)(null),j=a()(O,2),w=j[0],E=j[1],x=Object(o.useState)(null),S=a()(x,2),F=S[0],T=S[1],A=Object(o.useState)(!1),C=a()(A,2),P=C[0],k=C[1],N=Object(o.useState)(!1),I=a()(N,2),M=I[0],R=I[1],D=function(e,t,a){var i=a.name,o=a.email;fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=confirm_subscription&actionCheckout=create&coupon=".concat(g||"","&name=").concat(i,"&email=").concat(o,"&planId=").concat(n,"&_ajax_nonce=").concat(c,"&setupIntent=").concat(JSON.stringify(e))}).then((function(e){return e.json()})).then((function(n){n.success?(E(null),n.data&&"requires_action"===n.data.status?(E(null),function(e,t,n){n.confirmCardPayment(e,{payment_method:t,setup_future_usage:"off_session"}).then((function(e){"succeeded"===e.paymentIntent.status&&(v(!1),E(null),window.opener.thankYouPage("upgrade")),e.error&&(v(!1),E(e.error.message))}))}(n.data.clientSecret,e.paymentMethod,t)):(v(!1),window.opener.thankYouPage("upgrade"))):(v(!1),E(n.data))}))};return Object(i.createElement)("div",{className:"main columns"},Object(i.createElement)(Nn,{update:!1,price:u,name:s,taxAmount:l,taxPercentage:f,taxable:!F||F.tax,discountedPrice:M}),Object(i.createElement)(Yt.Elements,{stripe:p},F&&!P?Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(En,{invoiceValues:F,price:u}),Object(i.createElement)(Jt,{createSubscription:function(e,t,n){v(!0);var a=t.email;fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=create_subscription&actionCheckout=create&email=".concat(a,"&_ajax_nonce=").concat(c,"&invoiceObject=").concat(JSON.stringify(F))}).then((function(e){return e.json()})).then((function(r){r.success?function(e,t,n,r){var a=n.name,i=n.email;r.confirmCardSetup(e,{payment_method:{type:"card",card:t,billing_details:{name:a,email:i}}}).then((function(e){e.setupIntent&&"succeeded"===e.setupIntent.status&&(E(null),D(e,r,n)),e.error&&(v(!1),E(e.error.message))}))}(r.data,e,t,n):(v(!1),E(r.data))}))},error:w,backFunction:function(){k(!0),E(null)},paymentPreValues:null,updatePrice:function(e){R(e||!1)},loading:h,coupon:g,setCoupon:_,planId:n})):Object(i.createElement)(an,{handleSubmit:function(e){v(!0),fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_vat_code&_ajax_nonce=".concat(c,"&vat_code=").concat(e.vat_code,"&country=").concat(e.country,"&price_plan=").concat(u,"&companyName=").concat(e.company_name)}).then((function(e){return e.json()})).then((function(t){v(!1),t.success?(E(null),e.tax=t.data,T(e),P&&k(!1)):E(t.data)}))},invoicePreValues:F,error:w,cancelFunction:function(){window.opener.cancelPayment()},loading:h})))}),null),document.getElementById("root")),document.getElementById("update-form")&&s.a.render(Object(i.createElement)((function(){var e=WP_GLOBALS,t=e.stripeKey,n=e.ajaxUrl,r=e.ajaxNonce,c=e.pricePlan,u=e.invoicePreValues,s=e.paymentPreValues,l=e.namePlan,f=e.expirationDate,p=e.taxAmount,d=e.taxPercentage,m=e.isTaxable,h=$n(t),v=Object(o.useState)(null),b=a()(v,2),y=b[0],g=b[1],_=Object(o.useState)(!1),O=a()(_,2),j=O[0],w=O[1],E=Object(o.useState)(null),x=a()(E,2),S=x[0],F=x[1],T=Object(o.useState)(!1),A=a()(T,2),C=A[0],P=A[1],k=Object(o.useState)(!0),N=a()(k,2),I=N[0],M=N[1];Object(o.useEffect)((function(){null!==m&&M(m)}),[m]);var R=function(e,t,a,i){var o=a.name,c=a.email;i.confirmCardSetup(e,{payment_method:{type:"card",card:t,billing_details:{name:o,email:c}}}).then((function(e){e.setupIntent&&"succeeded"===e.setupIntent.status&&(g(null),function(e,t,a){var i=a.name,o=a.email;fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=confirm_subscription&actionCheckout=updateCard&name=".concat(i,"&email=").concat(o,"&_ajax_nonce=").concat(r,"&setupIntent=").concat(JSON.stringify(e))}).then((function(e){return e.json()})).then((function(e){e.success?(w(!1),window.opener.thankYouPage("update")):(w(!1),g(e.data))}))}(e,0,a)),e.error&&(w(!1),g(e.error.message))}))};return Object(i.createElement)("div",{className:"main columns"},Object(i.createElement)(Nn,{update:!0,price:c,name:l,taxAmount:p,taxPercentage:d,taxable:I,expirationDate:f,discountedPrice:!1}),Object(i.createElement)(Yt.Elements,{stripe:h},S&&!C?Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(En,{invoiceValues:S,price:c}),Object(i.createElement)(Jt,{createSubscription:function(e,t,a){w(!0);var i=t.email,o="updateInvoice";e&&(o="updateCard"),fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=create_subscription&actionCheckout=".concat(o,"&email=").concat(i,"&_ajax_nonce=").concat(r,"&invoiceObject=").concat(JSON.stringify(S))}).then((function(e){return e.json()})).then((function(n){"updateInvoice"===n.data?(w(!1),g(null),window.opener.thankYouPage("update")):n.success?R(n.data,e,t,a):(w(!1),g(n.data))}))},backFunction:function(){P(!0),g(null)},paymentPreValues:s,error:y,setError:g,loading:j})):Object(i.createElement)(an,{handleSubmit:function(e){w(!0),fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_vat_code&_ajax_nonce=".concat(r,"&vat_code=").concat(e.vat_code,"&country=").concat(e.country,"&price_plan=").concat(c)}).then((function(e){return e.json()})).then((function(t){w(!1),t.success?(g(null),M(t.data),F(e),C&&P(!1)):g(t.data)}))},invoicePreValues:S||u,error:y,cancelFunction:function(){window.close()},loading:j})))}),null),document.getElementById("update-form"))}]);
     1!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=217)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t,n){e.exports=n(215)()},function(e,t,n){var r=n(99),a=n(100),i=n(101),o=n(103);e.exports=function(e,t){return r(e)||a(e,t)||i(e,t)||o()}},function(e,t,n){var r=n(104),a=n(61);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t,n){!function(e,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(){}function o(){}t=t&&t.hasOwnProperty("default")?t.default:t,o.resetWarningCache=i;var c=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){e.exports=function(){function e(e,t,n,r,a,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}()})),u=function(e){return null!==e&&"object"===n(e)},s=function e(t,n){if(!u(t)||!u(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var a="[object Object]"===Object.prototype.toString.call(t);if(a!==("[object Object]"===Object.prototype.toString.call(n)))return!1;if(!a&&!r)return!1;var i=Object.keys(t),o=Object.keys(n);if(i.length!==o.length)return!1;for(var c={},s=0;s<i.length;s+=1)c[i[s]]=!0;for(var l=0;l<o.length;l+=1)c[o[l]]=!0;var f=Object.keys(c);if(f.length!==i.length)return!1;var p=t,d=n;return f.every((function(t){return e(p[t],d[t])}))},l=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),n.current},f=function(e){if(null===e||u(t=e)&&"function"==typeof t.elements&&"function"==typeof t.createToken&&"function"==typeof t.createPaymentMethod&&"function"==typeof t.confirmCardPayment)return e;var t;throw new Error("Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},p=function(e){if(function(e){return u(e)&&"function"==typeof e.then}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(f)};var t=f(e);return null===t?{tag:"empty"}:{tag:"sync",stripe:t}},d=t.createContext(null);d.displayName="ElementsContext";var m=function(e){var n=e.stripe,r=e.options,i=e.children,o=t.useRef(!1),c=t.useRef(!0),u=t.useMemo((function(){return p(n)}),[n]),f=a(t.useState((function(){return{stripe:null,elements:null}})),2),m=f[0],h=f[1],v=l(n),b=l(r);return null!==v&&(v!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it."),s(r,b)||console.warn("Unsupported prop change on Elements: You cannot change the `options` prop after setting the `stripe` prop.")),o.current||("sync"===u.tag&&(o.current=!0,h({stripe:u.stripe,elements:u.stripe.elements(r)})),"async"===u.tag&&(o.current=!0,u.stripePromise.then((function(e){e&&c.current&&h({stripe:e,elements:e.elements(r)})})))),t.useEffect((function(){return function(){c.current=!1}}),[]),t.useEffect((function(){var e=m.stripe;e&&e._registerWrapper&&e._registerWrapper({name:"react-stripe-js",version:"1.1.2"})}),[m.stripe]),t.createElement(d.Provider,{value:m},i)};m.propTypes={stripe:c.any,options:c.object};var h=function(e){return function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e}(t.useContext(d),e)},v=function(e){return(0,e.children)(h("mounts <ElementsConsumer>"))};v.propTypes={children:c.func.isRequired};var b=function(e){var n=t.useRef(e);return t.useEffect((function(){n.current=e}),[e]),function(){n.current&&n.current.apply(n,arguments)}},y=function(e){return u(e)?(e.paymentRequest,r(e,["paymentRequest"])):{}},g=function(){},_=function(e,n){var r,a="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),i=n?function(e){h("mounts <".concat(a,">"));var n=e.id,r=e.className;return t.createElement("div",{id:n,className:r})}:function(n){var r=n.id,i=n.className,o=n.options,c=void 0===o?{}:o,u=n.onBlur,l=void 0===u?g:u,f=n.onFocus,p=void 0===f?g:f,d=n.onReady,m=void 0===d?g:d,v=n.onChange,_=void 0===v?g:v,O=n.onEscape,j=void 0===O?g:O,w=n.onClick,E=void 0===w?g:w,x=h("mounts <".concat(a,">")).elements,S=t.useRef(null),F=t.useRef(null),T=b(m),A=b(l),C=b(p),P=b(E),k=b(_),N=b(j);t.useLayoutEffect((function(){if(null==S.current&&x&&null!=F.current){var t=x.create(e,c);S.current=t,t.mount(F.current),t.on("ready",(function(){return T(t)})),t.on("change",k),t.on("blur",A),t.on("focus",C),t.on("escape",N),t.on("click",P)}}));var I=t.useRef(c);return t.useEffect((function(){I.current&&I.current.paymentRequest!==c.paymentRequest&&console.warn("Unsupported prop change: options.paymentRequest is not a customizable property.");var e=y(c);0===Object.keys(e).length||s(e,y(I.current))||S.current&&(S.current.update(e),I.current=c)}),[c]),t.useEffect((function(){return function(){S.current&&S.current.destroy()}}),[]),t.createElement("div",{id:r,className:i,ref:F})};return i.propTypes={id:c.string,className:c.string,onChange:c.func,onBlur:c.func,onFocus:c.func,onReady:c.func,onClick:c.func,options:c.object},i.displayName=a,i.__elementType=e,i},O="undefined"==typeof window,j=_("auBankAccount",O),w=_("card",O),E=_("cardNumber",O),x=_("cardExpiry",O),S=_("cardCvc",O),F=_("fpxBank",O),T=_("iban",O),A=_("idealBank",O),C=_("paymentRequestButton",O);e.AuBankAccountElement=j,e.CardCvcElement=S,e.CardElement=w,e.CardExpiryElement=x,e.CardNumberElement=E,e.Elements=m,e.ElementsConsumer=v,e.FpxBankElement=F,e.IbanElement=T,e.IdealBankElement=A,e.PaymentRequestButtonElement=C,e.useElements=function(){return h("calls useElements()").elements},e.useStripe=function(){return h("calls useStripe()").stripe},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(1))},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(63),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=Array.isArray,a=Object.keys,i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;e.exports=function(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var c,u,s,l=r(t),f=r(n);if(l&&f){if((u=t.length)!=n.length)return!1;for(c=u;0!=c--;)if(!e(t[c],n[c]))return!1;return!0}if(l!=f)return!1;var p=t instanceof Date,d=n instanceof Date;if(p!=d)return!1;if(p&&d)return t.getTime()==n.getTime();var m=t instanceof RegExp,h=n instanceof RegExp;if(m!=h)return!1;if(m&&h)return t.toString()==n.toString();var v=a(t);if((u=v.length)!==a(n).length)return!1;for(c=u;0!=c--;)if(!i.call(n,v[c]))return!1;if(o&&t instanceof Element&&n instanceof Element)return t===n;for(c=u;0!=c--;)if(!("_owner"===(s=v[c])&&t.$$typeof||e(t[s],n[s])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},function(e,t,n){"use strict";function r(e){this._maxSize=e,this.clear()}r.prototype.clear=function(){this._size=0,this._values=Object.create(null)},r.prototype.get=function(e){return this._values[e]},r.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var a=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,o=/^\d/,c=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,u=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new r(512),l=new r(512),f=new r(512);function p(e){return s.get(e)||s.set(e,d(e).map((function(e){return e.replace(u,"$2")})))}function d(e){return e.match(a)}function m(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function h(e){return!m(e)&&(function(e){return e.match(o)&&!e.match(i)}(e)||function(e){return c.test(e)}(e))}e.exports={Cache:r,split:d,normalizePath:p,setter:function(e){var t=p(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,a=t.length;r<a-1;)e=e[t[r++]];e[t[r]]=n}))},getter:function(e,t){var n=p(e);return f.get(e)||f.set(e,(function(e){for(var r=0,a=n.length;r<a;){if(null==e&&t)return;e=e[n[r++]]}return e}))},join:function(e){return e.reduce((function(e,t){return e+(m(t)||i.test(t)?"["+t+"]":(e?".":"")+t)}),"")},forEach:function(e,t,n){!function(e,t,n){var r,a,i,o,c=e.length;for(a=0;a<c;a++)(r=e[a])&&(h(r)&&(r='"'+r+'"'),o=m(r),i=!o&&/^\d+$/.test(r),t.call(n,r,o,i,a,e))}(Array.isArray(e)?e:d(e),t,n)}}},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t,n){var r=n(15),a=n(105),i=n(106),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?a(e):i(e)}},function(e,t,n){var r=n(112),a=n(115);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(8).Symbol;e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(130);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(70),a=n(143),i=n(47);e.exports=function(e){return i(e)?r(e):a(e)}},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.apply(e)}function a(e){this.status="pending",this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function i(e){return e&&"function"==typeof e.then}function o(e){return e}if(a.prototype={then:function(e,t){var n=a.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:n,nextFn:e,catchFn:t}),n;if(t)try{var r=t(this._error);return i(r)?(this._chainPromiseData(r,n),n):a.resolve(r)._setParent(this)}catch(e){return a.reject(e)._setParent(this)}return a.reject(this._error)._setParent(this)}return this._continuations.push({promise:n,nextFn:e,catchFn:t}),this._runResolutions(),n},catch:function(e){if(this._isResolved())return a.resolve(this._data)._setParent(this);var t=a.unresolved()._setParent(this);return this._continuations.push({promise:t,catchFn:e}),this._runRejections(),t},finally:function(e){var t=!1;function n(n,r){if(!t){t=!0,e||(e=o);var a=e(n);return i(a)?a.then((function(){if(r)throw r;return n})):n}}return this.then((function(e){return n(e)})).catch((function(e){return n(null,e)}))},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce((function(e,t){if(t.promise){var n={promise:t.promise,children:t.promise._findAncestry()};e.push(n)}return e}),[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var t=this._findFirstPending();t&&(t._data=e,t._setResolved())},_findFirstPending:function(){return this._findFirstAncestor((function(e){return e._isPending&&e._isPending()}))},_findFirstPaused:function(){return this._findFirstAncestor((function(e){return e._paused}))},_findFirstAncestor:function(e){for(var t,n=this;n;)e(n)&&(t=n),n=n._parent;return t},_failWith:function(e){var t=this._findFirstPending();t&&(t._error=e,t._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var e=this._error,t=this._takeContinuations(),n=this;t.forEach((function(t){if(t.catchFn)try{var r=t.catchFn(e);n._handleUserFunctionResult(r,t.promise)}catch(e){t.promise.reject(e)}else t.promise.reject(e)}))}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var e=this._takeContinuations();if(i(this._data))return this._handleWhenResolvedDataIsPromise(this._data);var t=this._data,n=this;e.forEach((function(e){if(e.nextFn)try{var r=e.nextFn(t);n._handleUserFunctionResult(r,e.promise)}catch(t){n._handleResolutionError(t,e)}else e.promise&&e.promise.resolve(t)}))}},_handleResolutionError:function(e,t){if(this._setRejected(),t.catchFn)try{return void t.catchFn(e)}catch(t){e=t}t.promise&&t.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var t=this;return e.then((function(e){t._data=e,t._runResolutions()})).catch((function(e){t._error=e,t._setRejected(),t._runRejections()}))},_handleUserFunctionResult:function(e,t){i(e)?this._chainPromiseData(e,t):t.resolve(e)},_chainPromiseData:function(e,t){e.then((function(e){t.resolve(e)})).catch((function(e){t.reject(e)}))},_setResolved:function(){this.status="resolved",this._paused||this._runResolutions()},_setRejected:function(){this.status="rejected",this._paused||this._runRejections()},_isPending:function(){return"pending"===this.status},_isResolved:function(){return"resolved"===this.status},_isRejected:function(){return"rejected"===this.status}},a.resolve=function(e){return new a((function(t,n){i(e)?e.then((function(e){t(e)})).catch((function(e){n(e)})):t(e)}))},a.reject=function(e){return new a((function(t,n){n(e)}))},a.unresolved=function(){return new a((function(e,t){this.resolve=e,this.reject=t}))},a.all=function(){var e=r(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new a((function(t,n){var r=[],i=0,o=!1;e.forEach((function(c,u){a.resolve(c).then((function(n){r[u]=n,(i+=1)===e.length&&t(r)})).catch((function(e){!function(e){o||(o=!0,n(e))}(e)}))}))})):a.resolve([])},Promise===a)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var c=Promise;a.installGlobally=function(e){if(Promise===a)return e;var t=function(e){if(void 0===e||e.__patched)return e;var t=e;return(e=function(){t.apply(this,r(arguments))}).__patched=!0,e}(e);return Promise=a,t},a.uninstallGlobally=function(){Promise===a&&(Promise=c)},e.exports={SynchronousPromise:a}},function(e,t,n){var r=n(24);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(153),a=n(37),i=n(154),o=n(155),c=n(156),u=n(13),s=n(66),l=s(r),f=s(a),p=s(i),d=s(o),m=s(c),h=u;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||a&&"[object Map]"!=h(new a)||i&&"[object Promise]"!=h(i.resolve())||o&&"[object Set]"!=h(new o)||c&&"[object WeakMap]"!=h(new c))&&(h=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},function(e,t){function n(e,t,n,r,a,i,o){try{var c=e[i](o),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,i){var o=e.apply(t,r);function c(e){n(o,a,i,c,u,"next",e)}function u(e){n(o,a,i,c,u,"throw",e)}c(void 0)}))}}},function(e){e.exports=JSON.parse('["AT","BE","BG","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"]')},function(e,t,n){var r=n(13),a=n(9);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(14)(Object,"create");e.exports=r},function(e,t,n){var r=n(120),a=n(121),i=n(122),o=n(123),c=n(124);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(36);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(126);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(138);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(69),a=n(30);e.exports=function(e,t,n,i){var o=!n;n||(n={});for(var c=-1,u=t.length;++c<u;){var s=t[c],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?a(n,s,l):r(n,s,l)}return n}},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){var r=n(30),a=n(84),i=n(85);e.exports=function(e,t){var n={};return t=i(t,3),a(e,(function(e,a,i){r(n,a,t(e,a,i))})),n}},function(e,t,n){var r=n(7),a=n(24),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(o.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(109),a=n(125),i=n(127),o=n(128),c=n(129);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(14)(n(8),"Map");e.exports=r},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(41),a=n(137),i=n(69),o=n(139),c=n(145),u=n(148),s=n(48),l=n(149),f=n(151),p=n(77),d=n(152),m=n(21),h=n(157),v=n(158),b=n(163),y=n(7),g=n(42),_=n(165),O=n(16),j=n(167),w=n(18),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,x,S,F,T){var A,C=1&n,P=2&n,k=4&n;if(x&&(A=F?x(t,S,F,T):x(t)),void 0!==A)return A;if(!O(t))return t;var N=y(t);if(N){if(A=h(t),!C)return s(t,A)}else{var I=m(t),M="[object Function]"==I||"[object GeneratorFunction]"==I;if(g(t))return u(t,C);if("[object Object]"==I||"[object Arguments]"==I||M&&!F){if(A=P||M?{}:b(t),!C)return P?f(t,c(A,t)):l(t,o(A,t))}else{if(!E[I])return F?t:{};A=v(t,I,C)}}T||(T=new r);var R=T.get(t);if(R)return R;T.set(t,A),j(t)?t.forEach((function(r){A.add(e(r,n,x,r,t,T))})):_(t)&&t.forEach((function(r,a){A.set(a,e(r,n,x,a,t,T))}));var D=k?P?d:p:P?keysIn:w,L=N?void 0:D(t);return a(L||t,(function(r,a){L&&(r=t[a=r]),i(A,a,e(r,n,x,a,t,T))})),A}},function(e,t,n){var r=n(27),a=n(132),i=n(133),o=n(134),c=n(135),u=n(136);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=a,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=c,s.prototype.set=u,e.exports=s},function(e,t,n){(function(e){var r=n(8),a=n(141),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=o&&o.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||a;e.exports=u}).call(this,n(43)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(63),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=c}).call(this,n(43)(e))},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(65),a=n(39);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(150),a=n(74),i=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return i.call(e,t)})))}:a;e.exports=c},function(e,t,n){var r=n(72)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(79);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(40);e.exports=function(e,t){return r(e,5,t="function"==typeof t?t:void 0)}},function(e,t,n){var r=n(15),a=n(48),i=n(21),o=n(47),c=n(169),u=n(170),s=n(80),l=n(81),f=n(82),p=n(173),d=r?r.iterator:void 0;e.exports=function(e){if(!e)return[];if(o(e))return c(e)?f(e):a(e);if(d&&e[d])return u(e[d]());var t=i(e);return("[object Map]"==t?s:"[object Set]"==t?l:p)(e)}},function(e,t,n){var r=n(91)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},function(e,t,n){var r=n(13),a=n(50),i=n(9),o=Function.prototype,c=Object.prototype,u=o.toString,s=c.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=a(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},function(e,t,n){var r=n(40);e.exports=function(e){return r(e,4)}},function(e,t,n){var r=n(38),a=n(48),i=n(7),o=n(24),c=n(64),u=n(20),s=n(17);e.exports=function(e){return i(e)?r(e,u):o(e)?[e]:a(c(s(e)))}},function(e,t,n){"use strict";e.exports=n(209)},function(e,t,n){"use strict";var r=n(210),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function u(e){return r.isMemo(e)?o:c[e.$$typeof]||a}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=o;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=d(n);a&&a!==m&&e(t,a,r)}var o=l(n);f&&(o=o.concat(f(n)));for(var c=u(t),h=u(n),v=0;v<o.length;++v){var b=o[v];if(!(i[b]||r&&r[b]||h&&h[b]||c&&c[b])){var y=p(n,b);try{s(t,b,y)}catch(e){}}}}return t}},function(e,t,n){"use strict";(function(e,r){function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return Ee})),n.d(t,"b",(function(){return we}));var s=function(){},l={},f={},p={mark:s,measure:s};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(p=performance)}catch(e){}var d=(l.navigator||{}).userAgent,m=void 0===d?"":d,h=l,v=f,b=p,y=(h.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&"function"==typeof v.createElement),g=(~m.indexOf("MSIE")||m.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),_=g.concat([11,12,13,14,15,16,17,18,19,20]),O={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},j=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",O.GROUP,O.SWAP_OPACITY,O.PRIMARY,O.SECONDARY].concat(g.map((function(e){return"".concat(e,"x")}))).concat(_.map((function(e){return"w-".concat(e)}))),h.FontAwesomeConfig||{});if(v&&"function"==typeof v.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=u(e,2),n=t[0],r=t[1],a=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=v.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=a&&(j[r]=a)}))}var w=c({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},j);w.autoReplaceSvg||(w.observeMutations=!1);var E=c({},w);h.FontAwesomeConfig=E;var x=h||{};x.___FONT_AWESOME___||(x.___FONT_AWESOME___={}),x.___FONT_AWESOME___.styles||(x.___FONT_AWESOME___.styles={}),x.___FONT_AWESOME___.hooks||(x.___FONT_AWESOME___.hooks={}),x.___FONT_AWESOME___.shims||(x.___FONT_AWESOME___.shims=[]);var S=x.___FONT_AWESOME___,F=[];y&&((v.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(v.readyState)||v.addEventListener("DOMContentLoaded",(function e(){v.removeEventListener("DOMContentLoaded",e),1,F.map((function(e){return e()}))})));var T,A=function(){},C=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,P=void 0===r?setTimeout:r,k=[];function N(){for(var e=0;e<k.length;e++)k[e][0](k[e][1]);k=[],T=!1}function I(e,t){k.push([e,t]),T||(T=!0,P(N,0))}function M(e){var t=e.owner,n=t._state,r=t._data,a=e[n],i=e.then;if("function"==typeof a){n="fulfilled";try{r=a(r)}catch(e){z(i,e)}}R(i,r)||("fulfilled"===n&&D(i,r),"rejected"===n&&z(i,r))}function R(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===a(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?L(e,r):D(e,r))}),(function(t){n||(n=!0,z(e,t))})),!0}}catch(t){return n||z(e,t),!0}return!1}function D(e,t){e!==t&&R(e,t)||L(e,t)}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,I(B,e))}function z(e,t){"pending"===e._state&&(e._state="settled",e._data=t,I(U,e))}function V(e){e._then=e._then.forEach(M)}function B(e){e._state="fulfilled",V(e)}function U(t){t._state="rejected",V(t),!t._handled&&C&&e.process.emit("unhandledRejection",t._data,t)}function $(t){e.process.emit("rejectionHandled",t)}function G(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof G==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){z(t,e)}try{e((function(e){D(t,e)}),n)}catch(e){n(e)}}(e,this)}G.prototype={constructor:G,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(A),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&C&&I($,this)),"fulfilled"===this._state||"rejected"===this._state?I(M,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},G.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new G((function(t,n){var r=[],a=0;function i(e){return a++,function(n){r[e]=n,--a||t(r)}}for(var o,c=0;c<e.length;c++)(o=e[c])&&"function"==typeof o.then?o.then(i(c),n):r[c]=o;a||t(r)}))},G.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new G((function(t,n){for(var r,a=0;a<e.length;a++)(r=e[a])&&"function"==typeof r.then?r.then(t,n):t(r)}))},G.resolve=function(e){return e&&"object"===a(e)&&e.constructor===G?e:new G((function(t){t(e)}))},G.reject=function(e){return new G((function(t,n){n(e)}))};var W={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function q(e){if(e&&y){var t=v.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=v.head.childNodes,r=null,a=n.length-1;a>-1;a--){var i=n[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return v.head.insertBefore(t,r),e}}function H(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Y(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function K(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Z(e){return e.size!==W.size||e.x!==W.x||e.y!==W.y||e.rotate!==W.rotate||e.flipX||e.flipY}function J(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(i," ").concat(o," ").concat(c)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var X={x:0,y:0,width:"100%",height:"100%"};function Q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ee(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,i=e.iconName,o=e.transform,u=e.symbol,s=e.title,l=e.maskId,f=e.titleId,p=e.extra,d=e.watchable,m=void 0!==d&&d,h=r.found?r:n,v=h.width,b=h.height,y="fa-w-".concat(Math.ceil(v/b*16)),g=[E.replacementClass,i?"".concat(E.familyPrefix,"-").concat(i):"",y].filter((function(e){return-1===p.classes.indexOf(e)})).concat(p.classes).join(" "),_={children:[],attributes:c({},p.attributes,{"data-prefix":a,"data-icon":i,class:g,role:p.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(b)})};m&&(_.attributes["data-fa-i2svg"]=""),s&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||H())},children:[s]});var O=c({},_,{prefix:a,iconName:i,main:n,mask:r,maskId:l,transform:o,symbol:u,styles:p.styles}),j=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,a=e.main,i=e.mask,o=e.maskId,u=e.transform,s=a.width,l=a.icon,f=i.width,p=i.icon,d=J({transform:u,containerWidth:f,iconWidth:s}),m={tag:"rect",attributes:c({},X,{fill:"white"})},h=l.children?{children:l.children.map(Q)}:{},v={tag:"g",attributes:c({},d.inner),children:[Q(c({tag:l.tag,attributes:c({},l.attributes,d.path)},h))]},b={tag:"g",attributes:c({},d.outer),children:[v]},y="mask-".concat(o||H()),g="clip-".concat(o||H()),_={tag:"mask",attributes:c({},X,{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,b]},O={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(t=p,"g"===t.tag?t.children:[t])},_]};return n.push(O,{tag:"rect",attributes:c({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(y,")")},X)}),{children:n,attributes:r}}(O):function(e){var t=e.children,n=e.attributes,r=e.main,a=e.transform,i=K(e.styles);if(i.length>0&&(n.style=i),Z(a)){var o=J({transform:a,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:c({},o.outer),children:[{tag:"g",attributes:c({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:c({},r.icon.attributes,o.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(O),w=j.children,x=j.attributes;return O.children=w,O.attributes=x,u?function(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:c({},a,{id:!0===i?"".concat(t,"-").concat(E.familyPrefix,"-").concat(n):i}),children:r}]}]}(O):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,i=e.styles,o=e.transform;if(Z(o)&&n.found&&!r.found){var u={x:n.width/n.height/2,y:.5};a.style=K(c({},i,{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(O)}var te=function(){},ne=(E.measurePerformance&&b&&b.mark&&b.measure,function(e,t,n,r){var a,i,o,c=Object.keys(e),u=c.length,s=void 0!==r?function(e,t){return function(n,r,a,i){return e.call(t,n,r,a,i)}}(t,r):t;for(void 0===n?(a=1,o=e[c[0]]):(a=0,o=n);a<u;a++)o=s(o,e[i=c[a]],i,e);return o});function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,i=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof S.hooks.addPack||a?S.styles[e]=c({},S.styles[e]||{},i):S.hooks.addPack(e,i),"fas"===e&&re("fa",t)}var ae=S.styles,ie=S.shims,oe=function(){var e=function(e){return ne(ae,(function(t,n,r){return t[r]=ne(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in ae;ne(ie,(function(e,n){var r=n[0],a=n[1],i=n[2];return"far"!==a||t||(a="fas"),e[r]={prefix:a,iconName:i},e}),{})};oe();S.styles;function ce(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ue(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,i=void 0===a?[]:a;return"string"==typeof e?Y(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Y(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(ue).join(""),"</").concat(t,">")}var se=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e}),t):t};function le(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}le.prototype=Object.create(Error.prototype),le.prototype.constructor=le;var fe={fill:"currentColor"},pe={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},de={tag:"path",attributes:c({},fe,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},me=c({},pe,{attributeName:"opacity"});c({},fe,{cx:"256",cy:"364",r:"28"}),c({},pe,{attributeName:"r",values:"28;14;28;28;14;28;"}),c({},me,{values:"1;0;1;1;0;1;"}),c({},fe,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),c({},me,{values:"1;0;0;0;0;1;"}),c({},fe,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),c({},me,{values:"0;0;1;1;0;0;"}),S.styles;function he(e){var t=e[0],n=e[1],r=u(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.GROUP)},children:[{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(E.familyPrefix,"-").concat(O.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}S.styles;function ve(){var e="svg-inline--fa",t=E.familyPrefix,n=E.replacementClass,r='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if("fa"!==t||n!==e){var a=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(e),"g");r=r.replace(a,".".concat(t,"-")).replace(i,"--".concat(t,"-")).replace(o,".".concat(n))}return r}function be(){E.autoAddCss&&!je&&(q(ve()),je=!0)}function ye(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return ue(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(y){var t=v.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ge(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return ce(Oe.definitions,n,r)||ce(S.styles,n,r)}var _e,Oe=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach((function(t){e.definitions[t]=c({},e.definitions[t]||{},a[t]),re(t,a[t]),oe()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],a=r.prefix,i=r.iconName,o=r.icon;e[a]||(e[a]={}),e[a][i]=o})),e}}])&&i(t.prototype,n),r&&i(t,r),e}()),je=!1,we={transform:function(e){return se(e)}},Ee=(_e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?W:n,a=t.symbol,i=void 0!==a&&a,o=t.mask,u=void 0===o?null:o,s=t.maskId,l=void 0===s?null:s,f=t.title,p=void 0===f?null:f,d=t.titleId,m=void 0===d?null:d,h=t.classes,v=void 0===h?[]:h,b=t.attributes,y=void 0===b?{}:b,g=t.styles,_=void 0===g?{}:g;if(e){var O=e.prefix,j=e.iconName,w=e.icon;return ye(c({type:"icon"},e),(function(){return be(),E.autoA11y&&(p?y["aria-labelledby"]="".concat(E.replacementClass,"-title-").concat(m||H()):(y["aria-hidden"]="true",y.focusable="false")),ee({icons:{main:he(w),mask:u?he(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:O,iconName:j,transform:c({},W,r),symbol:i,title:p,maskId:l,titleId:m,extra:{attributes:y,styles:_,classes:v}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ge(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:ge(r||{})),_e(n,c({},t,{mask:r}))})}).call(this,n(25),n(212).setImmediate)},function(e,t,n){var r=n(62),a=n(67),i=n(7),o=n(68),c=n(39),u=n(20);e.exports=function(e,t,n){for(var s=-1,l=(t=r(t,e)).length,f=!1;++s<l;){var p=u(t[s]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++s!=l?f:!!(l=null==e?0:e.length)&&c(l)&&o(p,l)&&(i(e)||a(e))}},function(e,t,n){var r=n(7),a=n(34),i=n(64),o=n(17);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:i(o(e))}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(25))},function(e,t,n){var r=n(107),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,n,r,a){t.push(r?a.replace(i,"$1"):n||e)})),t}));e.exports=o},function(e,t,n){var r=n(13),a=n(16);e.exports=function(e){if(!a(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(131),a=n(9),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(30),a=n(36),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];i.call(e,t)&&a(o,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(140),a=n(67),i=n(7),o=n(42),c=n(68),u=n(71),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&a(e),f=!n&&!l&&o(e),p=!n&&!l&&!f&&u(e),d=n||l||f||p,m=d?r(e.length,String):[],h=m.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||m.push(v);return m}},function(e,t,n){var r=n(142),a=n(44),i=n(45),o=i&&i.isTypedArray,c=o?a(o):r;e.exports=c},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(70),a=n(146),i=n(47);e.exports=function(e){return i(e)?r(e,!0):a(e)}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(76),a=n(50),i=n(49),o=n(74),c=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=a(e);return t}:o;e.exports=c},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t,n){var r=n(78),a=n(49),i=n(18);e.exports=function(e){return r(e,i,a)}},function(e,t,n){var r=n(76),a=n(7);e.exports=function(e,t,n){var i=t(e);return a(e)?i:r(i,n(e))}},function(e,t,n){var r=n(8).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(171),a=n(83),i=n(172);e.exports=function(e){return a(e)?i(e):r(e)}},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t,n){var r=n(175),a=n(18);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var r=n(177),a=n(188),i=n(192),o=n(7),c=n(193);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?o(e)?a(e[0],e[1]):r(e):c(e)}},function(e,t,n){var r=n(179),a=n(9);e.exports=function e(t,n,i,o,c){return t===n||(null==t||null==n||!a(t)&&!a(n)?t!=t&&n!=n:r(t,n,i,o,e,c))}},function(e,t,n){var r=n(180),a=n(183),i=n(184);e.exports=function(e,t,n,o,c,u){var s=1&n,l=e.length,f=t.length;if(l!=f&&!(s&&f>l))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d<l;){var v=e[d],b=t[d];if(o)var y=s?o(b,v,d,t,e,u):o(v,b,d,e,t,u);if(void 0!==y){if(y)continue;m=!1;break}if(h){if(!a(t,(function(e,t){if(!i(h,t)&&(v===e||c(v,e,n,o,u)))return h.push(t)}))){m=!1;break}}else if(v!==b&&!c(v,b,n,o,u)){m=!1;break}}return u.delete(e),u.delete(t),m}},function(e,t,n){var r=n(16);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(62),a=n(20);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[a(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(196),a=n(197),i=n(200),o=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(a(t).replace(o,"")),e,"")}}},function(e,t,n){var r=n(204),a=n(91)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=a},function(e,t,n){var r=n(30),a=n(84),i=n(85);e.exports=function(e,t){var n={};return t=i(t,3),a(e,(function(e,a,i){r(n,t(e,a,i),e)})),n}},function(e,t){function n(e,t){var n=e.length,r=new Array(n),a={},i=n,o=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var a=e[n];t.has(a[0])||t.set(a[0],new Set),t.has(a[1])||t.set(a[1],new Set),t.get(a[0]).add(a[1])}return t}(t),c=function(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}(e);for(t.forEach((function(e){if(!c.has(e[0])||!c.has(e[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)a[i]||u(e[i],i,new Set);return r;function u(e,t,i){if(i.has(e)){var s;try{s=", node was:"+JSON.stringify(e)}catch(e){s=""}throw new Error("Cyclic dependency"+s)}if(!c.has(e))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(e));if(!a[t]){a[t]=!0;var l=o.get(e)||new Set;if(t=(l=Array.from(l)).length){i.add(e);do{var f=l[--t];u(f,c.get(f),i)}while(t);i.delete(e)}r[--n]=e}}}e.exports=function(e){return n(function(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var a=e[n];t.add(a[0]),t.add(a[1])}return Array.from(t)}(e),e)},e.exports.array=n},function(e,t,n){var r=n(40);e.exports=function(e){return r(e,5)}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e){e.exports=JSON.parse('{"AF":"Afghanistan","AX":"Aland Islands","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua And Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BA":"Bosnia And Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CV":"Cape Verde","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":"China","CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":"Congo","CD":"Congo, Democratic Republic","CK":"Cook Islands","CR":"Costa Rica","CI":"Cote D\\"Ivoire","HR":"Croatia","CU":"Cuba","CY":"Cyprus","CZ":"Czech Republic","DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands (Malvinas)","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":"Gambia","GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GG":"Guernsey","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island & Mcdonald Islands","VA":"Holy See (Vatican City State)","HN":"Honduras","HK":"Hong Kong","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":"Iran, Islamic Republic Of","IQ":"Iraq","IE":"Ireland","IM":"Isle Of Man","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JE":"Jersey","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KR":"Korea","KW":"Kuwait","KG":"Kyrgyzstan","LA":"Lao People\\"s Democratic Republic","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libyan Arab Jamahiriya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao","MK":"Macedonia","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia, Federated States Of","MD":"Moldova","MC":"Monaco","MN":"Mongolia","ME":"Montenegro","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":"Netherlands","AN":"Netherlands Antilles","NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":"Palestinian Territory, Occupied","PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":"Pitcairn","PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Reunion","RO":"Romania","RU":"Russian Federation","RW":"Rwanda","BL":"Saint Barthelemy","SH":"Saint Helena","KN":"Saint Kitts And Nevis","LC":"Saint Lucia","MF":"Saint Martin","PM":"Saint Pierre And Miquelon","VC":"Saint Vincent And Grenadines","WS":"Samoa","SM":"San Marino","ST":"Sao Tome And Principe","SA":"Saudi Arabia","SN":"Senegal","RS":"Serbia","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia And Sandwich Isl.","ES":"Spain","LK":"Sri Lanka","SD":"Sudan","SR":"Suriname","SJ":"Svalbard And Jan Mayen","SZ":"Swaziland","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","TW":"Taiwan","TJ":"Tajikistan","TZ":"Tanzania","TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad And Tobago","TN":"Tunisia","TR":"Turkey","TM":"Turkmenistan","TC":"Turks And Caicos Islands","TV":"Tuvalu","UG":"Uganda","UA":"Ukraine","AE":"United Arab Emirates","GB":"United Kingdom","US":"United States","UM":"United States Outlying Islands","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","WF":"Wallis And Futuna","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe"}')},function(e){e.exports=JSON.parse('{"AG":"Agrigento","AL":"Alessandria","AN":"Ancona","AR":"Arezzo","AP":"Ascoli Piceno","AT":"Asti","AV":"Avellino","BA":"Bari","BT":"Barletta-Andria-Trani","BL":"Belluno","BN":"Benevento","BG":"Bergamo","BI":"Biella","BO":"Bologna","BZ":"Bolzano/Bozen","BS":"Brescia","BR":"Brindisi","CA":"Cagliari","CL":"Caltanissetta","CB":"Campobasso","CI":"Carbonia-Iglesias","CE":"Caserta","CT":"Catania","CZ":"Catanzaro","CH":"Chieti","CO":"Como","CS":"Cosenza","CR":"Cremona","KR":"Crotone","CN":"Cuneo","EN":"Enna","FM":"Fermo","FE":"Ferrara","FI":"Firenze","FG":"Foggia","FC":"Forlì-Cesena","FR":"Frosinone","GE":"Genova","GO":"Gorizia","GR":"Grosseto","IM":"Imperia","IS":"Isernia","AQ":"L\'Aquila","SP":"La Spezia","LT":"Latina","LE":"Lecce","LC":"Lecco","LI":"Livorno","LO":"Lodi","LU":"Lucca","MC":"Macerata","MN":"Mantova","MS":"Massa-Carrara","MT":"Matera","VS":"Medio Campidano","ME":"Messina","MI":"Milano","MO":"Modena","MB":"Monza e della Brianza","NA":"Napoli","NO":"Novara","NU":"Nuoro","OG":"Ogliastra","OT":"Olbia-Tempio","OR":"Oristano","PD":"Padova","PA":"Palermo","PR":"Parma","PV":"Pavia","PG":"Perugia","PU":"Pesaro e Urbino","PE":"Pescara","PC":"Piacenza","PI":"Pisa","PT":"Pistoia","PN":"Pordenone","PZ":"Potenza","PO":"Prato","RG":"Ragusa","RA":"Ravenna","RC":"Reggio di Calabria","RE":"Reggio nell\'Emilia","RI":"Rieti","RN":"Rimini","RM":"Roma","RO":"Rovigo","SA":"Salerno","SS":"Sassari","SV":"Savona","SI":"Siena","SR":"Siracusa","SO":"Sondrio","TA":"Taranto","TE":"Teramo","TR":"Terni","TO":"Torino","TP":"Trapani","TN":"Trento","TV":"Treviso","TS":"Trieste","UD":"Udine","AO":"Valle d\'Aosta","VA":"Varese","VE":"Venezia","VB":"Verbano-Cusio-Ossola","VC":"Vercelli","VR":"Verona","VV":"Vibo Valentia","VI":"Vicenza","VT":"Viterbo"}')},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){var r=n(15),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var a=o.call(e);return r&&(t?e[c]=n:delete e[c]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(108);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(35);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},function(e,t,n){var r=n(110),a=n(27),i=n(37);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||a),string:new r}}},function(e,t,n){var r=n(111),a=n(116),i=n(117),o=n(118),c=n(119);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=o,u.prototype.set=c,e.exports=u},function(e,t,n){var r=n(26);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(65),a=n(113),i=n(16),o=n(66),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,l=u.toString,f=s.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||a(e))&&(r(e)?p:c).test(o(e))}},function(e,t,n){var r,a=n(114),i=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(8)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(26),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(26),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},function(e,t,n){var r=n(26);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(28),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(28);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(28);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(28);e.exports=function(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}},function(e,t,n){var r=n(29);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(29);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(29);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(29);e.exports=function(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}},function(e,t,n){var r=n(15),a=n(38),i=n(7),o=n(24),c=r?r.prototype:void 0,u=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return a(t,e)+"";if(o(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(13),a=n(9);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(27);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(27),a=n(37),i=n(35);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!a||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(o)}return n.set(e,t),this.size=n.size,this}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(14),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},function(e,t,n){var r=n(31),a=n(18);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(13),a=n(39),i=n(9),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&a(e.length)&&!!o[r(e)]}},function(e,t,n){var r=n(46),a=n(144),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var r=n(72)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(31),a=n(73);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t,n){var r=n(16),a=n(46),i=n(147),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=a(e),n=[];for(var c in e)("constructor"!=c||!t&&o.call(e,c))&&n.push(c);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(8),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a?r.Buffer:void 0,c=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(43)(e))},function(e,t,n){var r=n(31),a=n(49);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}},function(e,t,n){var r=n(31),a=n(75);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t,n){var r=n(78),a=n(75),i=n(73);e.exports=function(e){return r(e,i,a)}},function(e,t,n){var r=n(14)(n(8),"DataView");e.exports=r},function(e,t,n){var r=n(14)(n(8),"Promise");e.exports=r},function(e,t,n){var r=n(14)(n(8),"Set");e.exports=r},function(e,t,n){var r=n(14)(n(8),"WeakMap");e.exports=r},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(51),a=n(159),i=n(160),o=n(161),c=n(162);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return a(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Set]":return new u;case"[object Symbol]":return o(e)}}},function(e,t,n){var r=n(51);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(15),a=r?r.prototype:void 0,i=a?a.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,n){var r=n(51);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(164),a=n(50),i=n(46);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(a(e))}},function(e,t,n){var r=n(16),a=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(a)return a(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){var r=n(166),a=n(44),i=n(45),o=i&&i.isMap,c=o?a(o):r;e.exports=c},function(e,t,n){var r=n(21),a=n(9);e.exports=function(e){return a(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(168),a=n(44),i=n(45),o=i&&i.isSet,c=o?a(o):r;e.exports=c},function(e,t,n){var r=n(21),a=n(9);e.exports=function(e){return a(e)&&"[object Set]"==r(e)}},function(e,t,n){var r=n(13),a=n(7),i=n(9);e.exports=function(e){return"string"==typeof e||!a(e)&&i(e)&&"[object String]"==r(e)}},function(e,t){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",a="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+a+")"+"?",s="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,o,c].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),l="(?:"+[i+r+"?",r,o,c,n].join("|")+")",f=RegExp(a+"(?="+a+")|"+l+s,"g");e.exports=function(e){return e.match(f)||[]}},function(e,t,n){var r=n(174),a=n(18);e.exports=function(e){return null==e?[]:r(e,a(e))}},function(e,t,n){var r=n(38);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},function(e,t,n){var r=n(176)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var a=-1,i=Object(t),o=r(t),c=o.length;c--;){var u=o[e?c:++a];if(!1===n(i[u],u,i))break}return t}}},function(e,t,n){var r=n(178),a=n(187),i=n(89);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(41),a=n(86);e.exports=function(e,t,n,i){var o=n.length,c=o,u=!i;if(null==e)return!c;for(e=Object(e);o--;){var s=n[o];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<c;){var l=(s=n[o])[0],f=e[l],p=s[1];if(u&&s[2]){if(void 0===f&&!(l in e))return!1}else{var d=new r;if(i)var m=i(f,p,l,e,t,d);if(!(void 0===m?a(p,f,3,i,d):m))return!1}}return!0}},function(e,t,n){var r=n(41),a=n(87),i=n(185),o=n(186),c=n(21),u=n(7),s=n(42),l=n(71),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var v=u(e),b=u(t),y=v?"[object Array]":c(e),g=b?"[object Array]":c(t),_=(y="[object Arguments]"==y?f:y)==f,O=(g="[object Arguments]"==g?f:g)==f,j=y==g;if(j&&s(e)){if(!s(t))return!1;v=!0,_=!1}if(j&&!_)return h||(h=new r),v||l(e)?a(e,t,n,d,m,h):i(e,t,y,n,d,m,h);if(!(1&n)){var w=_&&p.call(e,"__wrapped__"),E=O&&p.call(t,"__wrapped__");if(w||E){var x=w?e.value():e,S=E?t.value():t;return h||(h=new r),m(x,S,n,d,h)}}return!!j&&(h||(h=new r),o(e,t,n,d,m,h))}},function(e,t,n){var r=n(35),a=n(181),i=n(182);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=a,o.prototype.has=i,e.exports=o},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(15),a=n(79),i=n(36),o=n(87),c=n(80),u=n(81),s=r?r.prototype:void 0,l=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new a(e),new a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=c;case"[object Set]":var m=1&r;if(d||(d=u),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var v=o(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},function(e,t,n){var r=n(77),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,o,c){var u=1&n,s=r(e),l=s.length;if(l!=r(t).length&&!u)return!1;for(var f=l;f--;){var p=s[f];if(!(u?p in t:a.call(t,p)))return!1}var d=c.get(e);if(d&&c.get(t))return d==t;var m=!0;c.set(e,t),c.set(t,e);for(var h=u;++f<l;){var v=e[p=s[f]],b=t[p];if(i)var y=u?i(b,v,p,t,e,c):i(v,b,p,e,t,c);if(!(void 0===y?v===b||o(v,b,n,i,c):y)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var g=e.constructor,_=t.constructor;g==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof _&&_ instanceof _||(m=!1)}return c.delete(e),c.delete(t),m}},function(e,t,n){var r=n(88),a=n(18);e.exports=function(e){for(var t=a(e),n=t.length;n--;){var i=t[n],o=e[i];t[n]=[i,o,r(o)]}return t}},function(e,t,n){var r=n(86),a=n(189),i=n(190),o=n(34),c=n(88),u=n(89),s=n(20);e.exports=function(e,t){return o(e)&&c(t)?u(s(e),t):function(n){var o=a(n,e);return void 0===o&&o===t?i(n,e):r(t,o,3)}}},function(e,t,n){var r=n(90);e.exports=function(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}},function(e,t,n){var r=n(191),a=n(61);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(194),a=n(195),i=n(34),o=n(20);e.exports=function(e){return i(e)?r(o(e)):a(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(90);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e,t,n,r){var a=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++a]);++a<i;)n=t(n,e[a],a,e);return n}},function(e,t,n){var r=n(198),a=n(17),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=a(e))&&e.replace(i,r).replace(o,"")}},function(e,t,n){var r=n(199)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(201),a=n(202),i=n(17),o=n(203);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?a(e)?o(e):r(e):e.match(t)||[]}},function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},function(e,t){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",a="\\d+",i="[\\u2700-\\u27bf]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]",c="[^\\ud800-\\udfff"+n+a+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+o+"|"+c+")",p="(?:"+l+"|"+c+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",m="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",u,s].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),h="(?:"+[i,u,s].join("|")+")"+m,v=RegExp([l+"?"+o+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,l,"$"].join("|")+")",p+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,h].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},function(e,t,n){var r=n(17),a=n(205);e.exports=function(e){return a(r(e).toLowerCase())}},function(e,t,n){var r=n(206)("toUpperCase");e.exports=r},function(e,t,n){var r=n(207),a=n(83),i=n(82),o=n(17);e.exports=function(e){return function(t){t=o(t);var n=a(t)?i(t):void 0,c=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return c[e]()+u}}},function(e,t,n){var r=n(208);e.exports=function(e,t,n){var a=e.length;return n=void 0===n?a:n,!t&&n>=a?e:r(e,t,n)}},function(e,t){e.exports=function(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(a);++r<a;)i[r]=e[r+t];return i}},function(e,t,n){"use strict";var r,a,i,o,c;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,l=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(l,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(l,0))},a=function(e,t){s=setTimeout(e,t)},i=function(){clearTimeout(s)},o=function(){return!1},c=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var b=d.now();t.unstable_now=function(){return d.now()-b}}var y=!1,g=null,_=-1,O=5,j=0;o=function(){return t.unstable_now()>=j},c=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):O=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();j=e+O;try{g(!0,e)?E.postMessage(null):(y=!1,g=null)}catch(e){throw E.postMessage(null),e}}else y=!1},r=function(e){g=e,y||(y=!0,E.postMessage(null))},a=function(e,n){_=m((function(){e(t.unstable_now())}),n)},i=function(){h(_),_=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),a=e[r];if(!(void 0!==a&&0<T(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function F(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var i=2*(r+1)-1,o=e[i],c=i+1,u=e[c];if(void 0!==o&&0>T(o,n))void 0!==u&&0>T(u,o)?(e[r]=u,e[c]=n,r=c):(e[r]=o,e[i]=n,r=i);else{if(!(void 0!==u&&0>T(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}return null}function T(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],C=[],P=1,k=null,N=3,I=!1,M=!1,R=!1;function D(e){for(var t=S(C);null!==t;){if(null===t.callback)F(C);else{if(!(t.startTime<=e))break;F(C),t.sortIndex=t.expirationTime,x(A,t)}t=S(C)}}function L(e){if(R=!1,D(e),!M)if(null!==S(A))M=!0,r(z);else{var t=S(C);null!==t&&a(L,t.startTime-e)}}function z(e,n){M=!1,R&&(R=!1,i()),I=!0;var r=N;try{for(D(n),k=S(A);null!==k&&(!(k.expirationTime>n)||e&&!o());){var c=k.callback;if(null!==c){k.callback=null,N=k.priorityLevel;var u=c(k.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?k.callback=u:k===S(A)&&F(A),D(n)}else F(A);k=S(A)}if(null!==k)var s=!0;else{var l=S(C);null!==l&&a(L,l.startTime-n),s=!1}return s}finally{k=null,N=r,I=!1}}function V(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=c;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_scheduleCallback=function(e,n,o){var c=t.unstable_now();if("object"==typeof o&&null!==o){var u=o.delay;u="number"==typeof u&&0<u?c+u:c,o="number"==typeof o.timeout?o.timeout:V(e)}else o=V(e),u=c;return e={id:P++,callback:n,priorityLevel:e,startTime:u,expirationTime:o=u+o,sortIndex:-1},u>c?(e.sortIndex=u,x(C,e),null===S(A)&&e===S(C)&&(R?i():R=!0,a(L,u-c))):(e.sortIndex=o,x(A,e),M||I||(M=!0,r(z))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=S(A);return n!==k&&null!==k&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<k.expirationTime||o()},t.unstable_requestPaint=B,t.unstable_continueExecution=function(){M||I||(M=!0,r(z))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return S(A)},t.unstable_Profiling=null},function(e,t,n){"use strict";e.exports=n(211)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,O=r?Symbol.for("react.scope"):60119;function j(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case f:case p:case o:case u:case c:case m:return e;default:switch(e=e&&e.$$typeof){case l:case d:case b:case v:case s:return e;default:return t}}case i:return t}}}function w(e){return j(e)===p}t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=s,t.Element=a,t.ForwardRef=d,t.Fragment=o,t.Lazy=b,t.Memo=v,t.Portal=i,t.Profiler=u,t.StrictMode=c,t.Suspense=m,t.isAsyncMode=function(e){return w(e)||j(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return j(e)===l},t.isContextProvider=function(e){return j(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return j(e)===d},t.isFragment=function(e){return j(e)===o},t.isLazy=function(e){return j(e)===b},t.isMemo=function(e){return j(e)===v},t.isPortal=function(e){return j(e)===i},t.isProfiler=function(e){return j(e)===u},t.isStrictMode=function(e){return j(e)===c},t.isSuspense=function(e){return j(e)===m},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===p||e===u||e===c||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===v||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===_||e.$$typeof===O||e.$$typeof===y)},t.typeOf=j},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,a=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(a.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(a.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(213),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(25))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,a,i,o,c,u=1,s={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){m(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){m(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(a=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){m(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):r=function(e){setTimeout(m,0,e)}:(o="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&m(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),r=function(t){e.postMessage(o+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return s[u]=a,r(u),u++},p.clearImmediate=d}function d(e){delete s[e]}function m(e){if(l)setTimeout(m,0,e);else{var t=s[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{d(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(25),n(214))},function(e,t){var n,r,a=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,s=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?s=u.concat(s):f=-1,s.length&&d())}function d(){if(!l){var e=c(p);l=!0;for(var t=s.length;t;){for(u=s,s=[];++f<t;)u&&u[f].run();f=-1,t=s.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function h(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new m(e,t)),1!==s.length||l||c(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(216);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,i,o){if(o!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t);var r=n(4),a=n.n(r),i=n(0),o=n(1),c=n.n(o),u=n(32),s=n.n(u),l=n(12),f=n.n(l),p=n(22),d=n.n(p);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var v=n(5),b=n.n(v),y=n(52),g=n.n(y),_=n(53),O=n.n(_),j=Object.prototype.toString,w=Error.prototype.toString,E=RegExp.prototype.toString,x="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},S=/^Symbol\((.*)\)(.*)$/;function F(e,t){if(void 0===t&&(t=!1),null==e||!0===e||!1===e)return""+e;var n=typeof e;if("number"===n)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===n)return t?'"'+e+'"':e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return x.call(e).replace(S,"Symbol($1)");var r=j.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+w.call(e)+"]":"RegExp"===r?E.call(e):null}function T(e,t){var n=F(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=F(this[e],t);return null!==r?r:n}),2)}var A={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,n=e.type,r=e.value,a=e.originalValue,i=null!=a&&a!==r,o=t+" must be a `"+n+"` type, but the final value was: `"+T(r,!0)+"`"+(i?" (cast from the value `"+T(a,!0)+"`).":".");return null===r&&(o+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),o},defined:"${path} must be defined"},C={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},P={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",notEqual:"${path} must be not equal to ${notEqual}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},k={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},N={noUnknown:"${path} field has unspecified keys: ${unknown}"},I={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items"},M=function(e){return e&&e.__isYupSchema__},R=function(){function e(e,t){if(this.refs=e,"function"!=typeof t){if(!b()(t,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!t.then&&!t.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var n=t.is,r=t.then,a=t.otherwise,i="function"==typeof n?n:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every((function(e){return e===n}))};this.fn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.pop(),c=t.pop(),u=i.apply(void 0,t)?r:a;if(u)return"function"==typeof u?u(c):c.concat(u.resolve(o))}}else this.fn=t}return e.prototype.resolve=function(e,t){var n=this.refs.map((function(e){return e.getValue(t)})),r=this.fn.apply(e,n.concat(e,t));if(void 0===r||r===e)return e;if(!M(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)},e}();function D(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var L=n(19),z=/\$\{\s*(\w+)\s*\}/g,V=function(e){return function(t){return e.replace(z,(function(e,n){return T(t[n])}))}};function B(e,t,n,r){var a=this;this.name="ValidationError",this.value=t,this.path=n,this.type=r,this.errors=[],this.inner=[],e&&[].concat(e).forEach((function(e){a.errors=a.errors.concat(e.errors||e),e.inner&&(a.inner=a.inner.concat(e.inner.length?e.inner:e))})),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,B)}B.prototype=Object.create(Error.prototype),B.prototype.constructor=B,B.isError=function(e){return e&&"ValidationError"===e.name},B.formatError=function(e,t){"string"==typeof e&&(e=V(e));var n=function(t){return t.path=t.label||t.path||"this","function"==typeof e?e(t):e};return 1===arguments.length?n:n(t)};var U=function(e){return e?L.SynchronousPromise:Promise};function $(e,t){return e?null:function(e){return t.push(e),e.value}}function G(e){var t=e.validations,n=e.value,r=e.path,a=e.sync,i=e.errors,o=e.sort;return i=function(e){return void 0===e&&(e=[]),e.inner&&e.inner.length?e.inner:[].concat(e)}(i),function(e,t){var n=U(t);return n.all(e.map((function(e){return n.resolve(e).then((function(e){return{fulfilled:!0,value:e}}),(function(e){return{fulfilled:!1,value:e}}))})))}(t,a).then((function(e){var t=e.filter((function(e){return!e.fulfilled})).reduce((function(e,t){var n=t.value;if(!B.isError(n))throw n;return e.concat(n)}),[]);if(o&&t.sort(o),(i=t.concat(i)).length)throw new B(i,n,r);return n}))}function W(e){var t,n,r,a=e.endEarly,i=D(e,["endEarly"]);return a?(t=i.validations,n=i.value,r=i.sync,U(r).all(t).catch((function(e){throw"ValidationError"===e.name&&(e.value=n),e})).then((function(){return n}))):G(i)}var q=function(e){return"[object Object]"===Object.prototype.toString.call(e)};var H=n(33),Y=n.n(H),K=n(11),Z="$",J=".",X=function(){function e(e,t){if(void 0===t&&(t={}),"string"!=typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Z,this.isValue=this.key[0]===J,this.isSibling=!this.isContext&&!this.isValue;var n=this.isContext?Z:this.isValue?J:"";this.path=this.key.slice(n.length),this.getter=this.path&&Object(K.getter)(this.path,!0),this.map=t.map}var t=e.prototype;return t.getValue=function(e){var t=this.isContext?e.context:this.isValue?e.value:e.parent;return this.getter&&(t=this.getter(t||{})),this.map&&(t=this.map(t)),t},t.cast=function(e,t){return this.getValue(m({},t,{value:e}))},t.resolve=function(){return this},t.describe=function(){return{type:"ref",key:this.key}},t.toString=function(){return"Ref("+this.key+")"},e.isRef=function(e){return e&&e.__isYupRef},e}();X.prototype.__isYupRef=!0;var Q=B.formatError;function ee(e){var t=e.value,n=e.label,r=e.resolve,a=e.originalValue,i=D(e,["value","label","resolve","originalValue"]);return function(e){var o=void 0===e?{}:e,c=o.path,u=void 0===c?i.path:c,s=o.message,l=void 0===s?i.message:s,f=o.type,p=void 0===f?i.name:f,d=o.params;return d=m({path:u,value:t,originalValue:a,label:n},function(e,t,n){return Y()(m({},e,t),n)}(i.params,d,r)),m(new B(Q(l,d),t,u,p),{params:d})}}function te(e){var t=e.name,n=e.message,r=e.test,a=e.params;function i(e){var i=e.value,o=e.path,c=e.label,u=e.options,s=e.originalValue,l=e.sync,f=D(e,["value","path","label","options","originalValue","sync"]),p=u.parent,d=function(e){return X.isRef(e)?e.getValue({value:i,parent:p,context:u.context}):e},h=ee({message:n,path:o,value:i,originalValue:s,params:a,label:c,resolve:d,name:t}),v=m({path:o,parent:p,type:t,createError:h,resolve:d,options:u},f);return function(e,t,n,r){var a,i=e.call(t,n);if(!r)return Promise.resolve(i);if((a=i)&&"function"==typeof a.then&&"function"==typeof a.catch)throw new Error('Validation test of type: "'+t.type+'" returned a Promise during a synchronous validate. This test will finish after the validate call has returned');return L.SynchronousPromise.resolve(i)}(r,v,i,l).then((function(e){if(B.isError(e))throw e;if(!e)throw h()}))}return i.OPTIONS=e,i}function ne(e,t,n,r){var a,i,o;return void 0===r&&(r=n),t?(Object(K.forEach)(t,(function(c,u,s){var l=u?function(e){return e.substr(0,e.length-1).substr(1)}(c):c;if((e=e.resolve({context:r,parent:a,value:n})).innerType){var f=s?parseInt(l,10):0;if(n&&f>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: "+c+", in the path: "+t+". because there is no value at that index. ");a=n,n=n&&n[f],e=e.innerType}if(!s){if(!e.fields||!e.fields[l])throw new Error("The schema does not contain the path: "+t+". (failed at: "+o+' which is a type: "'+e._type+'")');a=n,n=n&&n[l],e=e.fields[l]}i=l,o=u?"["+c+"]":"."+c})),{schema:e,parent:a,parentPath:i}):{parent:a,parentPath:t,schema:e}}function re(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ie=function(){function e(){this.list=new Set,this.refs=new Map}var t,n,r,a=e.prototype;return a.describe=function(){for(var e,t=[],n=re(this.list);!(e=n()).done;){var r=e.value;t.push(r)}for(var a,i=re(this.refs);!(a=i()).done;){var o=a.value[1];t.push(o.describe())}return t},a.toArray=function(){return O()(this.list).concat(O()(this.refs.values()))},a.add=function(e){X.isRef(e)?this.refs.set(e.key,e):this.list.add(e)},a.delete=function(e){X.isRef(e)?this.refs.delete(e.key):this.list.delete(e)},a.has=function(e,t){if(this.list.has(e))return!0;for(var n,r=this.refs.values();!(n=r.next()).done;)if(t(n.value)===e)return!0;return!1},a.clone=function(){var t=new e;return t.list=new Set(this.list),t.refs=new Map(this.refs),t},a.merge=function(e,t){var n=this.clone();return e.list.forEach((function(e){return n.add(e)})),e.refs.forEach((function(e){return n.add(e)})),t.list.forEach((function(e){return n.delete(e)})),t.refs.forEach((function(e){return n.delete(e)})),n},t=e,(n=[{key:"size",get:function(){return this.list.size+this.refs.size}}])&&h(t.prototype,n),r&&h(t,r),e}();function oe(e){var t=this;if(void 0===e&&(e={}),!(this instanceof oe))return new oe;this._deps=[],this._conditions=[],this._options={abortEarly:!0,recursive:!0},this._exclusive=Object.create(null),this._whitelist=new ie,this._blacklist=new ie,this.tests=[],this.transforms=[],this.withMutation((function(){t.typeError(A.notType)})),b()(e,"default")&&(this._defaultDefault=e.default),this.type=e.type||"mixed",this._type=e.type||"mixed"}for(var ce=oe.prototype={__isYupSchema__:!0,constructor:oe,clone:function(){var e=this;return this._mutate?this:g()(this,(function(t){if(M(t)&&t!==e)return t}))},label:function(e){var t=this.clone();return t._label=e,t},meta:function(e){if(0===arguments.length)return this._meta;var t=this.clone();return t._meta=m(t._meta||{},e),t},withMutation:function(e){var t=this._mutate;this._mutate=!0;var n=e(this);return this._mutate=t,n},concat:function(e){if(!e||e===this)return this;if(e._type!==this._type&&"mixed"!==this._type)throw new TypeError("You cannot `concat()` schema's of different types: "+this._type+" and "+e._type);var t=function e(t,n){for(var r in n)if(b()(n,r)){var a=n[r],i=t[r];if(void 0===i)t[r]=a;else{if(i===a)continue;M(i)?M(a)&&(t[r]=a.concat(i)):q(i)?q(a)&&(t[r]=e(i,a)):Array.isArray(i)&&Array.isArray(a)&&(t[r]=a.concat(i))}}return t}(e.clone(),this);return b()(e,"_default")&&(t._default=e._default),t.tests=this.tests,t._exclusive=this._exclusive,t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.withMutation((function(t){e.tests.forEach((function(e){t.test(e.OPTIONS)}))})),t},isType:function(e){return!(!this._nullable||null!==e)||(!this._typeCheck||this._typeCheck(e))},resolve:function(e){var t=this;if(t._conditions.length){var n=t._conditions;(t=t.clone())._conditions=[],t=(t=n.reduce((function(t,n){return n.resolve(t,e)}),t)).resolve(e)}return t},cast:function(e,t){void 0===t&&(t={});var n=this.resolve(m({},t,{value:e})),r=n._cast(e,t);if(void 0!==e&&!1!==t.assert&&!0!==n.isType(r)){var a=T(e),i=T(r);throw new TypeError("The value of "+(t.path||"field")+' could not be cast to a value that satisfies the schema type: "'+n._type+'". \n\nattempted value: '+a+" \n"+(i!==a?"result of cast: "+i:""))}return r},_cast:function(e){var t=this,n=void 0===e?e:this.transforms.reduce((function(n,r){return r.call(t,n,e)}),e);return void 0===n&&b()(this,"_default")&&(n=this.default()),n},_validate:function(e,t){var n=this;void 0===t&&(t={});var r=e,a=null!=t.originalValue?t.originalValue:e,i=this._option("strict",t),o=this._option("abortEarly",t),c=t.sync,u=t.path,s=this._label;i||(r=this._cast(r,m({assert:!1},t)));var l={value:r,path:u,schema:this,options:t,label:s,originalValue:a,sync:c};t.from&&(l.from=t.from);var f=[];return this._typeError&&f.push(this._typeError(l)),this._whitelistError&&f.push(this._whitelistError(l)),this._blacklistError&&f.push(this._blacklistError(l)),W({validations:f,endEarly:o,value:r,path:u,sync:c}).then((function(e){return W({path:u,sync:c,value:e,endEarly:o,validations:n.tests.map((function(e){return e(l)}))})}))},validate:function(e,t){return void 0===t&&(t={}),this.resolve(m({},t,{value:e}))._validate(e,t)},validateSync:function(e,t){var n,r;if(void 0===t&&(t={}),this.resolve(m({},t,{value:e}))._validate(e,m({},t,{sync:!0})).then((function(e){return n=e})).catch((function(e){return r=e})),r)throw r;return n},isValid:function(e,t){return this.validate(e,t).then((function(){return!0})).catch((function(e){if("ValidationError"===e.name)return!1;throw e}))},isValidSync:function(e,t){try{return this.validateSync(e,t),!0}catch(e){if("ValidationError"===e.name)return!1;throw e}},getDefault:function(e){return void 0===e&&(e={}),this.resolve(e).default()},default:function(e){if(0===arguments.length){var t=b()(this,"_default")?this._default:this._defaultDefault;return"function"==typeof t?t.call(this):g()(t)}var n=this.clone();return n._default=e,n},strict:function(e){void 0===e&&(e=!0);var t=this.clone();return t._options.strict=e,t},_isPresent:function(e){return null!=e},required:function(e){return void 0===e&&(e=A.required),this.test({message:e,name:"required",exclusive:!0,test:function(e){return this.schema._isPresent(e)}})},notRequired:function(){var e=this.clone();return e.tests=e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e},nullable:function(e){void 0===e&&(e=!0);var t=this.clone();return t._nullable=e,t},transform:function(e){var t=this.clone();return t.transforms.push(e),t},test:function(){var e;if(void 0===(e=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=A.default),"function"!=typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=te(e),r=e.exclusive||e.name&&!0===t._exclusive[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t._exclusive[e.name]=!!e.exclusive,t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t},when:function(e,t){1===arguments.length&&(t=e,e=".");var n=this.clone(),r=[].concat(e).map((function(e){return new X(e)}));return r.forEach((function(e){e.isSibling&&n._deps.push(e.key)})),n._conditions.push(new R(r,t)),n},typeError:function(e){var t=this.clone();return t._typeError=te({message:e,name:"typeError",test:function(e){return!(void 0!==e&&!this.schema.isType(e))||this.createError({params:{type:this.schema._type}})}}),t},oneOf:function(e,t){void 0===t&&(t=A.oneOf);var n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n._whitelistError=te({message:t,name:"oneOf",test:function(e){if(void 0===e)return!0;var t=this.schema._whitelist;return!!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},notOneOf:function(e,t){void 0===t&&(t=A.notOneOf);var n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n._blacklistError=te({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist;return!t.has(e,this.resolve)||this.createError({params:{values:t.toArray().join(", ")}})}}),n},strip:function(e){void 0===e&&(e=!0);var t=this.clone();return t._strip=e,t},_option:function(e,t){return b()(t,e)?t[e]:this._options[e]},describe:function(){var e=this.clone(),t={type:e._type,meta:e._meta,label:e._label,tests:e.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return e._whitelist.size&&(t.oneOf=e._whitelist.describe()),e._blacklist.size&&(t.notOneOf=e._blacklist.describe()),t},defined:function(e){return void 0===e&&(e=A.defined),this.nullable().test({message:e,name:"defined",exclusive:!0,test:function(e){return void 0!==e}})}},ue=function(){var e=le[se];ce[e+"At"]=function(t,n,r){void 0===r&&(r={});var a=ne(this,t,n,r.context),i=a.parent,o=a.parentPath;return a.schema[e](i&&i[o],m({},r,{parent:i,path:t}))}},se=0,le=["validate","validateSync"];se<le.length;se++)ue();for(var fe=0,pe=["equals","is"];fe<pe.length;fe++){ce[pe[fe]]=ce.oneOf}for(var de=0,me=["not","nope"];de<me.length;de++){ce[me[de]]=ce.notOneOf}function he(e,t,n){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),m(e.prototype,n)}ce.optional=ce.notRequired;function ve(){var e=this;if(!(this instanceof ve))return new ve;oe.call(this,{type:"boolean"}),this.withMutation((function(){e.transform((function(e){if(!this.isType(e)){if(/^(true|1)$/i.test(e))return!0;if(/^(false|0)$/i.test(e))return!1}return e}))}))}he(ve,oe,{_typeCheck:function(e){return e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e}});var be=function(e){return null==e},ye=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,ge=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,_e=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i,Oe=function(e){return be(e)||e===e.trim()};function je(){var e=this;if(!(this instanceof je))return new je;oe.call(this,{type:"string"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:null!=e&&e.toString?e.toString():e}))}))}he(je,oe,{_typeCheck:function(e){return e instanceof String&&(e=e.valueOf()),"string"==typeof e},_isPresent:function(e){return oe.prototype._isPresent.call(this,e)&&e.length>0},length:function(e,t){return void 0===t&&(t=C.length),this.test({message:t,name:"length",exclusive:!0,params:{length:e},test:function(t){return be(t)||t.length===this.resolve(e)}})},min:function(e,t){return void 0===t&&(t=C.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t.length>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=C.max),this.test({name:"max",exclusive:!0,message:t,params:{max:e},test:function(t){return be(t)||t.length<=this.resolve(e)}})},matches:function(e,t){var n,r,a=!1;return t&&("object"==typeof t?(a=t.excludeEmptyString,n=t.message,r=t.name):n=t),this.test({name:r||"matches",message:n||C.matches,params:{regex:e},test:function(t){return be(t)||""===t&&a||-1!==t.search(e)}})},email:function(e){return void 0===e&&(e=C.email),this.matches(ye,{name:"email",message:e,excludeEmptyString:!0})},url:function(e){return void 0===e&&(e=C.url),this.matches(ge,{name:"url",message:e,excludeEmptyString:!0})},uuid:function(e){return void 0===e&&(e=C.uuid),this.matches(_e,{name:"uuid",message:e,excludeEmptyString:!1})},ensure:function(){return this.default("").transform((function(e){return null===e?"":e}))},trim:function(e){return void 0===e&&(e=C.trim),this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:Oe})},lowercase:function(e){return void 0===e&&(e=C.lowercase),this.transform((function(e){return be(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return be(e)||e===e.toLowerCase()}})},uppercase:function(e){return void 0===e&&(e=C.uppercase),this.transform((function(e){return be(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,test:function(e){return be(e)||e===e.toUpperCase()}})}});he((function e(){var t=this;if(!(this instanceof e))return new e;oe.call(this,{type:"number"}),this.withMutation((function(){t.transform((function(e){var t=e;if("string"==typeof t){if(""===(t=t.replace(/\s/g,"")))return NaN;t=+t}return this.isType(t)?t:parseFloat(t)}))}))}),oe,{_typeCheck:function(e){return e instanceof Number&&(e=e.valueOf()),"number"==typeof e&&!function(e){return e!=+e}(e)},min:function(e,t){return void 0===t&&(t=P.min),this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t>=this.resolve(e)}})},max:function(e,t){return void 0===t&&(t=P.max),this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return be(t)||t<=this.resolve(e)}})},lessThan:function(e,t){return void 0===t&&(t=P.lessThan),this.test({message:t,name:"max",exclusive:!0,params:{less:e},test:function(t){return be(t)||t<this.resolve(e)}})},moreThan:function(e,t){return void 0===t&&(t=P.moreThan),this.test({message:t,name:"min",exclusive:!0,params:{more:e},test:function(t){return be(t)||t>this.resolve(e)}})},positive:function(e){return void 0===e&&(e=P.positive),this.moreThan(0,e)},negative:function(e){return void 0===e&&(e=P.negative),this.lessThan(0,e)},integer:function(e){return void 0===e&&(e=P.integer),this.test({name:"integer",message:e,test:function(e){return be(e)||Number.isInteger(e)}})},truncate:function(){return this.transform((function(e){return be(e)?e:0|e}))},round:function(e){var t=["ceil","floor","round","trunc"];if("trunc"===(e=e&&e.toLowerCase()||"round"))return this.truncate();if(-1===t.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+t.join(", "));return this.transform((function(t){return be(t)?t:Math[e](t)}))}});var we=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var Ee=new Date("");function xe(){var e=this;if(!(this instanceof xe))return new xe;oe.call(this,{type:"date"}),this.withMutation((function(){e.transform((function(e){return this.isType(e)?e:(e=function(e){var t,n,r=[1,4,5,6,7,10,11],a=0;if(n=we.exec(e)){for(var i,o=0;i=r[o];++o)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(a=60*n[10]+n[11],"+"===n[9]&&(a=0-a)),t=Date.UTC(n[1],n[2],n[3],n[4],n[5]+a,n[6],n[7])):t=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else t=Date.parse?Date.parse(e):NaN;return t}(e),isNaN(e)?Ee:new Date(e))}))}))}function Se(e,t){return t||(t=e.slice(0)),e.raw=t,e}he(xe,oe,{_typeCheck:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t},min:function(e,t){void 0===t&&(t=k.min);var n=e;if(!X.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`min` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(e){return be(e)||e>=this.resolve(n)}})},max:function(e,t){void 0===t&&(t=k.max);var n=e;if(!X.isRef(n)&&(n=this.cast(e),!this._typeCheck(n)))throw new TypeError("`max` must be a Date or a value that can be `cast()` to a Date");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(e){return be(e)||e<=this.resolve(n)}})}});var Fe=n(54),Te=n.n(Fe),Ae=n(92),Ce=n.n(Ae),Pe=n(93),ke=n.n(Pe),Ne=n(94),Ie=n.n(Ne);function Me(e,t){void 0===t&&(t=[]);var n=[],r=[];function a(e,a){var i=Object(K.split)(e)[0];~r.indexOf(i)||r.push(i),~t.indexOf(a+"-"+i)||n.push([a,i])}for(var i in e)if(b()(e,i)){var o=e[i];~r.indexOf(i)||r.push(i),X.isRef(o)&&o.isSibling?a(o.path,i):M(o)&&o._deps&&o._deps.forEach((function(e){return a(e,i)}))}return Ie.a.array(r,n).reverse()}function Re(e,t){var n=1/0;return e.some((function(e,r){if(-1!==t.path.indexOf(e))return n=r,!0})),n}function De(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=e.reduce((function(e,t){var r=n.shift();return e+(null==r?"":r)+t}));return a.replace(/^\./,"")}function Le(){var e=Se(["",'["','"]']);return Le=function(){return e},e}function ze(){var e=Se(["",".",""]);return ze=function(){return e},e}function Ve(){var e=Se(["",".",""]);return Ve=function(){return e},e}var Be=function(e){return"[object Object]"===Object.prototype.toString.call(e)};function Ue(e){var t=this;if(!(this instanceof Ue))return new Ue(e);oe.call(this,{type:"object",default:function(){var e=this;if(this._nodes.length){var t={};return this._nodes.forEach((function(n){t[n]=e.fields[n].default?e.fields[n].default():void 0})),t}}}),this.fields=Object.create(null),this._nodes=[],this._excludedEdges=[],this.withMutation((function(){t.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.shape(e)}))}function $e(){var e=Se(["","[","]"]);return $e=function(){return e},e}function Ge(){var e=Se(["","[","]"]);return Ge=function(){return e},e}he(Ue,oe,{_typeCheck:function(e){return Be(e)||"function"==typeof e},_cast:function(e,t){var n=this;void 0===t&&(t={});var r=oe.prototype._cast.call(this,e,t);if(void 0===r)return this.default();if(!this._typeCheck(r))return r;var a=this.fields,i=!0===this._option("stripUnknown",t),o=this._nodes.concat(Object.keys(r).filter((function(e){return-1===n._nodes.indexOf(e)}))),c={},u=m({},t,{parent:c,__validating:t.__validating||!1}),s=!1;return o.forEach((function(e){var n=a[e],o=b()(r,e);if(n){var l,f=n._options&&n._options.strict;if(u.path=De(Ve(),t.path,e),u.value=r[e],!0===(n=n.resolve(u))._strip)return void(s=s||e in r);void 0!==(l=t.__validating&&f?r[e]:n.cast(r[e],u))&&(c[e]=l)}else o&&!i&&(c[e]=r[e]);c[e]!==r[e]&&(s=!0)})),s?c:r},_validate:function(e,t){var n,r,a=this;void 0===t&&(t={});var i=t.sync,o=[],c=null!=t.originalValue?t.originalValue:e,u=[{schema:this,value:c}].concat(t.from||[]);return n=this._option("abortEarly",t),r=this._option("recursive",t),t=m({},t,{__validating:!0,originalValue:c,from:u}),oe.prototype._validate.call(this,e,t).catch($(n,o)).then((function(e){if(!r||!Be(e)){if(o.length)throw o[0];return e}u=c?[].concat(u):[{schema:a,value:c||e}].concat(t.from||[]),c=c||e;var s,l,f=a._nodes.map((function(n){var r=-1===n.indexOf(".")?De(ze(),t.path,n):De(Le(),t.path,n),o=a.fields[n],s=m({},t,{path:r,from:u,parent:e,originalValue:c[n]});return o&&o.validate?(s.strict=!0,o.validate(e[n],s)):function(e){return e?L.SynchronousPromise:Promise}(i).resolve(!0)}));return W({sync:i,validations:f,value:e,errors:o,endEarly:n,path:t.path,sort:(s=a.fields,l=Object.keys(s),function(e,t){return Re(l,e)-Re(l,t)})})}))},concat:function(e){var t=oe.prototype.concat.call(this,e);return t._nodes=Me(t.fields,t._excludedEdges),t},shape:function(e,t){void 0===t&&(t=[]);var n=this.clone(),r=m(n.fields,e);if(n.fields=r,t.length){Array.isArray(t[0])||(t=[t]);var a=t.map((function(e){return e[0]+"-"+e[1]}));n._excludedEdges=n._excludedEdges.concat(a)}return n._nodes=Me(r,n._excludedEdges),n},from:function(e,t,n){var r=Object(K.getter)(e,!0);return this.transform((function(a){if(null==a)return a;var i=a;return b()(a,e)&&(i=m({},a),n||delete i[e],i[t]=r(a)),i}))},noUnknown:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=N.noUnknown),"string"==typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=function(e,t){var n=Object.keys(e.fields);return Object.keys(t).filter((function(e){return-1===n.indexOf(e)}))}(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n._options.stripUnknown=e,n},unknown:function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=N.noUnknown),this.noUnknown(!e,t)},transformKeys:function(e){return this.transform((function(t){return t&&ke()(t,(function(t,n){return e(n)}))}))},camelCase:function(){return this.transformKeys(Ce.a)},snakeCase:function(){return this.transformKeys(Te.a)},constantCase:function(){return this.transformKeys((function(e){return Te()(e).toUpperCase()}))},describe:function(){var e=oe.prototype.describe.call(this);return e.fields=Y()(this.fields,(function(e){return e.describe()})),e}});function We(e){var t=this;if(!(this instanceof We))return new We(e);oe.call(this,{type:"array"}),this._subType=void 0,this.innerType=void 0,this.withMutation((function(){t.transform((function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(t){e=null}return this.isType(e)?e:null})),e&&t.of(e)}))}he(We,oe,{_typeCheck:function(e){return Array.isArray(e)},_cast:function(e,t){var n=this,r=oe.prototype._cast.call(this,e,t);if(!this._typeCheck(r)||!this.innerType)return r;var a=!1,i=r.map((function(e,r){var i=n.innerType.cast(e,m({},t,{path:De(Ge(),t.path,r)}));return i!==e&&(a=!0),i}));return a?i:r},_validate:function(e,t){var n=this;void 0===t&&(t={});var r=[],a=t.sync,i=t.path,o=this.innerType,c=this._option("abortEarly",t),u=this._option("recursive",t),s=null!=t.originalValue?t.originalValue:e;return oe.prototype._validate.call(this,e,t).catch($(c,r)).then((function(e){if(!u||!o||!n._typeCheck(e)){if(r.length)throw r[0];return e}s=s||e;for(var l=new Array(e.length),f=0;f<e.length;f++){var p=e[f],d=De($e(),t.path,f),h=m({},t,{path:d,strict:!0,parent:e,index:f,originalValue:s[f]});l[f]=!o.validate||o.validate(p,h)}return W({sync:a,path:i,value:e,errors:r,endEarly:c,validations:l})}))},_isPresent:function(e){return oe.prototype._isPresent.call(this,e)&&e.length>0},of:function(e){var t=this.clone();if(!1!==e&&!M(e))throw new TypeError("`array.of()` sub-schema must be a valid yup schema, or `false` to negate a current sub-schema. not: "+T(e));return t._subType=e,t.innerType=e,t},min:function(e,t){return t=t||I.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},test:function(t){return be(t)||t.length>=this.resolve(e)}})},max:function(e,t){return t=t||I.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},test:function(t){return be(t)||t.length<=this.resolve(e)}})},ensure:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))},compact:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))},describe:function(){var e=oe.prototype.describe.call(this);return this.innerType&&(e.innerType=this.innerType.describe()),e}});var qe=function(){function e(e){this._resolve=function(t,n){var r=e(t,n);if(!M(r))throw new TypeError("lazy() functions must return a valid schema");return r.resolve(n)}}var t=e.prototype;return t.resolve=function(e){return this._resolve(e.value,e)},t.cast=function(e,t){return this._resolve(e,t).cast(e,t)},t.validate=function(e,t){return this._resolve(e,t).validate(e,t)},t.validateSync=function(e,t){return this._resolve(e,t).validateSync(e,t)},t.validateAt=function(e,t,n){return this._resolve(t,n).validateAt(e,t,n)},t.validateSyncAt=function(e,t,n){return this._resolve(t,n).validateSyncAt(e,t,n)},e}();qe.prototype.__isYupSchema__=!0;var He=qe;var Ye=function(e){return new He(e)};var Ke=n(2),Ze=n(10),Je=n.n(Ze),Xe=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Qe}(e)}(e)};var Qe="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?nt((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function tt(e,t,n){return e.concat(t).map((function(e){return et(e,n)}))}function nt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||tt,n.isMergeableObject=n.isMergeableObject||Xe;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=et(e[t],n)})),Object.keys(t).forEach((function(a){n.isMergeableObject(t[a])&&e[a]?r[a]=nt(e[a],t[a],n):r[a]=et(t[a],n)})),r}(e,t,n):et(t,n)}nt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return nt(e,n,t)}),{})};var rt=nt,at=n(55),it=n.n(at),ot=n(56),ct=n.n(ot),ut=n(57),st=n.n(ut);var lt=function(e,t){},ft=n(58),pt=n(59),dt=n.n(pt),mt=n(95),ht=n.n(mt);function vt(){return(vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function bt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function yt(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}function gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var _t=function(e){return Array.isArray(e)&&0===e.length},Ot=function(e){return"function"==typeof e},jt=function(e){return null!==e&&"object"==typeof e},wt=function(e){return String(Math.floor(Number(e)))===e},Et=function(e){return"[object String]"===Object.prototype.toString.call(e)},xt=function(e){return 0===o.Children.count(e)},St=function(e){return jt(e)&&Ot(e.then)};function Ft(e,t,n,r){void 0===r&&(r=0);for(var a=st()(t);e&&r<a.length;)e=e[a[r++]];return void 0===e?n:e}function Tt(e,t,n){for(var r=ct()(e),a=r,i=0,o=st()(t);i<o.length-1;i++){var c=o[i],u=Ft(e,o.slice(0,i+1));if(u&&(jt(u)||Array.isArray(u)))a=a[c]=ct()(u);else{var s=o[i+1];a=a[c]=wt(s)&&Number(s)>=0?[]:{}}}return(0===i?e:a)[o[i]]===n?e:(void 0===n?delete a[o[i]]:a[o[i]]=n,0===i&&void 0===n&&delete r[o[i]],r)}function At(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var a=0,i=Object.keys(e);a<i.length;a++){var o=i[a],c=e[o];jt(c)?n.get(c)||(n.set(c,!0),r[o]=Array.isArray(c)?[]:{},At(c,t,n,r[o])):r[o]=t}return r}var Ct=Object(o.createContext)(void 0),Pt=Ct.Provider,kt=Ct.Consumer;function Nt(){var e=Object(o.useContext)(Ct);return e||lt(!1),e}function It(e,t){switch(t.type){case"SET_VALUES":return vt({},e,{values:t.payload});case"SET_TOUCHED":return vt({},e,{touched:t.payload});case"SET_ERRORS":return Je()(e.errors,t.payload)?e:vt({},e,{errors:t.payload});case"SET_STATUS":return vt({},e,{status:t.payload});case"SET_ISSUBMITTING":return vt({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return vt({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return vt({},e,{values:Tt(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return vt({},e,{touched:Tt(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return vt({},e,{errors:Tt(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return vt({},e,{},t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return vt({},e,{touched:At(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return vt({},e,{isSubmitting:!1});default:return e}}var Mt={},Rt={};function Dt(e){var t=e.validateOnChange,n=void 0===t||t,r=e.validateOnBlur,a=void 0===r||r,i=e.validateOnMount,c=void 0!==i&&i,u=e.isInitialValid,s=e.enableReinitialize,l=void 0!==s&&s,f=e.onSubmit,p=yt(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),d=vt({validateOnChange:n,validateOnBlur:a,validateOnMount:c,onSubmit:f},p),m=Object(o.useRef)(d.initialValues),h=Object(o.useRef)(d.initialErrors||Mt),v=Object(o.useRef)(d.initialTouched||Rt),b=Object(o.useRef)(d.initialStatus),y=Object(o.useRef)(!1),g=Object(o.useRef)({});Object(o.useEffect)((function(){return y.current=!0,function(){y.current=!1}}),[]);var _=Object(o.useReducer)(It,{values:d.initialValues,errors:d.initialErrors||Mt,touched:d.initialTouched||Rt,status:d.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),O=_[0],j=_[1],w=Object(o.useCallback)((function(e,t){return new Promise((function(n,r){var a=d.validate(e,t);null==a?n(Mt):St(a)?a.then((function(e){n(e||Mt)}),(function(e){r(e)})):n(a)}))}),[d.validate]),E=Object(o.useCallback)((function(e,t){var n=d.validationSchema,r=Ot(n)?n(t):n,a=t&&r.validateAt?r.validateAt(t,e):function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var a=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var a=String(r);!0===Array.isArray(t[a])?n[a]=t[a].map((function(t){return!0===Array.isArray(t)||it()(t)?e(t):""!==t?t:void 0})):it()(t[a])?n[a]=e(t[a]):n[a]=""!==t[a]?t[a]:void 0}return n}(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:r})}(e,r);return new Promise((function(e,t){a.then((function(){e(Mt)}),(function(n){"ValidationError"===n.name?e(function(e){var t={};if(e.inner){if(0===e.inner.length)return Tt(t,e.path,e.message);var n=e.inner,r=Array.isArray(n),a=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(a>=n.length)break;i=n[a++]}else{if((a=n.next()).done)break;i=a.value}var o=i;Ft(t,o.path)||(t=Tt(t,o.path,o.message))}}return t}(n)):t(n)}))}))}),[d.validationSchema]),x=Object(o.useCallback)((function(e,t){return new Promise((function(n){return n(g.current[e].validate(t))}))}),[]),S=Object(o.useCallback)((function(e){var t=Object.keys(g.current).filter((function(e){return Ot(g.current[e].validate)})),n=t.length>0?t.map((function(t){return x(t,Ft(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Tt(e,t[r],n)),e}),{})}))}),[x]),F=Object(o.useCallback)((function(e){return Promise.all([S(e),d.validationSchema?E(e):{},d.validate?w(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return rt.all([t,n,r],{arrayMerge:zt})}))}),[d.validate,d.validationSchema,S,w,E]),T=Bt((function(e){return void 0===e&&(e=O.values),Object(ft.unstable_runWithPriority)(ft.unstable_LowPriority,(function(){return F(e).then((function(e){return y.current&&j({type:"SET_ERRORS",payload:e}),e})).catch((function(e){0}))}))})),A=Bt((function(e){return void 0===e&&(e=O.values),j({type:"SET_ISVALIDATING",payload:!0}),F(e).then((function(e){return y.current&&(j({type:"SET_ISVALIDATING",payload:!1}),Je()(O.errors,e)||j({type:"SET_ERRORS",payload:e})),e}))})),C=Object(o.useCallback)((function(e){var t=e&&e.values?e.values:m.current,n=e&&e.errors?e.errors:h.current?h.current:d.initialErrors||{},r=e&&e.touched?e.touched:v.current?v.current:d.initialTouched||{},a=e&&e.status?e.status:b.current?b.current:d.initialStatus;m.current=t,h.current=n,v.current=r,b.current=a;var i=function(){j({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:a,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"==typeof e.submitCount?e.submitCount:0}})};if(d.onReset){var o=d.onReset(O.values,K);St(o)?o.then(i):i()}else i()}),[d.initialErrors,d.initialStatus,d.initialTouched]);Object(o.useEffect)((function(){!0!==y.current||Je()(m.current,d.initialValues)||(m.current=d.initialValues,l&&C(),c&&T(m.current))}),[l,d.initialValues,C,c,T]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(h.current,d.initialErrors)&&(h.current=d.initialErrors||Mt,j({type:"SET_ERRORS",payload:d.initialErrors||Mt}))}),[l,d.initialErrors]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(v.current,d.initialTouched)&&(v.current=d.initialTouched||Rt,j({type:"SET_TOUCHED",payload:d.initialTouched||Rt}))}),[l,d.initialTouched]),Object(o.useEffect)((function(){l&&!0===y.current&&!Je()(b.current,d.initialStatus)&&(b.current=d.initialStatus,j({type:"SET_STATUS",payload:d.initialStatus}))}),[l,d.initialStatus,d.initialTouched]);var P=Bt((function(e){if(Ot(g.current[e].validate)){var t=Ft(O.values,e),n=g.current[e].validate(t);return St(n)?(j({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),j({type:"SET_ISVALIDATING",payload:!1})}))):(j({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return d.validationSchema?(j({type:"SET_ISVALIDATING",payload:!0}),E(O.values,e).then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t[e]}}),j({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),k=Object(o.useCallback)((function(e,t){var n=t.validate;g.current[e]={validate:n}}),[]),N=Object(o.useCallback)((function(e){delete g.current[e]}),[]),I=Bt((function(e,t){return j({type:"SET_TOUCHED",payload:e}),(void 0===t?a:t)?T(O.values):Promise.resolve()})),M=Object(o.useCallback)((function(e){j({type:"SET_ERRORS",payload:e})}),[]),R=Bt((function(e,t){return j({type:"SET_VALUES",payload:e}),(void 0===t?n:t)?T(e):Promise.resolve()})),D=Object(o.useCallback)((function(e,t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),L=Bt((function(e,t,r){return j({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===r?n:r)?T(Tt(O.values,e,t)):Promise.resolve()})),z=Object(o.useCallback)((function(e,t){var n,r=t,a=e;if(!Et(e)){e.persist&&e.persist();var i=e.target?e.target:e.currentTarget,o=i.type,c=i.name,u=i.id,s=i.value,l=i.checked,f=(i.outerHTML,i.options),p=i.multiple;r=t||(c||u),a=/number|range/.test(o)?(n=parseFloat(s),isNaN(n)?"":n):/checkbox/.test(o)?function(e,t,n){if("boolean"==typeof e)return Boolean(t);var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!a)return r.concat(n);if(!a)return r;return r.slice(0,i).concat(r.slice(i+1))}(Ft(O.values,r),l,s):p?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(f):s}r&&L(r,a)}),[L,O.values]),V=Bt((function(e){if(Et(e))return function(t){return z(t,e)};z(e)})),B=Bt((function(e,t,n){return void 0===t&&(t=!0),j({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?a:n)?T(O.values):Promise.resolve()})),U=Object(o.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,a=n.id,i=(n.outerHTML,t||(r||a));B(i,!0)}),[B]),$=Bt((function(e){if(Et(e))return function(t){return U(t,e)};U(e)})),G=Object(o.useCallback)((function(e){Ot(e)?j({type:"SET_FORMIK_STATE",payload:e}):j({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),W=Object(o.useCallback)((function(e){j({type:"SET_STATUS",payload:e})}),[]),q=Object(o.useCallback)((function(e){j({type:"SET_ISSUBMITTING",payload:e})}),[]),H=Bt((function(){return j({type:"SUBMIT_ATTEMPT"}),A().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Z()))return}catch(e){throw e}return Promise.resolve(n).then((function(e){return y.current&&j({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(y.current)throw j({type:"SUBMIT_FAILURE"}),e}))}if(y.current&&(j({type:"SUBMIT_FAILURE"}),t))throw e}))})),Y=Bt((function(e){e&&e.preventDefault&&Ot(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ot(e.stopPropagation)&&e.stopPropagation(),H().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),K={resetForm:C,validateForm:A,validateField:P,setErrors:M,setFieldError:D,setFieldTouched:B,setFieldValue:L,setStatus:W,setSubmitting:q,setTouched:I,setValues:R,setFormikState:G,submitForm:H},Z=Bt((function(){return f(O.values,K)})),J=Bt((function(e){e&&e.preventDefault&&Ot(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Ot(e.stopPropagation)&&e.stopPropagation(),C()})),X=Object(o.useCallback)((function(e){return{value:Ft(O.values,e),error:Ft(O.errors,e),touched:!!Ft(O.touched,e),initialValue:Ft(m.current,e),initialTouched:!!Ft(v.current,e),initialError:Ft(h.current,e)}}),[O.errors,O.touched,O.values]),Q=Object(o.useCallback)((function(e){return{setValue:function(t,n){return L(e,t,n)},setTouched:function(t,n){return B(e,t,n)},setError:function(t){return D(e,t)}}}),[L,B,D]),ee=Object(o.useCallback)((function(e){var t=jt(e),n=t?e.name:e,r=Ft(O.values,n),a={name:n,value:r,onChange:V,onBlur:$};if(t){var i=e.type,o=e.value,c=e.as,u=e.multiple;"checkbox"===i?void 0===o?a.checked=!!r:(a.checked=!(!Array.isArray(r)||!~r.indexOf(o)),a.value=o):"radio"===i?(a.checked=r===o,a.value=o):"select"===c&&u&&(a.value=a.value||[],a.multiple=!0)}return a}),[$,V,O.values]),te=Object(o.useMemo)((function(){return!Je()(m.current,O.values)}),[m.current,O.values]),ne=Object(o.useMemo)((function(){return void 0!==u?te?O.errors&&0===Object.keys(O.errors).length:!1!==u&&Ot(u)?u(d):u:O.errors&&0===Object.keys(O.errors).length}),[u,te,O.errors,d]);return vt({},O,{initialValues:m.current,initialErrors:h.current,initialTouched:v.current,initialStatus:b.current,handleBlur:$,handleChange:V,handleReset:J,handleSubmit:Y,resetForm:C,setErrors:M,setFormikState:G,setFieldTouched:B,setFieldValue:L,setFieldError:D,setStatus:W,setSubmitting:q,setTouched:I,setValues:R,submitForm:H,validateForm:A,validateField:P,isValid:ne,dirty:te,unregisterField:N,registerField:k,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:Q,validateOnBlur:a,validateOnChange:n,validateOnMount:c})}function Lt(e){var t=Dt(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return Object(o.useImperativeHandle)(i,(function(){return t})),Object(o.createElement)(Pt,{value:t},n?Object(o.createElement)(n,t):a?a(t):r?Ot(r)?r(t):xt(r)?null:o.Children.only(r):null)}function zt(e,t,n){var r=e.slice();return t.forEach((function(t,a){if(void 0===r[a]){var i=!1!==n.clone&&n.isMergeableObject(t);r[a]=i?rt(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[a]=rt(e[a],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var Vt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect;function Bt(e){var t=Object(o.useRef)(e);return Vt((function(){t.current=e})),Object(o.useCallback)((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current.apply(void 0,n)}),[])}function Ut(e){var t=e.validate,n=e.name,r=e.render,a=e.children,i=e.as,c=e.component,u=yt(e,["validate","name","render","children","as","component"]),s=yt(Nt(),["validate","validationSchema"]);var l=s.registerField,f=s.unregisterField;Object(o.useEffect)((function(){return l(n,{validate:t}),function(){f(n)}}),[l,f,n,t]);var p=s.getFieldProps(vt({name:n},u)),d=s.getFieldMeta(n),m={field:p,form:s};if(r)return r(vt({},m,{meta:d}));if(Ot(a))return a(vt({},m,{meta:d}));if(c){if("string"==typeof c){var h=u.innerRef,v=yt(u,["innerRef"]);return Object(o.createElement)(c,vt({ref:h},p,{},v),a)}return Object(o.createElement)(c,vt({field:p,form:s},u),a)}var b=i||"input";if("string"==typeof b){var y=u.innerRef,g=yt(u,["innerRef"]);return Object(o.createElement)(b,vt({ref:y},p,{},g),a)}return Object(o.createElement)(b,vt({},p,{},u),a)}var $t=Object(o.forwardRef)((function(e,t){var n=e.action,r=yt(e,["action"]),a=n||"#",i=Nt(),c=i.handleReset,u=i.handleSubmit;return Object(o.createElement)("form",Object.assign({onSubmit:u,ref:t,onReset:c,action:a},r))}));function Gt(e){var t=function(t){return Object(o.createElement)(kt,null,(function(n){return n||lt(!1),Object(o.createElement)(e,Object.assign({},t,{formik:n}))}))},n=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+n+")",dt()(t,e)}$t.displayName="Form";var Wt=function(e,t,n){var r=qt(e);return r.splice(t,0,n),r},qt=function(e){if(e){if(Array.isArray(e))return[].concat(e);var t=Object.keys(e).map((function(e){return parseInt(e)})).reduce((function(e,t){return t>e?t:e}),0);return Array.from(vt({},e,{length:t+1}))}return[]},Ht=function(e){function t(t){var n;return(n=e.call(this,t)||this).updateArrayField=function(e,t,r){var a=n.props,i=a.name;(0,a.formik.setFormikState)((function(n){var a="function"==typeof r?r:e,o="function"==typeof t?t:e,c=Tt(n.values,i,e(Ft(n.values,i))),u=r?a(Ft(n.errors,i)):void 0,s=t?o(Ft(n.touched,i)):void 0;return _t(u)&&(u=void 0),_t(s)&&(s=void 0),vt({},n,{values:c,errors:r?Tt(n.errors,i,u):n.errors,touched:t?Tt(n.touched,i,s):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(qt(t),[ht()(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e),a=r[t];return r[t]=r[n],r[n]=a,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e),a=r[t];return r.splice(t,1),r.splice(n,0,a),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return Wt(n,e,t)}),(function(t){return Wt(t,e,null)}),(function(t){return Wt(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=qt(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t<0&&(t=r.length),r}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n}),(function(e){var n=e?[null].concat(e):[null];return t<0&&(t=n.length),n})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(gt(n)),n.pop=n.pop.bind(gt(n)),n}bt(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){!Je()(Ft(e.formik.values,e.name),Ft(this.props.formik.values,this.props.name))&&this.props.formik.validateOnChange&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?qt(n):[];return t||(t=r[e]),Ot(r.splice)&&r.splice(e,1),r}),!0,!0),t},n.pop=function(){var e;return this.updateArrayField((function(t){var n=t;return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},n.render=function(){var e={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},t=this.props,n=t.component,r=t.render,a=t.children,i=t.name,c=vt({},e,{form:yt(t.formik,["validate","validationSchema"]),name:i});return n?Object(o.createElement)(n,c):r?r(c):a?"function"==typeof a?a(c):xt(a)?null:o.Children.only(a):null},t}(o.Component);Ht.defaultProps={validateOnChange:!0};o.Component,o.Component;var Yt=n(6),Kt={style:{base:{color:"#32325d",fontFamily:'"Helvetica Neue", Helvetica, sans-serif',fontSmoothing:"antialiased",fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}}};var Zt=function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{htmlFor:"form"},Object(Ke.__)("Card details","wubtitle")),Object(i.createElement)(Yt.CardNumberElement,{options:Kt,className:"num"}),Object(i.createElement)(Yt.CardExpiryElement,{options:Kt,className:"exp"}),Object(i.createElement)(Yt.CardCvcElement,{options:Kt,className:"cvc"}))};function Jt(e){var t=e.createSubscription,n=e.backFunction,r=e.error,c=e.paymentPreValues,u=e.updatePrice,s=e.loading,l=e.coupon,p=e.setCoupon,m=e.planId,h=e.couponMessage,v=e.setCouponMessage,b=WP_GLOBALS,y=b.ajaxUrl,g=b.ajaxNonce,_=Object(Yt.useStripe)(),O=Object(Yt.useElements)(),j=Object(o.useState)(!1),w=a()(j,2),E=w[0],x=w[1],S=Object(o.useState)(!1),F=a()(S,2),T=F[0],A=F[1],C=Object(Ke.__)("Required","wubtitle"),P=Ye((function(){var e={};return c&&!E||(e={name:je().required(C),email:je().email(Object(Ke.__)("Invalid email","wubtitle")).required(C)}),Ue().shape(e)})),k=function(){var e=d()(f.a.mark((function e(n){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(_&&O){e.next=2;break}return e.abrupt("return");case 2:if(r=null,!c||E){e.next=8;break}return n.name=c.name,n.email=c.email,t(r,n,_),e.abrupt("return");case 8:r=O.getElement(Yt.CardNumberElement),t(r,n,_);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(i.createElement)("div",{className:"checkout-form"},c?null:Object(i.createElement)("div",{className:"title-section"},Object(i.createElement)("h2",null,Object(Ke.__)("Coupon","wubtitle"))),c?null:Object(i.createElement)("div",{className:"fields-container flex-container"},Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"name"},Object(Ke.__)("Discount Code","wubtitle")),Object(i.createElement)("input",{name:"coupon",placeholder:"Coupon",value:l,onChange:function(e){return p(e.target.value)}}),Object(i.createElement)("p",{className:"coupon-message"},h)),Object(i.createElement)("div",{className:"form-field-container flex-container center-items"},Object(i.createElement)("button",{className:"coupon-button",disabled:!l||T,onClick:function(){return A(!0),void fetch(y,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_coupon&_ajax_nonce=".concat(g,"&coupon=").concat(l,"&planId=").concat(m)}).then((function(e){return e.json()})).then((function(e){A(!1),e.success?(v(e.data.message),u(e.data)):(v(e.data),p(null),u(!1))}))}},T&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Apply Coupon","wubtitle")))),Object(i.createElement)("div",{className:"title-section"},Object(i.createElement)("h2",null,Object(Ke.__)("Payment Details","wubtitle")),c?Object(i.createElement)("div",{className:"switch-container"},Object(i.createElement)("p",null,E?Object(Ke.__)("editing enabled","wubtitle"):Object(Ke.__)("editing disabled","wubtitle")),Object(i.createElement)("label",{htmlFor:"change-data",className:"switch"},Object(i.createElement)("input",{type:"checkbox",onClick:function(){x(!E)}}),Object(i.createElement)("span",{className:"slider round"}))):null),c?Object(i.createElement)("div",{className:"summary columns"},Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Email","wubtitle"),": "),c.email),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Card Details","wubtitle"),": "),c.cardNumber)),Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Card Holder","wubtitle"),": "),c.name),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Expires","wubtitle"),": "),c.expiration))):null,Object(i.createElement)(Lt,{initialValues:{name:"",email:""},validationSchema:P,onSubmit:function(e){k(e)}},(function(e){var t=e.errors,a=e.touched;return Object(i.createElement)($t,null,r&&E||r&&!c?Object(i.createElement)("div",{className:"error-message-container",role:"alert"},Object(i.createElement)("p",{className:"error-message-notice"},r)):"",!c||E?Object(i.createElement)("div",{className:"fields-container"},Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"email"},"E-Mail"),Object(i.createElement)(Ut,{name:"email",placeholder:"Email"}),Object(i.createElement)("p",{className:"error-message"},a.name&&t.name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"name"},Object(Ke.__)("Card Holder","wubtitle")),Object(i.createElement)(Ut,{name:"name",placeholder:"Card Holder"}),Object(i.createElement)("p",{className:"error-message"},a.name&&t.name)),Object(i.createElement)("div",{className:"form-field-container card"},Object(i.createElement)(Zt,null))):null,Object(i.createElement)("div",{className:"button-bar"},Object(i.createElement)("input",{type:"button",className:"cancel",onClick:function(){return n()},value:Object(Ke.__)("Back","wubtitle")}),Object(i.createElement)("button",{disabled:!_||s,className:s?"disabled":""},s&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Subscribe","wubtitle"))))})))}var Xt=n(96),Qt=n.n(Xt),en=n(97),tn=n(98),nn=n(23);function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function an(e){var t,n,r=e.invoicePreValues,o=e.handleSubmit,c=e.cancelFunction,u=e.error,s=e.loading,l=WP_GLOBALS,p=l.ajaxUrl,m=l.ajaxNonce,h=Object(Ke.__)("Required","wubtitle"),v=function(){var e=d()(f.a.mark((function e(r){var a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&16===r.length){e.next=2;break}return e.abrupt("return",!0);case 2:if(!t||t!==r){e.next=4;break}return e.abrupt("return",n);case 4:return t=r,e.next=7,fetch(p,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_fiscal_code&_ajax_nonce=".concat(m,"&fiscalCode=").concat(t)});case 7:return a=e.sent,e.next=10,a.json();case 10:return a=e.sent,n=a.data,e.abrupt("return",n);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=Ye((function(e){var t={invoice_firstname:je().required(h),invoice_email:je().email(Object(Ke.__)("Invalid email","wubtitle")).required(h),invoice_lastname:je().required(h),telephone:je().required(Object(Ke.__)("Telephone number required","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),prefix:je().required(Object(Ke.__)("Prefix required","wubtitle")).matches("^[+][0-9]*$",Object(Ke.__)("Prefix is only numbers","wubtitle")).max(4,Object(Ke.__)("Prefix must be max 3 numbers","wubtitle")),address:je().required(h),city:je().required(h),country:je().required(h)};return nn.includes(e.country)?(e.company_name?(t.vat_code=je().required(h),"IT"===e.country&&(t.vat_code=je().required(h).length(11,Object(Ke.__)("Vat Code must be exactly 11 characters","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),t.fiscal_code=je())):"IT"===e.country&&(t.fiscal_code=je().required(h).length(16,Object(Ke.__)("Fiscal Code must be exactly 16 characters","wubtitle")).test("is-valid-fiscalcode",Object(Ke.__)("Invalid Fiscal Code","wubtitle"),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())),"IT"===e.country&&(t.cap=je().required(h).length(5,Object(Ke.__)("Postal Code must be exactly 5 characters","wubtitle")).matches("^[0-9]*$",Object(Ke.__)("Only numbers","wubtitle")),t.province=je().required(h),t.destination_code=je().length(7,Object(Ke.__)("Destination Code must be exactly 7 characters","wubtitle"))),Ue().shape(t)):Ue().shape(t)})),y={invoice_firstname:"",invoice_email:"",invoice_lastname:"",prefix:"",telephone:"",company_name:"",address:"",cap:"",city:"",province:"",country:"",vat_code:"",fiscal_code:"",destination_code:"0000000"};r&&("+"!==r.prefix.charAt(0)&&(r.prefix="+".concat(r.prefix)),y=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(Object(n),!0).forEach((function(t){Qt()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r));return Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(Lt,{initialValues:y,validationSchema:b,onSubmit:function(e){o(e)}},(function(e){var t,n=e.errors,r=e.touched,o=e.values;return Object(i.createElement)($t,null,Object(i.createElement)("h2",null," ",Object(Ke.__)("Billing Details","wubtitle")),u?Object(i.createElement)("div",{className:"error-message-container",role:"alert"},Object(i.createElement)("p",{className:"error-message-notice"},u)):"",Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceName"},Object(Ke.__)("Name","wubtitle")),Object(i.createElement)(Ut,{name:"invoice_firstname",placeholder:"Name"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_firstname&&n.invoice_firstname)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceLastname"},Object(Ke.__)("Lastname","wubtitle")),Object(i.createElement)(Ut,{name:"invoice_lastname",placeholder:"Lastname"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_lastname&&n.invoice_lastname)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"invoiceEmail"},"E-Mail"),Object(i.createElement)(Ut,{name:"invoice_email",placeholder:"Email"}),Object(i.createElement)("p",{className:"error-message"},r.invoice_email&&n.invoice_email)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"companyName"},Object(Ke.__)("Company Name","wubtitle")),Object(i.createElement)(Ut,{name:"company_name",placeholder:"Company Name"}),Object(i.createElement)("p",{className:"error-message"},r.company_name&&n.company_name)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"country"},Object(Ke.__)("Country","wubtitle")),Object(i.createElement)(Ut,{name:"country",component:"select"},Object(i.createElement)("option",{value:"",label:"Select a country"}),Object.entries(en).map((function(e){var t=a()(e,2),n=t[0],r=t[1];return Object(i.createElement)("option",{key:n,value:n,label:r})}))),Object(i.createElement)("p",{className:"error-message"},r.country&&n.country)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"province"},Object(Ke.__)("Province","wubtitle")),Object(i.createElement)(Ut,{name:"province",component:"select"},Object(i.createElement)("option",{value:"",label:"Select a province"}),Object.entries(tn).map((function(e){var t=a()(e,2),n=t[0],r=t[1];return Object(i.createElement)("option",{key:n,value:n,label:r})}))),Object(i.createElement)("p",{className:"error-message"},r.province&&n.province)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"city"},Object(Ke.__)("City","wubtitle")),Object(i.createElement)(Ut,{name:"city",placeholder:"City"}),Object(i.createElement)("p",{className:"error-message"},r.city&&n.city)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"address"},Object(Ke.__)("Address","wubtitle")),Object(i.createElement)(Ut,{name:"address",placeholder:"Address"}),Object(i.createElement)("p",{className:"error-message"},r.address&&n.address)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"cap"},Object(Ke.__)("Postal Code","wubtitle")),Object(i.createElement)(Ut,{name:"cap",placeholder:"CAP"}),Object(i.createElement)("p",{className:"error-message"},r.cap&&n.cap)),Object(i.createElement)("div",{className:"form-field-container ".concat(o.company_name&&nn.includes(o.country)?"":"hidden")},Object(i.createElement)("label",{htmlFor:"vatCode"},Object(Ke.__)("Vat Code","wubtitle")),Object(i.createElement)("div",null,Object(i.createElement)("span",{className:"prefix-input input"},o.country),Object(i.createElement)(Ut,{className:"input-with-prefix",name:"vat_code",placeholder:"Vat Code"})),Object(i.createElement)("p",{className:"error-message"},r.vat_code&&n.vat_code)),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"fiscalCode"},Object(Ke.__)("Fiscal Code","wubtitle")),Object(i.createElement)(Ut,{name:"fiscal_code",placeholder:"Fiscal Code"}),Object(i.createElement)("p",{className:"error-message"},r.fiscal_code&&n.fiscal_code)),Object(i.createElement)("div",{className:"form-field-container"},Object(i.createElement)("label",{htmlFor:"telephone"},Object(Ke.__)("Telephone","wubtitle")),Object(i.createElement)("div",null,Object(i.createElement)(Ut,{className:"prefix-input",name:"prefix",placeholder:"+",value:(t=o.prefix,"+"!==t.charAt(0)&&(t="+".concat(t)),t.length>4?t.substring(0,t.length-1):t)}),Object(i.createElement)(Ut,{className:"input-with-prefix",name:"telephone",placeholder:"Telephone"})),Object(i.createElement)("p",{className:"error-message"},r.prefix&&n.prefix&&"".concat(n.prefix,". "),r.telephone&&n.telephone&&"".concat(n.telephone,". "))),Object(i.createElement)("div",{className:"form-field-container ".concat("IT"!==o.country?"hidden":"")},Object(i.createElement)("label",{htmlFor:"destination-code"},Object(Ke.__)("Destination Code","wubtitle")),Object(i.createElement)(Ut,{name:"destination_code",placeholder:"Destination Code"}),Object(i.createElement)("p",{className:"error-message"},r.destination_code&&n.destination_code)),Object(i.createElement)("div",{className:"button-bar"},Object(i.createElement)("input",{type:"button",className:"cancel",onClick:function(){return c()},value:Object(Ke.__)("Cancel","wubtitle")}),Object(i.createElement)("button",null,s&&Object(i.createElement)("i",{className:"fa fa-refresh fa-spin loading-margin"}),Object(Ke.__)("Next","wubtitle"))))})))}var on=n(60),cn=n(3),un=n.n(cn);function sn(e){return(sn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){ln(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dn(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function mn(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function hn(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}function vn(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),a=hn(t.slice(0,r)),i=t.slice(r+1).trim();return a.startsWith("webkit")?e[(n=a,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[a]=i,e}),{})}var bn=!1;try{bn=!0}catch(e){}function yn(e){return null===e?null:"object"===sn(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function gn(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ln({},e,t):{}}function _n(e){var t=e.forwardedRef,n=dn(e,["forwardedRef"]),r=n.icon,a=n.mask,i=n.symbol,o=n.className,c=n.title,u=yn(r),s=gn("classes",[].concat(mn(function(e){var t,n=e.spin,r=e.pulse,a=e.fixedWidth,i=e.inverse,o=e.border,c=e.listItem,u=e.flip,s=e.size,l=e.rotation,f=e.pull,p=(ln(t={"fa-spin":n,"fa-pulse":r,"fa-fw":a,"fa-inverse":i,"fa-border":o,"fa-li":c,"fa-flip-horizontal":"horizontal"===u||"both"===u,"fa-flip-vertical":"vertical"===u||"both"===u},"fa-".concat(s),null!=s),ln(t,"fa-rotate-".concat(l),null!=l&&0!==l),ln(t,"fa-pull-".concat(f),null!=f),ln(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(p).map((function(e){return p[e]?e:null})).filter((function(e){return e}))}(n)),mn(o.split(" ")))),l=gn("transform","string"==typeof n.transform?on.b.transform(n.transform):n.transform),f=gn("mask",yn(a)),p=Object(on.a)(u,pn({},s,{},l,{},f,{symbol:i,title:c}));if(!p)return function(){var e;!bn&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var d=p.abstract,m={ref:t};return Object.keys(n).forEach((function(e){_n.defaultProps.hasOwnProperty(e)||(m[e]=n[e])})),On(d[0],m)}_n.displayName="FontAwesomeIcon",_n.propTypes={border:un.a.bool,className:un.a.string,mask:un.a.oneOfType([un.a.object,un.a.array,un.a.string]),fixedWidth:un.a.bool,inverse:un.a.bool,flip:un.a.oneOf(["horizontal","vertical","both"]),icon:un.a.oneOfType([un.a.object,un.a.array,un.a.string]),listItem:un.a.bool,pull:un.a.oneOf(["right","left"]),pulse:un.a.bool,rotation:un.a.oneOf([0,90,180,270]),size:un.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:un.a.bool,symbol:un.a.oneOfType([un.a.bool,un.a.string]),title:un.a.string,transform:un.a.oneOfType([un.a.string,un.a.object]),swapOpacity:un.a.bool},_n.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var On=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=vn(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[hn(t)]=r}return e}),{attrs:{}}),o=r.style,c=void 0===o?{}:o,u=dn(r,["style"]);return i.attrs.style=pn({},i.attrs.style,{},c),t.apply(void 0,[n.tag,pn({},i.attrs,{},u)].concat(mn(a)))}.bind(null,c.a.createElement),jn={prefix:"fas",iconName:"arrow-left",icon:[448,512,[],"f060","M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"]},wn={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"]};function En(e){var t=e.invoiceValues,n=Object(o.useState)(!1),r=a()(n,2),c=r[0],u=r[1],s=Object(o.useState)("closed"),l=a()(s,2),f=l[0],p=l[1];return Object(i.createElement)("div",{className:"summary ".concat(f)},Object(i.createElement)("div",{className:"accordion-bar"},Object(i.createElement)("h2",null,Object(Ke.__)("Billing Recap","wubtitle")),Object(i.createElement)("span",{className:"accordion is-hidden-on-desktop ".concat(f),onClick:function(){u(!c),p(c?"opened":"closed")},"aria-hidden":"true"},Object(i.createElement)(_n,{icon:wn}))),Object(i.createElement)("div",{className:"columns"},Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Name","wubtitle"),": "),t.invoice_firstname),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Email","wubtitle"),": "),t.invoice_email),Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Country","wubtitle"),": "),t.country),t.cap&&"IT"===t.country?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Postal Code","wubtitle"),": "),t.cap):"",Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Address","wubtitle"),": "),t.address),t.telephone?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Telephone","wubtitle"),": "),"".concat(t.prefix," ").concat(t.telephone)):""),Object(i.createElement)("div",{className:"column"},Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Lastname","wubtitle"),": "),t.invoice_lastname),t.company_name?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Company Name","wubtitle"),": "),t.company_name):"",t.province&&"IT"===t.country?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Province","wubtitle"),": "),t.province):"",Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("City","wubtitle"),": "),t.city),t.fiscal_code&&"IT"===t.country?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Fiscal Code","wubtitle"),": "),t.fiscal_code):"",t.vat_code&&t.company_name&&nn.includes(t.country)?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("VAT Code","wubtitle"),": "),t.vat_code):"","0000000"!==t.destination_code&&"IT"===t.country?Object(i.createElement)("p",null,Object(i.createElement)("strong",null,Object(Ke.__)("Destination Code","wubtitle"),":"," "),t.destination_code):"")))}function xn(){return(xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Sn=o.createElement("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Fn=o.createElement("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"});function Tn(e){return o.createElement("svg",xn({viewBox:"0 0 24 24",fill:"#fff",width:18,height:18},e),Sn,Fn)}var An=function(e){var t=e.price,n=e.taxPercentage,r=e.taxAmount,a=e.total,o=e.taxable,c=e.discountedPrice,u=e.messagePrice;return c&&(a=o?c.newTotal:c.price,r=c.newTax),Object(i.createElement)("div",null,Object(i.createElement)("table",{className:"price-table"},Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Price","wubtitle")),c?Object(i.createElement)("td",{className:"val"},Object(i.createElement)("span",{className:"cut-vat"},t," €",Object(i.createElement)("span",{className:"cut-line"})),parseFloat(c.price)," €"):Object(i.createElement)("td",{className:"val"},t," €")),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("VAT","wubtitle")," (",n,"%)"),o?Object(i.createElement)("td",{className:"val"},r," €"):Object(i.createElement)("td",{className:"val"},"0 €"," ",Object(i.createElement)("span",{className:"description"},Object(Ke.__)("no Vat due for you","wubtitle")))),Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Total","wubtitle")),Object(i.createElement)("td",{className:"val"},a," €",Object(i.createElement)("span",{className:"valxm"},u)))),c?Object(i.createElement)("p",{className:"coupon-notice"},Object(Ke.__)("Coupon applied!","wubtitle")):"")},Cn=function(e){var t=e.infoMessage;return Object(i.createElement)("div",{className:"disclaimer"},t&&Object(i.createElement)("p",null,t),Object(i.createElement)("p",null,Object(Ke.__)("When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.","wubtitle")),Object(i.createElement)("p",null,Object(i.createElement)("a",{href:"https://stripe.com/checkout/terms",rel:"noreferrer",target:"_blank"},Object(Ke.__)("Terms and conditions","wubtitle")),Object(i.createElement)("span",null," | "),Object(i.createElement)("a",{href:"https://stripe.com/it/privacy",target:"_blank",rel:"noreferrer"},Object(Ke.__)("Privacy","wubtitle"))))},Pn=function(e){var t=e.name,n=e.update;return Object(i.createElement)("p",{className:"price-name"},n?Object(Ke.__)("Update billing or payment details"):"".concat(Object(Ke.__)("Subscribe to","wubtitle")," ").concat(t," ").concat(Object(Ke.__)("plan","wubtitle")))},kn=function(e){var t=e.currentPlan,n=e.taxPercentage,r=e.renewal,a=e.taxable,o=e.taxAmount,c=e.price,u=e.total;return Object(i.createElement)("table",{className:"price-table"},Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Your plan","wubtitle")),Object(i.createElement)("td",{className:"val"},t)),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("Price","wubtitle")),Object(i.createElement)("td",{className:"val"},c," €")),Object(i.createElement)("tr",null,Object(i.createElement)("td",null,Object(Ke.__)("VAT","wubtitle")," (",n,"%)"),a?Object(i.createElement)("td",{className:"val"},o," €"):Object(i.createElement)("td",{className:"val"},"0 €"," ",Object(i.createElement)("span",{className:"description"},Object(Ke.__)("no Vat due for you","wubtitle")))),Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Total","wubtitle")),Object(i.createElement)("td",{className:"val"},u," €",Object(i.createElement)("span",{className:"valxm"},Object(Ke.__)(" per month","wubtitle")))),r?Object(i.createElement)("tr",{className:"total"},Object(i.createElement)("td",null,Object(Ke.__)("Automatic renewal","wubtitle")),Object(i.createElement)("td",{className:"val"},r)):null)},Nn=function(e){var t=e.update,n=e.price,r=e.name,c=e.taxAmount,u=e.taxPercentage,s=e.taxable,l=e.expirationDate,f=e.discountedPrice,p=" ".concat(Object(Ke.__)("per month","wubtitle")),d=null;f&&"once"===f.duration&&(p=" ".concat(Object(Ke.__)("for this month*","wubtitle")),d="*".concat(Object(Ke.__)("After the first month the monthly price will be","wubtitle")," ").concat(n,"€ + ").concat(c,"€ ").concat(Object(Ke.__)("(VAT)","wubtitle"))),f&&"repeating"===f.duration&&(p=" ".concat(Object(Ke.__)("for the firsts","wubtitle")," ").concat(f.durationInMonths," ").concat(Object(Ke.__)("months*","wubtitle")),d="*".concat(Object(Ke.__)("After the firsts","wubtitle")," ").concat(f.durationInMonths," ").concat(Object(Ke.__)("months the monthly price will be","wubtitle")," ").concat(n,"€ + ").concat(c,"€ ").concat(Object(Ke.__)("(VAT)","wubtitle")));var m=parseFloat(n);s&&(m=parseFloat(n)+parseFloat(c));var h=Object(o.useState)(!1),v=a()(h,2),b=v[0],y=v[1];return Object(i.createElement)("div",{className:"column price-column"},Object(i.createElement)("div",{className:"price"},Object(i.createElement)(Pn,{name:r,update:t}),t?null:Object(i.createElement)("p",{className:"mobile-price-info is-hidden-on-desktop"},f?Object(i.createElement)("span",{className:"cut-vat"},Object(i.createElement)("span",{className:"total"},m," €",Object(i.createElement)("span",{className:"cut-line"})),Object(i.createElement)("span",{className:"total"},parseFloat(f.newTotal)," ","€")):Object(i.createElement)("span",{className:"total"},m," € "),Object(i.createElement)("span",{className:"valxm"},p),Object(i.createElement)(Tn,{className:"info-icon",onClick:function(){return y(!b)}})),t?Object(i.createElement)(kn,{currentPlan:r,renewal:l,taxable:s,taxAmount:c,price:n,taxPercentage:u,total:m}):Object(i.createElement)(An,{price:n,taxPercentage:u,taxAmount:c,taxable:s,total:m,discountedPrice:f,messagePrice:p})),Object(i.createElement)(Cn,{infoMessage:d}),Object(i.createElement)("div",{className:b?"mobile-price-view opened":"mobile-price-view"},Object(i.createElement)("div",{className:"top"},Object(i.createElement)("div",{className:"nav-back",onClick:function(){return y(!b)},"aria-hidden":"true"},Object(i.createElement)("span",null,Object(i.createElement)(_n,{icon:jn}),"Subscription details")),Object(i.createElement)(Pn,{name:r,update:t}),Object(i.createElement)(An,{price:n,taxPercentage:u,taxAmount:c,taxable:s,total:m,discountedPrice:f,messagePrice:p})),Object(i.createElement)(Cn,{infoMessage:d})))},In="https://js.stripe.com/v3",Mn=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,Rn="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",Dn=null,Ln=function(e){return null!==Dn?Dn:Dn=new Promise((function(t,n){if("undefined"!=typeof window)if(window.Stripe&&e&&console.warn(Rn),window.Stripe)t(window.Stripe);else try{var r=function(){for(var e=document.querySelectorAll('script[src^="'.concat(In,'"]')),t=0;t<e.length;t++){var n=e[t];if(Mn.test(n.src))return n}return null}();r&&e?console.warn(Rn):r||(r=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(In).concat(t);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n}(e)),r.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),r.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(e){return void n(e)}else t(null)}))},zn=function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"1.9.0",startTime:t})}(r,n),r},Vn=Promise.resolve().then((function(){return Ln(null)})),Bn=!1;Vn.catch((function(e){Bn||console.warn(e)}));var Un=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Bn=!0;var r=Date.now();return Vn.then((function(e){return zn(e,t,r)}))};document.getElementById("root")&&s.a.render(Object(i.createElement)((function(){var e=WP_GLOBALS,t=e.stripeKey,n=e.planId,r=e.ajaxUrl,c=e.ajaxNonce,u=e.pricePlan,s=e.namePlan,l=e.taxAmount,f=e.taxPercentage,p=Un(t),d=Object(o.useState)(!1),m=a()(d,2),h=m[0],v=m[1],b=Object(o.useState)(null),y=a()(b,2),g=y[0],_=y[1],O=Object(o.useState)(null),j=a()(O,2),w=j[0],E=j[1],x=Object(o.useState)(null),S=a()(x,2),F=S[0],T=S[1],A=Object(o.useState)(!1),C=a()(A,2),P=C[0],k=C[1],N=Object(o.useState)(!1),I=a()(N,2),M=I[0],R=I[1],D=Object(o.useState)(null),L=a()(D,2),z=L[0],V=L[1],B=function(e,t,a){var i=a.name,o=a.email;fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=confirm_subscription&actionCheckout=create&coupon=".concat(g||"","&name=").concat(i,"&email=").concat(o,"&planId=").concat(n,"&_ajax_nonce=").concat(c,"&setupIntent=").concat(JSON.stringify(e))}).then((function(e){return e.json()})).then((function(n){if(n.success)E(null),n.data&&"requires_action"===n.data.status?(E(null),function(e,t,n){n.confirmCardPayment(e,{payment_method:t,setup_future_usage:"off_session"}).then((function(e){"succeeded"===e.paymentIntent.status&&(v(!1),E(null),window.opener.thankYouPage("upgrade")),e.error&&(v(!1),E(e.error.message))}))}(n.data.clientSecret,e.paymentMethod,t)):(v(!1),window.opener.thankYouPage("upgrade"));else{if(n.data.couponError)return V(n.data.message),_(null),U(!1),void v(!1);v(!1),E(n.data)}}))},U=function(e){R(e||!1)};return Object(i.createElement)("div",{className:"main columns"},Object(i.createElement)(Nn,{update:!1,price:u,name:s,taxAmount:l,taxPercentage:f,taxable:!F||F.tax,discountedPrice:M}),Object(i.createElement)(Yt.Elements,{stripe:p},F&&!P?Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(En,{invoiceValues:F,price:u}),Object(i.createElement)(Jt,{createSubscription:function(e,t,n){v(!0);var a=t.email;fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=create_subscription&actionCheckout=create&email=".concat(a,"&_ajax_nonce=").concat(c,"&invoiceObject=").concat(JSON.stringify(F))}).then((function(e){return e.json()})).then((function(r){r.success?function(e,t,n,r){var a=n.name,i=n.email;r.confirmCardSetup(e,{payment_method:{type:"card",card:t,billing_details:{name:a,email:i}}}).then((function(e){e.setupIntent&&"succeeded"===e.setupIntent.status&&(E(null),B(e,r,n)),e.error&&(v(!1),E(e.error.message))}))}(r.data,e,t,n):(v(!1),E(r.data))}))},error:w,backFunction:function(){k(!0),E(null)},paymentPreValues:null,updatePrice:U,loading:h,coupon:g,setCoupon:_,planId:n,couponMessage:z,setCouponMessage:V})):Object(i.createElement)(an,{handleSubmit:function(e){v(!0),fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_vat_code&_ajax_nonce=".concat(c,"&vat_code=").concat(e.vat_code,"&country=").concat(e.country,"&price_plan=").concat(u,"&companyName=").concat(e.company_name)}).then((function(e){return e.json()})).then((function(t){v(!1),t.success?(E(null),e.tax=t.data,T(e),P&&k(!1)):E(t.data)}))},invoicePreValues:F,error:w,cancelFunction:function(){window.opener.cancelPayment()},loading:h})))}),null),document.getElementById("root")),document.getElementById("update-form")&&s.a.render(Object(i.createElement)((function(){var e=WP_GLOBALS,t=e.stripeKey,n=e.ajaxUrl,r=e.ajaxNonce,c=e.pricePlan,u=e.invoicePreValues,s=e.paymentPreValues,l=e.namePlan,f=e.expirationDate,p=e.taxAmount,d=e.taxPercentage,m=e.isTaxable,h=Un(t),v=Object(o.useState)(null),b=a()(v,2),y=b[0],g=b[1],_=Object(o.useState)(!1),O=a()(_,2),j=O[0],w=O[1],E=Object(o.useState)(null),x=a()(E,2),S=x[0],F=x[1],T=Object(o.useState)(!1),A=a()(T,2),C=A[0],P=A[1],k=Object(o.useState)(!0),N=a()(k,2),I=N[0],M=N[1];Object(o.useEffect)((function(){null!==m&&M(m)}),[m]);var R=function(e,t,a,i){var o=a.name,c=a.email;i.confirmCardSetup(e,{payment_method:{type:"card",card:t,billing_details:{name:o,email:c}}}).then((function(e){e.setupIntent&&"succeeded"===e.setupIntent.status&&(g(null),function(e,t,a){var i=a.name,o=a.email;fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=confirm_subscription&actionCheckout=updateCard&name=".concat(i,"&email=").concat(o,"&_ajax_nonce=").concat(r,"&setupIntent=").concat(JSON.stringify(e))}).then((function(e){return e.json()})).then((function(e){e.success?(w(!1),window.opener.thankYouPage("update")):(w(!1),g(e.data))}))}(e,0,a)),e.error&&(w(!1),g(e.error.message))}))};return Object(i.createElement)("div",{className:"main columns"},Object(i.createElement)(Nn,{update:!0,price:c,name:l,taxAmount:p,taxPercentage:d,taxable:I,expirationDate:f,discountedPrice:!1}),Object(i.createElement)(Yt.Elements,{stripe:h},S&&!C?Object(i.createElement)("div",{className:"wrapper-form column"},Object(i.createElement)(En,{invoiceValues:S,price:c}),Object(i.createElement)(Jt,{createSubscription:function(e,t,a){w(!0);var i=t.email,o="updateInvoice";e&&(o="updateCard"),fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=create_subscription&actionCheckout=".concat(o,"&email=").concat(i,"&_ajax_nonce=").concat(r,"&invoiceObject=").concat(JSON.stringify(S))}).then((function(e){return e.json()})).then((function(n){"updateInvoice"===n.data?(w(!1),g(null),window.opener.thankYouPage("update")):n.success?R(n.data,e,t,a):(w(!1),g(n.data))}))},backFunction:function(){P(!0),g(null)},paymentPreValues:s,error:y,setError:g,loading:j})):Object(i.createElement)(an,{handleSubmit:function(e){w(!0),fetch(n,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"action=check_vat_code&_ajax_nonce=".concat(r,"&vat_code=").concat(e.vat_code,"&country=").concat(e.country,"&price_plan=").concat(c)}).then((function(e){return e.json()})).then((function(t){w(!1),t.success?(g(null),M(t.data),F(e),C&&P(!1)):g(t.data)}))},invoicePreValues:S||u,error:y,cancelFunction:function(){window.close()},loading:j})))}),null),document.getElementById("update-form"))}]);
  • wubtitle/trunk/includes/Api/ApiAuthUpgradePlan.php

    r2346395 r2371183  
    1111
    1212use WP_REST_Response;
    13 use \Firebase\JWT\JWT;
     13use Wubtitle\Helpers;
    1414
    1515/**
     
    1717 */
    1818class ApiAuthUpgradePlan {
     19
     20    /**
     21     * Instance of class helpers.
     22     *
     23     * @var mixed
     24     */
     25    private $helpers;
     26
    1927    /**
    2028     * Init class action.
     
    2533        add_action( 'rest_api_init', array( $this, 'register_auth_plan_route' ) );
    2634        add_action( 'rest_api_init', array( $this, 'register_reactivate_plan_route' ) );
     35        $this->helpers = new Helpers();
    2736    }
    2837
     
    3746            '/auth-plan',
    3847            array(
    39                 'methods'  => 'POST',
    40                 'callback' => array( $this, 'auth_and_get_plan' ),
     48                'methods'             => 'POST',
     49                'callback'            => array( $this, 'return_plan' ),
     50                'permission_callback' => function( $request ) {
     51                    return $this->helpers->authorizer( $request );
     52                },
    4153            )
    4254        );
     
    5264            '/reactivate-plan',
    5365            array(
    54                 'methods'  => 'POST',
    55                 'callback' => array( $this, 'reactivate_plan' ),
     66                'methods'             => 'POST',
     67                'callback'            => array( $this, 'reactivate_plan' ),
     68                'permission_callback' => function( $request ) {
     69                    return $this->helpers->authorizer( $request );
     70                },
    5671            )
    5772        );
     
    6176     * JWT authentication.
    6277     *
    63      * @param \WP_REST_Request $request request values.
    6478     * @return WP_REST_Response|array<string,array<string,bool>>
    6579     */
    66     public function reactivate_plan( $request ) {
    67         $headers        = $request->get_headers();
    68         $jwt            = $headers['jwt'][0];
    69         $db_license_key = get_option( 'wubtitle_license_key' );
    70         try {
    71             JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
    72         } catch ( \Exception $e ) {
    73             $error = array(
    74                 'errors' => array(
    75                     'status' => '403',
    76                     'title'  => 'Authentication Failed',
    77                     'source' => $e->getMessage(),
    78                 ),
    79             );
    80 
    81             $response = new WP_REST_Response( $error );
    82 
    83             $response->set_status( 403 );
    84 
    85             return $response;
    86         }
     80    public function reactivate_plan() {
    8781        $is_reactivating = (bool) get_option( 'wubtitle_is_reactivating' );
    8882        update_option( 'wubtitle_is_reactivating', false );
     
    9387        );
    9488        return $message;
    95     }
    96 
    97     /**
    98      * JWT Authentication.
    99      *
    100      * @param \WP_REST_Request $request values.
    101      * @return WP_REST_Response|array<array<string>>
    102      */
    103     public function auth_and_get_plan( $request ) {
    104         $headers        = $request->get_headers();
    105         $jwt            = $headers['jwt'][0];
    106         $db_license_key = get_option( 'wubtitle_license_key' );
    107         try {
    108             JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
    109         } catch ( \Exception $e ) {
    110             $error = array(
    111                 'errors' => array(
    112                     'status' => '403',
    113                     'title'  => 'Authentication Failed',
    114                     'source' => $e->getMessage(),
    115                 ),
    116             );
    117 
    118             $response = new WP_REST_Response( $error );
    119 
    120             $response->set_status( 403 );
    121 
    122             return $response;
    123         }
    124         return $this->return_plan();
    12589    }
    12690
  • wubtitle/trunk/includes/Api/ApiLicenseValidation.php

    r2354686 r2371183  
    1313use WP_REST_Response;
    1414use \Firebase\JWT\JWT;
     15use Wubtitle\Helpers;
    1516
    1617/**
     
    1819 */
    1920class ApiLicenseValidation {
     21    /**
     22     * Instance of class helpers.
     23     *
     24     * @var mixed
     25     */
     26    private $helpers;
     27
    2028    /**
    2129     * Init class action.
     
    2634        add_action( 'rest_api_init', array( $this, 'register_license_validation_route' ) );
    2735        add_action( 'rest_api_init', array( $this, 'register_reset_invalid_license_route' ) );
     36        $this->helpers = new Helpers();
    2837    }
    2938
     
    3847            '/job-list',
    3948            array(
    40                 'methods'  => 'GET',
    41                 'callback' => array( $this, 'auth_and_get_job_list' ),
     49                'methods'             => 'GET',
     50                'callback'            => array( $this, 'get_job_list' ),
     51                'permission_callback' => function( $request ) {
     52                    return $this->helpers->authorizer( $request );
     53                },
    4254            )
    4355        );
     
    5466            '/reset-user',
    5567            array(
    56                 'methods'  => 'POST',
    57                 'callback' => array( $this, 'get_init_data' ),
     68                'methods'             => 'POST',
     69                'callback'            => array( $this, 'get_init_data' ),
     70                'permission_callback' => function( $request ) {
     71                    $headers          = $request->get_headers();
     72                    $token            = $headers['token'][0];
     73                    $current_token    = get_option( 'wubtitle_token' );
     74                    $token_expiration = get_option( 'wubtitle_token_time' );
     75                    if ( $token !== $current_token && time() > $token_expiration ) {
     76                        return false;
     77                    }
     78                },
    5879            )
    5980        );
     
    6283
    6384    /**
    64      * JWT Authentication and reset user data.
     85     * Reset user data.
    6586     *
    6687     * @param \WP_REST_Request $request valori della richiesta.
     
    6889     */
    6990    public function get_init_data( $request ) {
    70         $headers          = $request->get_headers();
    71         $token            = $headers['token'][0];
    72         $current_token    = get_option( 'wubtitle_token' );
    73         $token_expiration = get_option( 'wubtitle_token_time' );
    74         if ( $token !== $current_token && time() > $token_expiration ) {
    75             $error    = array(
    76                 'errors' => array(
    77                     'status' => '403',
    78                     'title'  => 'Authentication Failed',
    79                 ),
    80             );
    81             $response = new WP_REST_Response( $error );
    82             $response->set_status( 403 );
    83             return $response;
    84         }
    8591        $params = json_decode( $request->get_body() )->data;
    8692        // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
     
    104110
    105111        return $message;
    106     }
    107 
    108     /**
    109      * JWT Authentication.
    110      *
    111      * @param \WP_REST_Request $request valori della richiesta.
    112      * @return WP_REST_Response|array<string,array<string,array<int,mixed>>>
    113      */
    114     public function auth_and_get_job_list( $request ) {
    115         $headers = $request->get_headers();
    116         $error   = array(
    117             'errors' => array(
    118                 'status' => '403',
    119                 'title'  => 'Authentication Failed',
    120             ),
    121         );
    122         if ( ! isset( $headers['jwt'] ) ) {
    123             $response = new WP_REST_Response( $error );
    124             $response->set_status( 403 );
    125             return $response;
    126         }
    127         $jwt            = $headers['jwt'][0];
    128         $db_license_key = get_option( 'wubtitle_license_key' );
    129         try {
    130             JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
    131         } catch ( \Exception $e ) {
    132             $error['source'] = $e->getMessage();
    133             $response        = new WP_REST_Response( $error );
    134 
    135             $response->set_status( 403 );
    136 
    137             return $response;
    138         }
    139         return $this->get_job_list();
    140112    }
    141113
  • wubtitle/trunk/includes/Api/ApiPricingPlan.php

    r2354686 r2371183  
    2525        add_action( 'wp_ajax_change_plan', array( $this, 'change_plan' ) );
    2626        add_action( 'wp_ajax_create_subscription', array( $this, 'create_subscription' ) );
    27         add_action( 'wp_ajax_check_coupon', array( $this, 'check_coupon' ) );
    2827        add_action( 'wp_ajax_confirm_subscription', array( $this, 'confirm_subscription' ) );
    2928        add_action( 'wp_ajax_check_plan_change', array( $this, 'check_plan_change' ) );
     
    4039        $current_plan_rank = get_option( 'wubtitle_plan_rank' );
    4140        $is_upgrade        = $wanted_plan_rank > $current_plan_rank;
    42         if ( ! isset( $_POST['_ajax_nonce'] ) || empty( $wanted_plan ) ) {
     41        if ( ! isset( $_POST['_ajax_nonce'] ) || empty( $wanted_plan ) || ! current_user_can( 'manage_options' ) ) {
    4342            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    4443        }
     
    9796     */
    9897    public function reactivate_plan() {
    99         if ( ! isset( $_POST['_ajax_nonce'] ) ) {
     98        if ( ! isset( $_POST['_ajax_nonce'] ) || ! current_user_can( 'manage_options' ) ) {
    10099            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    101100        }
     
    244243     */
    245244    public function create_subscription() {
    246         if ( ! isset( $_POST['_ajax_nonce'], $_POST['invoiceObject'], $_POST['email'], $_POST['actionCheckout'] ) ) {
     245        if ( ! isset( $_POST['_ajax_nonce'], $_POST['invoiceObject'], $_POST['email'], $_POST['actionCheckout'] ) || ! current_user_can( 'manage_options' ) ) {
    247246            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    248247        }
     
    349348        );
    350349        $code_response = $this->is_successful_response( $response ) ? wp_remote_retrieve_response_code( $response ) : '500';
    351         $message       = array(
    352             '400' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
    353             '401' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
    354             '403' => __( 'Access denied', 'wubtitle' ),
    355             '500' => __( 'Could not contact the server', 'wubtitle' ),
    356             ''    => __( 'Could not contact the server', 'wubtitle' ),
    357         );
    358350        $response_body = json_decode( wp_remote_retrieve_body( $response ) );
    359351        if ( 200 !== $code_response ) {
    360             $message = 402 === $code_response ? $response_body->errors->title : $message[ $code_response ];
    361             wp_send_json_error( $message );
     352            $data = $this->error_confirm_manager( $code_response, $response_body );
     353            wp_send_json_error( $data );
    362354        }
    363355        $data = array(
     
    370362        wp_send_json_success( $data );
    371363    }
    372 
    373     /**
    374      * Check coupon code.
    375      *
    376      * @return void
    377      */
    378     public function check_coupon() {
    379         if ( ! isset( $_POST['_ajax_nonce'], $_POST['coupon'], $_POST['planId'] ) ) {
    380             wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    381         }
    382         $coupon  = sanitize_text_field( wp_unslash( $_POST['coupon'] ) );
    383         $nonce   = sanitize_text_field( wp_unslash( $_POST['_ajax_nonce'] ) );
    384         $plan_id = sanitize_text_field( wp_unslash( $_POST['planId'] ) );
    385         check_ajax_referer( 'itr_ajax_nonce', $nonce );
    386 
    387         $body = array(
    388             'data' => array(
    389                 'coupon' => $coupon,
    390                 'planId' => $plan_id,
    391             ),
    392         );
    393 
    394         $license_key   = get_option( 'wubtitle_license_key' );
    395         $response      = wp_remote_post(
    396             WUBTITLE_ENDPOINT . 'stripe/customer/create/preview',
    397             array(
    398                 'method'  => 'POST',
    399                 'timeout' => 10,
    400                 'headers' => array(
    401                     'Content-Type' => 'application/json; charset=utf-8',
    402                     'licenseKey'   => $license_key,
    403                     'domainUrl'    => get_site_url(),
    404                 ),
    405                 'body'    => wp_json_encode( $body ),
    406             )
    407         );
    408         $code_response = $this->is_successful_response( $response ) ? wp_remote_retrieve_response_code( $response ) : '500';
    409         $response_body = json_decode( wp_remote_retrieve_body( $response ) );
    410         $message       = array(
     364    /**
     365     * Manager of confirm error.
     366     *
     367     * @param int|string $code_response code response.
     368     * @param mixed      $response_body body of response.
     369     *
     370     * @return string|array<mixed>
     371     */
     372    private function error_confirm_manager( $code_response, $response_body ) {
     373        $message = array(
    411374            '400' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
    412375            '401' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
     
    415378            ''    => __( 'Could not contact the server', 'wubtitle' ),
    416379        );
    417         if ( 200 !== $code_response ) {
    418             $message['402'] = $response_body->errors->title;
    419             $message        = $message[ $code_response ];
    420             if ( 400 === $code_response && 'INVALID_COUPON' === $response_body->errors->title ) {
    421                 $message = __( 'Invalid Coupon', 'wubtitle' );
    422             }
    423             wp_send_json_error( $message );
    424         }
    425         $data = array(
    426             'price'    => $response_body->data->netAmount,
    427             'newTax'   => $response_body->data->taxAmount,
    428             'newTotal' => $response_body->data->totalAmount,
    429         );
    430         wp_send_json_success( $data );
     380        if ( 400 !== $code_response || ! isset( $response_body->errors->title ) ) {
     381            return 402 === $code_response ? $response_body->errors->title : $message[ $code_response ];
     382        }
     383        $error         = $response_body->errors->title;
     384        $error_message = array(
     385            'WRONG_CUSTOMER'    => __( 'Unable to apply discount. You are not authorized to use this coupon', 'wubtitle' ),
     386            'FIRST_TRANSACTION' => __( 'Unable to apply discount. This coupon can only be used on the first purchase', 'wubtitle' ),
     387            'GENERIC_ERROR'     => __( 'Unable to apply discount. Please try again later or enter a different discount code', 'wubtitle' ),
     388        );
     389        $data          = array(
     390            'couponError' => true,
     391            'message'     => $error_message[ $error ],
     392        );
     393        return $data;
    431394    }
    432395}
  • wubtitle/trunk/includes/Api/ApiStoreSubtitle.php

    r2346395 r2371183  
    1111
    1212use WP_REST_Response;
    13 use \Firebase\JWT\JWT;
    1413use \download_url;
     14use Wubtitle\Helpers;
    1515
    1616/**
     
    1919class ApiStoreSubtitle {
    2020    /**
     21     * Instance of class helpers.
     22     *
     23     * @var mixed
     24     */
     25    private $helpers;
     26
     27    /**
    2128     * Init class action.
    2229     *
     
    2633        add_action( 'rest_api_init', array( $this, 'register_store_subtitle_route' ) );
    2734        add_action( 'rest_api_init', array( $this, 'register_error_jobs_route' ) );
     35        $this->helpers = new Helpers();
    2836    }
    2937
     
    3846            '/store-subtitle',
    3947            array(
    40                 'methods'  => 'POST',
    41                 'callback' => array( $this, 'auth_and_get_subtitle' ),
     48                'methods'             => 'POST',
     49                'callback'            => array( $this, 'get_subtitle' ),
     50                'permission_callback' => function( $request ) {
     51                    return $this->helpers->authorizer( $request );
     52                },
    4253            )
    4354        );
    44     }
    45 
    46     /**
    47      * JWT authentication.
    48      *
    49      * @param \WP_REST_Request $request request values.
    50      * @return WP_REST_Response
    51      */
    52     public function auth_and_get_subtitle( $request ) {
    53         $headers        = $request->get_headers();
    54         $jwt            = $headers['jwt'][0];
    55         $params         = $request->get_param( 'data' );
    56         $db_license_key = get_option( 'wubtitle_license_key' );
    57         try {
    58             JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
    59         } catch ( \Exception $e ) {
    60             $error = array(
    61                 'errors' => array(
    62                     'status' => '403',
    63                     'title'  => 'Authentication Failed',
    64                     'source' => $e->getMessage(),
    65                 ),
    66             );
    67 
    68             $response = new WP_REST_Response( $error );
    69 
    70             $response->set_status( 403 );
    71 
    72             return $response;
    73         }
    74         return $this->get_subtitle( $params );
    7555    }
    7656
     
    198178            '/error-jobs',
    199179            array(
    200                 'methods'  => 'POST',
    201                 'callback' => array( $this, 'get_jobs_failed' ),
     180                'methods'             => 'POST',
     181                'callback'            => array( $this, 'get_jobs_failed' ),
     182                'permission_callback' => '__return_true',
    202183            )
    203184        );
  • wubtitle/trunk/includes/Core/Activation.php

    r2348353 r2371183  
    2121    public function run() {
    2222        register_activation_hook( WUBTITLE_FILE_URL, array( $this, 'wubtitle_activation_license_key' ) );
     23        add_action( '_core_updated_successfully', array( $this, 'wubtitle_activation_license_key' ), 10, 1 );
    2324    }
    2425
     
    2627     * When the plugin is activated calls the endpoint to receive the license key.
    2728     *
     29     * @param string $wp_version WordPress version.
     30     *
    2831     * @return void
    2932     */
    30     public function wubtitle_activation_license_key() {
     33    public function wubtitle_activation_license_key( $wp_version = '' ) {
    3134        $site_url      = get_site_url();
     35        $wubtitle_data = get_plugin_data( WUBTITLE_FILE_URL );
    3236        $body          = array(
    3337            'data' => array(
    34                 'domainUrl' => $site_url,
    35                 'siteLang'  => explode( '_', get_locale(), 2 )[0],
     38                'domainUrl'     => $site_url,
     39                'siteLang'      => explode( '_', get_locale(), 2 )[0],
     40                'wpVersion'     => empty( $wp_version ) ? $GLOBALS['wp_version'] : $wp_version,
     41                'pluginVersion' => $wubtitle_data['Version'],
    3642            ),
    3743        );
  • wubtitle/trunk/includes/Dashboard/Settings.php

    r2354686 r2371183  
    4545    public function create_settings_menu() {
    4646        // TODO: Cambiare $icon_url e $position (attualmente subito dopo "Impostazioni") quando verranno date indicazioni UX.
    47         add_menu_page( __( 'Wubtitle Settings', 'wubtitle' ), __( 'Wubtitle', 'wubtitle' ), 'manage_options', 'wubtitle_settings', array( $this, 'render_settings_page' ), 'dashicons-format-status', 81 );
     47        add_menu_page( __( 'Wubtitle Settings', 'wubtitle' ), __( 'Wubtitle', 'wubtitle' ), 'edit_posts', 'wubtitle_settings', array( $this, 'render_settings_page' ), 'dashicons-format-status', 81 );
    4848    }
    4949
     
    184184    private function render_plan_renewal( $plan, $cancelling, $date ) {
    185185        if ( '0' !== $plan && ! $cancelling ) {
    186             echo esc_html( __( 'Automatic renewal:', 'wubtitle' ) . $date ) . ' ';
     186            echo esc_html( __( 'Automatic renewal:', 'wubtitle' ) . ' ' . $date );
    187187        } elseif ( '0' !== $plan && $cancelling ) {
    188             echo esc_html( __( 'You requested the subscription cancellation. Your plan will be valid until', 'wubtitle' ) . $date );
     188            echo esc_html( __( 'You requested the subscription cancellation. Your plan will be valid until', 'wubtitle' ) . ' ' . $date );
    189189        }
    190190    }
     
    197197     */
    198198    private function render_plan_update( $cancelling ) {
    199         if ( ! $cancelling && ! get_option( 'wubtitle_free' ) && $this->price_info_plans ) {
     199        if ( ! $cancelling && ! get_option( 'wubtitle_free' ) && $this->price_info_plans && current_user_can( 'manage_options' ) ) {
    200200            ?>
    201201            <a href="#" id="cancel-license-button" style="text-decoration: underline; color:red; margin-right:10px;" >
     
    203203            </a>
    204204            <a href="#" id="update-plan-button" style="text-decoration: underline" >
    205                 <?php esc_html_e( 'Update email or payment detail', 'wubtitle' ); ?>
     205                <?php esc_html_e( 'Update billing or payment details', 'wubtitle' ); ?>
    206206            </a>
    207207            <a href="#" id="modify-plan" style="text-decoration: underline; margin-left: 10px;" >
     
    321321
    322322        $plans    = get_option( 'wubtitle_all_plans', array() );
    323         $disabled = count( $plans ) === 0 ? 'disabled' : '';
    324         $message  = count( $plans ) === 0 ? __( 'Upgrade feature temporarily disabled due to error loading the page. Please refresh the page and try again.', 'wubtitle' ) : '';
     323        $disabled = '';
     324        $message  = '';
     325        if ( count( $plans ) === 0 ) {
     326            $disabled = 'disabled';
     327            $message  = __( 'Upgrade feature temporarily disabled due to error loading the page. Please refresh the page and try again.', 'wubtitle' );
     328        }
     329        if ( ! current_user_can( 'manage_options' ) ) {
     330            $disabled = 'disabled';
     331            $message  = __( 'Upgrading and plan changes can only be done by the administrator', 'wubtitle' );
     332        }
    325333        if ( count( $plans ) === 0 || ( get_option( 'wubtitle_plan_rank' ) < count( $plans ) - 1 && $this->price_info_plans ) ) {
    326334            add_settings_field(
     
    338346            );
    339347        }
    340         add_settings_field(
    341             'wubtitle-license-key',
    342             __( 'License Number', 'wubtitle' ),
    343             array( $this, 'input_field' ),
    344             'wubtitle-settings',
    345             'wubtitle-main-settings',
    346             array(
    347                 'type'        => 'text',
    348                 'name'        => 'wubtitle_license_key',
    349                 'placeholder' => __( 'License key', 'wubtitle' ),
    350                 'class'       => 'input-license-key',
    351                 'description' => __( 'Please enter the license key you received after successful checkout', 'wubtitle' ),
    352             )
    353         );
     348        if ( current_user_can( 'manage_options' ) ) {
     349            add_settings_field(
     350                'wubtitle-license-key',
     351                __( 'License Number', 'wubtitle' ),
     352                array( $this, 'input_field' ),
     353                'wubtitle-settings',
     354                'wubtitle-main-settings',
     355                array(
     356                    'type'        => 'text',
     357                    'name'        => 'wubtitle_license_key',
     358                    'placeholder' => __( 'License key', 'wubtitle' ),
     359                    'class'       => 'input-license-key',
     360                    'description' => __( 'Please enter the license key you received after successful checkout', 'wubtitle' ),
     361                )
     362            );
     363        }
    354364    }
    355365
  • wubtitle/trunk/includes/Dashboard/Templates/update_template.php

    r2346395 r2371183  
    1111 * This template displays the update plan page.
    1212 */
     13
     14wp_cache_delete( 'wubtitle_plan', 'options' );
     15wp_cache_delete( 'wubtitle_free', 'options' );
     16wp_cache_delete( 'wubtitle_plan_rank', 'options' );
     17wp_cache_delete( 'wubtitle_is_first_month', 'options' );
     18
    1319?>
    1420<!DOCTYPE html>
  • wubtitle/trunk/includes/Gutenberg/VideoBlock.php

    r2354686 r2371183  
    2424    public function run() {
    2525        add_action( 'enqueue_block_editor_assets', array( $this, 'add_subtitle_button_enqueue' ) );
    26         add_action( 'init', array( $this, 'video_block_dynamic' ) );
     26        add_filter( 'render_block', array( $this, 'video_dynamic_block_render_callback' ), 10, 2 );
    2727    }
    2828
     
    4848
    4949    /**
    50      * This function overrides the core/video block.
    51      *
    52      * @return void
    53      */
    54     public function video_block_dynamic() {
    55         register_block_type(
    56             'core/video',
    57             array(
    58                 'render_callback' => array( $this, 'video_dynamic_block_render_callback' ),
    59             )
    60         );
    61     }
    62 
    63     /**
    6450     * Dynamic block callback.
    6551     *
    66      * @param array<string,int> $attributes video attributes (id).
    67      * @param string            $content standard video block html generated by wordress.
     52     * @param string       $block_content standard video block html generated by wordress.
     53     * @param array<mixed> $block video attributes (id).
    6854     * @return string|false
    6955     */
    70     public function video_dynamic_block_render_callback( $attributes, $content ) {
     56    public function video_dynamic_block_render_callback( $block_content, $block ) {
     57        if ( 'core/video' !== $block['blockName'] ) {
     58            return $block_content;
     59        }
    7160        wp_enqueue_style( 'wubtitle_test', WUBTITLE_URL . '/assets/css/subtitles.css', array(), WUBTITLE_VER );
     61        $attributes = $block['attrs'];
    7262        if ( empty( $attributes['id'] ) ) {
    73             return $content;
     63            return $block_content;
    7464        }
    7565        $subtitle     = get_post_meta( $attributes['id'], 'wubtitle_subtitle', true );
     
    7969        $status       = get_post_meta( $attributes['id'], 'wubtitle_status', true );
    8070        if ( ! $subtitle_src || ! $video_src || 'enabled' !== $status ) {
    81             return $content;
     71            return $block_content;
    8272        }
    8373        ob_start();
  • wubtitle/trunk/includes/Helpers.php

    r2346395 r2371183  
    99
    1010namespace Wubtitle;
     11
     12use \Firebase\JWT\JWT;
    1113
    1214/**
     
    8082    }
    8183
     84    /**
     85     * JWT authentication
     86     *
     87     * @param \WP_REST_Request $request request value.
     88     * @return bool|object
     89     */
     90    public function authorizer( $request ) {
     91        $headers = $request->get_headers();
     92        if ( ! isset( $headers['jwt'] ) ) {
     93            return false;
     94        }
     95        $jwt            = $headers['jwt'][0];
     96        $db_license_key = get_option( 'wubtitle_license_key' );
     97        return JWT::decode( $jwt, $db_license_key, array( 'HS256' ) );
     98    }
     99
    82100}
  • wubtitle/trunk/includes/Utils/InvoiceHelper.php

    r2354686 r2371183  
    2323        add_action( 'wp_ajax_check_vat_code', array( $this, 'check_vat_code' ) );
    2424        add_action( 'wp_ajax_check_fiscal_code', array( $this, 'check_fiscal_code' ) );
     25        add_action( 'wp_ajax_check_coupon', array( $this, 'check_coupon' ) );
    2526    }
    2627
     
    3132     */
    3233    public function check_vat_code() {
    33         if ( ! isset( $_POST['_ajax_nonce'], $_POST['price_plan'], $_POST['vat_code'], $_POST['country'] ) ) {
     34        if ( ! isset( $_POST['_ajax_nonce'], $_POST['price_plan'], $_POST['vat_code'], $_POST['country'] ) || ! current_user_can( 'manage_options' ) ) {
    3435            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    3536        }
     
    9192     */
    9293    public function check_fiscal_code() {
    93         if ( ! isset( $_POST['_ajax_nonce'], $_POST['fiscalCode'] ) ) {
     94        if ( ! isset( $_POST['_ajax_nonce'], $_POST['fiscalCode'] ) || ! current_user_can( 'manage_options' ) ) {
    9495            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
    9596        }
     
    137138        $eu_countries_file = wp_remote_get( WUBTITLE_URL . 'build_form/europeanCountries.json' );
    138139        $eu_countries      = json_decode( wp_remote_retrieve_body( $eu_countries_file ) );
    139         if ( ! isset( $invoice_object->invoice_name, $invoice_object->invoice_lastname, $invoice_object->invoice_email, $invoice_object->telephone, $invoice_object->prefix, $invoice_object->address, $invoice_object->city, $invoice_object->country ) ) {
     140        if ( ! isset( $invoice_object->invoice_firstname, $invoice_object->invoice_lastname, $invoice_object->invoice_email, $invoice_object->telephone, $invoice_object->prefix, $invoice_object->address, $invoice_object->city, $invoice_object->country ) ) {
    140141            return false;
    141142        }
    142143        $invoice_details = array(
    143             'Name'            => $invoice_object->invoice_name,
     144            'Name'            => $invoice_object->invoice_firstname,
    144145            'LastName'        => $invoice_object->invoice_lastname,
    145146            'Email'           => $invoice_object->invoice_email,
     
    225226        $is_taxable      = $response_body->data->taxable;
    226227        $invoice_data    = array(
    227             'invoice_name'    => $invoice_details->Name,
    228             'invoice_email'    => $invoice_details->Email,
    229             'invoice_lastname' => $invoice_details->LastName,
    230             'telephone'        => $invoice_details->Telephone,
    231             'prefix'           => $invoice_details->TelephonePrefix,
    232             'company_name'     => $invoice_details->CompanyName,
    233             'address'          => $invoice_details->Address,
    234             'cap'              => $invoice_details->PostCode,
    235             'city'             => $invoice_details->City,
    236             'province'         => $invoice_details->Province,
    237             'country'          => $invoice_details->Country,
    238             'vat_code'         => $invoice_details->VatCode,
    239             'fiscal_code'      => $invoice_details->FiscalCode,
    240             'destination_code' => $invoice_details->DestinationCode,
     228            'invoice_firstname' => $invoice_details->Name,
     229            'invoice_email'     => $invoice_details->Email,
     230            'invoice_lastname'  => $invoice_details->LastName,
     231            'telephone'         => $invoice_details->Telephone,
     232            'prefix'            => $invoice_details->TelephonePrefix,
     233            'company_name'      => $invoice_details->CompanyName,
     234            'address'           => $invoice_details->Address,
     235            'cap'               => $invoice_details->PostCode,
     236            'city'              => $invoice_details->City,
     237            'province'          => $invoice_details->Province,
     238            'country'           => $invoice_details->Country,
     239            'vat_code'          => $invoice_details->VatCode,
     240            'fiscal_code'       => $invoice_details->FiscalCode,
     241            'destination_code'  => $invoice_details->DestinationCode,
    241242        );
    242243        $payment_data    = array(
     
    252253        );
    253254    }
     255
     256
     257    /**
     258     * Check coupon code.
     259     *
     260     * @return void
     261     */
     262    public function check_coupon() {
     263        if ( ! isset( $_POST['_ajax_nonce'], $_POST['coupon'], $_POST['planId'] ) || ! current_user_can( 'manage_options' ) ) {
     264            wp_send_json_error( __( 'An error occurred. Please try again in a few minutes.', 'wubtitle' ) );
     265        }
     266        $coupon  = sanitize_text_field( wp_unslash( $_POST['coupon'] ) );
     267        $nonce   = sanitize_text_field( wp_unslash( $_POST['_ajax_nonce'] ) );
     268        $plan_id = sanitize_text_field( wp_unslash( $_POST['planId'] ) );
     269        check_ajax_referer( 'itr_ajax_nonce', $nonce );
     270
     271        $body = array(
     272            'data' => array(
     273                'coupon' => $coupon,
     274                'planId' => $plan_id,
     275            ),
     276        );
     277
     278        $license_key   = get_option( 'wubtitle_license_key' );
     279        $response      = wp_remote_post(
     280            WUBTITLE_ENDPOINT . 'stripe/customer/create/preview',
     281            array(
     282                'method'  => 'POST',
     283                'timeout' => 10,
     284                'headers' => array(
     285                    'Content-Type' => 'application/json; charset=utf-8',
     286                    'licenseKey'   => $license_key,
     287                    'domainUrl'    => get_site_url(),
     288                ),
     289                'body'    => wp_json_encode( $body ),
     290            )
     291        );
     292        $code_response = ! is_wp_error( $response ) ? wp_remote_retrieve_response_code( $response ) : '500';
     293        $response_body = json_decode( wp_remote_retrieve_body( $response ) );
     294        $message       = array(
     295            '400' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
     296            '401' => __( 'An error occurred. Please try again in a few minutes', 'wubtitle' ),
     297            '403' => __( 'Access denied', 'wubtitle' ),
     298            '500' => __( 'Could not contact the server', 'wubtitle' ),
     299            ''    => __( 'Could not contact the server', 'wubtitle' ),
     300        );
     301        if ( 200 !== $code_response ) {
     302            $message['402'] = $response_body->errors->title;
     303            $message        = $message[ $code_response ];
     304            if ( 400 === $code_response && 'INVALID_COUPON' === $response_body->errors->title ) {
     305                $message = __( 'Invalid Coupon', 'wubtitle' );
     306            }
     307            wp_send_json_error( $message );
     308        }
     309        $data = array(
     310            'price'            => $response_body->data->netAmount,
     311            'newTax'           => $response_body->data->taxAmount,
     312            'newTotal'         => $response_body->data->totalAmount,
     313            'duration'         => $response_body->data->duration,
     314            'durationInMonths' => isset( $response_body->data->durationInMonths ) ? $response_body->data->durationInMonths : '',
     315        );
     316        wp_send_json_success( $data );
     317    }
    254318}
  • wubtitle/trunk/languages/wubtitle-it_IT-082cb3cfb7f0d9aaf9883884ca93b72a.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InvoiceForm.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Required":["Obbligat"],"Invalid email":["Email non valida"],"Telephone number required":["Numero di telefono richiesto"],"Only numbers":["Solo numeri"],"Prefix required":["Prefisso obbligatorio"],"Prefix is only numbers":["Prefisso: solo numeri"],"Prefix must be max 3 numbers":["Il prefisso ha massimo 3 numeri"],"Vat Code must be exactly 11 characters":["La partita iva deve essere esattamente di 11 caratteri"],"Fiscal Code must be exactly 16 characters":["Il codice fiscale deve essere esattamente di 16 caratteri"],"Postal Code must be exactly 5 characters":["Il codice postale deve essere esattamente di 5 caratteri"],"Destination Code must be exactly 7 characters":["Codice di destinazioni deve essere esattamente di 7 caratteri"],"Billing Details":["Dettagli fatturazione"],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Vat Code":["Partita iva"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Cancel":["Annulla"],"Summary":["Riepilogo"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InvoiceForm.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Required":["Obbligat"],"Invalid email":["Email non valida"],"Telephone number required":["Numero di telefono richiesto"],"Only numbers":["Solo numeri"],"Prefix required":["Prefisso obbligatorio"],"Prefix is only numbers":["Prefisso: solo numeri"],"Prefix must be max 3 numbers":["Il prefisso ha massimo 3 numeri"],"Vat Code must be exactly 11 characters":["La partita iva deve essere esattamente di 11 caratteri"],"Fiscal Code must be exactly 16 characters":["Il codice fiscale deve essere esattamente di 16 caratteri"],"Invalid Fiscal Code":["Codice fiscale non valido"],"Postal Code must be exactly 5 characters":["Il codice postale deve essere esattamente di 5 caratteri"],"Destination Code must be exactly 7 characters":["Codice di destinazioni deve essere esattamente di 7 caratteri"],"Billing Details":["Dettagli fatturazione"],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Vat Code":["Partita iva"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Cancel":["Annulla"],"Next":["Avanti"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-17faf4638fc6bb20e37946e634ecee08.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InvoiceSummary.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Email":[""],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Fiscal Code":["Codice fiscale"],"Destination Code":["Codice di destinazione"],"Billing Recap":["Riepilogo dati di fattura"],"VAT Code":["Partita IVA"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InvoiceSummary.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Email":[""],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Billing Recap":["Riepilogo dati di fattura"],"VAT Code":["Partita IVA"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-2684b3dabd7823b0128434ddd21a0b3d.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"build_form\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Your plan":["Il tuo piano"],"Card details":["Dettagli carta"],"Required":["Obbligat"],"Invalid email":["Email non valida"],"Payment Details":["Dettagli di pagamento"],"editing enabled":["modalit\u00e0 modifica attivata"],"editing disabled":["modalit\u00e0 mopdifica disattivata"],"Email":[""],"Card Details":["Dettagli carta"],"Card Holder":["Titolare della carta"],"Expires":["Scadenza"],"Back":["Indietro"],"Confirm order":["Conferma"],"Telephone number required":["Numero di telefono richiesto"],"Only numbers":["Solo numeri"],"Prefix required":["Prefisso obbligatorio"],"Prefix is only numbers":["Prefisso: solo numeri"],"Prefix must be max 3 numbers":["Il prefisso ha massimo 3 numeri"],"Vat Code must be exactly 11 characters":["La partita iva deve essere esattamente di 11 caratteri"],"Fiscal Code must be exactly 16 characters":["Il codice fiscale deve essere esattamente di 16 caratteri"],"Postal Code must be exactly 5 characters":["Il codice postale deve essere esattamente di 5 caratteri"],"Destination Code must be exactly 7 characters":["Codice di destinazioni deve essere esattamente di 7 caratteri"],"Billing Details":["Dettagli fatturazione"],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Vat Code":["Partita iva"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Cancel":["Annulla"],"Summary":["Riepilogo"],"Billing Recap":["Riepilogo dati di fattura"],"VAT Code":["Partita IVA"],"Price":["Prezzo"],"VAT":["IVA"],"Total":["Totale"],"per month":["per mese"],"When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.":["In caso di pagamento all'interno dell'UE un pagamento pu\u00f2 essere esente da IVA se viene fornito un numero di partita IVA valido."],"Terms and conditions":["Termini e condizioni"],"Privacy":[""],"Subscribe to":["Iscrizione a"],"plan":["piano"],"Automatic renewal":["Rinnovo automatico: "]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"build_form\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Your plan":["Il tuo piano"],"Card details":["Dettagli carta"],"Required":["Obbligat"],"Invalid email":["Email non valida"],"Coupon":[""],"Discount Code":["Codice Sconto"],"Apply Coupon":["Applica Coupon"],"Payment Details":["Dettagli di pagamento"],"editing enabled":["modalit\u00e0 modifica attivata"],"editing disabled":["modalit\u00e0 modifica disattivata"],"Email":[""],"Card Details":["Dettagli carta"],"Card Holder":["Titolare della carta"],"Expires":["Scadenza"],"Back":["Indietro"],"Subscribe":["Iscrizione"],"Telephone number required":["Numero di telefono richiesto"],"Only numbers":["Solo numeri"],"Prefix required":["Prefisso obbligatorio"],"Prefix is only numbers":["Prefisso: solo numeri"],"Prefix must be max 3 numbers":["Il prefisso ha massimo 3 numeri"],"Vat Code must be exactly 11 characters":["La partita iva deve essere esattamente di 11 caratteri"],"Fiscal Code must be exactly 16 characters":["Il codice fiscale deve essere esattamente di 16 caratteri"],"Invalid Fiscal Code":["Codice fiscale non valido"],"Postal Code must be exactly 5 characters":["Il codice postale deve essere esattamente di 5 caratteri"],"Destination Code must be exactly 7 characters":["Codice di destinazioni deve essere esattamente di 7 caratteri"],"Billing Details":["Dettagli fatturazione"],"Name":["Nome"],"Lastname":["Cognome"],"Company Name":["Nome azienda"],"Country":["Nazione"],"Province":["Provincia"],"City":["Citt\u00e0"],"Address":["Indirizzo"],"Postal Code":["Codice postale"],"Vat Code":["Partita iva"],"Fiscal Code":["Codice fiscale"],"Telephone":["Numero di telefono"],"Destination Code":["Codice di destinazione"],"Cancel":["Annulla"],"Next":["Avanti"],"Billing Recap":["Riepilogo dati di fattura"],"VAT Code":["Partita IVA"],"Price":["Prezzo"],"VAT":["IVA"],"no Vat due for you":["nessuna IVA per te"],"Total":["Totale"],"Coupon applied!":["Coupon applicato!"],"When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.":["In caso di pagamento all'interno dell'UE un pagamento pu\u00f2 essere esente da IVA se viene fornito un numero di partita IVA valido."],"Terms and conditions":["Termini e condizioni"],"Privacy":[""],"Subscribe to":["Iscrizione a"],"plan":["piano"]," per month":["per mese"],"Automatic renewal":["Rinnovo automatico: "],"per month":["per mese"],"for this month*":["per questo mese*"],"After the first month the price is":["Dopo il primo mese il prezzo \u00e8"],"(VAT)":["(IVA)"],"for the first":["per il primo"],"months*":["mesi*"],"After the first":["Dopo il primo"],"months the price is":["mesi il prezzo \u00e8"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-2b87d19cc900cf7980c08750a6ffedc8.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InfoPriceColumn.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"per month":["per mese"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/InfoPriceColumn.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"per month":["per mese"],"for this month*":["per questo mese*"],"(VAT)":["(IVA)"],"months*":["mesi*"],"After the first month the monthly price will be":["Dopo il primo mese il prezzo mensile sar\u00e0"],"for the firsts":["per i primi"],"After the firsts":["Dopo i primi"],"months the monthly price will be":["mesi il prezzo mensile sar\u00e0"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-46e33d8ed60f7075f374f6202f7cfa51.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/PendingSubtitle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Status:":["Stato:"],"Language:":["Lingua:"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/PendingSubtitle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Status:":["Stato:"],"Language:":["Lingua:"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-4bc3626de0ecd6358143b5cb3182ee1f.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/SubtitleControl.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Published":["Pubblicati"],"Status:":["Stato:"],"Language:":["Lingua:"],"Getting transcript\u2026":["Generazione trascrizione..."],"Get Transcribe":["Ottieni trascrizione"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/SubtitleControl.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Published":["Pubblicati"],"Status:":["Stato:"],"Language:":["Lingua:"],"Getting transcript\u2026":["Generazione trascrizione..."],"Get Transcribe":["Ottieni trascrizione"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-563dfe6dc0dc70121876df8ca46c4043.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"assets\/editor\/transcriptionModalScript.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Transcription of the video":["Trascrizione del video"],"Error, language not selected":["Errore, lingua non selezionata"],"Select language":["Seleziona la lingua"],"Error: this video does not contain subtitles. Select a video with subtitles to generate the transcript":["Errore: questo video non contiene sottotitoli. Selezionare un video con sottotitoli per generare la trascrizione"],"Language of trascription":["Lingua della trascrizione"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"assets\/editor\/transcriptionModalScript.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Transcription of the video":["Trascrizione del video"],"Error, language not selected":["Errore, lingua non selezionata"],"Select language":["Seleziona la lingua"],"Error: this video does not contain subtitles. Select a video with subtitles to generate the transcript":["Errore: questo video non contiene sottotitoli. Selezionare un video con sottotitoli per generare la trascrizione"],"Language of trascription":["Lingua della trascrizione"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-5bca34f4b31b031a8a5c0e8dfe9bc8b6.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/YoutubeControlPanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"None":["Nessuno"],"Select language":["Seleziona la lingua"],"Get Transcribe":["Ottieni trascrizione"],"Select the video language":["Seleziona la lingua del video"],"Created":["Creata"],"Transcript status:":["Stato trascrizione:"],"Subtitles not available for this video":["Sottotitoli non disponibili per questo video"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/YoutubeControlPanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"None":["Nessuno"],"Select language":["Seleziona la lingua"],"Get Transcribe":["Ottieni trascrizione"],"Select the video language":["Seleziona la lingua del video"],"Created":["Creata"],"Transcript status:":["Stato trascrizione:"],"Subtitles not available for this video":["Sottotitoli non disponibili per questo video"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-6edab9999a36a9b83bd98080e0260900.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/CheckoutForm.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Required":["Obbligat"],"Invalid email":["Email non valida"],"Payment Details":["Dettagli di pagamento"],"editing enabled":["modalit\u00e0 modifica attivata"],"editing disabled":["modalit\u00e0 mopdifica disattivata"],"Email":[""],"Card Details":["Dettagli carta"],"Card Holder":["Titolare della carta"],"Expires":["Scadenza"],"Back":["Indietro"],"Confirm order":["Conferma"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/CheckoutForm.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Required":["Obbligat"],"Invalid email":["Email non valida"],"Coupon":[""],"Discount Code":["Codice Sconto"],"Apply Coupon":["Applica Coupon"],"Payment Details":["Dettagli di pagamento"],"editing enabled":["modalit\u00e0 modifica attivata"],"editing disabled":["modalit\u00e0 modifica disattivata"],"Email":[""],"Card Details":["Dettagli carta"],"Card Holder":["Titolare della carta"],"Expires":["Scadenza"],"Back":["Indietro"],"Subscribe":["Iscrizione"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-97550d9f8b770df2d1b7985ce975d41b.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/PriceTable.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Price":["Prezzo"],"VAT":["IVA"],"Total":["Totale"],"per month":["per mese"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/PriceTable.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Price":["Prezzo"],"VAT":["IVA"],"no Vat due for you":["nessuna IVA per te"],"Total":["Totale"],"Coupon applied!":["Coupon applicato!"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-9eea33bfc6ae82b9ece5a58136c3eae9.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/PlanTable.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Your plan":["Il tuo piano"],"Price":["Prezzo"],"per month":["per mese"],"Automatic renewal":["Rinnovo automatico: "]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/PlanTable.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Your plan":["Il tuo piano"],"Price":["Prezzo"],"VAT":["IVA"],"no Vat due for you":["nessuna IVA per te"],"Total":["Totale"]," per month":["per mese"],"Automatic renewal":["Rinnovo automatico: "]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-a36d7c48e106bde1adc4add0982df44c.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/TranscriptionEditBlock.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Wubtitle transcriptions":["Trascrizioni Wubtitle"],"Insert transcriptions":["Inserisci trascrizioni"],"Enter the title of the video you want to transcribe":["Scrivi il titolo del video del quale vuoi inserire la trascrizione"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/TranscriptionEditBlock.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Wubtitle transcriptions":["Trascrizioni Wubtitle"],"Insert transcriptions":["Inserisci trascrizioni"],"Enter the title of the video you want to transcribe":["Scrivi il titolo del video del quale vuoi inserire la trascrizione"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-a59bb6a3ec005920a66524cba992f70b.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/TranscriptPanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Getting transcript\u2026":["Generazione trascrizione..."],"Done":["Fatto"],"Get transcript":["Ottieni trascrizione"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/TranscriptPanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Getting transcript\u2026":["Generazione trascrizione..."],"Done":["Fatto"],"Get transcript":["Ottieni trascrizione"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-bad3349217eddfff8df6bcec8ead4e68.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/trascriptionBlock.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Trascription":["Trascrizione"],"Enter the transcript of your video":["Inserisci la trascrizione del tuo video"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/trascriptionBlock.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Trascription":["Trascrizione"],"Enter the transcript of your video":["Inserisci la trascrizione del tuo video"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-c2d2cdf713a952b86eb4783551acf0b9.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/labels.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Generating":["In Creazione"],"Draft":["In bozza"],"None":["Nessuno"],"Italian":["Italiano"],"English":["Inglese"],"Spanish":["Spagnolo"],"German":["Tedesco"],"Chinese":["Cinese"],"French":["Francese"],"Enabled":["Attivati"],"Spanish (Pro only)":["Spagnolo (solo Pro)"],"German (Pro only)":["Tedesco (solo Pro)"],"Chinese (Pro only)":["Cinese (solo Pro)"],"French (Pro only)":["Francese (solo Pro)"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/labels.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Generating":["In Creazione"],"Draft":["In bozza"],"None":["Nessuno"],"Italian":["Italiano"],"English":["Inglese"],"Spanish":["Spagnolo"],"German":["Tedesco"],"Chinese":["Cinese"],"French":["Francese"],"Enabled":["Attivati"],"Spanish (Pro only)":["Spagnolo (solo Pro)"],"German (Pro only)":["Tedesco (solo Pro)"],"Chinese (Pro only)":["Cinese (solo Pro)"],"French (Pro only)":["Francese (solo Pro)"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-ce8d5c064b43a5c1a88891f233ec2580.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/ColumnTitle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Subscribe to":["Iscrizione a"],"plan":["piano"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/ColumnTitle.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Subscribe to":["Iscrizione a"],"plan":["piano"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-dfbff627e6c248bcb3b61d7d06da9ca9.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"build\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Unsupported video format for free plan":["Formato video non supportato per il piano free"],"Generating":["In Creazione"],"Draft":["In bozza"],"Published":["Pubblicati"],"None":["Nessuno"],"Error":["Errore"],"GENERATE SUBTITLES":["GENERA SOTTOTITOLI"],"Italian":["Italiano"],"English":["Inglese"],"Spanish":["Spagnolo"],"German":["Tedesco"],"Chinese":["Cinese"],"French":["Francese"],"Select language":["Seleziona la lingua"],"Enabled":["Attivati"],"Spanish (Pro only)":["Spagnolo (solo Pro)"],"German (Pro only)":["Tedesco (solo Pro)"],"Chinese (Pro only)":["Cinese (solo Pro)"],"French (Pro only)":["Francese (solo Pro)"],"Status:":["Stato:"],"Language:":["Lingua:"],"Getting transcript\u2026":["Generazione trascrizione..."],"Get Transcribe":["Ottieni trascrizione"],"Select the video language":["Seleziona la lingua del video"],"Subtitle creation successfully started":["Creazione dei sottotitoli avviata con successo"],"Done":["Fatto"],"Get transcript":["Ottieni trascrizione"],"Created":["Creata"],"Transcript status:":["Stato trascrizione:"],"Subtitles not available for this video":["Sottotitoli non disponibili per questo video"],"Wubtitle transcriptions":["Trascrizioni Wubtitle"],"Insert transcriptions":["Inserisci trascrizioni"],"Enter the title of the video you want to transcribe":["Scrivi il titolo del video del quale vuoi inserire la trascrizione"],"Trascription":["Trascrizione"],"Enter the transcript of your video":["Inserisci la trascrizione del tuo video"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"build\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Unsupported video format for free plan":["Formato video non supportato per il piano free"],"Generating":["In Creazione"],"Draft":["In bozza"],"Published":["Pubblicati"],"None":["Nessuno"],"Error":["Errore"],"GENERATE SUBTITLES":["GENERA SOTTOTITOLI"],"Italian":["Italiano"],"English":["Inglese"],"Spanish":["Spagnolo"],"German":["Tedesco"],"Chinese":["Cinese"],"French":["Francese"],"Select language":["Seleziona la lingua"],"Enabled":["Attivati"],"Spanish (Pro only)":["Spagnolo (solo Pro)"],"German (Pro only)":["Tedesco (solo Pro)"],"Chinese (Pro only)":["Cinese (solo Pro)"],"French (Pro only)":["Francese (solo Pro)"],"Status:":["Stato:"],"Language:":["Lingua:"],"Getting transcript\u2026":["Generazione trascrizione..."],"Get Transcribe":["Ottieni trascrizione"],"Select the video language":["Seleziona la lingua del video"],"Subtitle creation successfully started":["Creazione dei sottotitoli avviata con successo"],"Done":["Fatto"],"Get transcript":["Ottieni trascrizione"],"Created":["Creata"],"Transcript status:":["Stato trascrizione:"],"Subtitles not available for this video":["Sottotitoli non disponibili per questo video"],"Wubtitle transcriptions":["Trascrizioni Wubtitle"],"Insert transcriptions":["Inserisci trascrizioni"],"Enter the title of the video you want to transcribe":["Scrivi il titolo del video del quale vuoi inserire la trascrizione"],"Trascription":["Trascrizione"],"Enter the transcript of your video":["Inserisci la trascrizione del tuo video"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-f44a2f1277f1805954e2e9b54d16704d.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/Disclaimer.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.":["In caso di pagamento all'interno dell'UE un pagamento pu\u00f2 essere esente da IVA se viene fornito un numero di partita IVA valido."],"Terms and conditions":["Termini e condizioni"],"Privacy":[""]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/Disclaimer.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided.":["In caso di pagamento all'interno dell'UE un pagamento pu\u00f2 essere esente da IVA se viene fornito un numero di partita IVA valido."],"Terms and conditions":["Termini e condizioni"],"Privacy":[""]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-f502fcd463be19e9432d2bdb61eeb943.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/WubtitlePanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Unsupported video format for free plan":["Formato video non supportato per il piano free"],"None":["Nessuno"],"Error":["Errore"],"GENERATE SUBTITLES":["GENERA SOTTOTITOLI"],"Status:":["Stato:"],"Select the video language":["Seleziona la lingua del video"],"Subtitle creation successfully started":["Creazione dei sottotitoli avviata con successo"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/block\/WubtitlePanel.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Unsupported video format for free plan":["Formato video non supportato per il piano free"],"None":["Nessuno"],"Error":["Errore"],"GENERATE SUBTITLES":["GENERA SOTTOTITOLI"],"Status:":["Stato:"],"Select the video language":["Seleziona la lingua del video"],"Subtitle creation successfully started":["Creazione dei sottotitoli avviata con successo"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT-fe3fc4948f6f85768ebb8f694e93e2cf.json

    r2354686 r2371183  
    1 {"translation-revision-date":"2020-08-04 13:28+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/CardSection.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Card details":["Dettagli carta"]}}}
     1{"translation-revision-date":"2020-08-26 15:48+0200","generator":"WP-CLI\/2.4.0","source":"src\/stripe\/Components\/CardSection.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it_IT","plural-forms":"nplurals=2; plural=(n != 1);"},"Card details":["Dettagli carta"]}}}
  • wubtitle/trunk/languages/wubtitle-it_IT.po

    r2354686 r2371183  
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/Wubtitle-"
    77"Wordpress-Plugin\n"
    8 "POT-Creation-Date: 2020-08-04T13:25:04+02:00\n"
    9 "PO-Revision-Date: 2020-08-04 13:28+0200\n"
     8"POT-Creation-Date: 2020-08-26T15:46:17+02:00\n"
     9"PO-Revision-Date: 2020-08-26 15:48+0200\n"
    1010"Last-Translator: \n"
    1111"Language-Team: \n"
     
    1414"Content-Type: text/plain; charset=UTF-8\n"
    1515"Content-Transfer-Encoding: 8bit\n"
    16 "X-Generator: Poedit 2.4\n"
     16"X-Generator: Poedit 2.4.1\n"
    1717"X-Domain: wubtitle\n"
    1818"Plural-Forms: nplurals=2; plural=(n != 1);\n"
     
    8383#: includes/Api/ApiGetTranscript.php:151 includes/Api/ApiGetTranscript.php:187
    8484#: includes/Api/ApiGetTranscript.php:223 includes/Api/ApiGetTranscript.php:224
     85#: includes/Api/ApiPricingPlan.php:121
    8586#: includes/Core/CustomPostTypes/Transcript.php:161
    8687#: includes/Core/CustomPostTypes/Transcript.php:162
    87 #: includes/Core/Sources/YouTube.php:203 includes/Core/Sources/YouTube.php:204
     88#: includes/Core/Sources/YouTube.php:204 includes/Core/Sources/YouTube.php:205
    8889msgid ""
    8990"An error occurred while creating the transcriptions. Please try again in a "
     
    102103#: includes/Api/ApiGetTranscript.php:79 includes/Api/ApiGetTranscript.php:225
    103104#: includes/Core/CustomPostTypes/Transcript.php:163
    104 #: includes/Core/Sources/YouTube.php:205
     105#: includes/Core/Sources/YouTube.php:206
    105106msgid "Unable to create transcriptions. Invalid product license"
    106107msgstr ""
     
    109110#: includes/Api/ApiGetTranscript.php:80 includes/Api/ApiGetTranscript.php:226
    110111#: includes/Api/ApiPricingPlan.php:73 includes/Api/ApiPricingPlan.php:74
    111 #: includes/Api/ApiPricingPlan.php:112 includes/Api/ApiPricingPlan.php:187
    112 #: includes/Api/ApiPricingPlan.php:188 includes/Api/ApiPricingPlan.php:270
    113 #: includes/Api/ApiPricingPlan.php:271 includes/Api/ApiPricingPlan.php:336
    114 #: includes/Api/ApiPricingPlan.php:337 includes/Api/ApiRequest.php:123
     112#: includes/Api/ApiPricingPlan.php:123 includes/Api/ApiPricingPlan.php:200
     113#: includes/Api/ApiPricingPlan.php:201 includes/Api/ApiPricingPlan.php:288
     114#: includes/Api/ApiPricingPlan.php:289 includes/Api/ApiPricingPlan.php:377
     115#: includes/Api/ApiPricingPlan.php:378 includes/Api/ApiRequest.php:123
    115116#: includes/Core/CustomPostTypes/Transcript.php:164
    116 #: includes/Core/Sources/YouTube.php:206 includes/Utils/InvoiceHelper.php:68
    117 #: includes/Utils/InvoiceHelper.php:69
     117#: includes/Core/Sources/YouTube.php:207 includes/Utils/InvoiceHelper.php:77
     118#: includes/Utils/InvoiceHelper.php:78 includes/Utils/InvoiceHelper.php:298
     119#: includes/Utils/InvoiceHelper.php:299
    118120msgid "Could not contact the server"
    119121msgstr "Impossibile contattare il server"
     
    122124#: includes/Api/ApiRequest.php:223
    123125#: includes/Core/CustomPostTypes/Transcript.php:165
    124 #: includes/Core/Sources/YouTube.php:207
     126#: includes/Core/Sources/YouTube.php:208
    125127msgid "Error, no more video left for your subscription plan"
    126128msgstr "Errore, non hai più video disponibili per il tuo piano di abbonamento"
     
    128130#: includes/Api/ApiGetTranscript.php:88 includes/Api/ApiGetTranscript.php:236
    129131#: includes/Core/CustomPostTypes/Transcript.php:186
    130 #: includes/Core/Sources/YouTube.php:222
     132#: includes/Core/Sources/YouTube.php:223
    131133msgid "Transcript not avaiable for this video."
    132134msgstr "Trascrizione non disponibile per questo video."
     
    140142"per ottenere la trascrizione"
    141143
    142 #: includes/Api/ApiPricingPlan.php:42 includes/Api/ApiPricingPlan.php:89
    143 #: includes/Api/ApiPricingPlan.php:149 includes/Api/ApiPricingPlan.php:159
    144 #: includes/Api/ApiPricingPlan.php:228 includes/Api/ApiPricingPlan.php:239
    145 #: includes/Api/ApiPricingPlan.php:292 includes/Api/ApiPricingPlan.php:311
    146 #: includes/Dashboard/CancelPage.php:33
    147 #: includes/Dashboard/PaymentTemplate.php:39
    148 #: includes/Dashboard/PaymentTemplate.php:80
    149 #: includes/Dashboard/PaymentTemplate.php:121
    150 #: includes/Dashboard/PaymentTemplate.php:169
    151 #: includes/Utils/InvoiceHelper.php:33
     144#: includes/Api/ApiPricingPlan.php:42 includes/Api/ApiPricingPlan.php:99
     145#: includes/Api/ApiPricingPlan.php:172 includes/Api/ApiPricingPlan.php:246
     146#: includes/Api/ApiPricingPlan.php:257 includes/Api/ApiPricingPlan.php:310
     147#: includes/Api/ApiPricingPlan.php:329 includes/Dashboard/CancelPage.php:33
     148#: includes/Dashboard/PaymentTemplate.php:52
     149#: includes/Dashboard/PaymentTemplate.php:104
     150#: includes/Dashboard/PaymentTemplate.php:138
     151#: includes/Dashboard/PaymentTemplate.php:183
     152#: includes/Dashboard/PaymentTemplate.php:231
     153#: includes/Utils/InvoiceHelper.php:35 includes/Utils/InvoiceHelper.php:95
     154#: includes/Utils/InvoiceHelper.php:264
    152155msgid "An error occurred. Please try again in a few minutes."
    153156msgstr "Si è verificato un errore. Riprova di nuovo tra qualche minuto."
    154157
    155 #: includes/Api/ApiPricingPlan.php:53 includes/Api/ApiPricingPlan.php:95
     158#: includes/Api/ApiPricingPlan.php:53 includes/Api/ApiPricingPlan.php:105
    156159#: includes/Api/ApiRequest.php:104
    157160msgid "Unable to create subtitles. The product license key is missing."
     
    159162
    160163#: includes/Api/ApiPricingPlan.php:70 includes/Api/ApiPricingPlan.php:71
    161 #: includes/Api/ApiPricingPlan.php:110 includes/Api/ApiPricingPlan.php:184
    162 #: includes/Api/ApiPricingPlan.php:185 includes/Api/ApiPricingPlan.php:267
    163 #: includes/Api/ApiPricingPlan.php:268 includes/Api/ApiPricingPlan.php:333
    164 #: includes/Api/ApiPricingPlan.php:334 includes/Utils/InvoiceHelper.php:65
    165 #: includes/Utils/InvoiceHelper.php:66
     164#: includes/Api/ApiPricingPlan.php:120 includes/Api/ApiPricingPlan.php:197
     165#: includes/Api/ApiPricingPlan.php:198 includes/Api/ApiPricingPlan.php:285
     166#: includes/Api/ApiPricingPlan.php:286 includes/Api/ApiPricingPlan.php:374
     167#: includes/Api/ApiPricingPlan.php:375 includes/Utils/InvoiceHelper.php:74
     168#: includes/Utils/InvoiceHelper.php:75 includes/Utils/InvoiceHelper.php:123
     169#: includes/Utils/InvoiceHelper.php:295 includes/Utils/InvoiceHelper.php:296
    166170msgid "An error occurred. Please try again in a few minutes"
    167171msgstr "Si è verificato un errore.  Riprova di nuovo tra qualche minuto"
    168172
    169 #: includes/Api/ApiPricingPlan.php:72 includes/Api/ApiPricingPlan.php:111
    170 #: includes/Api/ApiPricingPlan.php:186 includes/Api/ApiPricingPlan.php:269
    171 #: includes/Api/ApiPricingPlan.php:335 includes/Utils/InvoiceHelper.php:67
     173#: includes/Api/ApiPricingPlan.php:72 includes/Api/ApiPricingPlan.php:122
     174#: includes/Api/ApiPricingPlan.php:199 includes/Api/ApiPricingPlan.php:287
     175#: includes/Api/ApiPricingPlan.php:376 includes/Utils/InvoiceHelper.php:76
     176#: includes/Utils/InvoiceHelper.php:297
    172177msgid "Access denied"
    173178msgstr "Accesso negato"
    174179
    175 #: includes/Api/ApiPricingPlan.php:163
     180#: includes/Api/ApiPricingPlan.php:176
    176181msgid "The product license key is missing."
    177182msgstr "Errore, la licenza del prodotto è assente."
     183
     184#: includes/Api/ApiPricingPlan.php:385
     185msgid "Unable to apply discount. You are not authorized to use this coupon"
     186msgstr ""
     187"Impossibile applicare lo sconto. Non sei abilitato ad usare questo coupon"
     188
     189#: includes/Api/ApiPricingPlan.php:386
     190msgid ""
     191"Unable to apply discount. This coupon can only be used on the first purchase"
     192msgstr ""
     193"Impossibile applicare lo sconto. Questo coupon può essere utilizzato solo al "
     194"primo acquisto"
     195
     196#: includes/Api/ApiPricingPlan.php:387
     197msgid ""
     198"Unable to apply discount. Please try again later or enter a different "
     199"discount code"
     200msgstr ""
     201"Impossibile applicare lo sconto. Riprova più tardi o inserisci un codice "
     202"sconto differente"
    178203
    179204#: includes/Api/ApiRequest.php:67
     
    217242msgid ""
    218243"Error, video length is longer than minutes available for your subscription "
    219 "plan (minutes left "
     244"plan (minutes left"
    220245msgstr ""
    221246"Errore, la durata del video è maggiore dei minuti disponibili per il tuo "
    222 "piano di abbonamento (minuti rimasti "
     247"piano di abbonamento (minuti rimasti"
    223248
    224249#: includes/Api/ApiRequest.php:230
     
    350375msgstr "Trascrizioni video"
    351376
     377#: includes/Dashboard/PaymentTemplate.php:143
     378msgid "Update successfull!"
     379msgstr "Aggiornamento riuscito!"
     380
     381#: includes/Dashboard/PaymentTemplate.php:145
     382msgid "Upgrade successfull!"
     383msgstr "Modifica del piano avvenuta con successo"
     384
     385#: includes/Dashboard/PaymentTemplate.php:147
     386msgid "Downgrade successfull!"
     387msgstr "Modifica del piano avvenuta con successo"
     388
    352389#: includes/Dashboard/Settings.php:47
    353390msgid "Wubtitle Settings"
     
    376413#: includes/Dashboard/Settings.php:116
    377414msgid "The counters will be reset on:"
    378 msgstr ""
     415msgstr "I contatori verranno resettati il:"
    379416
    380417#: includes/Dashboard/Settings.php:153
     
    414451
    415452#: includes/Dashboard/Settings.php:205
    416 msgid "Update email or payment detail"
    417 msgstr "Aggiorna email o dettagli pagamento"
     453msgid "Update billing or payment details"
     454msgstr "Aggiorna dettagli di fatturazione o di pagamento"
    418455
    419456#: includes/Dashboard/Settings.php:208
     
    498535#: includes/Dashboard/Templates/cancel_template.php:36
    499536#: includes/Dashboard/Templates/downgrade_plan_template.php:49
    500 #: includes/Dashboard/Templates/upgrade_plan_template.php:57
     537#: includes/Dashboard/Templates/upgrade_plan_template.php:138
    501538msgid "Forget it"
    502539msgstr "Annulla"
     
    528565
    529566#: includes/Dashboard/Templates/downgrade_plan_template.php:46
     567#: includes/Dashboard/Templates/upgrade_plan_template.php:133
    530568msgid ""
    531569"The subtitles already created and the minutes already used will be counted "
     
    572610
    573611#: includes/Dashboard/Templates/plans_array.php:49 build_form/index.js:1
    574 #: src/stripe/Components/PlanTable.js:10
     612#: src/stripe/Components/PlanTable.js:18
    575613msgid "Your plan"
    576614msgstr "Il tuo piano"
    577615
    578 #: includes/Dashboard/Templates/upgrade_plan_template.php:27
    579 msgid "Subscription plan upgrade"
    580 msgstr "Modifica piano di abbonamento"
    581 
    582 #: includes/Dashboard/Templates/upgrade_plan_template.php:28
    583 msgid ""
    584 "Upgrading now, for the first month you are entired to a partial refund of "
    585 "previous monthly subscription plan"
    586 msgstr ""
    587 "Scegliendo un piano di abbonamento superiore, per il primo mese verrà "
    588 "applicato uno sconto pari al credito residuo della mensilità "
    589 "dell'abbonamento precedente"
    590 
    591 #: includes/Dashboard/Templates/upgrade_plan_template.php:47
    592 msgid "Only for first month (Until"
    593 msgstr "Solo per il primo mese (Fino al"
    594 
    595 #: includes/Dashboard/Templates/upgrade_plan_template.php:58
     616#: includes/Dashboard/Templates/thankyou_page.php:25
     617msgid ""
     618"Update Wubtitle settings page on your site backoffice to view the changes or "
     619"click on the button below"
     620msgstr ""
     621"Aggiorna la pagina delle impostazioni di Wubtitle per visualizzare le "
     622"modifiche o fai clic sul pulsante in basso"
     623
     624#: includes/Dashboard/Templates/thankyou_page.php:26
     625msgid "BACK TO WUBTITLE"
     626msgstr "TORNA A WUBTITLE"
     627
     628#: includes/Dashboard/Templates/upgrade_plan_template.php:34
     629msgid "Upgrade your plan"
     630msgstr "Aggiorna il tuo piano"
     631
     632#: includes/Dashboard/Templates/upgrade_plan_template.php:37
     633msgid "Upgrading to"
     634msgstr "Aggiornamento a"
     635
     636#: includes/Dashboard/Templates/upgrade_plan_template.php:39
     637msgid "now you will be charged only for the price difference between"
     638msgstr "ti verrà addebitata solo la differenza di prezzo tra"
     639
     640#: includes/Dashboard/Templates/upgrade_plan_template.php:41
     641msgid "plan and your current plan with no changes to your billing period. "
     642msgstr "piano e il piano attuale senza modifiche al periodo di fatturazione. "
     643
     644#: includes/Dashboard/Templates/upgrade_plan_template.php:66
     645msgid "You will pay:"
     646msgstr "Pagherai:"
     647
     648#: includes/Dashboard/Templates/upgrade_plan_template.php:75
     649#: includes/Dashboard/Templates/upgrade_plan_template.php:101
     650msgid " (VAT)"
     651msgstr "(IVA)"
     652
     653#: includes/Dashboard/Templates/upgrade_plan_template.php:82
     654msgid "What you pay now (Discounted"
     655msgstr "Cosa paghi adesso (scontato"
     656
     657#: includes/Dashboard/Templates/upgrade_plan_template.php:84
     658msgid "Price)"
     659msgstr "Prezzo)"
     660
     661#: includes/Dashboard/Templates/upgrade_plan_template.php:89
     662msgid "Until "
     663msgstr "Fino"
     664
     665#: includes/Dashboard/Templates/upgrade_plan_template.php:108
     666msgid "What you pay monthly (Full"
     667msgstr "Quanto paghi mensilmente(Full"
     668
     669#: includes/Dashboard/Templates/upgrade_plan_template.php:110
     670msgid "price)"
     671msgstr "rezzo)"
     672
     673#: includes/Dashboard/Templates/upgrade_plan_template.php:115
     674msgid "From "
     675msgstr "a partire da"
     676
     677#: includes/Dashboard/Templates/upgrade_plan_template.php:123
     678msgid "Current Payment details"
     679msgstr "Dettagli di pagamento corrente"
     680
     681#: includes/Dashboard/Templates/upgrade_plan_template.php:127
     682msgid "Name: "
     683msgstr "Nome:"
     684
     685#: includes/Dashboard/Templates/upgrade_plan_template.php:128
     686msgid "Email: "
     687msgstr ""
     688
     689#: includes/Dashboard/Templates/upgrade_plan_template.php:129
     690msgid "Card: "
     691msgstr "Carta:"
     692
     693#: includes/Dashboard/Templates/upgrade_plan_template.php:130
     694msgid "Expiration Date: "
     695msgstr "Data di scadenza: "
     696
     697#: includes/Dashboard/Templates/upgrade_plan_template.php:139
    596698msgid "Upgrade Now"
    597699msgstr "Modifica piano"
     
    624726#: includes/MediaLibrary/MediaLibraryExtented.php:189
    625727#: includes/MediaLibrary/MediaLibraryExtented.php:263 build/index.js:1
    626 #: src/block/SubtitleControl.js:65
     728#: src/block/SubtitleControl.js:73
    627729msgid "Published"
    628730msgstr "Pubblicati"
     
    712814msgstr "Aggiungi trascrizione"
    713815
    714 #: includes/Utils/InvoiceHelper.php:49 includes/Utils/InvoiceHelper.php:154
     816#: includes/Utils/InvoiceHelper.php:58 includes/Utils/InvoiceHelper.php:107
     817#: includes/Utils/InvoiceHelper.php:204
    715818msgid "Error. The product license key is missing."
    716819msgstr "Errore, la licenza del prodotto è assente."
     820
     821#: includes/Utils/InvoiceHelper.php:305
     822msgid "Invalid Coupon"
     823msgstr "Coupon non valido"
    717824
    718825#: assets/editor/transcriptionModalScript.js:47
     
    765872
    766873#: build/index.js:1 src/block/PendingSubtitle.js:7
    767 #: src/block/SubtitleControl.js:59 src/block/WubtitlePanel.js:67
     874#: src/block/SubtitleControl.js:67 src/block/WubtitlePanel.js:67
    768875msgid "Status:"
    769876msgstr "Stato:"
    770877
    771878#: build/index.js:1 src/block/PendingSubtitle.js:8
    772 #: src/block/SubtitleControl.js:62
     879#: src/block/SubtitleControl.js:70
    773880msgid "Language:"
    774881msgstr "Lingua:"
     
    779886msgstr "Generazione trascrizione..."
    780887
    781 #: build/index.js:1 src/block/SubtitleControl.js:72
     888#: build/index.js:1 src/block/SubtitleControl.js:80
    782889#: src/block/YoutubeControlPanel.js:135
    783890msgid "Get Transcribe"
     
    814921msgstr "Sottotitoli non disponibili per questo video"
    815922
    816 #: build/index.js:1 src/block/TranscriptionEditBlock.js:107
     923#: build/index.js:1 src/block/TranscriptionEditBlock.js:108
    817924msgid "Wubtitle transcriptions"
    818925msgstr "Trascrizioni Wubtitle"
    819926
    820 #: build/index.js:1 src/block/TranscriptionEditBlock.js:111
     927#: build/index.js:1 src/block/TranscriptionEditBlock.js:112
    821928msgid "Insert transcriptions"
    822929msgstr "Inserisci trascrizioni"
    823930
    824 #: build/index.js:1 src/block/TranscriptionEditBlock.js:116
     931#: build/index.js:1 src/block/TranscriptionEditBlock.js:117
    825932msgid "Enter the title of the video you want to transcribe"
    826933msgstr "Scrivi il titolo del video del quale vuoi inserire la trascrizione"
     
    838945msgstr "Dettagli carta"
    839946
    840 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:23
    841 #: src/stripe/Components/InvoiceForm.js:16
     947#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:31
     948#: src/stripe/Components/InvoiceForm.js:17
    842949msgid "Required"
    843950msgstr "Obbligat"
    844951
    845 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:30
    846 #: src/stripe/Components/InvoiceForm.js:22
     952#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:38
     953#: src/stripe/Components/InvoiceForm.js:44
    847954msgid "Invalid email"
    848955msgstr "Email non valida"
    849956
    850 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:56
     957#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:88
     958msgid "Coupon"
     959msgstr ""
     960
     961#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:95
     962msgid "Discount Code"
     963msgstr "Codice Sconto"
     964
     965#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:114
     966msgid "Apply Coupon"
     967msgstr "Applica Coupon"
     968
     969#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:120
    851970msgid "Payment Details"
    852971msgstr "Dettagli di pagamento"
    853972
    854 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:61
     973#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:125
    855974msgid "editing enabled"
    856975msgstr "modalità modifica attivata"
    857976
    858 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:62
     977#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:126
    859978msgid "editing disabled"
    860 msgstr "modalità mopdifica disattivata"
    861 
    862 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:80
    863 #: src/stripe/Components/InvoiceSummary.js:39
     979msgstr "modalità modifica disattivata"
     980
     981#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:144
     982#: src/stripe/Components/InvoiceSummary.js:40
    864983msgid "Email"
    865984msgstr ""
    866985
    867 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:84
     986#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:148
    868987msgid "Card Details"
    869988msgstr "Dettagli carta"
    870989
    871 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:90
    872 #: src/stripe/Components/CheckoutForm.js:133
     990#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:154
     991#: src/stripe/Components/CheckoutForm.js:197
    873992msgid "Card Holder"
    874993msgstr "Titolare della carta"
    875994
    876 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:94
     995#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:158
    877996msgid "Expires"
    878997msgstr "Scadenza"
    879998
    880 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:153
     999#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:217
    8811000msgid "Back"
    8821001msgstr "Indietro"
    8831002
    884 #: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:162
    885 msgid "Confirm order"
    886 msgstr "Conferma"
    887 
    888 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:26
     1003#: build_form/index.js:1 src/stripe/Components/CheckoutForm.js:226
     1004msgid "Subscribe"
     1005msgstr "Iscrizione"
     1006
     1007#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:48
    8891008msgid "Telephone number required"
    8901009msgstr "Numero di telefono richiesto"
    8911010
    892 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:27
    893 #: src/stripe/Components/InvoiceForm.js:48
    894 #: src/stripe/Components/InvoiceForm.js:65
     1011#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:49
     1012#: src/stripe/Components/InvoiceForm.js:73
     1013#: src/stripe/Components/InvoiceForm.js:96
    8951014msgid "Only numbers"
    8961015msgstr "Solo numeri"
    8971016
    898 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:29
     1017#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:51
    8991018msgid "Prefix required"
    9001019msgstr "Prefisso obbligatorio"
    9011020
    902 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:30
     1021#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:54
    9031022msgid "Prefix is only numbers"
    9041023msgstr "Prefisso: solo numeri"
    9051024
    906 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:31
     1025#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:56
    9071026msgid "Prefix must be max 3 numbers"
    9081027msgstr "Il prefisso ha massimo 3 numeri"
    9091028
    910 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:46
     1029#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:71
    9111030msgid "Vat Code must be exactly 11 characters"
    9121031msgstr "La partita iva deve essere esattamente di 11 caratteri"
    9131032
    914 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:55
     1033#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:81
    9151034msgid "Fiscal Code must be exactly 16 characters"
    9161035msgstr "Il codice fiscale deve essere esattamente di 16 caratteri"
    9171036
    918 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:63
     1037#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:85
     1038msgid "Invalid Fiscal Code"
     1039msgstr "Codice fiscale non valido"
     1040
     1041#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:94
    9191042msgid "Postal Code must be exactly 5 characters"
    9201043msgstr "Il codice postale deve essere esattamente di 5 caratteri"
    9211044
    922 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:69
     1045#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:100
    9231046msgid "Destination Code must be exactly 7 characters"
    9241047msgstr "Codice di destinazioni deve essere esattamente di 7 caratteri"
    9251048
    926 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:114
     1049#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:151
    9271050msgid "Billing Details"
    9281051msgstr "Dettagli fatturazione"
    9291052
    930 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:127
    931 #: src/stripe/Components/InvoiceSummary.js:35
     1053#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:164
     1054#: src/stripe/Components/InvoiceSummary.js:36
    9321055msgid "Name"
    9331056msgstr "Nome"
    9341057
    935 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:136
    936 #: src/stripe/Components/InvoiceSummary.js:71
     1058#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:177
     1059#: src/stripe/Components/InvoiceSummary.js:72
    9371060msgid "Lastname"
    9381061msgstr "Cognome"
    9391062
    940 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:156
    941 #: src/stripe/Components/InvoiceSummary.js:75
     1063#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:197
     1064#: src/stripe/Components/InvoiceSummary.js:77
    9421065msgid "Company Name"
    9431066msgstr "Nome azienda"
    9441067
    945 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:168
    946 #: src/stripe/Components/InvoiceSummary.js:43
     1068#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:209
     1069#: src/stripe/Components/InvoiceSummary.js:44
    9471070msgid "Country"
    9481071msgstr "Nazione"
    9491072
    950 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:192
    951 #: src/stripe/Components/InvoiceSummary.js:80
     1073#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:233
     1074#: src/stripe/Components/InvoiceSummary.js:86
    9521075msgid "Province"
    9531076msgstr "Provincia"
    9541077
    955 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:212
    956 #: src/stripe/Components/InvoiceSummary.js:88
     1078#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:253
     1079#: src/stripe/Components/InvoiceSummary.js:94
    9571080msgid "City"
    9581081msgstr "Città"
    9591082
    960 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:221
    961 #: src/stripe/Components/InvoiceSummary.js:55
     1083#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:262
     1084#: src/stripe/Components/InvoiceSummary.js:56
    9621085msgid "Address"
    9631086msgstr "Indirizzo"
    9641087
    965 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:234
    966 #: src/stripe/Components/InvoiceSummary.js:48
     1088#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:275
     1089#: src/stripe/Components/InvoiceSummary.js:49
    9671090msgid "Postal Code"
    9681091msgstr "Codice postale"
    9691092
    970 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:250
     1093#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:291
    9711094msgid "Vat Code"
    9721095msgstr "Partita iva"
    9731096
    974 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:272
    975 #: src/stripe/Components/InvoiceSummary.js:93
     1097#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:313
     1098#: src/stripe/Components/InvoiceSummary.js:100
    9761099msgid "Fiscal Code"
    9771100msgstr "Codice fiscale"
    9781101
    979 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:284
     1102#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:325
     1103#: src/stripe/Components/InvoiceSummary.js:62
    9801104msgid "Telephone"
    9811105msgstr "Numero di telefono"
    9821106
    983 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:311
    984 #: src/stripe/Components/InvoiceSummary.js:102
     1107#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:355
     1108#: src/stripe/Components/InvoiceSummary.js:120
    9851109msgid "Destination Code"
    9861110msgstr "Codice di destinazione"
    9871111
    988 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:328
     1112#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:372
    9891113msgid "Cancel"
    9901114msgstr "Annulla"
    9911115
    992 #: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:334
    993 msgid "Summary"
    994 msgstr "Riepilogo"
    995 
    996 #: build_form/index.js:1 src/stripe/Components/InvoiceSummary.js:23
     1116#: build_form/index.js:1 src/stripe/Components/InvoiceForm.js:378
     1117msgid "Next"
     1118msgstr "Avanti"
     1119
     1120#: build_form/index.js:1 src/stripe/Components/InvoiceSummary.js:24
    9971121msgid "Billing Recap"
    9981122msgstr "Riepilogo dati di fattura"
    9991123
    1000 #: build_form/index.js:1 src/stripe/Components/InvoiceSummary.js:61
     1124#: build_form/index.js:1 src/stripe/Components/InvoiceSummary.js:110
    10011125msgid "VAT Code"
    10021126msgstr "Partita IVA"
    10031127
    1004 #: build_form/index.js:1 src/stripe/Components/PlanTable.js:15
    1005 #: src/stripe/Components/PriceTable.js:10
     1128#: build_form/index.js:1 src/stripe/Components/PlanTable.js:22
     1129#: src/stripe/Components/PriceTable.js:22
    10061130msgid "Price"
    10071131msgstr "Prezzo"
    10081132
    1009 #: build_form/index.js:1 src/stripe/Components/PriceTable.js:15
     1133#: build_form/index.js:1 src/stripe/Components/PlanTable.js:27
     1134#: src/stripe/Components/PriceTable.js:37
    10101135msgid "VAT"
    10111136msgstr "IVA"
    10121137
    1013 #: build_form/index.js:1 src/stripe/Components/PriceTable.js:30
     1138#: build_form/index.js:1 src/stripe/Components/PlanTable.js:35
     1139#: src/stripe/Components/PriceTable.js:45
     1140msgid "no Vat due for you"
     1141msgstr "nessuna IVA per te"
     1142
     1143#: build_form/index.js:1 src/stripe/Components/PlanTable.js:41
     1144#: src/stripe/Components/PriceTable.js:51
    10141145msgid "Total"
    10151146msgstr "Totale"
    10161147
    1017 #: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:34
    1018 #: src/stripe/Components/PlanTable.js:22 src/stripe/Components/PriceTable.js:33
    1019 msgid "per month"
    1020 msgstr "per mese"
    1021 
    1022 #: build_form/index.js:1 src/stripe/Components/Disclaimer.js:8
     1148#: build_form/index.js:1 src/stripe/Components/PriceTable.js:60
     1149msgid "Coupon applied!"
     1150msgstr "Coupon applicato!"
     1151
     1152#: build_form/index.js:1 src/stripe/Components/Disclaimer.js:10
    10231153msgid ""
    10241154"When ordering within the EU an order may be exempt to VAT if a valid VAT "
     
    10281158"IVA se viene fornito un numero di partita IVA valido."
    10291159
    1030 #: build_form/index.js:1 src/stripe/Components/Disclaimer.js:19
     1160#: build_form/index.js:1 src/stripe/Components/Disclaimer.js:21
    10311161msgid "Terms and conditions"
    10321162msgstr "Termini e condizioni"
    10331163
    1034 #: build_form/index.js:1 src/stripe/Components/Disclaimer.js:27
     1164#: build_form/index.js:1 src/stripe/Components/Disclaimer.js:29
    10351165msgid "Privacy"
    10361166msgstr ""
     
    10441174msgstr "piano"
    10451175
    1046 #: build_form/index.js:1 src/stripe/Components/PlanTable.js:38
     1176#: build_form/index.js:1 src/stripe/Components/PlanTable.js:45
     1177msgid " per month"
     1178msgstr "per mese"
     1179
     1180#: build_form/index.js:1 src/stripe/Components/PlanTable.js:51
    10471181msgid "Automatic renewal"
    10481182msgstr "Rinnovo automatico: "
     1183
     1184#: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:22
     1185msgid "per month"
     1186msgstr "per mese"
     1187
     1188#: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:25
     1189msgid "for this month*"
     1190msgstr "per questo mese*"
     1191
     1192#: build_form/index.js:1
     1193msgid "After the first month the price is"
     1194msgstr "Dopo il primo mese il prezzo è"
     1195
     1196#: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:29
     1197#: src/stripe/Components/InfoPriceColumn.js:40
     1198msgid "(VAT)"
     1199msgstr "(IVA)"
     1200
     1201#: build_form/index.js:1
     1202msgid "for the first"
     1203msgstr "per il primo"
     1204
     1205#: build_form/index.js:1 src/stripe/Components/InfoPriceColumn.js:34
     1206msgid "months*"
     1207msgstr "mesi*"
     1208
     1209#: build_form/index.js:1
     1210msgid "After the first"
     1211msgstr "Dopo il primo"
     1212
     1213#: build_form/index.js:1
     1214msgid "months the price is"
     1215msgstr "mesi il prezzo è"
     1216
     1217#: src/stripe/Components/InfoPriceColumn.js:26
     1218msgid "After the first month the monthly price will be"
     1219msgstr "Dopo il primo mese il prezzo mensile sarà"
     1220
     1221#: src/stripe/Components/InfoPriceColumn.js:32
     1222msgid "for the firsts"
     1223msgstr "per i primi"
     1224
     1225#: src/stripe/Components/InfoPriceColumn.js:35
     1226msgid "After the firsts"
     1227msgstr "Dopo i primi"
     1228
     1229#: src/stripe/Components/InfoPriceColumn.js:37
     1230msgid "months the monthly price will be"
     1231msgstr "mesi il prezzo mensile sarà"
     1232
     1233#~ msgid "Subscription plan upgrade"
     1234#~ msgstr "Modifica piano di abbonamento"
     1235
     1236#~ msgid ""
     1237#~ "Upgrading now, for the first month you are entired to a partial refund of "
     1238#~ "previous monthly subscription plan"
     1239#~ msgstr ""
     1240#~ "Scegliendo un piano di abbonamento superiore, per il primo mese verrà "
     1241#~ "applicato uno sconto pari al credito residuo della mensilità "
     1242#~ "dell'abbonamento precedente"
     1243
     1244#~ msgid "Only for first month (Until"
     1245#~ msgstr "Solo per il primo mese (Fino al"
     1246
     1247#~ msgid "Confirm order"
     1248#~ msgstr "Conferma"
     1249
     1250#~ msgid "Summary"
     1251#~ msgstr "Riepilogo"
    10491252
    10501253#~ msgid "Unable to update payment data. The product license key is missing."
  • wubtitle/trunk/languages/wubtitle.pot

    r2354686 r2371183  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Wubtitle 1.0.2\n"
     5"Project-Id-Version: Wubtitle 1.0.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/Wubtitle-Wordpress-Plugin\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2020-08-04T13:25:04+02:00\n"
     12"POT-Creation-Date: 2020-08-26T15:46:17+02:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.4.0\n"
     
    8484#: includes/Api/ApiGetTranscript.php:223
    8585#: includes/Api/ApiGetTranscript.php:224
     86#: includes/Api/ApiPricingPlan.php:121
    8687#: includes/Core/CustomPostTypes/Transcript.php:161
    8788#: includes/Core/CustomPostTypes/Transcript.php:162
    88 #: includes/Core/Sources/YouTube.php:203
    8989#: includes/Core/Sources/YouTube.php:204
     90#: includes/Core/Sources/YouTube.php:205
    9091msgid "An error occurred while creating the transcriptions. Please try again in a few minutes"
    9192msgstr ""
     
    103104#: includes/Api/ApiGetTranscript.php:225
    104105#: includes/Core/CustomPostTypes/Transcript.php:163
    105 #: includes/Core/Sources/YouTube.php:205
     106#: includes/Core/Sources/YouTube.php:206
    106107msgid "Unable to create transcriptions. Invalid product license"
    107108msgstr ""
     
    111112#: includes/Api/ApiPricingPlan.php:73
    112113#: includes/Api/ApiPricingPlan.php:74
    113 #: includes/Api/ApiPricingPlan.php:112
    114 #: includes/Api/ApiPricingPlan.php:187
    115 #: includes/Api/ApiPricingPlan.php:188
    116 #: includes/Api/ApiPricingPlan.php:270
    117 #: includes/Api/ApiPricingPlan.php:271
    118 #: includes/Api/ApiPricingPlan.php:336
    119 #: includes/Api/ApiPricingPlan.php:337
     114#: includes/Api/ApiPricingPlan.php:123
     115#: includes/Api/ApiPricingPlan.php:200
     116#: includes/Api/ApiPricingPlan.php:201
     117#: includes/Api/ApiPricingPlan.php:288
     118#: includes/Api/ApiPricingPlan.php:289
     119#: includes/Api/ApiPricingPlan.php:377
     120#: includes/Api/ApiPricingPlan.php:378
    120121#: includes/Api/ApiRequest.php:123
    121122#: includes/Core/CustomPostTypes/Transcript.php:164
    122 #: includes/Core/Sources/YouTube.php:206
    123 #: includes/Utils/InvoiceHelper.php:68
    124 #: includes/Utils/InvoiceHelper.php:69
     123#: includes/Core/Sources/YouTube.php:207
     124#: includes/Utils/InvoiceHelper.php:77
     125#: includes/Utils/InvoiceHelper.php:78
     126#: includes/Utils/InvoiceHelper.php:298
     127#: includes/Utils/InvoiceHelper.php:299
    125128msgid "Could not contact the server"
    126129msgstr ""
     
    130133#: includes/Api/ApiRequest.php:223
    131134#: includes/Core/CustomPostTypes/Transcript.php:165
    132 #: includes/Core/Sources/YouTube.php:207
     135#: includes/Core/Sources/YouTube.php:208
    133136msgid "Error, no more video left for your subscription plan"
    134137msgstr ""
     
    137140#: includes/Api/ApiGetTranscript.php:236
    138141#: includes/Core/CustomPostTypes/Transcript.php:186
    139 #: includes/Core/Sources/YouTube.php:222
     142#: includes/Core/Sources/YouTube.php:223
    140143msgid "Transcript not avaiable for this video."
    141144msgstr ""
     
    146149
    147150#: includes/Api/ApiPricingPlan.php:42
    148 #: includes/Api/ApiPricingPlan.php:89
    149 #: includes/Api/ApiPricingPlan.php:149
    150 #: includes/Api/ApiPricingPlan.php:159
    151 #: includes/Api/ApiPricingPlan.php:228
    152 #: includes/Api/ApiPricingPlan.php:239
    153 #: includes/Api/ApiPricingPlan.php:292
    154 #: includes/Api/ApiPricingPlan.php:311
     151#: includes/Api/ApiPricingPlan.php:99
     152#: includes/Api/ApiPricingPlan.php:172
     153#: includes/Api/ApiPricingPlan.php:246
     154#: includes/Api/ApiPricingPlan.php:257
     155#: includes/Api/ApiPricingPlan.php:310
     156#: includes/Api/ApiPricingPlan.php:329
    155157#: includes/Dashboard/CancelPage.php:33
    156 #: includes/Dashboard/PaymentTemplate.php:39
    157 #: includes/Dashboard/PaymentTemplate.php:80
    158 #: includes/Dashboard/PaymentTemplate.php:121
    159 #: includes/Dashboard/PaymentTemplate.php:169
    160 #: includes/Utils/InvoiceHelper.php:33
     158#: includes/Dashboard/PaymentTemplate.php:52
     159#: includes/Dashboard/PaymentTemplate.php:104
     160#: includes/Dashboard/PaymentTemplate.php:138
     161#: includes/Dashboard/PaymentTemplate.php:183
     162#: includes/Dashboard/PaymentTemplate.php:231
     163#: includes/Utils/InvoiceHelper.php:35
     164#: includes/Utils/InvoiceHelper.php:95
     165#: includes/Utils/InvoiceHelper.php:264
    161166msgid "An error occurred. Please try again in a few minutes."
    162167msgstr ""
    163168
    164169#: includes/Api/ApiPricingPlan.php:53
    165 #: includes/Api/ApiPricingPlan.php:95
     170#: includes/Api/ApiPricingPlan.php:105
    166171#: includes/Api/ApiRequest.php:104
    167172msgid "Unable to create subtitles. The product license key is missing."
     
    170175#: includes/Api/ApiPricingPlan.php:70
    171176#: includes/Api/ApiPricingPlan.php:71
    172 #: includes/Api/ApiPricingPlan.php:110
    173 #: includes/Api/ApiPricingPlan.php:184
    174 #: includes/Api/ApiPricingPlan.php:185
    175 #: includes/Api/ApiPricingPlan.php:267
    176 #: includes/Api/ApiPricingPlan.php:268
    177 #: includes/Api/ApiPricingPlan.php:333
    178 #: includes/Api/ApiPricingPlan.php:334
    179 #: includes/Utils/InvoiceHelper.php:65
    180 #: includes/Utils/InvoiceHelper.php:66
     177#: includes/Api/ApiPricingPlan.php:120
     178#: includes/Api/ApiPricingPlan.php:197
     179#: includes/Api/ApiPricingPlan.php:198
     180#: includes/Api/ApiPricingPlan.php:285
     181#: includes/Api/ApiPricingPlan.php:286
     182#: includes/Api/ApiPricingPlan.php:374
     183#: includes/Api/ApiPricingPlan.php:375
     184#: includes/Utils/InvoiceHelper.php:74
     185#: includes/Utils/InvoiceHelper.php:75
     186#: includes/Utils/InvoiceHelper.php:123
     187#: includes/Utils/InvoiceHelper.php:295
     188#: includes/Utils/InvoiceHelper.php:296
    181189msgid "An error occurred. Please try again in a few minutes"
    182190msgstr ""
    183191
    184192#: includes/Api/ApiPricingPlan.php:72
    185 #: includes/Api/ApiPricingPlan.php:111
    186 #: includes/Api/ApiPricingPlan.php:186
    187 #: includes/Api/ApiPricingPlan.php:269
    188 #: includes/Api/ApiPricingPlan.php:335
    189 #: includes/Utils/InvoiceHelper.php:67
     193#: includes/Api/ApiPricingPlan.php:122
     194#: includes/Api/ApiPricingPlan.php:199
     195#: includes/Api/ApiPricingPlan.php:287
     196#: includes/Api/ApiPricingPlan.php:376
     197#: includes/Utils/InvoiceHelper.php:76
     198#: includes/Utils/InvoiceHelper.php:297
    190199msgid "Access denied"
    191200msgstr ""
    192201
    193 #: includes/Api/ApiPricingPlan.php:163
     202#: includes/Api/ApiPricingPlan.php:176
    194203msgid "The product license key is missing."
     204msgstr ""
     205
     206#: includes/Api/ApiPricingPlan.php:385
     207msgid "Unable to apply discount. You are not authorized to use this coupon"
     208msgstr ""
     209
     210#: includes/Api/ApiPricingPlan.php:386
     211msgid "Unable to apply discount. This coupon can only be used on the first purchase"
     212msgstr ""
     213
     214#: includes/Api/ApiPricingPlan.php:387
     215msgid "Unable to apply discount. Please try again later or enter a different discount code"
    195216msgstr ""
    196217
     
    227248
    228249#: includes/Api/ApiRequest.php:230
    229 msgid "Error, video length is longer than minutes available for your subscription plan (minutes left "
     250msgid "Error, video length is longer than minutes available for your subscription plan (minutes left"
    230251msgstr ""
    231252
     
    358379msgstr ""
    359380
     381#: includes/Dashboard/PaymentTemplate.php:143
     382msgid "Update successfull!"
     383msgstr ""
     384
     385#: includes/Dashboard/PaymentTemplate.php:145
     386msgid "Upgrade successfull!"
     387msgstr ""
     388
     389#: includes/Dashboard/PaymentTemplate.php:147
     390msgid "Downgrade successfull!"
     391msgstr ""
     392
    360393#: includes/Dashboard/Settings.php:47
    361394msgid "Wubtitle Settings"
     
    419452
    420453#: includes/Dashboard/Settings.php:205
    421 msgid "Update email or payment detail"
     454msgid "Update billing or payment details"
    422455msgstr ""
    423456
     
    488521#: includes/Dashboard/Templates/cancel_template.php:36
    489522#: includes/Dashboard/Templates/downgrade_plan_template.php:49
    490 #: includes/Dashboard/Templates/upgrade_plan_template.php:57
     523#: includes/Dashboard/Templates/upgrade_plan_template.php:138
    491524msgid "Forget it"
    492525msgstr ""
     
    514547
    515548#: includes/Dashboard/Templates/downgrade_plan_template.php:46
     549#: includes/Dashboard/Templates/upgrade_plan_template.php:133
    516550msgid "The subtitles already created and the minutes already used will be counted on the new subscription plan"
    517551msgstr ""
     
    551585#: includes/Dashboard/Templates/plans_array.php:49
    552586#: build_form/index.js:1
    553 #: src/stripe/Components/PlanTable.js:10
     587#: src/stripe/Components/PlanTable.js:18
    554588msgid "Your plan"
    555589msgstr ""
    556590
    557 #: includes/Dashboard/Templates/upgrade_plan_template.php:27
    558 msgid "Subscription plan upgrade"
    559 msgstr ""
    560 
    561 #: includes/Dashboard/Templates/upgrade_plan_template.php:28
    562 msgid "Upgrading now, for the first month you are entired to a partial refund of previous monthly subscription plan"
    563 msgstr ""
    564 
    565 #: includes/Dashboard/Templates/upgrade_plan_template.php:47
    566 msgid "Only for first month (Until"
    567 msgstr ""
    568 
    569 #: includes/Dashboard/Templates/upgrade_plan_template.php:58
     591#: includes/Dashboard/Templates/thankyou_page.php:25
     592msgid "Update Wubtitle settings page on your site backoffice to view the changes or click on the button below"
     593msgstr ""
     594
     595#: includes/Dashboard/Templates/thankyou_page.php:26
     596msgid "BACK TO WUBTITLE"
     597msgstr ""
     598
     599#: includes/Dashboard/Templates/upgrade_plan_template.php:34
     600msgid "Upgrade your plan"
     601msgstr ""
     602
     603#: includes/Dashboard/Templates/upgrade_plan_template.php:37
     604msgid "Upgrading to"
     605msgstr ""
     606
     607#: includes/Dashboard/Templates/upgrade_plan_template.php:39
     608msgid "now you will be charged only for the price difference between"
     609msgstr ""
     610
     611#: includes/Dashboard/Templates/upgrade_plan_template.php:41
     612msgid "plan and your current plan with no changes to your billing period. "
     613msgstr ""
     614
     615#: includes/Dashboard/Templates/upgrade_plan_template.php:66
     616msgid "You will pay:"
     617msgstr ""
     618
     619#: includes/Dashboard/Templates/upgrade_plan_template.php:75
     620#: includes/Dashboard/Templates/upgrade_plan_template.php:101
     621msgid " (VAT)"
     622msgstr ""
     623
     624#: includes/Dashboard/Templates/upgrade_plan_template.php:82
     625msgid "What you pay now (Discounted"
     626msgstr ""
     627
     628#: includes/Dashboard/Templates/upgrade_plan_template.php:84
     629msgid "Price)"
     630msgstr ""
     631
     632#: includes/Dashboard/Templates/upgrade_plan_template.php:89
     633msgid "Until "
     634msgstr ""
     635
     636#: includes/Dashboard/Templates/upgrade_plan_template.php:108
     637msgid "What you pay monthly (Full"
     638msgstr ""
     639
     640#: includes/Dashboard/Templates/upgrade_plan_template.php:110
     641msgid "price)"
     642msgstr ""
     643
     644#: includes/Dashboard/Templates/upgrade_plan_template.php:115
     645msgid "From "
     646msgstr ""
     647
     648#: includes/Dashboard/Templates/upgrade_plan_template.php:123
     649msgid "Current Payment details"
     650msgstr ""
     651
     652#: includes/Dashboard/Templates/upgrade_plan_template.php:127
     653msgid "Name: "
     654msgstr ""
     655
     656#: includes/Dashboard/Templates/upgrade_plan_template.php:128
     657msgid "Email: "
     658msgstr ""
     659
     660#: includes/Dashboard/Templates/upgrade_plan_template.php:129
     661msgid "Card: "
     662msgstr ""
     663
     664#: includes/Dashboard/Templates/upgrade_plan_template.php:130
     665msgid "Expiration Date: "
     666msgstr ""
     667
     668#: includes/Dashboard/Templates/upgrade_plan_template.php:139
    570669msgid "Upgrade Now"
    571670msgstr ""
     
    601700#: includes/MediaLibrary/MediaLibraryExtented.php:263
    602701#: build/index.js:1
    603 #: src/block/SubtitleControl.js:65
     702#: src/block/SubtitleControl.js:73
    604703msgid "Published"
    605704msgstr ""
     
    703802msgstr ""
    704803
    705 #: includes/Utils/InvoiceHelper.php:49
    706 #: includes/Utils/InvoiceHelper.php:154
     804#: includes/Utils/InvoiceHelper.php:58
     805#: includes/Utils/InvoiceHelper.php:107
     806#: includes/Utils/InvoiceHelper.php:204
    707807msgid "Error. The product license key is missing."
     808msgstr ""
     809
     810#: includes/Utils/InvoiceHelper.php:305
     811msgid "Invalid Coupon"
    708812msgstr ""
    709813
     
    760864#: build/index.js:1
    761865#: src/block/PendingSubtitle.js:7
    762 #: src/block/SubtitleControl.js:59
     866#: src/block/SubtitleControl.js:67
    763867#: src/block/WubtitlePanel.js:67
    764868msgid "Status:"
     
    767871#: build/index.js:1
    768872#: src/block/PendingSubtitle.js:8
    769 #: src/block/SubtitleControl.js:62
     873#: src/block/SubtitleControl.js:70
    770874msgid "Language:"
    771875msgstr ""
     
    778882
    779883#: build/index.js:1
    780 #: src/block/SubtitleControl.js:72
     884#: src/block/SubtitleControl.js:80
    781885#: src/block/YoutubeControlPanel.js:135
    782886msgid "Get Transcribe"
     
    821925
    822926#: build/index.js:1
    823 #: src/block/TranscriptionEditBlock.js:107
     927#: src/block/TranscriptionEditBlock.js:108
    824928msgid "Wubtitle transcriptions"
    825929msgstr ""
    826930
    827931#: build/index.js:1
    828 #: src/block/TranscriptionEditBlock.js:111
     932#: src/block/TranscriptionEditBlock.js:112
    829933msgid "Insert transcriptions"
    830934msgstr ""
    831935
    832936#: build/index.js:1
    833 #: src/block/TranscriptionEditBlock.js:116
     937#: src/block/TranscriptionEditBlock.js:117
    834938msgid "Enter the title of the video you want to transcribe"
    835939msgstr ""
     
    851955
    852956#: build_form/index.js:1
    853 #: src/stripe/Components/CheckoutForm.js:23
    854 #: src/stripe/Components/InvoiceForm.js:16
     957#: src/stripe/Components/CheckoutForm.js:31
     958#: src/stripe/Components/InvoiceForm.js:17
    855959msgid "Required"
    856960msgstr ""
    857961
    858962#: build_form/index.js:1
    859 #: src/stripe/Components/CheckoutForm.js:30
    860 #: src/stripe/Components/InvoiceForm.js:22
     963#: src/stripe/Components/CheckoutForm.js:38
     964#: src/stripe/Components/InvoiceForm.js:44
    861965msgid "Invalid email"
    862966msgstr ""
    863967
    864968#: build_form/index.js:1
    865 #: src/stripe/Components/CheckoutForm.js:56
     969#: src/stripe/Components/CheckoutForm.js:88
     970msgid "Coupon"
     971msgstr ""
     972
     973#: build_form/index.js:1
     974#: src/stripe/Components/CheckoutForm.js:95
     975msgid "Discount Code"
     976msgstr ""
     977
     978#: build_form/index.js:1
     979#: src/stripe/Components/CheckoutForm.js:114
     980msgid "Apply Coupon"
     981msgstr ""
     982
     983#: build_form/index.js:1
     984#: src/stripe/Components/CheckoutForm.js:120
    866985msgid "Payment Details"
    867986msgstr ""
    868987
    869988#: build_form/index.js:1
    870 #: src/stripe/Components/CheckoutForm.js:61
     989#: src/stripe/Components/CheckoutForm.js:125
    871990msgid "editing enabled"
    872991msgstr ""
    873992
    874993#: build_form/index.js:1
    875 #: src/stripe/Components/CheckoutForm.js:62
     994#: src/stripe/Components/CheckoutForm.js:126
    876995msgid "editing disabled"
    877996msgstr ""
    878997
    879998#: build_form/index.js:1
    880 #: src/stripe/Components/CheckoutForm.js:80
    881 #: src/stripe/Components/InvoiceSummary.js:39
     999#: src/stripe/Components/CheckoutForm.js:144
     1000#: src/stripe/Components/InvoiceSummary.js:40
    8821001msgid "Email"
    8831002msgstr ""
    8841003
    8851004#: build_form/index.js:1
    886 #: src/stripe/Components/CheckoutForm.js:84
     1005#: src/stripe/Components/CheckoutForm.js:148
    8871006msgid "Card Details"
    8881007msgstr ""
    8891008
    8901009#: build_form/index.js:1
    891 #: src/stripe/Components/CheckoutForm.js:90
    892 #: src/stripe/Components/CheckoutForm.js:133
     1010#: src/stripe/Components/CheckoutForm.js:154
     1011#: src/stripe/Components/CheckoutForm.js:197
    8931012msgid "Card Holder"
    8941013msgstr ""
    8951014
    8961015#: build_form/index.js:1
    897 #: src/stripe/Components/CheckoutForm.js:94
     1016#: src/stripe/Components/CheckoutForm.js:158
    8981017msgid "Expires"
    8991018msgstr ""
    9001019
    9011020#: build_form/index.js:1
    902 #: src/stripe/Components/CheckoutForm.js:153
     1021#: src/stripe/Components/CheckoutForm.js:217
    9031022msgid "Back"
    9041023msgstr ""
    9051024
    9061025#: build_form/index.js:1
    907 #: src/stripe/Components/CheckoutForm.js:162
    908 msgid "Confirm order"
    909 msgstr ""
    910 
    911 #: build_form/index.js:1
    912 #: src/stripe/Components/InvoiceForm.js:26
     1026#: src/stripe/Components/CheckoutForm.js:226
     1027msgid "Subscribe"
     1028msgstr ""
     1029
     1030#: build_form/index.js:1
     1031#: src/stripe/Components/InvoiceForm.js:48
    9131032msgid "Telephone number required"
    9141033msgstr ""
    9151034
    9161035#: build_form/index.js:1
    917 #: src/stripe/Components/InvoiceForm.js:27
    918 #: src/stripe/Components/InvoiceForm.js:48
    919 #: src/stripe/Components/InvoiceForm.js:65
     1036#: src/stripe/Components/InvoiceForm.js:49
     1037#: src/stripe/Components/InvoiceForm.js:73
     1038#: src/stripe/Components/InvoiceForm.js:96
    9201039msgid "Only numbers"
    9211040msgstr ""
    9221041
    9231042#: build_form/index.js:1
    924 #: src/stripe/Components/InvoiceForm.js:29
     1043#: src/stripe/Components/InvoiceForm.js:51
    9251044msgid "Prefix required"
    9261045msgstr ""
    9271046
    9281047#: build_form/index.js:1
    929 #: src/stripe/Components/InvoiceForm.js:30
     1048#: src/stripe/Components/InvoiceForm.js:54
    9301049msgid "Prefix is only numbers"
    9311050msgstr ""
    9321051
    9331052#: build_form/index.js:1
    934 #: src/stripe/Components/InvoiceForm.js:31
     1053#: src/stripe/Components/InvoiceForm.js:56
    9351054msgid "Prefix must be max 3 numbers"
    9361055msgstr ""
    9371056
    9381057#: build_form/index.js:1
    939 #: src/stripe/Components/InvoiceForm.js:46
     1058#: src/stripe/Components/InvoiceForm.js:71
    9401059msgid "Vat Code must be exactly 11 characters"
    9411060msgstr ""
    9421061
    9431062#: build_form/index.js:1
    944 #: src/stripe/Components/InvoiceForm.js:55
     1063#: src/stripe/Components/InvoiceForm.js:81
    9451064msgid "Fiscal Code must be exactly 16 characters"
    9461065msgstr ""
    9471066
    9481067#: build_form/index.js:1
    949 #: src/stripe/Components/InvoiceForm.js:63
     1068#: src/stripe/Components/InvoiceForm.js:85
     1069msgid "Invalid Fiscal Code"
     1070msgstr ""
     1071
     1072#: build_form/index.js:1
     1073#: src/stripe/Components/InvoiceForm.js:94
    9501074msgid "Postal Code must be exactly 5 characters"
    9511075msgstr ""
    9521076
    9531077#: build_form/index.js:1
    954 #: src/stripe/Components/InvoiceForm.js:69
     1078#: src/stripe/Components/InvoiceForm.js:100
    9551079msgid "Destination Code must be exactly 7 characters"
    9561080msgstr ""
    9571081
    9581082#: build_form/index.js:1
    959 #: src/stripe/Components/InvoiceForm.js:114
     1083#: src/stripe/Components/InvoiceForm.js:151
    9601084msgid "Billing Details"
    9611085msgstr ""
    9621086
    9631087#: build_form/index.js:1
    964 #: src/stripe/Components/InvoiceForm.js:127
    965 #: src/stripe/Components/InvoiceSummary.js:35
     1088#: src/stripe/Components/InvoiceForm.js:164
     1089#: src/stripe/Components/InvoiceSummary.js:36
    9661090msgid "Name"
    9671091msgstr ""
    9681092
    9691093#: build_form/index.js:1
    970 #: src/stripe/Components/InvoiceForm.js:136
    971 #: src/stripe/Components/InvoiceSummary.js:71
     1094#: src/stripe/Components/InvoiceForm.js:177
     1095#: src/stripe/Components/InvoiceSummary.js:72
    9721096msgid "Lastname"
    9731097msgstr ""
    9741098
    9751099#: build_form/index.js:1
    976 #: src/stripe/Components/InvoiceForm.js:156
    977 #: src/stripe/Components/InvoiceSummary.js:75
     1100#: src/stripe/Components/InvoiceForm.js:197
     1101#: src/stripe/Components/InvoiceSummary.js:77
    9781102msgid "Company Name"
    9791103msgstr ""
    9801104
    9811105#: build_form/index.js:1
    982 #: src/stripe/Components/InvoiceForm.js:168
    983 #: src/stripe/Components/InvoiceSummary.js:43
     1106#: src/stripe/Components/InvoiceForm.js:209
     1107#: src/stripe/Components/InvoiceSummary.js:44
    9841108msgid "Country"
    9851109msgstr ""
    9861110
    9871111#: build_form/index.js:1
    988 #: src/stripe/Components/InvoiceForm.js:192
    989 #: src/stripe/Components/InvoiceSummary.js:80
     1112#: src/stripe/Components/InvoiceForm.js:233
     1113#: src/stripe/Components/InvoiceSummary.js:86
    9901114msgid "Province"
    9911115msgstr ""
    9921116
    9931117#: build_form/index.js:1
    994 #: src/stripe/Components/InvoiceForm.js:212
    995 #: src/stripe/Components/InvoiceSummary.js:88
     1118#: src/stripe/Components/InvoiceForm.js:253
     1119#: src/stripe/Components/InvoiceSummary.js:94
    9961120msgid "City"
    9971121msgstr ""
    9981122
    9991123#: build_form/index.js:1
    1000 #: src/stripe/Components/InvoiceForm.js:221
    1001 #: src/stripe/Components/InvoiceSummary.js:55
     1124#: src/stripe/Components/InvoiceForm.js:262
     1125#: src/stripe/Components/InvoiceSummary.js:56
    10021126msgid "Address"
    10031127msgstr ""
    10041128
    10051129#: build_form/index.js:1
    1006 #: src/stripe/Components/InvoiceForm.js:234
    1007 #: src/stripe/Components/InvoiceSummary.js:48
     1130#: src/stripe/Components/InvoiceForm.js:275
     1131#: src/stripe/Components/InvoiceSummary.js:49
    10081132msgid "Postal Code"
    10091133msgstr ""
    10101134
    10111135#: build_form/index.js:1
    1012 #: src/stripe/Components/InvoiceForm.js:250
     1136#: src/stripe/Components/InvoiceForm.js:291
    10131137msgid "Vat Code"
    10141138msgstr ""
    10151139
    10161140#: build_form/index.js:1
    1017 #: src/stripe/Components/InvoiceForm.js:272
    1018 #: src/stripe/Components/InvoiceSummary.js:93
     1141#: src/stripe/Components/InvoiceForm.js:313
     1142#: src/stripe/Components/InvoiceSummary.js:100
    10191143msgid "Fiscal Code"
    10201144msgstr ""
    10211145
    10221146#: build_form/index.js:1
    1023 #: src/stripe/Components/InvoiceForm.js:284
     1147#: src/stripe/Components/InvoiceForm.js:325
     1148#: src/stripe/Components/InvoiceSummary.js:62
    10241149msgid "Telephone"
    10251150msgstr ""
    10261151
    10271152#: build_form/index.js:1
    1028 #: src/stripe/Components/InvoiceForm.js:311
    1029 #: src/stripe/Components/InvoiceSummary.js:102
     1153#: src/stripe/Components/InvoiceForm.js:355
     1154#: src/stripe/Components/InvoiceSummary.js:120
    10301155msgid "Destination Code"
    10311156msgstr ""
    10321157
    10331158#: build_form/index.js:1
    1034 #: src/stripe/Components/InvoiceForm.js:328
     1159#: src/stripe/Components/InvoiceForm.js:372
    10351160msgid "Cancel"
    10361161msgstr ""
    10371162
    10381163#: build_form/index.js:1
    1039 #: src/stripe/Components/InvoiceForm.js:334
    1040 msgid "Summary"
    1041 msgstr ""
    1042 
    1043 #: build_form/index.js:1
    1044 #: src/stripe/Components/InvoiceSummary.js:23
     1164#: src/stripe/Components/InvoiceForm.js:378
     1165msgid "Next"
     1166msgstr ""
     1167
     1168#: build_form/index.js:1
     1169#: src/stripe/Components/InvoiceSummary.js:24
    10451170msgid "Billing Recap"
    10461171msgstr ""
    10471172
    10481173#: build_form/index.js:1
    1049 #: src/stripe/Components/InvoiceSummary.js:61
     1174#: src/stripe/Components/InvoiceSummary.js:110
    10501175msgid "VAT Code"
    10511176msgstr ""
    10521177
    10531178#: build_form/index.js:1
    1054 #: src/stripe/Components/PlanTable.js:15
    1055 #: src/stripe/Components/PriceTable.js:10
     1179#: src/stripe/Components/PlanTable.js:22
     1180#: src/stripe/Components/PriceTable.js:22
    10561181msgid "Price"
    10571182msgstr ""
    10581183
    10591184#: build_form/index.js:1
    1060 #: src/stripe/Components/PriceTable.js:15
     1185#: src/stripe/Components/PlanTable.js:27
     1186#: src/stripe/Components/PriceTable.js:37
    10611187msgid "VAT"
    10621188msgstr ""
    10631189
    10641190#: build_form/index.js:1
    1065 #: src/stripe/Components/PriceTable.js:30
     1191#: src/stripe/Components/PlanTable.js:35
     1192#: src/stripe/Components/PriceTable.js:45
     1193msgid "no Vat due for you"
     1194msgstr ""
     1195
     1196#: build_form/index.js:1
     1197#: src/stripe/Components/PlanTable.js:41
     1198#: src/stripe/Components/PriceTable.js:51
    10661199msgid "Total"
    10671200msgstr ""
    10681201
    10691202#: build_form/index.js:1
    1070 #: src/stripe/Components/InfoPriceColumn.js:34
    1071 #: src/stripe/Components/PlanTable.js:22
    1072 #: src/stripe/Components/PriceTable.js:33
    1073 msgid "per month"
    1074 msgstr ""
    1075 
    1076 #: build_form/index.js:1
    1077 #: src/stripe/Components/Disclaimer.js:8
     1203#: src/stripe/Components/PriceTable.js:60
     1204msgid "Coupon applied!"
     1205msgstr ""
     1206
     1207#: build_form/index.js:1
     1208#: src/stripe/Components/Disclaimer.js:10
    10781209msgid "When ordering within the EU an order may be exempt to VAT if a valid VAT registration number is provided."
    10791210msgstr ""
    10801211
    10811212#: build_form/index.js:1
    1082 #: src/stripe/Components/Disclaimer.js:19
     1213#: src/stripe/Components/Disclaimer.js:21
    10831214msgid "Terms and conditions"
    10841215msgstr ""
    10851216
    10861217#: build_form/index.js:1
    1087 #: src/stripe/Components/Disclaimer.js:27
     1218#: src/stripe/Components/Disclaimer.js:29
    10881219msgid "Privacy"
    10891220msgstr ""
     
    11001231
    11011232#: build_form/index.js:1
    1102 #: src/stripe/Components/PlanTable.js:38
     1233#: src/stripe/Components/PlanTable.js:45
     1234msgid " per month"
     1235msgstr ""
     1236
     1237#: build_form/index.js:1
     1238#: src/stripe/Components/PlanTable.js:51
    11031239msgid "Automatic renewal"
    11041240msgstr ""
     1241
     1242#: build_form/index.js:1
     1243#: src/stripe/Components/InfoPriceColumn.js:22
     1244msgid "per month"
     1245msgstr ""
     1246
     1247#: build_form/index.js:1
     1248#: src/stripe/Components/InfoPriceColumn.js:25
     1249msgid "for this month*"
     1250msgstr ""
     1251
     1252#: build_form/index.js:1
     1253msgid "After the first month the price is"
     1254msgstr ""
     1255
     1256#: build_form/index.js:1
     1257#: src/stripe/Components/InfoPriceColumn.js:29
     1258#: src/stripe/Components/InfoPriceColumn.js:40
     1259msgid "(VAT)"
     1260msgstr ""
     1261
     1262#: build_form/index.js:1
     1263msgid "for the first"
     1264msgstr ""
     1265
     1266#: build_form/index.js:1
     1267#: src/stripe/Components/InfoPriceColumn.js:34
     1268msgid "months*"
     1269msgstr ""
     1270
     1271#: build_form/index.js:1
     1272msgid "After the first"
     1273msgstr ""
     1274
     1275#: build_form/index.js:1
     1276msgid "months the price is"
     1277msgstr ""
     1278
     1279#: src/stripe/Components/InfoPriceColumn.js:26
     1280msgid "After the first month the monthly price will be"
     1281msgstr ""
     1282
     1283#: src/stripe/Components/InfoPriceColumn.js:32
     1284msgid "for the firsts"
     1285msgstr ""
     1286
     1287#: src/stripe/Components/InfoPriceColumn.js:35
     1288msgid "After the firsts"
     1289msgstr ""
     1290
     1291#: src/stripe/Components/InfoPriceColumn.js:37
     1292msgid "months the monthly price will be"
     1293msgstr ""
  • wubtitle/trunk/node_modules/@stripe/stripe-js/dist/pure.esm.js

    r2347061 r2371183  
    11function _typeof(obj) {
     2  "@babel/helpers - typeof";
     3
    24  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
    35    _typeof = function (obj) {
     
    1113
    1214  return _typeof(obj);
    13 }
    14 
    15 function _toConsumableArray(arr) {
    16   return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
    17 }
    18 
    19 function _arrayWithoutHoles(arr) {
    20   if (Array.isArray(arr)) {
    21     for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
    22 
    23     return arr2;
    24   }
    25 }
    26 
    27 function _iterableToArray(iter) {
    28   if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
    29 }
    30 
    31 function _nonIterableSpread() {
    32   throw new TypeError("Invalid attempt to spread non-iterable instance");
    3315}
    3416
     
    6648};
    6749
    68 var registerWrapper = function registerWrapper(stripe) {
     50var registerWrapper = function registerWrapper(stripe, startTime) {
    6951  if (!stripe || !stripe._registerWrapper) {
    7052    return;
     
    7355  stripe._registerWrapper({
    7456    name: 'stripe-js',
    75     version: "1.8.0"
     57    version: "1.9.0",
     58    startTime: startTime
    7659  });
    7760};
     
    127110  return stripePromise;
    128111};
    129 var initStripe = function initStripe(maybeStripe, args) {
     112var initStripe = function initStripe(maybeStripe, args, startTime) {
    130113  if (maybeStripe === null) {
    131114    return null;
    132115  }
    133116
    134   var stripe = maybeStripe.apply(void 0, _toConsumableArray(args));
    135   registerWrapper(stripe);
     117  var stripe = maybeStripe.apply(undefined, args);
     118  registerWrapper(stripe, startTime);
    136119  return stripe;
    137120};
     
    158141
    159142  loadStripeCalled = true;
     143  var startTime = Date.now();
    160144  return loadScript(loadParams).then(function (maybeStripe) {
    161     return initStripe(maybeStripe, args);
     145    return initStripe(maybeStripe, args, startTime);
    162146  });
    163147};
  • wubtitle/trunk/node_modules/@stripe/stripe-js/dist/pure.js

    r2347061 r2371183  
    44
    55function _typeof(obj) {
     6  "@babel/helpers - typeof";
     7
    68  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
    79    _typeof = function (obj) {
     
    1517
    1618  return _typeof(obj);
    17 }
    18 
    19 function _toConsumableArray(arr) {
    20   return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
    21 }
    22 
    23 function _arrayWithoutHoles(arr) {
    24   if (Array.isArray(arr)) {
    25     for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
    26 
    27     return arr2;
    28   }
    29 }
    30 
    31 function _iterableToArray(iter) {
    32   if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
    33 }
    34 
    35 function _nonIterableSpread() {
    36   throw new TypeError("Invalid attempt to spread non-iterable instance");
    3719}
    3820
     
    7052};
    7153
    72 var registerWrapper = function registerWrapper(stripe) {
     54var registerWrapper = function registerWrapper(stripe, startTime) {
    7355  if (!stripe || !stripe._registerWrapper) {
    7456    return;
     
    7759  stripe._registerWrapper({
    7860    name: 'stripe-js',
    79     version: "1.8.0"
     61    version: "1.9.0",
     62    startTime: startTime
    8063  });
    8164};
     
    131114  return stripePromise;
    132115};
    133 var initStripe = function initStripe(maybeStripe, args) {
     116var initStripe = function initStripe(maybeStripe, args, startTime) {
    134117  if (maybeStripe === null) {
    135118    return null;
    136119  }
    137120
    138   var stripe = maybeStripe.apply(void 0, _toConsumableArray(args));
    139   registerWrapper(stripe);
     121  var stripe = maybeStripe.apply(undefined, args);
     122  registerWrapper(stripe, startTime);
    140123  return stripe;
    141124};
     
    162145
    163146  loadStripeCalled = true;
     147  var startTime = Date.now();
    164148  return loadScript(loadParams).then(function (maybeStripe) {
    165     return initStripe(maybeStripe, args);
     149    return initStripe(maybeStripe, args, startTime);
    166150  });
    167151};
  • wubtitle/trunk/node_modules/@stripe/stripe-js/dist/stripe.esm.js

    r2347061 r2371183  
    1 function _toConsumableArray(arr) {
    2   return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
    3 }
    4 
    5 function _arrayWithoutHoles(arr) {
    6   if (Array.isArray(arr)) {
    7     for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
    8 
    9     return arr2;
    10   }
    11 }
    12 
    13 function _iterableToArray(iter) {
    14   if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
    15 }
    16 
    17 function _nonIterableSpread() {
    18   throw new TypeError("Invalid attempt to spread non-iterable instance");
    19 }
    20 
    211var V3_URL = 'https://js.stripe.com/v3';
    222var V3_URL_REGEX = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;
     
    5232};
    5333
    54 var registerWrapper = function registerWrapper(stripe) {
     34var registerWrapper = function registerWrapper(stripe, startTime) {
    5535  if (!stripe || !stripe._registerWrapper) {
    5636    return;
     
    5939  stripe._registerWrapper({
    6040    name: 'stripe-js',
    61     version: "1.8.0"
     41    version: "1.9.0",
     42    startTime: startTime
    6243  });
    6344};
     
    11394  return stripePromise;
    11495};
    115 var initStripe = function initStripe(maybeStripe, args) {
     96var initStripe = function initStripe(maybeStripe, args, startTime) {
    11697  if (maybeStripe === null) {
    11798    return null;
    11899  }
    119100
    120   var stripe = maybeStripe.apply(void 0, _toConsumableArray(args));
    121   registerWrapper(stripe);
     101  var stripe = maybeStripe.apply(undefined, args);
     102  registerWrapper(stripe, startTime);
    122103  return stripe;
    123104};
     
    140121
    141122  loadCalled = true;
     123  var startTime = Date.now();
    142124  return stripePromise$1.then(function (maybeStripe) {
    143     return initStripe(maybeStripe, args);
     125    return initStripe(maybeStripe, args, startTime);
    144126  });
    145127};
  • wubtitle/trunk/node_modules/@stripe/stripe-js/dist/stripe.js

    r2347061 r2371183  
    22
    33Object.defineProperty(exports, '__esModule', { value: true });
    4 
    5 function _toConsumableArray(arr) {
    6   return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
    7 }
    8 
    9 function _arrayWithoutHoles(arr) {
    10   if (Array.isArray(arr)) {
    11     for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
    12 
    13     return arr2;
    14   }
    15 }
    16 
    17 function _iterableToArray(iter) {
    18   if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
    19 }
    20 
    21 function _nonIterableSpread() {
    22   throw new TypeError("Invalid attempt to spread non-iterable instance");
    23 }
    244
    255var V3_URL = 'https://js.stripe.com/v3';
     
    5636};
    5737
    58 var registerWrapper = function registerWrapper(stripe) {
     38var registerWrapper = function registerWrapper(stripe, startTime) {
    5939  if (!stripe || !stripe._registerWrapper) {
    6040    return;
     
    6343  stripe._registerWrapper({
    6444    name: 'stripe-js',
    65     version: "1.8.0"
     45    version: "1.9.0",
     46    startTime: startTime
    6647  });
    6748};
     
    11798  return stripePromise;
    11899};
    119 var initStripe = function initStripe(maybeStripe, args) {
     100var initStripe = function initStripe(maybeStripe, args, startTime) {
    120101  if (maybeStripe === null) {
    121102    return null;
    122103  }
    123104
    124   var stripe = maybeStripe.apply(void 0, _toConsumableArray(args));
    125   registerWrapper(stripe);
     105  var stripe = maybeStripe.apply(undefined, args);
     106  registerWrapper(stripe, startTime);
    126107  return stripe;
    127108};
     
    144125
    145126  loadCalled = true;
     127  var startTime = Date.now();
    146128  return stripePromise$1.then(function (maybeStripe) {
    147     return initStripe(maybeStripe, args);
     129    return initStripe(maybeStripe, args, startTime);
    148130  });
    149131};
  • wubtitle/trunk/node_modules/@stripe/stripe-js/src/index.ts

    r2347061 r2371183  
    1515export const loadStripe: LoadStripe = (...args) => {
    1616  loadCalled = true;
     17  const startTime = Date.now();
    1718
    18   return stripePromise.then((maybeStripe) => initStripe(maybeStripe, args));
     19  return stripePromise.then((maybeStripe) =>
     20    initStripe(maybeStripe, args, startTime)
     21  );
    1922};
  • wubtitle/trunk/node_modules/@stripe/stripe-js/src/pure.ts

    r2347061 r2371183  
    1616) => {
    1717  loadStripeCalled = true;
     18  const startTime = Date.now();
    1819
    1920  return loadScript(loadParams).then((maybeStripe) =>
    20     initStripe(maybeStripe, args)
     21    initStripe(maybeStripe, args, startTime)
    2122  );
    2223};
  • wubtitle/trunk/node_modules/@stripe/stripe-js/src/shared.ts

    r2347061 r2371183  
    5656};
    5757
    58 const registerWrapper = (stripe: any): void => {
     58const registerWrapper = (stripe: any, startTime: number): void => {
    5959  if (!stripe || !stripe._registerWrapper) {
    6060    return;
    6161  }
    6262
    63   stripe._registerWrapper({name: 'stripe-js', version: _VERSION});
     63  stripe._registerWrapper({name: 'stripe-js', version: _VERSION, startTime});
    6464};
    6565
     
    122122export const initStripe = (
    123123  maybeStripe: StripeConstructor | null,
    124   args: Parameters<StripeConstructor>
     124  args: Parameters<StripeConstructor>,
     125  startTime: number
    125126): Stripe | null => {
    126127  if (maybeStripe === null) {
     
    128129  }
    129130
    130   const stripe = maybeStripe(...args);
    131   registerWrapper(stripe);
     131  const stripe = maybeStripe.apply(undefined, args);
     132  registerWrapper(stripe, startTime);
    132133  return stripe;
    133134};
  • wubtitle/trunk/node_modules/@stripe/stripe-js/types/stripe-js/checkout.d.ts

    r2347061 r2371183  
    9999     * Default is `auto` (Stripe detects the locale of the browser).
    100100     */
    101     locale?:
    102       | 'auto'
    103       | 'bg'
    104       | 'cs'
    105       | 'da'
    106       | 'de'
    107       | 'el'
    108       | 'en'
    109       | 'es'
    110       | 'es-419'
    111       | 'et'
    112       | 'fi'
    113       | 'fr'
    114       | 'hu'
    115       | 'it'
    116       | 'ja'
    117       | 'lt'
    118       | 'lv'
    119       | 'ms'
    120       | 'mt'
    121       | 'nb'
    122       | 'nl'
    123       | 'pl'
    124       | 'pt'
    125       | 'pt-BR'
    126       | 'ro'
    127       | 'ru'
    128       | 'sk'
    129       | 'sl'
    130       | 'sv'
    131       | 'tr'
    132       | 'zh';
     101    locale?: CheckoutLocale;
    133102
    134103    /**
     
    143112    | RedirectToCheckoutServerOptions
    144113    | RedirectToCheckoutClientOptions;
     114
     115  type CheckoutLocale =
     116    | 'auto'
     117    | 'bg'
     118    | 'cs'
     119    | 'da'
     120    | 'de'
     121    | 'el'
     122    | 'en'
     123    | 'en-GB'
     124    | 'es'
     125    | 'es-419'
     126    | 'et'
     127    | 'fi'
     128    | 'fr'
     129    | 'fr-CA'
     130    | 'hu'
     131    | 'id'
     132    | 'it'
     133    | 'ja'
     134    | 'lt'
     135    | 'lv'
     136    | 'ms'
     137    | 'mt'
     138    | 'nb'
     139    | 'nl'
     140    | 'pl'
     141    | 'pt'
     142    | 'pt-BR'
     143    | 'ro'
     144    | 'ru'
     145    | 'sk'
     146    | 'sl'
     147    | 'sv'
     148    | 'tr'
     149    | 'zh'
     150    | 'zh-HK'
     151    | 'zh-TW';
    145152}
  • wubtitle/trunk/node_modules/@stripe/stripe-js/types/stripe-js/elements.d.ts

    r2347061 r2371183  
    199199    | StripePaymentRequestButtonElement;
    200200
     201  type StripeElementLocale =
     202    | 'auto'
     203    | 'ar'
     204    | 'bg'
     205    | 'cs'
     206    | 'da'
     207    | 'de'
     208    | 'el'
     209    | 'en'
     210    | 'es'
     211    | 'es-419'
     212    | 'et'
     213    | 'fi'
     214    | 'fr'
     215    | 'he'
     216    | 'id'
     217    | 'it'
     218    | 'ja'
     219    | 'lt'
     220    | 'lv'
     221    | 'ms'
     222    | 'nb'
     223    | 'nl'
     224    | 'no'
     225    | 'pl'
     226    | 'pt'
     227    | 'pt-BR'
     228    | 'ru'
     229    | 'sk'
     230    | 'sl'
     231    | 'sv'
     232    | 'zh';
     233
    201234  /**
    202235   * Options to create an `Elements` instance with.
     
    213246     * Setting the locale does not affect the behavior of postal code validation—a valid postal code for the billing country of the card is still required.
    214247     */
    215     locale?:
    216       | 'auto'
    217       | 'ar'
    218       | 'bg'
    219       | 'cs'
    220       | 'da'
    221       | 'de'
    222       | 'el'
    223       | 'en'
    224       | 'es'
    225       | 'es-419'
    226       | 'et'
    227       | 'fi'
    228       | 'fr'
    229       | 'he'
    230       | 'id'
    231       | 'it'
    232       | 'ja'
    233       | 'lt'
    234       | 'lv'
    235       | 'ms'
    236       | 'nb'
    237       | 'nl'
    238       | 'no'
    239       | 'pl'
    240       | 'pt'
    241       | 'pt-BR'
    242       | 'ru'
    243       | 'sk'
    244       | 'sl'
    245       | 'sv'
    246       | 'zh';
     248    locale?: StripeElementLocale;
    247249  }
    248250
  • wubtitle/trunk/node_modules/@stripe/stripe-js/types/stripe-js/index.d.ts

    r2347061 r2371183  
    4040    /// https://stripe.com/docs/js/payment_intents
    4141    /////////////////////////////
     42
     43    /**
     44     * Use `stripe.confirmAlipayPayment` in the [Alipay Payments](https://stripe.com/docs/payments/alipay) with Payment Methods flow when the customer submits your payment form.
     45     * When called, it will confirm the [PaymentIntent](https://stripe.com/docs/api/payment_intents) with `data` you provide, and it will automatically redirect the customer to authorize the transaction.
     46     * Once authorization is complete, the customer will be redirected back to your specified `return_url`.
     47     *
     48     * When you confirm a `PaymentIntent`, it needs to have an attached [PaymentMethod](https://stripe.com/docs/api/payment_methods).
     49     * In addition to confirming the `PaymentIntent`, this method can automatically create and attach a new PaymentMethod for you.
     50     * If you have already attached a `PaymentMethod` you can call this method without needing to provide any additional data.
     51     *
     52     * @docs https://stripe.com/docs/js/payment_intents/confirm_alipay_payment
     53     */
     54    confirmAlipayPayment(
     55      clientSecret: string,
     56      data?: ConfirmAlipayPaymentData,
     57      options?: ConfirmAlipayPaymentOptions
     58    ): Promise<{paymentIntent?: PaymentIntent; error?: StripeError}>;
    4259
    4360    /**
     
    485502     * If you are planning on using Checkout, make sure to use a [value](#checkout_redirect_to_checkout-options-locale) that it supports.
    486503     */
    487     locale?:
    488       | 'auto'
    489       | 'ar'
    490       | 'bg'
    491       | 'cs'
    492       | 'da'
    493       | 'de'
    494       | 'el'
    495       | 'en'
    496       | 'es'
    497       | 'es-419'
    498       | 'et'
    499       | 'fi'
    500       | 'fr'
    501       | 'he'
    502       | 'id'
    503       | 'it'
    504       | 'ja'
    505       | 'lt'
    506       | 'lv'
    507       | 'ms'
    508       | 'nb'
    509       | 'nl'
    510       | 'no'
    511       | 'pl'
    512       | 'pt'
    513       | 'pt-BR'
    514       | 'ru'
    515       | 'sk'
    516       | 'sl'
    517       | 'sv'
    518       | 'zh';
     504    locale?: StripeElementLocale | CheckoutLocale;
    519505  }
    520506
  • wubtitle/trunk/node_modules/@stripe/stripe-js/types/stripe-js/payment-intents.d.ts

    r2347061 r2371183  
    44
    55  type CreatePaymentMethodData =
     6    | CreatePaymentMethodAlipayData
    67    | CreatePaymentMethodAuBecsDebitData
    78    | CreatePaymentMethodBancontactData
     
    1415    | CreatePaymentMethodSepaDebitData;
    1516
     17  interface CreatePaymentMethodAlipayData extends PaymentMethodCreateParams {
     18    type: 'alipay';
     19  }
     20
    1621  interface CreatePaymentMethodBancontactData
    1722    extends PaymentMethodCreateParams {
     
    220225
    221226  /**
     227   * Data to be sent with a `stripe.confirmAlipayPayment` request.
     228   * Refer to the [Payment Intents API](https://stripe.com/docs/api/payment_intents/confirm) for a full list of parameters.
     229   */
     230  interface ConfirmAlipayPaymentData extends PaymentIntentConfirmParams {
     231    /*
     232     * The `id` of an existing [PaymentMethod](https://stripe.com/docs/api/payment_methods).
     233     * This field is optional if a `PaymentMethod` has already been attached to this `PaymentIntent` or a new `PaymentMethod` will be created.
     234     *
     235     * @recommended
     236     */
     237    payment_method?: string | Omit<CreatePaymentMethodAlipayData, 'type'>;
     238
     239    /**
     240     * The url your customer will be directed to after they complete authentication.
     241     *
     242     * @recommended
     243     */
     244    return_url?: string;
     245  }
     246
     247  /**
     248   * An options object to control the behavior of `stripe.confirmAlipayPayment`.
     249   */
     250  interface ConfirmAlipayPaymentOptions {
     251    /*
     252     * Set this to `false` if you want to [manually handle the authorization redirect](https://stripe.com/docs/payments/alipay/accept-a-payment#handle-redirect).
     253     * Default is `true`.
     254     */
     255    handleActions?: boolean;
     256  }
     257
     258  /**
    222259   * An options object to control the behavior of `stripe.confirmBancontactPayment`.
    223260   */
  • wubtitle/trunk/readme.txt

    r2354686 r2371183  
    33Donate link: https://www.wubtitle.com/
    44Tags: subtitle, subtitles, video, Transcription, SEO, speech-to-text, video to text, youtube to text
    5 Requires at least: 5.0
     5Requires at least: 5.3
    66Tested up to: 5.5
    77Stable tag: trunk
     
    9595== Changelog ==
    9696
     97=1.0.4=
     98Release Date: August 28th, 2020
     99
     100Enhancements:
     101
     102* Wordpress 5.5 support
     103
     104Bugfixes:
     105
     106* Permit plan upgrade only to Administrator
     107* Stability improvements
     108
    97109= 1.0.3 =
    98110Release Date: August 7th, 2020
  • wubtitle/trunk/vendor/autoload.php

    r2354686 r2371183  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit144ec1da1375d1ed142b5e69e7fae16e::getLoader();
     7return ComposerAutoloaderInit6c741866330a801191c9af39dac6d322::getLoader();
  • wubtitle/trunk/vendor/composer/autoload_real.php

    r2354686 r2371183  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit144ec1da1375d1ed142b5e69e7fae16e
     5class ComposerAutoloaderInit6c741866330a801191c9af39dac6d322
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit144ec1da1375d1ed142b5e69e7fae16e', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit6c741866330a801191c9af39dac6d322', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInit144ec1da1375d1ed142b5e69e7fae16e', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit6c741866330a801191c9af39dac6d322', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit144ec1da1375d1ed142b5e69e7fae16e::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit6c741866330a801191c9af39dac6d322::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
  • wubtitle/trunk/vendor/composer/autoload_static.php

    r2354686 r2371183  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit144ec1da1375d1ed142b5e69e7fae16e
     7class ComposerStaticInit6c741866330a801191c9af39dac6d322
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3232    {
    3333        return \Closure::bind(function () use ($loader) {
    34             $loader->prefixLengthsPsr4 = ComposerStaticInit144ec1da1375d1ed142b5e69e7fae16e::$prefixLengthsPsr4;
    35             $loader->prefixDirsPsr4 = ComposerStaticInit144ec1da1375d1ed142b5e69e7fae16e::$prefixDirsPsr4;
     34            $loader->prefixLengthsPsr4 = ComposerStaticInit6c741866330a801191c9af39dac6d322::$prefixLengthsPsr4;
     35            $loader->prefixDirsPsr4 = ComposerStaticInit6c741866330a801191c9af39dac6d322::$prefixDirsPsr4;
    3636
    3737        }, null, ClassLoader::class);
  • wubtitle/trunk/wubtitle.php

    r2354686 r2371183  
    88 * Text Domain:     wubtitle
    99 * Domain Path:     /languages
    10  * Version:         1.0.3
     10 * Version:         1.0.4
    1111 *
    1212 * @package         Wubtitle
     
    2222define( 'WUBTITLE_URL', plugin_dir_url( __FILE__ ) );
    2323define( 'WUBTITLE_NAME', dirname( plugin_basename( __FILE__ ) ) );
    24 define( 'WUBTITLE_VER', '1.0.3' );
     24define( 'WUBTITLE_VER', '1.0.4' );
    2525$endpoint = 'https://api.wubtitle.com/';
    2626if ( defined( 'WP_WUBTITLE_ENV' ) && 'development' === WP_WUBTITLE_ENV ) {
Note: See TracChangeset for help on using the changeset viewer.