@sheerid/jslib 1.139.1 → 1.140.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/es5/Tmetrix.bundle.js +4 -4
  2. package/es5/messages_ar.bundle.js +4 -4
  3. package/es5/messages_bg.bundle.js +4 -4
  4. package/es5/messages_cs.bundle.js +4 -4
  5. package/es5/messages_da.bundle.js +4 -4
  6. package/es5/messages_de.bundle.js +4 -4
  7. package/es5/messages_el.bundle.js +4 -4
  8. package/es5/messages_en-GB.bundle.js +4 -4
  9. package/es5/messages_es-ES.bundle.js +4 -4
  10. package/es5/messages_es.bundle.js +4 -4
  11. package/es5/messages_fi.bundle.js +4 -4
  12. package/es5/messages_fr-CA.bundle.js +4 -4
  13. package/es5/messages_fr.bundle.js +4 -4
  14. package/es5/messages_ga.bundle.js +4 -4
  15. package/es5/messages_hr.bundle.js +4 -4
  16. package/es5/messages_hu.bundle.js +4 -4
  17. package/es5/messages_id.bundle.js +4 -4
  18. package/es5/messages_it.bundle.js +4 -4
  19. package/es5/messages_iw.bundle.js +4 -4
  20. package/es5/messages_ja.bundle.js +4 -4
  21. package/es5/messages_ko.bundle.js +4 -4
  22. package/es5/messages_lo.bundle.js +4 -4
  23. package/es5/messages_lt.bundle.js +4 -4
  24. package/es5/messages_ms.bundle.js +4 -4
  25. package/es5/messages_nl.bundle.js +4 -4
  26. package/es5/messages_no.bundle.js +4 -4
  27. package/es5/messages_pl.bundle.js +4 -4
  28. package/es5/messages_pt-BR.bundle.js +4 -4
  29. package/es5/messages_pt.bundle.js +4 -4
  30. package/es5/messages_ru.bundle.js +4 -4
  31. package/es5/messages_sk.bundle.js +4 -4
  32. package/es5/messages_sl.bundle.js +4 -4
  33. package/es5/messages_sr.bundle.js +4 -4
  34. package/es5/messages_sv.bundle.js +4 -4
  35. package/es5/messages_th.bundle.js +4 -4
  36. package/es5/messages_tr.bundle.js +4 -4
  37. package/es5/messages_zh-HK.bundle.js +4 -4
  38. package/es5/messages_zh.bundle.js +4 -4
  39. package/manifest.json +43 -43
  40. package/package.json +2 -1
  41. package/sheerid-requestOrg.css +4 -4
  42. package/sheerid-requestOrg.js +6 -6
  43. package/sheerid-requestOrg.js.map +1 -1
  44. package/sheerid-utils.js +4 -4
  45. package/sheerid.css +4 -4
  46. package/sheerid.js +6 -6
  47. package/sheerid.js.map +1 -1
  48. package/sheerides6.js +36 -1
  49. package/sheerides6.js.map +1 -1
  50. package/src/lib/validators/validators.d.ts +3 -0
  51. package/types-reference.zip +0 -0
package/sheerid.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /*!
2
2
  *
3
- * VERSION: 1.139.1
4
- * BUILD_TIMESTAMP: 1682979492781
5
- * BUILD_DATE: Mon May 01 2023 22:18:12 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: cd68fc86890dfaba4735e448d771484194bd818c
3
+ * VERSION: 1.140.0
4
+ * BUILD_TIMESTAMP: 1683135896614
5
+ * BUILD_DATE: Wed May 03 2023 17:44:56 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: f5335211c97e3659b5bf0c48b060b648eff80044
7
7
  *
8
8
  */
9
- window.sheerIdCurrentScript=document.currentScript,window.sheerIdEs5="true",window.sheerIdPubV="1.139.1",function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.sheerid=t():e.sheerid=t()}(self,(()=>(()=>{var e,t,r,n,a={6358:(e,t,r)=>{e.exports=r(9670)},1306:(e,t,r)=>{e.exports=r(4190)},8505:(e,t,r)=>{e.exports=r(9074)},7166:(e,t,r)=>{e.exports=r(5480)},210:(e,t,r)=>{e.exports=r(2910)},2022:(e,t,r)=>{e.exports=r(44)},6937:(e,t,r)=>{e.exports=r(9992)},7917:(e,t,r)=>{e.exports=r(4546)},6812:(e,t,r)=>{e.exports=r(7837)},9423:(e,t,r)=>{e.exports=r(8784)},9154:(e,t,r)=>{e.exports=r(3668)},2814:(e,t,r)=>{e.exports=r(6361)},6426:(e,t,r)=>{e.exports=r(1189)},3104:(e,t,r)=>{e.exports=r(8303)},3106:(e,t,r)=>{e.exports=r(113)},7475:(e,t,r)=>{e.exports=r(1740)},6569:(e,t,r)=>{e.exports=r(3228)},1639:(e,t,r)=>{e.exports=r(382)},3944:(e,t,r)=>{e.exports=r(6949)},2021:(e,t,r)=>{e.exports=r(2161)},6954:(e,t,r)=>{e.exports=r(7440)},8520:(e,t,r)=>{e.exports=r(4514)},3049:(e,t,r)=>{e.exports=r(6483)},8903:(e,t,r)=>{e.exports=r(4349)},8675:(e,t,r)=>{e.exports=r(1799)},6534:(e,t,r)=>{e.exports=r(2751)},1671:(e,t,r)=>{e.exports=r(5303)},1057:(e,t,r)=>{e.exports=r(7020)},9910:(e,t,r)=>{e.exports=r(1006)},3537:(e,t,r)=>{e.exports=r(1065)},944:(e,t,r)=>{e.exports=r(6191)},249:(e,t,r)=>{e.exports=r(6884)},6905:(e,t,r)=>{e.exports=r(3863)},3029:(e,t,r)=>{e.exports=r(7118)},6500:(e,t,r)=>{e.exports=r(858)},3567:(e,t,r)=>{e.exports=r(8404)},8818:(e,t,r)=>{e.exports=r(8430)},3371:(e,t,r)=>{e.exports=r(7926)},8338:(e,t,r)=>{e.exports=r(779)},9683:(e,t,r)=>{e.exports=r(3800)},2035:(e,t,r)=>{e.exports=r(4226)},2665:(e,t,r)=>{e.exports=r(9594)},2486:(e,t,r)=>{e.exports=r(274)},9469:(e,t,r)=>{e.exports=r(3289)},1245:(e,t,r)=>{e.exports=r(5705)},1652:(e,t,r)=>{e.exports=r(34)},6709:(e,t,r)=>{e.exports=r(8566)},8897:(e,t,r)=>{e.exports=r(6218)},7347:(e,t,r)=>{e.exports=r(6753)},2334:(e,t,r)=>{e.exports=r(5580)},8801:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",a=(e.type||"").toLowerCase(),i=a.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):a===t}))}return!0}},3305:e=>{var t=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,r,n;try{t=Map}catch(e){t=function(){}}try{r=Set}catch(e){r=function(){}}try{n=Promise}catch(e){n=function(){}}function a(i,s,l,u,c){"object"==typeof s&&(l=s.depth,u=s.prototype,c=s.includeNonEnumerable,s=s.circular);var d=[],f=[],m="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,p){if(null===l)return null;if(0===p)return l;var h,g;if("object"!=typeof l)return l;if(e(l,t))h=new t;else if(e(l,r))h=new r;else if(e(l,n))h=new n((function(e,t){l.then((function(t){e(i(t,p-1))}),(function(e){t(i(e,p-1))}))}));else if(a.__isArray(l))h=[];else if(a.__isRegExp(l))h=new RegExp(l.source,o(l)),l.lastIndex&&(h.lastIndex=l.lastIndex);else if(a.__isDate(l))h=new Date(l.getTime());else{if(m&&Buffer.isBuffer(l))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(l.length):new Buffer(l.length),l.copy(h),h;e(l,Error)?h=Object.create(l):void 0===u?(g=Object.getPrototypeOf(l),h=Object.create(g)):(h=Object.create(u),g=u)}if(s){var v=d.indexOf(l);if(-1!=v)return f[v];d.push(l),f.push(h)}for(var y in e(l,t)&&l.forEach((function(e,t){var r=i(t,p-1),n=i(e,p-1);h.set(r,n)})),e(l,r)&&l.forEach((function(e){var t=i(e,p-1);h.add(t)})),l){var b;g&&(b=Object.getOwnPropertyDescriptor(g,y)),b&&null==b.set||(h[y]=i(l[y],p-1))}if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(l);for(y=0;y<E.length;y++){var w=E[y];(!(M=Object.getOwnPropertyDescriptor(l,w))||M.enumerable||c)&&(h[w]=i(l[w],p-1),M.enumerable||Object.defineProperty(h,w,{enumerable:!1}))}}if(c){var S=Object.getOwnPropertyNames(l);for(y=0;y<S.length;y++){var M,C=S[y];(M=Object.getOwnPropertyDescriptor(l,C))&&M.enumerable||(h[C]=i(l[C],p-1),Object.defineProperty(h,C,{enumerable:!1}))}}return h}(i,l)}function i(e){return Object.prototype.toString.call(e)}function o(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return a.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},a.__objToStr=i,a.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},a.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},a.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},a.__getRegExpFlags=o,a}();e.exports&&(e.exports=t)},2409:(e,t,r)=>{"use strict";var n=r(6943),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,i,o,s,l,u,c=!1;t||(t={}),r=t.debug||!1;try{if(o=n(),s=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=a[t.format]||a.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(u),s.selectNodeContents(u),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),o()}return c}},3961:(e,t,r)=>{r(9773),r(4702);var n=r(2366);e.exports=n.Array.from},9860:(e,t,r)=>{r(8982);var n=r(2366);e.exports=n.Array.isArray},1985:(e,t,r)=>{r(5802);var n=r(9360);e.exports=n("Array").concat},7956:(e,t,r)=>{r(5239);var n=r(9360);e.exports=n("Array").every},1972:(e,t,r)=>{r(1308);var n=r(9360);e.exports=n("Array").fill},9489:(e,t,r)=>{r(8830);var n=r(9360);e.exports=n("Array").filter},7641:(e,t,r)=>{r(8901);var n=r(9360);e.exports=n("Array").findIndex},2851:(e,t,r)=>{r(2283);var n=r(9360);e.exports=n("Array").find},150:(e,t,r)=>{r(4739);var n=r(9360);e.exports=n("Array").forEach},5296:(e,t,r)=>{r(9113);var n=r(9360);e.exports=n("Array").includes},2858:(e,t,r)=>{r(8165);var n=r(9360);e.exports=n("Array").indexOf},1935:(e,t,r)=>{r(2610);var n=r(9360);e.exports=n("Array").keys},6050:(e,t,r)=>{r(3575);var n=r(9360);e.exports=n("Array").lastIndexOf},550:(e,t,r)=>{r(9731);var n=r(9360);e.exports=n("Array").map},8866:(e,t,r)=>{r(3919);var n=r(9360);e.exports=n("Array").reduce},6375:(e,t,r)=>{r(2074);var n=r(9360);e.exports=n("Array").reverse},4220:(e,t,r)=>{r(333);var n=r(9360);e.exports=n("Array").slice},5640:(e,t,r)=>{r(7412);var n=r(9360);e.exports=n("Array").some},5789:(e,t,r)=>{r(3064);var n=r(9360);e.exports=n("Array").sort},2950:(e,t,r)=>{r(4722);var n=r(9360);e.exports=n("Array").splice},8208:(e,t,r)=>{r(2610);var n=r(9360);e.exports=n("Array").values},5050:(e,t,r)=>{r(6664);var n=r(2366);e.exports=n.Date.now},7433:(e,t,r)=>{r(7778);var n=r(9360);e.exports=n("Function").bind},9743:(e,t,r)=>{var n=r(7433),a=Function.prototype;e.exports=function(e){var t=e.bind;return e===a||e instanceof Function&&t===a.bind?n:t}},7416:(e,t,r)=>{var n=r(1985),a=Array.prototype;e.exports=function(e){var t=e.concat;return e===a||e instanceof Array&&t===a.concat?n:t}},1617:(e,t,r)=>{var n=r(7956),a=Array.prototype;e.exports=function(e){var t=e.every;return e===a||e instanceof Array&&t===a.every?n:t}},7458:(e,t,r)=>{var n=r(1972),a=Array.prototype;e.exports=function(e){var t=e.fill;return e===a||e instanceof Array&&t===a.fill?n:t}},6743:(e,t,r)=>{var n=r(9489),a=Array.prototype;e.exports=function(e){var t=e.filter;return e===a||e instanceof Array&&t===a.filter?n:t}},2887:(e,t,r)=>{var n=r(7641),a=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===a||e instanceof Array&&t===a.findIndex?n:t}},2137:(e,t,r)=>{var n=r(2851),a=Array.prototype;e.exports=function(e){var t=e.find;return e===a||e instanceof Array&&t===a.find?n:t}},3076:(e,t,r)=>{var n=r(5296),a=r(4368),i=Array.prototype,o=String.prototype;e.exports=function(e){var t=e.includes;return e===i||e instanceof Array&&t===i.includes?n:"string"==typeof e||e===o||e instanceof String&&t===o.includes?a:t}},1475:(e,t,r)=>{var n=r(2858),a=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===a||e instanceof Array&&t===a.indexOf?n:t}},3014:(e,t,r)=>{var n=r(6050),a=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===a||e instanceof Array&&t===a.lastIndexOf?n:t}},6015:(e,t,r)=>{var n=r(550),a=Array.prototype;e.exports=function(e){var t=e.map;return e===a||e instanceof Array&&t===a.map?n:t}},9846:(e,t,r)=>{var n=r(8866),a=Array.prototype;e.exports=function(e){var t=e.reduce;return e===a||e instanceof Array&&t===a.reduce?n:t}},7886:(e,t,r)=>{var n=r(6375),a=Array.prototype;e.exports=function(e){var t=e.reverse;return e===a||e instanceof Array&&t===a.reverse?n:t}},1187:(e,t,r)=>{var n=r(4220),a=Array.prototype;e.exports=function(e){var t=e.slice;return e===a||e instanceof Array&&t===a.slice?n:t}},6072:(e,t,r)=>{var n=r(5640),a=Array.prototype;e.exports=function(e){var t=e.some;return e===a||e instanceof Array&&t===a.some?n:t}},8277:(e,t,r)=>{var n=r(5789),a=Array.prototype;e.exports=function(e){var t=e.sort;return e===a||e instanceof Array&&t===a.sort?n:t}},7199:(e,t,r)=>{var n=r(2950),a=Array.prototype;e.exports=function(e){var t=e.splice;return e===a||e instanceof Array&&t===a.splice?n:t}},7317:(e,t,r)=>{var n=r(3903),a=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===a||e instanceof String&&t===a.startsWith?n:t}},3287:(e,t,r)=>{var n=r(5308),a=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===a||e instanceof String&&t===a.trim?n:t}},8093:(e,t,r)=>{r(3927);var n=r(2366);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return n.JSON.stringify.apply(null,arguments)}},7062:(e,t,r)=>{r(9369);var n=r(2366);e.exports=n.Number.isNaN},8209:(e,t,r)=>{r(6194);var n=r(2366);e.exports=n.Number.parseInt},3806:(e,t,r)=>{r(5679);var n=r(2366);e.exports=n.Object.assign},9206:(e,t,r)=>{r(2880);var n=r(2366).Object,a=e.exports=function(e,t){return n.defineProperties(e,t)};n.defineProperties.sham&&(a.sham=!0)},1469:(e,t,r)=>{r(8393);var n=r(2366).Object,a=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(a.sham=!0)},3577:(e,t,r)=>{r(4711);var n=r(2366);e.exports=n.Object.entries},4489:(e,t,r)=>{r(1685);var n=r(2366);e.exports=n.Object.freeze},5698:(e,t,r)=>{r(5985);var n=r(2366).Object,a=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(a.sham=!0)},8851:(e,t,r)=>{r(5780);var n=r(2366);e.exports=n.Object.getOwnPropertyDescriptors},7385:(e,t,r)=>{r(1174);var n=r(2366);e.exports=n.Object.getOwnPropertySymbols},3840:(e,t,r)=>{r(7731);var n=r(2366);e.exports=n.Object.keys},4378:(e,t,r)=>{r(1814);var n=r(2366);e.exports=n.Object.values},1528:(e,t,r)=>{r(270);var n=r(2366);e.exports=n.parseInt},806:(e,t,r)=>{r(8172),r(6095),r(8493),r(6087),r(325),r(7089),r(9773),r(8524);var n=r(2366);e.exports=n.Promise},4368:(e,t,r)=>{r(8820);var n=r(9360);e.exports=n("String").includes},3903:(e,t,r)=>{r(9734);var n=r(9360);e.exports=n("String").startsWith},5308:(e,t,r)=>{r(5681);var n=r(9360);e.exports=n("String").trim},5705:(e,t,r)=>{var n=r(1475);e.exports=n},34:(e,t,r)=>{var n=r(3806);e.exports=n},8566:(e,t,r)=>{var n=r(1469);e.exports=n},6218:(e,t,r)=>{var n=r(7385);e.exports=n},6753:(e,t,r)=>{var n=r(3840);e.exports=n},5580:(e,t,r)=>{var n=r(806);r(7617),r(3162),r(1247),r(2903),e.exports=n},6421:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},9245:(e,t,r)=>{var n=r(4363);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},7479:e=>{e.exports=function(){}},4319:e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},6856:(e,t,r)=>{var n=r(4363);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},1159:(e,t,r)=>{"use strict";var n=r(6298),a=r(4488),i=r(358);e.exports=function(e){for(var t=n(this),r=i(t.length),o=arguments.length,s=a(o>1?arguments[1]:void 0,r),l=o>2?arguments[2]:void 0,u=void 0===l?r:a(l,r);u>s;)t[s++]=e;return t}},3878:(e,t,r)=>{"use strict";var n=r(2865).forEach,a=r(4760)("forEach");e.exports=a?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},9204:(e,t,r)=>{"use strict";var n=r(4834),a=r(6298),i=r(5449),o=r(688),s=r(358),l=r(5453),u=r(1222);e.exports=function(e){var t,r,c,d,f,m,p=a(e),h="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,y=void 0!==v,b=u(p),E=0;if(y&&(v=n(v,g>2?arguments[2]:void 0,2)),null==b||h==Array&&o(b))for(r=new h(t=s(p.length));t>E;E++)m=y?v(p[E],E):p[E],l(r,E,m);else for(f=(d=b.call(p)).next,r=new h;!(c=f.call(d)).done;E++)m=y?i(d,v,[c.value,E],!0):c.value,l(r,E,m);return r.length=E,r}},9331:(e,t,r)=>{var n=r(2889),a=r(358),i=r(4488),o=function(e){return function(t,r,o){var s,l=n(t),u=a(l.length),c=i(o,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},2865:(e,t,r)=>{var n=r(4834),a=r(3883),i=r(6298),o=r(358),s=r(9293),l=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,c=4==e,d=6==e,f=7==e,m=5==e||d;return function(p,h,g,v){for(var y,b,E=i(p),w=a(E),S=n(h,g,3),M=o(w.length),C=0,I=v||s,N=t?I(p,M):r||f?I(p,0):void 0;M>C;C++)if((m||C in w)&&(b=S(y=w[C],C,E),e))if(t)N[C]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return C;case 2:l.call(N,y)}else switch(e){case 4:return!1;case 7:l.call(N,y)}return d?-1:u||c?c:N}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},4333:(e,t,r)=>{"use strict";var n=r(2889),a=r(8289),i=r(358),o=r(4760),s=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,c=o("lastIndexOf"),d=u||!c;e.exports=d?function(e){if(u)return l.apply(this,arguments)||0;var t=n(this),r=i(t.length),o=r-1;for(arguments.length>1&&(o=s(o,a(arguments[1]))),o<0&&(o=r+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:l},1975:(e,t,r)=>{var n=r(9978),a=r(3374),i=r(8720),o=a("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4760:(e,t,r)=>{"use strict";var n=r(9978);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},6519:(e,t,r)=>{var n=r(6421),a=r(6298),i=r(3883),o=r(358),s=function(e){return function(t,r,s,l){n(r);var u=a(t),c=i(u),d=o(u.length),f=e?d-1:0,m=e?-1:1;if(s<2)for(;;){if(f in c){l=c[f],f+=m;break}if(f+=m,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=m)f in c&&(l=r(l,c[f],f,u));return l}};e.exports={left:s(!1),right:s(!0)}},1718:e=>{var t=Math.floor,r=function(e,i){var o=e.length,s=t(o/2);return o<8?n(e,i):a(r(e.slice(0,s),i),r(e.slice(s),i),i)},n=function(e,t){for(var r,n,a=e.length,i=1;i<a;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},a=function(e,t,r){for(var n=e.length,a=t.length,i=0,o=0,s=[];i<n||o<a;)i<n&&o<a?s.push(r(e[i],t[o])<=0?e[i++]:t[o++]):s.push(i<n?e[i++]:t[o++]);return s};e.exports=r},9293:(e,t,r)=>{var n=r(4363),a=r(8358),i=r(3374)("species");e.exports=function(e,t){var r;return a(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!a(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},5449:(e,t,r)=>{var n=r(6856),a=r(6021);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){throw a(e),t}}},4863:(e,t,r)=>{var n=r(3374)("iterator"),a=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){a=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},7362:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},6262:(e,t,r)=>{var n=r(2434),a=r(7362),i=r(3374)("toStringTag"),o="Arguments"==a(function(){return arguments}());e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:o?a(t):"Object"==(n=a(t))&&"function"==typeof t.callee?"Arguments":n}},2373:(e,t,r)=>{var n=r(3374)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},9991:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},5158:(e,t,r)=>{"use strict";var n=r(8132).IteratorPrototype,a=r(6503),i=r(5988),o=r(76),s=r(5446),l=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=a(n,{next:i(1,r)}),o(e,u,!1,!0),s[u]=l,e}},7642:(e,t,r)=>{var n=r(9932),a=r(9577),i=r(5988);e.exports=n?function(e,t,r){return a.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},5988:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5453:(e,t,r)=>{"use strict";var n=r(4490),a=r(9577),i=r(5988);e.exports=function(e,t,r){var o=n(t);o in e?a.f(e,o,i(0,r)):e[o]=r}},4884:(e,t,r)=>{"use strict";var n=r(1427),a=r(5158),i=r(351),o=r(3276),s=r(76),l=r(7642),u=r(3640),c=r(3374),d=r(9814),f=r(5446),m=r(8132),p=m.IteratorPrototype,h=m.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",y="values",b="entries",E=function(){return this};e.exports=function(e,t,r,c,m,w,S){a(r,t,c);var M,C,I,N=function(e){if(e===m&&_)return _;if(!h&&e in A)return A[e];switch(e){case v:case y:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},D=t+" Iterator",T=!1,A=e.prototype,x=A[g]||A["@@iterator"]||m&&A[m],_=!h&&x||N(m),O="Array"==t&&A.entries||x;if(O&&(M=i(O.call(new e)),p!==Object.prototype&&M.next&&(d||i(M)===p||(o?o(M,p):"function"!=typeof M[g]&&l(M,g,E)),s(M,D,!0,!0),d&&(f[D]=E))),m==y&&x&&x.name!==y&&(T=!0,_=function(){return x.call(this)}),d&&!S||A[g]===_||l(A,g,_),f[t]=_,m)if(C={values:N(y),keys:w?_:N(v),entries:N(b)},S)for(I in C)(h||T||!(I in A))&&u(A,I,C[I]);else n({target:t,proto:!0,forced:h||T},C);return C}},6836:(e,t,r)=>{var n=r(2366),a=r(4013),i=r(8444),o=r(9577).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||o(t,e,{value:i.f(e)})}},9932:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1112:(e,t,r)=>{var n=r(100),a=r(4363),i=n.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},530:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6244:(e,t,r)=>{var n=r(5095).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},8061:e=>{e.exports="object"==typeof window},1824:(e,t,r)=>{var n=r(5095);e.exports=/MSIE|Trident/.test(n)},5601:(e,t,r)=>{var n=r(5095);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},1663:(e,t,r)=>{var n=r(7362),a=r(100);e.exports="process"==n(a.process)},4062:(e,t,r)=>{var n=r(5095);e.exports=/web0s(?!.*chrome)/i.test(n)},5095:(e,t,r)=>{var n=r(129);e.exports=n("navigator","userAgent")||""},8720:(e,t,r)=>{var n,a,i=r(100),o=r(5095),s=i.process,l=s&&s.versions,u=l&&l.v8;u?a=(n=u.split("."))[0]<4?1:n[0]+n[1]:o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(a=n[1]),e.exports=a&&+a},6919:(e,t,r)=>{var n=r(5095).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},9360:(e,t,r)=>{var n=r(2366);e.exports=function(e){return n[e+"Prototype"]}},3513:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1427:(e,t,r)=>{"use strict";var n=r(100),a=r(4498).f,i=r(608),o=r(2366),s=r(4834),l=r(7642),u=r(4013),c=function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,d,f,m,p,h,g,v,y=e.target,b=e.global,E=e.stat,w=e.proto,S=b?n:E?n[y]:(n[y]||{}).prototype,M=b?o:o[y]||(o[y]={}),C=M.prototype;for(f in t)r=!i(b?f:y+(E?".":"#")+f,e.forced)&&S&&u(S,f),p=M[f],r&&(h=e.noTargetGet?(v=a(S,f))&&v.value:S[f]),m=r&&h?h:t[f],r&&typeof p==typeof m||(g=e.bind&&r?s(m,n):e.wrap&&r?c(m):w&&"function"==typeof m?s(Function.call,m):m,(e.sham||m&&m.sham||p&&p.sham)&&l(g,"sham",!0),M[f]=g,w&&(u(o,d=y+"Prototype")||l(o,d,{}),o[d][f]=m,e.real&&C&&!C[f]&&l(C,f,m)))}},9978:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},1609:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},4834:(e,t,r)=>{var n=r(6421);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,a){return e.call(t,r,n,a)}}return function(){return e.apply(t,arguments)}}},4677:(e,t,r)=>{"use strict";var n=r(6421),a=r(4363),i=[].slice,o={};e.exports=Function.bind||function(e){var t=n(this),r=i.call(arguments,1),s=function(){var n=r.concat(i.call(arguments));return this instanceof s?function(e,t,r){if(!(t in o)){for(var n=[],a=0;a<t;a++)n[a]="a["+a+"]";o[t]=Function("C,a","return new C("+n.join(",")+")")}return o[t](e,r)}(t,n.length,n):t.apply(e,n)};return a(t.prototype)&&(s.prototype=t.prototype),s}},129:(e,t,r)=>{var n=r(2366),a=r(100),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(a[e]):n[e]&&n[e][t]||a[e]&&a[e][t]}},1222:(e,t,r)=>{var n=r(6262),a=r(5446),i=r(3374)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[n(e)]}},2545:(e,t,r)=>{var n=r(6856),a=r(1222);e.exports=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},100:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},4013:(e,t,r)=>{var n=r(6298),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(n(e),t)}},9658:e=>{e.exports={}},9792:(e,t,r)=>{var n=r(100);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},7180:(e,t,r)=>{var n=r(129);e.exports=n("document","documentElement")},9265:(e,t,r)=>{var n=r(9932),a=r(9978),i=r(1112);e.exports=!n&&!a((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},3883:(e,t,r)=>{var n=r(9978),a=r(7362),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i.call(e,""):Object(e)}:Object},3417:(e,t,r)=>{var n=r(7758),a=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return a.call(e)}),e.exports=n.inspectSource},3120:(e,t,r)=>{var n=r(9658),a=r(4363),i=r(4013),o=r(9577).f,s=r(3278),l=r(1609),u=s("meta"),c=0,d=Object.isExtensible||function(){return!0},f=function(e){o(e,u,{value:{objectID:"O"+ ++c,weakData:{}}})},m=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[u].weakData},onFreeze:function(e){return l&&m.REQUIRED&&d(e)&&!i(e,u)&&f(e),e}};n[u]=!0},1026:(e,t,r)=>{var n,a,i,o=r(4242),s=r(100),l=r(4363),u=r(7642),c=r(4013),d=r(7758),f=r(3763),m=r(9658),p="Object already initialized",h=s.WeakMap;if(o||d.state){var g=d.state||(d.state=new h),v=g.get,y=g.has,b=g.set;n=function(e,t){if(y.call(g,e))throw new TypeError(p);return t.facade=e,b.call(g,e,t),t},a=function(e){return v.call(g,e)||{}},i=function(e){return y.call(g,e)}}else{var E=f("state");m[E]=!0,n=function(e,t){if(c(e,E))throw new TypeError(p);return t.facade=e,u(e,E,t),t},a=function(e){return c(e,E)?e[E]:{}},i=function(e){return c(e,E)}}e.exports={set:n,get:a,has:i,enforce:function(e){return i(e)?a(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},688:(e,t,r)=>{var n=r(3374),a=r(5446),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||o[i]===e)}},8358:(e,t,r)=>{var n=r(7362);e.exports=Array.isArray||function(e){return"Array"==n(e)}},608:(e,t,r)=>{var n=r(9978),a=/#|\.prototype\./,i=function(e,t){var r=s[o(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},o=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},4363:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},9814:e=>{e.exports=!0},2740:(e,t,r)=>{var n=r(4363),a=r(7362),i=r(3374)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},8839:(e,t,r)=>{var n=r(6856),a=r(688),i=r(358),o=r(4834),s=r(1222),l=r(6021),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var c,d,f,m,p,h,g,v=r&&r.that,y=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),w=o(t,v,1+y+E),S=function(e){return c&&l(c),new u(!0,e)},M=function(e){return y?(n(e),E?w(e[0],e[1],S):w(e[0],e[1])):E?w(e,S):w(e)};if(b)c=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(a(d)){for(f=0,m=i(e.length);m>f;f++)if((p=M(e[f]))&&p instanceof u)return p;return new u(!1)}c=d.call(e)}for(h=c.next;!(g=h.call(c)).done;){try{p=M(g.value)}catch(e){throw l(c),e}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},6021:(e,t,r)=>{var n=r(6856);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},8132:(e,t,r)=>{"use strict";var n,a,i,o=r(9978),s=r(351),l=r(7642),u=r(4013),c=r(3374),d=r(9814),f=c("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(a=s(s(i)))!==Object.prototype&&(n=a):m=!0);var p=null==n||o((function(){var e={};return n[f].call(e)!==e}));p&&(n={}),d&&!p||u(n,f)||l(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},5446:e=>{e.exports={}},6040:(e,t,r)=>{var n,a,i,o,s,l,u,c,d=r(100),f=r(4498).f,m=r(8930).set,p=r(5601),h=r(4062),g=r(1663),v=d.MutationObserver||d.WebKitMutationObserver,y=d.document,b=d.process,E=d.Promise,w=f(d,"queueMicrotask"),S=w&&w.value;S||(n=function(){var e,t;for(g&&(e=b.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(e){throw a?o():i=void 0,e}}i=void 0,e&&e.enter()},p||g||h||!v||!y?E&&E.resolve?((u=E.resolve(void 0)).constructor=E,c=u.then,o=function(){c.call(u,n)}):o=g?function(){b.nextTick(n)}:function(){m.call(d,n)}:(s=!0,l=y.createTextNode(""),new v(n).observe(l,{characterData:!0}),o=function(){l.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),a||(a=t,o()),i=t}},959:(e,t,r)=>{var n=r(100);e.exports=n.Promise},6386:(e,t,r)=>{var n=r(8720),a=r(9978);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3694:(e,t,r)=>{var n=r(9978),a=r(3374),i=r(9814),o=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},4242:(e,t,r)=>{var n=r(100),a=r(3417),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(a(i))},9012:(e,t,r)=>{"use strict";var n=r(6421),a=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},8658:(e,t,r)=>{var n=r(2740);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},5382:(e,t,r)=>{var n=r(100),a=r(3637).trim,i=r(4784),o=n.parseInt,s=/^[+-]?0[Xx]/,l=8!==o(i+"08")||22!==o(i+"0x16");e.exports=l?function(e,t){var r=a(String(e));return o(r,t>>>0||(s.test(r)?16:10))}:o},989:(e,t,r)=>{"use strict";var n=r(9932),a=r(9978),i=r(5492),o=r(2455),s=r(7079),l=r(6298),u=r(3883),c=Object.assign,d=Object.defineProperty;e.exports=!c||a((function(){if(n&&1!==c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),a="abcdefghijklmnopqrst";return e[r]=7,a.split("").forEach((function(e){t[e]=e})),7!=c({},e)[r]||i(c({},t)).join("")!=a}))?function(e,t){for(var r=l(e),a=arguments.length,c=1,d=o.f,f=s.f;a>c;)for(var m,p=u(arguments[c++]),h=d?i(p).concat(d(p)):i(p),g=h.length,v=0;g>v;)m=h[v++],n&&!f.call(p,m)||(r[m]=p[m]);return r}:c},6503:(e,t,r)=>{var n,a=r(6856),i=r(7878),o=r(3513),s=r(9658),l=r(7180),u=r(1112),c=r(3763),d="prototype",f="script",m=c("IE_PROTO"),p=function(){},h=function(e){return"<"+f+">"+e+"</"+f+">"},g=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g=n?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):(t=u("iframe"),r="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var a=o.length;a--;)delete g[d][o[a]];return g()};s[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[d]=a(e),r=new p,p[d]=null,r[m]=e):r=g(),void 0===t?r:i(r,t)}},7878:(e,t,r)=>{var n=r(9932),a=r(9577),i=r(6856),o=r(5492);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=o(t),s=n.length,l=0;s>l;)a.f(e,r=n[l++],t[r]);return e}},9577:(e,t,r)=>{var n=r(9932),a=r(9265),i=r(6856),o=r(4490),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=o(t,!0),i(r),a)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},4498:(e,t,r)=>{var n=r(9932),a=r(7079),i=r(5988),o=r(2889),s=r(4490),l=r(4013),u=r(9265),c=Object.getOwnPropertyDescriptor;t.f=n?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return i(!a.f.call(e,t),e[t])}},7749:(e,t,r)=>{var n=r(2889),a=r(1655).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return o.slice()}}(e):a(n(e))}},1655:(e,t,r)=>{var n=r(3292),a=r(3513).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},2455:(e,t)=>{t.f=Object.getOwnPropertySymbols},351:(e,t,r)=>{var n=r(4013),a=r(6298),i=r(3763),o=r(9991),s=i("IE_PROTO"),l=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=a(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},3292:(e,t,r)=>{var n=r(4013),a=r(2889),i=r(9331).indexOf,o=r(9658);e.exports=function(e,t){var r,s=a(e),l=0,u=[];for(r in s)!n(o,r)&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~i(u,r)||u.push(r));return u}},5492:(e,t,r)=>{var n=r(3292),a=r(3513);e.exports=Object.keys||function(e){return n(e,a)}},7079:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,a=n&&!r.call({1:2},1);t.f=a?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},3276:(e,t,r)=>{var n=r(6856),a=r(9245);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),a(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},4775:(e,t,r)=>{var n=r(9932),a=r(5492),i=r(2889),o=r(7079).f,s=function(e){return function(t){for(var r,s=i(t),l=a(s),u=l.length,c=0,d=[];u>c;)r=l[c++],n&&!o.call(s,r)||d.push(e?[r,s[r]]:s[r]);return d}};e.exports={entries:s(!0),values:s(!1)}},6118:(e,t,r)=>{"use strict";var n=r(2434),a=r(6262);e.exports=n?{}.toString:function(){return"[object "+a(this)+"]"}},9317:(e,t,r)=>{var n=r(129),a=r(1655),i=r(2455),o=r(6856);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},2366:e=>{e.exports={}},1668:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},1282:(e,t,r)=>{var n=r(6856),a=r(4363),i=r(9012);e.exports=function(e,t){if(n(e),a(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},9335:(e,t,r)=>{var n=r(3640);e.exports=function(e,t,r){for(var a in t)r&&r.unsafe&&e[a]?e[a]=t[a]:n(e,a,t[a],r);return e}},3640:(e,t,r)=>{var n=r(7642);e.exports=function(e,t,r,a){a&&a.enumerable?e[t]=r:n(e,t,r)}},9788:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},7103:(e,t,r)=>{var n=r(100),a=r(7642);e.exports=function(e,t){try{a(n,e,t)}catch(r){n[e]=t}return t}},3609:(e,t,r)=>{"use strict";var n=r(129),a=r(9577),i=r(3374),o=r(9932),s=i("species");e.exports=function(e){var t=n(e),r=a.f;o&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},76:(e,t,r)=>{var n=r(2434),a=r(9577).f,i=r(7642),o=r(4013),s=r(6118),l=r(3374)("toStringTag");e.exports=function(e,t,r,u){if(e){var c=r?e:e.prototype;o(c,l)||a(c,l,{configurable:!0,value:t}),u&&!n&&i(c,"toString",s)}}},3763:(e,t,r)=>{var n=r(3860),a=r(3278),i=n("keys");e.exports=function(e){return i[e]||(i[e]=a(e))}},7758:(e,t,r)=>{var n=r(100),a=r(7103),i="__core-js_shared__",o=n[i]||a(i,{});e.exports=o},3860:(e,t,r)=>{var n=r(9814),a=r(7758);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.14.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},5176:(e,t,r)=>{var n=r(6856),a=r(6421),i=r(3374)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||null==(r=n(o)[i])?t:a(r)}},9413:(e,t,r)=>{var n=r(8289),a=r(9788),i=function(e){return function(t,r){var i,o,s=String(a(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):i:e?s.slice(l,l+2):o-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},1899:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",i=Math.floor,o=String.fromCharCode,s=function(e){return e+22+75*(e<26)},l=function(e,t,r){var n=0;for(e=r?i(e/700):e>>1,e+=i(e/t);e>455;n+=36)e=i(e/35);return i(n+36*e/(e+38))},u=function(e){var r=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),r--)}else t.push(a)}return t}(e);var n,u,c=e.length,d=128,f=0,m=72;for(n=0;n<e.length;n++)(u=e[n])<128&&r.push(o(u));var p=r.length,h=p;for(p&&r.push("-");h<c;){var g=t;for(n=0;n<e.length;n++)(u=e[n])>=d&&u<g&&(g=u);var v=h+1;if(g-d>i((t-f)/v))throw RangeError(a);for(f+=(g-d)*v,d=g,n=0;n<e.length;n++){if((u=e[n])<d&&++f>t)throw RangeError(a);if(u==d){for(var y=f,b=36;;b+=36){var E=b<=m?1:b>=m+26?26:b-m;if(y<E)break;var w=y-E,S=36-E;r.push(o(s(E+w%S))),y=i(w/S)}r.push(o(s(y))),m=l(f,v,h==p),f=0,++h}}++f,++d}return r.join("")};e.exports=function(e){var t,a,i=[],o=e.toLowerCase().replace(n,".").split(".");for(t=0;t<o.length;t++)a=o[t],i.push(r.test(a)?"xn--"+u(a):a);return i.join(".")}},144:(e,t,r)=>{var n=r(9978),a=r(4784);e.exports=function(e){return n((function(){return!!a[e]()||"​…᠎"!="​…᠎"[e]()||a[e].name!==e}))}},3637:(e,t,r)=>{var n=r(9788),a="["+r(4784)+"]",i=RegExp("^"+a+a+"*"),o=RegExp(a+a+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(i,"")),2&e&&(r=r.replace(o,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},8930:(e,t,r)=>{var n,a,i,o=r(100),s=r(9978),l=r(4834),u=r(7180),c=r(1112),d=r(5601),f=r(1663),m=o.location,p=o.setImmediate,h=o.clearImmediate,g=o.process,v=o.MessageChannel,y=o.Dispatch,b=0,E={},w="onreadystatechange",S=function(e){if(E.hasOwnProperty(e)){var t=E[e];delete E[e],t()}},M=function(e){return function(){S(e)}},C=function(e){S(e.data)},I=function(e){o.postMessage(e+"",m.protocol+"//"+m.host)};p&&h||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return E[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},h=function(e){delete E[e]},f?n=function(e){g.nextTick(M(e))}:y&&y.now?n=function(e){y.now(M(e))}:v&&!d?(i=(a=new v).port2,a.port1.onmessage=C,n=l(i.postMessage,i,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&m&&"file:"!==m.protocol&&!s(I)?(n=I,o.addEventListener("message",C,!1)):n=w in c("script")?function(e){u.appendChild(c("script"))[w]=function(){u.removeChild(this),S(e)}}:function(e){setTimeout(M(e),0)}),e.exports={set:p,clear:h}},4488:(e,t,r)=>{var n=r(8289),a=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):i(r,t)}},2889:(e,t,r)=>{var n=r(3883),a=r(9788);e.exports=function(e){return n(a(e))}},8289:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},358:(e,t,r)=>{var n=r(8289),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},6298:(e,t,r)=>{var n=r(9788);e.exports=function(e){return Object(n(e))}},4490:(e,t,r)=>{var n=r(4363);e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},2434:(e,t,r)=>{var n={};n[r(3374)("toStringTag")]="z",e.exports="[object z]"===String(n)},3278:e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},4529:(e,t,r)=>{var n=r(6386);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8444:(e,t,r)=>{var n=r(3374);t.f=n},3374:(e,t,r)=>{var n=r(100),a=r(3860),i=r(4013),o=r(3278),s=r(6386),l=r(4529),u=a("wks"),c=n.Symbol,d=l?c:c&&c.withoutSetter||o;e.exports=function(e){return i(u,e)&&(s||"string"==typeof u[e])||(s&&i(c,e)?u[e]=c[e]:u[e]=d("Symbol."+e)),u[e]}},4784:e=>{e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8172:(e,t,r)=>{"use strict";var n=r(1427),a=r(351),i=r(3276),o=r(6503),s=r(7642),l=r(5988),u=r(8839),c=function(e,t){var r=this;if(!(r instanceof c))return new c(e,t);i&&(r=i(new Error(void 0),a(r))),void 0!==t&&s(r,"message",String(t));var n=[];return u(e,n.push,{that:n}),s(r,"errors",n),r};c.prototype=o(Error.prototype,{constructor:l(5,c),message:l(5,""),name:l(5,"AggregateError")}),n({global:!0},{AggregateError:c})},5802:(e,t,r)=>{"use strict";var n=r(1427),a=r(9978),i=r(8358),o=r(4363),s=r(6298),l=r(358),u=r(5453),c=r(9293),d=r(1975),f=r(3374),m=r(8720),p=f("isConcatSpreadable"),h=9007199254740991,g="Maximum allowed index exceeded",v=m>=51||!a((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=d("concat"),b=function(e){if(!o(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!v||!y},{concat:function(e){var t,r,n,a,i,o=s(this),d=c(o,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?o:arguments[t])){if(f+(a=l(i.length))>h)throw TypeError(g);for(r=0;r<a;r++,f++)r in i&&u(d,f,i[r])}else{if(f>=h)throw TypeError(g);u(d,f++,i)}return d.length=f,d}})},5239:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).every;n({target:"Array",proto:!0,forced:!r(4760)("every")},{every:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},1308:(e,t,r)=>{var n=r(1427),a=r(1159),i=r(7479);n({target:"Array",proto:!0},{fill:a}),i("fill")},8830:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).filter;n({target:"Array",proto:!0,forced:!r(1975)("filter")},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},8901:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).findIndex,i=r(7479),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},2283:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).find,i=r(7479),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},4739:(e,t,r)=>{"use strict";var n=r(1427),a=r(3878);n({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},4702:(e,t,r)=>{var n=r(1427),a=r(9204);n({target:"Array",stat:!0,forced:!r(4863)((function(e){Array.from(e)}))},{from:a})},9113:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).includes,i=r(7479);n({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},8165:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).indexOf,i=r(4760),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0,l=i("indexOf");n({target:"Array",proto:!0,forced:s||!l},{indexOf:function(e){return s?o.apply(this,arguments)||0:a(this,e,arguments.length>1?arguments[1]:void 0)}})},8982:(e,t,r)=>{r(1427)({target:"Array",stat:!0},{isArray:r(8358)})},2610:(e,t,r)=>{"use strict";var n=r(2889),a=r(7479),i=r(5446),o=r(1026),s=r(4884),l="Array Iterator",u=o.set,c=o.getterFor(l);e.exports=s(Array,"Array",(function(e,t){u(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},3575:(e,t,r)=>{var n=r(1427),a=r(4333);n({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},9731:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).map;n({target:"Array",proto:!0,forced:!r(1975)("map")},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},3919:(e,t,r)=>{"use strict";var n=r(1427),a=r(6519).left,i=r(4760),o=r(8720),s=r(1663);n({target:"Array",proto:!0,forced:!i("reduce")||!s&&o>79&&o<83},{reduce:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},2074:(e,t,r)=>{"use strict";var n=r(1427),a=r(8358),i=[].reverse,o=[1,2];n({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),i.call(this)}})},333:(e,t,r)=>{"use strict";var n=r(1427),a=r(4363),i=r(8358),o=r(4488),s=r(358),l=r(2889),u=r(5453),c=r(3374),d=r(1975)("slice"),f=c("species"),m=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,c,d=l(this),h=s(d.length),g=o(e,h),v=o(void 0===t?h:t,h);if(i(d)&&("function"!=typeof(r=d.constructor)||r!==Array&&!i(r.prototype)?a(r)&&null===(r=r[f])&&(r=void 0):r=void 0,r===Array||void 0===r))return m.call(d,g,v);for(n=new(void 0===r?Array:r)(p(v-g,0)),c=0;g<v;g++,c++)g in d&&u(n,c,d[g]);return n.length=c,n}})},7412:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).some;n({target:"Array",proto:!0,forced:!r(4760)("some")},{some:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},3064:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(6298),o=r(358),s=r(9978),l=r(1718),u=r(4760),c=r(6244),d=r(1824),f=r(8720),m=r(6919),p=[],h=p.sort,g=s((function(){p.sort(void 0)})),v=s((function(){p.sort(null)})),y=u("sort"),b=!s((function(){if(f)return f<70;if(!(c&&c>3)){if(d)return!0;if(m)return m<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)p.push({k:t+n,v:r})}for(p.sort((function(e,t){return t.v-e.v})),n=0;n<p.length;n++)t=p[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}}));n({target:"Array",proto:!0,forced:g||!v||!y||!b},{sort:function(e){void 0!==e&&a(e);var t=i(this);if(b)return void 0===e?h.call(t):h.call(t,e);var r,n,s=[],u=o(t.length);for(n=0;n<u;n++)n in t&&s.push(t[n]);for(s=l(s,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:String(t)>String(r)?1:-1}}(e)),r=s.length,n=0;n<r;)t[n]=s[n++];for(;n<u;)delete t[n++];return t}})},4722:(e,t,r)=>{"use strict";var n=r(1427),a=r(4488),i=r(8289),o=r(358),s=r(6298),l=r(9293),u=r(5453),c=r(1975)("splice"),d=Math.max,f=Math.min;n({target:"Array",proto:!0,forced:!c},{splice:function(e,t){var r,n,c,m,p,h,g=s(this),v=o(g.length),y=a(e,v),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=v-y):(r=b-2,n=f(d(i(t),0),v-y)),v+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(g,n),m=0;m<n;m++)(p=y+m)in g&&u(c,m,g[p]);if(c.length=n,r<n){for(m=y;m<v-n;m++)h=m+r,(p=m+n)in g?g[h]=g[p]:delete g[h];for(m=v;m>v-n+r;m--)delete g[m-1]}else if(r>n)for(m=v-n;m>y;m--)h=m+r-1,(p=m+n-1)in g?g[h]=g[p]:delete g[h];for(m=0;m<r;m++)g[m+y]=arguments[m+2];return g.length=v-n+r,c}})},6664:(e,t,r)=>{r(1427)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},7778:(e,t,r)=>{r(1427)({target:"Function",proto:!0},{bind:r(4677)})},3927:(e,t,r)=>{var n=r(1427),a=r(129),i=r(9978),o=a("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,c=function(e,t,r){var n=r.charAt(t-1),a=r.charAt(t+1);return l.test(e)&&!u.test(a)||u.test(e)&&!l.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},d=i((function(){return'"\\udf06\\ud834"'!==o("\udf06\ud834")||'"\\udead"'!==o("\udead")}));o&&n({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,r){var n=o.apply(null,arguments);return"string"==typeof n?n.replace(s,c):n}})},9369:(e,t,r)=>{r(1427)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},6194:(e,t,r)=>{var n=r(1427),a=r(5382);n({target:"Number",stat:!0,forced:Number.parseInt!=a},{parseInt:a})},5679:(e,t,r)=>{var n=r(1427),a=r(989);n({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},2880:(e,t,r)=>{var n=r(1427),a=r(9932);n({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperties:r(7878)})},8393:(e,t,r)=>{var n=r(1427),a=r(9932);n({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperty:r(9577).f})},4711:(e,t,r)=>{var n=r(1427),a=r(4775).entries;n({target:"Object",stat:!0},{entries:function(e){return a(e)}})},1685:(e,t,r)=>{var n=r(1427),a=r(1609),i=r(9978),o=r(4363),s=r(3120).onFreeze,l=Object.freeze;n({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!a},{freeze:function(e){return l&&o(e)?l(s(e)):e}})},5985:(e,t,r)=>{var n=r(1427),a=r(9978),i=r(2889),o=r(4498).f,s=r(9932),l=a((function(){o(1)}));n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(i(e),t)}})},5780:(e,t,r)=>{var n=r(1427),a=r(9932),i=r(9317),o=r(2889),s=r(4498),l=r(5453);n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,r,n=o(e),a=s.f,u=i(n),c={},d=0;u.length>d;)void 0!==(r=a(n,t=u[d++]))&&l(c,t,r);return c}})},7731:(e,t,r)=>{var n=r(1427),a=r(6298),i=r(5492);n({target:"Object",stat:!0,forced:r(9978)((function(){i(1)}))},{keys:function(e){return i(a(e))}})},6095:()=>{},1814:(e,t,r)=>{var n=r(1427),a=r(4775).values;n({target:"Object",stat:!0},{values:function(e){return a(e)}})},270:(e,t,r)=>{var n=r(1427),a=r(5382);n({global:!0,forced:parseInt!=a},{parseInt:a})},6087:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(9012),o=r(1668),s=r(8839);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=i.f(t),n=r.resolve,l=r.reject,u=o((function(){var r=a(t.resolve),i=[],o=0,l=1;s(e,(function(e){var a=o++,s=!1;i.push(void 0),l++,r.call(t,e).then((function(e){s||(s=!0,i[a]={status:"fulfilled",value:e},--l||n(i))}),(function(e){s||(s=!0,i[a]={status:"rejected",reason:e},--l||n(i))}))})),--l||n(i)}));return u.error&&l(u.value),r.promise}})},325:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(129),o=r(9012),s=r(1668),l=r(8839),u="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=o.f(t),n=r.resolve,c=r.reject,d=s((function(){var r=a(t.resolve),o=[],s=0,d=1,f=!1;l(e,(function(e){var a=s++,l=!1;o.push(void 0),d++,r.call(t,e).then((function(e){l||f||(f=!0,n(e))}),(function(e){l||f||(l=!0,o[a]=e,--d||c(new(i("AggregateError"))(o,u)))}))})),--d||c(new(i("AggregateError"))(o,u))}));return d.error&&c(d.value),r.promise}})},7089:(e,t,r)=>{"use strict";var n=r(1427),a=r(9814),i=r(959),o=r(9978),s=r(129),l=r(5176),u=r(1282),c=r(3640);if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&o((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),!a&&"function"==typeof i){var d=s("Promise").prototype.finally;i.prototype.finally!==d&&c(i.prototype,"finally",d,{unsafe:!0})}},8493:(e,t,r)=>{"use strict";var n,a,i,o,s=r(1427),l=r(9814),u=r(100),c=r(129),d=r(959),f=r(3640),m=r(9335),p=r(3276),h=r(76),g=r(3609),v=r(4363),y=r(6421),b=r(4319),E=r(3417),w=r(8839),S=r(4863),M=r(5176),C=r(8930).set,I=r(6040),N=r(1282),D=r(9792),T=r(9012),A=r(1668),x=r(1026),_=r(608),O=r(3374),k=r(8061),P=r(1663),R=r(8720),F=O("species"),L="Promise",U=x.get,B=x.set,V=x.getterFor(L),j=d&&d.prototype,z=d,H=j,$=u.TypeError,q=u.document,W=u.process,G=T.f,Y=G,K=!!(q&&q.createEvent&&u.dispatchEvent),Z="function"==typeof PromiseRejectionEvent,J="unhandledrejection",X=!1,Q=_(L,(function(){var e=E(z)!==String(z);if(!e&&66===R)return!0;if(l&&!H.finally)return!0;if(R>=51&&/native code/.test(z))return!1;var t=new z((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(t.constructor={})[F]=r,!(X=t.then((function(){}))instanceof r)||!e&&k&&!Z})),ee=Q||!S((function(e){z.all(e).catch((function(){}))})),te=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},re=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;I((function(){for(var n=e.value,a=1==e.state,i=0;r.length>i;){var o,s,l,u=r[i++],c=a?u.ok:u.fail,d=u.resolve,f=u.reject,m=u.domain;try{c?(a||(2===e.rejection&&oe(e),e.rejection=1),!0===c?o=n:(m&&m.enter(),o=c(n),m&&(m.exit(),l=!0)),o===u.promise?f($("Promise-chain cycle")):(s=te(o))?s.call(o,d,f):d(o)):f(n)}catch(e){m&&!l&&m.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},ne=function(e,t,r){var n,a;K?((n=q.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!Z&&(a=u["on"+e])?a(n):e===J&&D("Unhandled promise rejection",r)},ae=function(e){C.call(u,(function(){var t,r=e.facade,n=e.value;if(ie(e)&&(t=A((function(){P?W.emit("unhandledRejection",n,r):ne(J,r,n)})),e.rejection=P||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},oe=function(e){C.call(u,(function(){var t=e.facade;P?W.emit("rejectionHandled",t):ne("rejectionhandled",t,e.value)}))},se=function(e,t,r){return function(n){e(t,n,r)}},le=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,re(e,!0))},ue=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw $("Promise can't be resolved itself");var n=te(t);n?I((function(){var r={done:!1};try{n.call(t,se(ue,r,e),se(le,r,e))}catch(t){le(r,t,e)}})):(e.value=t,e.state=1,re(e,!1))}catch(t){le({done:!1},t,e)}}};if(Q&&(H=(z=function(e){b(this,z,L),y(e),n.call(this);var t=U(this);try{e(se(ue,t),se(le,t))}catch(e){le(t,e)}}).prototype,(n=function(e){B(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=m(H,{then:function(e,t){var r=V(this),n=G(M(this,z));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=P?W.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&re(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n,t=U(e);this.promise=e,this.resolve=se(ue,t),this.reject=se(le,t)},T.f=G=function(e){return e===z||e===i?new a(e):Y(e)},!l&&"function"==typeof d&&j!==Object.prototype)){o=j.then,X||(f(j,"then",(function(e,t){var r=this;return new z((function(e,t){o.call(r,e,t)})).then(e,t)}),{unsafe:!0}),f(j,"catch",H.catch,{unsafe:!0}));try{delete j.constructor}catch(e){}p&&p(j,H)}s({global:!0,wrap:!0,forced:Q},{Promise:z}),h(z,L,!1,!0),g(L),i=c(L),s({target:L,stat:!0,forced:Q},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:L,stat:!0,forced:l||Q},{resolve:function(e){return N(l&&this===i?z:this,e)}}),s({target:L,stat:!0,forced:ee},{all:function(e){var t=this,r=G(t),n=r.resolve,a=r.reject,i=A((function(){var r=y(t.resolve),i=[],o=0,s=1;w(e,(function(e){var l=o++,u=!1;i.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,i[l]=e,--s||n(i))}),a)})),--s||n(i)}));return i.error&&a(i.value),r.promise},race:function(e){var t=this,r=G(t),n=r.reject,a=A((function(){var a=y(t.resolve);w(e,(function(e){a.call(t,e).then(r.resolve,n)}))}));return a.error&&n(a.value),r.promise}})},8820:(e,t,r)=>{"use strict";var n=r(1427),a=r(8658),i=r(9788);n({target:"String",proto:!0,forced:!r(2373)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},9773:(e,t,r)=>{"use strict";var n=r(9413).charAt,a=r(1026),i=r(4884),o="String Iterator",s=a.set,l=a.getterFor(o);i(String,"String",(function(e){s(this,{type:o,string:String(e),index:0})}),(function(){var e,t=l(this),r=t.string,a=t.index;return a>=r.length?{value:void 0,done:!0}:(e=n(r,a),t.index+=e.length,{value:e,done:!1})}))},9734:(e,t,r)=>{"use strict";var n,a=r(1427),i=r(4498).f,o=r(358),s=r(8658),l=r(9788),u=r(2373),c=r(9814),d="".startsWith,f=Math.min,m=u("startsWith");a({target:"String",proto:!0,forced:!!(c||m||(n=i(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=String(l(this));s(e);var r=o(f(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return d?d.call(t,n,r):t.slice(r,r+n.length)===n}})},5681:(e,t,r)=>{"use strict";var n=r(1427),a=r(3637).trim;n({target:"String",proto:!0,forced:r(144)("trim")},{trim:function(){return a(this)}})},1174:(e,t,r)=>{"use strict";var n=r(1427),a=r(100),i=r(129),o=r(9814),s=r(9932),l=r(6386),u=r(4529),c=r(9978),d=r(4013),f=r(8358),m=r(4363),p=r(6856),h=r(6298),g=r(2889),v=r(4490),y=r(5988),b=r(6503),E=r(5492),w=r(1655),S=r(7749),M=r(2455),C=r(4498),I=r(9577),N=r(7079),D=r(7642),T=r(3640),A=r(3860),x=r(3763),_=r(9658),O=r(3278),k=r(3374),P=r(8444),R=r(6836),F=r(76),L=r(1026),U=r(2865).forEach,B=x("hidden"),V="Symbol",j="prototype",z=k("toPrimitive"),H=L.set,$=L.getterFor(V),q=Object[j],W=a.Symbol,G=i("JSON","stringify"),Y=C.f,K=I.f,Z=S.f,J=N.f,X=A("symbols"),Q=A("op-symbols"),ee=A("string-to-symbol-registry"),te=A("symbol-to-string-registry"),re=A("wks"),ne=a.QObject,ae=!ne||!ne[j]||!ne[j].findChild,ie=s&&c((function(){return 7!=b(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(q,t);n&&delete q[t],K(e,t,r),n&&e!==q&&K(q,t,n)}:K,oe=function(e,t){var r=X[e]=b(W[j]);return H(r,{type:V,tag:e,description:t}),s||(r.description=t),r},se=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},le=function(e,t,r){e===q&&le(Q,t,r),p(e);var n=v(t,!0);return p(r),d(X,n)?(r.enumerable?(d(e,B)&&e[B][n]&&(e[B][n]=!1),r=b(r,{enumerable:y(0,!1)})):(d(e,B)||K(e,B,y(1,{})),e[B][n]=!0),ie(e,n,r)):K(e,n,r)},ue=function(e,t){p(e);var r=g(t),n=E(r).concat(me(r));return U(n,(function(t){s&&!ce.call(r,t)||le(e,t,r[t])})),e},ce=function(e){var t=v(e,!0),r=J.call(this,t);return!(this===q&&d(X,t)&&!d(Q,t))&&(!(r||!d(this,t)||!d(X,t)||d(this,B)&&this[B][t])||r)},de=function(e,t){var r=g(e),n=v(t,!0);if(r!==q||!d(X,n)||d(Q,n)){var a=Y(r,n);return!a||!d(X,n)||d(r,B)&&r[B][n]||(a.enumerable=!0),a}},fe=function(e){var t=Z(g(e)),r=[];return U(t,(function(e){d(X,e)||d(_,e)||r.push(e)})),r},me=function(e){var t=e===q,r=Z(t?Q:g(e)),n=[];return U(r,(function(e){!d(X,e)||t&&!d(q,e)||n.push(X[e])})),n};(l||(T((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=O(e),r=function(e){this===q&&r.call(Q,e),d(this,B)&&d(this[B],t)&&(this[B][t]=!1),ie(this,t,y(1,e))};return s&&ae&&ie(q,t,{configurable:!0,set:r}),oe(t,e)})[j],"toString",(function(){return $(this).tag})),T(W,"withoutSetter",(function(e){return oe(O(e),e)})),N.f=ce,I.f=le,C.f=de,w.f=S.f=fe,M.f=me,P.f=function(e){return oe(k(e),e)},s&&(K(W[j],"description",{configurable:!0,get:function(){return $(this).description}}),o||T(q,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),U(E(re),(function(e){R(e)})),n({target:V,stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(ee,t))return ee[t];var r=W(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(d(te,e))return te[e]},useSetter:function(){ae=!0},useSimple:function(){ae=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?b(e):ue(b(e),t)},defineProperty:le,defineProperties:ue,getOwnPropertyDescriptor:de}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:me}),n({target:"Object",stat:!0,forced:c((function(){M.f(1)}))},{getOwnPropertySymbols:function(e){return M.f(h(e))}}),G)&&n({target:"JSON",stat:!0,forced:!l||c((function(){var e=W();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,r){for(var n,a=[e],i=1;arguments.length>i;)a.push(arguments[i++]);if(n=t,(m(t)||void 0!==e)&&!se(e))return f(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!se(t))return t}),a[1]=t,G.apply(null,a)}});W[j][z]||D(W[j],z,W[j].valueOf),F(W,V),_[B]=!0},7617:(e,t,r)=>{r(8172)},3162:(e,t,r)=>{r(6087)},2903:(e,t,r)=>{r(325)},1247:(e,t,r)=>{"use strict";var n=r(1427),a=r(9012),i=r(1668);n({target:"Promise",stat:!0},{try:function(e){var t=a.f(this),r=i(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},8524:(e,t,r)=>{r(2610);var n=r(530),a=r(100),i=r(6262),o=r(7642),s=r(5446),l=r(3374)("toStringTag");for(var u in n){var c=a[u],d=c&&c.prototype;d&&i(d)!==l&&o(d,l,u),s[u]=s.Array}},1614:(e,t,r)=>{var n=r(1427),a=r(100),i=r(5095),o=[].slice,s=function(e){return function(t,r){var n=arguments.length>2,a=n?o.call(arguments,2):void 0;return e(n?function(){("function"==typeof t?t:Function(t)).apply(this,a)}:t,r)}};n({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},8122:(e,t,r)=>{"use strict";r(2610);var n=r(1427),a=r(129),i=r(3694),o=r(3640),s=r(9335),l=r(76),u=r(5158),c=r(1026),d=r(4319),f=r(4013),m=r(4834),p=r(6262),h=r(6856),g=r(4363),v=r(6503),y=r(5988),b=r(2545),E=r(1222),w=r(3374),S=a("fetch"),M=a("Headers"),C=w("iterator"),I="URLSearchParams",N=I+"Iterator",D=c.set,T=c.getterFor(I),A=c.getterFor(N),x=/\+/g,_=Array(4),O=function(e){return _[e-1]||(_[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},k=function(e){try{return decodeURIComponent(e)}catch(t){return e}},P=function(e){var t=e.replace(x," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(O(r--),k);return t}},R=/[!'()~]|%20/g,F={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(e){return F[e]},U=function(e){return encodeURIComponent(e).replace(R,L)},B=function(e,t){if(t)for(var r,n,a=t.split("&"),i=0;i<a.length;)(r=a[i++]).length&&(n=r.split("="),e.push({key:P(n.shift()),value:P(n.join("="))}))},V=function(e){this.entries.length=0,B(this.entries,e)},j=function(e,t){if(e<t)throw TypeError("Not enough arguments")},z=u((function(e,t){D(this,{type:N,iterator:b(T(e).entries),kind:t})}),"Iterator",(function(){var e=A(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),H=function(){d(this,H,I);var e,t,r,n,a,i,o,s,l,u=arguments.length>0?arguments[0]:void 0,c=[];if(D(this,{type:I,entries:c,updateURL:function(){},updateSearchParams:V}),void 0!==u)if(g(u))if("function"==typeof(e=E(u)))for(r=(t=e.call(u)).next;!(n=r.call(t)).done;){if((o=(i=(a=b(h(n.value))).next).call(a)).done||(s=i.call(a)).done||!i.call(a).done)throw TypeError("Expected sequence with length 2");c.push({key:o.value+"",value:s.value+""})}else for(l in u)f(u,l)&&c.push({key:l,value:u[l]+""});else B(c,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},$=H.prototype;s($,{append:function(e,t){j(arguments.length,2);var r=T(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){j(arguments.length,1);for(var t=T(this),r=t.entries,n=e+"",a=0;a<r.length;)r[a].key===n?r.splice(a,1):a++;t.updateURL()},get:function(e){j(arguments.length,1);for(var t=T(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){j(arguments.length,1);for(var t=T(this).entries,r=e+"",n=[],a=0;a<t.length;a++)t[a].key===r&&n.push(t[a].value);return n},has:function(e){j(arguments.length,1);for(var t=T(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){j(arguments.length,1);for(var r,n=T(this),a=n.entries,i=!1,o=e+"",s=t+"",l=0;l<a.length;l++)(r=a[l]).key===o&&(i?a.splice(l--,1):(i=!0,r.value=s));i||a.push({key:o,value:s}),n.updateURL()},sort:function(){var e,t,r,n=T(this),a=n.entries,i=a.slice();for(a.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(a[t].key>e.key){a.splice(t,0,e);break}t===r&&a.push(e)}n.updateURL()},forEach:function(e){for(var t,r=T(this).entries,n=m(e,arguments.length>1?arguments[1]:void 0,3),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),o($,C,$.entries),o($,"toString",(function(){for(var e,t=T(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(U(e.key)+"="+U(e.value));return r.join("&")}),{enumerable:!0}),l(H,I),n({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof S||"function"!=typeof M||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,a=[e];return arguments.length>1&&(g(t=arguments[1])&&(r=t.body,p(r)===I&&((n=t.headers?new M(t.headers):new M).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:y(0,String(r)),headers:y(0,n)}))),a.push(t)),S.apply(this,a)}}),e.exports={URLSearchParams:H,getState:T}},668:(e,t,r)=>{"use strict";r(9773);var n,a=r(1427),i=r(9932),o=r(3694),s=r(100),l=r(7878),u=r(3640),c=r(4319),d=r(4013),f=r(989),m=r(9204),p=r(9413).codeAt,h=r(1899),g=r(76),v=r(8122),y=r(1026),b=s.URL,E=v.URLSearchParams,w=v.getState,S=y.set,M=y.getterFor("URL"),C=Math.floor,I=Math.pow,N="Invalid scheme",D="Invalid host",T="Invalid port",A=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,_=/\d/,O=/^(0x|0X)/,k=/^[0-7]+$/,P=/^\d+$/,R=/^[\dA-Fa-f]+$/,F=/[\0\t\n\r #%/:?@[\\]]/,L=/[\0\t\n\r #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,B=/[\t\n\r]/g,V=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return D;if(!(r=z(t.slice(1,-1))))return D;e.host=r}else if(Z(e)){if(t=h(t),F.test(t))return D;if(null===(r=j(t)))return D;e.host=r}else{if(L.test(t))return D;for(r="",n=m(t),a=0;a<n.length;a++)r+=Y(n[a],$);e.host=r}},j=function(e){var t,r,n,a,i,o,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=l[n]))return e;if(i=10,a.length>1&&"0"==a.charAt(0)&&(i=O.test(a)?16:8,a=a.slice(8==i?1:2)),""===a)o=0;else{if(!(10==i?P:8==i?k:R).test(a))return e;o=parseInt(a,i)}r.push(o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=I(256,5-t))return null}else if(o>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*I(256,3-n);return s},z=function(e){var t,r,n,a,i,o,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,c=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=r=0;r<4&&R.test(f());)t=16*t+parseInt(f(),16),d++,r++;if("."==f()){if(0==r)return;if(d-=r,u>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;d++}if(!_.test(f()))return;for(;_.test(f());){if(i=parseInt(f(),10),null===a)a=i;else{if(0==a)return;a=10*a+i}if(a>255)return;d++}l[u]=256*l[u]+a,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[u++]=t}else{if(null!==c)return;d++,c=++u}}if(null!==c)for(o=u-c,u=7;0!=u&&o>0;)s=l[u],l[u--]=l[c+o-1],l[c+--o]=s;else if(8!=u)return;return l},H=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=C(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,i=0;i<8;i++)0!==e[i]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=i),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},$={},q=f({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),W=f({},q,{"#":1,"?":1,"{":1,"}":1}),G=f({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var r=p(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return d(K,e.scheme)},J=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var r;return 2==e.length&&A.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ee=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&Q(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},ne={},ae={},ie={},oe={},se={},le={},ue={},ce={},de={},fe={},me={},pe={},he={},ge={},ve={},ye={},be={},Ee={},we={},Se={},Me={},Ce=function(e,t,r,a){var i,o,s,l,u,c=r||ne,f=0,p="",h=!1,g=!1,v=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(B,""),i=m(t);f<=i.length;){switch(o=i[f],c){case ne:if(!o||!A.test(o)){if(r)return N;c=ie;continue}p+=o.toLowerCase(),c=ae;break;case ae:if(o&&(x.test(o)||"+"==o||"-"==o||"."==o))p+=o.toLowerCase();else{if(":"!=o){if(r)return N;p="",c=ie,f=0;continue}if(r&&(Z(e)!=d(K,p)||"file"==p&&(J(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,r)return void(Z(e)&&K[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?c=ge:Z(e)&&a&&a.scheme==e.scheme?c=oe:Z(e)?c=ce:"/"==i[f+1]?(c=se,f++):(e.cannotBeABaseURL=!0,e.path.push(""),c=we)}break;case ie:if(!a||a.cannotBeABaseURL&&"#"!=o)return N;if(a.cannotBeABaseURL&&"#"==o){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,c=Me;break}c="file"==a.scheme?ge:le;continue;case oe:if("/"!=o||"/"!=i[f+1]){c=le;continue}c=de,f++;break;case se:if("/"==o){c=fe;break}c=Ee;continue;case le:if(e.scheme=a.scheme,o==n)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==o||"\\"==o&&Z(e))c=ue;else if("?"==o)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),c=Ee;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Me}break;case ue:if(!Z(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,c=Ee;continue}c=fe}else c=de;break;case ce:if(c=de,"/"!=o||"/"!=p.charAt(f+1))continue;f++;break;case de:if("/"!=o&&"\\"!=o){c=fe;continue}break;case fe:if("@"==o){h&&(p="%40"+p),h=!0,s=m(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||v){var E=Y(b,G);v?e.password+=E:e.username+=E}else v=!0}p=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(h&&""==p)return"Invalid authority";f-=m(p).length+1,p="",c=me}else p+=o;break;case me:case pe:if(r&&"file"==e.scheme){c=ye;continue}if(":"!=o||g){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(Z(e)&&""==p)return D;if(r&&""==p&&(J(e)||null!==e.port))return;if(l=V(e,p))return l;if(p="",c=be,r)return;continue}"["==o?g=!0:"]"==o&&(g=!1),p+=o}else{if(""==p)return D;if(l=V(e,p))return l;if(p="",c=he,r==pe)return}break;case he:if(!_.test(o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)||r){if(""!=p){var w=parseInt(p,10);if(w>65535)return T;e.port=Z(e)&&w===K[e.scheme]?null:w,p=""}if(r)return;c=be;continue}return T}p+=o;break;case ge:if(e.scheme="file","/"==o||"\\"==o)c=ve;else{if(!a||"file"!=a.scheme){c=Ee;continue}if(o==n)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==o)e.host=a.host,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=o){ee(i.slice(f).join(""))||(e.host=a.host,e.path=a.path.slice(),te(e)),c=Ee;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Me}}break;case ve:if("/"==o||"\\"==o){c=ye;break}a&&"file"==a.scheme&&!ee(i.slice(f).join(""))&&(Q(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),c=Ee;continue;case ye:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!r&&Q(p))c=Ee;else if(""==p){if(e.host="",r)return;c=be}else{if(l=V(e,p))return l;if("localhost"==e.host&&(e.host=""),r)return;p="",c=be}continue}p+=o;break;case be:if(Z(e)){if(c=Ee,"/"!=o&&"\\"!=o)continue}else if(r||"?"!=o)if(r||"#"!=o){if(o!=n&&(c=Ee,"/"!=o))continue}else e.fragment="",c=Me;else e.query="",c=Se;break;case Ee:if(o==n||"/"==o||"\\"==o&&Z(e)||!r&&("?"==o||"#"==o)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==o||"\\"==o&&Z(e)||e.path.push("")):re(p)?"/"==o||"\\"==o&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(o==n||"?"==o||"#"==o))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",c=Se):"#"==o&&(e.fragment="",c=Me)}else p+=Y(o,W);break;case we:"?"==o?(e.query="",c=Se):"#"==o?(e.fragment="",c=Me):o!=n&&(e.path[0]+=Y(o,$));break;case Se:r||"#"!=o?o!=n&&("'"==o&&Z(e)?e.query+="%27":e.query+="#"==o?"%23":Y(o,$)):(e.fragment="",c=Me);break;case Me:o!=n&&(e.fragment+=Y(o,q))}f++}},Ie=function(e){var t,r,n=c(this,Ie,"URL"),a=arguments.length>1?arguments[1]:void 0,o=String(e),s=S(n,{type:"URL"});if(void 0!==a)if(a instanceof Ie)t=M(a);else if(r=Ce(t={},String(a)))throw TypeError(r);if(r=Ce(s,o,null,t))throw TypeError(r);var l=s.searchParams=new E,u=w(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},i||(n.href=De.call(n),n.origin=Te.call(n),n.protocol=Ae.call(n),n.username=xe.call(n),n.password=_e.call(n),n.host=Oe.call(n),n.hostname=ke.call(n),n.port=Pe.call(n),n.pathname=Re.call(n),n.search=Fe.call(n),n.searchParams=Le.call(n),n.hash=Ue.call(n))},Ne=Ie.prototype,De=function(){var e=M(this),t=e.scheme,r=e.username,n=e.password,a=e.host,i=e.port,o=e.path,s=e.query,l=e.fragment,u=t+":";return null!==a?(u+="//",J(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(a),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Te=function(){var e=M(this),t=e.scheme,r=e.port;if("blob"==t)try{return new Ie(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==r?":"+r:""):"null"},Ae=function(){return M(this).scheme+":"},xe=function(){return M(this).username},_e=function(){return M(this).password},Oe=function(){var e=M(this),t=e.host,r=e.port;return null===t?"":null===r?H(t):H(t)+":"+r},ke=function(){var e=M(this).host;return null===e?"":H(e)},Pe=function(){var e=M(this).port;return null===e?"":String(e)},Re=function(){var e=M(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Fe=function(){var e=M(this).query;return e?"?"+e:""},Le=function(){return M(this).searchParams},Ue=function(){var e=M(this).fragment;return e?"#"+e:""},Be=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Ne,{href:Be(De,(function(e){var t=M(this),r=String(e),n=Ce(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Be(Te),protocol:Be(Ae,(function(e){var t=M(this);Ce(t,String(e)+":",ne)})),username:Be(xe,(function(e){var t=M(this),r=m(String(e));if(!X(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=Y(r[n],G)}})),password:Be(_e,(function(e){var t=M(this),r=m(String(e));if(!X(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=Y(r[n],G)}})),host:Be(Oe,(function(e){var t=M(this);t.cannotBeABaseURL||Ce(t,String(e),me)})),hostname:Be(ke,(function(e){var t=M(this);t.cannotBeABaseURL||Ce(t,String(e),pe)})),port:Be(Pe,(function(e){var t=M(this);X(t)||(""==(e=String(e))?t.port=null:Ce(t,e,he))})),pathname:Be(Re,(function(e){var t=M(this);t.cannotBeABaseURL||(t.path=[],Ce(t,e+"",be))})),search:Be(Fe,(function(e){var t=M(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,Se)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Be(Le),hash:Be(Ue,(function(e){var t=M(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,Me)):t.fragment=null}))}),u(Ne,"toJSON",(function(){return De.call(this)}),{enumerable:!0}),u(Ne,"toString",(function(){return De.call(this)}),{enumerable:!0}),b){var Ve=b.createObjectURL,je=b.revokeObjectURL;Ve&&u(Ie,"createObjectURL",(function(e){return Ve.apply(b,arguments)})),je&&u(Ie,"revokeObjectURL",(function(e){return je.apply(b,arguments)}))}g(Ie,"URL"),a({global:!0,forced:!o,sham:!i},{URL:Ie})},456:()=>{},9670:(e,t,r)=>{var n=r(3961);e.exports=n},4190:(e,t,r)=>{var n=r(9860);e.exports=n},1651:(e,t,r)=>{var n=r(150);e.exports=n},5821:(e,t,r)=>{var n=r(1935);e.exports=n},6224:(e,t,r)=>{var n=r(8208);e.exports=n},9074:(e,t,r)=>{var n=r(5050);e.exports=n},5480:(e,t,r)=>{var n=r(9743);e.exports=n},2910:(e,t,r)=>{var n=r(7416);e.exports=n},44:(e,t,r)=>{var n=r(1617);e.exports=n},9992:(e,t,r)=>{var n=r(7458);e.exports=n},4546:(e,t,r)=>{var n=r(6743);e.exports=n},7837:(e,t,r)=>{var n=r(2887);e.exports=n},8784:(e,t,r)=>{var n=r(2137);e.exports=n},3668:(e,t,r)=>{r(8524);var n=r(1651),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===i||e instanceof Array&&t===i.forEach||o.hasOwnProperty(a(e))?n:t}},6361:(e,t,r)=>{var n=r(3076);e.exports=n},1189:(e,t,r)=>{var n=r(1475);e.exports=n},8303:(e,t,r)=>{r(8524);var n=r(5821),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===i||e instanceof Array&&t===i.keys||o.hasOwnProperty(a(e))?n:t}},113:(e,t,r)=>{var n=r(3014);e.exports=n},1740:(e,t,r)=>{var n=r(6015);e.exports=n},3228:(e,t,r)=>{var n=r(9846);e.exports=n},382:(e,t,r)=>{var n=r(7886);e.exports=n},6949:(e,t,r)=>{var n=r(1187);e.exports=n},2161:(e,t,r)=>{var n=r(6072);e.exports=n},7440:(e,t,r)=>{var n=r(8277);e.exports=n},4514:(e,t,r)=>{var n=r(7199);e.exports=n},6483:(e,t,r)=>{var n=r(7317);e.exports=n},4349:(e,t,r)=>{var n=r(3287);e.exports=n},1799:(e,t,r)=>{r(8524);var n=r(6224),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===i||e instanceof Array&&t===i.values||o.hasOwnProperty(a(e))?n:t}},2751:(e,t,r)=>{var n=r(8093);e.exports=n},5303:(e,t,r)=>{var n=r(7062);e.exports=n},7020:(e,t,r)=>{var n=r(8209);e.exports=n},1006:(e,t,r)=>{var n=r(3806);e.exports=n},1065:(e,t,r)=>{var n=r(9206);e.exports=n},6191:(e,t,r)=>{var n=r(1469);e.exports=n},6884:(e,t,r)=>{var n=r(3577);e.exports=n},3863:(e,t,r)=>{var n=r(4489);e.exports=n},7118:(e,t,r)=>{var n=r(5698);e.exports=n},858:(e,t,r)=>{var n=r(8851);e.exports=n},8404:(e,t,r)=>{var n=r(7385);e.exports=n},8430:(e,t,r)=>{var n=r(3840);e.exports=n},7926:(e,t,r)=>{var n=r(4378);e.exports=n},779:(e,t,r)=>{var n=r(1528);e.exports=n},3800:(e,t,r)=>{var n=r(806);e.exports=n},4226:(e,t,r)=>{r(1614);var n=r(2366);e.exports=n.setInterval},9594:(e,t,r)=>{r(1614);var n=r(2366);e.exports=n.setTimeout},274:(e,t,r)=>{var n=r(592);e.exports=n},3289:(e,t,r)=>{var n=r(8938);e.exports=n},592:(e,t,r)=>{r(8122);var n=r(2366);e.exports=n.URLSearchParams},8938:(e,t,r)=>{r(668),r(456),r(8122);var n=r(2366);e.exports=n.URL},6777:e=>{function t(e,t,r){var n,a,i,o,s;function l(){var u=Date.now()-o;u<t&&u>=0?n=setTimeout(l,t-u):(n=null,r||(s=e.apply(i,a),i=a=null))}null==t&&(t=100);var u=function(){i=this,a=arguments,o=Date.now();var u=r&&!n;return n||(n=setTimeout(l,t)),u&&(s=e.apply(i,a),i=a=null),s};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.flush=function(){n&&(s=e.apply(i,a),i=a=null,clearTimeout(n),n=null)},u}t.debounce=t,e.exports=t},2983:function(e,t,r){var n,a;!function(i,o,s){"use strict";"undefined"!=typeof window&&r.amdO?void 0===(a="function"==typeof(n=s)?n.call(t,r,t,e):n)||(e.exports=a):e.exports?e.exports=s():o.exports?o.exports=s():o.Fingerprint2=s()}(0,this,(function(){"use strict";void 0===Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]+t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]+t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]+t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]+t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]*t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]*t[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=e[3]*t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]*t[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[2]*t[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[3]*t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},r=function(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},n=function(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},a=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=a(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=a(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=a(e,[0,e[0]>>>1])},o=function(o,s){s=s||0;for(var l=(o=o||"").length%16,u=o.length-l,c=[0,s],d=[0,s],f=[0,0],m=[0,0],p=[2277735313,289559509],h=[1291169091,658871167],g=0;g<u;g+=16)f=[255&o.charCodeAt(g+4)|(255&o.charCodeAt(g+5))<<8|(255&o.charCodeAt(g+6))<<16|(255&o.charCodeAt(g+7))<<24,255&o.charCodeAt(g)|(255&o.charCodeAt(g+1))<<8|(255&o.charCodeAt(g+2))<<16|(255&o.charCodeAt(g+3))<<24],m=[255&o.charCodeAt(g+12)|(255&o.charCodeAt(g+13))<<8|(255&o.charCodeAt(g+14))<<16|(255&o.charCodeAt(g+15))<<24,255&o.charCodeAt(g+8)|(255&o.charCodeAt(g+9))<<8|(255&o.charCodeAt(g+10))<<16|(255&o.charCodeAt(g+11))<<24],f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f),c=r(c,27),c=e(c,d),c=e(t(c,[0,5]),[0,1390208809]),m=t(m,h),m=r(m,33),m=t(m,p),d=a(d,m),d=r(d,31),d=e(d,c),d=e(t(d,[0,5]),[0,944331445]);switch(f=[0,0],m=[0,0],l){case 15:m=a(m,n([0,o.charCodeAt(g+14)],48));case 14:m=a(m,n([0,o.charCodeAt(g+13)],40));case 13:m=a(m,n([0,o.charCodeAt(g+12)],32));case 12:m=a(m,n([0,o.charCodeAt(g+11)],24));case 11:m=a(m,n([0,o.charCodeAt(g+10)],16));case 10:m=a(m,n([0,o.charCodeAt(g+9)],8));case 9:m=a(m,[0,o.charCodeAt(g+8)]),m=t(m,h),m=r(m,33),m=t(m,p),d=a(d,m);case 8:f=a(f,n([0,o.charCodeAt(g+7)],56));case 7:f=a(f,n([0,o.charCodeAt(g+6)],48));case 6:f=a(f,n([0,o.charCodeAt(g+5)],40));case 5:f=a(f,n([0,o.charCodeAt(g+4)],32));case 4:f=a(f,n([0,o.charCodeAt(g+3)],24));case 3:f=a(f,n([0,o.charCodeAt(g+2)],16));case 2:f=a(f,n([0,o.charCodeAt(g+1)],8));case 1:f=a(f,[0,o.charCodeAt(g)]),f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f)}return c=a(c,[0,o.length]),d=a(d,[0,o.length]),c=e(c,d),d=e(d,c),c=i(c),d=i(d),c=e(c,d),d=e(d,c),("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)},s={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0,adBlock:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},l=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var r=0,n=e.length;r<n;r++)t(e[r],r,e);else for(var a in e)e.hasOwnProperty(a)&&t(e[a],a,e)},u=function(e,t){var r=[];return null==e?r:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(l(e,(function(e,n,a){r.push(t(e,n,a))})),r)},c=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},d=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},f=function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE},m=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],r=0,n=navigator.plugins.length;r<n;r++)navigator.plugins[r]&&t.push(navigator.plugins[r]);return h(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),u(t,(function(e){var t=u(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},p=function(e){var t=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window){t=u(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}}))}else t.push(e.NOT_AVAILABLE);return navigator.plugins&&(t=t.concat(m(e))),t},h=function(e){for(var t=!1,r=0,n=e.plugins.sortPluginsFor.length;r<n;r++){var a=e.plugins.sortPluginsFor[r];if(navigator.userAgent.match(a)){t=!0;break}}return t},g=function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}},v=function(e){try{return!!window.localStorage}catch(t){return e.ERROR}},y=function(e){if(R())return e.EXCLUDED;try{return!!window.indexedDB}catch(t){return e.ERROR}},b=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},E=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},w=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},S=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},M=function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]},C=function(e){var t=[],r=document.createElement("canvas");r.width=2e3,r.height=200,r.style.display="inline";var n=r.getContext("2d");return n.rect(0,0,10,10),n.rect(2,2,6,6),t.push("canvas winding:"+(!1===n.isPointInPath(5,5,"evenodd")?"yes":"no")),n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",e.dontUseFakeFontInCanvas?n.font="11pt Arial":n.font="11pt no-real-font-123",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),r.toDataURL&&t.push("canvas fp:"+r.toDataURL()),t},I=function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=B()))return null;var r=[],n=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,n);var a=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,a,e.STATIC_DRAW),n.itemSize=3,n.numItems=3;var i=e.createProgram(),o=e.createShader(e.VERTEX_SHADER);e.shaderSource(o,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(o);var s=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(s,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(s),e.attachShader(i,o),e.attachShader(i,s),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,n.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,n.numItems);try{r.push(e.canvas.toDataURL())}catch(e){}r.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),r.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),r.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),r.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),r.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),r.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),r.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),r.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),r.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var r=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===r&&(r=2),r}return null}(e)),r.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),r.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),r.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),r.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),r.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),r.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),r.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),r.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),r.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),r.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),r.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),r.push("webgl red bits:"+e.getParameter(e.RED_BITS)),r.push("webgl renderer:"+e.getParameter(e.RENDERER)),r.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),r.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),r.push("webgl vendor:"+e.getParameter(e.VENDOR)),r.push("webgl version:"+e.getParameter(e.VERSION));try{var u=e.getExtension("WEBGL_debug_renderer_info");u&&(r.push("webgl unmasked vendor:"+e.getParameter(u.UNMASKED_VENDOR_WEBGL)),r.push("webgl unmasked renderer:"+e.getParameter(u.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(l(["FLOAT","INT"],(function(t){l(["VERTEX","FRAGMENT"],(function(n){l(["HIGH","MEDIUM","LOW"],(function(a){l(["precision","rangeMin","rangeMax"],(function(i){var o=e.getShaderPrecisionFormat(e[n+"_SHADER"],e[a+"_"+t])[i];"precision"!==i&&(i="precision "+i);var s=["webgl ",n.toLowerCase()," shader ",a.toLowerCase()," ",t.toLowerCase()," ",i,":",o].join("");r.push(s)}))}))}))})),V(e),r):(V(e),r)},N=function(){try{var e=B(),t=e.getExtension("WEBGL_debug_renderer_info"),r=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return V(e),r}catch(e){return null}},D=function(){var e=document.createElement("div");e.innerHTML="&nbsp;",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},T=function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},A=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},x=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.oscpu,n=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("windows")>=0||t.indexOf("win16")>=0||t.indexOf("win32")>=0||t.indexOf("win64")>=0||t.indexOf("win95")>=0||t.indexOf("win98")>=0||t.indexOf("winnt")>=0||t.indexOf("wow64")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0||t.indexOf("x11")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0||t.indexOf("ipod")>=0||t.indexOf("crios")>=0||t.indexOf("fxios")>=0?"iOS":t.indexOf("macintosh")>=0||t.indexOf("mac_powerpc)")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows"!==e&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e&&-1===t.indexOf("cros"))return!0;if(void 0!==r){if((r=r.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(r.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(r.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===r.indexOf("win")&&-1===r.indexOf("linux")&&-1===r.indexOf("mac"))!=("Other"===e))return!0}return n.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((n.indexOf("linux")>=0||n.indexOf("android")>=0||n.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((n.indexOf("mac")>=0||n.indexOf("ipad")>=0||n.indexOf("ipod")>=0||n.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||!(n.indexOf("arm")>=0&&"Windows Phone"===e)&&(!(n.indexOf("pike")>=0&&t.indexOf("opera mini")>=0)&&((n.indexOf("win")<0&&n.indexOf("linux")<0&&n.indexOf("mac")<0&&n.indexOf("iphone")<0&&n.indexOf("ipad")<0&&n.indexOf("ipod")<0)!==("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e))))},_=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.productSub;if(t.indexOf("edge/")>=0||t.indexOf("iemobile/")>=0)return!1;if(t.indexOf("opera mini")>=0)return!1;if(("Chrome"===(e=t.indexOf("firefox/")>=0?"Firefox":t.indexOf("opera/")>=0||t.indexOf(" opr/")>=0?"Opera":t.indexOf("chrome/")>=0?"Chrome":t.indexOf("safari/")>=0?t.indexOf("android 1.")>=0||t.indexOf("android 2.")>=0||t.indexOf("android 3.")>=0||t.indexOf("android 4.")>=0?"AOSP":"Safari":t.indexOf("trident/")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==r)return!0;var n,a=eval.toString().length;if(37===a&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===a&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===a&&"Chrome"!==e&&"AOSP"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),n=!0}catch(e){n=!1}}return n&&"Firefox"!==e&&"Other"!==e},O=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},k=function(){if(!O())return!1;var e=B(),t=!!window.WebGLRenderingContext&&!!e;return V(e),t},P=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},R=function(){return("msWriteProfilerMark"in window)+("msLaunchUri"in navigator)+("msSaveBlob"in navigator)>=2},F=function(){return void 0!==window.swfobject},L=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},U=function(e,t){var r="___fp_swf_loaded";window[r]=function(t){e(t)};var n=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}();var a={onReady:r};window.swfobject.embedSWF(t.fonts.swfPath,n,"1","1","9.0.0",!1,a,{allowScriptAccess:"always",menu:"false"},{})},B=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},V=function(e){var t=e.getExtension("WEBGL_lose_context");null!=t&&t.loseContext()},j=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(b(t))}},{key:"screenResolution",getData:function(e,t){e(d(t))}},{key:"availableScreenResolution",getData:function(e,t){e(f(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone||t.NOT_AVAILABLE):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(g(t))}},{key:"localStorage",getData:function(e,t){e(v(t))}},{key:"indexedDb",getData:function(e,t){e(y(t))}},{key:"addBehavior",getData:function(e){e(!!window.HTMLElement.prototype.addBehavior)}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(E(t))}},{key:"platform",getData:function(e,t){e(w(t))}},{key:"doNotTrack",getData:function(e,t){e(S(t))}},{key:"plugins",getData:function(e,t){P()?t.plugins.excludeIE?e(t.EXCLUDED):e(p(t)):e(m(t))}},{key:"canvas",getData:function(e,t){O()?e(C(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){k()?e(I()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){k()?e(N()):e()}},{key:"adBlock",getData:function(e){e(D())}},{key:"hasLiedLanguages",getData:function(e){e(T())}},{key:"hasLiedResolution",getData:function(e){e(A())}},{key:"hasLiedOs",getData:function(e){e(x())}},{key:"hasLiedBrowser",getData:function(e){e(_())}},{key:"touchSupport",getData:function(e){e(M())}},{key:"fonts",getData:function(e,t){var r=["monospace","sans-serif","serif"],n=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];if(t.fonts.extendedJsFonts){n=n.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])}n=(n=n.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return n.indexOf(e)===t}));var a=document.getElementsByTagName("body")[0],i=document.createElement("div"),o=document.createElement("div"),s={},l={},u=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},c=function(e,t){var r=u();return r.style.fontFamily="'"+e+"',"+t,r},d=function(e){for(var t=!1,n=0;n<r.length;n++)if(t=e[n].offsetWidth!==s[r[n]]||e[n].offsetHeight!==l[r[n]])return t;return t},f=function(){for(var e=[],t=0,n=r.length;t<n;t++){var a=u();a.style.fontFamily=r[t],i.appendChild(a),e.push(a)}return e}();a.appendChild(i);for(var m=0,p=r.length;m<p;m++)s[r[m]]=f[m].offsetWidth,l[r[m]]=f[m].offsetHeight;var h=function(){for(var e={},t=0,a=n.length;t<a;t++){for(var i=[],s=0,l=r.length;s<l;s++){var u=c(n[t],r[s]);o.appendChild(u),i.push(u)}e[n[t]]=i}return e}();a.appendChild(o);for(var g=[],v=0,y=n.length;v<y;v++)d(h[n[v]])&&g.push(n[v]);a.removeChild(o),a.removeChild(i),e(g)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return F()?L()?t.fonts.swfPath?void U((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var r=t.audio;if(r.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var n=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==n)return e(t.NOT_AVAILABLE);var a=new n(1,44100,44100),i=a.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,a.currentTime);var o=a.createDynamicsCompressor();l([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==o[e[0]]&&"function"==typeof o[e[0]].setValueAtTime&&o[e[0]].setValueAtTime(e[1],a.currentTime)})),i.connect(o),o.connect(a.destination),i.start(0),a.startRendering();var s=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/fingerprintjs/fingerprintjs with your user agent: "'+navigator.userAgent+'".'),a.oncomplete=function(){},a=null,e("audioTimeout")}),r.timeout);a.oncomplete=function(t){var r;try{clearTimeout(s),r=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),o.disconnect()}catch(t){return void e(t)}e(r)}}},{key:"enumerateDevices",getData:function(e,t){if(!c())return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],z=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/fingerprintjs/fingerprintjs#upgrade-guide-from-182-to-200")};return z.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var r,n;for(n in t)null==(r=t[n])||Object.prototype.hasOwnProperty.call(e,n)||(e[n]=r)}(e,s),e.components=e.extraComponents.concat(j);var r={data:[],addPreprocessedComponent:function(t,n){"function"==typeof e.preprocessor&&(n=e.preprocessor(t,n)),r.data.push({key:t,value:n})}},n=-1,a=function(i){if((n+=1)>=e.components.length)t(r.data);else{var o=e.components[n];if(e.excludes[o.key])a(!1);else{if(!i&&o.pauseBefore)return n-=1,void setTimeout((function(){a(!0)}),1);try{o.getData((function(e){r.addPreprocessedComponent(o.key,e),a(!1)}),e)}catch(e){r.addPreprocessedComponent(o.key,String(e)),a(!1)}}}};a(!1)},z.getPromise=function(e){return new Promise((function(t,r){z.get(e,t)}))},z.getV18=function(e,t){return null==t&&(t=e,e={}),z.get(e,(function(r){for(var n=[],a=0;a<r.length;a++){var i=r[a];if(i.value===(e.NOT_AVAILABLE||"not available"))n.push({key:i.key,value:"unknown"});else if("plugins"===i.key)n.push({key:"plugins",value:u(i.value,(function(e){var t=u(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key)&&Array.isArray(i.value))n.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;n.push({key:i.key,value:1})}else i.value?n.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):n.push({key:i.key,value:i.value})}var s=o(u(n,(function(e){return e.value})).join("~~~"),31);t(s,n)}))},z.x64hash128=o,z.VERSION="2.1.4",z}))},9602:e=>{function t(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return e}function n(e,n){const a=(n=n||{}).delimiter||".",i=n.maxDepth,o=n.transformKey||r,s={};return function e(r,l,u){u=u||1,Object.keys(r).forEach((function(c){const d=r[c],f=n.safe&&Array.isArray(d),m=Object.prototype.toString.call(d),p=t(d),h="[object Object]"===m||"[object Array]"===m,g=l?l+a+o(c):o(c);if(!f&&!p&&h&&Object.keys(d).length&&(!n.maxDepth||u<i))return e(d,g,u+1);s[g]=d}))}(e),s}e.exports=n,n.flatten=n,n.unflatten=function e(a,i){const o=(i=i||{}).delimiter||".",s=i.overwrite||!1,l=i.transformKey||r,u={};if(t(a)||"[object Object]"!==Object.prototype.toString.call(a))return a;function c(e){const t=Number(e);return isNaN(t)||-1!==e.indexOf(".")||i.object?e:t}return a=Object.keys(a).reduce((function(e,t){const r=Object.prototype.toString.call(a[t]);return!("[object Object]"===r||"[object Array]"===r)||function(e){const t=Object.prototype.toString.call(e),r="[object Array]"===t,n="[object Object]"===t;if(!e)return!0;if(r)return!e.length;if(n)return!Object.keys(e).length}(a[t])?(e[t]=a[t],e):function(e,t,r){return Object.keys(r).reduce((function(t,n){return t[e+o+n]=r[n],t}),t)}(t,e,n(a[t],i))}),{}),Object.keys(a).forEach((function(t){const r=t.split(o).map(l);let n=c(r.shift()),d=c(r[0]),f=u;for(;void 0!==d;){if("__proto__"===n)return;const e=Object.prototype.toString.call(f[n]),t="[object Object]"===e||"[object Array]"===e;if(!s&&!t&&void 0!==f[n])return;(s&&!t||!s&&null==f[n])&&(f[n]="number"!=typeof d||i.object?{}:[]),f=f[n],r.length>0&&(n=c(r.shift()),d=c(r[0]))}f[n]=e(a[t],i)})),u}},2971:(e,t,r)=>{"use strict";var n=r(2322),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},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var a=m(r);a&&a!==p&&e(t,a,n)}var o=c(r);d&&(o=o.concat(d(r)));for(var s=l(t),h=l(r),g=0;g<o.length;++g){var v=o[g];if(!(i[v]||n&&n[v]||h&&h[v]||s&&s[v])){var y=f(r,v);try{u(t,v,y)}catch(e){}}}}return t}},1485:(e,t)=>{"use strict";
9
+ window.sheerIdCurrentScript=document.currentScript,window.sheerIdEs5="true",window.sheerIdPubV="1.140.0",function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.sheerid=t():e.sheerid=t()}(self,(()=>(()=>{var e,t,r,n,a={6358:(e,t,r)=>{e.exports=r(9670)},1306:(e,t,r)=>{e.exports=r(4190)},8505:(e,t,r)=>{e.exports=r(9074)},7166:(e,t,r)=>{e.exports=r(5480)},210:(e,t,r)=>{e.exports=r(2910)},2022:(e,t,r)=>{e.exports=r(44)},6937:(e,t,r)=>{e.exports=r(9992)},7917:(e,t,r)=>{e.exports=r(4546)},6812:(e,t,r)=>{e.exports=r(7837)},9423:(e,t,r)=>{e.exports=r(8784)},9154:(e,t,r)=>{e.exports=r(3668)},2814:(e,t,r)=>{e.exports=r(6361)},6426:(e,t,r)=>{e.exports=r(1189)},3104:(e,t,r)=>{e.exports=r(8303)},3106:(e,t,r)=>{e.exports=r(113)},7475:(e,t,r)=>{e.exports=r(1740)},6569:(e,t,r)=>{e.exports=r(3228)},1639:(e,t,r)=>{e.exports=r(382)},3944:(e,t,r)=>{e.exports=r(6949)},2021:(e,t,r)=>{e.exports=r(2161)},6954:(e,t,r)=>{e.exports=r(7440)},8520:(e,t,r)=>{e.exports=r(4514)},3049:(e,t,r)=>{e.exports=r(6483)},8903:(e,t,r)=>{e.exports=r(4349)},8675:(e,t,r)=>{e.exports=r(1799)},6534:(e,t,r)=>{e.exports=r(2751)},1671:(e,t,r)=>{e.exports=r(5303)},1057:(e,t,r)=>{e.exports=r(7020)},9910:(e,t,r)=>{e.exports=r(1006)},3537:(e,t,r)=>{e.exports=r(1065)},944:(e,t,r)=>{e.exports=r(6191)},249:(e,t,r)=>{e.exports=r(6884)},6905:(e,t,r)=>{e.exports=r(3863)},3029:(e,t,r)=>{e.exports=r(7118)},6500:(e,t,r)=>{e.exports=r(858)},3567:(e,t,r)=>{e.exports=r(8404)},8818:(e,t,r)=>{e.exports=r(8430)},3371:(e,t,r)=>{e.exports=r(7926)},8338:(e,t,r)=>{e.exports=r(779)},9683:(e,t,r)=>{e.exports=r(3800)},2035:(e,t,r)=>{e.exports=r(4226)},2665:(e,t,r)=>{e.exports=r(9594)},2486:(e,t,r)=>{e.exports=r(274)},9469:(e,t,r)=>{e.exports=r(3289)},1245:(e,t,r)=>{e.exports=r(5705)},1652:(e,t,r)=>{e.exports=r(34)},6709:(e,t,r)=>{e.exports=r(8566)},8897:(e,t,r)=>{e.exports=r(6218)},7347:(e,t,r)=>{e.exports=r(6753)},2334:(e,t,r)=>{e.exports=r(5580)},8801:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",a=(e.type||"").toLowerCase(),i=a.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):a===t}))}return!0}},3305:e=>{var t=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,r,n;try{t=Map}catch(e){t=function(){}}try{r=Set}catch(e){r=function(){}}try{n=Promise}catch(e){n=function(){}}function a(i,s,l,u,c){"object"==typeof s&&(l=s.depth,u=s.prototype,c=s.includeNonEnumerable,s=s.circular);var d=[],f=[],m="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,p){if(null===l)return null;if(0===p)return l;var h,g;if("object"!=typeof l)return l;if(e(l,t))h=new t;else if(e(l,r))h=new r;else if(e(l,n))h=new n((function(e,t){l.then((function(t){e(i(t,p-1))}),(function(e){t(i(e,p-1))}))}));else if(a.__isArray(l))h=[];else if(a.__isRegExp(l))h=new RegExp(l.source,o(l)),l.lastIndex&&(h.lastIndex=l.lastIndex);else if(a.__isDate(l))h=new Date(l.getTime());else{if(m&&Buffer.isBuffer(l))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(l.length):new Buffer(l.length),l.copy(h),h;e(l,Error)?h=Object.create(l):void 0===u?(g=Object.getPrototypeOf(l),h=Object.create(g)):(h=Object.create(u),g=u)}if(s){var v=d.indexOf(l);if(-1!=v)return f[v];d.push(l),f.push(h)}for(var y in e(l,t)&&l.forEach((function(e,t){var r=i(t,p-1),n=i(e,p-1);h.set(r,n)})),e(l,r)&&l.forEach((function(e){var t=i(e,p-1);h.add(t)})),l){var b;g&&(b=Object.getOwnPropertyDescriptor(g,y)),b&&null==b.set||(h[y]=i(l[y],p-1))}if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(l);for(y=0;y<E.length;y++){var w=E[y];(!(M=Object.getOwnPropertyDescriptor(l,w))||M.enumerable||c)&&(h[w]=i(l[w],p-1),M.enumerable||Object.defineProperty(h,w,{enumerable:!1}))}}if(c){var S=Object.getOwnPropertyNames(l);for(y=0;y<S.length;y++){var M,C=S[y];(M=Object.getOwnPropertyDescriptor(l,C))&&M.enumerable||(h[C]=i(l[C],p-1),Object.defineProperty(h,C,{enumerable:!1}))}}return h}(i,l)}function i(e){return Object.prototype.toString.call(e)}function o(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return a.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},a.__objToStr=i,a.__isDate=function(e){return"object"==typeof e&&"[object Date]"===i(e)},a.__isArray=function(e){return"object"==typeof e&&"[object Array]"===i(e)},a.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===i(e)},a.__getRegExpFlags=o,a}();e.exports&&(e.exports=t)},2409:(e,t,r)=>{"use strict";var n=r(6943),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,i,o,s,l,u,c=!1;t||(t={}),r=t.debug||!1;try{if(o=n(),s=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=e,u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=a[t.format]||a.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(u),s.selectNodeContents(u),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),o()}return c}},3961:(e,t,r)=>{r(9773),r(4702);var n=r(2366);e.exports=n.Array.from},9860:(e,t,r)=>{r(8982);var n=r(2366);e.exports=n.Array.isArray},1985:(e,t,r)=>{r(5802);var n=r(9360);e.exports=n("Array").concat},7956:(e,t,r)=>{r(5239);var n=r(9360);e.exports=n("Array").every},1972:(e,t,r)=>{r(1308);var n=r(9360);e.exports=n("Array").fill},9489:(e,t,r)=>{r(8830);var n=r(9360);e.exports=n("Array").filter},7641:(e,t,r)=>{r(8901);var n=r(9360);e.exports=n("Array").findIndex},2851:(e,t,r)=>{r(2283);var n=r(9360);e.exports=n("Array").find},150:(e,t,r)=>{r(4739);var n=r(9360);e.exports=n("Array").forEach},5296:(e,t,r)=>{r(9113);var n=r(9360);e.exports=n("Array").includes},2858:(e,t,r)=>{r(8165);var n=r(9360);e.exports=n("Array").indexOf},1935:(e,t,r)=>{r(2610);var n=r(9360);e.exports=n("Array").keys},6050:(e,t,r)=>{r(3575);var n=r(9360);e.exports=n("Array").lastIndexOf},550:(e,t,r)=>{r(9731);var n=r(9360);e.exports=n("Array").map},8866:(e,t,r)=>{r(3919);var n=r(9360);e.exports=n("Array").reduce},6375:(e,t,r)=>{r(2074);var n=r(9360);e.exports=n("Array").reverse},4220:(e,t,r)=>{r(333);var n=r(9360);e.exports=n("Array").slice},5640:(e,t,r)=>{r(7412);var n=r(9360);e.exports=n("Array").some},5789:(e,t,r)=>{r(3064);var n=r(9360);e.exports=n("Array").sort},2950:(e,t,r)=>{r(4722);var n=r(9360);e.exports=n("Array").splice},8208:(e,t,r)=>{r(2610);var n=r(9360);e.exports=n("Array").values},5050:(e,t,r)=>{r(6664);var n=r(2366);e.exports=n.Date.now},7433:(e,t,r)=>{r(7778);var n=r(9360);e.exports=n("Function").bind},9743:(e,t,r)=>{var n=r(7433),a=Function.prototype;e.exports=function(e){var t=e.bind;return e===a||e instanceof Function&&t===a.bind?n:t}},7416:(e,t,r)=>{var n=r(1985),a=Array.prototype;e.exports=function(e){var t=e.concat;return e===a||e instanceof Array&&t===a.concat?n:t}},1617:(e,t,r)=>{var n=r(7956),a=Array.prototype;e.exports=function(e){var t=e.every;return e===a||e instanceof Array&&t===a.every?n:t}},7458:(e,t,r)=>{var n=r(1972),a=Array.prototype;e.exports=function(e){var t=e.fill;return e===a||e instanceof Array&&t===a.fill?n:t}},6743:(e,t,r)=>{var n=r(9489),a=Array.prototype;e.exports=function(e){var t=e.filter;return e===a||e instanceof Array&&t===a.filter?n:t}},2887:(e,t,r)=>{var n=r(7641),a=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===a||e instanceof Array&&t===a.findIndex?n:t}},2137:(e,t,r)=>{var n=r(2851),a=Array.prototype;e.exports=function(e){var t=e.find;return e===a||e instanceof Array&&t===a.find?n:t}},3076:(e,t,r)=>{var n=r(5296),a=r(4368),i=Array.prototype,o=String.prototype;e.exports=function(e){var t=e.includes;return e===i||e instanceof Array&&t===i.includes?n:"string"==typeof e||e===o||e instanceof String&&t===o.includes?a:t}},1475:(e,t,r)=>{var n=r(2858),a=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===a||e instanceof Array&&t===a.indexOf?n:t}},3014:(e,t,r)=>{var n=r(6050),a=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===a||e instanceof Array&&t===a.lastIndexOf?n:t}},6015:(e,t,r)=>{var n=r(550),a=Array.prototype;e.exports=function(e){var t=e.map;return e===a||e instanceof Array&&t===a.map?n:t}},9846:(e,t,r)=>{var n=r(8866),a=Array.prototype;e.exports=function(e){var t=e.reduce;return e===a||e instanceof Array&&t===a.reduce?n:t}},7886:(e,t,r)=>{var n=r(6375),a=Array.prototype;e.exports=function(e){var t=e.reverse;return e===a||e instanceof Array&&t===a.reverse?n:t}},1187:(e,t,r)=>{var n=r(4220),a=Array.prototype;e.exports=function(e){var t=e.slice;return e===a||e instanceof Array&&t===a.slice?n:t}},6072:(e,t,r)=>{var n=r(5640),a=Array.prototype;e.exports=function(e){var t=e.some;return e===a||e instanceof Array&&t===a.some?n:t}},8277:(e,t,r)=>{var n=r(5789),a=Array.prototype;e.exports=function(e){var t=e.sort;return e===a||e instanceof Array&&t===a.sort?n:t}},7199:(e,t,r)=>{var n=r(2950),a=Array.prototype;e.exports=function(e){var t=e.splice;return e===a||e instanceof Array&&t===a.splice?n:t}},7317:(e,t,r)=>{var n=r(3903),a=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===a||e instanceof String&&t===a.startsWith?n:t}},3287:(e,t,r)=>{var n=r(5308),a=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===a||e instanceof String&&t===a.trim?n:t}},8093:(e,t,r)=>{r(3927);var n=r(2366);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return n.JSON.stringify.apply(null,arguments)}},7062:(e,t,r)=>{r(9369);var n=r(2366);e.exports=n.Number.isNaN},8209:(e,t,r)=>{r(6194);var n=r(2366);e.exports=n.Number.parseInt},3806:(e,t,r)=>{r(5679);var n=r(2366);e.exports=n.Object.assign},9206:(e,t,r)=>{r(2880);var n=r(2366).Object,a=e.exports=function(e,t){return n.defineProperties(e,t)};n.defineProperties.sham&&(a.sham=!0)},1469:(e,t,r)=>{r(8393);var n=r(2366).Object,a=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(a.sham=!0)},3577:(e,t,r)=>{r(4711);var n=r(2366);e.exports=n.Object.entries},4489:(e,t,r)=>{r(1685);var n=r(2366);e.exports=n.Object.freeze},5698:(e,t,r)=>{r(5985);var n=r(2366).Object,a=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(a.sham=!0)},8851:(e,t,r)=>{r(5780);var n=r(2366);e.exports=n.Object.getOwnPropertyDescriptors},7385:(e,t,r)=>{r(1174);var n=r(2366);e.exports=n.Object.getOwnPropertySymbols},3840:(e,t,r)=>{r(7731);var n=r(2366);e.exports=n.Object.keys},4378:(e,t,r)=>{r(1814);var n=r(2366);e.exports=n.Object.values},1528:(e,t,r)=>{r(270);var n=r(2366);e.exports=n.parseInt},806:(e,t,r)=>{r(8172),r(6095),r(8493),r(6087),r(325),r(7089),r(9773),r(8524);var n=r(2366);e.exports=n.Promise},4368:(e,t,r)=>{r(8820);var n=r(9360);e.exports=n("String").includes},3903:(e,t,r)=>{r(9734);var n=r(9360);e.exports=n("String").startsWith},5308:(e,t,r)=>{r(5681);var n=r(9360);e.exports=n("String").trim},5705:(e,t,r)=>{var n=r(1475);e.exports=n},34:(e,t,r)=>{var n=r(3806);e.exports=n},8566:(e,t,r)=>{var n=r(1469);e.exports=n},6218:(e,t,r)=>{var n=r(7385);e.exports=n},6753:(e,t,r)=>{var n=r(3840);e.exports=n},5580:(e,t,r)=>{var n=r(806);r(7617),r(3162),r(1247),r(2903),e.exports=n},6421:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},9245:(e,t,r)=>{var n=r(4363);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},7479:e=>{e.exports=function(){}},4319:e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},6856:(e,t,r)=>{var n=r(4363);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},1159:(e,t,r)=>{"use strict";var n=r(6298),a=r(4488),i=r(358);e.exports=function(e){for(var t=n(this),r=i(t.length),o=arguments.length,s=a(o>1?arguments[1]:void 0,r),l=o>2?arguments[2]:void 0,u=void 0===l?r:a(l,r);u>s;)t[s++]=e;return t}},3878:(e,t,r)=>{"use strict";var n=r(2865).forEach,a=r(4760)("forEach");e.exports=a?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},9204:(e,t,r)=>{"use strict";var n=r(4834),a=r(6298),i=r(5449),o=r(688),s=r(358),l=r(5453),u=r(1222);e.exports=function(e){var t,r,c,d,f,m,p=a(e),h="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,y=void 0!==v,b=u(p),E=0;if(y&&(v=n(v,g>2?arguments[2]:void 0,2)),null==b||h==Array&&o(b))for(r=new h(t=s(p.length));t>E;E++)m=y?v(p[E],E):p[E],l(r,E,m);else for(f=(d=b.call(p)).next,r=new h;!(c=f.call(d)).done;E++)m=y?i(d,v,[c.value,E],!0):c.value,l(r,E,m);return r.length=E,r}},9331:(e,t,r)=>{var n=r(2889),a=r(358),i=r(4488),o=function(e){return function(t,r,o){var s,l=n(t),u=a(l.length),c=i(o,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},2865:(e,t,r)=>{var n=r(4834),a=r(3883),i=r(6298),o=r(358),s=r(9293),l=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,c=4==e,d=6==e,f=7==e,m=5==e||d;return function(p,h,g,v){for(var y,b,E=i(p),w=a(E),S=n(h,g,3),M=o(w.length),C=0,I=v||s,N=t?I(p,M):r||f?I(p,0):void 0;M>C;C++)if((m||C in w)&&(b=S(y=w[C],C,E),e))if(t)N[C]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return C;case 2:l.call(N,y)}else switch(e){case 4:return!1;case 7:l.call(N,y)}return d?-1:u||c?c:N}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},4333:(e,t,r)=>{"use strict";var n=r(2889),a=r(8289),i=r(358),o=r(4760),s=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,c=o("lastIndexOf"),d=u||!c;e.exports=d?function(e){if(u)return l.apply(this,arguments)||0;var t=n(this),r=i(t.length),o=r-1;for(arguments.length>1&&(o=s(o,a(arguments[1]))),o<0&&(o=r+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:l},1975:(e,t,r)=>{var n=r(9978),a=r(3374),i=r(8720),o=a("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},4760:(e,t,r)=>{"use strict";var n=r(9978);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},6519:(e,t,r)=>{var n=r(6421),a=r(6298),i=r(3883),o=r(358),s=function(e){return function(t,r,s,l){n(r);var u=a(t),c=i(u),d=o(u.length),f=e?d-1:0,m=e?-1:1;if(s<2)for(;;){if(f in c){l=c[f],f+=m;break}if(f+=m,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=m)f in c&&(l=r(l,c[f],f,u));return l}};e.exports={left:s(!1),right:s(!0)}},1718:e=>{var t=Math.floor,r=function(e,i){var o=e.length,s=t(o/2);return o<8?n(e,i):a(r(e.slice(0,s),i),r(e.slice(s),i),i)},n=function(e,t){for(var r,n,a=e.length,i=1;i<a;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e},a=function(e,t,r){for(var n=e.length,a=t.length,i=0,o=0,s=[];i<n||o<a;)i<n&&o<a?s.push(r(e[i],t[o])<=0?e[i++]:t[o++]):s.push(i<n?e[i++]:t[o++]);return s};e.exports=r},9293:(e,t,r)=>{var n=r(4363),a=r(8358),i=r(3374)("species");e.exports=function(e,t){var r;return a(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!a(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},5449:(e,t,r)=>{var n=r(6856),a=r(6021);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){throw a(e),t}}},4863:(e,t,r)=>{var n=r(3374)("iterator"),a=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){a=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},7362:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},6262:(e,t,r)=>{var n=r(2434),a=r(7362),i=r(3374)("toStringTag"),o="Arguments"==a(function(){return arguments}());e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:o?a(t):"Object"==(n=a(t))&&"function"==typeof t.callee?"Arguments":n}},2373:(e,t,r)=>{var n=r(3374)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},9991:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},5158:(e,t,r)=>{"use strict";var n=r(8132).IteratorPrototype,a=r(6503),i=r(5988),o=r(76),s=r(5446),l=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=a(n,{next:i(1,r)}),o(e,u,!1,!0),s[u]=l,e}},7642:(e,t,r)=>{var n=r(9932),a=r(9577),i=r(5988);e.exports=n?function(e,t,r){return a.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},5988:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5453:(e,t,r)=>{"use strict";var n=r(4490),a=r(9577),i=r(5988);e.exports=function(e,t,r){var o=n(t);o in e?a.f(e,o,i(0,r)):e[o]=r}},4884:(e,t,r)=>{"use strict";var n=r(1427),a=r(5158),i=r(351),o=r(3276),s=r(76),l=r(7642),u=r(3640),c=r(3374),d=r(9814),f=r(5446),m=r(8132),p=m.IteratorPrototype,h=m.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",y="values",b="entries",E=function(){return this};e.exports=function(e,t,r,c,m,w,S){a(r,t,c);var M,C,I,N=function(e){if(e===m&&_)return _;if(!h&&e in A)return A[e];switch(e){case v:case y:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},D=t+" Iterator",T=!1,A=e.prototype,x=A[g]||A["@@iterator"]||m&&A[m],_=!h&&x||N(m),O="Array"==t&&A.entries||x;if(O&&(M=i(O.call(new e)),p!==Object.prototype&&M.next&&(d||i(M)===p||(o?o(M,p):"function"!=typeof M[g]&&l(M,g,E)),s(M,D,!0,!0),d&&(f[D]=E))),m==y&&x&&x.name!==y&&(T=!0,_=function(){return x.call(this)}),d&&!S||A[g]===_||l(A,g,_),f[t]=_,m)if(C={values:N(y),keys:w?_:N(v),entries:N(b)},S)for(I in C)(h||T||!(I in A))&&u(A,I,C[I]);else n({target:t,proto:!0,forced:h||T},C);return C}},6836:(e,t,r)=>{var n=r(2366),a=r(4013),i=r(8444),o=r(9577).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});a(t,e)||o(t,e,{value:i.f(e)})}},9932:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},1112:(e,t,r)=>{var n=r(100),a=r(4363),i=n.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},530:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6244:(e,t,r)=>{var n=r(5095).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},8061:e=>{e.exports="object"==typeof window},1824:(e,t,r)=>{var n=r(5095);e.exports=/MSIE|Trident/.test(n)},5601:(e,t,r)=>{var n=r(5095);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},1663:(e,t,r)=>{var n=r(7362),a=r(100);e.exports="process"==n(a.process)},4062:(e,t,r)=>{var n=r(5095);e.exports=/web0s(?!.*chrome)/i.test(n)},5095:(e,t,r)=>{var n=r(129);e.exports=n("navigator","userAgent")||""},8720:(e,t,r)=>{var n,a,i=r(100),o=r(5095),s=i.process,l=s&&s.versions,u=l&&l.v8;u?a=(n=u.split("."))[0]<4?1:n[0]+n[1]:o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(a=n[1]),e.exports=a&&+a},6919:(e,t,r)=>{var n=r(5095).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},9360:(e,t,r)=>{var n=r(2366);e.exports=function(e){return n[e+"Prototype"]}},3513:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1427:(e,t,r)=>{"use strict";var n=r(100),a=r(4498).f,i=r(608),o=r(2366),s=r(4834),l=r(7642),u=r(4013),c=function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,d,f,m,p,h,g,v,y=e.target,b=e.global,E=e.stat,w=e.proto,S=b?n:E?n[y]:(n[y]||{}).prototype,M=b?o:o[y]||(o[y]={}),C=M.prototype;for(f in t)r=!i(b?f:y+(E?".":"#")+f,e.forced)&&S&&u(S,f),p=M[f],r&&(h=e.noTargetGet?(v=a(S,f))&&v.value:S[f]),m=r&&h?h:t[f],r&&typeof p==typeof m||(g=e.bind&&r?s(m,n):e.wrap&&r?c(m):w&&"function"==typeof m?s(Function.call,m):m,(e.sham||m&&m.sham||p&&p.sham)&&l(g,"sham",!0),M[f]=g,w&&(u(o,d=y+"Prototype")||l(o,d,{}),o[d][f]=m,e.real&&C&&!C[f]&&l(C,f,m)))}},9978:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},1609:(e,t,r)=>{var n=r(9978);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},4834:(e,t,r)=>{var n=r(6421);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,a){return e.call(t,r,n,a)}}return function(){return e.apply(t,arguments)}}},4677:(e,t,r)=>{"use strict";var n=r(6421),a=r(4363),i=[].slice,o={};e.exports=Function.bind||function(e){var t=n(this),r=i.call(arguments,1),s=function(){var n=r.concat(i.call(arguments));return this instanceof s?function(e,t,r){if(!(t in o)){for(var n=[],a=0;a<t;a++)n[a]="a["+a+"]";o[t]=Function("C,a","return new C("+n.join(",")+")")}return o[t](e,r)}(t,n.length,n):t.apply(e,n)};return a(t.prototype)&&(s.prototype=t.prototype),s}},129:(e,t,r)=>{var n=r(2366),a=r(100),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(a[e]):n[e]&&n[e][t]||a[e]&&a[e][t]}},1222:(e,t,r)=>{var n=r(6262),a=r(5446),i=r(3374)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[n(e)]}},2545:(e,t,r)=>{var n=r(6856),a=r(1222);e.exports=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},100:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},4013:(e,t,r)=>{var n=r(6298),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(n(e),t)}},9658:e=>{e.exports={}},9792:(e,t,r)=>{var n=r(100);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},7180:(e,t,r)=>{var n=r(129);e.exports=n("document","documentElement")},9265:(e,t,r)=>{var n=r(9932),a=r(9978),i=r(1112);e.exports=!n&&!a((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},3883:(e,t,r)=>{var n=r(9978),a=r(7362),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i.call(e,""):Object(e)}:Object},3417:(e,t,r)=>{var n=r(7758),a=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return a.call(e)}),e.exports=n.inspectSource},3120:(e,t,r)=>{var n=r(9658),a=r(4363),i=r(4013),o=r(9577).f,s=r(3278),l=r(1609),u=s("meta"),c=0,d=Object.isExtensible||function(){return!0},f=function(e){o(e,u,{value:{objectID:"O"+ ++c,weakData:{}}})},m=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!d(e))return"F";if(!t)return"E";f(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!d(e))return!0;if(!t)return!1;f(e)}return e[u].weakData},onFreeze:function(e){return l&&m.REQUIRED&&d(e)&&!i(e,u)&&f(e),e}};n[u]=!0},1026:(e,t,r)=>{var n,a,i,o=r(4242),s=r(100),l=r(4363),u=r(7642),c=r(4013),d=r(7758),f=r(3763),m=r(9658),p="Object already initialized",h=s.WeakMap;if(o||d.state){var g=d.state||(d.state=new h),v=g.get,y=g.has,b=g.set;n=function(e,t){if(y.call(g,e))throw new TypeError(p);return t.facade=e,b.call(g,e,t),t},a=function(e){return v.call(g,e)||{}},i=function(e){return y.call(g,e)}}else{var E=f("state");m[E]=!0,n=function(e,t){if(c(e,E))throw new TypeError(p);return t.facade=e,u(e,E,t),t},a=function(e){return c(e,E)?e[E]:{}},i=function(e){return c(e,E)}}e.exports={set:n,get:a,has:i,enforce:function(e){return i(e)?a(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},688:(e,t,r)=>{var n=r(3374),a=r(5446),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||o[i]===e)}},8358:(e,t,r)=>{var n=r(7362);e.exports=Array.isArray||function(e){return"Array"==n(e)}},608:(e,t,r)=>{var n=r(9978),a=/#|\.prototype\./,i=function(e,t){var r=s[o(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},o=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},4363:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},9814:e=>{e.exports=!0},2740:(e,t,r)=>{var n=r(4363),a=r(7362),i=r(3374)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},8839:(e,t,r)=>{var n=r(6856),a=r(688),i=r(358),o=r(4834),s=r(1222),l=r(6021),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var c,d,f,m,p,h,g,v=r&&r.that,y=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),w=o(t,v,1+y+E),S=function(e){return c&&l(c),new u(!0,e)},M=function(e){return y?(n(e),E?w(e[0],e[1],S):w(e[0],e[1])):E?w(e,S):w(e)};if(b)c=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(a(d)){for(f=0,m=i(e.length);m>f;f++)if((p=M(e[f]))&&p instanceof u)return p;return new u(!1)}c=d.call(e)}for(h=c.next;!(g=h.call(c)).done;){try{p=M(g.value)}catch(e){throw l(c),e}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},6021:(e,t,r)=>{var n=r(6856);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},8132:(e,t,r)=>{"use strict";var n,a,i,o=r(9978),s=r(351),l=r(7642),u=r(4013),c=r(3374),d=r(9814),f=c("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(a=s(s(i)))!==Object.prototype&&(n=a):m=!0);var p=null==n||o((function(){var e={};return n[f].call(e)!==e}));p&&(n={}),d&&!p||u(n,f)||l(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},5446:e=>{e.exports={}},6040:(e,t,r)=>{var n,a,i,o,s,l,u,c,d=r(100),f=r(4498).f,m=r(8930).set,p=r(5601),h=r(4062),g=r(1663),v=d.MutationObserver||d.WebKitMutationObserver,y=d.document,b=d.process,E=d.Promise,w=f(d,"queueMicrotask"),S=w&&w.value;S||(n=function(){var e,t;for(g&&(e=b.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(e){throw a?o():i=void 0,e}}i=void 0,e&&e.enter()},p||g||h||!v||!y?E&&E.resolve?((u=E.resolve(void 0)).constructor=E,c=u.then,o=function(){c.call(u,n)}):o=g?function(){b.nextTick(n)}:function(){m.call(d,n)}:(s=!0,l=y.createTextNode(""),new v(n).observe(l,{characterData:!0}),o=function(){l.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),a||(a=t,o()),i=t}},959:(e,t,r)=>{var n=r(100);e.exports=n.Promise},6386:(e,t,r)=>{var n=r(8720),a=r(9978);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3694:(e,t,r)=>{var n=r(9978),a=r(3374),i=r(9814),o=a("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},4242:(e,t,r)=>{var n=r(100),a=r(3417),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(a(i))},9012:(e,t,r)=>{"use strict";var n=r(6421),a=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},8658:(e,t,r)=>{var n=r(2740);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},5382:(e,t,r)=>{var n=r(100),a=r(3637).trim,i=r(4784),o=n.parseInt,s=/^[+-]?0[Xx]/,l=8!==o(i+"08")||22!==o(i+"0x16");e.exports=l?function(e,t){var r=a(String(e));return o(r,t>>>0||(s.test(r)?16:10))}:o},989:(e,t,r)=>{"use strict";var n=r(9932),a=r(9978),i=r(5492),o=r(2455),s=r(7079),l=r(6298),u=r(3883),c=Object.assign,d=Object.defineProperty;e.exports=!c||a((function(){if(n&&1!==c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),a="abcdefghijklmnopqrst";return e[r]=7,a.split("").forEach((function(e){t[e]=e})),7!=c({},e)[r]||i(c({},t)).join("")!=a}))?function(e,t){for(var r=l(e),a=arguments.length,c=1,d=o.f,f=s.f;a>c;)for(var m,p=u(arguments[c++]),h=d?i(p).concat(d(p)):i(p),g=h.length,v=0;g>v;)m=h[v++],n&&!f.call(p,m)||(r[m]=p[m]);return r}:c},6503:(e,t,r)=>{var n,a=r(6856),i=r(7878),o=r(3513),s=r(9658),l=r(7180),u=r(1112),c=r(3763),d="prototype",f="script",m=c("IE_PROTO"),p=function(){},h=function(e){return"<"+f+">"+e+"</"+f+">"},g=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g=n?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):(t=u("iframe"),r="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var a=o.length;a--;)delete g[d][o[a]];return g()};s[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[d]=a(e),r=new p,p[d]=null,r[m]=e):r=g(),void 0===t?r:i(r,t)}},7878:(e,t,r)=>{var n=r(9932),a=r(9577),i=r(6856),o=r(5492);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=o(t),s=n.length,l=0;s>l;)a.f(e,r=n[l++],t[r]);return e}},9577:(e,t,r)=>{var n=r(9932),a=r(9265),i=r(6856),o=r(4490),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=o(t,!0),i(r),a)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},4498:(e,t,r)=>{var n=r(9932),a=r(7079),i=r(5988),o=r(2889),s=r(4490),l=r(4013),u=r(9265),c=Object.getOwnPropertyDescriptor;t.f=n?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return i(!a.f.call(e,t),e[t])}},7749:(e,t,r)=>{var n=r(2889),a=r(1655).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return o.slice()}}(e):a(n(e))}},1655:(e,t,r)=>{var n=r(3292),a=r(3513).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},2455:(e,t)=>{t.f=Object.getOwnPropertySymbols},351:(e,t,r)=>{var n=r(4013),a=r(6298),i=r(3763),o=r(9991),s=i("IE_PROTO"),l=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=a(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},3292:(e,t,r)=>{var n=r(4013),a=r(2889),i=r(9331).indexOf,o=r(9658);e.exports=function(e,t){var r,s=a(e),l=0,u=[];for(r in s)!n(o,r)&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~i(u,r)||u.push(r));return u}},5492:(e,t,r)=>{var n=r(3292),a=r(3513);e.exports=Object.keys||function(e){return n(e,a)}},7079:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,a=n&&!r.call({1:2},1);t.f=a?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},3276:(e,t,r)=>{var n=r(6856),a=r(9245);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),a(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},4775:(e,t,r)=>{var n=r(9932),a=r(5492),i=r(2889),o=r(7079).f,s=function(e){return function(t){for(var r,s=i(t),l=a(s),u=l.length,c=0,d=[];u>c;)r=l[c++],n&&!o.call(s,r)||d.push(e?[r,s[r]]:s[r]);return d}};e.exports={entries:s(!0),values:s(!1)}},6118:(e,t,r)=>{"use strict";var n=r(2434),a=r(6262);e.exports=n?{}.toString:function(){return"[object "+a(this)+"]"}},9317:(e,t,r)=>{var n=r(129),a=r(1655),i=r(2455),o=r(6856);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},2366:e=>{e.exports={}},1668:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},1282:(e,t,r)=>{var n=r(6856),a=r(4363),i=r(9012);e.exports=function(e,t){if(n(e),a(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},9335:(e,t,r)=>{var n=r(3640);e.exports=function(e,t,r){for(var a in t)r&&r.unsafe&&e[a]?e[a]=t[a]:n(e,a,t[a],r);return e}},3640:(e,t,r)=>{var n=r(7642);e.exports=function(e,t,r,a){a&&a.enumerable?e[t]=r:n(e,t,r)}},9788:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},7103:(e,t,r)=>{var n=r(100),a=r(7642);e.exports=function(e,t){try{a(n,e,t)}catch(r){n[e]=t}return t}},3609:(e,t,r)=>{"use strict";var n=r(129),a=r(9577),i=r(3374),o=r(9932),s=i("species");e.exports=function(e){var t=n(e),r=a.f;o&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},76:(e,t,r)=>{var n=r(2434),a=r(9577).f,i=r(7642),o=r(4013),s=r(6118),l=r(3374)("toStringTag");e.exports=function(e,t,r,u){if(e){var c=r?e:e.prototype;o(c,l)||a(c,l,{configurable:!0,value:t}),u&&!n&&i(c,"toString",s)}}},3763:(e,t,r)=>{var n=r(3860),a=r(3278),i=n("keys");e.exports=function(e){return i[e]||(i[e]=a(e))}},7758:(e,t,r)=>{var n=r(100),a=r(7103),i="__core-js_shared__",o=n[i]||a(i,{});e.exports=o},3860:(e,t,r)=>{var n=r(9814),a=r(7758);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.14.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},5176:(e,t,r)=>{var n=r(6856),a=r(6421),i=r(3374)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||null==(r=n(o)[i])?t:a(r)}},9413:(e,t,r)=>{var n=r(8289),a=r(9788),i=function(e){return function(t,r){var i,o,s=String(a(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===u||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):i:e?s.slice(l,l+2):o-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},1899:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",i=Math.floor,o=String.fromCharCode,s=function(e){return e+22+75*(e<26)},l=function(e,t,r){var n=0;for(e=r?i(e/700):e>>1,e+=i(e/t);e>455;n+=36)e=i(e/35);return i(n+36*e/(e+38))},u=function(e){var r=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),r--)}else t.push(a)}return t}(e);var n,u,c=e.length,d=128,f=0,m=72;for(n=0;n<e.length;n++)(u=e[n])<128&&r.push(o(u));var p=r.length,h=p;for(p&&r.push("-");h<c;){var g=t;for(n=0;n<e.length;n++)(u=e[n])>=d&&u<g&&(g=u);var v=h+1;if(g-d>i((t-f)/v))throw RangeError(a);for(f+=(g-d)*v,d=g,n=0;n<e.length;n++){if((u=e[n])<d&&++f>t)throw RangeError(a);if(u==d){for(var y=f,b=36;;b+=36){var E=b<=m?1:b>=m+26?26:b-m;if(y<E)break;var w=y-E,S=36-E;r.push(o(s(E+w%S))),y=i(w/S)}r.push(o(s(y))),m=l(f,v,h==p),f=0,++h}}++f,++d}return r.join("")};e.exports=function(e){var t,a,i=[],o=e.toLowerCase().replace(n,".").split(".");for(t=0;t<o.length;t++)a=o[t],i.push(r.test(a)?"xn--"+u(a):a);return i.join(".")}},144:(e,t,r)=>{var n=r(9978),a=r(4784);e.exports=function(e){return n((function(){return!!a[e]()||"​…᠎"!="​…᠎"[e]()||a[e].name!==e}))}},3637:(e,t,r)=>{var n=r(9788),a="["+r(4784)+"]",i=RegExp("^"+a+a+"*"),o=RegExp(a+a+"*$"),s=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(i,"")),2&e&&(r=r.replace(o,"")),r}};e.exports={start:s(1),end:s(2),trim:s(3)}},8930:(e,t,r)=>{var n,a,i,o=r(100),s=r(9978),l=r(4834),u=r(7180),c=r(1112),d=r(5601),f=r(1663),m=o.location,p=o.setImmediate,h=o.clearImmediate,g=o.process,v=o.MessageChannel,y=o.Dispatch,b=0,E={},w="onreadystatechange",S=function(e){if(E.hasOwnProperty(e)){var t=E[e];delete E[e],t()}},M=function(e){return function(){S(e)}},C=function(e){S(e.data)},I=function(e){o.postMessage(e+"",m.protocol+"//"+m.host)};p&&h||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return E[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},h=function(e){delete E[e]},f?n=function(e){g.nextTick(M(e))}:y&&y.now?n=function(e){y.now(M(e))}:v&&!d?(i=(a=new v).port2,a.port1.onmessage=C,n=l(i.postMessage,i,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&m&&"file:"!==m.protocol&&!s(I)?(n=I,o.addEventListener("message",C,!1)):n=w in c("script")?function(e){u.appendChild(c("script"))[w]=function(){u.removeChild(this),S(e)}}:function(e){setTimeout(M(e),0)}),e.exports={set:p,clear:h}},4488:(e,t,r)=>{var n=r(8289),a=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):i(r,t)}},2889:(e,t,r)=>{var n=r(3883),a=r(9788);e.exports=function(e){return n(a(e))}},8289:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},358:(e,t,r)=>{var n=r(8289),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},6298:(e,t,r)=>{var n=r(9788);e.exports=function(e){return Object(n(e))}},4490:(e,t,r)=>{var n=r(4363);e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},2434:(e,t,r)=>{var n={};n[r(3374)("toStringTag")]="z",e.exports="[object z]"===String(n)},3278:e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},4529:(e,t,r)=>{var n=r(6386);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8444:(e,t,r)=>{var n=r(3374);t.f=n},3374:(e,t,r)=>{var n=r(100),a=r(3860),i=r(4013),o=r(3278),s=r(6386),l=r(4529),u=a("wks"),c=n.Symbol,d=l?c:c&&c.withoutSetter||o;e.exports=function(e){return i(u,e)&&(s||"string"==typeof u[e])||(s&&i(c,e)?u[e]=c[e]:u[e]=d("Symbol."+e)),u[e]}},4784:e=>{e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8172:(e,t,r)=>{"use strict";var n=r(1427),a=r(351),i=r(3276),o=r(6503),s=r(7642),l=r(5988),u=r(8839),c=function(e,t){var r=this;if(!(r instanceof c))return new c(e,t);i&&(r=i(new Error(void 0),a(r))),void 0!==t&&s(r,"message",String(t));var n=[];return u(e,n.push,{that:n}),s(r,"errors",n),r};c.prototype=o(Error.prototype,{constructor:l(5,c),message:l(5,""),name:l(5,"AggregateError")}),n({global:!0},{AggregateError:c})},5802:(e,t,r)=>{"use strict";var n=r(1427),a=r(9978),i=r(8358),o=r(4363),s=r(6298),l=r(358),u=r(5453),c=r(9293),d=r(1975),f=r(3374),m=r(8720),p=f("isConcatSpreadable"),h=9007199254740991,g="Maximum allowed index exceeded",v=m>=51||!a((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),y=d("concat"),b=function(e){if(!o(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!v||!y},{concat:function(e){var t,r,n,a,i,o=s(this),d=c(o,0),f=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?o:arguments[t])){if(f+(a=l(i.length))>h)throw TypeError(g);for(r=0;r<a;r++,f++)r in i&&u(d,f,i[r])}else{if(f>=h)throw TypeError(g);u(d,f++,i)}return d.length=f,d}})},5239:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).every;n({target:"Array",proto:!0,forced:!r(4760)("every")},{every:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},1308:(e,t,r)=>{var n=r(1427),a=r(1159),i=r(7479);n({target:"Array",proto:!0},{fill:a}),i("fill")},8830:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).filter;n({target:"Array",proto:!0,forced:!r(1975)("filter")},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},8901:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).findIndex,i=r(7479),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},2283:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).find,i=r(7479),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i(o)},4739:(e,t,r)=>{"use strict";var n=r(1427),a=r(3878);n({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},4702:(e,t,r)=>{var n=r(1427),a=r(9204);n({target:"Array",stat:!0,forced:!r(4863)((function(e){Array.from(e)}))},{from:a})},9113:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).includes,i=r(7479);n({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},8165:(e,t,r)=>{"use strict";var n=r(1427),a=r(9331).indexOf,i=r(4760),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0,l=i("indexOf");n({target:"Array",proto:!0,forced:s||!l},{indexOf:function(e){return s?o.apply(this,arguments)||0:a(this,e,arguments.length>1?arguments[1]:void 0)}})},8982:(e,t,r)=>{r(1427)({target:"Array",stat:!0},{isArray:r(8358)})},2610:(e,t,r)=>{"use strict";var n=r(2889),a=r(7479),i=r(5446),o=r(1026),s=r(4884),l="Array Iterator",u=o.set,c=o.getterFor(l);e.exports=s(Array,"Array",(function(e,t){u(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},3575:(e,t,r)=>{var n=r(1427),a=r(4333);n({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},9731:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).map;n({target:"Array",proto:!0,forced:!r(1975)("map")},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},3919:(e,t,r)=>{"use strict";var n=r(1427),a=r(6519).left,i=r(4760),o=r(8720),s=r(1663);n({target:"Array",proto:!0,forced:!i("reduce")||!s&&o>79&&o<83},{reduce:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},2074:(e,t,r)=>{"use strict";var n=r(1427),a=r(8358),i=[].reverse,o=[1,2];n({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),i.call(this)}})},333:(e,t,r)=>{"use strict";var n=r(1427),a=r(4363),i=r(8358),o=r(4488),s=r(358),l=r(2889),u=r(5453),c=r(3374),d=r(1975)("slice"),f=c("species"),m=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,c,d=l(this),h=s(d.length),g=o(e,h),v=o(void 0===t?h:t,h);if(i(d)&&("function"!=typeof(r=d.constructor)||r!==Array&&!i(r.prototype)?a(r)&&null===(r=r[f])&&(r=void 0):r=void 0,r===Array||void 0===r))return m.call(d,g,v);for(n=new(void 0===r?Array:r)(p(v-g,0)),c=0;g<v;g++,c++)g in d&&u(n,c,d[g]);return n.length=c,n}})},7412:(e,t,r)=>{"use strict";var n=r(1427),a=r(2865).some;n({target:"Array",proto:!0,forced:!r(4760)("some")},{some:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},3064:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(6298),o=r(358),s=r(9978),l=r(1718),u=r(4760),c=r(6244),d=r(1824),f=r(8720),m=r(6919),p=[],h=p.sort,g=s((function(){p.sort(void 0)})),v=s((function(){p.sort(null)})),y=u("sort"),b=!s((function(){if(f)return f<70;if(!(c&&c>3)){if(d)return!0;if(m)return m<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)p.push({k:t+n,v:r})}for(p.sort((function(e,t){return t.v-e.v})),n=0;n<p.length;n++)t=p[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}}));n({target:"Array",proto:!0,forced:g||!v||!y||!b},{sort:function(e){void 0!==e&&a(e);var t=i(this);if(b)return void 0===e?h.call(t):h.call(t,e);var r,n,s=[],u=o(t.length);for(n=0;n<u;n++)n in t&&s.push(t[n]);for(s=l(s,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:String(t)>String(r)?1:-1}}(e)),r=s.length,n=0;n<r;)t[n]=s[n++];for(;n<u;)delete t[n++];return t}})},4722:(e,t,r)=>{"use strict";var n=r(1427),a=r(4488),i=r(8289),o=r(358),s=r(6298),l=r(9293),u=r(5453),c=r(1975)("splice"),d=Math.max,f=Math.min;n({target:"Array",proto:!0,forced:!c},{splice:function(e,t){var r,n,c,m,p,h,g=s(this),v=o(g.length),y=a(e,v),b=arguments.length;if(0===b?r=n=0:1===b?(r=0,n=v-y):(r=b-2,n=f(d(i(t),0),v-y)),v+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(g,n),m=0;m<n;m++)(p=y+m)in g&&u(c,m,g[p]);if(c.length=n,r<n){for(m=y;m<v-n;m++)h=m+r,(p=m+n)in g?g[h]=g[p]:delete g[h];for(m=v;m>v-n+r;m--)delete g[m-1]}else if(r>n)for(m=v-n;m>y;m--)h=m+r-1,(p=m+n-1)in g?g[h]=g[p]:delete g[h];for(m=0;m<r;m++)g[m+y]=arguments[m+2];return g.length=v-n+r,c}})},6664:(e,t,r)=>{r(1427)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},7778:(e,t,r)=>{r(1427)({target:"Function",proto:!0},{bind:r(4677)})},3927:(e,t,r)=>{var n=r(1427),a=r(129),i=r(9978),o=a("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,c=function(e,t,r){var n=r.charAt(t-1),a=r.charAt(t+1);return l.test(e)&&!u.test(a)||u.test(e)&&!l.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},d=i((function(){return'"\\udf06\\ud834"'!==o("\udf06\ud834")||'"\\udead"'!==o("\udead")}));o&&n({target:"JSON",stat:!0,forced:d},{stringify:function(e,t,r){var n=o.apply(null,arguments);return"string"==typeof n?n.replace(s,c):n}})},9369:(e,t,r)=>{r(1427)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},6194:(e,t,r)=>{var n=r(1427),a=r(5382);n({target:"Number",stat:!0,forced:Number.parseInt!=a},{parseInt:a})},5679:(e,t,r)=>{var n=r(1427),a=r(989);n({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},2880:(e,t,r)=>{var n=r(1427),a=r(9932);n({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperties:r(7878)})},8393:(e,t,r)=>{var n=r(1427),a=r(9932);n({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperty:r(9577).f})},4711:(e,t,r)=>{var n=r(1427),a=r(4775).entries;n({target:"Object",stat:!0},{entries:function(e){return a(e)}})},1685:(e,t,r)=>{var n=r(1427),a=r(1609),i=r(9978),o=r(4363),s=r(3120).onFreeze,l=Object.freeze;n({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!a},{freeze:function(e){return l&&o(e)?l(s(e)):e}})},5985:(e,t,r)=>{var n=r(1427),a=r(9978),i=r(2889),o=r(4498).f,s=r(9932),l=a((function(){o(1)}));n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(i(e),t)}})},5780:(e,t,r)=>{var n=r(1427),a=r(9932),i=r(9317),o=r(2889),s=r(4498),l=r(5453);n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,r,n=o(e),a=s.f,u=i(n),c={},d=0;u.length>d;)void 0!==(r=a(n,t=u[d++]))&&l(c,t,r);return c}})},7731:(e,t,r)=>{var n=r(1427),a=r(6298),i=r(5492);n({target:"Object",stat:!0,forced:r(9978)((function(){i(1)}))},{keys:function(e){return i(a(e))}})},6095:()=>{},1814:(e,t,r)=>{var n=r(1427),a=r(4775).values;n({target:"Object",stat:!0},{values:function(e){return a(e)}})},270:(e,t,r)=>{var n=r(1427),a=r(5382);n({global:!0,forced:parseInt!=a},{parseInt:a})},6087:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(9012),o=r(1668),s=r(8839);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=i.f(t),n=r.resolve,l=r.reject,u=o((function(){var r=a(t.resolve),i=[],o=0,l=1;s(e,(function(e){var a=o++,s=!1;i.push(void 0),l++,r.call(t,e).then((function(e){s||(s=!0,i[a]={status:"fulfilled",value:e},--l||n(i))}),(function(e){s||(s=!0,i[a]={status:"rejected",reason:e},--l||n(i))}))})),--l||n(i)}));return u.error&&l(u.value),r.promise}})},325:(e,t,r)=>{"use strict";var n=r(1427),a=r(6421),i=r(129),o=r(9012),s=r(1668),l=r(8839),u="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=o.f(t),n=r.resolve,c=r.reject,d=s((function(){var r=a(t.resolve),o=[],s=0,d=1,f=!1;l(e,(function(e){var a=s++,l=!1;o.push(void 0),d++,r.call(t,e).then((function(e){l||f||(f=!0,n(e))}),(function(e){l||f||(l=!0,o[a]=e,--d||c(new(i("AggregateError"))(o,u)))}))})),--d||c(new(i("AggregateError"))(o,u))}));return d.error&&c(d.value),r.promise}})},7089:(e,t,r)=>{"use strict";var n=r(1427),a=r(9814),i=r(959),o=r(9978),s=r(129),l=r(5176),u=r(1282),c=r(3640);if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&o((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),!a&&"function"==typeof i){var d=s("Promise").prototype.finally;i.prototype.finally!==d&&c(i.prototype,"finally",d,{unsafe:!0})}},8493:(e,t,r)=>{"use strict";var n,a,i,o,s=r(1427),l=r(9814),u=r(100),c=r(129),d=r(959),f=r(3640),m=r(9335),p=r(3276),h=r(76),g=r(3609),v=r(4363),y=r(6421),b=r(4319),E=r(3417),w=r(8839),S=r(4863),M=r(5176),C=r(8930).set,I=r(6040),N=r(1282),D=r(9792),T=r(9012),A=r(1668),x=r(1026),_=r(608),O=r(3374),k=r(8061),P=r(1663),R=r(8720),F=O("species"),L="Promise",U=x.get,B=x.set,V=x.getterFor(L),j=d&&d.prototype,z=d,H=j,$=u.TypeError,q=u.document,W=u.process,G=T.f,Y=G,K=!!(q&&q.createEvent&&u.dispatchEvent),Z="function"==typeof PromiseRejectionEvent,J="unhandledrejection",X=!1,Q=_(L,(function(){var e=E(z)!==String(z);if(!e&&66===R)return!0;if(l&&!H.finally)return!0;if(R>=51&&/native code/.test(z))return!1;var t=new z((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(t.constructor={})[F]=r,!(X=t.then((function(){}))instanceof r)||!e&&k&&!Z})),ee=Q||!S((function(e){z.all(e).catch((function(){}))})),te=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},re=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;I((function(){for(var n=e.value,a=1==e.state,i=0;r.length>i;){var o,s,l,u=r[i++],c=a?u.ok:u.fail,d=u.resolve,f=u.reject,m=u.domain;try{c?(a||(2===e.rejection&&oe(e),e.rejection=1),!0===c?o=n:(m&&m.enter(),o=c(n),m&&(m.exit(),l=!0)),o===u.promise?f($("Promise-chain cycle")):(s=te(o))?s.call(o,d,f):d(o)):f(n)}catch(e){m&&!l&&m.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},ne=function(e,t,r){var n,a;K?((n=q.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!Z&&(a=u["on"+e])?a(n):e===J&&D("Unhandled promise rejection",r)},ae=function(e){C.call(u,(function(){var t,r=e.facade,n=e.value;if(ie(e)&&(t=A((function(){P?W.emit("unhandledRejection",n,r):ne(J,r,n)})),e.rejection=P||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},oe=function(e){C.call(u,(function(){var t=e.facade;P?W.emit("rejectionHandled",t):ne("rejectionhandled",t,e.value)}))},se=function(e,t,r){return function(n){e(t,n,r)}},le=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,re(e,!0))},ue=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw $("Promise can't be resolved itself");var n=te(t);n?I((function(){var r={done:!1};try{n.call(t,se(ue,r,e),se(le,r,e))}catch(t){le(r,t,e)}})):(e.value=t,e.state=1,re(e,!1))}catch(t){le({done:!1},t,e)}}};if(Q&&(H=(z=function(e){b(this,z,L),y(e),n.call(this);var t=U(this);try{e(se(ue,t),se(le,t))}catch(e){le(t,e)}}).prototype,(n=function(e){B(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=m(H,{then:function(e,t){var r=V(this),n=G(M(this,z));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=P?W.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&re(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n,t=U(e);this.promise=e,this.resolve=se(ue,t),this.reject=se(le,t)},T.f=G=function(e){return e===z||e===i?new a(e):Y(e)},!l&&"function"==typeof d&&j!==Object.prototype)){o=j.then,X||(f(j,"then",(function(e,t){var r=this;return new z((function(e,t){o.call(r,e,t)})).then(e,t)}),{unsafe:!0}),f(j,"catch",H.catch,{unsafe:!0}));try{delete j.constructor}catch(e){}p&&p(j,H)}s({global:!0,wrap:!0,forced:Q},{Promise:z}),h(z,L,!1,!0),g(L),i=c(L),s({target:L,stat:!0,forced:Q},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:L,stat:!0,forced:l||Q},{resolve:function(e){return N(l&&this===i?z:this,e)}}),s({target:L,stat:!0,forced:ee},{all:function(e){var t=this,r=G(t),n=r.resolve,a=r.reject,i=A((function(){var r=y(t.resolve),i=[],o=0,s=1;w(e,(function(e){var l=o++,u=!1;i.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,i[l]=e,--s||n(i))}),a)})),--s||n(i)}));return i.error&&a(i.value),r.promise},race:function(e){var t=this,r=G(t),n=r.reject,a=A((function(){var a=y(t.resolve);w(e,(function(e){a.call(t,e).then(r.resolve,n)}))}));return a.error&&n(a.value),r.promise}})},8820:(e,t,r)=>{"use strict";var n=r(1427),a=r(8658),i=r(9788);n({target:"String",proto:!0,forced:!r(2373)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},9773:(e,t,r)=>{"use strict";var n=r(9413).charAt,a=r(1026),i=r(4884),o="String Iterator",s=a.set,l=a.getterFor(o);i(String,"String",(function(e){s(this,{type:o,string:String(e),index:0})}),(function(){var e,t=l(this),r=t.string,a=t.index;return a>=r.length?{value:void 0,done:!0}:(e=n(r,a),t.index+=e.length,{value:e,done:!1})}))},9734:(e,t,r)=>{"use strict";var n,a=r(1427),i=r(4498).f,o=r(358),s=r(8658),l=r(9788),u=r(2373),c=r(9814),d="".startsWith,f=Math.min,m=u("startsWith");a({target:"String",proto:!0,forced:!!(c||m||(n=i(String.prototype,"startsWith"),!n||n.writable))&&!m},{startsWith:function(e){var t=String(l(this));s(e);var r=o(f(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return d?d.call(t,n,r):t.slice(r,r+n.length)===n}})},5681:(e,t,r)=>{"use strict";var n=r(1427),a=r(3637).trim;n({target:"String",proto:!0,forced:r(144)("trim")},{trim:function(){return a(this)}})},1174:(e,t,r)=>{"use strict";var n=r(1427),a=r(100),i=r(129),o=r(9814),s=r(9932),l=r(6386),u=r(4529),c=r(9978),d=r(4013),f=r(8358),m=r(4363),p=r(6856),h=r(6298),g=r(2889),v=r(4490),y=r(5988),b=r(6503),E=r(5492),w=r(1655),S=r(7749),M=r(2455),C=r(4498),I=r(9577),N=r(7079),D=r(7642),T=r(3640),A=r(3860),x=r(3763),_=r(9658),O=r(3278),k=r(3374),P=r(8444),R=r(6836),F=r(76),L=r(1026),U=r(2865).forEach,B=x("hidden"),V="Symbol",j="prototype",z=k("toPrimitive"),H=L.set,$=L.getterFor(V),q=Object[j],W=a.Symbol,G=i("JSON","stringify"),Y=C.f,K=I.f,Z=S.f,J=N.f,X=A("symbols"),Q=A("op-symbols"),ee=A("string-to-symbol-registry"),te=A("symbol-to-string-registry"),re=A("wks"),ne=a.QObject,ae=!ne||!ne[j]||!ne[j].findChild,ie=s&&c((function(){return 7!=b(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(q,t);n&&delete q[t],K(e,t,r),n&&e!==q&&K(q,t,n)}:K,oe=function(e,t){var r=X[e]=b(W[j]);return H(r,{type:V,tag:e,description:t}),s||(r.description=t),r},se=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},le=function(e,t,r){e===q&&le(Q,t,r),p(e);var n=v(t,!0);return p(r),d(X,n)?(r.enumerable?(d(e,B)&&e[B][n]&&(e[B][n]=!1),r=b(r,{enumerable:y(0,!1)})):(d(e,B)||K(e,B,y(1,{})),e[B][n]=!0),ie(e,n,r)):K(e,n,r)},ue=function(e,t){p(e);var r=g(t),n=E(r).concat(me(r));return U(n,(function(t){s&&!ce.call(r,t)||le(e,t,r[t])})),e},ce=function(e){var t=v(e,!0),r=J.call(this,t);return!(this===q&&d(X,t)&&!d(Q,t))&&(!(r||!d(this,t)||!d(X,t)||d(this,B)&&this[B][t])||r)},de=function(e,t){var r=g(e),n=v(t,!0);if(r!==q||!d(X,n)||d(Q,n)){var a=Y(r,n);return!a||!d(X,n)||d(r,B)&&r[B][n]||(a.enumerable=!0),a}},fe=function(e){var t=Z(g(e)),r=[];return U(t,(function(e){d(X,e)||d(_,e)||r.push(e)})),r},me=function(e){var t=e===q,r=Z(t?Q:g(e)),n=[];return U(r,(function(e){!d(X,e)||t&&!d(q,e)||n.push(X[e])})),n};(l||(T((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=O(e),r=function(e){this===q&&r.call(Q,e),d(this,B)&&d(this[B],t)&&(this[B][t]=!1),ie(this,t,y(1,e))};return s&&ae&&ie(q,t,{configurable:!0,set:r}),oe(t,e)})[j],"toString",(function(){return $(this).tag})),T(W,"withoutSetter",(function(e){return oe(O(e),e)})),N.f=ce,I.f=le,C.f=de,w.f=S.f=fe,M.f=me,P.f=function(e){return oe(k(e),e)},s&&(K(W[j],"description",{configurable:!0,get:function(){return $(this).description}}),o||T(q,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),U(E(re),(function(e){R(e)})),n({target:V,stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(ee,t))return ee[t];var r=W(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!se(e))throw TypeError(e+" is not a symbol");if(d(te,e))return te[e]},useSetter:function(){ae=!0},useSimple:function(){ae=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?b(e):ue(b(e),t)},defineProperty:le,defineProperties:ue,getOwnPropertyDescriptor:de}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:me}),n({target:"Object",stat:!0,forced:c((function(){M.f(1)}))},{getOwnPropertySymbols:function(e){return M.f(h(e))}}),G)&&n({target:"JSON",stat:!0,forced:!l||c((function(){var e=W();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,r){for(var n,a=[e],i=1;arguments.length>i;)a.push(arguments[i++]);if(n=t,(m(t)||void 0!==e)&&!se(e))return f(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!se(t))return t}),a[1]=t,G.apply(null,a)}});W[j][z]||D(W[j],z,W[j].valueOf),F(W,V),_[B]=!0},7617:(e,t,r)=>{r(8172)},3162:(e,t,r)=>{r(6087)},2903:(e,t,r)=>{r(325)},1247:(e,t,r)=>{"use strict";var n=r(1427),a=r(9012),i=r(1668);n({target:"Promise",stat:!0},{try:function(e){var t=a.f(this),r=i(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},8524:(e,t,r)=>{r(2610);var n=r(530),a=r(100),i=r(6262),o=r(7642),s=r(5446),l=r(3374)("toStringTag");for(var u in n){var c=a[u],d=c&&c.prototype;d&&i(d)!==l&&o(d,l,u),s[u]=s.Array}},1614:(e,t,r)=>{var n=r(1427),a=r(100),i=r(5095),o=[].slice,s=function(e){return function(t,r){var n=arguments.length>2,a=n?o.call(arguments,2):void 0;return e(n?function(){("function"==typeof t?t:Function(t)).apply(this,a)}:t,r)}};n({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},8122:(e,t,r)=>{"use strict";r(2610);var n=r(1427),a=r(129),i=r(3694),o=r(3640),s=r(9335),l=r(76),u=r(5158),c=r(1026),d=r(4319),f=r(4013),m=r(4834),p=r(6262),h=r(6856),g=r(4363),v=r(6503),y=r(5988),b=r(2545),E=r(1222),w=r(3374),S=a("fetch"),M=a("Headers"),C=w("iterator"),I="URLSearchParams",N=I+"Iterator",D=c.set,T=c.getterFor(I),A=c.getterFor(N),x=/\+/g,_=Array(4),O=function(e){return _[e-1]||(_[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},k=function(e){try{return decodeURIComponent(e)}catch(t){return e}},P=function(e){var t=e.replace(x," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(O(r--),k);return t}},R=/[!'()~]|%20/g,F={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(e){return F[e]},U=function(e){return encodeURIComponent(e).replace(R,L)},B=function(e,t){if(t)for(var r,n,a=t.split("&"),i=0;i<a.length;)(r=a[i++]).length&&(n=r.split("="),e.push({key:P(n.shift()),value:P(n.join("="))}))},V=function(e){this.entries.length=0,B(this.entries,e)},j=function(e,t){if(e<t)throw TypeError("Not enough arguments")},z=u((function(e,t){D(this,{type:N,iterator:b(T(e).entries),kind:t})}),"Iterator",(function(){var e=A(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),H=function(){d(this,H,I);var e,t,r,n,a,i,o,s,l,u=arguments.length>0?arguments[0]:void 0,c=[];if(D(this,{type:I,entries:c,updateURL:function(){},updateSearchParams:V}),void 0!==u)if(g(u))if("function"==typeof(e=E(u)))for(r=(t=e.call(u)).next;!(n=r.call(t)).done;){if((o=(i=(a=b(h(n.value))).next).call(a)).done||(s=i.call(a)).done||!i.call(a).done)throw TypeError("Expected sequence with length 2");c.push({key:o.value+"",value:s.value+""})}else for(l in u)f(u,l)&&c.push({key:l,value:u[l]+""});else B(c,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},$=H.prototype;s($,{append:function(e,t){j(arguments.length,2);var r=T(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){j(arguments.length,1);for(var t=T(this),r=t.entries,n=e+"",a=0;a<r.length;)r[a].key===n?r.splice(a,1):a++;t.updateURL()},get:function(e){j(arguments.length,1);for(var t=T(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){j(arguments.length,1);for(var t=T(this).entries,r=e+"",n=[],a=0;a<t.length;a++)t[a].key===r&&n.push(t[a].value);return n},has:function(e){j(arguments.length,1);for(var t=T(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){j(arguments.length,1);for(var r,n=T(this),a=n.entries,i=!1,o=e+"",s=t+"",l=0;l<a.length;l++)(r=a[l]).key===o&&(i?a.splice(l--,1):(i=!0,r.value=s));i||a.push({key:o,value:s}),n.updateURL()},sort:function(){var e,t,r,n=T(this),a=n.entries,i=a.slice();for(a.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(a[t].key>e.key){a.splice(t,0,e);break}t===r&&a.push(e)}n.updateURL()},forEach:function(e){for(var t,r=T(this).entries,n=m(e,arguments.length>1?arguments[1]:void 0,3),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),o($,C,$.entries),o($,"toString",(function(){for(var e,t=T(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(U(e.key)+"="+U(e.value));return r.join("&")}),{enumerable:!0}),l(H,I),n({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof S||"function"!=typeof M||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,a=[e];return arguments.length>1&&(g(t=arguments[1])&&(r=t.body,p(r)===I&&((n=t.headers?new M(t.headers):new M).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:y(0,String(r)),headers:y(0,n)}))),a.push(t)),S.apply(this,a)}}),e.exports={URLSearchParams:H,getState:T}},668:(e,t,r)=>{"use strict";r(9773);var n,a=r(1427),i=r(9932),o=r(3694),s=r(100),l=r(7878),u=r(3640),c=r(4319),d=r(4013),f=r(989),m=r(9204),p=r(9413).codeAt,h=r(1899),g=r(76),v=r(8122),y=r(1026),b=s.URL,E=v.URLSearchParams,w=v.getState,S=y.set,M=y.getterFor("URL"),C=Math.floor,I=Math.pow,N="Invalid scheme",D="Invalid host",T="Invalid port",A=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,_=/\d/,O=/^(0x|0X)/,k=/^[0-7]+$/,P=/^\d+$/,R=/^[\dA-Fa-f]+$/,F=/[\0\t\n\r #%/:?@[\\]]/,L=/[\0\t\n\r #/:?@[\\]]/,U=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,B=/[\t\n\r]/g,V=function(e,t){var r,n,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return D;if(!(r=z(t.slice(1,-1))))return D;e.host=r}else if(Z(e)){if(t=h(t),F.test(t))return D;if(null===(r=j(t)))return D;e.host=r}else{if(L.test(t))return D;for(r="",n=m(t),a=0;a<n.length;a++)r+=Y(n[a],$);e.host=r}},j=function(e){var t,r,n,a,i,o,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=l[n]))return e;if(i=10,a.length>1&&"0"==a.charAt(0)&&(i=O.test(a)?16:8,a=a.slice(8==i?1:2)),""===a)o=0;else{if(!(10==i?P:8==i?k:R).test(a))return e;o=parseInt(a,i)}r.push(o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=I(256,5-t))return null}else if(o>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*I(256,3-n);return s},z=function(e){var t,r,n,a,i,o,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,c=++u}for(;f();){if(8==u)return;if(":"!=f()){for(t=r=0;r<4&&R.test(f());)t=16*t+parseInt(f(),16),d++,r++;if("."==f()){if(0==r)return;if(d-=r,u>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;d++}if(!_.test(f()))return;for(;_.test(f());){if(i=parseInt(f(),10),null===a)a=i;else{if(0==a)return;a=10*a+i}if(a>255)return;d++}l[u]=256*l[u]+a,2!=++n&&4!=n||u++}if(4!=n)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[u++]=t}else{if(null!==c)return;d++,c=++u}}if(null!==c)for(o=u-c,u=7;0!=u&&o>0;)s=l[u],l[u--]=l[c+o-1],l[c+--o]=s;else if(8!=u)return;return l},H=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=C(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,i=0;i<8;i++)0!==e[i]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=i),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},$={},q=f({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),W=f({},q,{"#":1,"?":1,"{":1,"}":1}),G=f({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var r=p(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return d(K,e.scheme)},J=function(e){return""!=e.username||""!=e.password},X=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var r;return 2==e.length&&A.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ee=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&Q(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},ne={},ae={},ie={},oe={},se={},le={},ue={},ce={},de={},fe={},me={},pe={},he={},ge={},ve={},ye={},be={},Ee={},we={},Se={},Me={},Ce=function(e,t,r,a){var i,o,s,l,u,c=r||ne,f=0,p="",h=!1,g=!1,v=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(U,"")),t=t.replace(B,""),i=m(t);f<=i.length;){switch(o=i[f],c){case ne:if(!o||!A.test(o)){if(r)return N;c=ie;continue}p+=o.toLowerCase(),c=ae;break;case ae:if(o&&(x.test(o)||"+"==o||"-"==o||"."==o))p+=o.toLowerCase();else{if(":"!=o){if(r)return N;p="",c=ie,f=0;continue}if(r&&(Z(e)!=d(K,p)||"file"==p&&(J(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,r)return void(Z(e)&&K[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?c=ge:Z(e)&&a&&a.scheme==e.scheme?c=oe:Z(e)?c=ce:"/"==i[f+1]?(c=se,f++):(e.cannotBeABaseURL=!0,e.path.push(""),c=we)}break;case ie:if(!a||a.cannotBeABaseURL&&"#"!=o)return N;if(a.cannotBeABaseURL&&"#"==o){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,c=Me;break}c="file"==a.scheme?ge:le;continue;case oe:if("/"!=o||"/"!=i[f+1]){c=le;continue}c=de,f++;break;case se:if("/"==o){c=fe;break}c=Ee;continue;case le:if(e.scheme=a.scheme,o==n)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==o||"\\"==o&&Z(e))c=ue;else if("?"==o)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),c=Ee;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Me}break;case ue:if(!Z(e)||"/"!=o&&"\\"!=o){if("/"!=o){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,c=Ee;continue}c=fe}else c=de;break;case ce:if(c=de,"/"!=o||"/"!=p.charAt(f+1))continue;f++;break;case de:if("/"!=o&&"\\"!=o){c=fe;continue}break;case fe:if("@"==o){h&&(p="%40"+p),h=!0,s=m(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||v){var E=Y(b,G);v?e.password+=E:e.username+=E}else v=!0}p=""}else if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(h&&""==p)return"Invalid authority";f-=m(p).length+1,p="",c=me}else p+=o;break;case me:case pe:if(r&&"file"==e.scheme){c=ye;continue}if(":"!=o||g){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)){if(Z(e)&&""==p)return D;if(r&&""==p&&(J(e)||null!==e.port))return;if(l=V(e,p))return l;if(p="",c=be,r)return;continue}"["==o?g=!0:"]"==o&&(g=!1),p+=o}else{if(""==p)return D;if(l=V(e,p))return l;if(p="",c=he,r==pe)return}break;case he:if(!_.test(o)){if(o==n||"/"==o||"?"==o||"#"==o||"\\"==o&&Z(e)||r){if(""!=p){var w=parseInt(p,10);if(w>65535)return T;e.port=Z(e)&&w===K[e.scheme]?null:w,p=""}if(r)return;c=be;continue}return T}p+=o;break;case ge:if(e.scheme="file","/"==o||"\\"==o)c=ve;else{if(!a||"file"!=a.scheme){c=Ee;continue}if(o==n)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==o)e.host=a.host,e.path=a.path.slice(),e.query="",c=Se;else{if("#"!=o){ee(i.slice(f).join(""))||(e.host=a.host,e.path=a.path.slice(),te(e)),c=Ee;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",c=Me}}break;case ve:if("/"==o||"\\"==o){c=ye;break}a&&"file"==a.scheme&&!ee(i.slice(f).join(""))&&(Q(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),c=Ee;continue;case ye:if(o==n||"/"==o||"\\"==o||"?"==o||"#"==o){if(!r&&Q(p))c=Ee;else if(""==p){if(e.host="",r)return;c=be}else{if(l=V(e,p))return l;if("localhost"==e.host&&(e.host=""),r)return;p="",c=be}continue}p+=o;break;case be:if(Z(e)){if(c=Ee,"/"!=o&&"\\"!=o)continue}else if(r||"?"!=o)if(r||"#"!=o){if(o!=n&&(c=Ee,"/"!=o))continue}else e.fragment="",c=Me;else e.query="",c=Se;break;case Ee:if(o==n||"/"==o||"\\"==o&&Z(e)||!r&&("?"==o||"#"==o)){if(".."===(u=(u=p).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(te(e),"/"==o||"\\"==o&&Z(e)||e.path.push("")):re(p)?"/"==o||"\\"==o&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(o==n||"?"==o||"#"==o))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==o?(e.query="",c=Se):"#"==o&&(e.fragment="",c=Me)}else p+=Y(o,W);break;case we:"?"==o?(e.query="",c=Se):"#"==o?(e.fragment="",c=Me):o!=n&&(e.path[0]+=Y(o,$));break;case Se:r||"#"!=o?o!=n&&("'"==o&&Z(e)?e.query+="%27":e.query+="#"==o?"%23":Y(o,$)):(e.fragment="",c=Me);break;case Me:o!=n&&(e.fragment+=Y(o,q))}f++}},Ie=function(e){var t,r,n=c(this,Ie,"URL"),a=arguments.length>1?arguments[1]:void 0,o=String(e),s=S(n,{type:"URL"});if(void 0!==a)if(a instanceof Ie)t=M(a);else if(r=Ce(t={},String(a)))throw TypeError(r);if(r=Ce(s,o,null,t))throw TypeError(r);var l=s.searchParams=new E,u=w(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},i||(n.href=De.call(n),n.origin=Te.call(n),n.protocol=Ae.call(n),n.username=xe.call(n),n.password=_e.call(n),n.host=Oe.call(n),n.hostname=ke.call(n),n.port=Pe.call(n),n.pathname=Re.call(n),n.search=Fe.call(n),n.searchParams=Le.call(n),n.hash=Ue.call(n))},Ne=Ie.prototype,De=function(){var e=M(this),t=e.scheme,r=e.username,n=e.password,a=e.host,i=e.port,o=e.path,s=e.query,l=e.fragment,u=t+":";return null!==a?(u+="//",J(e)&&(u+=r+(n?":"+n:"")+"@"),u+=H(a),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?o[0]:o.length?"/"+o.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Te=function(){var e=M(this),t=e.scheme,r=e.port;if("blob"==t)try{return new Ie(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Z(e)?t+"://"+H(e.host)+(null!==r?":"+r:""):"null"},Ae=function(){return M(this).scheme+":"},xe=function(){return M(this).username},_e=function(){return M(this).password},Oe=function(){var e=M(this),t=e.host,r=e.port;return null===t?"":null===r?H(t):H(t)+":"+r},ke=function(){var e=M(this).host;return null===e?"":H(e)},Pe=function(){var e=M(this).port;return null===e?"":String(e)},Re=function(){var e=M(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Fe=function(){var e=M(this).query;return e?"?"+e:""},Le=function(){return M(this).searchParams},Ue=function(){var e=M(this).fragment;return e?"#"+e:""},Be=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Ne,{href:Be(De,(function(e){var t=M(this),r=String(e),n=Ce(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Be(Te),protocol:Be(Ae,(function(e){var t=M(this);Ce(t,String(e)+":",ne)})),username:Be(xe,(function(e){var t=M(this),r=m(String(e));if(!X(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=Y(r[n],G)}})),password:Be(_e,(function(e){var t=M(this),r=m(String(e));if(!X(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=Y(r[n],G)}})),host:Be(Oe,(function(e){var t=M(this);t.cannotBeABaseURL||Ce(t,String(e),me)})),hostname:Be(ke,(function(e){var t=M(this);t.cannotBeABaseURL||Ce(t,String(e),pe)})),port:Be(Pe,(function(e){var t=M(this);X(t)||(""==(e=String(e))?t.port=null:Ce(t,e,he))})),pathname:Be(Re,(function(e){var t=M(this);t.cannotBeABaseURL||(t.path=[],Ce(t,e+"",be))})),search:Be(Fe,(function(e){var t=M(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ce(t,e,Se)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Be(Le),hash:Be(Ue,(function(e){var t=M(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ce(t,e,Me)):t.fragment=null}))}),u(Ne,"toJSON",(function(){return De.call(this)}),{enumerable:!0}),u(Ne,"toString",(function(){return De.call(this)}),{enumerable:!0}),b){var Ve=b.createObjectURL,je=b.revokeObjectURL;Ve&&u(Ie,"createObjectURL",(function(e){return Ve.apply(b,arguments)})),je&&u(Ie,"revokeObjectURL",(function(e){return je.apply(b,arguments)}))}g(Ie,"URL"),a({global:!0,forced:!o,sham:!i},{URL:Ie})},456:()=>{},9670:(e,t,r)=>{var n=r(3961);e.exports=n},4190:(e,t,r)=>{var n=r(9860);e.exports=n},1651:(e,t,r)=>{var n=r(150);e.exports=n},5821:(e,t,r)=>{var n=r(1935);e.exports=n},6224:(e,t,r)=>{var n=r(8208);e.exports=n},9074:(e,t,r)=>{var n=r(5050);e.exports=n},5480:(e,t,r)=>{var n=r(9743);e.exports=n},2910:(e,t,r)=>{var n=r(7416);e.exports=n},44:(e,t,r)=>{var n=r(1617);e.exports=n},9992:(e,t,r)=>{var n=r(7458);e.exports=n},4546:(e,t,r)=>{var n=r(6743);e.exports=n},7837:(e,t,r)=>{var n=r(2887);e.exports=n},8784:(e,t,r)=>{var n=r(2137);e.exports=n},3668:(e,t,r)=>{r(8524);var n=r(1651),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===i||e instanceof Array&&t===i.forEach||o.hasOwnProperty(a(e))?n:t}},6361:(e,t,r)=>{var n=r(3076);e.exports=n},1189:(e,t,r)=>{var n=r(1475);e.exports=n},8303:(e,t,r)=>{r(8524);var n=r(5821),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===i||e instanceof Array&&t===i.keys||o.hasOwnProperty(a(e))?n:t}},113:(e,t,r)=>{var n=r(3014);e.exports=n},1740:(e,t,r)=>{var n=r(6015);e.exports=n},3228:(e,t,r)=>{var n=r(9846);e.exports=n},382:(e,t,r)=>{var n=r(7886);e.exports=n},6949:(e,t,r)=>{var n=r(1187);e.exports=n},2161:(e,t,r)=>{var n=r(6072);e.exports=n},7440:(e,t,r)=>{var n=r(8277);e.exports=n},4514:(e,t,r)=>{var n=r(7199);e.exports=n},6483:(e,t,r)=>{var n=r(7317);e.exports=n},4349:(e,t,r)=>{var n=r(3287);e.exports=n},1799:(e,t,r)=>{r(8524);var n=r(6224),a=r(6262),i=Array.prototype,o={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===i||e instanceof Array&&t===i.values||o.hasOwnProperty(a(e))?n:t}},2751:(e,t,r)=>{var n=r(8093);e.exports=n},5303:(e,t,r)=>{var n=r(7062);e.exports=n},7020:(e,t,r)=>{var n=r(8209);e.exports=n},1006:(e,t,r)=>{var n=r(3806);e.exports=n},1065:(e,t,r)=>{var n=r(9206);e.exports=n},6191:(e,t,r)=>{var n=r(1469);e.exports=n},6884:(e,t,r)=>{var n=r(3577);e.exports=n},3863:(e,t,r)=>{var n=r(4489);e.exports=n},7118:(e,t,r)=>{var n=r(5698);e.exports=n},858:(e,t,r)=>{var n=r(8851);e.exports=n},8404:(e,t,r)=>{var n=r(7385);e.exports=n},8430:(e,t,r)=>{var n=r(3840);e.exports=n},7926:(e,t,r)=>{var n=r(4378);e.exports=n},779:(e,t,r)=>{var n=r(1528);e.exports=n},3800:(e,t,r)=>{var n=r(806);e.exports=n},4226:(e,t,r)=>{r(1614);var n=r(2366);e.exports=n.setInterval},9594:(e,t,r)=>{r(1614);var n=r(2366);e.exports=n.setTimeout},274:(e,t,r)=>{var n=r(592);e.exports=n},3289:(e,t,r)=>{var n=r(8938);e.exports=n},592:(e,t,r)=>{r(8122);var n=r(2366);e.exports=n.URLSearchParams},8938:(e,t,r)=>{r(668),r(456),r(8122);var n=r(2366);e.exports=n.URL},6777:e=>{function t(e,t,r){var n,a,i,o,s;function l(){var u=Date.now()-o;u<t&&u>=0?n=setTimeout(l,t-u):(n=null,r||(s=e.apply(i,a),i=a=null))}null==t&&(t=100);var u=function(){i=this,a=arguments,o=Date.now();var u=r&&!n;return n||(n=setTimeout(l,t)),u&&(s=e.apply(i,a),i=a=null),s};return u.clear=function(){n&&(clearTimeout(n),n=null)},u.flush=function(){n&&(s=e.apply(i,a),i=a=null,clearTimeout(n),n=null)},u}t.debounce=t,e.exports=t},861:e=>{"use strict";var t;e.exports=(t=[0,2,4,6,8,1,3,5,7,9],function(e){if("string"!=typeof e)throw new TypeError("Expected string input");if(!e)return!1;let r,n=e.length,a=1,i=0;for(;n;)r=parseInt(e.charAt(--n),10),a^=1,i+=a?t[r]:r;return i%10==0})},2983:function(e,t,r){var n,a;!function(i,o,s){"use strict";"undefined"!=typeof window&&r.amdO?void 0===(a="function"==typeof(n=s)?n.call(t,r,t,e):n)||(e.exports=a):e.exports?e.exports=s():o.exports?o.exports=s():o.Fingerprint2=s()}(0,this,(function(){"use strict";void 0===Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]+t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]+t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]+t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]+t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]*t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]*t[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=e[3]*t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]*t[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[2]*t[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[3]*t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]},r=function(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},n=function(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},a=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=a(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=a(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=a(e,[0,e[0]>>>1])},o=function(o,s){s=s||0;for(var l=(o=o||"").length%16,u=o.length-l,c=[0,s],d=[0,s],f=[0,0],m=[0,0],p=[2277735313,289559509],h=[1291169091,658871167],g=0;g<u;g+=16)f=[255&o.charCodeAt(g+4)|(255&o.charCodeAt(g+5))<<8|(255&o.charCodeAt(g+6))<<16|(255&o.charCodeAt(g+7))<<24,255&o.charCodeAt(g)|(255&o.charCodeAt(g+1))<<8|(255&o.charCodeAt(g+2))<<16|(255&o.charCodeAt(g+3))<<24],m=[255&o.charCodeAt(g+12)|(255&o.charCodeAt(g+13))<<8|(255&o.charCodeAt(g+14))<<16|(255&o.charCodeAt(g+15))<<24,255&o.charCodeAt(g+8)|(255&o.charCodeAt(g+9))<<8|(255&o.charCodeAt(g+10))<<16|(255&o.charCodeAt(g+11))<<24],f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f),c=r(c,27),c=e(c,d),c=e(t(c,[0,5]),[0,1390208809]),m=t(m,h),m=r(m,33),m=t(m,p),d=a(d,m),d=r(d,31),d=e(d,c),d=e(t(d,[0,5]),[0,944331445]);switch(f=[0,0],m=[0,0],l){case 15:m=a(m,n([0,o.charCodeAt(g+14)],48));case 14:m=a(m,n([0,o.charCodeAt(g+13)],40));case 13:m=a(m,n([0,o.charCodeAt(g+12)],32));case 12:m=a(m,n([0,o.charCodeAt(g+11)],24));case 11:m=a(m,n([0,o.charCodeAt(g+10)],16));case 10:m=a(m,n([0,o.charCodeAt(g+9)],8));case 9:m=a(m,[0,o.charCodeAt(g+8)]),m=t(m,h),m=r(m,33),m=t(m,p),d=a(d,m);case 8:f=a(f,n([0,o.charCodeAt(g+7)],56));case 7:f=a(f,n([0,o.charCodeAt(g+6)],48));case 6:f=a(f,n([0,o.charCodeAt(g+5)],40));case 5:f=a(f,n([0,o.charCodeAt(g+4)],32));case 4:f=a(f,n([0,o.charCodeAt(g+3)],24));case 3:f=a(f,n([0,o.charCodeAt(g+2)],16));case 2:f=a(f,n([0,o.charCodeAt(g+1)],8));case 1:f=a(f,[0,o.charCodeAt(g)]),f=t(f,p),f=r(f,31),f=t(f,h),c=a(c,f)}return c=a(c,[0,o.length]),d=a(d,[0,o.length]),c=e(c,d),d=e(d,c),c=i(c),d=i(d),c=e(c,d),d=e(d,c),("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)},s={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0,adBlock:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},l=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var r=0,n=e.length;r<n;r++)t(e[r],r,e);else for(var a in e)e.hasOwnProperty(a)&&t(e[a],a,e)},u=function(e,t){var r=[];return null==e?r:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(l(e,(function(e,n,a){r.push(t(e,n,a))})),r)},c=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},d=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},f=function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE},m=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],r=0,n=navigator.plugins.length;r<n;r++)navigator.plugins[r]&&t.push(navigator.plugins[r]);return h(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),u(t,(function(e){var t=u(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},p=function(e){var t=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window){t=u(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}}))}else t.push(e.NOT_AVAILABLE);return navigator.plugins&&(t=t.concat(m(e))),t},h=function(e){for(var t=!1,r=0,n=e.plugins.sortPluginsFor.length;r<n;r++){var a=e.plugins.sortPluginsFor[r];if(navigator.userAgent.match(a)){t=!0;break}}return t},g=function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}},v=function(e){try{return!!window.localStorage}catch(t){return e.ERROR}},y=function(e){if(R())return e.EXCLUDED;try{return!!window.indexedDB}catch(t){return e.ERROR}},b=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},E=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},w=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},S=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},M=function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]},C=function(e){var t=[],r=document.createElement("canvas");r.width=2e3,r.height=200,r.style.display="inline";var n=r.getContext("2d");return n.rect(0,0,10,10),n.rect(2,2,6,6),t.push("canvas winding:"+(!1===n.isPointInPath(5,5,"evenodd")?"yes":"no")),n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",e.dontUseFakeFontInCanvas?n.font="11pt Arial":n.font="11pt no-real-font-123",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),r.toDataURL&&t.push("canvas fp:"+r.toDataURL()),t},I=function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=B()))return null;var r=[],n=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,n);var a=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,a,e.STATIC_DRAW),n.itemSize=3,n.numItems=3;var i=e.createProgram(),o=e.createShader(e.VERTEX_SHADER);e.shaderSource(o,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(o);var s=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(s,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(s),e.attachShader(i,o),e.attachShader(i,s),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,n.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,n.numItems);try{r.push(e.canvas.toDataURL())}catch(e){}r.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),r.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),r.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),r.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),r.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),r.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),r.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),r.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),r.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var r=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===r&&(r=2),r}return null}(e)),r.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),r.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),r.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),r.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),r.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),r.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),r.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),r.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),r.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),r.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),r.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),r.push("webgl red bits:"+e.getParameter(e.RED_BITS)),r.push("webgl renderer:"+e.getParameter(e.RENDERER)),r.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),r.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),r.push("webgl vendor:"+e.getParameter(e.VENDOR)),r.push("webgl version:"+e.getParameter(e.VERSION));try{var u=e.getExtension("WEBGL_debug_renderer_info");u&&(r.push("webgl unmasked vendor:"+e.getParameter(u.UNMASKED_VENDOR_WEBGL)),r.push("webgl unmasked renderer:"+e.getParameter(u.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(l(["FLOAT","INT"],(function(t){l(["VERTEX","FRAGMENT"],(function(n){l(["HIGH","MEDIUM","LOW"],(function(a){l(["precision","rangeMin","rangeMax"],(function(i){var o=e.getShaderPrecisionFormat(e[n+"_SHADER"],e[a+"_"+t])[i];"precision"!==i&&(i="precision "+i);var s=["webgl ",n.toLowerCase()," shader ",a.toLowerCase()," ",t.toLowerCase()," ",i,":",o].join("");r.push(s)}))}))}))})),V(e),r):(V(e),r)},N=function(){try{var e=B(),t=e.getExtension("WEBGL_debug_renderer_info"),r=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return V(e),r}catch(e){return null}},D=function(){var e=document.createElement("div");e.innerHTML="&nbsp;",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},T=function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},A=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},x=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.oscpu,n=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("windows")>=0||t.indexOf("win16")>=0||t.indexOf("win32")>=0||t.indexOf("win64")>=0||t.indexOf("win95")>=0||t.indexOf("win98")>=0||t.indexOf("winnt")>=0||t.indexOf("wow64")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0||t.indexOf("x11")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0||t.indexOf("ipod")>=0||t.indexOf("crios")>=0||t.indexOf("fxios")>=0?"iOS":t.indexOf("macintosh")>=0||t.indexOf("mac_powerpc)")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows"!==e&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e&&-1===t.indexOf("cros"))return!0;if(void 0!==r){if((r=r.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(r.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(r.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===r.indexOf("win")&&-1===r.indexOf("linux")&&-1===r.indexOf("mac"))!=("Other"===e))return!0}return n.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((n.indexOf("linux")>=0||n.indexOf("android")>=0||n.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((n.indexOf("mac")>=0||n.indexOf("ipad")>=0||n.indexOf("ipod")>=0||n.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||!(n.indexOf("arm")>=0&&"Windows Phone"===e)&&(!(n.indexOf("pike")>=0&&t.indexOf("opera mini")>=0)&&((n.indexOf("win")<0&&n.indexOf("linux")<0&&n.indexOf("mac")<0&&n.indexOf("iphone")<0&&n.indexOf("ipad")<0&&n.indexOf("ipod")<0)!==("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e))))},_=function(){var e,t=navigator.userAgent.toLowerCase(),r=navigator.productSub;if(t.indexOf("edge/")>=0||t.indexOf("iemobile/")>=0)return!1;if(t.indexOf("opera mini")>=0)return!1;if(("Chrome"===(e=t.indexOf("firefox/")>=0?"Firefox":t.indexOf("opera/")>=0||t.indexOf(" opr/")>=0?"Opera":t.indexOf("chrome/")>=0?"Chrome":t.indexOf("safari/")>=0?t.indexOf("android 1.")>=0||t.indexOf("android 2.")>=0||t.indexOf("android 3.")>=0||t.indexOf("android 4.")>=0?"AOSP":"Safari":t.indexOf("trident/")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==r)return!0;var n,a=eval.toString().length;if(37===a&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===a&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===a&&"Chrome"!==e&&"AOSP"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),n=!0}catch(e){n=!1}}return n&&"Firefox"!==e&&"Other"!==e},O=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},k=function(){if(!O())return!1;var e=B(),t=!!window.WebGLRenderingContext&&!!e;return V(e),t},P=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},R=function(){return("msWriteProfilerMark"in window)+("msLaunchUri"in navigator)+("msSaveBlob"in navigator)>=2},F=function(){return void 0!==window.swfobject},L=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},U=function(e,t){var r="___fp_swf_loaded";window[r]=function(t){e(t)};var n=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}();var a={onReady:r};window.swfobject.embedSWF(t.fonts.swfPath,n,"1","1","9.0.0",!1,a,{allowScriptAccess:"always",menu:"false"},{})},B=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},V=function(e){var t=e.getExtension("WEBGL_lose_context");null!=t&&t.loseContext()},j=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(b(t))}},{key:"screenResolution",getData:function(e,t){e(d(t))}},{key:"availableScreenResolution",getData:function(e,t){e(f(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone||t.NOT_AVAILABLE):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(g(t))}},{key:"localStorage",getData:function(e,t){e(v(t))}},{key:"indexedDb",getData:function(e,t){e(y(t))}},{key:"addBehavior",getData:function(e){e(!!window.HTMLElement.prototype.addBehavior)}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(E(t))}},{key:"platform",getData:function(e,t){e(w(t))}},{key:"doNotTrack",getData:function(e,t){e(S(t))}},{key:"plugins",getData:function(e,t){P()?t.plugins.excludeIE?e(t.EXCLUDED):e(p(t)):e(m(t))}},{key:"canvas",getData:function(e,t){O()?e(C(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){k()?e(I()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){k()?e(N()):e()}},{key:"adBlock",getData:function(e){e(D())}},{key:"hasLiedLanguages",getData:function(e){e(T())}},{key:"hasLiedResolution",getData:function(e){e(A())}},{key:"hasLiedOs",getData:function(e){e(x())}},{key:"hasLiedBrowser",getData:function(e){e(_())}},{key:"touchSupport",getData:function(e){e(M())}},{key:"fonts",getData:function(e,t){var r=["monospace","sans-serif","serif"],n=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];if(t.fonts.extendedJsFonts){n=n.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])}n=(n=n.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return n.indexOf(e)===t}));var a=document.getElementsByTagName("body")[0],i=document.createElement("div"),o=document.createElement("div"),s={},l={},u=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},c=function(e,t){var r=u();return r.style.fontFamily="'"+e+"',"+t,r},d=function(e){for(var t=!1,n=0;n<r.length;n++)if(t=e[n].offsetWidth!==s[r[n]]||e[n].offsetHeight!==l[r[n]])return t;return t},f=function(){for(var e=[],t=0,n=r.length;t<n;t++){var a=u();a.style.fontFamily=r[t],i.appendChild(a),e.push(a)}return e}();a.appendChild(i);for(var m=0,p=r.length;m<p;m++)s[r[m]]=f[m].offsetWidth,l[r[m]]=f[m].offsetHeight;var h=function(){for(var e={},t=0,a=n.length;t<a;t++){for(var i=[],s=0,l=r.length;s<l;s++){var u=c(n[t],r[s]);o.appendChild(u),i.push(u)}e[n[t]]=i}return e}();a.appendChild(o);for(var g=[],v=0,y=n.length;v<y;v++)d(h[n[v]])&&g.push(n[v]);a.removeChild(o),a.removeChild(i),e(g)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return F()?L()?t.fonts.swfPath?void U((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var r=t.audio;if(r.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var n=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==n)return e(t.NOT_AVAILABLE);var a=new n(1,44100,44100),i=a.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,a.currentTime);var o=a.createDynamicsCompressor();l([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==o[e[0]]&&"function"==typeof o[e[0]].setValueAtTime&&o[e[0]].setValueAtTime(e[1],a.currentTime)})),i.connect(o),o.connect(a.destination),i.start(0),a.startRendering();var s=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/fingerprintjs/fingerprintjs with your user agent: "'+navigator.userAgent+'".'),a.oncomplete=function(){},a=null,e("audioTimeout")}),r.timeout);a.oncomplete=function(t){var r;try{clearTimeout(s),r=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),o.disconnect()}catch(t){return void e(t)}e(r)}}},{key:"enumerateDevices",getData:function(e,t){if(!c())return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],z=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/fingerprintjs/fingerprintjs#upgrade-guide-from-182-to-200")};return z.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var r,n;for(n in t)null==(r=t[n])||Object.prototype.hasOwnProperty.call(e,n)||(e[n]=r)}(e,s),e.components=e.extraComponents.concat(j);var r={data:[],addPreprocessedComponent:function(t,n){"function"==typeof e.preprocessor&&(n=e.preprocessor(t,n)),r.data.push({key:t,value:n})}},n=-1,a=function(i){if((n+=1)>=e.components.length)t(r.data);else{var o=e.components[n];if(e.excludes[o.key])a(!1);else{if(!i&&o.pauseBefore)return n-=1,void setTimeout((function(){a(!0)}),1);try{o.getData((function(e){r.addPreprocessedComponent(o.key,e),a(!1)}),e)}catch(e){r.addPreprocessedComponent(o.key,String(e)),a(!1)}}}};a(!1)},z.getPromise=function(e){return new Promise((function(t,r){z.get(e,t)}))},z.getV18=function(e,t){return null==t&&(t=e,e={}),z.get(e,(function(r){for(var n=[],a=0;a<r.length;a++){var i=r[a];if(i.value===(e.NOT_AVAILABLE||"not available"))n.push({key:i.key,value:"unknown"});else if("plugins"===i.key)n.push({key:"plugins",value:u(i.value,(function(e){var t=u(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key)&&Array.isArray(i.value))n.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;n.push({key:i.key,value:1})}else i.value?n.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):n.push({key:i.key,value:i.value})}var s=o(u(n,(function(e){return e.value})).join("~~~"),31);t(s,n)}))},z.x64hash128=o,z.VERSION="2.1.4",z}))},9602:e=>{function t(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return e}function n(e,n){const a=(n=n||{}).delimiter||".",i=n.maxDepth,o=n.transformKey||r,s={};return function e(r,l,u){u=u||1,Object.keys(r).forEach((function(c){const d=r[c],f=n.safe&&Array.isArray(d),m=Object.prototype.toString.call(d),p=t(d),h="[object Object]"===m||"[object Array]"===m,g=l?l+a+o(c):o(c);if(!f&&!p&&h&&Object.keys(d).length&&(!n.maxDepth||u<i))return e(d,g,u+1);s[g]=d}))}(e),s}e.exports=n,n.flatten=n,n.unflatten=function e(a,i){const o=(i=i||{}).delimiter||".",s=i.overwrite||!1,l=i.transformKey||r,u={};if(t(a)||"[object Object]"!==Object.prototype.toString.call(a))return a;function c(e){const t=Number(e);return isNaN(t)||-1!==e.indexOf(".")||i.object?e:t}return a=Object.keys(a).reduce((function(e,t){const r=Object.prototype.toString.call(a[t]);return!("[object Object]"===r||"[object Array]"===r)||function(e){const t=Object.prototype.toString.call(e),r="[object Array]"===t,n="[object Object]"===t;if(!e)return!0;if(r)return!e.length;if(n)return!Object.keys(e).length}(a[t])?(e[t]=a[t],e):function(e,t,r){return Object.keys(r).reduce((function(t,n){return t[e+o+n]=r[n],t}),t)}(t,e,n(a[t],i))}),{}),Object.keys(a).forEach((function(t){const r=t.split(o).map(l);let n=c(r.shift()),d=c(r[0]),f=u;for(;void 0!==d;){if("__proto__"===n)return;const e=Object.prototype.toString.call(f[n]),t="[object Object]"===e||"[object Array]"===e;if(!s&&!t&&void 0!==f[n])return;(s&&!t||!s&&null==f[n])&&(f[n]="number"!=typeof d||i.object?{}:[]),f=f[n],r.length>0&&(n=c(r.shift()),d=c(r[0]))}f[n]=e(a[t],i)})),u}},2971:(e,t,r)=>{"use strict";var n=r(2322),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},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||a}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var a=m(r);a&&a!==p&&e(t,a,n)}var o=c(r);d&&(o=o.concat(d(r)));for(var s=l(t),h=l(r),g=0;g<o.length;++g){var v=o[g];if(!(i[v]||n&&n[v]||h&&h[v]||s&&s[v])){var y=f(r,v);try{u(t,v,y)}catch(e){}}}}return t}},1485:(e,t)=>{"use strict";
10
10
  /** @license React v16.13.1
11
11
  * react-is.production.min.js
12
12
  *
@@ -79,5 +79,5 @@ object-assign
79
79
  *
80
80
  * This source code is licensed under the MIT license found in the
81
81
  * LICENSE file in the root directory of this source tree.
82
- */var r,n,a,i,o;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,l=null,u=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(u,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(u,0))},n=function(e,t){l=setTimeout(e,t)},a=function(){clearTimeout(l)},i=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,m=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=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 h&&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 d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=f.now();t.unstable_now=function(){return f.now()-g}}var v=!1,y=null,b=-1,E=5,w=0;i=function(){return t.unstable_now()>=w},o=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"):E=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,M=S.port2;S.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+E;try{y(!0,e)?M.postMessage(null):(v=!1,y=null)}catch(e){throw M.postMessage(null),e}}else v=!1},r=function(e){y=e,v||(v=!0,M.postMessage(null))},n=function(e,r){b=m((function(){e(t.unstable_now())}),r)},a=function(){p(b),b=-1}}function C(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,a=e[n];if(!(void 0!==a&&0<D(a,t)))break e;e[n]=t,e[r]=a,r=n}}function I(e){return void 0===(e=e[0])?null:e}function N(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,a=e.length;n<a;){var i=2*(n+1)-1,o=e[i],s=i+1,l=e[s];if(void 0!==o&&0>D(o,r))void 0!==l&&0>D(l,o)?(e[n]=l,e[s]=r,n=s):(e[n]=o,e[i]=r,n=i);else{if(!(void 0!==l&&0>D(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function D(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var T=[],A=[],x=1,_=null,O=3,k=!1,P=!1,R=!1;function F(e){for(var t=I(A);null!==t;){if(null===t.callback)N(A);else{if(!(t.startTime<=e))break;N(A),t.sortIndex=t.expirationTime,C(T,t)}t=I(A)}}function L(e){if(R=!1,F(e),!P)if(null!==I(T))P=!0,r(U);else{var t=I(A);null!==t&&n(L,t.startTime-e)}}function U(e,r){P=!1,R&&(R=!1,a()),k=!0;var o=O;try{for(F(r),_=I(T);null!==_&&(!(_.expirationTime>r)||e&&!i());){var s=_.callback;if(null!==s){_.callback=null,O=_.priorityLevel;var l=s(_.expirationTime<=r);r=t.unstable_now(),"function"==typeof l?_.callback=l:_===I(T)&&N(T),F(r)}else N(T);_=I(T)}if(null!==_)var u=!0;else{var c=I(A);null!==c&&n(L,c.startTime-r),u=!1}return u}finally{_=null,O=o,k=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||k||(P=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return O},t.unstable_getFirstCallbackNode=function(){return I(T)},t.unstable_next=function(e){switch(O){case 1:case 2:case 3:var t=3;break;default:t=O}var r=O;O=t;try{return e()}finally{O=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=O;O=e;try{return t()}finally{O=r}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();if("object"==typeof o&&null!==o){var l=o.delay;l="number"==typeof l&&0<l?s+l:s,o="number"==typeof o.timeout?o.timeout:B(e)}else o=B(e),l=s;return e={id:x++,callback:i,priorityLevel:e,startTime:l,expirationTime:o=l+o,sortIndex:-1},l>s?(e.sortIndex=l,C(A,e),null===I(T)&&e===I(A)&&(R?a():R=!0,n(L,l-s))):(e.sortIndex=o,C(T,e),P||k||(P=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();F(e);var r=I(T);return r!==_&&null!==_&&null!==r&&null!==r.callback&&r.startTime<=e&&r.expirationTime<_.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=O;return function(){var r=O;O=t;try{return e.apply(this,arguments)}finally{O=r}}}},9164:(e,t,r)=>{"use strict";e.exports=r(9492)},6943:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},4115:()=>{},5353:()=>{},7116:()=>{},6340:()=>{}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return a[e].call(r.exports,r,r.exports,o),r.exports}o.m=a,o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,o.d(a,i),a},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>"es5/"+{41:"messages_cs",44:"messages_no",47:"messages_lo",61:"messages_sk",79:"messages_es-ES",93:"messages_zh-HK",122:"messages_hr",140:"messages_sv",194:"messages_en-GB",195:"messages_es",259:"messages_pt",283:"messages_lt",293:"messages_ko",304:"messages_fi",348:"messages_da",398:"messages_id",456:"messages_ga",458:"messages_bg",478:"messages_ms",482:"messages_el",485:"messages_fr-CA",494:"messages_zh",495:"messages_pt-BR",589:"messages_pl",596:"messages_nl",645:"messages_fr",666:"messages_sl",691:"messages_ja",711:"messages_ar",722:"messages_hu",753:"messages_ru",772:"Tmetrix",797:"messages_it",845:"messages_th",856:"messages_tr",903:"messages_de",916:"messages_sr",961:"messages_iw"}[e]+".bundle.js",o.miniCssF=e=>"sheerid.css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="sheerid:",o.l=(e,t,a,i)=>{if(r[e])r[e].push(t);else{var s,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+a){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",n+a),s.src=e,0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous")),r[e]=[t];var f=(t,n)=>{s.onerror=s.onload=null,clearTimeout(m);var a=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach((e=>e(n))),t)return t(n)},m=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="",(()=>{var e={143:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var i=o.p+o.u(t),s=new Error;o.l(i,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[i,s,l]=r,u=0;if(i.some((t=>0!==e[t]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(l)l(o)}for(t&&t(r);u<i.length;u++)a=i[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunksheerid=self.webpackChunksheerid||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var s={};return(()=>{"use strict";o.r(s),o.d(s,{VerificationForm:()=>Fg,overrideComponent:()=>Pc,resetOptions:()=>Mn,resetOverriddenComponents:()=>Rc,setOptions:()=>Cn});var e=o(8818),t=o.n(e),r=o(3567),n=o.n(r),a=o(7917),i=o.n(a),l=o(3029),u=o.n(l),c=o(9154),d=o.n(c),f=o(6500),m=o.n(f),p=o(3537),h=o.n(p),g=o(944),v=o.n(g),y=o(6709);function b(e,t,r){return t in e?y(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==E&&E,w={searchParams:"URLSearchParams"in E,iterable:"Symbol"in E&&"iterator"in Symbol,blob:"FileReader"in E&&"Blob"in E&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in E,arrayBuffer:"ArrayBuffer"in E};if(w.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],M=ArrayBuffer.isView||function(e){return e&&S.indexOf(Object.prototype.toString.call(e))>-1};function C(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function I(e){return"string"!=typeof e&&(e=String(e)),e}function N(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return w.iterable&&(t[Symbol.iterator]=function(){return t}),t}function D(e){this.map={},e instanceof D?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function T(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function A(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function x(e){var t=new FileReader,r=A(t);return t.readAsArrayBuffer(e),r}function _(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function O(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:w.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:w.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:w.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():w.arrayBuffer&&w.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=_(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):w.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||M(e))?this._bodyArrayBuffer=_(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):w.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},w.blob&&(this.blob=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=T(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(x)}),this.text=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=A(t);return t.readAsText(e),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},w.formData&&(this.formData=function(){return this.text().then(R)}),this.json=function(){return this.text().then(JSON.parse)},this}D.prototype.append=function(e,t){e=C(e),t=I(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},D.prototype.delete=function(e){delete this.map[C(e)]},D.prototype.get=function(e){return e=C(e),this.has(e)?this.map[e]:null},D.prototype.has=function(e){return this.map.hasOwnProperty(C(e))},D.prototype.set=function(e,t){this.map[C(e)]=I(t)},D.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},D.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),N(e)},D.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),N(e)},D.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),N(e)},w.iterable&&(D.prototype[Symbol.iterator]=D.prototype.entries);var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function P(e,t){if(!(this instanceof P))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,a=(t=t||{}).body;if(e instanceof P){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new D(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new D(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),k.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function R(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),a=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(a))}})),t}function F(e,t){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new D(t.headers),this.url=t.url||"",this._initBody(e)}P.prototype.clone=function(){return new P(this,{body:this._bodyInit})},O.call(P.prototype),O.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new D(this.headers),url:this.url})},F.error=function(){var e=new F(null,{status:0,statusText:""});return e.type="error",e};var L=[301,302,303,307,308];F.redirect=function(e,t){if(-1===L.indexOf(t))throw new RangeError("Invalid status code");return new F(null,{status:t,headers:{location:e}})};var U=E.DOMException;try{new U}catch(e){U=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},U.prototype=Object.create(Error.prototype),U.prototype.constructor=U}function B(e,t){return new Promise((function(r,n){var a=new P(e,t);if(a.signal&&a.signal.aborted)return n(new U("Aborted","AbortError"));var i=new XMLHttpRequest;function o(){i.abort()}i.onload=function(){var e,t,n={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new D,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var a=r.join(":").trim();t.append(n,a)}})),t)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL");var a="response"in i?i.response:i.responseText;setTimeout((function(){r(new F(a,n))}),0)},i.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){n(new U("Aborted","AbortError"))}),0)},i.open(a.method,function(e){try{return""===e&&E.location.href?E.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?i.withCredentials=!0:"omit"===a.credentials&&(i.withCredentials=!1),"responseType"in i&&(w.blob?i.responseType="blob":w.arrayBuffer&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof D?a.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,I(t.headers[e]))})),a.signal&&(a.signal.addEventListener("abort",o),i.onreadystatechange=function(){4===i.readyState&&a.signal.removeEventListener("abort",o)}),i.send(void 0===a._bodyInit?null:a._bodyInit)}))}B.polyfill=!0,E.fetch||(E.fetch=B,E.Headers=D,E.Request=P,E.Response=F);var V=o(8675);o.n(V)()(Object)||(Object.values=function(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t});var j=o(8903),z=o.n(j);!function(e){const t="currentScript";t in e||v()(e,t,{get(){try{throw new Error}catch(n){const a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(n.stack),i=a&&a[1]||!1,o=a&&a[2]||!1,s=e.location.href.replace(e.location.hash,""),l=e.getElementsByTagName("script");let u,c,d,f=0;var t;if(i===s)u=e.documentElement.outerHTML,c=new RegExp(`(?:[^\\n]+?\\n){0,${o-2}}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*`,"i"),d=z()(t=u.replace(c,"$1")).call(t);for(;f<l.length;f+=1){var r;if("interactive"===l[f].readyState)return l[f];if(l[f].src===i)return l[f];if(i===s&&l[f].innerHTML&&z()(r=l[f].innerHTML).call(r)===d)return l[f]}return null}}})}(document);var H=o(9910),$=o.n(H);"function"!=typeof $()&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r=Object(e);for(let e=1;e<arguments.length;e+=1){const t=arguments[e];if(null!=t)for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}return r});var q=o(6255),W=o(3059),G=o(3371),Y=o.n(G),K=o(3049),Z=o.n(K),J=o(1306),X=o.n(J),Q=o(210),ee=o.n(Q),te=o(2021),re=o.n(te),ne=o(3305),ae=o.n(ne);function ie(e){return ae()(e)}function oe(e,t){try{return e()}catch(e){return t}}function se(...e){const r=e=>e&&"object"==typeof e;function n(e,a){var i;return d()(i=t()(a)).call(i,(t=>{const i=e[t],o=a[t];X()(i)&&X()(o)?e[t]=ee()(i).call(i,o):r(i)&&r(o)?e[t]=n($()({},i),o):e[t]=o})),e}if(e.length<2)throw new Error("deepMerge: this function expects at least 2 objects to be provided");if(re()(e).call(e,(e=>!r(e))))throw new Error('deepMerge: all values should be of type "object"');const a=e.shift();let i;for(;i=e.shift();)n(a,i);return a}let le=4,ue="";const ce={info:1,log:2,warn:3,error:4},de={info:"#26c1db",log:"#09f979",warn:"#f6b13f",error:"#e12046"},fe="color: white; font-weight: bold; padding: 2px 10px;";let me;const pe=(...e)=>{le<=3&&console.warn(`%c${ue} warn`,`background: ${de.warn};${fe}`,...e)},he={error:(e,t)=>{if(le<=4){if(!e)return void console.error(new Error("An error must be supplied"));let r;"string"==typeof e&&(r=new Error(e)),(e=>e&&e.stack&&e.message)(e)&&(r=e),r||(r=new Error("Unknown error"));let n={errorMessageGroup:t};try{if(me&&me.getState){const e=me.getState(),r=oe((()=>e.verificationResponse.errorIds));n={errorMessageGroup:t,programId:oe((()=>e.programId)),isLoading:oe((()=>e.isLoading)),isErrored:oe((()=>e.isErrored)),errorIdsFromVerRsp:X()(r)?r.join:void 0,verificationId:oe((()=>e.verificationResponse.verificationId)),currentStep:oe((()=>e.verificationResponse.currentStep)),locale:oe((()=>e.programTheme.intl.locale)),isTestMode:oe((()=>e.programTheme.isTestMode)),openOrgSearchEnabled:oe((()=>e.programTheme.openOrgSearchEnabled)),jslibVerActual:oe((()=>window.sheerIdPubV),"?"),jslibVerRequested:oe((()=>window.sheerIdReqV),"?")}}}catch(e){console.warn("Unable to assemble useful error attributes",e)}try{window.NREUM?window.NREUM.noticeError(r,n):pe("Off-site logging not available.")}catch(e){console.error("Unable to send error to remote service",e)}console.error(`%c${ue} error`,`background: ${de.error};${fe}`,r,n)}},warn:pe,log:(...e)=>{le<=2&&console.log(`%c${ue} log`,`background: ${de.log};${fe}`,...e)},info:(...e)=>{le<=1&&console.log(`%c${ue} info`,`background: ${de.info};${fe}`,...e)},logAPIResponseTime:(e,t)=>{window.NREUM?window.NREUM.addPageAction("API-calls-timing",{api_call:e,api_response_time:t}):pe("Off-site logging not available.")},setLogLevel:e=>{if(!ce.hasOwnProperty(e))throw new Error(`Unknown logLevel '${e}'`);le=ce[e],console.log(`%c${ue} log level set to ${e}`,`background: ${de[e]};${fe}`)},setPrefix:e=>{ue=e},init:e=>{me=e}},ge=["ar","bg","cs","da","de","el","en-GB","en-US","es-ES","es","fi","fr-CA","fr","ga","hr","hu","id","it","iw","ja","ko","lo","lt","ms","nl","no","pl","pt-BR","pt","ro","ru","sk","sl","sr","sv","ur","vi","th","tr","zh-HK","zh","zu"];let ve;!function(e){e.collectStudentPersonalInfo="collectStudentPersonalInfo",e.collectTeacherPersonalInfo="collectTeacherPersonalInfo",e.collectMemberPersonalInfo="collectMemberPersonalInfo",e.collectMilitaryStatus="collectMilitaryStatus",e.collectActiveMilitaryPersonalInfo="collectActiveMilitaryPersonalInfo",e.collectInactiveMilitaryPersonalInfo="collectInactiveMilitaryPersonalInfo",e.collectSeniorPersonalInfo="collectSeniorPersonalInfo",e.collectAgePersonalInfo="collectAgePersonalInfo",e.collectFirstResponderPersonalInfo="collectFirstResponderPersonalInfo",e.collectMedicalProfessionalPersonalInfo="collectMedicalProfessionalPersonalInfo",e.collectEmployeePersonalInfo="collectEmployeePersonalInfo",e.collectSocialSecurityNumber="collectSocialSecurityNumber",e.cancelSocialSecurityNumber="cancelSocialSecurityNumber",e.collectDriverLicensePersonalInfo="collectDriverLicensePersonalInfo",e.collectGeneralIdentityPersonalInfo="collectGeneralIdentityPersonalInfo",e.collectHybridIdentityPersonalInfo="collectHybridIdentityPersonalInfo",e.collectLicensedProfessionalPersonalInfo="collectLicensedProfessionalPersonalInfo",e.collectMoverPersonalInfo="collectMoverPersonalInfo",e.collectLowIncomePersonalInfo="collectLowIncomePersonalInfo",e.docUpload="docUpload",e.pending="pending",e.docReviewLimitExceeded="docReviewLimitExceeded",e.success="success",e.error="error",e.sso="sso",e.smsLoop="smsLoop",e.emailLoop="emailLoop",e.cancelEmailLoop="cancelEmailLoop",e.consolation="consolation",e.override="override",e.cancelDocUpload="cancelDocUpload",e.missingRequiredMetadata="missingRequiredMetadata"}(ve||(ve={}));const ye=Y()(ve),be=i()(ye).call(ye,(e=>Z()(e).call(e,"collect")));let Ee;!function(e){e.docUpload="docUpload",e.pending="pending",e.error="error"}(Ee||(Ee={}));Y()(Ee);let we;!function(e){e.loading="loading",e.collect="collect"}(we||(we={}));const Se=[...Y()(ve),...Y()(we)];let Me,Ce;!function(e){e.student="collectStudentPersonalInfo",e.military="collectActiveMilitaryPersonalInfo",e.teacher="collectTeacherPersonalInfo",e.firstResponder="collectFirstResponderPersonalInfo",e.senior="collectSeniorPersonalInfo",e.age="collectAgePersonalInfo",e.medical="collectMedicalProfessionalPersonalInfo",e.recentMover="collectMoverPersonalInfo",e.licensedProfessional="collectLicensedProfessionalPersonalInfo",e.identity="collectGeneralIdentityPersonalInfo",e.member="collectMemberPersonalInfo"}(Me||(Me={})),function(e){e.STUDENT="student",e.MILITARY="military",e.TEACHER="teacher",e.MEMBER="member",e.SENIOR="senior",e.AGE="age",e.FIRST_RESPONDER="firstResponder",e.MEDICAL="medical",e.EMPLOYMENT="employment",e.IDENTITY="identity",e.LICENSED_PROFESSIONAL="licensedProfessional",e.RECENT_MOVER="recentMover",e.LOW_INCOME="lowIncome"}(Ce||(Ce={}));const Ie=Y()(Ce);let Ne;!function(e){e.ACTIVE_DUTY="activeDuty",e.VETERAN="veteran",e.RESERVIST="reservist",e.MILITARY_RETIREE="retiree",e.MILITARY_FAMILY="militaryFamily",e.GOLD_STAR_FAMILY="goldStarFamily",e.FIREFIGHTER="fireFighter",e.POLICE="police",e.EMT="emt",e.NURSE="nurse",e.DRIVER_LICENSE="driverLicense",e.GENERAL_IDENTITY="generalIdentity",e.HYBRID_IDENTITY="hybridIdentity",e.HOME_BUYER="homeBuyer",e.OTHER_MOVER="otherMover",e.LICENSED_COSMETOLOGIST="licensedCosmetologist",e.LICENSED_REAL_ESTATE_AGENT="licensedRealEstateAgent",e.VETERINARIAN="Veterinarian",e.SNAP_BENEFITS="snapBenefits",e.OTHER_GOVERNMENT_ASSISTANCE="otherGovernmentAssistance",e.CHILD_CARE_WORKER="childCareWorker",e.LIBRARIAN="librarian"}(Ne||(Ne={}));Y()(Ne);const De={ACTIVE_DUTY:"Active Duty",MILITARY_RETIREE:"Military Retiree",RESERVIST:"Reservist or National Guard",VETERAN:"Military Veteran or Retiree",MILITARY_FAMILY:"Military Family",GOLD_STAR_FAMILY:"Gold Star Family"},Te=["Air Force Reserve","Air National Guard","Army Reserve","Army National Guard","Coast Guard Reserve","Marine Corps Forces Reserve","Navy Reserve"],Ae={FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue"},xe={NURSE:"Nurse",DOCTOR:"Doctor",OTHER_HEALTH_WORKER:"Other Health Worker",DENTIST:"Dentist",PHARMACIST:"Pharmacist"};Y()(De),Y()(Ae),Y()(xe),Y()({HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover"}),Y()({SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"});let _e;!function(e){e.firstName="firstName",e.lastName="lastName",e.memberId="memberId",e.organization="organization",e.birthDate="birthDate",e.email="email",e.phoneNumber="phoneNumber",e.postalCode="postalCode",e.address1="address1",e.city="city",e.country="country",e.state="state",e.dischargeDate="dischargeDate",e.activeDutyStartDate="activeDutyStartDate",e.docUpload="docUpload",e.status="status",e.statuses="statuses",e.marketConsentValue="marketConsentValue",e.socialSecurityNumber="socialSecurityNumber",e.carrierConsentValue="carrierConsentValue",e.driverLicenseNumber="driverLicenseNumber",e.ebtCardNumber="ebtCardNumber",e.overrideCode="overrideCode"}(_e||(_e={}));const Oe=Y()(_e);let ke;!function(e){e.ON_VERIFICATION_READY="ON_VERIFICATION_READY",e.ON_VERIFICATION_SUCCESS="ON_VERIFICATION_SUCCESS",e.ON_VERIFICATION_STEP_CHANGE="ON_VERIFICATION_STEP_CHANGE",e.ON_FORM_LOCALE_CHANGE="ON_FORM_LOCALE_CHANGE"}(ke||(ke={}));const Pe=Y()(ke);let Re;!function(e){e.AK="AK",e.AL="AL",e.AR="AR",e.AZ="AZ",e.AS="AS",e.CA="CA",e.CO="CO",e.CT="CT",e.DC="DC",e.DE="DE",e.FL="FL",e.GA="GA",e.GU="GU",e.HI="HI",e.IA="IA",e.ID="ID",e.IL="IL",e.IN="IN",e.KS="KS",e.KY="KY",e.LA="LA",e.MA="MA",e.MD="MD",e.ME="ME",e.MI="MI",e.MN="MN",e.MO="MO",e.MS="MS",e.MT="MT",e.NC="NC",e.ND="ND",e.NE="NE",e.NH="NH",e.NJ="NJ",e.NM="NM",e.NV="NV",e.NY="NY",e.OH="OH",e.OK="OK",e.OR="OR",e.PA="PA",e.PR="PR",e.RI="RI",e.SC="SC",e.SD="SD",e.TN="TN",e.TX="TX",e.UT="UT",e.VA="VA",e.VI="VI",e.VT="VT",e.WA="WA",e.WI="WI",e.WV="WV",e.WY="WY"}(Re||(Re={}));var Fe=o(7116),Le=o.n(Fe),Ue=o(8314),Be=o.n(Ue),Ve=o(1962),je=o.n(Ve),ze=o(914),He=o.n(ze),$e=o(2971),qe=o.n($e),We=o(5958),Ge=o.n(We);function Ye(e){return JSON.stringify(e.map((function(e){return e&&"object"==typeof e?(t=e,Object.keys(t).sort().map((function(e){var r;return(r={})[e]=t[e],r}))):e;var t})))}const Ke=function(e,t){return void 0===t&&(t={}),function(){for(var r,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=Ye(n),o=i&&t[i];return o||(o=new((r=e).bind.apply(r,[void 0].concat(n))),i&&(t[i]=o)),o}};var Ze={locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],a=Number(r[0])==e,i=a&&r[0].slice(-1),o=a&&r[0].slice(-2);return t?1==i&&11!=o?"one":2==i&&12!=o?"two":3==i&&13!=o?"few":"other":1==e&&n?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}};function Je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach((function(e){e&&e.locale&&(Be().__addLocaleData(e),je().__addLocaleData(e))}))}function Xe(e){var t=e&&e.toLowerCase();return!(!Be().__localeData__[t]||!je().__localeData__[t])}var Qe="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},et=(function(){function e(e){this.value=e}function t(t){var r,n;function a(r,n){try{var o=t[r](n),s=o.value;s instanceof e?Promise.resolve(s.value).then((function(e){a("next",e)}),(function(e){a("throw",e)})):i(o.done?"return":"normal",o.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?a(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(i,o){var s={key:e,arg:t,resolve:i,reject:o,next:null};n?n=n.next=s:(r=n=s,a(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),tt=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nt=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},at=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},it=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},ot=He().bool,st=He().number,lt=He().string,ut=He().func,ct=He().object,dt=He().oneOf,ft=He().shape,mt=He().any,pt=He().oneOfType,ht=dt(["best fit","lookup"]),gt=dt(["narrow","short","long"]),vt=dt(["numeric","2-digit"]),yt=ut.isRequired,bt={locale:lt,timeZone:lt,formats:ct,messages:ct,textComponent:mt,defaultLocale:lt,defaultFormats:ct,onError:ut},Et={formatDate:yt,formatTime:yt,formatRelative:yt,formatNumber:yt,formatPlural:yt,formatMessage:yt,formatHTMLMessage:yt},wt=ft(rt({},bt,Et,{formatters:ct,now:yt})),St=(lt.isRequired,pt([lt,ct]),{localeMatcher:ht,formatMatcher:dt(["basic","best fit"]),timeZone:lt,hour12:ot,weekday:gt,era:gt,year:vt,month:dt(["numeric","2-digit","narrow","short","long"]),day:vt,hour:vt,minute:vt,second:vt,timeZoneName:dt(["short","long"])}),Mt={localeMatcher:ht,style:dt(["decimal","currency","percent"]),currency:lt,currencyDisplay:dt(["symbol","code","name"]),useGrouping:ot,minimumIntegerDigits:st,minimumFractionDigits:st,maximumFractionDigits:st,minimumSignificantDigits:st,maximumSignificantDigits:st},Ct={style:dt(["best fit","numeric"]),units:dt(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])},It={style:dt(["cardinal","ordinal"])},Nt=Object.keys(bt),Dt={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Tt=/[&><"']/g;function At(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((function(t,n){return e.hasOwnProperty(n)?t[n]=e[n]:r.hasOwnProperty(n)&&(t[n]=r[n]),t}),{})}function xt(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;Ge()(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function _t(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":Qe(e))||null===e||"object"!==(void 0===t?"undefined":Qe(t))||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),i=0;i<r.length;i++)if(!a(r[i])||e[r[i]]!==t[r[i]])return!1;return!0}function Ot(e,t,r){var n=e.props,a=e.state,i=e.context,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=(void 0===i?{}:i).intl,l=void 0===s?{}:s,u=o.intl,c=void 0===u?{}:u;return!_t(t,n)||!_t(r,a)||!(c===l||_t(At(c,Nt),At(l,Nt)))}function kt(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function Pt(e){0}function Rt(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.intlPropName,a=void 0===n?"intl":n,i=r.withRef,o=void 0!==i&&i,s=function(t){function r(e,t){et(this,r);var n=at(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t));return xt(t),n}return nt(r,t),tt(r,[{key:"getWrappedInstance",value:function(){return Ge()(o,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`"),this._wrappedInstance}},{key:"render",value:function(){var t,r,n,i=this;return q.createElement(e,rt({},this.props,(t={},r=a,n=this.context.intl,r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t),{ref:o?function(e){return i._wrappedInstance=e}:null}))}}]),r}(q.Component);return s.displayName="InjectIntl("+(((t=e).displayName||t.name||"Component")+")"),s.contextTypes={intl:wt},s.WrappedComponent=e,qe()(s,e)}var Ft=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,e);var n,a="ordinal"===r.style,i=(n=function(e){return Be().prototype._resolveLocale(e)}(t),Be().prototype._findPluralRuleFunction(n));this.format=function(e){return i(e,a)}},Lt=Object.keys(St),Ut=Object.keys(Mt),Bt=Object.keys(Ct),Vt=Object.keys(It),jt={second:60,minute:60,hour:24,day:30,month:12};function zt(e){var t=je().thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month,t["second-short"]=e["second-short"],t["minute-short"]=e["minute-short"],t["hour-short"]=e["hour-short"],t["day-short"]=e["day-short"],t["month-short"]=e["month-short"]}function Ht(e,t,r,n){var a=e&&e[t]&&e[t][r];if(a)return a;n(kt("No "+t+" format named: "+r))}function $t(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.messages,s=e.defaultLocale,l=e.defaultFormats,u=r.id,c=r.defaultMessage;Ge()(u,"[React Intl] An `id` must be provided to format a message.");var d=o&&o[u];if(!(Object.keys(n).length>0))return d||c||u;var f=void 0,m=e.onError||Pt;if(d)try{f=t.getMessageFormat(d,a,i).format(n)}catch(e){m(kt('Error formatting message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":""),e))}else(!c||a&&a.toLowerCase()!==s.toLowerCase())&&m(kt('Missing message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":"")));if(!f&&c)try{f=t.getMessageFormat(c,s,l).format(n)}catch(e){m(kt('Error formatting the default message for: "'+u+'"',e))}return f||m(kt('Cannot format message: "'+u+'", using message '+(d||c?"source":"id")+" as fallback.")),f||d||c||u}var qt=Object.freeze({formatDate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.timeZone,s=n.format,l=e.onError||Pt,u=new Date(r),c=rt({},o&&{timeZone:o},s&&Ht(i,"date",s,l)),d=At(n,Lt,c);try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(kt("Error formatting date.",e))}return String(u)},formatTime:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.timeZone,s=n.format,l=e.onError||Pt,u=new Date(r),c=rt({},o&&{timeZone:o},s&&Ht(i,"time",s,l)),d=At(n,Lt,c);d.hour||d.minute||d.second||(d=rt({},d,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(kt("Error formatting time.",e))}return String(u)},formatRelative:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=n.format,s=e.onError||Pt,l=new Date(r),u=new Date(n.now),c=o&&Ht(i,"relative",o,s),d=At(n,Bt,c),f=rt({},je().thresholds);zt(jt);try{return t.getRelativeFormat(a,d).format(l,{now:isFinite(u)?u:t.now()})}catch(e){s(kt("Error formatting relative time.",e))}finally{zt(f)}return String(l)},formatNumber:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=n.format,s=e.onError||Pt,l=o&&Ht(i,"number",o,s),u=At(n,Ut,l);try{return t.getNumberFormat(a,u).format(r)}catch(e){s(kt("Error formatting number.",e))}return String(r)},formatPlural:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=At(n,Vt),o=e.onError||Pt;try{return t.getPluralFormat(a,i).format(r)}catch(e){o(kt("Error formatting plural.",e))}return"other"},formatMessage:$t,formatHTMLMessage:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=Object.keys(n).reduce((function(e,t){var r=n[t];return e[t]="string"==typeof r?(""+r).replace(Tt,(function(e){return Dt[e]})):r,e}),{});return $t(e,t,r,a)}}),Wt=Object.keys(bt),Gt=Object.keys(Et),Yt={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:Pt},Kt=function(e){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));Ge()("undefined"!=typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var a=r.intl,i=void 0;i=isFinite(e.initialNow)?Number(e.initialNow):a?a.now():Date.now();var o=(a||{}).formatters,s=void 0===o?{getDateTimeFormat:Ke(Intl.DateTimeFormat),getNumberFormat:Ke(Intl.NumberFormat),getMessageFormat:Ke(Be()),getRelativeFormat:Ke(je()),getPluralFormat:Ke(Ft)}:o;return n.state=rt({},s,{now:function(){return n._didDisplay?Date.now():i}}),n}return nt(t,e),tt(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=At(this.props,Wt,e);for(var r in Yt)void 0===t[r]&&(t[r]=Yt[r]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(Xe(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var n=t,a=n.locale,i=n.defaultLocale,o=n.defaultFormats;(0,n.onError)(kt('Missing locale data for locale: "'+a+'". Using default locale: "'+i+'" as fallback.')),t=rt({},t,{locale:i,formats:o,messages:Yt.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return Gt.reduce((function(r,n){return r[n]=qt[n].bind(null,e,t),r}),{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),r=this.state,n=r.now,a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["now"]);return{intl:rt({},e,t,{formatters:a,now:n})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"componentDidMount",value:function(){this._didDisplay=!0}},{key:"render",value:function(){return q.Children.only(this.props.children)}}]),t}(q.Component);Kt.displayName="IntlProvider",Kt.contextTypes={intl:wt},Kt.childContextTypes={intl:wt.isRequired};var Zt=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatDate,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);Zt.displayName="FormattedDate",Zt.contextTypes={intl:wt};var Jt=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatTime,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);Jt.displayName="FormattedTime",Jt.contextTypes={intl:wt};var Xt=36e5,Qt=864e5;var er=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));xt(r);var a=isFinite(e.initialNow)?Number(e.initialNow):r.intl.now();return n.state={now:a},n}return nt(t,e),tt(t,[{key:"scheduleNextUpdate",value:function(e,t){var r=this;clearTimeout(this._timer);var n=e.value,a=e.units,i=e.updateInterval,o=new Date(n).getTime();if(i&&isFinite(o)){var s=o-t.now,l=function(e){switch(e){case"second":return 1e3;case"minute":return 6e4;case"hour":return Xt;case"day":return Qt;default:return 2147483647}}(a||function(e){var t=Math.abs(e);return t<6e4?"second":t<Xt?"minute":t<Qt?"hour":"day"}(s)),u=Math.abs(s%l),c=s<0?Math.max(i,l-u):Math.max(i,u);this._timer=setTimeout((function(){r.setState({now:r.context.intl.now()})}),c)}}},{key:"componentDidMount",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillReceiveProps",value:function(e){(function(e,t){if(e===t)return!0;var r=new Date(e).getTime(),n=new Date(t).getTime();return isFinite(r)&&isFinite(n)&&r===n})(e.value,this.props.value)||this.setState({now:this.context.intl.now()})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"componentWillUpdate",value:function(e,t){this.scheduleNextUpdate(e,t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this._timer)}},{key:"render",value:function(){var e=this.context.intl,t=e.formatRelative,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,rt({},this.props,this.state));return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);er.displayName="FormattedRelative",er.contextTypes={intl:wt},er.defaultProps={updateInterval:1e4};var tr=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatNumber,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);tr.displayName="FormattedNumber",tr.contextTypes={intl:wt};var rr=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatPlural,r=e.textComponent,n=this.props,a=n.value,i=n.other,o=n.children,s=t(a,this.props),l=this.props[s]||i;return"function"==typeof o?o(l):q.createElement(r,null,l)}}]),t}(q.Component);rr.displayName="FormattedPlural",rr.contextTypes={intl:wt},rr.defaultProps={style:"cardinal"};var nr=function(e,t){return $t({},{getMessageFormat:Ke(Be())},e,t)},ar=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return e.defaultMessage||xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!_t(e.values,t))return!0;for(var r=rt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return Ot.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e,t=this.context.intl||{},r=t.formatMessage,n=void 0===r?nr:r,a=t.textComponent,i=void 0===a?"span":a,o=this.props,s=o.id,l=o.description,u=o.defaultMessage,c=o.values,d=o.tagName,f=void 0===d?i:d,m=o.children,p=void 0,h=void 0,g=void 0;if(c&&Object.keys(c).length>0){var v=Math.floor(1099511627776*Math.random()).toString(16),y=(e=0,function(){return"ELEMENT-"+v+"-"+(e+=1)});p="@__"+v+"__@",h={},g={},Object.keys(c).forEach((function(e){var t=c[e];if((0,q.isValidElement)(t)){var r=y();h[e]=p+r+p,g[r]=t}else h[e]=t}))}var b=n({id:s,description:l,defaultMessage:u},h||c),E=void 0;return E=g&&Object.keys(g).length>0?b.split(p).filter((function(e){return!!e})).map((function(e){return g[e]||e})):[b],"function"==typeof m?m.apply(void 0,it(E)):q.createElement.apply(void 0,[f,null].concat(it(E)))}}]),t}(q.Component);ar.displayName="FormattedMessage",ar.contextTypes={intl:wt},ar.defaultProps={values:{}};var ir=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!_t(e.values,t))return!0;for(var r=rt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return Ot.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatHTMLMessage,r=e.textComponent,n=this.props,a=n.id,i=n.description,o=n.defaultMessage,s=n.values,l=n.tagName,u=void 0===l?r:l,c=n.children,d=t({id:a,description:i,defaultMessage:o},s);if("function"==typeof c)return c(d);var f={__html:d};return q.createElement(u,{dangerouslySetInnerHTML:f})}}]),t}(q.Component);ir.displayName="FormattedHTMLMessage",ir.contextTypes={intl:wt},ir.defaultProps={values:{}},Je(Ze),Je(Le());var or=o(7166),sr=o.n(or),lr=o(2665),ur=o.n(lr),cr=o(2409),dr=o.n(cr);class fr extends q.Component{constructor(e){var t;super(e),b(this,"notificationTimeout",void 0),b(this,"timeoutRef",void 0),this.doCopy=sr()(t=this.doCopy).call(t,this),this.state={isShowing:!1},e.notificationTimeout?this.notificationTimeout=e.notificationTimeout:this.notificationTimeout=2e3}componentWillUnmount(){clearTimeout(this.timeoutRef)}doCopy(){const{textToCopy:e}=this.props;dr()(e),this.setState((()=>({isShowing:!0}))),clearTimeout(this.timeoutRef),this.timeoutRef=ur()((()=>{this.setState((()=>({isShowing:!1})))}),this.notificationTimeout)}render(){const{isShowing:e}=this.state,{notificationText:t,children:r}=this.props;return q.createElement("div",{className:"sid-to-clipboard"},e&&q.createElement("div",{className:""+(e?"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible":"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden"),role:"alert","aria-live":"polite"},t||"Copied"),q.createElement("div",{onClick:this.doCopy,onKeyPress:this.doCopy,role:"button",tabIndex:0,className:"sid-to-clipboard__clickable-text sid-link"},r||"Copy"))}}var mr=o(2334);function pr(e,t,r,n,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void r(e)}s.done?t(l):mr.resolve(l).then(n,a)}function hr(e){return function(){var t=this,r=arguments;return new mr((function(n,a){var i=e.apply(t,r);function o(e){pr(i,n,a,o,s,"next",e)}function s(e){pr(i,n,a,o,s,"throw",e)}o(void 0)}))}}var gr=o(9683),vr=o.n(gr),yr=o(9469),br=o.n(yr),Er=o(2486),wr=o.n(Er),Sr=o(7475),Mr=o.n(Sr),Cr=o(6534),Ir=o.n(Cr),Nr=o(3944),Dr=o.n(Nr);const Tr=e=>e.replace(/\/?$/,"/"),Ar=e=>{var t;const r=new(br())(e||window.location.toString());return new(wr())(Dr()(t=r.search).call(t,1))},xr=(e,t)=>Ar(t).get(e),_r=e=>{const t=new(wr())(e).get("verificationId");return"string"==typeof t&&0===t.length?null:t};var Or=o(6426),kr=o.n(Or),Pr=o(8520),Rr=o.n(Pr);let Fr={},Lr=[];const Ur=(e,t)=>{he.log(`customValidator registering \n${t}\n for custom field '${e}'`),Fr[e]=t,Lr.push(e)},Br=e=>Fr[e]?(he.log(`getCustomValidator returning '${e}'`),Fr[e]):(he.error(`Custom validator for field '${e}' does not exist.\n Has a custom validator been registered using the setCustomValidator method?`,"getCustomValidator"),null),Vr=e=>kr()(Lr).call(Lr,e)>-1,jr=()=>Lr,zr=e=>{if(kr()(ye).call(ye,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},Hr=e=>{if(kr()(Se).call(Se,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},$r=e=>{if(kr()(Ie).call(Ie,e)<0)throw new Error(`Expected valid segment name but received "${e}".`)},qr=e=>{if(!Wr(e))throw new Error(`Invalid locale ${e}, expected one of ${ge.join(", ")}`)},Wr=e=>kr()(ge).call(ge,e)>-1,Gr=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`)},Yr=e=>{Qr(e)},Kr=e=>{if(kr()(Pe).call(Pe,e)<0)throw new Error(`Expected valid hook name but received ${e}. Valid HookNames are [${Pe.join(", ")}]`)},Zr=e=>{if("function"!=typeof e)throw new Error('Expected type "function", but received '+typeof e)},Jr=e=>{if("string"!=typeof e)throw new Error(`Expected trackingId to be a string, but received ${typeof e} instead.`);if(e.length<1)throw new Error("Expected trackingId string length greather than 0.")},Xr=e=>{if("object"!=typeof e)throw new Error(`Expected conversion request to be an object, but received ${typeof e} instead.`);if(e.hasOwnProperty("amount")&&"number"!=typeof e.amount)throw new Error('Expected conversion request property "amount" to have type number.')},Qr=e=>{if(!new RegExp("^[0-9a-fA-F]{24}$").test(e))throw new Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`)},en="en-US",tn=["image/png","image/gif","image/jpg","image/jpeg","image/bmp","application/pdf"],rn="mockStep",nn="mockSegment",an="mockSubSegment",on="mockErrorId",sn="mockRewardCode",ln="mockRedirectUrl",un="mockDocSelected",cn="mockPreviousStep",dn="installPageUrl",fn="installType",mn={MAX_RESULT_SIZE:25,ORG_TYPES:"UNIVERSITY,HIGH_SCHOOL,K12",DEFAULT_ORG_TYPES:"UNIVERSITY",URL_REGEX:/(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,10}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/,SCHOOL_HOUSE_URL:"https://assets-resources.sheerid.com/common/images/requestOrganization/school.svg",SHEERID_LOGO_URL:"https://assets-resources.sheerid.com/common/images/requestOrganization/logo.svg",FEEDBACK_FORM_URL:"https://verify.sheerid.com/verification-support/feedback.html?token="},pn="SheerID Verification Form",hn={INLINE_IFRAME_CONTENT:"sid-inline-iframe",MODAL_WRAPPER:"sid-modal__wrapper",MODAL_IFRAME:"sid-modal__iframe",OVERLAY:"sid-modal__overlay",CLOSE_BUTTON:"sid-modal__close-button",CLOSE_TEXT:"sid-modal__close-text",CLOSE_ICON:"sid-modal__close-icon"},gn=620,vn=300;function yn(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function bn(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=yn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=yn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const En={restApi:{serviceUrl:"https://services.sheerid.com/",resources:{verification:"rest/v2/verification/",program:{base:"rest/v2/program/",theme:"theme",organization:"organization"},conversion:{base:"rest/v2/conversion/"}}},mockStep:void 0,mockSubSegment:void 0,mockErrorId:void 0,mockRewardCode:void 0,mockRedirectUrl:void 0,mockDocSelected:void 0,installPageUrl:void 0,mockResponse:void 0,doFetchTheme:!0,logLevel:"error",locale:null,messages:{},messagesWithLocale:{},urlFaq:"https://offers.sheerid.com/sheerid/help-center/",urlStudentFaq:"https://verify.sheerid.com/student-faq/",urlSeniorFaq:"https://verify.sheerid.com/us-senior-faq/",urlAgeFaq:"https://verify.sheerid.com/us-age-faq/",urlMilitaryFaq:"https://verify.sheerid.com/military-faq/",urlTeacherFaq:"https://verify.sheerid.com/us-teacher-faq/",urlMemberFaq:"https://verify.sheerid.com/membership-faq/",urlFirstResponderFaq:"https://verify.sheerid.com/first-responder-faq/",urlMedicalFaq:"https://verify.sheerid.com/us-medical-faq/",urlEmploymentFaq:"https://verify.sheerid.com/employment-faq/",urlIdentityFaq:"https://verify.sheerid.com/identity-faq/",urlLicensedProfessionalFaq:"https://verify.sheerid.com/professions-faq/",urlLowIncomeFaq:"https://verify.sheerid.com/low-income-faq/",urlAddSchoolFaq:"https://verify.sheerid.com/add-school-request-faq/",urlAddSchoolForm:"https://offers.sheerid.com/sheerid/add-school-request/",privacyPolicyUrl:void 0,cookies:{enabled:!0,secure:!0,expires:7},useFingerprinting:!1,verificationId:void 0,minimumOrganizationSearchLength:1,httpRequestTimeout:1e4,hideTestModeFlag:!1,hideMilitaryFamilyAcceptableUploads:!0,customFormFields:[]};let wn=bn({},En);const Sn=()=>wn,Mn=()=>{wn=bn({},En)},Cn=e=>{if(e.hasOwnProperty("logLevel")){try{he.setLogLevel(e.logLevel)}catch(e){console.error(e)}wn.logLevel=e.logLevel}if(e.hasOwnProperty("restApi")){if(e.restApi.hasOwnProperty("serviceUrl")){const t=Tr(e.restApi.serviceUrl);wn.restApi.serviceUrl=t,he.info(`option "serviceUrl" set to ${wn.restApi.serviceUrl}`)}}var r;e.hasOwnProperty(rn)&&(Hr(e[rn]),wn[rn]=e[rn],he.info(`option "${rn}" set to ${wn[rn]}`)),e.hasOwnProperty(cn)&&(Hr(e[rn]),wn[cn]=e[cn],he.info(`option "${cn}" set to ${wn[cn]}`)),e.hasOwnProperty(nn)&&(wn[nn]=e[nn],he.info(`option "${nn}" set to ${wn[nn]}`)),e.hasOwnProperty(an)&&(wn[an]=e[an],he.info(`option "${an}" set to ${wn[an]}`)),e.hasOwnProperty(on)&&(wn[on]=e[on],he.info(`option "${on}" set to ${wn[on]}`)),e.hasOwnProperty(sn)&&(wn[sn]=e[sn],he.info(`option "${sn}" set to ${wn[sn]}`)),e.hasOwnProperty(ln)&&(wn[ln]=e[ln],he.info(`option "${ln}" set to ${wn[ln]}`)),e.hasOwnProperty(dn)&&(wn[dn]=e[dn],he.info(`option "${dn}" set to ${wn[dn]}`)),e.hasOwnProperty(un)&&(wn[un]=e[un],he.info(`option "${un}" set to ${wn[un]}`)),e.hasOwnProperty("mockResponse")&&(wn.mockResponse=ie(e.mockResponse),he.info('option "mockResponse" set to',wn.mockResponse)),e.hasOwnProperty("messages")&&(wn.messagesWithLocale=bn(bn({},wn.messagesWithLocale),{},{"en-US":e.messages}),he.warn('option "messages" has been deprecated and replaced with "messagesWithLocale". Messages have been set for locale "en-US" using: ',wn.messagesWithLocale,'\nThese messages will override existing messages of the same key for "en-US" locale.')),e.hasOwnProperty("messagesWithLocale")&&(wn.messagesWithLocale=se({},wn.messagesWithLocale,e.messagesWithLocale),e&&e.messagesWithLocale&&(r=t()(e.messagesWithLocale),he.info(`Registering additional locales ${r.join(", ")}`),ge.push(...r)),he.info('option "messagesWithLocale" set to',wn.messagesWithLocale)),e.hasOwnProperty("locale")&&(qr(e.locale),wn.locale=e.locale,he.info(`option "locale" set to ${wn.locale}`)),e.hasOwnProperty("urlStudentFaq")&&(wn.urlStudentFaq=e.urlStudentFaq,he.info(`option "urlStudentFaq" set to ${wn.urlStudentFaq}`)),e.hasOwnProperty("urlSeniorFaq")&&(wn.urlSeniorFaq=e.urlSeniorFaq,he.info(`option "urlSeniorFaq" set to ${wn.urlSeniorFaq}`)),e.hasOwnProperty("urlMilitaryFaq")&&(wn.urlMilitaryFaq=e.urlMilitaryFaq,he.info(`option "urlMilitaryFaq" set to ${wn.urlMilitaryFaq}`)),e.hasOwnProperty("urlTeacherFaq")&&(wn.urlTeacherFaq=e.urlTeacherFaq,he.info(`option "urlTeacherFaq" set to ${wn.urlTeacherFaq}`)),e.hasOwnProperty("urlMemberFaq")&&(wn.urlMemberFaq=e.urlMemberFaq,he.info(`option "urlMemberFaq" set to ${wn.urlMemberFaq}`)),e.hasOwnProperty("urlMedicalFaq")&&(wn.urlMedicalFaq=e.urlMedicalFaq,he.info(`option "urlMedicalFaq" set to ${wn.urlMedicalFaq}`)),e.hasOwnProperty("urlEmploymentFaq")&&(wn.urlEmploymentFaq=e.urlEmploymentFaq,he.info(`option "urlEmploymentFaq" set to ${wn.urlEmploymentFaq}`)),e.hasOwnProperty("urlAddSchoolFaq")&&(wn.urlAddSchoolFaq=e.urlAddSchoolFaq,he.info(`option "urlAddSchoolFaq" set to ${wn.urlAddSchoolFaq}`)),e.hasOwnProperty("urlAddSchoolForm")&&(wn.urlAddSchoolForm=e.urlAddSchoolForm,he.info(`option "urlAddSchoolForm" set to ${wn.urlAddSchoolForm}`)),e.hasOwnProperty("doFetchTheme")&&(wn.doFetchTheme=e.doFetchTheme,he.info(`option "doFetchTheme" set to ${wn.doFetchTheme}`)),e.hasOwnProperty("cookies")&&(wn.cookies=bn(bn({},wn.cookies),e.cookies),he.info('option "cookies" set to',wn.cookies)),e.hasOwnProperty("useFingerprinting")&&(wn.useFingerprinting=e.useFingerprinting,he.info('option "useFingerprinting" set to',wn.useFingerprinting)),e.hasOwnProperty("marketConsent")&&(wn.marketConsent=e.marketConsent,he.info('option "market consent" set to',wn.marketConsent)),e.hasOwnProperty("verificationId")&&(wn.verificationId=e.verificationId,he.info('option "verificationId" set to',wn.verificationId)),e.hasOwnProperty("minimumOrganizationSearchLength")&&(wn.minimumOrganizationSearchLength=e.minimumOrganizationSearchLength,he.info('option "minimumOrganizationSearchLength" set to',wn.minimumOrganizationSearchLength)),e.hasOwnProperty("customCss")&&(wn.customCss=e.customCss,he.info('option "customCss" set to',wn.customCss)),e.hasOwnProperty("logoUrl")&&(wn.logoUrl=e.logoUrl,he.info('option "logoUrl" set to',wn.logoUrl)),e.hasOwnProperty("httpRequestTimeout")&&(wn.httpRequestTimeout=e.httpRequestTimeout,he.info('option "httpRequestTimeout" set to',wn.httpRequestTimeout)),e.hasOwnProperty("privacyPolicyUrl")&&(wn.privacyPolicyUrl=e.privacyPolicyUrl,he.info('option "privacyPolicyUrl" set to',wn.privacyPolicyUrl)),(e.hasOwnProperty("hideTestModeFlag")||xr("hideTestModeFlag"))&&(wn.hideTestModeFlag=e.hideTestModeFlag||"true"===xr("hideTestModeFlag"),he.info('option "hideTestModeFlag" set to',wn.hideTestModeFlag)),e.hasOwnProperty("hideMilitaryFamilyAcceptableUploads")&&(wn.hideMilitaryFamilyAcceptableUploads=e.hideMilitaryFamilyAcceptableUploads,he.info('option "hideMilitaryFamilyAcceptableUploads" set to',wn.hideMilitaryFamilyAcceptableUploads)),e.hasOwnProperty("customFormFields")&&(wn.customFormFields=e.customFormFields,he.info('option "customFormFields" set to',wn.customFormFields)),e.hasOwnProperty("customMetadata")&&(wn.customMetadata=e.customMetadata,he.info('option "customMetadata" set to',wn.customMetadata))};var In=o(8505),Nn=o.n(In);const Dn=class{constructor(e){b(this,"url",void 0),b(this,"start",void 0),this.url=e,this.start=Nn()()}logNow(){let e;return window.NREUM?(e={api_call:this.url,api_response_time:Nn()()-this.start},window.NREUM.addPageAction("API-calls-timing",e)):he.warn("Off-site logging not available."),e}};function Tn(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function An(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Tn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Tn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const xn={Accept:"application/json","Content-Type":"application/json"},_n={"Content-Type":"application/json"},On=(e,t={})=>{const r=Sn().httpRequestTimeout;return new(vr())(((n,a)=>{const i=ur()((()=>{a(new Error("requestTimeout"))}),r);return fetch(e,t).then(n,(t=>{he.error(`Failed to fetch ${e}`,t);a(new Error("failedToFetch"))})).finally((()=>{clearTimeout(i)}))}))},kn=function(){var e=hr((function*(e,t){let r;try{r=yield e.json()}catch(e){r=vr().resolve({})}finally{t.logNow(),he.info("Response received",r)}return r}));return function(t,r){return e.apply(this,arguments)}}(),Pn=function(){var e=hr((function*(e,t,r={}){const n=new Dn(e),a=yield On(e,{headers:An(An({},xn),r),method:"POST",body:Ir()(t)});return kn(a,n)}));return function(t,r){return e.apply(this,arguments)}}(),Rn=function(){var e=hr((function*(e,t=xn){const r=new Dn(e),n=yield On(e,{headers:t,method:"DELETE"});return kn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Fn=function(){var e=hr((function*(e,t=xn){const r=new Dn(e),n=yield On(e,{headers:t,method:"GET"});return kn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Ln=function(){var e=hr((function*(e,t=xn){return On(e,{headers:t,method:"GET"})}));return function(t){return e.apply(this,arguments)}}(),Un=e=>{var t;return Mr()(t=i()(e).call(e,(e=>!!e))).call(t,(e=>({fileName:e.name,mimeType:e.type,fileSize:e.size})))},Bn=function(){var e=hr((function*(e,t,r=_n){const n=new Dn(e);he.info(`PostFiles posting to ${e}`,t);const a=Ir()({files:Un(t)}),i=yield fetch(e,{headers:r,method:"POST",body:a}),o=yield i.json(),s=oe((()=>o.documents)),l=oe((()=>o.submissionUrl));if(s&&l){yield vr().all(Mr()(s).call(s,((e,r)=>fetch(e.uploadUrl,{method:"PUT",body:t[r]}))));const e=yield fetch(l,{headers:r,method:"POST"});return kn(e,n)}return o}));return function(t,r){return e.apply(this,arguments)}}();var Vn=o(3106),jn=o.n(Vn);const zn=()=>`${Sn().restApi.serviceUrl}${Sn().restApi.resources.verification}`,Hn=e=>`${zn()}${e}`,$n=()=>zn(),qn=(e,t=null)=>{const r=`${Sn().restApi.serviceUrl}${Sn().restApi.resources.program.base}${e}/${Sn().restApi.resources.program.theme}`;return t?`${r}?locale=${t}`:`${r}`},Wn=()=>`${Sn().restApi.serviceUrl}rest/v2/organization/addSchool/`,Gn=e=>`${Sn().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`,Yn=e=>`${Sn().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`,Kn=(e,t)=>`${Sn().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`,Zn=()=>window.sheerIdPubV,Jn=()=>document.location.href,Xn=()=>{try{const e=new(wr())(window.location.search);if(e.get(dn))return decodeURIComponent(e.get(dn));if(Sn()[dn])return Sn()[dn]}catch(e){he.error(e)}return Jn()};var Qn;!function(e){e.landingPage="landing_page",e.cdnNoIframe="cdn_no_iframe"}(Qn||(Qn={}));const ea=()=>{try{const e=new(wr())(window.location.search);if(e.get(fn))return decodeURIComponent(e.get(fn));if("landing"===e.get("layout"))return Qn.landingPage}catch(e){he.error(e)}return window.sheerIdInstallType||Qn.cdnNoIframe},ta=()=>{let e;try{const t=window.sheerIdCurrentScript.getAttribute("src");e=t.substr(0,jn()(t).call(t,"/"))}catch(e){"localhost"!==document.location.hostname&&he.error(e)}return e||("localhost"===document.location.hostname?e=document.location.origin:(e="https://cdn.jsdelivr.net/npm/@sheerid/jslib@1/",he.error("No window.sheerIdCurrentScript, is document.currentScript unsupported?"))),Tr((t=e,r=Zn(),Tr(r?t.replace(/@(?!sheerid)[^/]*/gi,`@${r}`):t)));var t,r},ra="country",na="name";function aa(e,t,r,n){return ia.apply(this,arguments)}function ia(){return ia=hr((function*(e,t,r,n){if(!e)return vr().resolve([]);const a=new(br())(e),{origin:i,pathname:o,search:s}=a,l=new(wr())(s);l.set(na,t),r&&l.set(ra,r),n&&l.set("tags",n);return function(e){return oa.apply(this,arguments)}(`${i}${o}?${l.toString()}`)})),ia.apply(this,arguments)}function oa(){return oa=hr((function*(e){try{const t=yield Fn(e);return Mr()(t).call(t,(e=>{return{id:(t=e).id,idExtended:void 0===t.idExtended?t.id.toString():t.idExtended,name:t.name,country:t.country};var t}))}catch(e){he.error(e,"failed to fetchOrganization")}})),oa.apply(this,arguments)}const sa=function(){var e=hr((function*(e){const t=new Dn(e),r=yield fetch(e,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"GET"});if(r.status>=400)throw new Error("An error occurred");let n;try{n=yield r.json()}catch(e){n=vr().resolve({})}finally{t.logNow(),he.info("Response received",n)}return n}));return function(t){return e.apply(this,arguments)}}();function la(){return(la=hr((function*(e){return yield Pn(Wn(),e)}))).apply(this,arguments)}const ua=function(){var e=hr((function*(e,t,r){const{viewModel:n}=t;if(!e())return;const a={programId:t.programId,firstName:n.firstName,lastName:n.lastName,email:n.email,schoolName:n.orgName,schoolDomain:n.orgDomain,schoolCountry:n.countryChoice.value};try{ca(r,!0),yield function(e){return la.apply(this,arguments)}(a).then((()=>{ca(r,!1),r({type:"SET_SUBMIT",payload:!0})}))}catch(e){he.error(e,"submitAddSchoolRequest"),r({type:"SET_ERROR",payload:!0})}}));return function(t,r,n){return e.apply(this,arguments)}}(),ca=(e,t)=>{e({type:"SET_LOADING",payload:t})},da=({organization:e,isEligible:t})=>{return t?q.createElement("div",{className:"sid-search-result"},q.createElement("img",{src:"https://assets-resources.sheerid.com/common/images/requestOrganization/doc-right.svg",alt:"School Icon"})," ",e.name,q.createElement(fr,{textToCopy:(r=e.name,r.replace(/(\s\([A-Za-z]+(?: [A-Za-z]+)*),+ ([A-Za-z]+\))/,"")),notificationText:q.createElement(ir,{id:"copied",defaultMessage:"Copied"})},q.createElement("div",{className:"sid-copy-to-clipboard-front"}),q.createElement("div",{className:"sid-copy-to-clipboard-back"}))):q.createElement("div",{className:"sid-search-result"},q.createElement("div",{className:"sid-oval"},q.createElement("div",{className:"sid-inner-x"},"x"))," ",e.name);var r};var fa=o(6905),ma=o.n(fa),pa=o(6954),ha=o.n(pa);var ga=o(6569),va=o.n(ga),ya=o(9602),ba=o.n(ya);const Ea=JSON.parse('{"defaultMessages.ACTIVE_DUTY":"Active Duty","defaultMessages.CHILD_CARE_WORKER":"Child Care Worker","defaultMessages.DENTIST":"Dentist","defaultMessages.DOCTOR":"Doctor","defaultMessages.EMT":"EMT","defaultMessages.FIREFIGHTER":"Firefighter","defaultMessages.GOLD_STAR_FAMILY":"Gold Star Family","defaultMessages.HOME_BUYER":"Home Buyer","defaultMessages.LIBRARIAN":"Librarian","defaultMessages.LICENSED_COSMETOLOGIST":"Licensed Cosmetologist","defaultMessages.LICENSED_REAL_ESTATE_AGENT":"Licensed Real Estate Agent","defaultMessages.MILITARY_FAMILY":"Military Family","defaultMessages.MILITARY_RETIREE":"Military Retiree","defaultMessages.NURSE":"Nurse","defaultMessages.OTHER_GOVERNMENT_ASSISTANCE":"Other Government Assistance Recipient","defaultMessages.OTHER_HEALTH_WORKER":"Other Health Worker","defaultMessages.OTHER_MOVER":"Other Mover","defaultMessages.PHARMACIST":"Pharmacist","defaultMessages.POLICE":"Police","defaultMessages.RESERVIST":"Reservist or National Guard","defaultMessages.SEARCH_AND_RESCUE":"Search and Rescue","defaultMessages.SNAP_BENEFITS":"Snap Benefits Recipient","defaultMessages.VETERAN":"Military Veteran or Retiree","defaultMessages.VETERINARIAN":"Veterinarian","defaultMessages.activeDutyStartDate":"Active Duty Start Date","defaultMessages.address":"Address","defaultMessages.addressPlaceholder":"Address","defaultMessages.birthDate":"Date of birth","defaultMessages.branchOfService":"Branch of service","defaultMessages.branchOfServicePlaceholder":"Branch Of Service","defaultMessages.changeLanguage":"Change language","defaultMessages.city":"City","defaultMessages.cityPlaceholder":"City","defaultMessages.company":"Company","defaultMessages.companyPlaceholder":"Company","defaultMessages.copied":"Copied","defaultMessages.countries.AD":"Andorra","defaultMessages.countries.AE":"United Arab Emirates","defaultMessages.countries.AF":"Afghanistan","defaultMessages.countries.AG":"Antigua and Barbuda","defaultMessages.countries.AI":"Anguilla","defaultMessages.countries.AL":"Albania","defaultMessages.countries.AM":"Armenia","defaultMessages.countries.AN":"Netherlands Antilles","defaultMessages.countries.AO":"Angola","defaultMessages.countries.AR":"Argentina","defaultMessages.countries.AS":"American Samoa","defaultMessages.countries.AT":"Austria","defaultMessages.countries.AU":"Australia","defaultMessages.countries.AW":"Aruba","defaultMessages.countries.AZ":"Azerbaijan","defaultMessages.countries.BA":"Bosnia-Herzegovina","defaultMessages.countries.BB":"Barbados","defaultMessages.countries.BD":"Bangladesh","defaultMessages.countries.BE":"Belgium","defaultMessages.countries.BF":"Burkina Faso","defaultMessages.countries.BG":"Bulgaria","defaultMessages.countries.BH":"Bahrain","defaultMessages.countries.BI":"Burundi","defaultMessages.countries.BJ":"Benin","defaultMessages.countries.BM":"Bermuda","defaultMessages.countries.BN":"Brunei Darussalam","defaultMessages.countries.BO":"Bolivia","defaultMessages.countries.BR":"Brazil","defaultMessages.countries.BS":"Bahamas","defaultMessages.countries.BT":"Bhutan","defaultMessages.countries.BV":"Bouvet Island","defaultMessages.countries.BW":"Botswana","defaultMessages.countries.BY":"Belarus","defaultMessages.countries.BZ":"Belize","defaultMessages.countries.CA":"Canada","defaultMessages.countries.CD":"Democratic Republic of Congo","defaultMessages.countries.CF":"Central African Republic","defaultMessages.countries.CG":"Congo","defaultMessages.countries.CH":"Switzerland","defaultMessages.countries.CI":"Ivory Coast (Cote D\'Ivoire)","defaultMessages.countries.CK":"Cook Islands","defaultMessages.countries.CL":"Chile","defaultMessages.countries.CM":"Cameroon","defaultMessages.countries.CN":"China","defaultMessages.countries.CO":"Colombia","defaultMessages.countries.CR":"Costa Rica","defaultMessages.countries.CU":"Cuba","defaultMessages.countries.CV":"Cape Verde","defaultMessages.countries.CY":"Cyprus","defaultMessages.countries.CZ":"Czech Republic","defaultMessages.countries.DE":"Germany","defaultMessages.countries.DJ":"Djibouti","defaultMessages.countries.DK":"Denmark","defaultMessages.countries.DM":"Dominica","defaultMessages.countries.DO":"Dominican Republic","defaultMessages.countries.DZ":"Algeria","defaultMessages.countries.EC":"Ecuador","defaultMessages.countries.EE":"Estonia","defaultMessages.countries.EG":"Egypt","defaultMessages.countries.EH":"Western Sahara","defaultMessages.countries.ER":"Eritrea","defaultMessages.countries.ES":"Spain","defaultMessages.countries.ET":"Ethiopia","defaultMessages.countries.FI":"Finland","defaultMessages.countries.FJ":"Fiji","defaultMessages.countries.FK":"Falkland Islands","defaultMessages.countries.FM":"Micronesia","defaultMessages.countries.FO":"Faroe Islands","defaultMessages.countries.FR":"France","defaultMessages.countries.GA":"Gabon","defaultMessages.countries.GB":"United Kingdom","defaultMessages.countries.GD":"Grenada","defaultMessages.countries.GE":"Georgia","defaultMessages.countries.GF":"French Guyana","defaultMessages.countries.GH":"Ghana","defaultMessages.countries.GI":"Gibraltar","defaultMessages.countries.GL":"Greenland","defaultMessages.countries.GM":"Gambia","defaultMessages.countries.GN":"Guinea","defaultMessages.countries.GP":"Guadeloupe (French)","defaultMessages.countries.GQ":"Equatorial Guinea","defaultMessages.countries.GR":"Greece","defaultMessages.countries.GS":"South Georgia & South Sandwich Islands","defaultMessages.countries.GT":"Guatemala","defaultMessages.countries.GU":"Guam (USA)","defaultMessages.countries.GW":"Guinea Bissau","defaultMessages.countries.GY":"Guyana","defaultMessages.countries.HK":"Hong Kong","defaultMessages.countries.HM":"Heard and McDonald Islands","defaultMessages.countries.HN":"Honduras","defaultMessages.countries.HR":"Croatia","defaultMessages.countries.HT":"Haiti","defaultMessages.countries.HU":"Hungary","defaultMessages.countries.ID":"Indonesia","defaultMessages.countries.IE":"Ireland","defaultMessages.countries.IL":"Israel","defaultMessages.countries.IN":"India","defaultMessages.countries.IO":"British Indian Ocean Territory","defaultMessages.countries.IQ":"Iraq","defaultMessages.countries.IR":"Iran","defaultMessages.countries.IS":"Iceland","defaultMessages.countries.IT":"Italy","defaultMessages.countries.JM":"Jamaica","defaultMessages.countries.JO":"Jordan","defaultMessages.countries.JP":"Japan","defaultMessages.countries.KE":"Kenya","defaultMessages.countries.KG":"Kyrgyzstan","defaultMessages.countries.KH":"Cambodia","defaultMessages.countries.KI":"Kiribati","defaultMessages.countries.KM":"Comoros","defaultMessages.countries.KN":"Saint Kitts & Nevis Anguilla","defaultMessages.countries.KP":"North Korea","defaultMessages.countries.KR":"South Korea","defaultMessages.countries.KW":"Kuwait","defaultMessages.countries.KY":"Cayman Islands","defaultMessages.countries.KZ":"Kazakhstan","defaultMessages.countries.LA":"Laos","defaultMessages.countries.LB":"Lebanon","defaultMessages.countries.LC":"Saint Lucia","defaultMessages.countries.LI":"Liechtenstein","defaultMessages.countries.LK":"Sri Lanka","defaultMessages.countries.LR":"Liberia","defaultMessages.countries.LS":"Lesotho","defaultMessages.countries.LT":"Lithuania","defaultMessages.countries.LU":"Luxembourg","defaultMessages.countries.LV":"Latvia","defaultMessages.countries.LY":"Libya","defaultMessages.countries.MA":"Morocco","defaultMessages.countries.MC":"Monaco","defaultMessages.countries.MD":"Moldavia","defaultMessages.countries.ME":"Montenegro","defaultMessages.countries.MG":"Madagascar","defaultMessages.countries.MH":"Marshall Islands","defaultMessages.countries.MK":"Macedonia","defaultMessages.countries.ML":"Mali","defaultMessages.countries.MM":"Myanmar","defaultMessages.countries.MN":"Mongolia","defaultMessages.countries.MO":"Macau","defaultMessages.countries.MP":"Northern Mariana Islands","defaultMessages.countries.MQ":"Martinique (French)","defaultMessages.countries.MR":"Mauritania","defaultMessages.countries.MS":"Montserrat","defaultMessages.countries.MT":"Malta","defaultMessages.countries.MU":"Mauritius","defaultMessages.countries.MV":"Maldives","defaultMessages.countries.MW":"Malawi","defaultMessages.countries.MX":"Mexico","defaultMessages.countries.MY":"Malaysia","defaultMessages.countries.MZ":"Mozambique","defaultMessages.countries.NA":"Namibia","defaultMessages.countries.NC":"New Caledonia (French)","defaultMessages.countries.NE":"Niger","defaultMessages.countries.NF":"Norfolk Island","defaultMessages.countries.NG":"Nigeria","defaultMessages.countries.NI":"Nicaragua","defaultMessages.countries.NL":"Netherlands","defaultMessages.countries.NO":"Norway","defaultMessages.countries.NP":"Nepal","defaultMessages.countries.NR":"Nauru","defaultMessages.countries.NU":"Niue","defaultMessages.countries.NZ":"New Zealand","defaultMessages.countries.OM":"Oman","defaultMessages.countries.PA":"Panama","defaultMessages.countries.PE":"Peru","defaultMessages.countries.PF":"Polynesia (French)","defaultMessages.countries.PG":"Papua New Guinea","defaultMessages.countries.PH":"Philippines","defaultMessages.countries.PK":"Pakistan","defaultMessages.countries.PL":"Poland","defaultMessages.countries.PM":"Saint Pierre and Miquelon","defaultMessages.countries.PN":"Pitcairn Island","defaultMessages.countries.PR":"Puerto Rico","defaultMessages.countries.PS":"Palestine","defaultMessages.countries.PT":"Portugal","defaultMessages.countries.PW":"Palau","defaultMessages.countries.PY":"Paraguay","defaultMessages.countries.QA":"Qatar","defaultMessages.countries.RE":"Reunion (French)","defaultMessages.countries.RO":"Romania","defaultMessages.countries.RS":"Serbia","defaultMessages.countries.RU":"Russian Federation","defaultMessages.countries.RW":"Rwanda","defaultMessages.countries.SA":"Saudi Arabia","defaultMessages.countries.SB":"Solomon Islands","defaultMessages.countries.SC":"Seychelles","defaultMessages.countries.SD":"Sudan","defaultMessages.countries.SE":"Sweden","defaultMessages.countries.SG":"Singapore","defaultMessages.countries.SH":"Saint Helena","defaultMessages.countries.SI":"Slovenia","defaultMessages.countries.SK":"Slovak Republic","defaultMessages.countries.SL":"Sierra Leone","defaultMessages.countries.SM":"San Marino","defaultMessages.countries.SN":"Senegal","defaultMessages.countries.SO":"Somalia","defaultMessages.countries.SR":"Suriname","defaultMessages.countries.SS":"South Sudan","defaultMessages.countries.ST":"Saint Tome (Sao Tome) and Principe","defaultMessages.countries.SV":"El Salvador","defaultMessages.countries.SY":"Syria","defaultMessages.countries.SZ":"Swaziland","defaultMessages.countries.TC":"Turks and Caicos Islands","defaultMessages.countries.TD":"Chad","defaultMessages.countries.TF":"French Southern Territories","defaultMessages.countries.TG":"Togo","defaultMessages.countries.TH":"Thailand","defaultMessages.countries.TJ":"Tajikistan","defaultMessages.countries.TK":"Tokelau","defaultMessages.countries.TL":"Timor-Leste","defaultMessages.countries.TM":"Turkmenistan","defaultMessages.countries.TN":"Tunisia","defaultMessages.countries.TO":"Tonga","defaultMessages.countries.TR":"Turkey","defaultMessages.countries.TT":"Trinidad and Tobago","defaultMessages.countries.TV":"Tuvalu","defaultMessages.countries.TW":"Taiwan","defaultMessages.countries.TZ":"Tanzania","defaultMessages.countries.UA":"Ukraine","defaultMessages.countries.UG":"Uganda","defaultMessages.countries.UM":"USA Minor Outlying Islands","defaultMessages.countries.US":"United States","defaultMessages.countries.UY":"Uruguay","defaultMessages.countries.UZ":"Uzbekistan","defaultMessages.countries.VA":"Vatican City State","defaultMessages.countries.VC":"Saint Vincent & Grenadines","defaultMessages.countries.VE":"Venezuela","defaultMessages.countries.VG":"Virgin Islands (British)","defaultMessages.countries.VI":"Virgin Islands (USA)","defaultMessages.countries.VN":"Vietnam","defaultMessages.countries.VU":"Vanuatu","defaultMessages.countries.WF":"Wallis and Futuna Islands","defaultMessages.countries.WS":"Samoa","defaultMessages.countries.XK":"Kosovo","defaultMessages.countries.YE":"Yemen","defaultMessages.countries.YT":"Mayotte","defaultMessages.countries.ZA":"South Africa","defaultMessages.countries.ZM":"Zambia","defaultMessages.countries.ZW":"Zimbabwe","defaultMessages.country":"Country","defaultMessages.countryPlaceholder":"Country","defaultMessages.dateTime.20_MIN":"20 minutes","defaultMessages.dateTime.24_HRS":"24 hours","defaultMessages.dateTime.2_DAY":"2 days","defaultMessages.dateTime.2_HRS":"2 hours","defaultMessages.dateTime.2_MIN":"2 minutes","defaultMessages.dateTime.3_DAY":"3 days","defaultMessages.dateTime.A_FEW_DAYS":"a few days","defaultMessages.dateTime.A_FEW_HOURS":"a few hours","defaultMessages.dateTime.A_FEW_MINUTES":"a few minutes","defaultMessages.dateTime.A_HALF_HOUR":"half an hour","defaultMessages.dateTime.april":"April","defaultMessages.dateTime.august":"August","defaultMessages.dateTime.day":"Day","defaultMessages.dateTime.december":"December","defaultMessages.dateTime.february":"February","defaultMessages.dateTime.january":"January","defaultMessages.dateTime.july":"July","defaultMessages.dateTime.june":"June","defaultMessages.dateTime.march":"March","defaultMessages.dateTime.may":"May","defaultMessages.dateTime.month":"Month","defaultMessages.dateTime.november":"November","defaultMessages.dateTime.october":"October","defaultMessages.dateTime.september":"September","defaultMessages.dateTime.year":"Year","defaultMessages.dischargeDate":"Discharge date","defaultMessages.driverLicenseNumber":"Driver license number","defaultMessages.driverLicenseNumberPlaceholder":"Driver license number","defaultMessages.driverLicenseState":"Driver license state","defaultMessages.ebtCardNumber":"EBT Card Number","defaultMessages.emailAddress":"Email address","defaultMessages.emailAddressPlaceholder":"Email address","defaultMessages.error":"Error","defaultMessages.errorId.activeDutyStartDateBeforeBirthDate":"Start date must be after birth date","defaultMessages.errorId.apiRateLimitExceeded":"Unable to process your request at this time, please try again later","defaultMessages.errorId.dischargeDateBeforeBirthDate":"Discharge Date before birthdate","defaultMessages.errorId.docReviewLimitExceeded":"Document review limit exceeded","defaultMessages.errorId.expiredEmailLoopToken":"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you\'re looking for is no longer available.","defaultMessages.errorId.expiredProgram":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.expiredSMSCode":"Verification code expired","defaultMessages.errorId.expiredVerification":"This verification is expired. Please submit a new verification.","defaultMessages.errorId.failedToFetch":"Failed HTTP request","defaultMessages.errorId.fraudRulesReject":"We\'re unable to verify you using the information submitted. Please check your information for accuracy, and only use your own mobile device or computer.<br><br>Still having trouble? <a href=\\"{feedbackUrl}&pid={programId}&locale={locale}\\">Contact SheerID\'s support team</a> to confirm your identity.","defaultMessages.errorId.futureActiveDutyStartDate":"Future start date","defaultMessages.errorId.futureBirthDate":"Future birthdate","defaultMessages.errorId.futureDischargeDate":"Future discharge date","defaultMessages.errorId.inactiveProgram":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.incorrectVerificationOverrideCodeAttemptLimitExceeded":"Override code limit exceeded","defaultMessages.errorId.internalServerError":"Internal server error","defaultMessages.errorId.invalidActiveDutyStartDate":"Invalid start date","defaultMessages.errorId.invalidAddress":"Invalid address","defaultMessages.errorId.invalidApiToken":"Provided API token was invalid or empty","defaultMessages.errorId.invalidBirthDate":"Invalid birth date","defaultMessages.errorId.invalidCity":"Invalid city","defaultMessages.errorId.invalidCountry":"Invalid country","defaultMessages.errorId.invalidDischargeDate":"Invalid discharge date","defaultMessages.errorId.invalidDocUploadToken":"Provided document upload token is not valid","defaultMessages.errorId.invalidDriverLicenseNumber":"Invalid driver license number","defaultMessages.errorId.invalidEbtCardNumber":"Invalid EBT Card Number","defaultMessages.errorId.invalidEmail":"Invalid email","defaultMessages.errorId.invalidEmailLoopToken":"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you\'re looking for is no longer available.","defaultMessages.errorId.invalidFileSizeEmpty":"One or more files is empty","defaultMessages.errorId.invalidFileSizeMax":"One or more files is too large (max: 10MB)","defaultMessages.errorId.invalidFirstName":"Invalid first name","defaultMessages.errorId.invalidFirstResponderStatus":"Invalid first responder status","defaultMessages.errorId.invalidLastName":"Invalid last name","defaultMessages.errorId.invalidMemberId":"Invalid ID Number","defaultMessages.errorId.invalidMilitaryStatus":"Invalid military status","defaultMessages.errorId.invalidNumberOfFiles":"Maximum number of files exceeded (max: 5)","defaultMessages.errorId.invalidOptIn":"Must be selected to continue","defaultMessages.errorId.invalidOrganization":"You must select an organization from the list","defaultMessages.errorId.invalidOverrideCode":"Invalid Override Code","defaultMessages.errorId.invalidPhoneNumber":"Invalid mobile number","defaultMessages.errorId.invalidPostalCode":"Invalid postal code","defaultMessages.errorId.invalidProgram":"Invalid program","defaultMessages.errorId.invalidRequest":"Invalid request","defaultMessages.errorId.invalidSMSCode":"Verification code could not be validated","defaultMessages.errorId.invalidSocialSecurityNumber":"Invalid SSN","defaultMessages.errorId.invalidState":"Invalid state","defaultMessages.errorId.invalidStatus":"Invalid status","defaultMessages.errorId.invalidStatuses":"Invalid status","defaultMessages.errorId.invalidStep":"Invalid step","defaultMessages.errorId.marketConsentRequired":"Market consent required","defaultMessages.errorId.maxMetadataLengthExceeded":"Maximum length of metadata value exceeded","defaultMessages.errorId.maxMetadataValuesExceeded":"Maximum number of metadata values exceeded","defaultMessages.errorId.missingRequiredMetadata":"You must be logged in to verify. Log in to your account then try again.","defaultMessages.errorId.noProgram":"No program found","defaultMessages.errorId.noRemainingRewardCodes":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.noValidFiles":"No valid files","defaultMessages.errorId.noVerification":"No verification found","defaultMessages.errorId.notApproved":"Not approved","defaultMessages.errorId.notFound":"Not found","defaultMessages.errorId.outsideAgePerson":"Birthdate is not eligible for this offer.","defaultMessages.errorId.requestTimeout":"Request timeout","defaultMessages.errorId.simulatedError":"This is a simulated error","defaultMessages.errorId.unauthorizedAccountStatus":"This offer has been temporarily discontinued. Please contact the brand’s customer support for more information.","defaultMessages.errorId.unauthorizedDomain":"Unauthorized domain","defaultMessages.errorId.underagePerson":"Persons under age 16 are not eligible for this offer.","defaultMessages.errorId.unknownError":"Unknown Error","defaultMessages.errorId.unsupportedDocMimeType":"One or more files is an unsupported format","defaultMessages.errorId.verificationLimitExceeded":"We\'re glad you\'re enthusiastic, but it looks like you\'ve already redeemed or attempted to redeem this offer.","defaultMessages.firstName":"First name","defaultMessages.firstNamePlaceholder":"First name","defaultMessages.firstResponderInfoShared":"Information entered here will be used for verification purposes. ","defaultMessages.footerText":"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>.","defaultMessages.getHelp":"Get help","defaultMessages.howDoesReviewWork":"How does review work?","defaultMessages.howDoesVerifyingWork":"How does verifying work?","defaultMessages.infoShared1":"By clicking, I consent to processing my information for the purpose of verifying my eligibility as described within the {privacyPolicyLink}","defaultMessages.infoShared2":". I understand that my information will be shared with {companyName}. ","defaultMessages.informationTransferredToUS":"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy.","defaultMessages.lastName":"Last name","defaultMessages.lastNamePlaceholder":"Last name","defaultMessages.limitExceededError":"Verification Limit Exceeded","defaultMessages.loading":"Loading...","defaultMessages.locales.ar":"Arabic","defaultMessages.locales.bg":"Bulgarian","defaultMessages.locales.cs":"Czech","defaultMessages.locales.da":"Danish","defaultMessages.locales.de":"German","defaultMessages.locales.el":"Greek","defaultMessages.locales.en-GB":"English (UK)","defaultMessages.locales.en-US":"English","defaultMessages.locales.es":"Spanish","defaultMessages.locales.es-ES":"Spanish (Spain)","defaultMessages.locales.fi":"Finnish","defaultMessages.locales.fr":"French","defaultMessages.locales.fr-CA":"French (Canadian)","defaultMessages.locales.ga":"Irish","defaultMessages.locales.hr":"Croatian","defaultMessages.locales.hu":"Hungarian","defaultMessages.locales.id":"Indonesian","defaultMessages.locales.it":"Italian","defaultMessages.locales.iw":"Hebrew","defaultMessages.locales.ja":"Japanese","defaultMessages.locales.ko":"Korean","defaultMessages.locales.lo":"Lao","defaultMessages.locales.lt":"Lithuanian","defaultMessages.locales.ms":"Malay","defaultMessages.locales.nl":"Dutch","defaultMessages.locales.no":"Norwegian","defaultMessages.locales.pl":"Polish","defaultMessages.locales.pt":"Portuguese","defaultMessages.locales.pt-BR":"Portuguese (Brazil)","defaultMessages.locales.ro":"Romanian","defaultMessages.locales.ru":"Russia","defaultMessages.locales.sk":"Slovak","defaultMessages.locales.sl":"Slovenian","defaultMessages.locales.sr":"Serbian","defaultMessages.locales.sv":"Swedish","defaultMessages.locales.th":"Thai","defaultMessages.locales.tr":"Turkish","defaultMessages.locales.ur":"Urdu","defaultMessages.locales.vi":"Vietnamese","defaultMessages.locales.zh":"Chinese (Traditional)","defaultMessages.locales.zh-HK":"Chinese (Hong Kong)","defaultMessages.locales.zu":"Zulu","defaultMessages.lowIncomeOrganization":"Government Assistance Program","defaultMessages.lowIncomeOrganizationPlaceholder":"Government Assistance Program","defaultMessages.lowRewardPool":"&#128293; Only {offersRemaining} offers left!","defaultMessages.memberId":"ID Number","defaultMessages.memberIdPlaceholder":"ID Number","defaultMessages.militaryFamilyCardNote":"Note: this offer is only available to military family members with a Dependent ID card.","defaultMessages.militaryInfoShared":"Information entered here will be used for verification purposes. ","defaultMessages.militaryStatus":"Military status","defaultMessages.noOptions":"No options","defaultMessages.optIn":"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more","defaultMessages.optional":"Optional","defaultMessages.organization":"Organization","defaultMessages.organizationPlaceholder":"Organization","defaultMessages.personalInformation":"Personal Information","defaultMessages.personalOrSchoolIsFine":"Personal or school email is fine","defaultMessages.phoneNumber":"Mobile Number","defaultMessages.phoneNumberExplanation":"Optional - get text notifications of status updates","defaultMessages.phoneNumberWarnMessage1":"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply.","defaultMessages.phoneNumberWarnMessage2":"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud.","defaultMessages.phoneUsPlaceholder":"555-555-5555","defaultMessages.postalCode":"Postal code","defaultMessages.postalCodeExplanation":"Use the location on file with your licensing body","defaultMessages.postalCodePlaceholder":"Postal code","defaultMessages.poweredBy":"Verification services powered by SheerID","defaultMessages.privacyPolicy":"Privacy Policy","defaultMessages.proceed":"Proceed","defaultMessages.requestSchool":"Don\'t see your school? Request to have it added.","defaultMessages.requiredFields":"All fields are required","defaultMessages.rewardCodeEmailNotification":"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.","defaultMessages.school":"School","defaultMessages.schoolName":"University / College name","defaultMessages.schoolNamePlaceholder":"University / College name","defaultMessages.sheeridFaqs":"SheerID FAQs","defaultMessages.smsCodePlaceholder":"SMS Code","defaultMessages.ssn":"Social Security Number","defaultMessages.ssnPlaceholder":"000-00-0000","defaultMessages.state":"State","defaultMessages.statePlaceholder":"State","defaultMessages.states.AK":"Alaska","defaultMessages.states.AL":"Alabama","defaultMessages.states.AR":"Arkansas","defaultMessages.states.AS":"American Samoa","defaultMessages.states.AZ":"Arizona","defaultMessages.states.CA":"California","defaultMessages.states.CO":"Colorado","defaultMessages.states.CT":"Connecticut","defaultMessages.states.DC":"District of Columbia","defaultMessages.states.DE":"Delaware","defaultMessages.states.FL":"Florida","defaultMessages.states.GA":"Georgia","defaultMessages.states.GU":"Guam","defaultMessages.states.HI":"Hawaii","defaultMessages.states.IA":"Iowa","defaultMessages.states.ID":"Idaho","defaultMessages.states.IL":"Illinois","defaultMessages.states.IN":"Indiana","defaultMessages.states.KS":"Kansas","defaultMessages.states.KY":"Kentucky","defaultMessages.states.LA":"Louisiana","defaultMessages.states.MA":"Massachusetts","defaultMessages.states.MD":"Maryland","defaultMessages.states.ME":"Maine","defaultMessages.states.MI":"Michigan","defaultMessages.states.MN":"Minnesota","defaultMessages.states.MO":"Missouri","defaultMessages.states.MS":"Mississippi","defaultMessages.states.MT":"Montana","defaultMessages.states.NC":"North Carolina","defaultMessages.states.ND":"North Dakota","defaultMessages.states.NE":"Nebraska","defaultMessages.states.NH":"New Hampshire","defaultMessages.states.NJ":"New Jersey","defaultMessages.states.NM":"New Mexico","defaultMessages.states.NV":"Nevada","defaultMessages.states.NY":"New York","defaultMessages.states.OH":"Ohio","defaultMessages.states.OK":"Oklahoma","defaultMessages.states.OR":"Oregon","defaultMessages.states.PA":"Pennsylvania","defaultMessages.states.PR":"Puerto Rico","defaultMessages.states.RI":"Rhode Island","defaultMessages.states.SC":"South Carolina","defaultMessages.states.SD":"South Dakota","defaultMessages.states.TN":"Tennessee","defaultMessages.states.TX":"Texas","defaultMessages.states.UT":"Utah","defaultMessages.states.VA":"Virginia","defaultMessages.states.VI":"Virgin Islands","defaultMessages.states.VT":"Vermont","defaultMessages.states.WA":"Washington","defaultMessages.states.WI":"Wisconsin","defaultMessages.states.WV":"West Virginia","defaultMessages.states.WY":"Wyoming","defaultMessages.status":"Status","defaultMessages.statusPlaceholder":"Status","defaultMessages.step.collectMedicalPersonalInfo.autorisationsIdExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.autorisationsIdLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.gbrNummerExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.gbrNummerLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.globalLocationNumberExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.globalLocationNumberLabel":"Global Location Number","defaultMessages.step.collectMedicalPersonalInfo.numeroColegiadoExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.numeroColegiadoLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.registrationNumberExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.registrationNumberLabel":"Registration Number","defaultMessages.step.collectSocialSecurityNumber.selectOption":"Select an option","defaultMessages.step.collectSocialSecurityNumber.title":"Enter your social security number","defaultMessages.step.collectSocialSecurityNumber.uploadDoc":"Upload a document","defaultMessages.step.collectSocialSecurityNumber.uploadInstead":"Upload a document instead","defaultMessages.step.collectSocialSecurityNumber.useSsn":"Verify using your social security number","defaultMessages.step.consolation.subtitle":"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.","defaultMessages.step.consolation.title":"Claim your offer","defaultMessages.step.consolation.verificationOnly":"Please direct any and all questions about this offer to {companyName}.","defaultMessages.step.docUpload.acceptableUploadExamples":"Acceptable examples include:","defaultMessages.step.docUpload.acceptableUploads.age.birthCertificate":"Your birth certificate","defaultMessages.step.docUpload.acceptableUploads.age.driversLicense":"Your drivers license","defaultMessages.step.docUpload.acceptableUploads.age.passport":"Your passport","defaultMessages.step.docUpload.acceptableUploads.age.stateId":"Your state-issued ID","defaultMessages.step.docUpload.acceptableUploads.employment.employeeIdCard":"Employee ID Card","defaultMessages.step.docUpload.acceptableUploads.employment.officialLetter":"An official letter","defaultMessages.step.docUpload.acceptableUploads.employment.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptableUploads.firstResponder.idCard":"ID Card","defaultMessages.step.docUpload.acceptableUploads.firstResponder.letter":"An official letter","defaultMessages.step.docUpload.acceptableUploads.firstResponder.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptableUploads.licensedProfessional.license":"Certificate of license","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalLetter":"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter).","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot":"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account).","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programBankStatement":"A bank statement showing recent payment of the selected benefit.","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programCard":"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program).","defaultMessages.step.docUpload.acceptableUploads.medical.idCard":"Nursing ID card with expiration date","defaultMessages.step.docUpload.acceptableUploads.medical.licenseCertificate":"Certificate of license","defaultMessages.step.docUpload.acceptableUploads.medical.photoPayStub":"Photo ID and recent Pay Stub","defaultMessages.step.docUpload.acceptableUploads.member.idCard":"Membership Document","defaultMessages.step.docUpload.acceptableUploads.member.payStub":"Pay stub from within last 90 days","defaultMessages.step.docUpload.acceptableUploads.military.activeDuty":"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more","defaultMessages.step.docUpload.acceptableUploads.military.dependent":"Any document that proves you are a Registered Military Dependent","defaultMessages.step.docUpload.acceptableUploads.military.goldStarFamily":"Any document that proves you are a Registered Gold Star Family Member","defaultMessages.step.docUpload.acceptableUploads.military.reservistA":"Any document that shows you are currently serving in a reserve component of the armed forces","defaultMessages.step.docUpload.acceptableUploads.military.retiree":"Any document that proves you are a retiree from the armed forces","defaultMessages.step.docUpload.acceptableUploads.military.veteran":"Any document that proves you met the qualifications of military service and were honorably discharged","defaultMessages.step.docUpload.acceptableUploads.recentMover.changeOfAddress":"U.S. Postal Service change of address confirmation letter","defaultMessages.step.docUpload.acceptableUploads.recentMover.mortgageDeed":"Mortgage deed","defaultMessages.step.docUpload.acceptableUploads.recentMover.rentalAgreement":"Lease or rental agreement","defaultMessages.step.docUpload.acceptableUploads.senior.birthCertificate":"Your birth certificate","defaultMessages.step.docUpload.acceptableUploads.senior.driversLicense":"Your drivers license","defaultMessages.step.docUpload.acceptableUploads.senior.passport":"Your passport","defaultMessages.step.docUpload.acceptableUploads.senior.stateId":"Your state-issued ID","defaultMessages.step.docUpload.acceptableUploads.student.classSchedule":"Class schedule","defaultMessages.step.docUpload.acceptableUploads.student.idCard":"School ID card with expiration date","defaultMessages.step.docUpload.acceptableUploads.student.tuitionReceipt":"Tuition receipt","defaultMessages.step.docUpload.acceptableUploads.teacher.idCard":"Teacher ID card with valid date","defaultMessages.step.docUpload.acceptableUploads.teacher.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptedTypes":"File must be .jpg .jpeg .png .pdf .gif or .bmp","defaultMessages.step.docUpload.addFile":"Add file","defaultMessages.step.docUpload.allowedDocuments":"Please only upload documents you are legally allowed to provide.","defaultMessages.step.docUpload.cancelButtonLabel":"Cancel","defaultMessages.step.docUpload.cancelDocUploadLabel":"Click here if you are unable to verify with a document","defaultMessages.step.docUpload.fileInstructions":"Drag &amp; drop your files here or <span class=\\"sid-dropzone-wrap--link\\">browse</span>","defaultMessages.step.docUpload.nameChanged":"If your name has changed since the document was issued, upload a 2nd document showing your official name change.","defaultMessages.step.docUpload.rejectedSubtitle":"We were unable to confirm your eligibility due to:","defaultMessages.step.docUpload.rejectionReasons.CUSTOM_VALUE_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_DATE_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_EXPIRED":"The document has already expired or was issued too far in the past. Please upload a more recent document.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_HANDWRITTEN":"We cannot accept handwritten documents.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_LIKELY_FRAUD":"The document is insufficient for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_OUTDATED":"The document you submitted is missing an issue date or was issued too far in the past.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_OUTDATED_FACULTY":"The document you submitted does not prove employment in the current academic year.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_PASSWORD_PROTECTED":"We are unable to accept password protected documents.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_STATUS_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_TOO_FUTURE":"The date shown in the document is too far in the future. Please upload a more recent document, which proves your current status.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_UNREADABLE":"The document was unreadable due to poor image quality. Please make sure you have a clearly legible image that\'s bright and crisp, and try submitting again.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_UNSUPPORTED":"The document is not official or on the list of accepted document types.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_VALID_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_JOB_TITLE":"The job title shown in the document is not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_ORGANIZATION":"The organization on the document you submitted is not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT":"High School Students are not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_CUSTOM_VALUE":"The document is missing information needed to establish your eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_DOCUMENT_DATE":"The date(s) shown in the document are insufficient to prove your current status. Please upload a document that includes a recent month and year.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_STATUS":"The document does not prove you are a status eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_BIRTHDATE":"The birthdate on the document does not match the birthdate you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_COMPANY_NAME_OR_ADDRESS":"The company name or address in your document does not match what you entered on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_CUSTOM_VALUE":"Some information shown in the document does not match what you entered in the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION":"The organization name on the document(s) you submitted does not match the organization you listed on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION_COUNTRY":"The country shown in your document does not match the country you entered on your verification form","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION_NAME":"The organization name on the document does not match the organization name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_FIRST_NAME":"The first name on the document does not match the first name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_LAST_NAME":"The last name on the document does not match the last name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_NAME":"The information on the document you submitted does not match the first and/or last name submitted on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_STATUS":"The status on the document does not match the status you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISSING_CUSTOM_VALUE":"The document is missing information needed to establish your eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISSING_DOCUMENT_DATE":"A current date is missing. Please upload an official, dated document that proves your current status.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION":"The document you submitted does not provide all of the information necessary to determine eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES":"The document you submitted is does not show affiliation to an eligible branch of the United States Armed Forces.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_BIRTHDATE":"Your birthdate is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_ORGANIZATION_NAME":"Your organization name is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_PERSON_NAME":"The document you submitted is missing a first and/or last name.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_UNIVERSITY_ENROLLMENT":"The document you submitted does not prove enrollment in the current term.","defaultMessages.step.docUpload.rejectionReasons.MISSING_OR_MISMATCH_JOB_TITLE":"The job title on the document you submitted is missing or does not match what you entered on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISSING_PERSON_FIRST_NAME":"Your first name is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_PERSON_LAST_NAME":"Your last name is missing.","defaultMessages.step.docUpload.rejectionReasons.ORGANIZATION_NAME_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.OTHER_CONTACT_US":"We are having problems verifying your eligibility for the offer. Please contact SheerID customer service for help: customerservice@sheerid.com","defaultMessages.step.docUpload.rejectionReasons.OUT_OF_RANGE_BIRTHDATE":"Your birthdate is outside the acceptable range of this offer. ","defaultMessages.step.docUpload.rejectionReasons.PAYSTUB_OUTDATED_LAST_30_DAYS":"Please upload a paystub that was issued within the last 30 days.","defaultMessages.step.docUpload.rejectionReasons.PERSON_BIRTHDATE_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.PERSON_FIELD_MISMATCH":"A field in the document provided did not match with what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.PERSON_FIRST_NAME_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.PERSON_LAST_NAME_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.submitButtonLabel":"Continue","defaultMessages.step.docUpload.uploadInfo.affiliation":"Your current affiliation with that organization","defaultMessages.step.docUpload.uploadInfo.age.birthDate":"Your date of birth","defaultMessages.step.docUpload.uploadInfo.employment.company":"Your company","defaultMessages.step.docUpload.uploadInfo.employment.currentAffiliation":"Your current affiliation with that company","defaultMessages.step.docUpload.uploadInfo.firstResponder.currentAffiliation":"Your current affiliation with that organization","defaultMessages.step.docUpload.uploadInfo.firstResponder.license":"Your status or license as a First Responder","defaultMessages.step.docUpload.uploadInfo.firstResponder.organization":"Your organization","defaultMessages.step.docUpload.uploadInfo.fullName":"Your full name","defaultMessages.step.docUpload.uploadInfo.identity.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.licensedProfessional.licenseStatus":"Your professional license and/or certification status","defaultMessages.step.docUpload.uploadInfo.licensedProfessional.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.lowIncome.fullName":"Your full name","defaultMessages.step.docUpload.uploadInfo.lowIncome.validDate":"A valid date of issue (within the last 12 months) or date of expiry (must be valid)","defaultMessages.step.docUpload.uploadInfo.medical.status":"Your medical professional status","defaultMessages.step.docUpload.uploadInfo.medical.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.military.currentAffiliation":"Your current affiliation with the armed services","defaultMessages.step.docUpload.uploadInfo.military.dischargeDate":"Your discharge date (if applicable)","defaultMessages.step.docUpload.uploadInfo.military.serviceBranch":"Your branch of service","defaultMessages.step.docUpload.uploadInfo.military.uploadInstructionsDependent":"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status","defaultMessages.step.docUpload.uploadInfo.organization":"Your organization","defaultMessages.step.docUpload.uploadInfo.recentMover.address":"Your new address","defaultMessages.step.docUpload.uploadInfo.recentMover.validDate":"A valid date for your recent move","defaultMessages.step.docUpload.uploadInfo.senior.birthDate":"Your date of birth","defaultMessages.step.docUpload.uploadInfo.student.enrollmentDate":"Date proving enrollment for the current term (or within the last 3 months)","defaultMessages.step.docUpload.uploadInfo.student.school":"Your school","defaultMessages.step.docUpload.uploadInfo.teacher.currentSchoolYear":"A date in the current school year","defaultMessages.step.docUpload.uploadInfo.teacher.school":"Your school","defaultMessages.step.emailLoop.errors.resend":"Error sending email","defaultMessages.step.emailLoop.resendButton":"Re-send","defaultMessages.step.emailLoop.skipEmail":"Unable to retrieve this email? Click","defaultMessages.step.emailLoop.skipEmail2":"to proceed.","defaultMessages.step.emailLoop.skipEmailCTA":"here","defaultMessages.step.emailLoop.subtitle2":"Please check for an email from us (verify@sheerid.com) for all the details.","defaultMessages.step.emailLoop.subtitleWithEmail":"An email has been sent to {email} with a personalized link to complete the verification process.","defaultMessages.step.emailLoop.subtitleWithoutEmail":"An email has been sent to your email account with a personalized link to complete the verification process.","defaultMessages.step.emailLoop.successResend":"Email re-sent successfully.","defaultMessages.step.emailLoop.title":"Check your email","defaultMessages.step.error.errorId.expiredProgram.buttonText":"See More Offers","defaultMessages.step.error.errorId.expiredProgram.title":"Offer Sold Out!","defaultMessages.step.error.errorId.inactiveProgram.buttonText":"See More Offers","defaultMessages.step.error.errorId.inactiveProgram.title":"Offer Sold Out!","defaultMessages.step.error.errorId.missingRequiredMetadata.title":"Please log in.","defaultMessages.step.error.errorId.noRemainingRewardCodes.buttonText":"See More Offers","defaultMessages.step.error.errorId.noRemainingRewardCodes.title":"Offer Sold Out!","defaultMessages.step.error.errorId.unauthorizedAccountStatus.buttonText":"Contact Support","defaultMessages.step.error.errorId.unauthorizedAccountStatus.title":"Offer Is Paused!","defaultMessages.step.error.errorId.verificationLimitExceeded.title":"Verification Limit Exceeded","defaultMessages.step.override.errors.codeOverrideLimit":"Override code limit exceeded.","defaultMessages.step.override.errors.invalidCode":"Invalid Override Code.","defaultMessages.step.override.submitOverrideCodeButtonLabel":"Submit Override Code","defaultMessages.step.override.subtitle":"If applicable, please enter a verification override code below.","defaultMessages.step.override.subtitle2":"This will enable the customer to redeem the offer","defaultMessages.step.override.title":"Unable to Verify Status","defaultMessages.step.override.verificationOverrideCodeLabel":"Verification Override Code","defaultMessages.step.pending.docDiffLang":"We identified your document is in a different language.","defaultMessages.step.pending.subtitle":"SheerID is reviewing your documents, to confirm your status. This process may take up to {maxReviewTime}.","defaultMessages.step.pending.subtitle2":"Wait here or let us notify you of the outcome.","defaultMessages.step.pending.subtitle3":"You will be contacted via email.","defaultMessages.step.pending.subtitleAlt":"SheerID is reviewing your documents, to confirm your status.","defaultMessages.step.pending.subtitleCountdown":"Hang tight while we upload and scan your documents.","defaultMessages.step.pending.titleCountdown":"Processing","defaultMessages.step.pending.titleReview":"Reviewing","defaultMessages.step.pending.turnaroundTime":"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.","defaultMessages.step.personalInfo.verifyingSubtitle":"This should only take a minute","defaultMessages.step.personalInfo.verifyingTitle":"Verifying your status","defaultMessages.step.smsLoop.errors.codeExpired":"Verification code could not be validated.","defaultMessages.step.smsLoop.errors.codeResendLimit":"Maximum number of re-tries has been reached.","defaultMessages.step.smsLoop.errors.codeVerification":"Verification code could not be validated.","defaultMessages.step.smsLoop.errors.resend":"Error sending the SMS message","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber1":"Incorrect number? Click","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber2":"here","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber3":"to return to {companyName}","defaultMessages.step.smsLoop.resendButton":"Re-send","defaultMessages.step.smsLoop.submitButton":"Submit","defaultMessages.step.smsLoop.successResend":"SMS message re-sent successfully","defaultMessages.step.smsLoop.titleWithNumber":"We\'ve sent an SMS message to the mobile number ending in {number}. Enter your code here.","defaultMessages.step.smsLoop.titleWithoutNumber":"We\'ve sent an SMS to your mobile number. Please enter the code here.","defaultMessages.step.smsLoop.verificationCode":"Verification Code","defaultMessages.step.sso.cancel":"Upload documents","defaultMessages.step.sso.login":"Sign in to my school","defaultMessages.step.sso.subtitle":"Please sign in to your school\'s web portal. It will open in a new tab.","defaultMessages.step.sso.subtitle2":"Can\'t sign in to your email?","defaultMessages.step.sso.title":"Verify using your school credentials","defaultMessages.step.success.copyCouponCode":"Copy Coupon code","defaultMessages.step.success.emailNotification":"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.","defaultMessages.step.success.verificationOnly":"\\n SheerID handles verification only.\\n Now that you\'ve been approved, please direct all questions about the\\n promotion terms to {companyName} customer service.\\n ","defaultMessages.streetAddress":"Street Address","defaultMessages.studentInfoShared":"Information entered here will be used for verification purposes and shared with {companyName}. ","defaultMessages.tryAgain":"Try again","defaultMessages.universityName":"University name","defaultMessages.verificationPurposesOnly":"Used for verification purposes only","defaultMessages.verifyAndContinue":"Verify and continue","defaultMessages.verifyMyEmploymentStatus":"Verify My Employee Status","defaultMessages.verifyMyFirstResponderStatus":"Verify My First Responder Status","defaultMessages.verifyMyIdentityStatus":"Verify My Identity","defaultMessages.verifyMyLicensedProfessionalStatus":"Verify My Licensed Professional Status","defaultMessages.verifyMyLowIncomeStatus":"Verify my status","defaultMessages.verifyMyMedicalProfessionalStatus":"Verify My Medical Professional Status","defaultMessages.verifyMyMembershipStatus":"Verify My Membership Status","defaultMessages.verifyMyMilitaryStatus":"Verify My Military Status","defaultMessages.verifyMyMoverStatus":"Verify My New Mover Status","defaultMessages.verifyMyStudentStatus":"Verify My Student Status","defaultMessages.verifyMyTeacherStatus":"Verify My Teacher Status","requestOrganizationMessages.changeLanguage":"Change language","requestOrganizationMessages.completeRequest":"Don\'t see your school in the list of eligible or ineligible schools? Complete your request","requestOrganizationMessages.copied":"Copied","requestOrganizationMessages.country":"Where is your educational institution located?","requestOrganizationMessages.description":"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID.","requestOrganizationMessages.eligibleOrgs":"Eligible schools. Click the icon to copy name then return to the verification form:","requestOrganizationMessages.errorId.invalidCountry":"Field is required","requestOrganizationMessages.errorId.invalidEmail":"Invalid Email","requestOrganizationMessages.errorId.invalidField":"Field is invalid","requestOrganizationMessages.errorId.invalidFirstName":"Invalid first name","requestOrganizationMessages.errorId.invalidLastName":"Invalid last name","requestOrganizationMessages.errorId.invalidUrl":"Invalid URL","requestOrganizationMessages.errorId.requiredField":"Field is required","requestOrganizationMessages.errorId.tooManyResults":"Your search returned too many results, please refine your search and try again","requestOrganizationMessages.faq":"SheerID Add School Request FAQ","requestOrganizationMessages.fields.countryPlaceholder":"Select Country","requestOrganizationMessages.fields.domainLabel":"School website","requestOrganizationMessages.fields.domainPlaceholder":"www.myschool.edu","requestOrganizationMessages.fields.orgNameLabel":"School name","requestOrganizationMessages.fields.orgNamePlaceholder":"My school","requestOrganizationMessages.ineligibleOrgs":"Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:","requestOrganizationMessages.noCountry":"Don\'t see your school’s country or region? You are not eligible for this offer.","requestOrganizationMessages.none":"None","requestOrganizationMessages.orgType.eligible":" - Eligible for this offer. Click the icon to copy name then return to the verification form:","requestOrganizationMessages.orgType.highSchool":"High Schools / Secondary Schools {e}","requestOrganizationMessages.orgType.ineligible":" - (Not eligible for this offer)","requestOrganizationMessages.orgType.k12":"K12 {e}","requestOrganizationMessages.orgType.postSecondary":"Post Secondary Institutions {e}","requestOrganizationMessages.orgType.university":"Universities {e}","requestOrganizationMessages.poweredBy":"Verification services powered by SheerID","requestOrganizationMessages.searchByOrgName":"Don\'t see your school? Search by name.","requestOrganizationMessages.step.error.contactUs":"contact us","requestOrganizationMessages.step.error.description":"Sorry we are not able to process your request. Please try again later.","requestOrganizationMessages.step.error.seeingProblem":"If you keep seeing this problem <a class=\'sid-link\' href=\'{feedbackUrl}&pid={programId}\' target=\'_blank\'>contact us</a>.","requestOrganizationMessages.step.error.title":"An unexpected error occurred","requestOrganizationMessages.step.success.description":"Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days.","requestOrganizationMessages.step.success.title":"Thank you","requestOrganizationMessages.submit":"Submit","requestOrganizationMessages.title":"Request to Add School","segmentMessages.age.emailExplanation":"Needed to send you your unique code","segmentMessages.age.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying age.\\n <br><br>\\n Documents are used only for verifying your current age and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.age.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.age.step.docUpload.title":"We need your license or passport","segmentMessages.age.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.age.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must be of a certain age.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\\n verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.age.step.personalInfo.subtitle":"Verify your current age.","segmentMessages.age.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.age.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your government-issued documents.","segmentMessages.age.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.age.step.personalInfo.verifyingTitle":"Verifying your age","segmentMessages.age.step.success.redirectButtonText":"Use code now","segmentMessages.age.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.age.step.success.title":"You\'ve been verified","segmentMessages.employment.emailExplanation":"Use your work email if you have one","segmentMessages.employment.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying employees.\\n <br><br>\\n Documents are used only for verify your employment status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.employment.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.employment.step.docUpload.title":"We need more information","segmentMessages.employment.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.employment.step.personalInfo.howDoesVerifyingWorkDetails":"{companyName} has set up this special offer for all current employees of select companies.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.employment.step.personalInfo.subtitle":"Verify you\'re a current employee at an eligible company.","segmentMessages.employment.step.personalInfo.title":"Unlock this Employment-Only Offer","segmentMessages.employment.step.personalInfo.tryAgain.subtitle":"The information you have provided should match your official documents.","segmentMessages.employment.step.personalInfo.tryAgain.title":"Check the information that you have provided","segmentMessages.employment.step.personalInfo.verifyingTitle":"Verifying your employment status","segmentMessages.employment.step.sso.cancel":"Upload proof of employment","segmentMessages.employment.step.sso.login":"Sign in to my email","segmentMessages.employment.step.sso.subtitle":"Please sign in to your company\'s email portal. It will open in a new tab.","segmentMessages.employment.step.sso.subtitle2":"Can\'t sign in to your email?","segmentMessages.employment.step.sso.title":"Verify using your company-provided email credentials","segmentMessages.employment.step.success.redirectButtonText":"Use code now","segmentMessages.employment.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.employment.step.success.title":"You\'ve been verified","segmentMessages.firstResponder.emailExplanation":"Needed to send you your unique code","segmentMessages.firstResponder.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying first responders.\\n <br><br>\\n Documents are used only for verifying your first responder status is current and will be permanently deleted after review is finalized.\\n They will not be shared with {companyName}","segmentMessages.firstResponder.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.firstResponder.step.docUpload.title":"We need your ID","segmentMessages.firstResponder.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.firstResponder.step.personalInfo.howDoesVerifyingWorkDetails":"\\n This offer is available to all US first responders and emergency personnel - including law enforcement,\\n EMTs, paramedics, and firefighters.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID\\n only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.firstResponder.step.personalInfo.subtitle":"Verify you\'re an active first responder.","segmentMessages.firstResponder.step.personalInfo.title":"Unlock this 1st Responder-Only Offer","segmentMessages.firstResponder.step.personalInfo.tryAgain.subtitle":"Your full name, organization name, and email must match what is on record with your agency.","segmentMessages.firstResponder.step.personalInfo.tryAgain.title":"Check Your Name, Email & Organization","segmentMessages.firstResponder.step.personalInfo.verifyingTitle":"Verifying your first responder status","segmentMessages.firstResponder.step.success.redirectButtonText":"Use code now","segmentMessages.firstResponder.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.firstResponder.step.success.title":"You\'ve been verified","segmentMessages.identity.emailExplanation":"Needed to send you your unique code","segmentMessages.identity.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying identity.\\n <br><br>\\n Documents are used only for verifying your current eligibility and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.identity.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.identity.step.docUpload.title":"We need your driver license","segmentMessages.identity.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.identity.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must have a valid driver license.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in\\n verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.identity.step.personalInfo.subtitle":"Verify your current identity.","segmentMessages.identity.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.identity.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.identity.step.personalInfo.tryAgain.title":"Check Your Name & other fields","segmentMessages.identity.step.personalInfo.verifyingTitle":"Verifying your identity","segmentMessages.identity.step.success.redirectButtonText":"Use code now","segmentMessages.identity.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.identity.step.success.title":"You\'ve been verified","segmentMessages.licensedProfessional.emailExplanation":"Needed to send you your unique code","segmentMessages.licensedProfessional.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying licensed professionals.\\n <br><br>\\n Documents are used only for verifying your licensure or certification status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.licensedProfessional.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.licensedProfessional.step.docUpload.title":"We need your professional license or certificate","segmentMessages.licensedProfessional.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.licensedProfessional.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must hold a current professional license in your specified field. Eligible fields are shown in the Status selector of this form.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional.\\n SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.licensedProfessional.step.personalInfo.subtitle":"\\"Verify you have a professional license in your field.","segmentMessages.licensedProfessional.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.licensedProfessional.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.licensedProfessional.step.personalInfo.tryAgain.title":"Check Your Name & other fields","segmentMessages.licensedProfessional.step.personalInfo.verifyingTitle":"Verifying your license","segmentMessages.licensedProfessional.step.success.redirectButtonText":"Use code now","segmentMessages.licensedProfessional.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.licensedProfessional.step.success.title":"You\'ve been verified","segmentMessages.lowIncome.emailExplanation":"","segmentMessages.lowIncome.postalCodeExplanation":"Use your home address","segmentMessages.lowIncome.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.\\n <br><br>\\n Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.lowIncome.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.lowIncome.step.docUpload.title":"We need some more info","segmentMessages.lowIncome.step.docUpload.uploadInstructions":"Upload an official document that shows:","segmentMessages.lowIncome.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below. \\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. \\n SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.lowIncome.step.personalInfo.subtitle":"Verify you qualify for an eligible government assistance program.","segmentMessages.lowIncome.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.lowIncome.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.lowIncome.step.personalInfo.tryAgain.title":"Check Your full name & other fields","segmentMessages.lowIncome.step.personalInfo.verifyingTitle":"Verifying your status","segmentMessages.lowIncome.step.success.redirectButtonText":"Use code now","segmentMessages.lowIncome.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.lowIncome.step.success.title":"You\'ve been verified","segmentMessages.medical.emailExplanation":"Use your work email if you have one","segmentMessages.medical.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying\\n medical professionals.<br><br>Documents are used only for verifying your medical professional status is\\n current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.medical.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.medical.step.docUpload.title":"We need more information","segmentMessages.medical.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.medical.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must (1) be a medical professional currently licensed in the United States\\n and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status\\n selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional.\\n SheerID only collects information that assists in verifying your eligibility.\\n Additional information or documentation may be requested.","segmentMessages.medical.step.personalInfo.subtitle":"Verify you\'re a licensed medical professional.","segmentMessages.medical.step.personalInfo.title":"Unlock this Medical Professional-Only Offer","segmentMessages.medical.step.personalInfo.tryAgain.subtitle":"Your first and last name, birthdate and organization must match what is on your official documents.","segmentMessages.medical.step.personalInfo.tryAgain.title":"Check your Name, Birthdate & Organization","segmentMessages.medical.step.personalInfo.verifyingTitle":"Verifying your medical professional status","segmentMessages.medical.step.sso.login":"Sign into my employer web portal","segmentMessages.medical.step.sso.subtitle":"Please sign into your employer\'s web portal. It will open in a new tab.","segmentMessages.medical.step.sso.title":"Verify your Healthcare status","segmentMessages.medical.step.success.redirectButtonText":"Use code now","segmentMessages.medical.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.medical.step.success.title":"You\'ve been verified","segmentMessages.member.emailExplanation":"Needed to send you your unique code","segmentMessages.member.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying members.\\n <br><br>\\n Documents are used only to verify that your membership status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.member.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.member.step.docUpload.title":"We need more information","segmentMessages.member.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.member.step.personalInfo.howDoesVerifyingWorkDetails":"{companyName} has set up this special offer for all current members of select organizations.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects\\n information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.member.step.personalInfo.subtitle":"Verify you\'re a current member of an eligible organization.","segmentMessages.member.step.personalInfo.title":"Unlock this Members-Only Offer","segmentMessages.member.step.personalInfo.tryAgain.subtitle":"The information you have provided should match your official documents.","segmentMessages.member.step.personalInfo.tryAgain.title":"Check the information that you have provided","segmentMessages.member.step.personalInfo.verifyingTitle":"Verifying your membership status","segmentMessages.member.step.success.redirectButtonText":"Use code now","segmentMessages.member.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.member.step.success.title":"You\'ve been verified","segmentMessages.military.emailExplanation":"Personal email address is recommended","segmentMessages.military.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying military.\\n <br><br>\\n Documents are used only for verifying your military status is current and will be permanently deleted after review is finalized.\\n They will not be shared with {companyName}","segmentMessages.military.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.military.step.docUpload.title":"We need more information","segmentMessages.military.step.docUpload.uploadInstructions":"Upload your government-issued document that shows:","segmentMessages.military.step.personalInfo.howDoesVerifyingWorkDetails":"\\n This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information\\n that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.military.step.personalInfo.subtitle":"Verify you\'re a member of the armed forces.","segmentMessages.military.step.personalInfo.title":"Unlock this Military-Only Offer","segmentMessages.military.step.personalInfo.tryAgain.subtitle":"Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name.","segmentMessages.military.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.military.step.personalInfo.verifyingTitle":"Verifying your military status","segmentMessages.military.step.success.redirectButtonText":"Use code now","segmentMessages.military.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.military.step.success.title":"You\'ve been verified","segmentMessages.recentMover.emailExplanation":"Needed to send you your unique code","segmentMessages.recentMover.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying recent movers.\\n <br/><br/>\\n Documents are used only for verifying that you\'ve recently moved and will will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.recentMover.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.recentMover.step.docUpload.title":"We need some more info","segmentMessages.recentMover.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.recentMover.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must have moved to a new address within the last 60 days.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only\\n collects information that assists in verifying your eligibility.\\n Additional information or documentation may be requested.","segmentMessages.recentMover.step.personalInfo.subtitle":"Verify you have recently moved.","segmentMessages.recentMover.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.recentMover.step.personalInfo.tryAgain.subtitle":"Your first and last name and address must match what is on your official documents.","segmentMessages.recentMover.step.personalInfo.tryAgain.title":"Check Your Name & Address Information","segmentMessages.recentMover.step.personalInfo.verifyingTitle":"Verifying your moving status","segmentMessages.recentMover.step.success.redirectButtonText":"Use code now","segmentMessages.recentMover.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.recentMover.step.success.title":"You\'ve been verified","segmentMessages.senior.emailExplanation":"Needed to send you your unique code","segmentMessages.senior.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying age.\\n <br><br>\\n Documents are used only for verifying your current age and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.senior.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.senior.step.docUpload.title":"We need your license or passport","segmentMessages.senior.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.senior.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must be of a certain age.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\\n verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.senior.step.personalInfo.subtitle":"Verify your current age.","segmentMessages.senior.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.senior.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your government-issued documents.","segmentMessages.senior.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.senior.step.personalInfo.verifyingTitle":"Verifying your age","segmentMessages.senior.step.success.redirectButtonText":"Use code now","segmentMessages.senior.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.senior.step.success.title":"You\'ve been verified","segmentMessages.student.emailExplanation":"A student email address is preferred","segmentMessages.student.schoolName":"University / college name","segmentMessages.student.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying students.\\n <br/><br/>\\n Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.","segmentMessages.student.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.student.step.docUpload.title":"We need your ID & class schedule","segmentMessages.student.step.docUpload.uploadInstructions":"Upload your school-issued document that shows","segmentMessages.student.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must currently be enrolled in a degree\\n or certificate-granting, accredited school of education.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only\\n collects information that assists in verifying your eligibility.\\n Additional information or documentation may be requested.","segmentMessages.student.step.personalInfo.subtitle":"Verify you\'re a student at a degree-granting school.","segmentMessages.student.step.personalInfo.title":"Unlock this Student-Only Offer","segmentMessages.student.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your official school records.","segmentMessages.student.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.student.step.personalInfo.verifyingTitle":"Verifying your student status","segmentMessages.student.step.sso.cancel":"Upload Proof of Enrollment","segmentMessages.student.step.success.redirectButtonText":"Use code now","segmentMessages.student.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.student.step.success.title":"You\'ve been verified","segmentMessages.teacher.emailExplanation":"Must be your school-issued email address","segmentMessages.teacher.schoolName":"School name","segmentMessages.teacher.schoolNamePlaceholder":"School name","segmentMessages.teacher.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying teachers.\\n <br><br>\\n Documents are used only for verifying your teacher or faculty status is current and will be permanently\\n deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.teacher.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.teacher.step.docUpload.title":"We need more information","segmentMessages.teacher.step.docUpload.uploadInstructions":"Upload your school-issued document that shows","segmentMessages.teacher.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12\\n school or university in the United States.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff\\n member. SheerID only collects information that assists in verifying your eligibility. Additional information\\n or documentation may be requested.","segmentMessages.teacher.step.personalInfo.subtitle":"Verify you\'re a teacher, faculty or staff at a K-12 or degree-granting university.","segmentMessages.teacher.step.personalInfo.title":"Unlock this Teaching Staff-Only Offer","segmentMessages.teacher.step.personalInfo.tryAgain.subtitle":"Your full name and email address must match what is on record with your school.","segmentMessages.teacher.step.personalInfo.tryAgain.title":"Check Your Name & Email","segmentMessages.teacher.step.personalInfo.verifyingTitle":"Verifying your teacher status","segmentMessages.teacher.step.success.redirectButtonText":"Use code now","segmentMessages.teacher.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.teacher.step.success.title":"You\'ve been verified"}');function wa(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Sa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=wa(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=wa(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ma=e=>{var r;const n=va()(r=t()(e)).call(r,((t,r)=>(e[r]&&(t[r]=e[r]),t)),{});return ya.flatten.unflatten(n)},Ca=function(){var e=hr((function*(e){let t;switch(e){case"ar":t=yield o.e(711).then(o.t.bind(o,49,19)).then((e=>e.default));break;case"bg":t=yield o.e(458).then(o.t.bind(o,7813,19)).then((e=>e.default));break;case"cs":t=yield o.e(41).then(o.t.bind(o,3751,19)).then((e=>e.default));break;case"da":t=yield o.e(348).then(o.t.bind(o,5298,19)).then((e=>e.default));break;case"de":t=yield o.e(903).then(o.t.bind(o,2464,19)).then((e=>e.default));break;case"el":t=yield o.e(482).then(o.t.bind(o,2757,19)).then((e=>e.default));break;case"en-GB":t=yield o.e(194).then(o.t.bind(o,2925,19)).then((e=>e.default));break;case"en-US":t=Ea;break;case"es-ES":t=yield o.e(79).then(o.t.bind(o,7954,19)).then((e=>e.default));break;case"es":t=yield o.e(195).then(o.t.bind(o,7685,19)).then((e=>e.default));break;case"fi":t=yield o.e(304).then(o.t.bind(o,4214,19)).then((e=>e.default));break;case"fr-CA":t=yield o.e(485).then(o.t.bind(o,7762,19)).then((e=>e.default));break;case"fr":t=yield o.e(645).then(o.t.bind(o,6685,19)).then((e=>e.default));break;case"ga":t=yield o.e(456).then(o.t.bind(o,1804,19)).then((e=>e.default));break;case"hr":t=yield o.e(122).then(o.t.bind(o,6754,19)).then((e=>e.default));break;case"hu":t=yield o.e(722).then(o.t.bind(o,465,19)).then((e=>e.default));break;case"id":t=yield o.e(398).then(o.t.bind(o,5394,19)).then((e=>e.default));break;case"it":t=yield o.e(797).then(o.t.bind(o,7206,19)).then((e=>e.default));break;case"iw":t=yield o.e(961).then(o.t.bind(o,7238,19)).then((e=>e.default));break;case"ja":t=yield o.e(691).then(o.t.bind(o,912,19)).then((e=>e.default));break;case"ko":t=yield o.e(293).then(o.t.bind(o,5295,19)).then((e=>e.default));break;case"lo":t=yield o.e(47).then(o.t.bind(o,4762,19)).then((e=>e.default));break;case"lt":t=yield o.e(283).then(o.t.bind(o,7399,19)).then((e=>e.default));break;case"ms":t=yield o.e(478).then(o.t.bind(o,8031,19)).then((e=>e.default));break;case"nl":t=yield o.e(596).then(o.t.bind(o,3845,19)).then((e=>e.default));break;case"no":t=yield o.e(44).then(o.t.bind(o,7897,19)).then((e=>e.default));break;case"pl":t=yield o.e(589).then(o.t.bind(o,2176,19)).then((e=>e.default));break;case"pt-BR":t=yield o.e(495).then(o.t.bind(o,3170,19)).then((e=>e.default));break;case"pt":t=yield o.e(259).then(o.t.bind(o,4055,19)).then((e=>e.default));break;case"ru":t=yield o.e(753).then(o.t.bind(o,4194,19)).then((e=>e.default));break;case"sk":t=yield o.e(61).then(o.t.bind(o,6349,19)).then((e=>e.default));break;case"sl":t=yield o.e(666).then(o.t.bind(o,7091,19)).then((e=>e.default));break;case"sr":t=yield o.e(916).then(o.t.bind(o,3263,19)).then((e=>e.default));break;case"sv":t=yield o.e(140).then(o.t.bind(o,8638,19)).then((e=>e.default));break;case"th":t=yield o.e(845).then(o.t.bind(o,2407,19)).then((e=>e.default));break;case"tr":t=yield o.e(856).then(o.t.bind(o,8374,19)).then((e=>e.default));break;case"zh-HK":t=yield o.e(93).then(o.t.bind(o,6320,19)).then((e=>e.default));break;case"zh":t=yield o.e(494).then(o.t.bind(o,7485,19)).then((e=>e.default));break;default:he.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`),t=Ea}return Ma(t)}));return function(t){return e.apply(this,arguments)}}(),Ia=function(){var e=hr((function*(e){const t=yield fetch(`${ta()}localized-messages/${e}.json`,{headers:{"Content-Type":"text/plain"}});let r={};try{r=yield t.json()}catch(e){he.error(e)}return Ma(r)}));return function(t){return e.apply(this,arguments)}}(),Na=e=>{var r;const n=(0,ya.flatten)(e),a={};return d()(r=t()(n)).call(r,(e=>{"string"==typeof n[e]&&(a[e]=n[e])})),a},Da=e=>{let t={};return Sn().messagesWithLocale[e]&&(t=Sn().messagesWithLocale[e]),t},Ta=e=>"iw"===e?"he":e,Aa=function(){var e=hr((function*(e,t,r){let n,a=e;Wr(a)||(he.error(`Invalid locale ${a}, falling back to ${en} for the verification form`,"Invalid locale"),a=en),n="true"===window.sheerIdEs5?yield Ia(a):yield Ca(a);const i=n?n.defaultMessages:{},o=n&&n.segmentMessages,s=r&&o?n.segmentMessages[r]:{},l=Da(a),u=t?Na(t):{},c=a!==en?yield Aa(en,t,r):{};return $()({},c,i?(0,ya.flatten)(i):{},s?(0,ya.flatten)(s):{},u,l?(0,ya.flatten)(l):{})}));return function(t,r,n){return e.apply(this,arguments)}}();const xa=(e,t)=>{const r=oe((()=>e.localeChoice.value))||function(e){return e?(e=>{let t;return t="en-US",t})():void 0}(oe((()=>e.countryChoice.value)))||Sn().locale||Ar(window.location.href).get("locale")||void 0||oe((()=>t.locale))||en;try{return qr(r),r}catch(e){return en}};function _a(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Oa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=_a(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=_a(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ka={enabled:!1,required:!1,message:""},Pa=ma()({enabled:!1,keys:[],requiredKeys:[]}),Ra=e=>{let t=ie(Pa);try{oe((()=>e.config.customMetadata.enabled))&&(t=Oa(Oa({},t),e.config.customMetadata))}catch(e){he.warn("No custom metadata provided by the server.")}return Sn().customMetadata&&(t=Oa(Oa({},t),Sn().customMetadata)),t},Fa=e=>{let t=Oa({},ka);try{e.config.marketConsent&&(t=e.config.marketConsent)}catch(e){he.warn("Server did not provided a market consent config. Default will be used")}return Sn().marketConsent&&(t=Sn().marketConsent),t},La=e=>{let t;try{t=e.intl.messages}catch(t){he.warn("Unable to get theme messages from ",e)}return t},Ua=e=>Sn().customCss||e.customCss,Ba=e=>{const t=Sn();return t.hasOwnProperty("logoUrl")?t.logoUrl:e.logoUrl},Va=e=>Sn().privacyPolicyUrl||e.privacyPolicyUrl,ja=e=>{let t=["en-US"],r=[];try{r=e.config.locales}catch(e){he.warn("Unable to get configured locales from programTheme")}const n=za(Sn());return t=[...r,...n],a=t,i()(o=ha()(a).call(a)).call(o,((e,t,r)=>!t||e!==r[t-1]));var a,o},za=e=>e&&e.messagesWithLocale?t()(e.messagesWithLocale):[],Ha=e=>{try{if(e&&e.config&&e.config.countries)return e.config.countries;if(e.intl.messages.step.personalInfo.countries){const t=[];for(const r in e.intl.messages.step.personalInfo.countries)t.push(r);return t}}catch(e){he.warn("Unable to get configured countries")}return["US"]},$a=e=>{let t;try{t=e.config.estimatedReviewTime}catch(e){t="A_FEW_HOURS"}return t},qa=e=>{let t;try{t=e.config.maxReviewTime}catch(e){t="2_HRS"}return t},Wa=Sn(),Ga=(e,t,r,n)=>{let a;try{a=e.config.customFaqLink}catch(e){a=""}return a&&""!==a?a:`${(()=>{const e="urlFaq";return Wa.hasOwnProperty(e)||he.error(`Can't find an option for '${e}'`,"Option not found"),Wa[e]})()}?pid=${r}&locale=${(e=>e.replace("-","_"))(n)}`},Ya=(e,t)=>oe((()=>e.config.orgSearchCountryTags[t].join(",")),""),Ka=({children:e})=>q.createElement("div",{className:"sid sid-form-wrapper"},e);function Za(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ja(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Za(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Za(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Xa={firstName:"",lastName:"",email:"",phoneNumber:""},Qa={countryChoice:void 0,localeChoice:{value:void 0,label:void 0}},ei={organization:{id:0,name:""}},ti={fieldsToSkipValidation:void 0},ri=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ni=Ja(Ja(Ja(Ja({},Xa),Qa),ti),{},{birthDate:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ai=Ja(Ja(Ja(Ja({},Xa),Qa),ti),{},{birthDate:"",postalCode:"",phoneNumber:"",country:"US",metadata:{marketConsentValue:!1,carrierConsentValue:!1,refererUrl:window.location.href}}),ii=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),oi=Ja(Ja(Ja(Ja({},Xa),Qa),ei),{},{birthDate:"",phoneNumber:"",memberId:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),si=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{activeDutyStartDate:"",birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),li=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{activeDutyStartDate:"",birthDate:"",dischargeDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ui=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ci=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{birthDate:"",postalCode:"",status:void 0,country:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href},memberId:void 0}),di=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{postalCode:"",address1:"",city:"",state:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),fi=Ja(Ja(Ja(Ja({},Xa),ti),Qa),{},{state:"",driverLicenseNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),mi=Ja(Ja(Ja(Ja({},Xa),ti),Qa),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),pi=Ja(Ja(Ja(Ja({},Xa),ti),Qa),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href},driverLicenseNumber:""}),hi=Ja(Ja(Ja(Ja(Ja({},Xa),ti),Qa),ei),{},{birthDate:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),gi=Ja(Ja(Ja(Ja({},Xa),ti),Qa),{},{address1:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),vi=Ja(Ja(Ja(Ja(Ja({},Xa),ti),Qa),ei),{},{birthDate:"",postalCode:"",statuses:[],ebtCardNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),yi=Ja(Ja(Ja({},Qa),ti),{},{file1:void 0,file2:void 0,file3:void 0}),bi=Ja(Ja(Ja({},Qa),ti),{},{isSSOActive:!1}),Ei=(Ja(Ja({},Qa),{},{overrideCode:void 0}),Ja(Ja({},Qa),{},{socialSecurityNumber:void 0})),wi=Ja(Ja({},Qa),{},{smsCode:"",phoneNumber:void 0}),Si=Ja(Ja({},Qa),{},{emailToken:""}),Mi=Ja({},Qa),Ci={firstName:void 0,lastName:void 0,memberId:void 0,email:void 0,phoneNumber:void 0,birthDate:void 0,organization:void 0,postalCode:void 0,address1:void 0,city:void 0,country:void 0,state:void 0,activeDutyStartDate:void 0,dischargeDate:void 0,docUpload:void 0,status:void 0,statuses:void 0,socialSecurityNumber:void 0,marketConsentValue:void 0,carrierConsentValue:void 0,smsCode:void 0,driverLicenseNumber:void 0,ebtCardNumber:void 0,overrideCode:void 0},Ii=()=>({collectStudentPersonalInfo:ie(ri),collectTeacherPersonalInfo:ie(ii),collectMemberPersonalInfo:ie(oi),collectMilitaryStatus:ie(si),collectActiveMilitaryPersonalInfo:ie(si),collectInactiveMilitaryPersonalInfo:ie(li),collectSeniorPersonalInfo:ie(ni),collectAgePersonalInfo:ie(ai),collectFirstResponderPersonalInfo:ie(ui),collectMedicalProfessionalPersonalInfo:ie(ci),collectEmployeePersonalInfo:ie(di),collectSocialSecurityNumber:ie(Ei),collectDriverLicensePersonalInfo:ie(fi),collectGeneralIdentityPersonalInfo:ie(mi),collectHybridIdentityPersonalInfo:ie(pi),collectLicensedProfessionalPersonalInfo:ie(hi),collectLowIncomePersonalInfo:ie(vi),collectMoverPersonalInfo:ie(gi),docUpload:ie(yi),cancelEmailLoop:ie(Si),sso:ie(bi),smsLoop:ie(wi),emailLoop:ie(Si),pending:ie(Mi),success:ie(Mi),consolation:ie(Mi),override:ie(Mi),error:ie(Mi),cancelSocialSecurityNumber:ie(Mi),docReviewLimitExceeded:ie(Mi),cancelDocUpload:ie(Mi),missingRequiredMetadata:ie(Mi)}),Ni=()=>ie(Ci),Di=()=>({intl:{locale:xa(),messages:{}},customCss:""}),Ti=Ja(Ja({},Qa),{},{orgDomain:"",orgName:"",firstName:"",lastName:"",email:"",displayResults:!1,searchByOrgName:!1,completeRequest:!1,eligibleOrgs:[],ineligibleOrgs:[],orgCountryError:null,orgDomainError:null,orgNameError:null,firstNameError:null,lastNameError:null,emailError:null,isSearching:!1});const Ai=ma()({viewModel:ie(Ti),programTheme:void 0,programId:void 0,submitted:!1,error:void 0,locale:void 0,messages:void 0,isLoading:1,isInitialized:!1}),xi=()=>ie(Ai),_i=q.createContext([xi(),()=>{}]);var Oi=o(1652);function ki(){return ki=Oi||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ki.apply(this,arguments)}var Pi=o(8897),Ri=o(1245),Fi=o(7347);function Li(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Fi(e);for(n=0;n<i.length;n++)r=i[n],Ri(t).call(t,r)>=0||(a[r]=e[r]);return a}(e,t);if(Pi){var i=Pi(e);for(n=0;n<i.length;n++)r=i[n],Ri(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const Ui=["dangerouslySetInnerHTML"],Bi=e=>{let{dangerouslySetInnerHTML:t}=e,r=Li(e,Ui);return t?q.createElement("span",ki({dangerouslySetInnerHTML:t},r)):q.createElement(q.Fragment,r)};var Vi,ji=o(2814),zi=o.n(ji),Hi=o(1671),$i=o.n(Hi),qi=o(8338),Wi=o.n(qi);!function(e){e.UK="UK",e.GB="GB",e.JE="JE",e.GG="GG",e.IM="IM",e.US="US",e.CA="CA",e.IE="IE",e.DE="DE",e.JP="JP",e.FR="FR",e.AU="AU",e.IT="IT",e.CH="CH",e.AT="AT",e.ES="ES",e.NL="NL",e.BE="BE",e.DK="DK",e.SE="SE",e.NO="NO",e.BR="BR",e.PT="PT",e.FI="FI",e.AX="AX",e.KR="KR",e.CN="CN",e.TW="TW",e.SG="SG",e.DZ="DZ",e.AD="AD",e.AR="AR",e.AM="AM",e.AZ="AZ",e.BH="BH",e.BD="BD",e.BB="BB",e.BY="BY",e.BM="BM",e.BA="BA",e.IO="IO",e.BN="BN",e.BG="BG",e.KH="KH",e.CV="CV",e.CL="CL",e.CR="CR",e.HR="HR",e.CY="CY",e.CZ="CZ",e.DO="DO",e.EC="EC",e.EG="EG",e.EE="EE",e.FO="FO",e.GE="GE",e.GR="GR",e.GL="GL",e.GT="GT",e.HT="HT",e.HN="HN",e.HU="HU",e.IS="IS",e.IN="IN",e.ID="ID",e.IL="IL",e.JO="JO",e.KZ="KZ",e.KE="KE",e.KW="KW",e.LA="LA",e.LV="LV",e.LB="LB",e.LI="LI",e.LT="LT",e.LU="LU",e.MK="MK",e.MY="MY",e.MV="MV",e.MT="MT",e.MU="MU",e.MX="MX",e.MD="MD",e.MC="MC",e.MA="MA",e.NP="NP",e.NZ="NZ",e.NI="NI",e.NG="NG",e.OM="OM",e.PK="PK",e.PY="PY",e.PH="PH",e.PL="PL",e.PR="PR",e.RO="RO",e.RU="RU",e.SM="SM",e.SA="SA",e.SN="SN",e.SK="SK",e.SI="SI",e.ZA="ZA",e.LK="LK",e.TJ="TJ",e.TH="TH",e.TN="TN",e.TR="TR",e.TM="TM",e.UA="UA",e.UY="UY",e.UZ="UZ",e.VA="VA",e.VE="VE",e.ZM="ZM",e.AS="AS",e.CC="CC",e.CK="CK",e.RS="RS",e.ME="ME",e.CS="CS",e.YU="YU",e.CX="CX",e.ET="ET",e.FK="FK",e.NF="NF",e.FM="FM",e.GF="GF",e.GN="GN",e.GP="GP",e.GS="GS",e.GU="GU",e.GW="GW",e.HM="HM",e.IQ="IQ",e.KG="KG",e.LR="LR",e.LS="LS",e.MG="MG",e.MH="MH",e.MN="MN",e.MP="MP",e.MQ="MQ",e.NC="NC",e.NE="NE",e.VI="VI",e.PF="PF",e.PG="PG",e.PM="PM",e.PN="PN",e.PW="PW",e.RE="RE",e.SH="SH",e.SJ="SJ",e.SO="SO",e.SZ="SZ",e.TC="TC",e.WF="WF",e.XK="XK",e.YT="YT",e.INTL="INTL"}(Vi||(Vi={}));const Gi=new Map([[Vi.UK,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[Vi.GB,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[Vi.JE,/^JE\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[Vi.GG,/^GY\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[Vi.IM,/^IM\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[Vi.US,/^([0-9]{5})(?:-([0-9]{4}))?$/],[Vi.CA,/^([ABCEGHJKLMNPRSTVXY][0-9][ABCEGHJKLMNPRSTVWXYZ])\s*([0-9][ABCEGHJKLMNPRSTVWXYZ][0-9])$/i],[Vi.IE,/^([AC-FHKNPRTV-Y][0-9]{2}|D6W)[ -]?[0-9AC-FHKNPRTV-Y]{4}$/],[Vi.DE,/^\d{5}$/],[Vi.JP,/^\d{3}-\d{4}$/],[Vi.FR,/^\d{2}[ ]?\d{3}$/],[Vi.AU,/^\d{4}$/],[Vi.IT,/^\d{5}$/],[Vi.CH,/^\d{4}$/],[Vi.AT,/^(?!0)\d{4}$/],[Vi.ES,/^\d{5}$/],[Vi.NL,/^\d{4}[ ]?[A-Z]{2}$/],[Vi.BE,/^\d{4}$/],[Vi.DK,/^\d{4}$/],[Vi.SE,/^(SE-)?\d{3}[ ]?\d{2}$/],[Vi.NO,/^\d{4}$/],[Vi.BR,/^\d{5}[\-]?\d{3}$/],[Vi.PT,/^\d{4}([\-]\d{3})?$/],[Vi.FI,/^(FI-|AX-)?\d{5}$/],[Vi.AX,/^22\d{3}$/],[Vi.KR,/^\d{5}$/],[Vi.CN,/^\d{6}$/],[Vi.TW,/^\d{3}(\d{2})?$/],[Vi.SG,/^\d{6}$/],[Vi.DZ,/^\d{5}$/],[Vi.AD,/^AD\d{3}$/],[Vi.AR,/^([A-HJ-NP-Z])?\d{4}([A-Z]{3})?$/],[Vi.AM,/^(37)?\d{4}$/],[Vi.AZ,/^\d{4}$/],[Vi.BH,/^((1[0-2]|[2-9])\d{2})?$/],[Vi.BD,/^\d{4}$/],[Vi.BB,/^(BB\d{5})?$/],[Vi.BY,/^\d{6}$/],[Vi.BM,/^[A-Z]{2}[ ]?[A-Z0-9]{2}$/],[Vi.BA,/^\d{5}$/],[Vi.IO,/^BBND 1ZZ$/],[Vi.BN,/^[A-Z]{2}[ ]?\d{4}$/],[Vi.BG,/^\d{4}$/],[Vi.KH,/^\d{5}$/],[Vi.CV,/^\d{4}$/],[Vi.CL,/^\d{7}$/],[Vi.CR,/^\d{4,5}|\d{3}-\d{4}$/],[Vi.HR,/^(HR-)?\d{5}$/],[Vi.CY,/^\d{4}$/],[Vi.CZ,/^\d{3}[ ]?\d{2}$/],[Vi.DO,/^\d{5}$/],[Vi.EC,/^([A-Z]\d{4}[A-Z]|(?:[A-Z]{2})?\d{6})?$/],[Vi.EG,/^\d{5}$/],[Vi.EE,/^\d{5}$/],[Vi.FO,/^\d{3}$/],[Vi.GE,/^\d{4}$/],[Vi.GR,/^\d{3}[ ]?\d{2}$/],[Vi.GL,/^39\d{2}$/],[Vi.GT,/^\d{5}$/],[Vi.HT,/^\d{4}$/],[Vi.HN,/^(?:\d{5})?$/],[Vi.HU,/^\d{4}$/],[Vi.IS,/^\d{3}$/],[Vi.IN,/^\d{6}$/],[Vi.ID,/^\d{5}$/],[Vi.IL,/^\d{5,7}$/],[Vi.JO,/^\d{5}$/],[Vi.KZ,/^\d{6}$/],[Vi.KE,/^\d{5}$/],[Vi.KW,/^\d{5}$/],[Vi.LA,/^\d{5}$/],[Vi.LV,/^(LV-)?\d{4}$/],[Vi.LB,/^(\d{4}([ ]?\d{4})?)?$/],[Vi.LI,/^(948[5-9])|(949[0-7])$/],[Vi.LT,/^(LT-)?\d{5}$/],[Vi.LU,/^(L-)?\d{4}$/],[Vi.MK,/^\d{4}$/],[Vi.MY,/^\d{5}$/],[Vi.MV,/^\d{5}$/],[Vi.MT,/^[A-Z]{3}[ ]?\d{2,4}$/],[Vi.MU,/^((\d|[A-Z])\d{4})?$/],[Vi.MX,/^\d{5}$/],[Vi.MD,/^\d{4}$/],[Vi.MC,/^980\d{2}$/],[Vi.MA,/^\d{5}$/],[Vi.NP,/^\d{5}$/],[Vi.NZ,/^\d{4}$/],[Vi.NI,/^((\d{4}-)?\d{3}-\d{3}(-\d{1})?)?$/],[Vi.NG,/^(\d{6})?$/],[Vi.OM,/^(PC )?\d{3}$/],[Vi.PK,/^\d{5}$/],[Vi.PY,/^\d{4}$/],[Vi.PH,/^\d{4}$/],[Vi.PL,/^\d{2}-\d{3}$/],[Vi.PR,/^00[679]\d{2}([ \-]\d{4})?$/],[Vi.RO,/^\d{6}$/],[Vi.RU,/^\d{6}$/],[Vi.SM,/^4789\d$/],[Vi.SA,/^\d{5}$/],[Vi.SN,/^\d{5}$/],[Vi.SK,/^\d{3}[ ]?\d{2}$/],[Vi.SI,/^(SI-)?\d{4}$/],[Vi.ZA,/^\d{4}$/],[Vi.LK,/^\d{5}$/],[Vi.TJ,/^\d{6}$/],[Vi.TH,/^\d{5}$/],[Vi.TN,/^\d{4}$/],[Vi.TR,/^\d{5}$/],[Vi.TM,/^\d{6}$/],[Vi.UA,/^\d{5}$/],[Vi.UY,/^\d{5}$/],[Vi.UZ,/^\d{6}$/],[Vi.VA,/^00120$/],[Vi.VE,/^\d{4}$/],[Vi.ZM,/^\d{5}$/],[Vi.AS,/^96799$/],[Vi.CC,/^6799$/],[Vi.CK,/^\d{4}$/],[Vi.RS,/^\d{5,6}$/],[Vi.ME,/^8\d{4}$/],[Vi.CS,/^\d{5}$/],[Vi.YU,/^\d{5}$/],[Vi.CX,/^6798$/],[Vi.ET,/^\d{4}$/],[Vi.FK,/^FIQQ 1ZZ$/],[Vi.NF,/^2899$/],[Vi.FM,/^(9694[1-4])([ \-]\d{4})?$/],[Vi.GF,/^9[78]3\d{2}$/],[Vi.GN,/^\d{3}$/],[Vi.GP,/^9[78][01]\d{2}$/],[Vi.GS,/^SIQQ 1ZZ$/],[Vi.GU,/^969[123]\d([ \-]\d{4})?$/],[Vi.GW,/^\d{4}$/],[Vi.HM,/^\d{4}$/],[Vi.IQ,/^\d{5}$/],[Vi.KG,/^\d{6}$/],[Vi.LR,/^\d{4}$/],[Vi.LS,/^\d{3}$/],[Vi.MG,/^\d{3}$/],[Vi.MH,/^969[67]\d([ \-]\d{4})?$/],[Vi.MN,/^\d{6}$/],[Vi.MP,/^9695[012]([ \-]\d{4})?$/],[Vi.MQ,/^9[78]2\d{2}$/],[Vi.NC,/^988\d{2}$/],[Vi.NE,/^\d{4}$/],[Vi.VI,/^008(([0-4]\d)|(5[01]))([ \-]\d{4})?$/],[Vi.PF,/^987\d{2}$/],[Vi.PG,/^\d{3}$/],[Vi.PM,/^9[78]5\d{2}$/],[Vi.PN,/^PCRN 1ZZ$/],[Vi.PW,/^96940$/],[Vi.RE,/^9[78]4\d{2}$/],[Vi.SH,/^(ASCN|STHL) 1ZZ$/],[Vi.SJ,/^\d{4}$/],[Vi.SO,/^\d{5}$/],[Vi.SZ,/^[HLMS]\d{3}$/],[Vi.TC,/^TKCA 1ZZ$/],[Vi.WF,/^986\d{2}$/],[Vi.XK,/^\d{5}$/],[Vi.YT,/^976\d{2}$/],[Vi.INTL,/^(?:[A-Z0-9]+([- ]?[A-Z0-9]+)*)?$/i]]),Yi=["ACTIVE_DUTY","VETERAN","RESERVIST","MILITARY_RETIREE","MILITARY_FAMILY","GOLD_STAR_FAMILY"],Ki=["FIREFIGHTER","EMT","POLICE","SEARCH_AND_RESCUE"],Zi=["NURSE","DOCTOR","DENTIST","PHARMACIST","OTHER_HEALTH_WORKER"];let Ji={};function Xi(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Qi(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Xi(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Xi(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const eo=10,to=[/^\+?0*\d{10,}(x[0-9]{0,5})?$/,/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/],ro=(e,t)=>{const r=jr();for(const r in e){var n;const a=e[r]?e[r]:"",i=e.fieldsToSkipValidation&&zi()(n=e.fieldsToSkipValidation).call(n,r);if(_e[r]&&"string"==typeof Lo(r,a,t)&&!i)return!1}const a=oe((()=>e.metadata),null);if(null!==a)for(const e in a){const n=void 0!==a[e]?a[e]:"";if(zi()(r).call(r,e)&&"string"==typeof Br(e)(n,t))return!1}return!0},no=(e,t,r,n,a)=>n?(he.info(`Using overridden validator for field '${e}'`),n(t,a)):r(t,a),ao=()=>{const e=Ni(),t=(()=>{const e={},t=jr();if(t)for(const r of t)e[r]=void 0;return e})();return Qi(Qi({},e),t)},io=e=>{if(void 0===e||!Ao(e))return"invalidFirstName"},oo=e=>{if(void 0===e||!Ao(e))return"invalidLastName"},so=()=>{},lo=e=>{if(!e)return"invalidCountry"},uo=e=>{if(void 0===e||!/(^\s*?[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+)*@([A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+)+|\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])\s*?$)/.test(e))return"invalidEmail"},co=e=>t=>{const r="invalidPhoneNumber";if(e&&!t)return r;const n=i()(to).call(to,(e=>e.test(t)));return t&&0===n.length?r:void 0},fo=e=>{if(void 0===e.id||$i()(e.id)||"EMPLOYER"!==e.source&&e.id<0||"EMPLOYER"===e.source&&(e.id>-1||!e.idExtended)||0===e.id&&e.name.length<=0)return"invalidOrganization"},mo=(e,t)=>{const r="invalidBirthDate";if(oe((()=>"collectMemberPersonalInfo"===t.currentStep))){if(void 0===e||""===e||e.split("undefined").join("").length<=2)return;if(!_o(e)||!xo(e))return r}else if(void 0===e||!_o(e)||!xo(e))return r;return Po(e,oe((()=>t.minAge)),oe((()=>t.maxAge)))?"outsideAgePerson":Oo(e)?"futureBirthDate":ko(e)?"underagePerson":void 0},po=e=>{const t=tn;return void 0===e?"noValidFiles":(r=e.name)&&zi()(r).call(r,".")&&!zi()(t).call(t,e.type)?"unsupportedDocMimeType":e.size>10485760?"invalidFileSizeMax":e.size<=0?"invalidFileSizeEmpty":void 0;var r},ho=(e,t)=>{const r=oe((()=>t.viewModel.countryChoice.value),"US");if(!Ro(r,e))return"invalidPostalCode"},go=e=>{if(!e)return"invalidAddress"},vo=e=>{if(!e)return"invalidCity"},yo=e=>{if(!Fo(e))return"invalidState"},bo=e=>void 0!==e&&_o(e)&&xo(e),Eo=(e,t)=>new Date(e)<new Date(t.birthDate),wo=(e,t)=>bo(e)?Oo(e)?"futureDischargeDate":Eo(e,t.viewModel)?"dischargeDateBeforeBirthDate":void 0:"invalidDischargeDate",So=(e,t)=>{if(e||t.strictMilitaryValidationEnabled)return bo(e)?Oo(e)?"futureActiveDutyStartDate":Eo(e,t.viewModel)?"activeDutyStartDateBeforeBirthDate":void 0:"invalidActiveDutyStartDate"},Mo=e=>{if(9!==e.toString().length)return"invalidSocialSecurityNumber"},Co=e=>{if(void 0===e||!/^[A-Za-z0-9-\*]{1,100}$/.test(e))return"invalidDriverLicenseNumber"},Io=e=>{if(!e||!Do(e)||!To(e))return"invalidStatuses"},No=e=>{if(!e||!(e=>zi()(Yi).call(Yi,e))(e)&&!(e=>zi()(Ki).call(Ki,e))(e)&&!(e=>zi()(Zi).call(Zi,e))(e))return"invalidStatus"},Do=e=>e.length>0,To=e=>e.length>0,Ao=e=>/((?:[A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06E1-\u06E8\u06DF-\u06E4\u06ED-\u06EF\u06EA-\u06ED\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D3-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ABE\u1B00-\u1B4B\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u24B6-\u24E9\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDF00-\uDF1C\uDF27\uDF30-\uDF50]|\uD804[\uDC00-\uDC46\uDC82-\uDCBA\uDC7F-\uDC82\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD46\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB7\uDF00-\uDF1A\uDF1D-\uDF2B]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+)/g.test(e),xo=e=>{const t=e.split("-"),r=Wi()(t[0],eo),n=Wi()(t[1],eo),a=Wi()(t[2],eo),i=[31,28,31,30,31,30,31,31,30,31,30,31];return!(r<1900||r>3e3||n<=0||n>12)&&((r%400==0||r%100!=0&&r%4==0)&&(i[1]=29),!(a<=0||a>i[n-1]))},_o=e=>!!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e),Oo=e=>{const t=new Date;return new Date(e)>t},ko=(e,t=16)=>{const r=e.split("-"),n=Wi()(r[0],eo),a=Wi()(r[1],eo),i=Wi()(r[2],eo),o=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(o-n===t){if(s-a<0)return!0;if(s-a==0&&l-i<0)return!0}else if(o-n<t)return!0;return!1},Po=(e,t,r)=>{let n=!1,a=!1;return t&&(n=ko(e,t)),r&&(a=((e,t=120)=>{const r=e.split("-"),n=Wi()(r[0],eo),a=Wi()(r[1],eo),i=Wi()(r[2],eo),o=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(o-n===t){if(s-a>0)return!0;if(s-a==0&&l-i>0)return!0}else if(o-n>t)return!0;return!1})(e,r)),n||a},Ro=(e="US",t)=>{const r=e;return!!(e=>Gi.has(e))(r)&&((e,t)=>{if(!Gi.has(t))throw Error(`Invalid country code: ${t}`);return Gi.get(t).test(e)})(t,r)},Fo=e=>{if(!e)return!1;const t=Y()(Re);return kr()(t).call(t,e.toUpperCase())>=0},Lo=(e,t,r)=>{let n;(e=>{const t=jr();if(kr()(Oe).call(Oe,e)<0&&kr()(t).call(t,e)<0)throw new Error(`Expected valid field ID but received ${e}.\n Valid FieldIds are [${Oe.join(", ")}, ${t.join(", ")}]`)})(e);const a=Ji[i=e]?(he.log(`getOverridenValidator returning '${i}'`),Ji[i]):null;var i;switch(e){case _e.firstName:return n=io,no(e,t,n,a,r);case _e.lastName:return n=oo,no(e,t,n,a,r);case _e.memberId:return n=so,no(e,t,n,a,r);case _e.email:return n=uo,no(e,t,n,a,r);case _e.phoneNumber:return n=(e=>co(e&&e.smsLoopEnabled))(r),no(e,t,n,a,r);case _e.organization:return n=fo,no(e,t,n,a,r);case _e.birthDate:return n=mo,no(e,t,n,a,r);case _e.postalCode:return n=ho,no(e,t,n,a,r);case _e.address1:return n=go,no(e,t,n,a,r);case _e.city:return n=vo,no(e,t,n,a,r);case _e.state:return n=yo,no(e,t,n,a,r);case _e.country:return n=lo,no(e,t,n,a,r);case _e.dischargeDate:return n=wo,no(e,t,n,a,r);case _e.activeDutyStartDate:return n=So,no(e,t,n,a,r);case _e.socialSecurityNumber:return n=Mo,no(e,t,n,a,r);case _e.status:return n=No,no(e,t,n,a,r);case _e.statuses:return n=Io,no(e,t,n,a,r);case _e.driverLicenseNumber:return n=Co,no(e,t,n,a,r);case _e.docUpload:case _e.ebtCardNumber:case _e.overrideCode:return n=po,no(e,t,n,a,r);default:if((e=>{const t=jr();return!!(t.length&&kr()(t).call(t,e)>=0)})(e))return((e,t,r)=>{const n=Br(e);return he.info(`Using custom validator for custom field '${e}'`),n?n(t,r):void 0})(e,t,r)}};var Uo=o(1639),Bo=o.n(Uo);function Vo(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function jo(e){return!!e&&!!e[xs]}function zo(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===_s}(e)||Array.isArray(e)||!!e[As]||!!e.constructor[As]||Ko(e)||Zo(e))}function Ho(e,t,r){void 0===r&&(r=!1),0===$o(e)?(r?Object.keys:Os)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function $o(e){var t=e[xs];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ko(e)?2:Zo(e)?3:0}function qo(e,t){return 2===$o(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Wo(e,t){return 2===$o(e)?e.get(t):e[t]}function Go(e,t,r){var n=$o(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function Yo(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Ko(e){return Is&&e instanceof Map}function Zo(e){return Ns&&e instanceof Set}function Jo(e){return e.o||e.t}function Xo(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ks(e);delete t[xs];for(var r=Os(t),n=0;n<r.length;n++){var a=r[n],i=t[a];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Qo(e,t){return void 0===t&&(t=!1),ts(e)||jo(e)||!zo(e)||($o(e)>1&&(e.set=e.add=e.clear=e.delete=es),Object.freeze(e),t&&Ho(e,(function(e,t){return Qo(t,!0)}),!0)),e}function es(){Vo(2)}function ts(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function rs(e){var t=Ps[e];return t||Vo(18,e),t}function ns(e,t){Ps[e]||(Ps[e]=t)}function as(){return Ms}function is(e,t){t&&(rs("Patches"),e.u=[],e.s=[],e.v=t)}function os(e){ss(e),e.p.forEach(us),e.p=null}function ss(e){e===Ms&&(Ms=e.l)}function ls(e){return Ms={p:[],l:Ms,h:e,m:!0,_:0}}function us(e){var t=e[xs];0===t.i||1===t.i?t.j():t.O=!0}function cs(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||rs("ES5").S(t,e,n),n?(r[xs].P&&(os(t),Vo(4)),zo(e)&&(e=ds(t,e),t.l||ms(t,e)),t.u&&rs("Patches").M(r[xs],e,t.u,t.s)):e=ds(t,r,[]),os(t),t.u&&t.v(t.u,t.s),e!==Ts?e:void 0}function ds(e,t,r){if(ts(t))return t;var n=t[xs];if(!n)return Ho(t,(function(a,i){return fs(e,n,t,a,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return ms(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=4===n.i||5===n.i?n.o=Xo(n.k):n.o;Ho(3===n.i?new Set(a):a,(function(t,i){return fs(e,n,a,t,i,r)})),ms(e,a,!1),r&&e.u&&rs("Patches").R(n,r,e.u,e.s)}return n.o}function fs(e,t,r,n,a,i){if(jo(a)){var o=ds(e,a,i&&t&&3!==t.i&&!qo(t.D,n)?i.concat(n):void 0);if(Go(r,n,o),!jo(o))return;e.m=!1}if(zo(a)&&!ts(a)){if(!e.h.F&&e._<1)return;ds(e,a),t&&t.A.l||ms(e,a)}}function ms(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&Qo(t,r)}function ps(e,t){var r=e[xs];return(r?Jo(r):e)[t]}function hs(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function gs(e){e.P||(e.P=!0,e.l&&gs(e.l))}function vs(e){e.o||(e.o=Xo(e.t))}function ys(e,t,r){var n=Ko(t)?rs("MapSet").N(t,r):Zo(t)?rs("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:as(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=n,i=Rs;r&&(a=[n],i=Fs);var o=Proxy.revocable(a,i),s=o.revoke,l=o.proxy;return n.k=l,n.j=s,l}(t,r):rs("ES5").J(t,r);return(r?r.A:as()).p.push(n),n}function bs(e){return jo(e)||Vo(22,e),function e(t){if(!zo(t))return t;var r,n=t[xs],a=$o(t);if(n){if(!n.P&&(n.i<4||!rs("ES5").K(n)))return n.t;n.I=!0,r=Es(t,a),n.I=!1}else r=Es(t,a);return Ho(r,(function(t,a){n&&Wo(n.t,t)===a||Go(r,t,e(a))})),3===a?new Set(r):r}(e)}function Es(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Xo(e)}function ws(){function e(e,t){var r=a[e];return r?r.enumerable=t:a[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[xs];return Rs.get(t,e)},set:function(t){var r=this[xs];Rs.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][xs];if(!a.P)switch(a.i){case 5:n(a)&&gs(a);break;case 4:r(a)&&gs(a)}}}function r(e){for(var t=e.t,r=e.k,n=Os(r),a=n.length-1;a>=0;a--){var i=n[a];if(i!==xs){var o=t[i];if(void 0===o&&!qo(t,i))return!0;var s=r[i],l=s&&s[xs];if(l?l.t!==o:!Yo(s,o))return!0}}var u=!!t[xs];return n.length!==Os(t).length+(u?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!r||r.get)}var a={};ns("ES5",{J:function(t,r){var n=Array.isArray(t),a=function(t,r){if(t){for(var n=Array(r.length),a=0;a<r.length;a++)Object.defineProperty(n,""+a,e(a,!0));return n}var i=ks(r);delete i[xs];for(var o=Os(i),s=0;s<o.length;s++){var l=o[s];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(n,t),i={i:n?5:4,A:r?r.A:as(),P:!1,I:!1,D:{},l:r,t,k:a,o:null,O:!1,C:!1};return Object.defineProperty(a,xs,{value:i,writable:!0}),a},S:function(e,r,a){a?jo(r)&&r[xs].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[xs];if(r){var a=r.t,i=r.k,o=r.D,s=r.i;if(4===s)Ho(i,(function(t){t!==xs&&(void 0!==a[t]||qo(a,t)?o[t]||e(i[t]):(o[t]=!0,gs(r)))})),Ho(a,(function(e){void 0!==i[e]||qo(i,e)||(o[e]=!1,gs(r))}));else if(5===s){if(n(r)&&(gs(r),o.length=!0),i.length<a.length)for(var l=i.length;l<a.length;l++)o[l]=!1;else for(var u=a.length;u<i.length;u++)o[u]=!0;for(var c=Math.min(i.length,a.length),d=0;d<c;d++)void 0===o[d]&&e(i[d])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}})}var Ss,Ms,Cs="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Is="undefined"!=typeof Map,Ns="undefined"!=typeof Set,Ds="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ts=Cs?Symbol.for("immer-nothing"):((Ss={})["immer-nothing"]=!0,Ss),As=Cs?Symbol.for("immer-draftable"):"__$immer_draftable",xs=Cs?Symbol.for("immer-state"):"__$immer_state",_s=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Os="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ks=Object.getOwnPropertyDescriptors||function(e){var t={};return Os(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},Ps={},Rs={get:function(e,t){if(t===xs)return e;var r=Jo(e);if(!qo(r,t))return function(e,t,r){var n,a=hs(t,r);return a?"value"in a?a.value:null===(n=a.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!zo(n)?n:n===ps(e.t,t)?(vs(e),e.o[t]=ys(e.A.h,n,e)):n},has:function(e,t){return t in Jo(e)},ownKeys:function(e){return Reflect.ownKeys(Jo(e))},set:function(e,t,r){var n=hs(Jo(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var a=ps(Jo(e),t),i=null==a?void 0:a[xs];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(Yo(r,a)&&(void 0!==r||qo(e.t,t)))return!0;vs(e),gs(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==ps(e.t,t)||t in e.t?(e.D[t]=!1,vs(e),gs(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Jo(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){Vo(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Vo(12)}},Fs={};Ho(Rs,(function(e,t){Fs[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Fs.deleteProperty=function(e,t){return Rs.deleteProperty.call(this,e[0],t)},Fs.set=function(e,t,r){return Rs.set.call(this,e[0],t,r,e[0])};var Ls=function(){function e(e){var t=this;this.g=Ds,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var i=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,o=Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return i.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var o;if("function"!=typeof r&&Vo(6),void 0!==n&&"function"!=typeof n&&Vo(7),zo(e)){var s=ls(t),l=ys(t,e,void 0),u=!0;try{o=r(l),u=!1}finally{u?os(s):ss(s)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return is(s,n),cs(e,s)}),(function(e){throw os(s),e})):(is(s,n),cs(o,s))}if(!e||"object"!=typeof e){if((o=r(e))===Ts)return;return void 0===o&&(o=e),t.F&&Qo(o,!0),o}Vo(21,e)},this.produceWithPatches=function(e,r){return"function"==typeof e?function(r){for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(a))}))}:[t.produce(e,r,(function(e,t){n=e,a=t})),n,a];var n,a},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){zo(e)||Vo(8),jo(e)&&(e=bs(e));var t=ls(this),r=ys(this,e,void 0);return r[xs].C=!0,ss(t),r},t.finishDraft=function(e,t){var r=(e&&e[xs]).A;return is(r,t),cs(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!Ds&&Vo(20),this.g=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}var a=rs("Patches").$;return jo(e)?a(e,t):this.produce(e,(function(e){return a(e,t.slice(r+1))}))},e}(),Us=new Ls,Bs=Us.produce;Us.produceWithPatches.bind(Us),Us.setAutoFreeze.bind(Us),Us.setUseProxies.bind(Us),Us.applyPatches.bind(Us),Us.createDraft.bind(Us),Us.finishDraft.bind(Us);const Vs=Bs;var js=o(6812),zs=o.n(js);let Hs=[],$s=null;const qs=(e,t)=>{const r={fieldId:e,ref:t},n=zs()(Hs).call(Hs,(t=>t.fieldId===e));-1!==n?Hs[n]=r:Hs.push(r)},Ws=()=>Hs,Gs=e=>{for(const t of Hs)if(t.fieldId===e)return t.ref;return he.error(`A ref for fieldId ${e} could not be found. Has one been registered using setRef()?`,"ref error"),null},Ys=()=>{Hs=[],he.info("Refs have been reset")},Ks=()=>{null!==$s&&($s.close(),$s=null)},Zs=(e,t)=>{const r=t.viewModel,n=Bs(r,(t=>{t.organization.id=e.id,t.organization.idExtended=e.idExtended,t.organization.name=e.name,r.organization&&void 0!==r.organization.source&&(t.organization.source=r.organization.source)}));t.updateViewModel(n)},Js=(e,t)=>{t.updateFieldValidationErrors(e)},Xs=(e,t,r)=>{const{fieldValidationErrors:n}=r,a=Bs(n,(n=>{n[e]&&(n[e]=Lo(e,t,r.formValidationOptions))}));Js(a,r)},Qs=(e,t)=>oe((()=>1===t.length))&&"US"===oe((()=>t[0]))||oe((()=>"US"===e.value))||oe((()=>void 0===e.value)),el=(e,t,r)=>t?e.formatHTMLMessage({id:t,defaultMessage:r[t]}):"",tl=(e,t)=>{const r=e.verificationResponse.availableStatuses||e.previousVerificationResponse&&e.previousVerificationResponse.availableStatuses,n=[];return r?(d()(r).call(r,(e=>{n.push({value:e,label:el(t,e,De)})})),n):null},rl=e=>"birthDate"===e||"birthDateDay"===e?"birthDateYear":e,nl=e=>{const t=Gs("submitButton");"Enter"===e.key&&t&&t.click()},al=(e,t,r)=>{const n=((e,t)=>{const r=ao(),n=oe((()=>e.metadata),null);for(const a in r)if(e.hasOwnProperty(a)){const n=oe((()=>e.fieldsToSkipValidation));if(X()(n)&&kr()(n).call(n,a)>-1)continue;const i=e[a]?e[a]:"";r[a]=Lo(a,i,t)}else if(null!==n&&"object"==typeof n&&n.hasOwnProperty(a)){const e=n[a]?n[a]:"";r[a]=Lo(a,e,t)}const{customFormFields:a}=Sn();return a&&d()(a).call(a,(t=>{let n;try{n=t.validate(e.metadata[t.fieldId])}catch(e){he.warn(`Error validating custom field ${t.fieldId}`,e)}n?r[t.fieldId]=n:delete r[t.fieldId]})),r})(e,t.formValidationOptions),a=!(e=>{for(const t in e)if(e[t])return he.info(`Field '${t}' has errorId '${e[t]}'`),!0;return!1})(n);if(a)he.info(`${r} submitting form`),t.submitStep(r,e,t.verificationResponse);else{const e=(()=>{const e=Ws(),t=[];return Mr()(e).call(e,(e=>t.push(e.fieldId))),t})(),r=((e,t)=>{var r;let n;return d()(r=Bo()(e).call(e)).call(r,(e=>{if(t[e])return n=e,rl(n)})),rl(n)})(e,n);Js(n,t),(e=>{const t=Gs(e);if(t)try{t.focus()}catch(e){he.error(`The ref '${t}' could not be focused. Is the ref an HTMLInputElement or HTMLButtonElement?`,"ref error")}else he.error(`A ref for fieldId '${e}' could not be found. Has the ref been registered using setRef()?`,"ref error")})(r)}},il=(e,t,r)=>({estReviewTime:r.formatHTMLMessage({id:`dateTime.${oe((()=>e.estimatedReviewTime))||$a(t)}`,default:"a few minutes"}),maxReviewTime:r.formatHTMLMessage({id:`dateTime.${oe((()=>e.maxReviewTime))||qa(t)}`,default:"2 hours"})}),ol=(e,t)=>{const r=Ha(e);return Mr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`countries.${e}`,defaultMessage:e})})))},sl=(e,r)=>{const n=(e=>{try{if(e&&e.config&&e.config.states&&e.config.states.length>0)return e.config.states}catch(e){he.warn("Unable to get configured states")}return t()(Re)})(e);return Mr()(n).call(n,(e=>({value:e,label:r.formatHTMLMessage({id:`states.${e}`,defaultMessage:e})})))},ll=(e,t)=>{const r=ja(e);return Mr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`locales.${e}`,defaultMessage:e})})))},ul=e=>e.length>0?e[0]:{value:"US",label:"United States"},cl=(e,t,r)=>Bs(e,(e=>{e[t]=r})),dl=e=>e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)),fl=["id","isErrored","className","hidePlaceholder","refId","required","type","ariaDescribedBy","ariaLabel"],ml=e=>{let{id:t,isErrored:r,className:n,hidePlaceholder:a=!0,refId:i,required:o=!1,type:s="text",ariaDescribedBy:l,ariaLabel:u}=e,c=Li(e,fl),d="";n&&(d+=`${n} `),d+="sid-text-input sid-l-full-width",a&&(d+=" sid-hidden-placeholder"),o&&(d+=" sid-text-input--required"),r&&(d+=" sid-text-input--error");const f=i||t,m=(0,q.useRef)(null);return(0,q.useEffect)((()=>{qs(f,m.current)})),q.createElement("input",ki({className:d,id:`sid-${t}`,name:`sid-${t}`,type:s,"aria-describedby":l,"aria-label":u,"aria-required":o,"aria-invalid":r,ref:m},c))},pl=({text:e,htmlForLabel:t,id:r,displayClasses:n,isRequired:a,children:i})=>{return q.createElement("label",{htmlFor:t},q.createElement("div",{id:r,className:`sid-field__label sid-l-space-btm-sm ${n}`},q.createElement("span",{className:"sid-field__label-name","aria-hidden":"true"},e,a&&(o=e,!(!q.isValidElement(o)&&""===o))&&q.createElement("span",{"aria-hidden":"true",className:"sid-field__label--required"},"*")),i&&q.createElement("div",{className:"sid-field__label-explanation"},i)));var o};pl.defaultProps={id:"",displayClasses:"",isRequired:!0,children:null};const hl=({fieldId:e,label:t,errorMessage:r,isRequired:n,showPlaceholderAndHideLabel:a=!1,children:i})=>{const o=`sid-${dl(`${e}Label`)}`;return q.createElement("div",{className:`sid-field sid-${dl(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:t,isRequired:n,htmlForLabel:`sid-${dl(e)}`,id:o,displayClasses:a?"sid-h-screen-reader-only":""}),i,r&&q.createElement("div",{className:"sid-field-error"},r))},gl=["fieldId","value","onChange","placeholder","label","errorMessage","showPlaceholderAndHideLabel","required"],vl=e=>{let{fieldId:t,value:r,onChange:n,placeholder:a,label:i,errorMessage:o,showPlaceholderAndHideLabel:s=!1,required:l=!0}=e,u=Li(e,gl);const c=`sid-${dl(`${t}Label`)}`;return q.createElement(hl,{fieldId:t,label:i,errorMessage:o,showPlaceholderAndHideLabel:s,isRequired:l},q.createElement(ml,ki({id:dl(t),value:r,onChange:e=>n(e.target.value),placeholder:a,hidePlaceholder:!s,"aria-labelledby":c,refId:t,isErrored:!!o,required:l},u)))},yl=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(vl,{fieldId:"firstName",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"firstNamePlaceholder",defaultMessage:"First Name"}),label:q.createElement(ir,{id:"firstName",defaultMessage:"First name"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidFirstName",defaultMessage:"Invalid first name"}),showPlaceholderAndHideLabel:!!a}))),bl=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(vl,{fieldId:"lastName",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"lastNamePlaceholder",defaultMessage:"Last Name"}),label:q.createElement(ir,{id:"lastName",defaultMessage:"Last name"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidLastName",defaultMessage:"Invalid last name"}),showPlaceholderAndHideLabel:!!a}))),El=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,onKeyDown:i,placeholder:o=""})=>q.createElement("div",{className:"sid-field sid-email"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"emailAddress",defaultMessage:"Email address"}),htmlForLabel:"sid-email",id:"sid-email-label",displayClasses:`sid-field__label-with-explanation${o&&" sid-h-screen-reader-only"}`},n||q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"})),q.createElement(ml,{id:"email",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof i?e=>i(e):void 0,placeholder:o||a.formatHTMLMessage({id:"emailAddressPlaceholder",defaultMessage:"Email"}),type:"email",value:e,required:!0,"aria-labelledby":"sid-email-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidEmail",defaultMessage:"Invalid email"})):null))),wl={university:"UNIVERSITY",k12:"K12",postSecondary:"POST_SECONDARY",highSchool:"HIGH_SCHOOL"};function Sl(e){return e.type===wl[this]}const Ml=Rt((({eligibleOrgs:e,ineligibleOrgs:t,intl:r})=>{const n=i()(e).call(e,Sl,"university"),a=i()(e).call(e,Sl,"k12"),o=i()(e).call(e,Sl,"postSecondary"),s=i()(e).call(e,Sl,"highSchool"),l=i()(t).call(t,Sl,"university"),u=i()(t).call(t,Sl,"k12"),c=i()(t).call(t,Sl,"postSecondary"),d=i()(t).call(t,Sl,"highSchool");return q.createElement("div",{className:"sid-l-space-top-md"},e.length+t.length>=mn.MAX_RESULT_SIZE?q.createElement("div",{className:"sid-header__subtitle--error"},q.createElement(ir,{id:"errorId.tooManyResults",defaultMessage:"Your search returned too many results, please refine your search and try again"})):null,(0===e.length||0===t.length)&&q.createElement("div",null,q.createElement(ir,{id:"none",defaultMessage:"None"})),n.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.university",defaultMessage:"Universities ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(n).call(n,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),a.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.k12",defaultMessage:"K12 ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(a).call(a,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),o.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.postSecondary",defaultMessage:"Post Secondary Institutions ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(o).call(o,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),s.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.highSchool",defaultMessage:"High Schools / Secondary Schools ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(s).call(s,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),l.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.university",defaultMessage:"Universities ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(l).call(l,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))),u.length>0&&s.length<=0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.k12",defaultMessage:"K12 ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(u).call(u,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))),c.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.postSecondary",defaultMessage:"Post Secondary Institutions ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(c).call(c,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))),d.length>0&&a.length<=0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.highSchool",defaultMessage:"High Schools / Secondary Schools ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(d).call(d,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))))})),Cl=({name:e,label:t,value:r,placeholder:n,isErrored:a,onChange:i,onKeyDown:o,search:s})=>q.createElement("div",{className:"sid-field"},q.createElement("label",{htmlFor:`sid-${e}`},q.createElement("div",{className:"sid-field__label sid-l-space-btm-sm"},t)),q.createElement("div",{className:"sid-field-search"},q.createElement("input",{className:"sid-text-input sid-text-input--required sid-field-search-input\n sid-l-full-width "+(a?"sid-text-input--error":""),id:`sid-${e}`,name:`sid-${e}`,type:"text",value:r,onChange:e=>i(e.target.value),onKeyDown:e=>(e=>{"Enter"===e.key?s():o&&o()})(e),placeholder:n}),q.createElement("div",{tabIndex:0,onClick:()=>s(),onKeyUp:()=>s(),role:"button"},q.createElement("img",{className:"sid-l-search-icon",src:"https://assets-resources.sheerid.com/common/images/requestOrganization/search.svg",alt:"Search"}))),a?q.createElement("div",{className:"sid-field-error"},q.createElement("span",null,q.createElement(ir,{id:`errorId.${a}`,defaultMessage:"An unexpected error occurred"}))):null);var Il=o(9423),Nl=o.n(Il);o(3187);function Dl(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function Tl(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Al(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return Tl(r.overflowY,t)||Tl(r.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function xl(e,t,r,n,a,i,o,s){return i<e&&o>t||i>e&&o<t?0:i<=e&&s<=r||o>=t&&s>=r?i-e-n:o>t&&s<r||i<e&&s>r?o-t+a:0}var _l=function(){return _l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},_l.apply(this,arguments)};function Ol(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((n=n.apply(e,t||[])).next())}))}function kl(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function Pl(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}Object.create;let Rl=0;function Fl(e){return"function"==typeof e?e:Ll}function Ll(){}function Ul(e,t){if(!e)return;const r=function(e,t){var r=window,n=t.scrollMode,a=t.block,i=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof o?o:function(e){return e!==o};if(!Dl(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],d=e;Dl(d)&&l(d);){if((d=d.parentElement)===u){c.push(d);break}null!=d&&d===document.body&&Al(d)&&!Al(document.documentElement)||null!=d&&Al(d,s)&&c.push(d)}for(var f=r.visualViewport?r.visualViewport.width:innerWidth,m=r.visualViewport?r.visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),v=g.height,y=g.width,b=g.top,E=g.right,w=g.bottom,S=g.left,M="start"===a||"nearest"===a?b:"end"===a?w:b+v/2,C="center"===i?S+y/2:"end"===i?E:S,I=[],N=0;N<c.length;N++){var D=c[N],T=D.getBoundingClientRect(),A=T.height,x=T.width,_=T.top,O=T.right,k=T.bottom,P=T.left;if("if-needed"===n&&b>=0&&S>=0&&w<=m&&E<=f&&b>=_&&w<=k&&S>=P&&E<=O)return I;var R=getComputedStyle(D),F=parseInt(R.borderLeftWidth,10),L=parseInt(R.borderTopWidth,10),U=parseInt(R.borderRightWidth,10),B=parseInt(R.borderBottomWidth,10),V=0,j=0,z="offsetWidth"in D?D.offsetWidth-D.clientWidth-F-U:0,H="offsetHeight"in D?D.offsetHeight-D.clientHeight-L-B:0;if(u===D)V="start"===a?M:"end"===a?M-m:"nearest"===a?xl(h,h+m,m,L,B,h+M,h+M+v,v):M-m/2,j="start"===i?C:"center"===i?C-f/2:"end"===i?C-f:xl(p,p+f,f,F,U,p+C,p+C+y,y),V=Math.max(0,V+h),j=Math.max(0,j+p);else{V="start"===a?M-_-L:"end"===a?M-k+B+H:"nearest"===a?xl(_,k,A,L,B+H,M,M+v,v):M-(_+A/2)+H/2,j="start"===i?C-P-F:"center"===i?C-(P+x/2)+z/2:"end"===i?C-O+U+z:xl(P,O,x,F,U+z,C,C+y,y);var $=D.scrollLeft,q=D.scrollTop;M+=q-(V=Math.max(0,Math.min(q+V,D.scrollHeight-A+H))),C+=$-(j=Math.max(0,Math.min($+j,D.scrollWidth-x+z)))}I.push({el:D,top:V,left:j})}return I}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});r.forEach((e=>{let{el:t,top:r,left:n}=e;t.scrollTop=r,t.scrollLeft=n}))}function Bl(e,t,r){return e===t||t instanceof r.Node&&e.contains&&e.contains(t)}function Vl(e,t){let r;function n(){r&&clearTimeout(r)}function a(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];n(),r=setTimeout((()=>{r=null,e(...i)}),t)}return a.cancel=n,a}function jl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((t=>(t&&t(e,...n),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault)))}}function zl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach((t=>{"function"==typeof t?t(e):t&&(t.current=e)}))}}function Hl(){return String(Rl++)}function $l(e){let{isOpen:t,resultCount:r,previousResultCount:n}=e;return t?r?r!==n?`${r} result${1===r?" is":"s are"} available, use up and down arrow keys to navigate. Press Enter key to select.`:"":"No results are available.":""}function ql(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function Wl(e){return"string"==typeof e.type}function Gl(e){return e.props}const Yl=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function Kl(e){void 0===e&&(e={});const t={};return Yl.forEach((r=>{e.hasOwnProperty(r)&&(t[r]=e[r])})),t}function Zl(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]=Jl(t,n)?t[n]:e[n],r)),{})}function Jl(e,t){return void 0!==e[t]}function Xl(e){const{key:t,keyCode:r}=e;return r>=37&&r<=40&&0!==t.indexOf("Arrow")?`Arrow${t}`:t}function Ql(e,t,r,n,a){if(void 0===a&&(a=!0),0===r)return-1;const i=r-1;("number"!=typeof t||t<0||t>=r)&&(t=e>0?-1:i+1);let o=t+e;o<0?o=a?i:0:o>i&&(o=a?0:i);const s=eu(e,o,r,n,a);return-1===s?t>=r?-1:t:s}function eu(e,t,r,n,a){const i=n(t);if(!i||!i.hasAttribute("disabled"))return t;if(e>0){for(let e=t+1;e<r;e++)if(!n(e).hasAttribute("disabled"))return e}else for(let e=t-1;e>=0;e--)if(!n(e).hasAttribute("disabled"))return e;return a?e>0?eu(1,0,r,n,!1):eu(-1,r-1,r,n,!1):-1}function tu(e,t,r,n){return void 0===n&&(n=!0),t.some((t=>t&&(Bl(t,e,r)||n&&Bl(t,r.document.activeElement,r))))}const ru=Vl((e=>{au(e).textContent=""}),500);function nu(e,t){const r=au(t);e&&(r.textContent=e,ru(t))}function au(e){void 0===e&&(e=document);let t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var iu=Object.freeze({__proto__:null,unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16});const ou=(()=>{class e extends q.Component{constructor(e){var t;super(e),t=this,this.id=this.props.id||`downshift-${Hl()}`,this.menuId=this.props.menuId||`${this.id}-menu`,this.labelId=this.props.labelId||`${this.id}-label`,this.inputId=this.props.inputId||`${this.id}-input`,this.getItemId=this.props.getItemId||(e=>`${this.id}-item-${e}`),this.input=null,this.items=[],this.itemCount=null,this.previousResultCount=0,this.timeoutIds=[],this.internalSetTimeout=(e,t)=>{const r=setTimeout((()=>{this.timeoutIds=this.timeoutIds.filter((e=>e!==r)),e()}),t);this.timeoutIds.push(r)},this.setItemCount=e=>{this.itemCount=e},this.unsetItemCount=()=>{this.itemCount=null},this.setHighlightedIndex=function(e,r){void 0===e&&(e=t.props.defaultHighlightedIndex),void 0===r&&(r={}),r=Kl(r),t.internalSetState({highlightedIndex:e,...r})},this.clearSelection=e=>{this.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:this.props.defaultHighlightedIndex,isOpen:this.props.defaultIsOpen},e)},this.selectItem=(e,t,r)=>{t=Kl(t),this.internalSetState({isOpen:this.props.defaultIsOpen,highlightedIndex:this.props.defaultHighlightedIndex,selectedItem:e,inputValue:this.props.itemToString(e),...t},r)},this.selectItemAtIndex=(e,t,r)=>{const n=this.items[e];null!=n&&this.selectItem(n,t,r)},this.selectHighlightedItem=(e,t)=>this.selectItemAtIndex(this.getState().highlightedIndex,e,t),this.internalSetState=(e,t)=>{let r,n;const a={},i="function"==typeof e;return!i&&e.hasOwnProperty("inputValue")&&this.props.onInputValueChange(e.inputValue,{...this.getStateAndHelpers(),...e}),this.setState((t=>{t=this.getState(t);let o=i?e(t):e;o=this.props.stateReducer(t,o),r=o.hasOwnProperty("selectedItem");const s={};return r&&o.selectedItem!==t.selectedItem&&(n=o.selectedItem),o.type=o.type||0,Object.keys(o).forEach((e=>{t[e]!==o[e]&&(a[e]=o[e]),"type"!==e&&(o[e],Jl(this.props,e)||(s[e]=o[e]))})),i&&o.hasOwnProperty("inputValue")&&this.props.onInputValueChange(o.inputValue,{...this.getStateAndHelpers(),...o}),s}),(()=>{Fl(t)();Object.keys(a).length>1&&this.props.onStateChange(a,this.getStateAndHelpers()),r&&this.props.onSelect(e.selectedItem,this.getStateAndHelpers()),void 0!==n&&this.props.onChange(n,this.getStateAndHelpers()),this.props.onUserAction(a,this.getStateAndHelpers())}))},this.rootRef=e=>this._rootNode=e,this.getRootProps=function(e,r){let{refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===r?{}:r;t.getRootProps.called=!0,t.getRootProps.refKey=n,t.getRootProps.suppressRefError=o;const{isOpen:s}=t.getState();return{[n]:zl(a,t.rootRef),role:"combobox","aria-expanded":s,"aria-haspopup":"listbox","aria-owns":s?t.menuId:null,"aria-labelledby":t.labelId,...i}},this.keyDownHandlers={ArrowDown(e){if(e.preventDefault(),this.getState().isOpen){const t=e.shiftKey?5:1;this.moveHighlightedIndex(t,{type:4})}else this.internalSetState({isOpen:!0,type:4},(()=>{const e=this.getItemCount();if(e>0){const{highlightedIndex:t}=this.getState(),r=Ql(1,t,e,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(r,{type:4})}}))},ArrowUp(e){if(e.preventDefault(),this.getState().isOpen){const t=e.shiftKey?-5:-1;this.moveHighlightedIndex(t,{type:3})}else this.internalSetState({isOpen:!0,type:3},(()=>{const e=this.getItemCount();if(e>0){const{highlightedIndex:t}=this.getState(),r=Ql(-1,t,e,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(r,{type:3})}}))},Enter(e){if(229===e.which)return;const{isOpen:t,highlightedIndex:r}=this.getState();if(t&&null!=r){e.preventDefault();const t=this.items[r],n=this.getItemNodeFromIndex(r);if(null==t||n&&n.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}},Escape(e){e.preventDefault(),this.reset({type:5,...!this.state.isOpen&&{selectedItem:null,inputValue:""}})}},this.buttonKeyDownHandlers={...this.keyDownHandlers," "(e){e.preventDefault(),this.toggleMenu({type:12})}},this.inputKeyDownHandlers={...this.keyDownHandlers,Home(e){const{isOpen:t}=this.getState();if(!t)return;e.preventDefault();const r=this.getItemCount();if(r<=0||!t)return;const n=eu(1,0,r,(e=>this.getItemNodeFromIndex(e)),!1);this.setHighlightedIndex(n,{type:7})},End(e){const{isOpen:t}=this.getState();if(!t)return;e.preventDefault();const r=this.getItemCount();if(r<=0||!t)return;const n=eu(-1,r-1,r,(e=>this.getItemNodeFromIndex(e)),!1);this.setHighlightedIndex(n,{type:8})}},this.getToggleButtonProps=function(e){let{onClick:r,onPress:n,onKeyDown:a,onKeyUp:i,onBlur:o,...s}=void 0===e?{}:e;const{isOpen:l}=t.getState(),u={onClick:jl(r,t.buttonHandleClick),onKeyDown:jl(a,t.buttonHandleKeyDown),onKeyUp:jl(i,t.buttonHandleKeyUp),onBlur:jl(o,t.buttonHandleBlur)};return{type:"button",role:"button","aria-label":l?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0,...s.disabled?{}:u,...s}},this.buttonHandleKeyUp=e=>{e.preventDefault()},this.buttonHandleKeyDown=e=>{const t=Xl(e);this.buttonKeyDownHandlers[t]&&this.buttonKeyDownHandlers[t].call(this,e)},this.buttonHandleClick=e=>{e.preventDefault(),this.props.environment.document.activeElement===this.props.environment.document.body&&e.target.focus(),this.internalSetTimeout((()=>this.toggleMenu({type:13})))},this.buttonHandleBlur=e=>{const t=e.target;this.internalSetTimeout((()=>{this.isMouseDown||null!=this.props.environment.document.activeElement&&this.props.environment.document.activeElement.id===this.inputId||this.props.environment.document.activeElement===t||this.reset({type:14})}))},this.getLabelProps=e=>({htmlFor:this.inputId,id:this.labelId,...e}),this.getInputProps=function(e){let r,{onKeyDown:n,onBlur:a,onChange:i,onInput:o,onChangeText:s,...l}=void 0===e?{}:e,u={};r="onChange";const{inputValue:c,isOpen:d,highlightedIndex:f}=t.getState();return l.disabled||(u={onChange:jl(i,o,t.inputHandleChange),onKeyDown:jl(n,t.inputHandleKeyDown),onBlur:jl(a,t.inputHandleBlur)}),{"aria-autocomplete":"list","aria-activedescendant":d&&"number"==typeof f&&f>=0?t.getItemId(f):null,"aria-controls":d?t.menuId:null,"aria-labelledby":t.labelId,autoComplete:"off",value:c,id:t.inputId,...u,...l}},this.inputHandleKeyDown=e=>{const t=Xl(e);t&&this.inputKeyDownHandlers[t]&&this.inputKeyDownHandlers[t].call(this,e)},this.inputHandleChange=e=>{this.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:this.props.defaultHighlightedIndex})},this.inputHandleBlur=()=>{this.internalSetTimeout((()=>{const e=this.props.environment.document&&!!this.props.environment.document.activeElement&&!!this.props.environment.document.activeElement.dataset&&this.props.environment.document.activeElement.dataset.toggle&&this._rootNode&&this._rootNode.contains(this.props.environment.document.activeElement);this.isMouseDown||e||this.reset({type:10})}))},this.menuRef=e=>{this._menuNode=e},this.getMenuProps=function(e,r){let{refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===r?{}:r;return t.getMenuProps.called=!0,t.getMenuProps.refKey=n,t.getMenuProps.suppressRefError=o,{[n]:zl(a,t.menuRef),role:"listbox","aria-labelledby":i&&i["aria-label"]?null:t.labelId,id:t.menuId,...i}},this.getItemProps=function(e){let{onMouseMove:r,onMouseDown:n,onClick:a,onPress:i,index:o,item:s,...l}=void 0===e?{}:e;void 0===o?(t.items.push(s),o=t.items.indexOf(s)):t.items[o]=s;const u=a,c={onMouseMove:jl(r,(()=>{o!==t.getState().highlightedIndex&&(t.setHighlightedIndex(o,{type:2}),t.avoidScrolling=!0,t.internalSetTimeout((()=>t.avoidScrolling=!1),250))})),onMouseDown:jl(n,(e=>{e.preventDefault()})),onClick:jl(u,(()=>{t.selectItemAtIndex(o,{type:9})}))},d=l.disabled?{onMouseDown:c.onMouseDown}:c;return{id:t.getItemId(o),role:"option","aria-selected":t.getState().highlightedIndex===o,...d,...l}},this.clearItems=()=>{this.items=[]},this.reset=function(e,r){void 0===e&&(e={}),e=Kl(e),t.internalSetState((r=>{let{selectedItem:n}=r;return{isOpen:t.props.defaultIsOpen,highlightedIndex:t.props.defaultHighlightedIndex,inputValue:t.props.itemToString(n),...e}}),r)},this.toggleMenu=function(e,r){void 0===e&&(e={}),e=Kl(e),t.internalSetState((r=>{let{isOpen:n}=r;return{isOpen:!n,...n&&{highlightedIndex:t.props.defaultHighlightedIndex},...e}}),(()=>{const{isOpen:n,highlightedIndex:a}=t.getState();n&&t.getItemCount()>0&&"number"==typeof a&&t.setHighlightedIndex(a,e),Fl(r)()}))},this.openMenu=e=>{this.internalSetState({isOpen:!0},e)},this.closeMenu=e=>{this.internalSetState({isOpen:!1},e)},this.updateStatus=Vl((()=>{const e=this.getState(),t=this.items[e.highlightedIndex],r=this.getItemCount(),n=this.props.getA11yStatusMessage({itemToString:this.props.itemToString,previousResultCount:this.previousResultCount,resultCount:r,highlightedItem:t,...e});this.previousResultCount=r,nu(n,this.props.environment.document)}),200);const{defaultHighlightedIndex:r,initialHighlightedIndex:n=r,defaultIsOpen:a,initialIsOpen:i=a,initialInputValue:o="",initialSelectedItem:s=null}=this.props,l=this.getState({highlightedIndex:n,isOpen:i,inputValue:o,selectedItem:s});null!=l.selectedItem&&void 0===this.props.initialInputValue&&(l.inputValue=this.props.itemToString(l.selectedItem)),this.state=l}internalClearTimeouts(){this.timeoutIds.forEach((e=>{clearTimeout(e)})),this.timeoutIds=[]}getState(e){return void 0===e&&(e=this.state),Zl(e,this.props)}getItemCount(){let e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e}getItemNodeFromIndex(e){return this.props.environment.document.getElementById(this.getItemId(e))}scrollHighlightedItemIntoView(){{const e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)}}moveHighlightedIndex(e,t){const r=this.getItemCount(),{highlightedIndex:n}=this.getState();if(r>0){const a=Ql(e,n,r,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(a,t)}}getStateAndHelpers(){const{highlightedIndex:e,inputValue:t,selectedItem:r,isOpen:n}=this.getState(),{itemToString:a}=this.props,{id:i}=this,{getRootProps:o,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,reset:w,setItemCount:S,unsetItemCount:M,internalSetState:C}=this;return{getRootProps:o,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,reset:w,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,setItemCount:S,unsetItemCount:M,setState:C,itemToString:a,id:i,highlightedIndex:e,inputValue:t,isOpen:n,selectedItem:r}}componentDidMount(){{const e=()=>{this.isMouseDown=!0},t=e=>{this.isMouseDown=!1;!tu(e.target,[this._rootNode,this._menuNode],this.props.environment)&&this.getState().isOpen&&this.reset({type:1},(()=>this.props.onOuterClick(this.getStateAndHelpers())))},r=()=>{this.isTouchMove=!1},n=()=>{this.isTouchMove=!0},a=e=>{const t=tu(e.target,[this._rootNode,this._menuNode],this.props.environment,!1);this.isTouchMove||t||!this.getState().isOpen||this.reset({type:16},(()=>this.props.onOuterClick(this.getStateAndHelpers())))},{environment:i}=this.props;i.addEventListener("mousedown",e),i.addEventListener("mouseup",t),i.addEventListener("touchstart",r),i.addEventListener("touchmove",n),i.addEventListener("touchend",a),this.cleanup=()=>{this.internalClearTimeouts(),this.updateStatus.cancel(),i.removeEventListener("mousedown",e),i.removeEventListener("mouseup",t),i.removeEventListener("touchstart",r),i.removeEventListener("touchmove",n),i.removeEventListener("touchend",a)}}}shouldScroll(e,t){const{highlightedIndex:r}=void 0===this.props.highlightedIndex?this.getState():this.props,{highlightedIndex:n}=void 0===t.highlightedIndex?e:t;return r&&this.getState().isOpen&&!e.isOpen||r!==n}componentDidUpdate(e,t){Jl(this.props,"selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()}componentWillUnmount(){this.cleanup()}render(){const e=ql(this.props.children,Ll);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;const t=ql(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:Wl(t)?(0,q.cloneElement)(t,this.getRootProps(Gl(t))):void 0:null}}return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:$l,itemToString:e=>null==e?"":String(e),onStateChange:Ll,onInputValueChange:Ll,onUserAction:Ll,onChange:Ll,onSelect:Ll,onOuterClick:Ll,selectedItemChanged:(e,t)=>e!==t,environment:"undefined"==typeof window?{}:window,stateReducer:(e,t)=>t,suppressRefError:!1,scrollIntoView:Ul},e.stateChangeTypes=iu,e})();var su=ou;const lu={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function uu(e,t,r){const{props:n,type:a}=e,i={};Object.keys(t).forEach((n=>{!function(e,t,r,n){const{props:a,type:i}=t,o=`on${pu(e)}Change`;a[o]&&void 0!==n[e]&&n[e]!==r[e]&&a[o]({type:i,...n})}(n,e,t,r),r[n]!==t[n]&&(i[n]=r[n])})),n.onStateChange&&Object.keys(i).length&&n.onStateChange({type:a,...i})}const cu=Vl(((e,t)=>{nu(e(),t)}),200),du="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?q.useLayoutEffect:q.useEffect;function fu(e){let{id:t=`downshift-${Hl()}`,labelId:r,menuId:n,getItemId:a,toggleButtonId:i,inputId:o}=e;return(0,q.useRef)({labelId:r||`${t}-label`,menuId:n||`${t}-menu`,getItemId:a||(e=>`${t}-item-${e}`),toggleButtonId:i||`${t}-toggle-button`,inputId:o||`${t}-input`}).current}function mu(e,t,r){return void 0!==e?e:0===r.length?-1:r.indexOf(t)}function pu(e){return`${e.slice(0,1).toUpperCase()}${e.slice(1)}`}function hu(e){const t=(0,q.useRef)(e);return t.current=e,t}function gu(e,t,r){const n=(0,q.useRef)(),a=(0,q.useRef)(),i=(0,q.useCallback)(((t,r)=>{a.current=r,t=Zl(t,r.props);const n=e(t,r);return r.props.stateReducer(t,{...r,changes:n})}),[e]),[o,s]=(0,q.useReducer)(i,t),l=hu(r),u=(0,q.useCallback)((e=>s({props:l.current,...e})),[l]),c=a.current;return(0,q.useEffect)((()=>{c&&n.current&&n.current!==o&&uu(c,Zl(n.current,c.props),o),n.current=o}),[o,r,c]),[o,u]}const vu={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){const{selectedItem:t,itemToString:r}=e;return t?`${r(t)} has been selected.`:""},scrollIntoView:Ul,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function yu(e,t,r){void 0===r&&(r=lu);const n=e[`default${pu(t)}`];return void 0!==n?n:r[t]}function bu(e,t,r){void 0===r&&(r=lu);const n=e[t];if(void 0!==n)return n;const a=e[`initial${pu(t)}`];return void 0!==a?a:yu(e,t,r)}function Eu(e){const t=bu(e,"selectedItem"),r=bu(e,"isOpen"),n=bu(e,"highlightedIndex"),a=bu(e,"inputValue");return{highlightedIndex:n<0&&t&&r?e.items.indexOf(t):n,isOpen:r,selectedItem:t,inputValue:a}}function wu(e,t,r,n){const{items:a,initialHighlightedIndex:i,defaultHighlightedIndex:o}=e,{selectedItem:s,highlightedIndex:l}=t;return 0===a.length?-1:void 0!==i&&l===i?i:void 0!==o?o:s?0===r?a.indexOf(s):Ql(r,a.indexOf(s),a.length,n,!1):0===r?-1:r<0?a.length-1:0}function Su(e,t,r,n){const a=(0,q.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,q.useEffect)((()=>{const i=()=>{a.current.isMouseDown=!0},o=i=>{a.current.isMouseDown=!1,e&&!tu(i.target,t.map((e=>e.current)),r)&&n()},s=()=>{a.current.isTouchMove=!1},l=()=>{a.current.isTouchMove=!0},u=i=>{!e||a.current.isTouchMove||tu(i.target,t.map((e=>e.current)),r,!1)||n()};return r.addEventListener("mousedown",i),r.addEventListener("mouseup",o),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",u),function(){r.removeEventListener("mousedown",i),r.removeEventListener("mouseup",o),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",u)}}),[e,r]),a}let Mu=()=>Ll;function Cu(e,t,r){let{isInitialMount:n,highlightedIndex:a,items:i,environment:o,...s}=r;(0,q.useEffect)((()=>{n||cu((()=>e({highlightedIndex:a,highlightedItem:i[a],resultCount:i.length,...s})),o.document)}),t)}function Iu(e){let{highlightedIndex:t,isOpen:r,itemRefs:n,getItemNodeFromIndex:a,menuElement:i,scrollIntoView:o}=e;const s=(0,q.useRef)(!0);return du((()=>{t<0||!r||!Object.keys(n.current).length||(!1===s.current?s.current=!0:o(a(t),i))}),[t]),s}let Nu=Ll;function Du(e,t,r){const{type:n,props:a}=t;let i;switch(n){case r.ItemMouseMove:i={highlightedIndex:t.disabled?-1:t.index};break;case r.MenuMouseLeave:i={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:i={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:wu(a,e,0)};break;case r.FunctionOpenMenu:i={isOpen:!0,highlightedIndex:wu(a,e,0)};break;case r.FunctionCloseMenu:i={isOpen:!1};break;case r.FunctionSetHighlightedIndex:i={highlightedIndex:t.highlightedIndex};break;case r.FunctionSetInputValue:i={inputValue:t.inputValue};break;case r.FunctionReset:i={highlightedIndex:yu(a,"highlightedIndex"),isOpen:yu(a,"isOpen"),selectedItem:yu(a,"selectedItem"),inputValue:yu(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...i}}He().array.isRequired,He().func,He().func,He().func,He().bool,He().number,He().number,He().number,He().bool,He().bool,He().bool,He().any,He().any,He().any,He().string,He().string,He().string,He().func,He().string,He().func,He().func,He().func,He().func,He().func,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});_l(_l({},vu),{getA11yStatusMessage:function(e){var t=e.isOpen,r=e.resultCount,n=e.previousResultCount;return t?r?r!==n?"".concat(r," result").concat(1===r?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}});const Tu=0,Au=1,xu=2,_u=3,Ou=4,ku=5,Pu=6,Ru=7,Fu=10,Lu=16,Uu=19;var Bu=Object.freeze({__proto__:null,InputKeyDownArrowDown:Tu,InputKeyDownArrowUp:Au,InputKeyDownEscape:xu,InputKeyDownHome:_u,InputKeyDownEnd:Ou,InputKeyDownEnter:ku,InputChange:Pu,InputBlur:Ru,MenuMouseLeave:8,ItemMouseMove:9,ItemClick:Fu,ToggleButtonClick:11,FunctionToggleMenu:12,FunctionOpenMenu:13,FunctionCloseMenu:14,FunctionSetHighlightedIndex:15,FunctionSelectItem:Lu,FunctionSetInputValue:17,FunctionReset:18,ControlledPropUpdatedSelectedItem:Uu});He().array.isRequired,He().func,He().func,He().func,He().bool,He().number,He().number,He().number,He().bool,He().bool,He().bool,He().any,He().any,He().any,He().string,He().string,He().string,He().string,He().string,He().string,He().func,He().string,He().string,He().func,He().func,He().func,He().func,He().func,He().func,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});let Vu=Ll;const ju={...vu,getA11yStatusMessage:$l,circularNavigation:!0};function zu(e,t){const{type:r,props:n,shiftKey:a}=t;let i;switch(r){case Fu:i={isOpen:yu(n,"isOpen"),highlightedIndex:yu(n,"highlightedIndex"),selectedItem:n.items[t.index],inputValue:n.itemToString(n.items[t.index])};break;case Tu:i=e.isOpen?{highlightedIndex:Ql(a?5:1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:wu(n,e,1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case Au:i=e.isOpen?{highlightedIndex:Ql(a?-5:-1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:wu(n,e,-1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case ku:i={...e.isOpen&&e.highlightedIndex>=0&&{selectedItem:n.items[e.highlightedIndex],isOpen:yu(n,"isOpen"),highlightedIndex:yu(n,"highlightedIndex"),inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case xu:i={isOpen:!1,highlightedIndex:-1,...!e.isOpen&&{selectedItem:null,inputValue:""}};break;case _u:i={highlightedIndex:eu(1,0,n.items.length,t.getItemNodeFromIndex,!1)};break;case Ou:i={highlightedIndex:eu(-1,n.items.length-1,n.items.length,t.getItemNodeFromIndex,!1)};break;case Ru:i={isOpen:!1,highlightedIndex:-1,...e.highlightedIndex>=0&&t.selectItem&&{selectedItem:n.items[e.highlightedIndex],inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Pu:i={isOpen:!0,highlightedIndex:yu(n,"highlightedIndex"),inputValue:t.inputValue};break;case Lu:i={selectedItem:t.selectedItem,inputValue:n.itemToString(t.selectedItem)};break;case Uu:i={inputValue:t.inputValue};break;default:return Du(e,t,Bu)}return{...e,...i}}function Hu(e){void 0===e&&(e={}),Vu(e,Hu);const t={...ju,...e},{initialIsOpen:r,defaultIsOpen:n,items:a,scrollIntoView:i,environment:o,getA11yStatusMessage:s,getA11ySelectionMessage:l,itemToString:u}=t,c=function(e){const t=Eu(e),{selectedItem:r}=t;let{inputValue:n}=t;return""===n&&r&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(n=e.itemToString(r)),{...t,inputValue:n}}(t),[d,f]=function(e,t,r){const n=(0,q.useRef)(),[a,i]=gu(e,t,r);return(0,q.useEffect)((()=>{Jl(r,"selectedItem")&&(n.current!==r.selectedItem&&i({type:Uu,inputValue:r.itemToString(r.selectedItem)}),n.current=a.selectedItem===n.current?r.selectedItem:a.selectedItem)})),[Zl(a,r),i]}(zu,c,t),{isOpen:m,highlightedIndex:p,selectedItem:h,inputValue:g}=d,v=(0,q.useRef)(null),y=(0,q.useRef)({}),b=(0,q.useRef)(null),E=(0,q.useRef)(null),w=(0,q.useRef)(null),S=(0,q.useRef)(!0),M=fu(t),C=(0,q.useRef)(),I=hu({state:d,props:t}),N=(0,q.useCallback)((e=>y.current[M.getItemId(e)]),[M]);Cu(s,[m,p,g,a],{isInitialMount:S.current,previousResultCount:C.current,items:a,environment:o,itemToString:u,...d}),Cu(l,[h],{isInitialMount:S.current,previousResultCount:C.current,items:a,environment:o,itemToString:u,...d});const D=Iu({menuElement:v.current,highlightedIndex:p,isOpen:m,itemRefs:y,scrollIntoView:i,getItemNodeFromIndex:N});Nu({isInitialMount:S.current,props:t,state:d}),(0,q.useEffect)((()=>{(r||n||m)&&b.current&&b.current.focus()}),[]),(0,q.useEffect)((()=>{S.current||(C.current=a.length)}));const T=Su(m,[w,v,E],o,(()=>{f({type:Ru,selectItem:!1})})),A=Mu("getInputProps","getComboboxProps","getMenuProps");(0,q.useEffect)((()=>{S.current=!1}),[]),(0,q.useEffect)((()=>{m||(y.current={})}),[m]);const x=(0,q.useMemo)((()=>({ArrowDown(e){e.preventDefault(),f({type:Tu,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},ArrowUp(e){e.preventDefault(),f({type:Au,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},Home(e){I.current.state.isOpen&&(e.preventDefault(),f({type:_u,getItemNodeFromIndex:N}))},End(e){I.current.state.isOpen&&(e.preventDefault(),f({type:Ou,getItemNodeFromIndex:N}))},Escape(e){const t=I.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),f({type:xu}))},Enter(e){const t=I.current.state;!t.isOpen||t.highlightedIndex<0||229===e.which||(e.preventDefault(),f({type:ku,getItemNodeFromIndex:N}))}})),[f,I,N]),_=(0,q.useCallback)((e=>({id:M.labelId,htmlFor:M.inputId,...e})),[M]),O=(0,q.useCallback)((function(e,t){let{onMouseLeave:r,refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===t?{}:t;return A("getMenuProps",o,n,v),{[n]:zl(a,(e=>{v.current=e})),id:M.menuId,role:"listbox","aria-labelledby":M.labelId,onMouseLeave:jl(r,(()=>{f({type:8})})),...i}}),[f,A,M]),k=(0,q.useCallback)((function(e){let{item:t,index:r,refKey:n="ref",ref:a,onMouseMove:i,onMouseDown:o,onClick:s,onPress:l,disabled:u,...c}=void 0===e?{}:e;const{props:d,state:m}=I.current,p=mu(r,t,d.items);if(p<0)throw new Error("Pass either item or item index in getItemProps!");const h=s;return{[n]:zl(a,(e=>{e&&(y.current[M.getItemId(p)]=e)})),disabled:u,role:"option","aria-selected":`${p===m.highlightedIndex}`,id:M.getItemId(p),...!u&&{onClick:jl(h,(()=>{f({type:Fu,index:r})}))},onMouseMove:jl(i,(()=>{r!==m.highlightedIndex&&(D.current=!1,f({type:9,index:r,disabled:u}))})),onMouseDown:jl(o,(e=>e.preventDefault())),...c}}),[f,I,D,M]),P=(0,q.useCallback)((function(e){let{onClick:t,onPress:r,refKey:n="ref",ref:a,...i}=void 0===e?{}:e;return{[n]:zl(a,(e=>{E.current=e})),id:M.toggleButtonId,tabIndex:-1,...!i.disabled&&{onClick:jl(t,(()=>{f({type:11}),!I.current.state.isOpen&&b.current&&b.current.focus()}))},...i}}),[f,I,M]),R=(0,q.useCallback)((function(e,t){let{onKeyDown:r,onChange:n,onInput:a,onBlur:i,onChangeText:o,refKey:s="ref",ref:l,...u}=void 0===e?{}:e,{suppressRefError:c=!1}=void 0===t?{}:t;A("getInputProps",c,s,b);const d=I.current.state,m=e=>{const t=Xl(e);t&&x[t]&&x[t](e)},p=e=>{f({type:Pu,inputValue:e.target.value})},h=()=>{d.isOpen&&!T.current.isMouseDown&&f({type:Ru,selectItem:!0})};let g={};return u.disabled||(g={onChange:jl(n,a,p),onKeyDown:jl(r,m),onBlur:jl(i,h)}),{[s]:zl(l,(e=>{b.current=e})),id:M.inputId,"aria-autocomplete":"list","aria-controls":M.menuId,...d.isOpen&&d.highlightedIndex>-1&&{"aria-activedescendant":M.getItemId(d.highlightedIndex)},"aria-labelledby":M.labelId,autoComplete:"off",value:d.inputValue,...g,...u}}),[f,x,I,T,A,M]),F=(0,q.useCallback)((function(e,t){let{refKey:r="ref",ref:n,...a}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===t?{}:t;return A("getComboboxProps",i,r,w),{[r]:zl(n,(e=>{w.current=e})),role:"combobox","aria-haspopup":"listbox","aria-owns":M.menuId,"aria-expanded":I.current.state.isOpen,...a}}),[I,A,M]),L=(0,q.useCallback)((()=>{f({type:12})}),[f]),U=(0,q.useCallback)((()=>{f({type:14})}),[f]),B=(0,q.useCallback)((()=>{f({type:13})}),[f]),V=(0,q.useCallback)((e=>{f({type:15,highlightedIndex:e})}),[f]),j=(0,q.useCallback)((e=>{f({type:Lu,selectedItem:e})}),[f]);return{getItemProps:k,getLabelProps:_,getMenuProps:O,getInputProps:R,getComboboxProps:F,getToggleButtonProps:P,toggleMenu:L,openMenu:B,closeMenu:U,setHighlightedIndex:V,setInputValue:(0,q.useCallback)((e=>{f({type:17,inputValue:e})}),[f]),selectItem:j,reset:(0,q.useCallback)((()=>{f({type:18})}),[f]),highlightedIndex:p,isOpen:m,selectedItem:h,inputValue:g}}Hu.stateChangeTypes=Bu;He().array,He().array,He().array,He().func,He().func,He().func,He().number,He().number,He().number,He().func,He().func,He().string,He().string,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});const $u=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a,ariaLabel:i,isOpen:o})=>q.createElement("div",t({"aria-label":i}),o?q.createElement("div",{className:"sid-input-select-list__menu"},n.length>0?Mr()(n).call(n,((t,i)=>((t,i)=>q.createElement("div",ki({className:"sid-input-select-list__item "+(r===i?"sid-input-select-list__item--highlighted":"")},e({item:t,index:i,key:t.value})),a(n[i])))(t,i))):q.createElement("div",{className:"sid-input-select-list__message"},q.createElement(ir,{id:"noOptions",defaultMessage:"No Options"}))):null),qu=({clearSelection:e,disabled:t,getToggleButtonProps:r,isOpen:n})=>e?q.createElement("button",{"aria-label":"clear selection",className:"sid-input-select-button",disabled:t,onClick:e,type:"button",tabIndex:0},q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:12,fill:"transparent",stroke:"#5A5A5A",strokeWidth:"1.1px"},q.createElement("path",{d:"M1,1 L19,19"}),q.createElement("path",{d:"M19,1 L1,19"}))):q.createElement("button",ki({},r(),{className:"sid-input-select-button",disabled:t,type:"button",tabIndex:0}),q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#5A5A5A",strokeWidth:"1.1px",transform:n?"rotate(180)":void 0},q.createElement("path",{d:"M1,6 L10,15 L19,6"}))),Wu=({className:e,inputId:t,disabled:r,fieldId:n,fieldLabelId:a,isErrored:o,options:s,onKeyDown:l,onChange:u,placeholder:c,suppressPlaceholder:d=!0,value:f,autoFocus:m,ariaLabel:p,isRequired:h,buttonRef:g,role:v="combobox"})=>{const y=e=>e?e.label:"",b=(e,t)=>i()(e).call(e,(e=>{var r,n;return!t||zi()(r=e.label.toLowerCase()).call(r,t.toLowerCase())||zi()(n=e.value.toString().toLowerCase()).call(n,t.toLowerCase())})),E=(0,q.useRef)(null);return(0,q.useEffect)((()=>{qs(n,E.current)})),q.createElement(su,{id:t,onChange:u,itemToString:y,selectedItem:f&&f.value&&f.label?f:"",defaultHighlightedIndex:0},(({clearSelection:n,getInputProps:i,getItemProps:u,getMenuProps:f,getToggleButtonProps:w,highlightedIndex:S,inputValue:M,isOpen:C,openMenu:I,selectedItem:N,selectHighlightedItem:D})=>q.createElement("div",{className:`sid-input-select-list ${e||""}`},q.createElement("input",ki({},i({ref:E,onClick:()=>I(),onBlur:e=>((e,t,r)=>{r&&e.currentTarget.value===r.label||t()})(e,D,N),onKeyDown:e=>(e=>{"function"==typeof l&&l(e)})(e)}),{autoFocus:m,id:t,className:`sid-l-full-width sid-text-input ${d?"sid-hidden-placeholder":""} ${o?"sid-text-input--error":""}`,disabled:r,placeholder:c,"aria-required":h,"aria-labelledby":a,role:v})),q.createElement(qu,{disabled:r,getToggleButtonProps:w,isOpen:C,clearSelection:N?n:void 0,buttonRef:g}),q.createElement($u,{highlightedIndex:S,itemToString:y,options:b(s,M),getItemProps:u,getMenuProps:f,ariaLabel:p,isOpen:C}))))};Wu.defaultProps={className:void 0,disabled:!1,inputId:void 0,isErrored:!1,onKeyDown:void 0,placeholder:"",value:void 0};const Gu=Wu,Yu=Rt((({value:e,isErrored:t,options:r,onChange:n,onKeyDown:a,intl:i,placeholder:o="",isRequired:s=!1})=>{const l="sid-country";return q.createElement("div",{className:`sid-field ${l}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"country",defaultMessage:"Country"}),htmlForLabel:l,id:`${l}-label`,isRequired:s}),q.createElement(Gu,{fieldId:"country",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),onKeyDown:a,placeholder:o||i.formatHTMLMessage({id:"countryPlaceholder",defaultMessage:"Country"}),value:Nl()(r).call(r,(t=>t.value===(e&&e.value))),isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidCountry",defaultMessage:"Invalid country"})):null)})),Ku=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a})=>{const i=42*n.length;return q.createElement("div",ki({className:"sid-input-select-list__menu"},t(),{tabIndex:-1,style:{height:Math.min(i,280)}}),Mr()(n).call(n,((t,i)=>((t,i)=>q.createElement("div",ki({className:"sid-select-list__item "+(r===i?"sid-select-list__item--highlighted":""),key:i},e({index:i,item:t})),a(n[i])))(t,i))))},Zu=({getToggleButtonProps:e,isOpen:t})=>q.createElement("button",ki({},e(),{className:"sid-select-button",type:"button"}),q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#979797",strokeWidth:"1.1px",transform:t?"rotate(180)":void 0},q.createElement("path",{d:"M1,6 L10,15 L19,6"}))),Ju=({className:e,hideDropDownButton:t,isErrored:r,options:n,onChange:a,overrideInputClassName:i,placeholder:o,value:s})=>{const l=e=>e?e.label:"";return q.createElement(su,{onChange:a,itemToString:l,initialSelectedItem:s&&s.value&&s.label?s:void 0,defaultHighlightedIndex:0},(({getInputProps:a,getItemProps:s,getMenuProps:u,getToggleButtonProps:c,highlightedIndex:d,isOpen:f,openMenu:m})=>q.createElement("div",{className:`sid-select-list ${e}`},q.createElement("input",ki({},a({onFocus:m}),c,{className:`\n sid-l-full-width\n ${i||"sid-select-input"}\n ${r?"sid-select-input--error":""}\n `,placeholder:o,readOnly:!0})),t?null:q.createElement(Zu,{getToggleButtonProps:c,isOpen:f}),f?q.createElement("div",null,n.length>0?q.createElement(Ku,{highlightedIndex:d,itemToString:l,options:n,getItemProps:s,getMenuProps:u}):q.createElement("div",ki({className:"sid-select-list__menu"},u()),q.createElement("div",{className:"sid-select-list__message"},q.createElement(ir,{id:"noOptions",defaultMessage:"No Options"})))):null)))};Ju.defaultProps={className:void 0,hideDropDownButton:!1,isErrored:!1,overrideInputClassName:void 0,placeholder:"",value:void 0};const Xu=Ju,Qu=Rt((({value:e,options:t,onChange:r,intl:n})=>{const a=Mr()(t).call(t,(e=>({value:e.value,label:n.formatHTMLMessage({id:`locales.${e.value}`,defaultMessage:"Label not found"})})));return q.createElement("div",{className:"sid-change-locale"},q.createElement("div",{className:"sid-field__label sid-change-locale__label "},q.createElement(ir,{id:"changeLanguage",defaultMessage:"Change language"})),q.createElement(Xu,{className:"sid-change-locale__select",hideDropDownButton:!0,options:a,onChange:e=>r(e),overrideInputClassName:"sid-change-locale__input",value:Nl()(a).call(a,(t=>t.value===(e&&e.value)))}),q.createElement("div",{className:"sid-l-space-btm-sm"}))})),ec=Rt((({verificationService:e,intl:t})=>{const r=ll(e.programTheme,t);return r.length<=1?null:q.createElement(Qu,{options:r,value:e.viewModel.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:t=>(t=>{const r=Vs(e.viewModel,(e=>{e.localeChoice=t}));e.updateLocale(r,e.programTheme,e.verificationResponse.segment)})(t)})})),tc=()=>q.createElement("div",{className:"sid-spinner"},q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}));Rt((({intl:e})=>{const[t,r]=q.useContext(_i),{viewModel:n}=t,{programTheme:a}=t,i=ll(a,e),o=ol(a,e),s=ul(o),l=e=>{r({type:"UPDATE_VIEW_MODEL",payload:e})},u=function(){var e=hr((function*(e,t){const r=[],n=[];l({isSearching:!0});try{const[a,i]=yield vr().all([sa(e),sa(t)]),[o,s]=((e,t)=>{var r,n;const a=[],i=[],o=va()(r=e).call(r,((e,t)=>(e[t.name]=!0,a.push(t),e)),{});return d()(n=t).call(n,(e=>{o[e.name]||i.push(e)})),[a,i]})(a,i);r.push(...o),n.push(...s)}catch(e){return void l({orgDomainError:"invalidUrl",eligibleOrgs:[],ineligibleOrgs:[],isSearching:!1})}l({eligibleOrgs:r,ineligibleOrgs:n,completeRequest:!1,firstNameError:null,lastNameError:null,emailError:null,displayResults:!0,isSearching:!1})}));return function(t,r){return e.apply(this,arguments)}}(),c=function(){var e=hr((function*(){if(!y())return;const e=(e=>{let t=e;try{t=new(br())(e).hostname}catch(e){he.warn(e)}return t.replace(/(www\.)?/,"")})(n.orgDomain),[t,r]=m("domain",e);u(t,r)}));return function(){return e.apply(this,arguments)}}(),f=function(){var e=hr((function*(){if(!b())return;const[e,t]=m("name",n.orgName);u(e,t)}));return function(){return e.apply(this,arguments)}}(),m=(e,t)=>{const r=new(br())(a.config.orgSearchUrl),i=n.countryChoice.value,o=Ya(a,i),{origin:s,pathname:l,search:u}=r,c=new(wr())(u);return c.set(e,t),c.set("country",i),o&&c.set("tags",o),[`${s}${l}?${c.toString()}`,`${s}${l}?type=UNIVERSITY,K12,POST_SECONDARY,HIGH_SCHOOL&country=${i}&${e}=${t}`]},p=()=>n.orgDomain?mn.URL_REGEX.test(n.orgDomain)?null:"invalidUrl":"requiredField",h=()=>n.orgName?null:"requiredField",g=()=>n.countryChoice&&n.countryChoice.value?null:"requiredField",v=()=>{const e=g(),t=p(),r=h(),a=Lo("firstName",n.firstName),i=Lo("lastName",n.lastName),o=Lo("email",n.email);return l({orgCountryError:e,orgDomainError:t,orgNameError:r,firstNameError:a,lastNameError:i,emailError:o}),!(e||t||r||a||i||o)},y=()=>{const e=g(),t=p();return l({orgCountryError:e,orgDomainError:t}),!(e||t)},b=()=>{const e=g(),t=h();return l({orgCountryError:e,orgNameError:t}),!(e||t)},E=a?Ba(a):null;return q.useEffect((()=>{n.countryChoice||l({countryChoice:s})}),[]),q.useEffect((()=>{n.countryChoice&&null!==n.countryChoice.value?n.searchByOrgName?n.orgName&&f():n.orgDomain&&c():l({displayResults:!1,completeRequest:!1,firstNameError:null,lastNameError:null,emailError:null,eligibleOrgs:[],ineligibleOrgs:[]})}),[n.countryChoice]),q.createElement("div",{className:"sid-l-container--extra-wide sid-l-space-btm-lg sid-l-container"},q.createElement("div",{className:"sid-logo sid-l-horz-center sid-l-space-top-lg"},q.createElement("img",{className:"sid-logo__img",alt:"Logo",src:E||mn.SHEERID_LOGO_URL})),q.createElement("div",{className:"sid-logo sid-l-space-top-md"},q.createElement("img",{className:"sid-logo__icon",alt:"School House",src:mn.SCHOOL_HOUSE_URL})),i.length>1?q.createElement(Qu,{options:i,value:n.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:e=>{var t;l({localeChoice:e}),t=e.value,r({type:"SET_LOCALE",payload:t})}}):null,q.createElement("div",{className:"sid-title"},q.createElement(ir,{id:"title",defaultMessage:"Request to Add School"})),q.createElement("div",{className:"sid-soft-font-color"},q.createElement(ir,{id:"description",defaultMessage:"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID."})),q.createElement(Yu,{value:n.countryChoice,isErrored:!!n.orgCountryError,onChange:e=>{l({countryChoice:e,orgCountryError:null})},options:o,placeholder:e.formatHTMLMessage({id:"fields.countryPlaceholder",defaultMessage:"Select Country"})}),q.createElement("div",{className:"sid-l-space-top-md"},q.createElement(ir,{id:"noCountry",defaultMessage:"Don't see your school's country? You are not eligible for this offer."})),q.createElement("div",{className:""+(n.searchByOrgName?"sid-field-pair":"")},q.createElement(Cl,{name:"org-domain",label:e.formatHTMLMessage({id:"fields.domainLabel",defaultMessage:"School website"}),placeholder:e.formatHTMLMessage({id:"fields.domainPlaceholder",defaultMessage:"www.myschool.edu"}),value:n.orgDomain,isErrored:n.orgDomainError,onChange:e=>{l({orgDomain:e})},onKeyDown:()=>{n.orgDomainError&&!p()&&l({orgDomainError:null})},search:c}),n.searchByOrgName?q.createElement(Cl,{name:"org-name",label:e.formatHTMLMessage({id:"fields.orgNameLabel",defaultMessage:"School name"}),placeholder:e.formatHTMLMessage({id:"fields.orgNamePlaceholder",defaultMessage:"My school"}),value:n.orgName,isErrored:n.orgNameError,onChange:e=>{l({orgName:e})},onKeyDown:()=>{n.orgNameError&&!h()&&l({orgNameError:null})},search:f}):null),n.displayResults?q.createElement(Ml,{eligibleOrgs:n.eligibleOrgs,ineligibleOrgs:n.ineligibleOrgs}):null,!n.searchByOrgName&&n.displayResults?q.createElement("div",{className:"sid-l-space-top-md"},q.createElement("div",{className:"sid-h-link-like",role:"button",tabIndex:0,onKeyUp:()=>{y()&&l({searchByOrgName:!0,displayResults:!1,eligibleOrgs:[],ineligibleOrgs:[]})},onClick:()=>{y()&&l({searchByOrgName:!0,displayResults:!1,eligibleOrgs:[],ineligibleOrgs:[]})}},q.createElement(ir,{id:"searchByOrgName",defaultMessage:"Don't see your school? Search by name."}))):null,n.searchByOrgName&&n.displayResults&&n.eligibleOrgs.length+n.ineligibleOrgs.length<mn.MAX_RESULT_SIZE?q.createElement("div",{className:"sid-l-space-top-md"},q.createElement("div",{className:"sid-h-link-like",tabIndex:0,role:"button",onKeyUp:()=>{y()&&b()&&l({completeRequest:!0})},onClick:()=>{y()&&b()&&l({completeRequest:!0})}},q.createElement(ir,{id:"completeRequest",defaultMessage:"Don't see your school in the list of eligible or ineligible schools? Complete your request"}))):null,n.completeRequest?q.createElement("div",{className:"sid-complete-request"},q.createElement("div",{className:"sid-personal-info"},q.createElement("div",{className:"sid-field-pair"},q.createElement(yl,{value:n.firstName,isErrored:!!n.firstNameError,onChange:e=>{l({firstName:e})}}),q.createElement(bl,{value:n.lastName,isErrored:!!n.lastNameError,onChange:e=>{l({lastName:e})}})),q.createElement(El,{value:n.email,isErrored:!!n.emailError,onChange:e=>{l({email:e})},explanation:" "})),q.createElement("div",{className:"sid-l-space-top-lg"},q.createElement("button",{type:"submit",className:"sid-btn sid-btn--dark",onClick:e=>{e.preventDefault(),ua(v,t,r)}},q.createElement(ir,{id:"submit",defaultMessage:"Submit"})))):null,n.isSearching?q.createElement("div",{id:"sid-spinner-container",className:"sid-l-absolute-center"},q.createElement(tc,null)):null)}));var rc=o(5869);const nc={activeDutyStartDate:"Active Duty Start Date",address:"Address",addressPlaceholder:"Address",birthDate:"Date of birth",branchOfService:"Branch of service",branchOfServicePlaceholder:"Branch Of Service",changeLanguage:"Change language",city:"City",cityPlaceholder:"City",company:"Company",companyPlaceholder:"Company",copied:"Copied",country:"Country",countryPlaceholder:"Country",countries:{AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AN:"Netherlands Antilles",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia-Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of Congo",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Ivory Coast (Cote D'Ivoire)",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guyana",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe (French)",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia & South Sandwich Islands",GT:"Guatemala",GU:"Guam (USA)",GW:"Guinea Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts & Nevis Anguilla",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MH:"Marshall Islands",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macau",MP:"Northern Mariana Islands",MQ:"Martinique (French)",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia (French)",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Polynesia (French)",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn Island",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion (French)",RO:"Romania",RS:"Serbia",RU:"Russian Federation",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovak Republic",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Saint Tome (Sao Tome) and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"USA Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatican City State",VC:"Saint Vincent & Grenadines",VE:"Venezuela",VG:"Virgin Islands (British)",VI:"Virgin Islands (USA)",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna Islands",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},dateTime:{january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December",month:"Month",day:"Day",year:"Year","2_MIN":"2 minutes","20_MIN":"20 minutes","2_HRS":"2 hours","24_HRS":"24 hours","2_DAY":"2 days","3_DAY":"3 days",A_FEW_MINUTES:"a few minutes",A_HALF_HOUR:"half an hour",A_FEW_HOURS:"a few hours",A_FEW_DAYS:"a few days"},dischargeDate:"Discharge date",driverLicenseNumber:"Driver license number",driverLicenseNumberPlaceholder:"Driver license number",driverLicenseState:"Driver license state",ebtCardNumber:"EBT Card Number",emailAddress:"Email address",emailAddressPlaceholder:"Email address",optIn:"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more",phoneNumber:"Mobile Number",phoneNumberExplanation:"Optional - get text notifications of status updates",phoneNumberWarnMessage1:"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply.",phoneNumberWarnMessage2:"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud.",phoneUsPlaceholder:"555-555-5555",error:"Error",limitExceededError:"Verification Limit Exceeded",firstName:"First name",firstNamePlaceholder:"First name",memberId:"ID Number",memberIdPlaceholder:"ID Number",optional:"Optional",howDoesReviewWork:"How does review work?",howDoesVerifyingWork:"How does verifying work?",informationTransferredToUS:"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy.",lastName:"Last name",lastNamePlaceholder:"Last name",loading:"Loading...",locales:{"en-US":"English",ar:"Arabic",bg:"Bulgarian","zh-HK":"Chinese (Hong Kong)",zh:"Chinese (Traditional)",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch","en-GB":"English (UK)",fi:"Finnish","fr-CA":"French (Canadian)",fr:"French",ga:"Irish",de:"German",el:"Greek",iw:"Hebrew",hu:"Hungarian",id:"Indonesian",it:"Italian",ja:"Japanese",ko:"Korean",lo:"Lao",lt:"Lithuanian",ms:"Malay",no:"Norwegian",pl:"Polish","pt-BR":"Portuguese (Brazil)",pt:"Portuguese",ro:"Romanian",ru:"Russia",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish","es-ES":"Spanish (Spain)",sv:"Swedish",th:"Thai",tr:"Turkish",ur:"Urdu",vi:"Vietnamese",zu:"Zulu"},militaryStatus:"Military status",noOptions:"No options",lowRewardPool:"&#128293; Only {offersRemaining} offers left!",personalInformation:"Personal Information",personalOrSchoolIsFine:"Personal or school email is fine",postalCode:"Postal code",postalCodeExplanation:"Use the location on file with your licensing body",postalCodePlaceholder:"Postal code",poweredBy:"Verification services powered by SheerID",proceed:"Proceed",requestSchool:"Don't see your school? Request to have it added.",requiredFields:"All fields are required",rewardCodeEmailNotification:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.",school:"School",schoolName:"University / College name",schoolNamePlaceholder:"University / College name",sheeridFaqs:"SheerID FAQs",privacyPolicy:"Privacy Policy",smsCodePlaceholder:"SMS Code",state:"State",statePlaceholder:"State",states:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"American Samoa",AZ:"Arizona",CA:"California",CO:"Colorado",CT:"Connecticut",DC:"District of Columbia",DE:"Delaware",FL:"Florida",GA:"Georgia",GU:"Guam",HI:"Hawaii",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MS:"Mississippi",MT:"Montana",NC:"North Carolina",ND:"North Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VA:"Virginia",VI:"Virgin Islands",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"West Virginia",WY:"Wyoming"},status:"Status",statusPlaceholder:"Status",streetAddress:"Street Address",universityName:"University name",verifyAndContinue:"Verify and continue",verificationPurposesOnly:"Used for verification purposes only",verifyMyStudentStatus:"Verify My Student Status",verifyMyTeacherStatus:"Verify My Teacher Status",verifyMyMembershipStatus:"Verify My Membership Status",verifyMyMilitaryStatus:"Verify My Military Status",verifyMyIdentityStatus:"Verify My Identity",verifyMyMedicalProfessionalStatus:"Verify My Medical Professional Status",verifyMyEmploymentStatus:"Verify My Employee Status",verifyMyLicensedProfessionalStatus:"Verify My Licensed Professional Status",verifyMyMoverStatus:"Verify My New Mover Status",verifyMyLowIncomeStatus:"Verify my status",VETERAN:"Military Veteran or Retiree",MILITARY_RETIREE:"Military Retiree",RESERVIST:"Reservist or National Guard",ACTIVE_DUTY:"Active Duty",MILITARY_FAMILY:"Military Family",GOLD_STAR_FAMILY:"Gold Star Family",FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue",DOCTOR:"Doctor",NURSE:"Nurse",DENTIST:"Dentist",PHARMACIST:"Pharmacist",OTHER_HEALTH_WORKER:"Other Health Worker",HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover",SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient",LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian",VETERINARIAN:"Veterinarian",organization:"Organization",organizationPlaceholder:"Organization",lowIncomeOrganization:"Government Assistance Program",lowIncomeOrganizationPlaceholder:"Government Assistance Program",verifyMyFirstResponderStatus:"Verify My First Responder Status",tryAgain:"Try again",errorId:{activeDutyStartDateBeforeBirthDate:"Start date must be after birth date",apiRateLimitExceeded:"Unable to process your request at this time, please try again later",dischargeDateBeforeBirthDate:"Discharge Date before birthdate",docReviewLimitExceeded:"Document review limit exceeded",inactiveProgram:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",expiredEmailLoopToken:"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you're looking for is no longer available.",expiredProgram:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",expiredSMSCode:"Verification code expired",expiredVerification:"This verification is expired. Please submit a new verification.",failedToFetch:"Failed HTTP request",fraudRulesReject:"We're unable to verify you using the information submitted. Please check your information for accuracy, and only use your own mobile device or computer.<br><br>Still having trouble? <a href=\"{feedbackUrl}&pid={programId}&locale={locale}\">Contact SheerID's support team</a> to confirm your identity.",futureBirthDate:"Future birthdate",futureDischargeDate:"Future discharge date",futureActiveDutyStartDate:"Future start date",incorrectVerificationOverrideCodeAttemptLimitExceeded:"Override code limit exceeded",internalServerError:"Internal server error",invalidActiveDutyStartDate:"Invalid start date",invalidAddress:"Invalid address",invalidApiToken:"Provided API token was invalid or empty",invalidBirthDate:"Invalid birth date",invalidCity:"Invalid city",invalidCountry:"Invalid country",invalidDischargeDate:"Invalid discharge date",invalidDocUploadToken:"Provided document upload token is not valid",invalidEbtCardNumber:"Invalid EBT Card Number",invalidEmail:"Invalid email",invalidEmailLoopToken:"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you're looking for is no longer available.",invalidFileSizeEmpty:"One or more files is empty",invalidFileSizeMax:"One or more files is too large (max: 10MB)",invalidFirstName:"Invalid first name",invalidFirstResponderStatus:"Invalid first responder status",invalidLastName:"Invalid last name",invalidMemberId:"Invalid ID Number",invalidMilitaryStatus:"Invalid military status",invalidNumberOfFiles:"Maximum number of files exceeded (max: 5)",invalidOptIn:"Must be selected to continue",invalidOrganization:"You must select an organization from the list",invalidOverrideCode:"Invalid Override Code",invalidPhoneNumber:"Invalid mobile number",invalidPostalCode:"Invalid postal code",invalidProgram:"Invalid program",invalidRequest:"Invalid request",invalidSMSCode:"Verification code could not be validated",invalidSocialSecurityNumber:"Invalid SSN",invalidState:"Invalid state",invalidStatus:"Invalid status",invalidStatuses:"Invalid status",invalidDriverLicenseNumber:"Invalid driver license number",invalidStep:"Invalid step",missingRequiredMetadata:"You must be logged in to verify. Log in to your account then try again.",marketConsentRequired:"Market consent required",maxMetadataLengthExceeded:"Maximum length of metadata value exceeded",maxMetadataValuesExceeded:"Maximum number of metadata values exceeded",maxSMSCodeLimitExceeded:"",incorrectSMSCodeAttemptLimitExceeded:"",noProgram:"No program found",noRemainingRewardCodes:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",notApproved:"Not approved",notFound:"Not found",noValidFiles:"No valid files",noVerification:"No verification found",outsideAgePerson:"Birthdate is not eligible for this offer.",requestTimeout:"Request timeout",simulatedError:"This is a simulated error",unauthorizedDomain:"Unauthorized domain",unauthorizedAccountStatus:"This offer has been temporarily discontinued. Please contact the brand’s customer support for more information.",underagePerson:"Persons under age 16 are not eligible for this offer.",unknownError:"Unknown Error",unsupportedDocMimeType:"One or more files is an unsupported format",verificationLimitExceeded:"We're glad you're enthusiastic, but it looks like you've already redeemed or attempted to redeem this offer."},step:{docUpload:{acceptableUploadExamples:"Acceptable examples include:",acceptedTypes:"File must be .jpg .jpeg .png .pdf .gif or .bmp",addFile:"Add file",cancelButtonLabel:"Cancel",fileInstructions:'Drag &amp; drop your files here or <span class="sid-dropzone-wrap--link">browse</span>',submitButtonLabel:"Continue",rejectedSubtitle:"We were unable to confirm your eligibility due to:",nameChanged:"If your name has changed since the document was issued, upload a 2nd document showing your official name change.",allowedDocuments:"Please only upload documents you are legally allowed to provide.",cancelDocUploadLabel:"Click here if you are unable to verify with a document",rejectionReasons:{DOCUMENT_LIKELY_FRAUD:"The document is insufficient for establishing eligibility for this offer.",DOCUMENT_UNSUPPORTED:"The document is not official or on the list of accepted document types.",DOCUMENT_UNREADABLE:"The document was unreadable due to poor image quality. Please make sure you have a clearly legible image that's bright and crisp, and try submitting again.",DOCUMENT_EXPIRED:"The document has already expired or was issued too far in the past. Please upload a more recent document.",DOCUMENT_TOO_FUTURE:"The date shown in the document is too far in the future. Please upload a more recent document, which proves your current status.",MISSING_DOCUMENT_DATE:"A current date is missing. Please upload an official, dated document that proves your current status.",INSUFFICIENT_DOCUMENT_DATE:"The date(s) shown in the document are insufficient to prove your current status. Please upload a document that includes a recent month and year.",INSUFFICIENT_STATUS:"The document does not prove you are a status eligible for this offer.",MISMATCH_STATUS:"The status on the document does not match the status you entered on your verification form.",INELIGIBLE_JOB_TITLE:"The job title shown in the document is not eligible for this offer.",MISSING_INFORMATION_BIRTHDATE:"Your birthdate is missing.",MISMATCH_BIRTHDATE:"The birthdate on the document does not match the birthdate you entered on your verification form.",OUT_OF_RANGE_BIRTHDATE:"Your birthdate is outside the acceptable range of this offer. ",MISSING_PERSON_LAST_NAME:"Your last name is missing.",MISMATCH_PERSON_LAST_NAME:"The last name on the document does not match the last name you entered on your verification form.",MISSING_PERSON_FIRST_NAME:"Your first name is missing.",MISMATCH_PERSON_FIRST_NAME:"The first name on the document does not match the first name you entered on your verification form.",MISSING_INFORMATION_ORGANIZATION_NAME:"Your organization name is missing.",MISMATCH_ORGANIZATION_NAME:"The organization name on the document does not match the organization name you entered on your verification form.",MISMATCH_ORGANIZATION_COUNTRY:"The country shown in your document does not match the country you entered on your verification form",MISSING_CUSTOM_VALUE:"The document is missing information needed to establish your eligibility for this offer.",MISMATCH_CUSTOM_VALUE:"Some information shown in the document does not match what you entered in the verification form.",INSUFFICIENT_CUSTOM_VALUE:"The document is missing information needed to establish your eligibility for this offer.",DOCUMENT_VALID_OTHER:"The document is insufficient for establishing eligibility for this offer",DOCUMENT_STATUS_OTHER:"The document is insufficient for establishing eligibility for this offer",DOCUMENT_DATE_OTHER:"The document is insufficient for establishing eligibility for this offer",PERSON_BIRTHDATE_OTHER:"The document is insufficient for establishing eligibility for this offer",PERSON_LAST_NAME_OTHER:"The document is insufficient for establishing eligibility for this offer",PERSON_FIRST_NAME_OTHER:"The document is insufficient for establishing eligibility for this offer",ORGANIZATION_NAME_OTHER:"The document is insufficient for establishing eligibility for this offer",CUSTOM_VALUE_OTHER:"The document is insufficient for establishing eligibility for this offer",DOCUMENT_PASSWORD_PROTECTED:"We are unable to accept password protected documents.",DOCUMENT_HANDWRITTEN:"We cannot accept handwritten documents.",MISSING_INFORMATION:"The document you submitted does not provide all of the information necessary to determine eligibility for this offer.",MISSING_INFORMATION_PERSON_NAME:"The document you submitted is missing a first and/or last name.",DOCUMENT_OUTDATED:"The document you submitted is missing an issue date or was issued too far in the past.",MISMATCH_PERSON_NAME:"The information on the document you submitted does not match the first and/or last name submitted on the verification form.",MISMATCH_ORGANIZATION:"The organization name on the document(s) you submitted does not match the organization you listed on the verification form.",INELIGIBLE_ORGANIZATION:"The organization on the document you submitted is not eligible for this offer.",MISSING_INFORMATION_UNIVERSITY_ENROLLMENT:"The document you submitted does not prove enrollment in the current term.",INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT:"High School Students are not eligible for this offer.",MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES:"The document you submitted is does not show affiliation to an eligible branch of the United States Armed Forces.",MISMATCH_COMPANY_NAME_OR_ADDRESS:"The company name or address in your document does not match what you entered on the verification form.",PAYSTUB_OUTDATED_LAST_30_DAYS:"Please upload a paystub that was issued within the last 30 days.",DOCUMENT_OUTDATED_FACULTY:"The document you submitted does not prove employment in the current academic year.",MISSING_OR_MISMATCH_JOB_TITLE:"The job title on the document you submitted is missing or does not match what you entered on the verification form.",OTHER_CONTACT_US:"We are having problems verifying your eligibility for the offer. Please contact SheerID customer service for help: customerservice@sheerid.com",PERSON_FIELD_MISMATCH:"A field in the document provided did not match with what was provided on the verification form."},uploadInfo:{affiliation:"Your current affiliation with that organization",fullName:"Your full name",organization:"Your organization",student:{enrollmentDate:"Date proving enrollment for the current term (or within the last 3 months)",school:"Your school"},teacher:{currentSchoolYear:"A date in the current school year",school:"Your school"},military:{currentAffiliation:"Your current affiliation with the armed services",dischargeDate:"Your discharge date (if applicable)",serviceBranch:"Your branch of service",uploadInstructionsDependent:"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status"},senior:{birthDate:"Your date of birth"},age:{birthDate:"Your date of birth"},firstResponder:{currentAffiliation:"Your current affiliation with that organization",organization:"Your organization",license:"Your status or license as a First Responder"},medical:{status:"Your medical professional status",validDate:"A currently valid date"},employment:{company:"Your company",currentAffiliation:"Your current affiliation with that company"},identity:{validDate:"A currently valid date"},licensedProfessional:{licenseStatus:"Your professional license and/or certification status",validDate:"A currently valid date"},recentMover:{address:"Your new address",validDate:"A valid date for your recent move"},lowIncome:{fullName:"Your full name",validDate:"A valid date of issue (within the last 12 months) or date of expiry (must be valid)"}},acceptableUploads:{student:{idCard:"School ID card with expiration date",classSchedule:"Class schedule",tuitionReceipt:"Tuition receipt"},teacher:{idCard:"Teacher ID card with valid date",payStub:"Pay stub from within last 60 days"},member:{idCard:"Membership Document",payStub:"Pay stub from within last 90 days"},senior:{birthCertificate:"Your birth certificate",driversLicense:"Your drivers license",passport:"Your passport",stateId:"Your state-issued ID"},age:{birthCertificate:"Your birth certificate",driversLicense:"Your drivers license",passport:"Your passport",stateId:"Your state-issued ID"},military:{activeDuty:"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more",veteran:"Any document that proves you met the qualifications of military service and were honorably discharged",reservistA:"Any document that shows you are currently serving in a reserve component of the armed forces",retiree:"Any document that proves you are a retiree from the armed forces",dependent:"Any document that proves you are a Registered Military Dependent",goldStarFamily:"Any document that proves you are a Registered Gold Star Family Member"},medical:{licenseCertificate:"Certificate of license",idCard:"Nursing ID card with expiration date",photoPayStub:"Photo ID and recent Pay Stub"},employment:{employeeIdCard:"Employee ID Card",payStub:"Pay stub from within last 60 days",officialLetter:"An official letter"},firstResponder:{idCard:"ID Card",payStub:"Pay stub from within last 60 days",letter:"An official letter"},licensedProfessional:{license:"Certificate of license"},recentMover:{changeOfAddress:"U.S. Postal Service change of address confirmation letter",mortgageDeed:"Mortgage deed",rentalAgreement:"Lease or rental agreement"},lowIncome:{programCard:"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program).",programApprovalLetter:"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter).",programApprovalScreenshot:"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account).",programBankStatement:"A bank statement showing recent payment of the selected benefit."}}},pending:{titleCountdown:"Processing",titleReview:"Reviewing",subtitle:"SheerID is reviewing your documents, to confirm your status. This process may take up to {maxReviewTime}.",subtitleAlt:"SheerID is reviewing your documents, to confirm your status.",docDiffLang:"We identified your document is in a different language.",turnaroundTime:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",subtitle2:"Wait here or let us notify you of the outcome.",subtitle3:"You will be contacted via email.",subtitleCountdown:"Hang tight while we upload and scan your documents."},personalInfo:{verifyingTitle:"Verifying your status",verifyingSubtitle:"This should only take a minute"},success:{copyCouponCode:"Copy Coupon code",emailNotification:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.",verificationOnly:"\n SheerID handles verification only.\n Now that you've been approved, please direct all questions about the\n promotion terms to {companyName} customer service.\n "},consolation:{title:"Claim your offer",subtitle:"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.",verificationOnly:"Please direct any and all questions about this offer to {companyName}."},sso:{cancel:"Upload documents",title:"Verify using your school credentials",subtitle:"Please sign in to your school's web portal. It will open in a new tab.",subtitle2:"Can't sign in to your email?",login:"Sign in to my school"},collectSocialSecurityNumber:{title:"Enter your social security number",useSsn:"Verify using your social security number",uploadDoc:"Upload a document",selectOption:"Select an option",uploadInstead:"Upload a document instead"},smsLoop:{titleWithNumber:"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.",titleWithoutNumber:"We've sent an SMS to your mobile number. Please enter the code here.",verificationCode:"Verification Code",errors:{codeVerification:"Verification code could not be validated.",codeExpired:"Verification code could not be validated.",codeResendLimit:"Maximum number of re-tries has been reached.",resend:"Error sending the SMS message"},successResend:"SMS message re-sent successfully",incorrectNumber:{incorrectNumber1:"Incorrect number? Click",incorrectNumber2:"here",incorrectNumber3:"to return to {companyName}"},resendButton:"Re-send",submitButton:"Submit"},emailLoop:{title:"Check your email",subtitleWithEmail:"An email has been sent to {email} with a personalized link to complete the verification process.",subtitleWithoutEmail:"An email has been sent to your email account with a personalized link to complete the verification process.",subtitle2:"Please check for an email from us (verify@sheerid.com) for all the details.",successResend:"Email re-sent successfully.",resendButton:"Re-send",errors:{resend:"Error sending email"},skipEmail:"Unable to retrieve this email? Click",skipEmailCTA:"here",skipEmail2:"to proceed."},override:{title:"Unable to Verify Status",subtitle:"If applicable, please enter a verification override code below.",subtitle2:"This will enable the customer to redeem the offer",verificationOverrideCodeLabel:"Verification Override Code",submitOverrideCodeButtonLabel:"Submit Override Code",errors:{invalidCode:"Invalid Override Code.",codeOverrideLimit:"Override code limit exceeded."}},error:{errorId:{unauthorizedAccountStatus:{title:"Offer Is Paused!",buttonText:"Contact Support"},noRemainingRewardCodes:{title:"Offer Sold Out!",buttonText:"See More Offers"},verificationLimitExceeded:{title:"Verification Limit Exceeded"},expiredProgram:{title:"Offer Sold Out!",buttonText:"See More Offers"},inactiveProgram:{title:"Offer Sold Out!",buttonText:"See More Offers"},missingRequiredMetadata:{title:"Please log in."}}},collectMedicalPersonalInfo:{registrationNumberLabel:"Registration Number",registrationNumberExplanation:"Your Professional Membership Registration Number",numeroColegiadoLabel:"Registration Number",numeroColegiadoExplanation:"Your Professional Membership Registration Number",autorisationsIdLabel:"Registration Number",autorisationsIdExplanation:"Your Professional Membership Registration Number",gbrNummerLabel:"Registration Number",gbrNummerExplanation:"Your Professional Membership Registration Number",globalLocationNumberLabel:"Global Location Number",globalLocationNumberExplanation:"Your Professional Membership Registration Number"}},ssn:"Social Security Number",ssnPlaceholder:"000-00-0000",getHelp:"Get help",footerText:"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>.",infoShared1:"By clicking, I consent to processing my information for the purpose of verifying my eligibility as described within the {privacyPolicyLink}",infoShared2:". I understand that my information will be shared with {companyName}. ",studentInfoShared:"Information entered here will be used for verification purposes and shared with {companyName}. ",firstResponderInfoShared:"Information entered here will be used for verification purposes. ",militaryInfoShared:"Information entered here will be used for verification purposes. ",militaryFamilyCardNote:"Note: this offer is only available to military family members with a Dependent ID card."},ac={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this 1st Responder-Only Offer",subtitle:"Verify you're an active first responder.",howDoesVerifyingWorkDetails:"\n This offer is available to all US first responders and emergency personnel - including law enforcement,\n EMTs, paramedics, and firefighters.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID\n only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name, Email & Organization",subtitle:"Your full name, organization name, and email must match what is on record with your agency."},verifyingTitle:"Verifying your first responder status"},docUpload:{title:"We need your ID",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying first responders.\n <br><br>\n Documents are used only for verifying your first responder status is current and will be permanently deleted after review is finalized.\n They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},ic={emailExplanation:"Personal email address is recommended",step:{personalInfo:{title:"Unlock this Military-Only Offer",subtitle:"Verify you're a member of the armed forces.",howDoesVerifyingWorkDetails:"\n This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information\n that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."},verifyingTitle:"Verifying your military status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying military.\n <br><br>\n Documents are used only for verifying your military status is current and will be permanently deleted after review is finalized.\n They will not be shared with {companyName}",uploadInstructions:"Upload your government-issued document that shows:"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},oc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must be of a certain age.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\n verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your government-issued documents."},verifyingTitle:"Verifying your age"},docUpload:{title:"We need your license or passport",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying age.\n <br><br>\n Documents are used only for verifying your current age and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload a government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},sc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must be of a certain age.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\n verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your government-issued documents."},verifyingTitle:"Verifying your age"},docUpload:{howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying age.\n <br><br>\n Documents are used only for verifying your current age and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload a government-issued document that shows",title:"We need your license or passport",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner."},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},lc={emailExplanation:"A student email address is preferred",schoolName:"University / college name",step:{personalInfo:{title:"Unlock this Student-Only Offer",subtitle:"Verify you're a student at a degree-granting school.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must currently be enrolled in a degree\n or certificate-granting, accredited school of education.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only\n collects information that assists in verifying your eligibility.\n Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your official school records."},verifyingTitle:"Verifying your student status"},docUpload:{title:"We need your ID & class schedule",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying students.\n <br/><br/>\n Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload your school-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"},sso:{cancel:"Upload Proof of Enrollment"}}},uc={emailExplanation:"Must be your school-issued email address",schoolName:"School name",schoolNamePlaceholder:"School name",step:{personalInfo:{title:"Unlock this Teaching Staff-Only Offer",subtitle:"Verify you're a teacher, faculty or staff at a K-12 or degree-granting university.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12\n school or university in the United States.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff\n member. SheerID only collects information that assists in verifying your eligibility. Additional information\n or documentation may be requested.",tryAgain:{title:"Check Your Name & Email",subtitle:"Your full name and email address must match what is on record with your school."},verifyingTitle:"Verifying your teacher status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying teachers.\n <br><br>\n Documents are used only for verifying your teacher or faculty status is current and will be permanently\n deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload your school-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},cc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Members-Only Offer",subtitle:"Verify you're a current member of an eligible organization.",howDoesVerifyingWorkDetails:"{companyName} has set up this special offer for all current members of select organizations.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects\n information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check the information that you have provided",subtitle:"The information you have provided should match your official documents."},verifyingTitle:"Verifying your membership status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying members.\n <br><br>\n Documents are used only to verify that your membership status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},dc={emailExplanation:"Use your work email if you have one",step:{personalInfo:{title:"Unlock this Medical Professional-Only Offer",subtitle:"Verify you're a licensed medical professional.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must (1) be a medical professional currently licensed in the United States\n and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status\n selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional.\n SheerID only collects information that assists in verifying your eligibility.\n Additional information or documentation may be requested.",tryAgain:{title:"Check your Name, Birthdate & Organization",subtitle:"Your first and last name, birthdate and organization must match what is on your official documents."},verifyingTitle:"Verifying your medical professional status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying\n medical professionals.<br><br>Documents are used only for verifying your medical professional status is\n current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},sso:{title:"Verify your Healthcare status",subtitle:"Please sign into your employer's web portal. It will open in a new tab.",login:"Sign into my employer web portal"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},fc={emailExplanation:"Use your work email if you have one",step:{personalInfo:{title:"Unlock this Employment-Only Offer",subtitle:"Verify you're a current employee at an eligible company.",howDoesVerifyingWorkDetails:"{companyName} has set up this special offer for all current employees of select companies.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check the information that you have provided",subtitle:"The information you have provided should match your official documents."},verifyingTitle:"Verifying your employment status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying employees.\n <br><br>\n Documents are used only for verify your employment status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"},sso:{title:"Verify using your company-provided email credentials",subtitle:"Please sign in to your company's email portal. It will open in a new tab.",subtitle2:"Can't sign in to your email?",login:"Sign in to my email",cancel:"Upload proof of employment"}}},mc={title:"Request to Add School",description:"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID.",noCountry:"Don't see your school’s country or region? You are not eligible for this offer.",searchByOrgName:"Don't see your school? Search by name.",completeRequest:"Don't see your school in the list of eligible or ineligible schools? Complete your request",submit:"Submit",eligibleOrgs:"Eligible schools. Click the icon to copy name then return to the verification form:",ineligibleOrgs:"Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:",none:"None",country:"Where is your educational institution located?",changeLanguage:"Change language",poweredBy:nc.poweredBy,copied:"Copied",fields:{countryPlaceholder:"Select Country",domainLabel:"School website",domainPlaceholder:"www.myschool.edu",orgNameLabel:"School name",orgNamePlaceholder:"My school"},step:{success:{title:"Thank you",description:"Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days."},error:{title:"An unexpected error occurred",description:"Sorry we are not able to process your request. Please try again later.",seeingProblem:"If you keep seeing this problem <a class='sid-link' href='{feedbackUrl}&pid={programId}' target='_blank'>contact us</a>.",contactUs:"contact us"}},errorId:{invalidCountry:"Field is required",invalidEmail:"Invalid Email",invalidFirstName:"Invalid first name",invalidLastName:"Invalid last name",requiredField:"Field is required",invalidField:"Field is invalid",invalidUrl:"Invalid URL",tooManyResults:"Your search returned too many results, please refine your search and try again"},orgType:{university:"Universities {e}",k12:"K12 {e}",postSecondary:"Post Secondary Institutions {e}",highSchool:"High Schools / Secondary Schools {e}",eligible:" - Eligible for this offer. Click the icon to copy name then return to the verification form:",ineligible:" - (Not eligible for this offer)"},faq:"SheerID Add School Request FAQ"},pc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current identity.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must have a valid driver license.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in\n verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your identity"},docUpload:{howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying identity.\n <br><br>\n Documents are used only for verifying your current eligibility and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload a government-issued document that shows",title:"We need your driver license",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner."},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},hc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:'"Verify you have a professional license in your field.',howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must hold a current professional license in your specified field. Eligible fields are shown in the Status selector of this form.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional.\n SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your license"},docUpload:{title:"We need your professional license or certificate",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying licensed professionals.\n <br><br>\n Documents are used only for verifying your licensure or certification status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload a government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},gc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you have recently moved.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must have moved to a new address within the last 60 days.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only\n collects information that assists in verifying your eligibility.\n Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Address Information",subtitle:"Your first and last name and address must match what is on your official documents."},verifyingTitle:"Verifying your moving status"},docUpload:{title:"We need some more info",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying recent movers.\n <br/><br/>\n Documents are used only for verifying that you've recently moved and will will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},vc={emailExplanation:"",postalCodeExplanation:"Use your home address",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you qualify for an eligible government assistance program.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below. \n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. \n SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your full name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your status"},docUpload:{title:"We need some more info",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.\n <br><br>\n Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows:"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},yc={defaultMessages:nc,pluralizationsAndDateLocaleData:o.n(rc)(),requestOrganizationMessages:mc,segmentMessages:{firstResponder:ac,military:ic,senior:oc,age:sc,student:lc,teacher:uc,member:cc,medical:dc,employment:fc,identity:pc,licensedProfessional:hc,recentMover:gc,lowIncome:vc}},bc={verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:"https://sheerid.com",errorIds:["internalServerError"],locale:"en-US"},Ec={collectStudentPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectStudentPersonalInfo",segment:"student",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectTeacherPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectTeacherPersonalInfo",segment:"teacher",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectMemberPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMemberPersonalInfo",segment:"member",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},docUpload:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"docUpload",segment:"student",subSegment:null,submissionUrl:"",locale:"en-US"},success:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"success",segment:"student",subSegment:null,rewardCode:"MY_REWARD_123",locale:"en-US"},consolation:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"consolation",segment:"student",subSegment:null,consolationRewardCode:"MY_REWARD_123",locale:"en-US"},override:{verificationId:"635a9e342f69032c316e05f9",currentStep:"override",errorIds:["invalidOverrideCode"],segment:"medical",subSegment:"nurse",submissionUrl:"",locale:"en-US",country:"US"},error:bc,pending:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"pending",statusUrl:"",segment:"student",subSegment:null,locale:"en-US",maxReviewTime:"2_HRS",estimatedReviewTime:void 0},docReviewLimitExceeded:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:null,errorIds:["docReviewLimitExceeded"],locale:"en-US"},collectMilitaryStatus:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMilitaryStatus",segment:"military",subSegment:null,submissionUrl:"",availableStatuses:["ACTIVE_DUTY"],locale:"en-US"},collectActiveMilitaryPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectActiveMilitaryPersonalInfo",segment:"military",subSegment:"activeDuty",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectInactiveMilitaryPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectInactiveMilitaryPersonalInfo",segment:"military",subSegment:"veteran",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectSeniorPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectSeniorPersonalInfo",segment:"senior",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectFirstResponderPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectFirstResponderPersonalInfo",segment:"firstResponder",subSegment:"emt",submissionUrl:"",availableStatuses:["FIREFIGHTER"],instantMatchAttempts:0,locale:"en-US"},collectEmployeePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectEmployeePersonalInfo",segment:"employment",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectDriverLicensePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectDriverLicensePersonalInfo",segment:"identity",subSegment:"driverLicense",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectGeneralIdentityPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectGeneralIdentityPersonalInfo",segment:"identity",subSegment:"generalIdentity",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectHybridIdentityPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectHybridIdentityPersonalInfo",segment:"identity",subSegment:"generalIdentity",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectLicensedProfessionalPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectLicensedProfessionalPersonalInfo",segment:"licensedProfessional",submissionUrl:"",subSegment:"licensedCosmetologists",instantMatchAttempts:0,locale:"en-US"},collectMoverPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectMoverPersonalInfo",segment:"recentMover",submissionUrl:"",subSegment:"homeBuyer",instantMatchAttempts:0,locale:"en-US"},collectLowIncomePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectLowIncomePersonalInfo",segment:"lowIncome",submissionUrl:"",subSegment:"snapBenefits",instantMatchAttempts:0,locale:"en-US"},sso:{verificationId:"5a3bffd5e4b05f0b878a9762",loginUrl:"loginUrl",cancelUrl:"cancelUrl",currentStep:"sso",segment:"student",subSegment:null,locale:"en-US"},smsLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"",currentStep:"smsLoop",segment:"student",subSegment:null,locale:"en-US"},emailLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"https://foo.bar",currentStep:"emailLoop",segment:"student",subSegment:null,locale:"en-US",canResendEmailLoop:!0,cancelUrl:"https://foo.bar"},cancelEmailLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"",currentStep:"docUpload",segment:"student",subSegment:null,locale:"en-US"},collectSocialSecurityNumber:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectSocialSecurityNumber",segment:"military",subSegment:null,submissionUrl:"",cancelUrl:"",locale:"en-US"},collectAgePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectAgePersonalInfo",segment:"age",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US",minAge:55,maxAge:120},collectMedicalProfessionalPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMedicalProfessionalPersonalInfo",segment:"medical",subSegment:"nurse",submissionUrl:"",availableStatuses:["NURSE"],instantMatchAttempts:0,locale:"en-US"},cancelSocialSecurityNumber:{},cancelDocUpload:{submissionUrl:"",verificationId:"63a22b25e7501047aa05bc3a",currentStep:"override",segment:"student",subSegment:null,locale:"en-US"},missingRequiredMetadata:bc},wc=(yc.defaultMessages.countries,yc.defaultMessages.locales,e=>{try{const t=new(wr())(window.location.search);if(t.get(e))return t.get(e);if(Sn().hasOwnProperty(e))return Sn()[e]}catch(e){he.error(e)}}),Sc=(e=undefined)=>{try{const t=new(wr())(window.location.search);let r;const n=oe((()=>e.segment));return t.get(rn)?r=t.get(rn):Sn().mockStep&&(r=Sn().mockStep),r===we.collect?Me[n]:r}catch(e){he.error(e,"getRouteOverride")}},Mc=()=>wc(nn),Cc=()=>wc(an),Ic=()=>wc(cn),Nc=()=>Ic(),Dc=()=>wc(sn),Tc=()=>wc(ln),Ac=e=>{const t=ie(e),r=wc(on),n=Tc();return r&&(t.errorIds=[r]),n&&(t.redirectUrl=n),t},xc=function(){var e=hr((function*(e,t){let r=Sn().mockResponse||Ec[e];if(e&&r)switch(he.info(`getOverriddenMock: mocking ${e} response`),e){case ve.error:r=Ac(r);break;case ve.success:r=(e=>{const t=ie(e),r=Dc(),n=Tc();return r&&(t.rewardCode=r),n&&(t.redirectUrl=n),t})(r);break;case ve.consolation:r=(e=>{const t=ie(e),r=Dc();return r&&(t.consolationRewardCode=r),t})(r)}else r=null,he.info(`\n getOverriddenMock: not mocking response.\n You may mock a step response by adding things like ?mockStep=success to your route.\n ${e}\n `);return null!==r&&t&&(yield t,r.segment=t.segment,r.subSegment=t.subSegment,Mc()&&(r.segment=Mc(),he.info(`getOverriddenMock: mocking segment '${r.segment}'`)),Cc()&&(r.subSegment=Cc(),he.info(`getOverriddenMock: mocking subSegment '${r.subSegment}'`))),vr().resolve(r)}));return function(t,r){return e.apply(this,arguments)}}(),_c=({step:e})=>q.createElement("div",{className:"sid-loading-screen__message"},zi()(be).call(be,e)&&q.createElement("div",{className:"sid-loading-screen__message-header"},q.createElement(ir,{id:"step.personalInfo.verifyingTitle",defaultMessage:"Verifying your status"})),q.createElement("div",{className:"sid-loading-screen__message-subhead"},q.createElement(ir,{id:"step.personalInfo.verifyingSubtitle",defaultMessage:"This should only take a minute"}))),Oc=({step:e=Nc()})=>q.createElement("div",{className:"sid-loading-screen"},q.createElement(tc,null),e&&q.createElement(_c,{step:e}));let kc={};const Pc=(e,t)=>{he.log(`overrideComponent registering ${e}`),kc[e]=t},Rc=()=>{kc={}};var Fc=o(1057),Lc=o.n(Fc);function Uc(e){return Bc.apply(this,arguments)}function Bc(){return Bc=hr((function*(e){try{he.info("fetchExistingVerificationRequest: Calling back-end for existing verification request");const t=Hn(e),r=yield Fn(t),n=Sc(r),a=yield xc(n,r);return a||r}catch(e){he.error(e,"fetchExistingVerificationRequest")}})),Bc.apply(this,arguments)}var Vc=o(6607),jc=o.n(Vc);const zc=function(){var e=hr((function*(e,t){Qr(e),Xr(t);const r=`${`${Sn().restApi.serviceUrl}${Sn().restApi.resources.conversion.base}`}verification/${e}`;return yield Pn(r,t)}));return function(t,r){return e.apply(this,arguments)}}(),Hc=function(){var e=hr((function*(e,t,r){Qr(e),Jr(t),Xr(r);const n=`${`${Sn().restApi.serviceUrl}${Sn().restApi.resources.conversion.base}`}account/${e}/trackingId/${t}`;return yield Pn(n,r)}));return function(t,r,n){return e.apply(this,arguments)}}(),$c=window.addEventListener?"addEventListener":"attachEvent",qc="attachEvent"===$c?"onmessage":"message",Wc="sid-verificationId",Gc="verificationId",Yc=e=>{if(e&&e.data&&"object"==typeof e.data&&e.data.hasOwnProperty(Gc)){const t=e.data[Gc];Kc(t)}},Kc=e=>{const t=Sn().cookies;jc().remove(Wc,t),t.enabled?(jc().set(Wc,e,t),he.info(`Set cookie ${Wc} with value ${e}`)):he.info("Cookies disabled")},Zc=e=>{var t;t={[Gc]:e},window.parent&&window.parent.postMessage&&"function"==typeof window.parent.postMessage&&window.parent.postMessage(t,"*"),Kc(e)},Jc=(e=undefined)=>{let t;if(void 0!==e)t=e,Jr(e);else{t=(e=>{const t=new(wr())(e).get("trackingId");return"string"==typeof t&&0===t.length?null:t})(window.location.search)}return t},Xc={convert:e=>{let t;try{t=jc().get(Wc),t?zc(t,e):he.info("verificationId not found from cookie")}catch(e){he.error(e,"Conversion error")}},convertByVerificationId:zc,convertByTrackingId:Hc,listenForVerificationId:()=>{var e;he.info("Listening for verificationId"),Zr(e=Yc),window[$c](qc,(t=>{e(t)}),!1)}};function Qc(){return Qc=hr((function*(e,t=undefined,r=!1,n={}){const a=Jc(t);try{let t;Yr(e);const i=window.location.search;let o;if(r||(o=Sn().verificationId||_r(i)),o&&(he.info("fetchNewVerificationRequest: Calling for existing verification request"),t=Uc(o)),!o||t.currentStep===ve.error){const r=$n(),i={programId:e};a&&(he.info(`Adding trackingId ${a}`),i.trackingId=a);const o=Xn();o&&(he.info(`Adding installPageUrl ${o}`),i.installPageUrl=o),t=yield Pn(r,i,n)}const s=Sc(t),l=yield xc(s,t);return l||t}catch(e){throw he.error(e,"fetchNewVerificationRequest"),e}})),Qc.apply(this,arguments)}function ed(){return ed=hr((function*(e,t){if(!Sn().doFetchTheme)return Di();he.info("fetchProgramTheme: Calling back-end for program theme");try{Yr(e),t&&qr(t);const r=t||xa();return yield Fn(qn(e,r))}catch(e){throw he.error(e,"fetchProgramTheme"),e}})),ed.apply(this,arguments)}function td(){return td=hr((function*(e){he.info("Resending new sms code");try{const t=Gn(e);return yield Ln(t)}catch(e){he.error(e,"getResendNewSmsCode")}})),td.apply(this,arguments)}function rd(){return rd=hr((function*(e){he.info("Resending new email code");try{const t=Yn(e);return yield Ln(t)}catch(e){he.error(e,"getResendNewEmailCode")}})),rd.apply(this,arguments)}const nd={collectStudentPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectSeniorPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,postalCode:e.postalCode,phoneNumber:e.phoneNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectAgePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,postalCode:""!==e.postalCode?e.postalCode:void 0,phoneNumber:""!==e.phoneNumber?e.phoneNumber:void 0,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,city:""!==e.city?e.city:void 0,address1:""!==e.address1?e.address1:void 0,metadata:e.metadata}),collectMilitaryStatus:e=>({status:e.status}),collectActiveMilitaryPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,activeDutyStartDate:e.activeDutyStartDate||void 0,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata}),collectInactiveMilitaryPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,activeDutyStartDate:e.activeDutyStartDate||void 0,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,dischargeDate:e.dischargeDate,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata}),collectFirstResponderPersonalInfo:e=>{const t={firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,status:e.status,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata},r=e.statuses&&X()(e.statuses)&&e.statuses.length>0;return r&&(t.statuses=e.statuses,delete t.status),e.status||r||he.error("Either status or statuses must be provided on First Responder view model"),t},collectMedicalProfessionalPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,status:e.status,email:e.email,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,country:e.countryChoice?e.countryChoice.value:void 0,memberId:e.memberId}),collectMemberPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,memberId:e.memberId,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,country:e.countryChoice?e.countryChoice.value:void 0}),collectEmployeePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,country:e.countryChoice?e.countryChoice.value:void 0}),collectTeacherPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,postalCode:e.postalCode,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectSocialSecurityNumber:e=>{if("string"!=typeof e.socialSecurityNumber||e.socialSecurityNumber.length<1)throw new Error("Poorly formed social security number, unable to submit");return{socialSecurityNumber:Lc()(e.socialSecurityNumber,10)}},collectDriverLicensePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,state:e.state,driverLicenseNumber:e.driverLicenseNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectGeneralIdentityPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectHybridIdentityPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,driverLicenseNumber:e.driverLicenseNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectLicensedProfessionalPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,postalCode:e.postalCode,statuses:e.statuses,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectMoverPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,statuses:e.statuses,address1:e.address1,postalCode:e.postalCode,phoneNumber:e.phoneNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectLowIncomePersonalInfo:e=>{var t,r;return{firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,postalCode:e.postalCode,statuses:e.statuses,organization:zi()(t=e.statuses).call(t,"OTHER_GOVERNMENT_ASSISTANCE")?e.organization:void 0,deviceFingerprintHash:e.deviceFingerprintHash,ebtCardNumber:zi()(r=e.statuses).call(r,"SNAP_BENEFITS")?e.ebtCardNumber:void 0,locale:e.localeChoice.value,metadata:e.metadata}},smsLoop:e=>({smsCode:e.smsCode,deviceFingerprintHash:e.deviceFingerprintHash}),emailLoop:e=>({emailToken:e.emailToken,deviceFingerprintHash:e.deviceFingerprintHash}),override:e=>({overrideCode:e.overrideCode,deviceFingerprintHash:e.deviceFingerprintHash}),cancelSocialSecurityNumber:null,sso:null,docUpload:null};function ad(){return ad=hr((function*(e,t,r){let n;const{docUpload:a,cancelSocialSecurityNumber:i,sso:o,cancelEmailLoop:s,cancelDocUpload:l}=ve;try{if(e===a){const e=r,{file1:a,file2:i,file3:o}=e;return n=yield Bn(t.submissionUrl,[a,i,o]),n}if(e===i||e===o)return n=yield Rn(t.cancelUrl),n;if(e===s)return n=yield Rn(t.cancelUrl),n;if(e===l)return n=yield Rn(t.submissionUrl),n;const u=nd[e](r);return n=yield Pn(t.submissionUrl,u),n}catch(e){return he.error(e,"submitFromVerificationStep"),function(){const e={verificationId:"",currentStep:"error",segment:null,subSegment:null,redirectUrl:null,locale:"en-US",errorIds:["unknownError"]};return e}()}})),ad.apply(this,arguments)}function id(){return id=hr((function*(e,t,r){return zr(e),ve[e]?function(e,t,r){return ad.apply(this,arguments)}(e,t,r):vr().reject(new Error(`Unknown step ${e}`))})),id.apply(this,arguments)}function od(e,t,r){return sd.apply(this,arguments)}function sd(){return(sd=hr((function*(e,t,r){if(ve[t]){const n=nd[t](r),a=yield Pn(Kn(e,t),n);return"error"===a.currentStep&&vr().reject(new Error(`Failed to determine fields to collect: ${a}`)),a}return vr().reject(new Error(`Unknown step ${t}`))}))).apply(this,arguments)}const ld={fetchNewVerificationRequest:function(e){return Qc.apply(this,arguments)},fetchExistingVerificationRequest:Uc,fetchProgramTheme:function(e,t){return ed.apply(this,arguments)},getResendNewSmsCode:function(e){return td.apply(this,arguments)},getResendNewEmailCode:function(e){return rd.apply(this,arguments)},submitStep:function(e,t,r){return id.apply(this,arguments)}},ud=["children"],cd=e=>{let{children:t}=e,r=Li(e,ud);return q.createElement("a",ki({target:"_blank",rel:"noopener noreferrer"},r),t)};var dd=o(3104),fd=o.n(dd);function md(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}let pd={};const hd=e=>((e=>{Kr(e.name),Zr(e.callback)})(e),X()(pd[e.name])||(pd[e.name]=[]),pd[e.name].push(e),pd),gd=e=>(Kr(e),t=>{if(!(pd[e]&&X()(pd[e])&&pd[e].length>0))return()=>{};var r;d()(r=pd[e]).call(r,(e=>{e.callback&&"function"==typeof e.callback?e.callback("string"==typeof t?t:function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=md(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=md(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},t)):he.warn("Expected typeof function for hook callback")}))}),vd=e=>{zr(e);const t=Ii()[e];if(!t)throw he.log(`Can't find "empty" for ${e}`),new Error("Check for missing empties");return t};function yd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function bd(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=yd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=yd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ed=e=>!!(e.instantMatchAttempts&&e.instantMatchAttempts>0),wd=({previousViewModel:e,currentStep:t,locale:r,fingerprint:n,country:a})=>{const i=vd(t);if(e)for(const t in i)e.hasOwnProperty(t)&&(i[t]=e[t]);return i&&(n&&(i.deviceFingerprintHash=n),r&&(i.localeChoice={value:r||"en-US",label:""}),a&&"country"in i&&void 0===i.country&&(i.country=a),a&&"countryChoice"in i&&void 0===i.countryChoice&&(i.countryChoice={value:a,label:""})),i},Sd=function(){var e=hr((function*(e){o.e(772).then(o.bind(o,5372)).then((({ThreatMetrix:t})=>{if(void 0!==t&&t.hasOwnProperty("profile")&&"function"==typeof t.profile){const r="cnl2my47",n="content.sheerid.com";t.profile(n,r,e)}})).catch((()=>{}))}));return function(t){return e.apply(this,arguments)}}();var Md=o(2983),Cd=o.n(Md);let Id;const Nd=function(){var e=hr((function*(){return Sn().useFingerprinting?Id?vr().resolve(Id):Cd().getPromise({}).then((e=>{const t=Mr()(e).call(e,(e=>e.value)),r=Cd().x64hash128(t.join(""),31);return Id=r,Id})):vr().resolve(void 0)}));return function(){return e.apply(this,arguments)}}(),Dd={};let Td=$()({},Dd);const Ad=e=>{e&&e.hasOwnProperty("optin")&&Cn({marketConsent:{enabled:"false"!==e.optin,required:!1,message:""}});const r=(e=>!(t()(e).length>50&&(he.error("Invalid number of metadata keys (max 50)","metadata keys"),1)))(e);if(r){const t=(e=>{const t={};for(const r in e){let n=r,a=e[r];a.length>256&&(he.warn(`Truncating metadata value '${e[r]}' for key '${n}' (max length 256 characters).`),a=a.substring(0,256)),n.length>256&&(he.warn(`Truncating metadata key '${r}' (max length 256 characters).`),n=n.substring(0,256)),t[n]=a}return t})(e);$()(Td,t),he.info("Added metadata: ",t),he.info("Full metadata: ",Td)}else he.error("Metadata has not been updated. See previous error(s)")},xd=()=>t()(Td).length>0?ie(Td):void 0,_d="Verification";let Od;!function(e){e.TRUE="true",e.FALSE="false"}(Od||(Od={}));const kd=["sheerid.com","wizeline.com"],Pd={verificationId:"dimension1",programId:"dimension2",jslibVersionActual:"dimension3",isTest:"dimension4"},Rd=(e,t="")=>{window.ga("send","event",_d,e,t)},Fd=(e,t)=>{try{window.ga("set",Pd[e],t)}catch(t){he.warn(`Failed to set ${e}`,t)}};function Ld(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ud(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Ld(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Ld(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Bd=e=>function(){var t=hr((function*(t,r,n,a,i){const o={jslibVersion:window.sheerIdPubV||"",installType:ea(),installUrl:Xn()||"",projectSha:window.sheerIdProjectSha||""};yield e({type:"IS_LOADING",isLoading:!0});try{const s=ld.fetchNewVerificationRequest(t,a,i,o);return jd({dispatch:e,verificationResponsePromise:s,programId:t,segment:r,previousViewModel:n})}catch(e){he.error(e,"fetchNewVerificationRequest")}}));return function(e,r,n,a,i){return t.apply(this,arguments)}}(),Vd=e=>function(){var t=hr((function*(t,r,n,a,i=!0){i&&(yield e({type:"IS_LOADING",isLoading:!0}));try{const i=ld.fetchExistingVerificationRequest(r);return jd({dispatch:e,verificationResponsePromise:i,programId:t,previousViewModel:a,previousVerificationResponse:n})}catch(e){he.error(e,"fetchExistingVerificationRequest")}}));return function(e,r,n,a){return t.apply(this,arguments)}}(),jd=function(){var e=hr((function*({dispatch:e,verificationResponsePromise:t,programId:r,segment:n,previousViewModel:a,previousVerificationResponse:i}){try{const o=Nd(),s=ld.fetchProgramTheme(r);let l,u;yield vr().all([t,s]).then((e=>{[l,u]=e})).catch((e=>{var t;t=e.message,l={verificationId:null,currentStep:"error",errorIds:[t],segment:null,subSegment:null,locale:"en-US"},u=Di()})),he.info("verificationResponse received: ",l);const c=xa(a,l),f=La(u),m=Aa(c,f,l.segment),p=l.segment;let h=null;if(p===Ce.MILITARY){const e=aa(u.config.orgSearchUrl,"");h=yield e,he.info("orgList received: ",h)}let g=(e=>{if(e)return Vs(e,(e=>{for(let t=1;t<=3;t+=1)e[`file${t}`]=void 0}))})(a);const v=i?i.segment:n;((e,t)=>!!t&&!(!e||e===t))(v,p)&&(he.info("segment changed: ",v,p),yield Yd(e)(l),g=void 0);const y=yield o,{currentStep:b}=l,E=Ha(u),w=((e,t)=>e&&e.hasOwnProperty("country")&&e.country?e.country:t[0])(l,E);let S=wd({currentStep:b,fingerprint:y,locale:c,country:w,previousViewModel:g});S=((e,t)=>{if(e&&e.hasOwnProperty("organization")&&t.config.orgRemoteSource){const r=ie(e),{organization:n}=r;return n.source=t.config.orgRemoteSource,r}return e})(S,u),((e,t)=>!e||e.currentStep!==t.currentStep)(i,l)&&(gd("ON_VERIFICATION_STEP_CHANGE")(l),i&&"sso"===i.currentStep&&"sso"!==l.currentStep&&"pending"!==l.currentStep&&Ks()),u.threatMetrixEnabled&&Sd(l.verificationId),Zc(l.verificationId),S&&S.hasOwnProperty("metadata")&&(S.metadata=Ud(Ud({},S.metadata),(e=>{const t=Ar(),r={};return d()(e).call(e,(e=>{t.get(e)&&(r[e]=t.get(e))})),r})(fd()(Ra(u)))));const M=yield m;return vr().all([e({verificationResponse:l,type:"VERIFICATION_RESPONSE"}),e({viewModel:S,type:"VIEW_MODEL"}),e({programTheme:u,type:"PROGRAM_THEME"}),e({messages:M,type:"SET_MESSAGES"}),e({type:"IS_LOADING",isLoading:!1}),e({orgList:h,type:"PRE_LOAD_ORGS"}),e({type:"FORM_VALIDATION_OPTIONS"}),e({type:"REQUIRED_METADATA_CHECK"})]).then((()=>{gd("ON_VERIFICATION_READY")(l),(e=>{try{delete pd[e]}catch(t){he.warn("Unable to remove hook",e)}})("ON_VERIFICATION_READY")}))}catch(e){throw he.error(e,"createFetchVerificationRequest"),e}}));return function(t){return e.apply(this,arguments)}}(),zd=e=>function(){var t=hr((function*(t,r=!1){return vr().all([e({viewModel:t,type:"VIEW_MODEL",partial:r}),e({type:"FORM_VALIDATION_OPTIONS"})])}));return function(e){return t.apply(this,arguments)}}(),Hd=(e,t)=>function(){var r=hr((function*(r,n,a){e({type:"IS_LOADING",isLoading:!0});const i=xa(r),o=yield ld.fetchProgramTheme(t,i),s=La(o);return gd("ON_FORM_LOCALE_CHANGE")(i),Aa(i,s,a).then((t=>vr().all([e({messages:t,type:"SET_MESSAGES"}),e({viewModel:r,type:"VIEW_MODEL"}),e({type:"IS_LOADING",isLoading:!1})])))}));return function(e,t,n){return r.apply(this,arguments)}}(),$d=e=>function(){var t=hr((function*(t){return e({programTheme:t,type:"PROGRAM_THEME"})}));return function(e){return t.apply(this,arguments)}}(),qd=e=>hr((function*(){return e({type:"RESET_STATE"})})),Wd=e=>function(){var t=hr((function*(t){return e({fieldValidationErrors:t,type:"FIELD_VALIDATION_ERRORS"})}));return function(e){return t.apply(this,arguments)}}(),Gd=e=>function(){var t=hr((function*(t,r,n){he.log(`submitStep(): submitting stepName ${t}, viewModel:`,r),window.scrollTo(0,0),he.info("Scrolling window to coordinates: 0, 0"),yield e({type:"IS_LOADING",isLoading:!0,loadingStep:t}),he.info(`submitting step ${t}`,r),(e=>{try{const{email:t}=e;t&&i()(kd).call(kd,(e=>kr()(t).call(t,e)>-1)).length>0&&Fd("isTest",Od.TRUE)}catch(e){he.warn("Error setting isTest dimension",e)}})(r);const a=yield ld.submitStep(t,n,r),o=((e,t)=>{const{currentStep:r}=e;let n;if(r===ve.success&&gd("ON_VERIFICATION_SUCCESS")(e),r===ve.collectActiveMilitaryPersonalInfo)n=bd(bd({},t),{},{dischargeDate:""}),delete n.dischargeDate;else if(r===ve.collectInactiveMilitaryPersonalInfo)n=t.dischargeDate?t:bd(bd({},t),{},{dischargeDate:""});else if(Ed(e))n=t;else{const{locale:r}=e;n=wd({locale:r,previousViewModel:t,currentStep:e.currentStep})}return n})(a,r),s=e({verificationResponse:a,type:"VERIFICATION_RESPONSE"}),l=e({viewModel:o,type:"VIEW_MODEL"}),u=e({type:"IS_LOADING",isLoading:!1});return gd("ON_VERIFICATION_STEP_CHANGE")(a),vr().all([s,l,u])}));return function(e,r,n){return t.apply(this,arguments)}}(),Yd=e=>t=>vr().all([e({type:"VIEW_MODEL",viewModel:vd(t.currentStep)}),e({type:"PREVIOUS_VIEW_MODEL",previousViewModel:void 0}),e({type:"FIELD_VALIDATION_ERRORS",fieldValidationErrors:Ni()})]);function Kd(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Zd="function"==typeof Symbol&&Symbol.observable||"@@observable",Jd=function(){return Math.random().toString(36).substring(7).split("").join(".")},Xd={INIT:"@@redux/INIT"+Jd(),REPLACE:"@@redux/REPLACE"+Jd(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Jd()}};function Qd(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ef(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Kd(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Kd(1));return r(ef)(e,t)}if("function"!=typeof e)throw new Error(Kd(2));var a=e,i=t,o=[],s=o,l=!1;function u(){s===o&&(s=o.slice())}function c(){if(l)throw new Error(Kd(3));return i}function d(e){if("function"!=typeof e)throw new Error(Kd(4));if(l)throw new Error(Kd(5));var t=!0;return u(),s.push(e),function(){if(t){if(l)throw new Error(Kd(6));t=!1,u();var r=s.indexOf(e);s.splice(r,1),o=null}}}function f(e){if(!Qd(e))throw new Error(Kd(7));if(void 0===e.type)throw new Error(Kd(8));if(l)throw new Error(Kd(9));try{l=!0,i=a(i,e)}finally{l=!1}for(var t=o=s,r=0;r<t.length;r++){(0,t[r])()}return e}return f({type:Xd.INIT}),(n={dispatch:f,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Kd(10));a=e,f({type:Xd.REPLACE})}})[Zd]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(Kd(11));function r(){e.next&&e.next(c())}return r(),{unsubscribe:t(r)}}})[Zd]=function(){return this},e},n}function tf(e,t){return function(){return t(e.apply(this,arguments))}}var rf=o(2022),nf=o.n(rf);function af(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function of(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=af(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=af(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const sf=ma()({programId:void 0,programTheme:void 0,isLoading:!0,isErrored:!1,viewModel:void 0,previousViewModel:void 0,previousVerificationResponse:void 0,verificationResponse:void 0,fieldValidationErrors:Ni(),messages:void 0,orgList:void 0,formValidationOptions:{}}),lf=()=>ie(sf),uf=(e=lf(),t)=>{var r;switch(t.type){case"PROGRAM_ID":return Fd("programId",t.programId),of(of({},e),{},{programId:t.programId});case"VERIFICATION_RESPONSE":let n;return n=(!e.verificationResponse||e.verificationResponse.currentStep!==ve.collectMilitaryStatus&&e.verificationResponse.currentStep!==ve.sso&&e.verificationResponse.currentStep!==ve.docUpload)&&e.previousVerificationResponse?e.previousVerificationResponse:e.verificationResponse,(e=>{try{var t;const r=e.errorIds&&X()(e.errorIds)?ha()(t=e.errorIds).call(t).join(","):void 0;Rd(e.currentStep,r)}catch(e){he.warn("Failed recordVerificationResponse event",e)}})(t.verificationResponse),of(of({},e),{},{previousVerificationResponse:n,previousViewModel:e.viewModel,verificationResponse:t.verificationResponse});case"SET_MESSAGES":return of(of({},e),{},{messages:t.messages});case"FIELD_VALIDATION_ERRORS":return of(of({},e),{},{fieldValidationErrors:t.fieldValidationErrors});case"VIEW_MODEL":const a=of({},e);if(t.viewModel&&(t.partial?a.viewModel=se({},e.viewModel,t.viewModel):a.viewModel=of({},t.viewModel)),t.viewModel&&t.viewModel.metadata){Ad(t.viewModel.metadata);const e=xd();a.viewModel.metadata=e}return((e,t)=>{try{t.verificationResponse.currentStep===ve.docUpload&&void 0===e.viewModel.file1&&void 0!==t.viewModel.file1&&Rd(ve.docUpload,"addFiles")}catch(e){he.warn("Failed addFiles event",e)}})(e,a),a;case"PRE_LOAD_ORGS":return of(of({},e),{},{orgList:t.orgList});case"PREVIOUS_VIEW_MODEL":return of(of({},e),{},{previousViewModel:t.previousViewModel});case"PROGRAM_THEME":return Fd("isTest",t.programTheme.isTestMode?Od.TRUE:Od.FALSE),of(of({},e),{},{programTheme:t.programTheme});case"FORM_VALIDATION_OPTIONS":return of(of({},e),{},{formValidationOptions:{maxAge:e.verificationResponse.maxAge||e.programTheme.config.maxAge,minAge:e.verificationResponse.minAge||e.programTheme.config.minAge,smsLoopEnabled:e.programTheme.smsLoopEnabled,strictMilitaryValidationEnabled:e.programTheme.strictMilitaryValidationEnabled,currentStep:e.verificationResponse.currentStep,viewModel:e.viewModel}});case"REQUIRED_METADATA_CHECK":if(!zi()(be).call(be,e.verificationResponse.currentStep))return e;const i=Ra(e.programTheme),o=xd();return of(of({},e),{},{overrideStep:i.enabled&&!nf()(r=i.requiredKeys||[]).call(r,(e=>o.hasOwnProperty(e)))?"missingRequiredMetadata":void 0});case"IS_LOADING":return of(of({},e),{},{isLoading:t.isLoading,loadingStep:t.isLoading?t.loadingStep:void 0});case"IS_ERRORED":return of(of({},e),{},{isErrored:t.isErrored});case"RESET_STATE":return of(of({},ie(lf())),{},{programId:e.programId});case"FORCE_UPDATE":return ie(e);default:return e}};let cf;const df=()=>(cf||(cf=ef(uf,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__()),he.init(cf)),cf),ff=df(),mf=(e,t={partial:!0})=>{const r=ff.getState(),n=()=>{const r=ie(e);he.info("Setting viewModel",r),zd(ff.dispatch)(r,t.partial)},a=oe((()=>e.localeChoice.value));a&&Cn({locale:a}),r.isLoading?hd({name:"ON_VERIFICATION_READY",callback:()=>{n()}}):n()};var pf=o(6937),hf=o.n(pf);function gf(e,t){return gf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gf(e,t)}function vf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gf(e,t)}var yf=q.createContext(null);var bf=function(e){function t(t){var r;r=e.call(this,t)||this;var n=t.store;return r.state={storeState:n.getState(),store:n},r}vf(t,e);var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this.subscribe()},r.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},r.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},r.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var r=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===r?null:{storeState:r}}))}));var r=t.getState();r!==this.state.storeState&&this.setState({storeState:r})},r.render=function(){var e=this.props.context||yf;return q.createElement(e.Provider,{value:this.state},this.props.children)},t}(q.Component);bf.propTypes={store:He().shape({subscribe:He().func.isRequired,dispatch:He().func.isRequired,getState:He().func.isRequired}),context:He().object,children:He().any};const Ef=bf;function wf(){return wf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wf.apply(this,arguments)}function Sf(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}var Mf=o(5996);function Cf(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,a=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,i=r.methodName,o=void 0===i?"connectAdvanced":i,s=r.renderCountProp,l=void 0===s?void 0:s,u=r.shouldHandleStateChanges,c=void 0===u||u,d=r.storeKey,f=void 0===d?"store":d,m=r.withRef,p=void 0!==m&&m,h=r.forwardRef,g=void 0!==h&&h,v=r.context,y=void 0===v?yf:v,b=Sf(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);Ge()(void 0===l,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),Ge()(!p,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var E="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";Ge()("store"===f,"storeKey has been removed and does not do anything. "+E);var w=y;return function(t){var r=t.displayName||t.name||"Component",n=a(r),i=wf({},b,{getDisplayName:a,methodName:o,renderCountProp:l,shouldHandleStateChanges:c,storeKey:f,displayName:n,wrappedComponentName:r,WrappedComponent:t}),s=b.pure,u=q.Component;s&&(u=q.PureComponent);var d=function(r){function a(t){var n,a,i,o,l,u,c,d,m,p,h;return n=r.call(this,t)||this,Ge()(g?!t.wrapperProps[f]:!t[f],"Passing redux store in props has been removed and does not do anything. "+E),n.selectDerivedProps=function(t,r,n,d){if(s&&a===r&&i===t)return o;n===l&&u===d||(l=n,u=d,c=e(n.dispatch,d)),a=r,i=t;var f=c(t,r);return o=f},n.selectChildElement=function(e,t,r){return t===d&&r===m&&h===e||(d=t,m=r,h=e,p=q.createElement(e,wf({},t,{ref:r}))),p},n.indirectRenderWrappedComponent=n.indirectRenderWrappedComponent.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}vf(a,r);var o=a.prototype;return o.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},o.renderWrappedComponent=function(e){Ge()(e,'Could not find "store" in the context of "'+n+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+n+" in connect options.");var r,a=e.storeState,o=e.store,s=this.props;g&&(s=this.props.wrapperProps,r=this.props.forwardedRef);var l=this.selectDerivedProps(a,s,o,i);return this.selectChildElement(t,l,r)},o.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,Mf.isContextConsumer)(q.createElement(this.props.context.Consumer,null))?this.props.context:w;return q.createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},a}(u);if(d.WrappedComponent=t,d.displayName=n,g){var m=q.forwardRef((function(e,t){return q.createElement(d,{wrapperProps:e,forwardedRef:t})}));return m.displayName=n,m.WrappedComponent=t,qe()(m,t)}return qe()(d,t)}}var If=Object.prototype.hasOwnProperty;function Nf(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Df(e,t){if(Nf(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var a=0;a<r.length;a++)if(!If.call(t,r[a])||!Nf(e[r[a]],t[r[a]]))return!1;return!0}function Tf(e){return function(t,r){var n=e(t,r);function a(){return n}return a.dependsOnOwnProps=!1,a}}function Af(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function xf(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=Af(e);var a=n(t,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=Af(a),a=n(t,r)),a},n}}const _f=[function(e){return"function"==typeof e?xf(e):void 0},function(e){return e?void 0:Tf((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Tf((function(t){return function(e,t){if("function"==typeof e)return tf(e,t);if("object"!=typeof e||null===e)throw new Error(Kd(16));var r={};for(var n in e){var a=e[n];"function"==typeof a&&(r[n]=tf(a,t))}return r}(e,t)})):void 0}];const Of=[function(e){return"function"==typeof e?xf(e):void 0},function(e){return e?void 0:Tf((function(){return{}}))}];function kf(e,t,r){return wf({},r,e,t)}const Pf=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,a=r.pure,i=r.areMergedPropsEqual,o=!1;return function(t,r,s){var l=e(t,r,s);return o?a&&i(l,n)||(n=l):(o=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return kf}}];function Rf(e,t,r,n){return function(a,i){return r(e(a,i),t(n,i),i)}}function Ff(e,t,r,n,a){var i,o,s,l,u,c=a.areStatesEqual,d=a.areOwnPropsEqual,f=a.areStatePropsEqual,m=!1;function p(a,m){var p,h,g=!d(m,o),v=!c(a,i);return i=a,o=m,g&&v?(s=e(i,o),t.dependsOnOwnProps&&(l=t(n,o)),u=r(s,l,o)):g?(e.dependsOnOwnProps&&(s=e(i,o)),t.dependsOnOwnProps&&(l=t(n,o)),u=r(s,l,o)):v?(p=e(i,o),h=!f(p,s),s=p,h&&(u=r(s,l,o)),u):u}return function(a,c){return m?p(a,c):(s=e(i=a,o=c),l=t(n,o),u=r(s,l,o),m=!0,u)}}function Lf(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,a=t.initMergeProps,i=Sf(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),o=r(e,i),s=n(e,i),l=a(e,i);return(i.pure?Ff:Rf)(o,s,l,e,i)}function Uf(e,t,r){for(var n=t.length-1;n>=0;n--){var a=t[n](e);if(a)return a}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function Bf(e,t){return e===t}const Vf=(Hf=(zf=void 0===jf?{}:jf).connectHOC,$f=void 0===Hf?Cf:Hf,qf=zf.mapStateToPropsFactories,Wf=void 0===qf?Of:qf,Gf=zf.mapDispatchToPropsFactories,Yf=void 0===Gf?_f:Gf,Kf=zf.mergePropsFactories,Zf=void 0===Kf?Pf:Kf,Jf=zf.selectorFactory,Xf=void 0===Jf?Lf:Jf,function(e,t,r,n){void 0===n&&(n={});var a=n,i=a.pure,o=void 0===i||i,s=a.areStatesEqual,l=void 0===s?Bf:s,u=a.areOwnPropsEqual,c=void 0===u?Df:u,d=a.areStatePropsEqual,f=void 0===d?Df:d,m=a.areMergedPropsEqual,p=void 0===m?Df:m,h=Sf(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=Uf(e,Wf,"mapStateToProps"),v=Uf(t,Yf,"mapDispatchToProps"),y=Uf(r,Zf,"mergeProps");return $f(Xf,wf({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:v,initMergeProps:y,pure:o,areStatesEqual:l,areOwnPropsEqual:c,areStatePropsEqual:f,areMergedPropsEqual:p},h))});var jf,zf,Hf,$f,qf,Wf,Gf,Yf,Kf,Zf,Jf,Xf,Qf=o(7373),em=o.n(Qf);const tm=({id:e="new",isErrored:t,onChange:r,value:n,ariaLabelledby:a})=>{const i=a?{"aria-labelledby":a}:{},o=(0,q.useRef)(null),s=()=>{o.current&&r(o.current.checked)};return(0,q.useEffect)((()=>{qs("optIn",o.current)})),q.createElement("div",{className:"sid-checkbox"},q.createElement("input",{className:"sid-checkbox__input",id:`sid-opt-in__${e}`,name:"sid-opt-in",type:"checkbox",checked:n,ref:o,onChange:e=>r(e.target.checked),"aria-hidden":!0}),q.createElement("span",ki({},i,{className:"sid-checkbox__input-like "+(t?"sid-checkbox__input-like--error":""),onClick:s,onKeyUp:s,role:"checkbox","aria-checked":n,tabIndex:0,"data-testid":"stylable-checkbox-input"})))},rm=({isErrored:e,isRequired:t,onChange:r,value:n,verificationService:a})=>{const i="marketConsentValue",o=q.useCallback((e=>{if(t&&!e)return"marketConsentRequired"}),[t]),s=(a&&a.programTheme&&Fa(a.programTheme)||{}).message||"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more";return q.useEffect((()=>{Ur(i,o)}),[i,o]),q.useEffect((()=>{Ur(i,o)}),[i,o]),q.createElement("div",{className:"sid-field sid-opt-in"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-l-position"},q.createElement("label",{htmlFor:"sid-opt-in__optIn"},q.createElement(tm,{id:"optIn",isErrored:e,onChange:r,value:n}),q.createElement("div",{className:"sid-field__label sid-checkbox__label"},a?q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:"optIn",values:{company:e},defaultMessage:s}))):q.createElement(ir,{id:"optIn",defaultMessage:s})),e?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOptIn",defaultMessage:"Must be selected to continue"})):null)))},nm=({verificationService:e,isErrored:t,onChange:r,viewModel:n})=>{const{programTheme:a}=e,i=Fa(a);return i.enabled?q.createElement(rm,{isErrored:t,isRequired:i.required,verificationService:e,value:n.metadata&&n.metadata.marketConsentValue||!1,onChange:e=>r(e)}):null},am=({verificationService:e,fallbackLogo:t})=>{const r=Ba(e.programTheme);return r?q.createElement("div",{className:"sid-logo sid-l-space-top-md"},q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement("img",{className:"sid-logo__img",alt:`${e} logo`,src:r})))):t||null};var im=o(8714),om=o.n(im);const sm=Rt((({value:e,isErrored:t,onChange:r,explanation:n,onCarrierConsentChange:a,intl:i,isRequired:o=!1,onKeyDown:s,placeholder:l="",displaySmsConsent:u=!0,requireCarrierConsent:c=!1,carrierConsent:d=!1,internationalSupport:f=!1,selectedCountryCode:m="us"})=>{const p=(0,q.useRef)(null);return(0,q.useEffect)((()=>{qs("phoneNumber",p.current)})),q.createElement("div",{className:"sid-field sid-phone-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"phoneNumber",defaultMessage:"Mobile Number"}),htmlForLabel:"sid-phone-number",id:"sid-phone-number-label",displayClasses:`sid-field__label-with-explanation${l&&"sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(ir,{id:"phoneNumberExplanation",defaultMessage:"Optional - get text notifications of status updates"}))),q.createElement(q.Fragment,null,q.createElement(om(),{country:m.toLowerCase(),containerClass:"react-tel-input sid-phone-number__wrapper",inputClass:`sid-text-input sid-phone-number__field sid-phone-number__field--intl ${o?"sid-text-input--required":""} sid-l-full-width ${t?"sid-text-input--error":""}`,autoFormat:!1,value:e,onChange:e=>r(e),placeholder:l,ref:p,inputProps:{id:"sid-phone-number",name:"sid-phone-number",onKeyDown:e=>s?s(e):void 0},"aria-labelledby":"sid-phone-number-label",countryCodeEditable:!1})),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidPhoneNumber",defaultMessage:"Invalid mobile number"})):null,u&&q.createElement("div",{className:"sid-h-small-text sid-l-space-top-md sid-sms-consent"},q.createElement(ir,{id:"phoneNumberWarnMessage1",defaultMessage:"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply."})),c&&q.createElement("div",{className:"sid-l-position sid-carrier-disclosure-consent"},q.createElement("div",{className:"sid-h-small-text sid-l-space-top-md"},q.createElement("label",{htmlFor:"sid-opt-in__carrier-consent"},q.createElement(tm,{id:"carrier-consent",isErrored:t,value:d,onChange:e=>a(e)}),q.createElement("div",{className:"sid-field__label sid-checkbox__label"},q.createElement(ir,{id:"phoneNumberWarnMessage2",defaultMessage:"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud."}))))))}));var lm=o(6777);const um=({getItemProps:e,highlightedIndex:t,organizations:r,itemToString:n,children:a,maxItemsToDisplay:o=26})=>{var s;const l=q.Children.count(a),u=42*(r.length+l);return q.createElement("div",{className:"sid-organization-list__menu",tabIndex:-1},q.createElement("div",{style:{height:Math.min(u,280)}},Mr()(s=i()(r).call(r,((e,t)=>t<=o-1))).call(s,((r,a)=>((r,a)=>q.createElement("div",ki({className:"sid-organization-list__item "+(t===a?"sid-organization-list__item--highlighted":""),key:a},e({index:a,item:r})),n(r)))(r,a))),a))};function cm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function dm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=cm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=cm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const fm=({urlAddSchoolForm:e,programId:t,locale:r=en})=>q.createElement(cd,{className:"sid-organization-list__item sid-organization-list__request-school sid-link",href:`${e}?pid=${t}&locale=${r}`},q.createElement(ir,{id:"requestSchool",defaultMessage:"Don't see your school? Request to have it added"}));class mm extends q.Component{constructor(e){var t;super(e),t=this,b(this,"mounted",!1),b(this,"fetch",hr((function*(){const{orgSearchUrl:e,searchValue:r,countryCode:n,orgSearchTags:a}=t.props;t.mounted&&(yield aa(e,r,n,a).then((e=>{if(e){const{onLoaded:r}=t.props;r(e),t.setState({organizations:e,loading:!1})}})))}))),b(this,"debouncedFetch",(0,lm.debounce)(this.fetch,200)),this.state={isErrored:null,loading:!1,organizations:null}}reset(e){this.setState(dm(dm({},mm.initialState),e))}componentDidMount(){const{minimumSearchValueLength:e,searchValue:t}=this.props;this.mounted=!0,t.length>=e?(this.reset({loading:!0}),this.debouncedFetch()):he.info(`No organizations fetched. Search term "${t}" is less than ${e} characters.`)}componentDidUpdate(e){const{minimumSearchValueLength:t,searchValue:r}=this.props;e.searchValue!==r&&(r.length>=t?(this.reset({loading:!0}),this.debouncedFetch()):(this.reset({organizations:null,loading:!1}),he.info(`No organizations fetched. Search term "${r}" is less than ${t} characters.`)))}componentWillUnmount(){this.mounted=!1}render(){const{isErrored:e,loading:t,organizations:r}=this.state,{getItemProps:n,getMenuProps:a,highlightedIndex:i,itemToString:o,searchValue:s,programId:l,locale:u,urlAddSchoolForm:c,openOrgSearchEnabled:d}=this.props;return t?q.createElement("div",{className:"sid-organization-list__menu"},q.createElement("div",{className:"sid-organization-list__message"},q.createElement(ir,{id:"loading",defaultMessage:"Loading..."}))):e?q.createElement("div",{className:"sid-organization-list__menu"},q.createElement("div",{className:"sid-organization-list__message"},q.createElement(ir,{id:"errorId.unknownError",defaultMessage:"An unknown error occurred"}))):r&&r.length>0?q.createElement(um,{getItemProps:n,getMenuProps:a,highlightedIndex:i,itemToString:o,organizations:r},s&&!d&&c&&(!r||r.length<26)&&q.createElement(fm,{urlAddSchoolForm:c,programId:l,locale:u})):!s||d||!c||r&&0!==r.length?null:q.createElement("div",{className:"sid-organization-list__menu"},q.createElement(fm,{urlAddSchoolForm:c,programId:l,locale:u}))}}b(mm,"initialState",{isErrored:null,loading:!1,organizations:null});const pm=mm,hm=({onChange:e,programId:t,className:r,countryCode:n,disabled:a,minimumSearchValueLength:i,placeholder:o,value:s,inputHtmlId:l,openOrgSearchEnabled:u,orgSearchUrl:c,orgSearchTags:d,isRequired:f,locale:m,urlAddSchoolForm:p})=>{const[h,g]=(0,q.useState)(""),[v,y]=(0,q.useState)([]);Zr(e);const b=e=>e?e.name:"",{isOpen:E,highlightedIndex:w,getMenuProps:S,getItemProps:M,getInputProps:C,getComboboxProps:I}=Hu({itemToString:b,id:l,items:v,onStateChange:t=>((e,t,r)=>{const n=e.hasOwnProperty("inputValue")&&e.type===Hu.stateChangeTypes.InputChange;if(e.type===Hu.stateChangeTypes.FunctionSelectItem){const{selectedItem:r}=e;t(r)}else n?t({id:0,name:e.inputValue}):e.type===Hu.stateChangeTypes.InputBlur&&(r||t({id:void 0,name:""}))})(t,e,u),onInputValueChange:({inputValue:e})=>{g(e)},selectedItem:s,onSelectedItemChange:({selectedItem:t})=>{e(t)}}),N={"aria-labelledby":`${l}-label`},D=(0,q.useRef)(null);return(0,q.useEffect)((()=>{qs("organization",D.current)})),q.createElement(q.Fragment,null,q.createElement("div",ki({className:"sid-organization-list"},I(N)),q.createElement("input",ki({},C({ref:D}),{className:`sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,disabled:a,id:l,placeholder:o,"aria-required":f})),q.createElement("div",S(),E?q.createElement(pm,{countryCode:n,getItemProps:M,highlightedIndex:w,itemToString:b,minimumSearchValueLength:i,onLoaded:e=>y(e),programId:t,searchValue:h,orgSearchUrl:c,orgSearchTags:d,locale:m,urlAddSchoolForm:p,openOrgSearchEnabled:u}):null)))},gm=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i="",isRequired:o=!0})=>{var s;const{programId:l,viewModel:u,verificationResponse:c}=n,d=xa(u,c),f=z()(s=Sn().urlAddSchoolForm||"").call(s),m=oe((()=>n.viewModel.countryChoice.value)),p=Ya(n.programTheme,m);return q.createElement("div",{className:"sid-field sid-college-name-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"schoolName",defaultMessage:"University / College name"}),htmlForLabel:"sid-college-name",id:"sid-college-name-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(hm,{className:r?"sid-text-input--error":"",countryCode:m,minimumSearchValueLength:Sn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"schoolNamePlaceholder",defaultMessage:"University / College name"}),programId:l,value:t,inputHtmlId:"sid-college-name",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,orgSearchTags:p,locale:d,urlAddSchoolForm:f,isRequired:o}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),vm=e=>{if(e)return e<10?`0${e}`:e.toString()};const ym=Rt((({onChange:e,intl:t,isErrored:r,isRequired:n=!0,value:a="2000-01-01",errorMsg:i,label:o,fieldName:s,fieldId:l,mode:u="date",locale:c=en})=>{const d=`sid-${l}`,f=a.split("-"),m=Lc()(f[0],10)||void 0,p=Lc()(f[1],10)||void 0,h="month"===u?1:Lc()(f[2],10)||void 0,g=(new Date).getFullYear(),v=[{value:"1",label:t.formatHTMLMessage({id:"dateTime.january",defaultMessage:"January"})},{value:"2",label:t.formatHTMLMessage({id:"dateTime.february",defaultMessage:"February"})},{value:"3",label:t.formatHTMLMessage({id:"dateTime.march",defaultMessage:"March"})},{value:"4",label:t.formatHTMLMessage({id:"dateTime.april",defaultMessage:"April"})},{value:"5",label:t.formatHTMLMessage({id:"dateTime.may",defaultMessage:"May"})},{value:"6",label:t.formatHTMLMessage({id:"dateTime.june",defaultMessage:"June"})},{value:"7",label:t.formatHTMLMessage({id:"dateTime.july",defaultMessage:"July"})},{value:"8",label:t.formatHTMLMessage({id:"dateTime.august",defaultMessage:"August"})},{value:"9",label:t.formatHTMLMessage({id:"dateTime.september",defaultMessage:"September"})},{value:"10",label:t.formatHTMLMessage({id:"dateTime.october",defaultMessage:"October"})},{value:"11",label:t.formatHTMLMessage({id:"dateTime.november",defaultMessage:"November"})},{value:"12",label:t.formatHTMLMessage({id:"dateTime.december",defaultMessage:"December"})}],y=(e,t,r)=>!(r&&""!==r||t&&""!==t||e&&""!==e),b=t=>{if(y(m,t,h))return void e("");""!==t&&null!==t||e(`${m}--${h}`);const r=Lc()(t,10);"number"==typeof r&&r>=1&&r<=12?e(`${m}-${vm(t)}-${vm(h)}`):he.warn(`Value '${r}' is an invalid month`)},E=()=>{e(h||p||m?`${m}-${vm(p)}-${vm(h)}`:"")},w=`${d}__month`,S=`${d}-label`,M=q.createElement("div",{className:"sid-field-error"},i),C=q.createElement(Gu,{className:`${d}__month sid-date__month`,fieldId:s,inputId:w,fieldLabelId:S,isErrored:r,options:v,onChange:e=>{b(e?e.value:null)},placeholder:t.formatHTMLMessage({id:"dateTime.month",defaultMessage:"Month"}),suppressPlaceholder:!1,value:p?v[p-1]:void 0,isRequired:n,buttonRef:"inputSelectButtonBirthDate"}),I="date"===u&&q.createElement(ml,{className:`${d}__day sid-date__day sid-text-input sid-text-input--required ${r?"sid-text-input--error":""}`,id:`${l}-day`,isErrored:r,min:1,max:31,name:`${d}-day`,onChange:t=>(t=>{if(y(m,p,t))return void e("");""===t&&e(`${m}-${p}-`);const r=Lc()(t,10);"number"==typeof r&&r>=1&&r<=31?e(`${m}-${vm(p)}-${vm(r)}`):he.warn(`Value '${r}' is an invalid day`)})(t.target.value),onBlur:E,pattern:"\\d*",placeholder:t.formatHTMLMessage({id:"dateTime.day",defaultMessage:"Day"}),hidePlaceholder:!1,"aria-label":t.formatHTMLMessage({id:"dateTime.day",defaultMessage:"Day"}),"aria-labelledby":d,"aria-required":n,refId:`${s}Day`,type:"text",value:h||""});return q.createElement("div",{className:`sid-field ${d}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:o,htmlForLabel:w,id:S,displayClasses:"sid-field__label-with-explanation",isRequired:n},q.createElement(ir,{id:"verificationPurposesOnly",defaultMessage:"Used for verification purposes only"})),q.createElement("div",{className:`${d}__inputs sid-date__inputs`},function(e){const t=new Date(2222,0,3);try{var r;const n=new Intl.DateTimeFormat(e).format(t);return Z()(r=n.replace("0","")).call(r,3..toString())}catch(e){return!1}}(c)?q.createElement(q.Fragment,null,I,C):q.createElement(q.Fragment,null,C,I),q.createElement(ml,{className:`${d}__year sid-date__year sid-text-input sid-text-input--required ${r?"sid-text-input--error":""}`,id:`${l}-year`,name:`${d}-year`,type:"text",isErrored:r,min:1900,max:g,value:m||"",pattern:"\\d*",placeholder:t.formatHTMLMessage({id:"dateTime.year",defaultMessage:"Year"}),hidePlaceholder:!1,"aria-label":t.formatHTMLMessage({id:"dateTime.year",defaultMessage:"Year"}),"aria-labelledby":d,"aria-required":n,refId:`${s}Year`,onChange:t=>(t=>{if(y(t,p,h))return void e("");""===t&&e(`-${p}-${h}`);const r=Lc()(t,10);"number"==typeof r&&r>=1&&r<=g?e(`${r}-${vm(p)}-${vm(h)}`):he.warn(`Value '${r}' is an invalid year`)})(t.target.value),onBlur:E})),r?M:null)})),bm=({onChange:e,isErrored:t,isRequired:r=!0,errorId:n,value:a="2000-01-01",locale:i=en})=>q.createElement(ym,{value:a,label:q.createElement(ir,{id:"birthDate",defaultMessage:"Date of birth"}),onChange:e,fieldId:"birthdate",fieldName:"birthDate",isErrored:t,isRequired:r,locale:i,errorMsg:n?q.createElement(ir,{id:`errorId.${n}`,defaultMessage:"Invalid birth date"}):q.createElement(ir,{id:"errorId.invalidBirthDate",defaultMessage:"Invalid birth date"})});var Em=o(249),wm=o.n(Em),Sm=o(4649),Mm=o.n(Sm);const Cm=e=>t=>{const r=function(e,t){var r;if("string"!=typeof e)return;const n=(new DOMParser).parseFromString(e,"text/html");return d()(r=wm()(t)).call(r,(([e,t])=>{const r=n.querySelector(e);if(!r)return;let a;const i=r.innerHTML;if(a="function"==typeof t?t(i):t,a){if("string"==typeof a)r.insertAdjacentHTML("afterend",a);else{const e=Mm().renderToStaticMarkup(q.createElement(q.Fragment,null,a));r.insertAdjacentHTML("afterend",e)}r.parentElement.removeChild(r)}})),n.body.innerHTML}(t,e);return q.createElement("span",{dangerouslySetInnerHTML:{__html:r}})},Im=({verificationService:e,linkText:t})=>{const{segment:r}=e.verificationResponse,{programId:n,programTheme:a}=e;if(r){const r=Ga(a,0,n,xa(e.viewModel));return q.createElement(cd,{className:"sid-faq sid-link",href:r},t||q.createElement(ir,{id:"getHelp",defaultMessage:"Get help"}))}return null},Nm=({verificationService:e,children:t})=>{const{viewModel:r}=e,n=oe((()=>r.countryChoice.value),void 0),a=xa(r),i=q.useRef({}),o=/(<div[^>]+>|<div>|<\/div>)|(<span[^>]+>|<span>|<\/span>)|(<p[^>]+>|<p>|<\/p>)/gm;return q.useEffect((()=>{if(!i.current)return;const e=i.current.innerHTML.replace(o,"");mf({metadata:{submissionOptIn:e}})}),[i,a]),q.createElement("div",{className:"sid-footer sid-h-small-text sid-l-space-top-md"},!t&&q.createElement("div",{className:"sid-footer__shield"},q.createElement("img",{title:"Powered by SheerID",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/shield-check.svg"})),q.createElement("div",null,q.createElement("div",{className:"sid-footer__one",ref:i},t||q.createElement("div",{className:"sid-footer__text",tabIndex:0},q.createElement(ir,{id:"footerText",defaultMessage:"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>."},Cm({privacyPolicy:t=>{const r=Va(e.programTheme);return r?q.createElement(cd,{className:"sid-privacy-policy sid-link",href:r},t):t},aboutSheerID:t=>q.createElement(Im,{verificationService:e,linkText:t})})),"string"==typeof n&&n.length>0&&"US"!==n?q.createElement(ir,{id:"informationTransferredToUS",defaultMessage:"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy."}):null))))};const Dm=(e,t)=>{const r=e===ve.docUpload?"docUpload":"default",n={student:{default:lc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:lc.step.docUpload.howDoesVerifyingWorkDetails},teacher:{default:uc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:uc.step.docUpload.howDoesVerifyingWorkDetails},member:{default:cc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:cc.step.docUpload.howDoesVerifyingWorkDetails},military:{default:ic.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:ic.step.docUpload.howDoesVerifyingWorkDetails},senior:{default:oc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:oc.step.docUpload.howDoesVerifyingWorkDetails},firstResponder:{default:ac.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:ac.step.docUpload.howDoesVerifyingWorkDetails},medical:{default:dc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:dc.step.docUpload.howDoesVerifyingWorkDetails},age:{default:sc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:sc.step.docUpload.howDoesVerifyingWorkDetails},employment:{default:fc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:fc.step.personalInfo.howDoesVerifyingWorkDetails},identity:{default:pc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:pc.step.docUpload.howDoesVerifyingWorkDetails},licensedProfessional:{default:hc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:hc.step.docUpload.howDoesVerifyingWorkDetails},recentMover:{default:gc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:gc.step.docUpload.howDoesVerifyingWorkDetails},lowIncome:{default:vc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:vc.step.docUpload.howDoesVerifyingWorkDetails}};$r(t);return oe((()=>n[t][r]),"-")},Tm=({verificationService:e,initialVisibility:t=!1})=>{const[r,n]=(0,q.useState)(t),{segment:a}=e.verificationResponse,i=e.verificationResponse.currentStep,o=`${Dm(i,a)}`;let s;const l=()=>{n(!0),clearTimeout(s)},u=()=>{s=ur()((()=>n(!1)))};return q.createElement("div",{className:"sid-how-verify-works",onMouseEnter:l,onMouseLeave:u},q.createElement("a",{href:"#",className:"sid-link","aria-expanded":r,onClick:()=>r?u():l(),"aria-describedby":r?"how-does-verifying-work-tooltip":null,role:"button"},q.createElement(ir,{id:"howDoesVerifyingWork",defaultMessage:"How does verifying work?"})),r?q.createElement("div",{className:"sid-how-verify-works__container"},q.createElement("div",{className:"sid-how-verify-works__caret"}),q.createElement("div",{className:"sid-how-verify-works__tooltip","aria-live":"polite",role:"tooltip",id:"how-does-verifying-work"},q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:`step.${i===ve.docUpload?"docUpload":"personalInfo"}.howDoesVerifyingWorkDetails`,defaultMessage:o,values:{companyName:e}})))," ",q.createElement(Im,{verificationService:e}))):null)},Am=Rt((({verificationService:e,viewModelDraftDecorator:t,intl:r,viewModel:n,nextFocusField:a})=>{n&&he.warn("viewModel prop is deprecated, use verificationService.viewModel instead"),a&&he.warn("nextFocusField prop is deprecated");const i=ol(e.programTheme,r),o=oe((()=>xr("country").toUpperCase())),s=ul(i),{fieldValidationErrors:l}=e,u=i.length>1,[c,d]=q.useState(!0),f=r=>{const n=Vs(e.viewModel,(e=>{e.countryChoice=r||void 0,e.country=r?r.value:void 0,t&&t(e,r)}));e.updateViewModel(n)};return q.useEffect((()=>{if(c){d(!1);const t=e.viewModel.countryChoice?e.viewModel.countryChoice:s;f(t)}}),[c]),q.useEffect((()=>{const t=re()(i).call(i,(e=>"US"===e.value));if(!u&&!t){const t=e.viewModel.fieldsToSkipValidation?[...e.viewModel.fieldsToSkipValidation,"country"]:["country","address1","postalCode","state","city"];e.updateViewModel(cl(e.viewModel,"fieldsToSkipValidation",t))}}),[u]),q.useEffect((()=>{const t=Vs(e.fieldValidationErrors,(t=>{t.country&&(t.country=Lo("country",e.viewModel.countryChoice,e.formValidationOptions)),"postalCode"in e.viewModel&&e.viewModel.postalCode&&(t.postalCode=Lo("postalCode",e.viewModel.postalCode,e.formValidationOptions))}));Js(t,e),(e=>{if(void 0!==e.viewModel.organization)Zs(ei.organization,e)})(e)}),[e.viewModel.countryChoice]),q.useEffect((()=>{const e=Nl()(i).call(i,(e=>e.value===o));e&&f(e)}),[o]),u?q.createElement(Yu,{isRequired:!0,options:i,value:e.viewModel.countryChoice,isErrored:Boolean(l.country),onChange:function(){var t=hr((function*(t){const r=t?t.value:void 0;f(t),Xs("country",r,e)}));return function(e){return t.apply(this,arguments)}}()}):null})),xm=({verificationService:e})=>{const t=oe((()=>e.programTheme.remainingRewardCodes),null);return"number"==typeof t&&t>0?q.createElement("div",{className:"sid-rewards-remaining"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(ir,{id:"lowRewardPool",defaultMessage:e.messages.lowRewardPool,values:{offersRemaining:t}}),q.createElement("div",{className:"sid-l-space-top-sm"})):null},_m=({fieldId:e,value:t,onChange:r,label:n,errorMessage:a})=>{const i=`sid-${dl(`${e}Label`)}`,o=()=>r(!t);return q.createElement("div",{className:`sid-field sid-${dl(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-checkbox-flex"},q.createElement(tm,{id:dl(e),isErrored:!!a,value:t,onChange:o,ariaLabelledby:i}),q.createElement("div",{className:"sid-checkbox__label",onClick:o,onKeyPress:o,role:"button",tabIndex:0,id:i},n)),a&&q.createElement("div",{className:"sid-field-error"},a))},Om=Rt((({config:e,verificationService:t,intl:r})=>{const n=oe((()=>t.viewModel.metadata[e.fieldId])),a=oe((()=>t.fieldValidationErrors[e.fieldId])),i=r=>{t.updateViewModel(Vs(t.viewModel,(t=>{t.metadata=t.metadata||{},t.metadata[e.fieldId]=r}))),t.updateFieldValidationErrors(Vs(t.fieldValidationErrors,(t=>{void 0===e.validate(r)&&delete t[e.fieldId]})))};switch(e.fieldType){case"text":return q.createElement(vl,{fieldId:e.fieldId,value:`${n||""}`,onChange:i,placeholder:r.formatHTMLMessage({id:`${e.fieldId}Placeholder`,defaultMessage:e.fieldId}),label:q.createElement(ir,{id:`${e.fieldId}Label`,defaultMessage:e.fieldId}),errorMessage:a&&q.createElement(ir,{id:`errorId.${a}`,defaultMessage:`Invalid ${e.fieldId}`}),showPlaceholderAndHideLabel:e.showPlaceholderAndHideLabel,required:e.required});case"checkbox":return q.createElement(_m,{fieldId:e.fieldId,value:"boolean"==typeof n&&n,onChange:i,label:q.createElement(ir,{id:`${e.fieldId}Label`,defaultMessage:e.fieldId}),errorMessage:a&&q.createElement(ir,{id:`errorId.${a}`,defaultMessage:`Invalid ${e.fieldId}`})});default:return he.warn(`Unknown field type: ${e.fieldType}`),null}})),km=({verificationService:e,suffix:t})=>e.messages[`extraMessage${t}`]?q.createElement("div",{className:`sid-extra-message sid-extra-message-${t}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(ir,{id:`extraMessage${t}`,defaultMessage:" "})):null;function Pm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Rm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Pm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Pm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Fm=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ed(a),o=(t,n)=>{const a=Bs(r,(e=>{e[t]=n}));e.updateViewModel(a)},s=r.localeChoice.value;return q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your official school records."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Student-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a student at a degree-granting school."})," ",q.createElement(Tm,{verificationService:e}),q.createElement(xm,{verificationService:e}))),q.createElement(ec,{verificationService:e}),q.createElement(Am,{verificationService:e}),q.createElement(gm,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,isRequired:!0,onChange:t=>{Zs(t,e),Xs("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{o("firstName",t),Xs("firstName",t,e)}}),q.createElement(bl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{o("lastName",t),Xs("lastName",t,e)}})),q.createElement(bm,{value:r.birthDate,isErrored:!!n.birthDate,errorId:n.birthDate,locale:s,isRequired:!0,onChange:t=>{o("birthDate",t),Xs("birthDate",t,e)}}),q.createElement(El,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal or school email is fine"}),onChange:t=>{o("email",t),Xs("email",t,e)},onKeyDown:e=>nl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{o("phoneNumber",t),Xs("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Om,{config:t,verificationService:e}))),q.createElement(nm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{o("metadata",Rm(Rm({},e.viewModel.metadata),{},{marketConsentValue:t})),Xs("marketConsentValue",t,e)},viewModel:r}),q.createElement(km,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>al(r,e,ve.collectStudentPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyStudentStatus",defaultMessage:"Verify My Student Status"}))))),q.createElement(Nm,{verificationService:e}))},Lm=({onChange:e,value:t,isValid:r,intl:n,placeholder:a="",ariaLabelledBy:i})=>q.createElement(ml,{id:"postal-code",isErrored:!r,onChange:t=>e(t.target.value),pattern:"[a-zA-Z0-9 ]*",placeholder:a||n.formatHTMLMessage({id:"postalCodePlaceholder",defaultMessage:"Postal Code"}),refId:"postalCode",value:t,required:!0,"aria-labelledby":i});Lm.defaultProps={isValid:!0};const Um=Rt(Lm),Bm=({value:e,isErrored:t,onChange:r,explanation:n})=>q.createElement("div",{className:"sid-field sid-postal-code"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"postalCode",defaultMessage:"Postal Code"}),htmlForLabel:"sid-postal-code",id:"sid-postal-code-label",displayClasses:"sid-field__label-with-explanation"},n&&n),q.createElement(Um,{value:e,isValid:!t,onChange:r,ariaLabelledBy:"sid-postal-code-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidPostalCode",defaultMessage:"Invalid postal code"})):null);function Vm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function jm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Vm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Vm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const zm=Rt((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ed(a),o=r.localeChoice.value,s=(t,n)=>{const a=Bs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-senior-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your government-issued documents."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock Your Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your current age."})," ",q.createElement(Tm,{verificationService:e}),q.createElement(xm,{verificationService:e}))),q.createElement(ec,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),Xs("firstName",t,e)}}),q.createElement(bl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),Xs("lastName",t,e)}})),q.createElement(bm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:t=>{s("birthDate",t),Xs("birthDate",t,e)},value:r.birthDate}),q.createElement(Bm,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),Xs("postalCode",t,e)},value:r.postalCode}),q.createElement(El,{value:r.email,isErrored:!!n.email,onChange:t=>{s("email",t),Xs("email",t,e)},onKeyDown:e=>nl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),Xs("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Om,{config:t,verificationService:e}))),q.createElement(nm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",jm(jm({},e.viewModel.metadata),{},{marketConsentValue:t})),Xs("marketConsentValue",t,e)},viewModel:r}),q.createElement(km,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(r,e,ve.collectSeniorPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(Nm,{verificationService:e}))})),Hm=Rt((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:i,placeholder:o=""})=>q.createElement(vl,{fieldId:"city",value:e,onChange:r,placeholder:o||n.formatHTMLMessage({id:"cityPlaceholder",defaultMessage:"City"}),label:q.createElement(ir,{id:"city",defaultMessage:"City"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidCity",defaultMessage:"Invalid city"}),showPlaceholderAndHideLabel:!!o,required:a,onKeyDown:"function"==typeof i?e=>i(e):void 0}))),$m=Rt((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:i,placeholder:o="",label:s})=>q.createElement(vl,{fieldId:"address",value:e,onChange:r,placeholder:o||n.formatHTMLMessage({id:"addressPlaceholder",defaultMessage:"Address"}),label:s||q.createElement(ir,{id:"address",defaultMessage:"Address"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidAddress",defaultMessage:"Invalid address"}),showPlaceholderAndHideLabel:!!o,required:a,onKeyDown:"function"==typeof i?e=>i(e):void 0})));function qm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Wm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=qm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=qm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Gm=Rt((({verificationService:e,intl:t})=>{var r,n;const a=e.viewModel,{fieldValidationErrors:i}=e,o=e.verificationResponse,s=Ed(o),l=ol(e.programTheme,t),u=ul(l),{isSmsNotifierConfigured:c,smsLoopEnabled:f}=e.programTheme,m=oe((()=>a.countryChoice.value),u.value),p="US"===m?[{key:"postalCode"}]:[],h=a.localeChoice.value,[g,v]=q.useState(p);!i.phoneNumber&&o.errorIds&&zi()(r=o.errorIds).call(r,"invalidPhoneNumber")&&e.updateFieldValidationErrors(Wm(Wm({},i),{},{phoneNumber:"invalidPhoneNumber"}));const y=(e,t)=>"US"!==e||t,b=(t,r)=>{const n=cl(a,t,r);e.updateViewModel(n)},E=(t,r)=>{const n=((e,t,r)=>Bs(e,(n=>{d()(r).call(r,(r=>{re()(t).call(t,(e=>e.key===r))?n[r]=void 0!==e[r]?e[r]:"":delete n[r]}))})))(a,t,r);e.updateViewModel(n)},w=e=>re()(g).call(g,(t=>t.key===e));var S,M,C;S="phoneNumber",C=m,M=(e,t)=>{const r=t&&t.smsLoopEnabled||"US"!==C;return co(r)(e)},he.log(`overrideValidator registering ${M} for '${S}'`),Ji[S]=M,y(m,f)?Vr("carrierConsentValue")||Ur("carrierConsentValue",(e=>(t,r)=>{if((r&&r.smsLoopEnabled||"US"!==e)&&!t)return"invalidCarrierConsentValue"})(m)):Vr("carrierConsentValue")&&(e=>{delete Fr[e];const t=kr()(Lr).call(Lr,e);-1!==t?Rr()(Lr).call(Lr,t,1):he.error(`Custom validator for field '${e}' has not been removed.`,"removeCustomValidator")})("carrierConsentValue");return q.useEffect((()=>{hr((function*(){try{const e=yield od(o.verificationId,o.currentStep,a),t=oe((()=>e.fieldsToCollect.required),[]);E(t,["postalCode","city","address1"]),v(t)}catch(e){he.error(`Failed to determine fields to collect: ${e}`)}}))()}),[a.country]),q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your government-issued documents."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock Your Special Offer"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your current age."})," ",q.createElement(Tm,{verificationService:e}),q.createElement(xm,{verificationService:e}))),q.createElement(ec,{verificationService:e}),q.createElement(Am,{verificationService:e,viewModelDraftDecorator:(e,t)=>{const r=e,n=t?t.value:void 0;y(n,f)||(r.phoneNumber="")}}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:a.firstName,isErrored:!!i.firstName,onChange:t=>{b("firstName",t),Xs("firstName",t,e)}}),q.createElement(bl,{value:a.lastName,isErrored:!!i.lastName,onChange:t=>{b("lastName",t),Xs("lastName",t,e)}})),q.createElement(bm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:h,onChange:t=>{b("birthDate",t),Xs("birthDate",t,e)},value:a.birthDate}),w("city")&&q.createElement(Hm,{value:a.city,isRequired:!0,isErrored:!!i.city,errorId:i.city,onChange:t=>{b("city",t),Xs("city",t,e)}}),w("address1")&&q.createElement($m,{value:a.address1,isRequired:!0,isErrored:!!i.address1,errorId:i.address1,onChange:t=>{b("address1",t),Xs("address1",t,e)}}),w("postalCode")&&q.createElement(Bm,{isErrored:!!i.postalCode,onChange:t=>{b("postalCode",t),Xs("postalCode",t,e)},value:a.postalCode}),q.createElement(El,{value:a.email,isErrored:!!i.email,onChange:t=>{b("email",t),Xs("email",t,e)},onKeyDown:e=>nl(e)}),(y(m,f)||c)&&q.createElement(sm,{value:a.phoneNumber,isRequired:e.programTheme.smsLoopEnabled||"US"!==m,isErrored:!!i.phoneNumber,displaySmsConsent:c,onChange:t=>{b("phoneNumber",t),Xs("phoneNumber",t,e)},errorId:i.phoneNumber,requireCarrierConsent:e.programTheme.smsLoopEnabled||"US"!==m,onCarrierConsentChange:t=>{b("metadata",Wm(Wm({},e.viewModel.metadata),{},{carrierConsentValue:t})),Xs("carrierConsentValue",t,e)},carrierConsent:Boolean(a.metadata&&a.metadata.carrierConsentValue),selectedCountryCode:a.countryChoice&&a.countryChoice.value}),Mr()(n=Sn().customFormFields).call(n,(t=>q.createElement(Om,{config:t,verificationService:e}))),q.createElement(nm,{verificationService:e,isErrored:!!i.marketConsentValue,onChange:t=>{b("metadata",Wm(Wm({},e.viewModel.metadata),{},{marketConsentValue:t})),Xs("marketConsentValue",t,e)},viewModel:a}),q.createElement(km,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(a,e,ve.collectAgePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(a,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(Nm,{verificationService:e}))})),Ym=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{var o;const{programId:s,viewModel:l,verificationResponse:u}=n,c="sid-teacher-school",d=xa(l,u),f=z()(o=Sn().urlAddSchoolForm||"").call(o),m=oe((()=>n.viewModel.countryChoice.value)),p=Ya(n.programTheme,m);return q.createElement("div",{className:"sid-field sid-teacher-school-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"schoolName",defaultMessage:"School name"}),htmlForLabel:c,id:`${c}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(hm,{className:t?"sid-text-input--error":"",countryCode:m,onChange:e=>r(e),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"schoolNamePlaceholder",defaultMessage:"School name"}),programId:s,value:e,inputHtmlId:c,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,orgSearchTags:p,locale:d,urlAddSchoolForm:f,isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Km(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Zm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Km(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Km(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Jm=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ed(a),o=r.localeChoice.value,s=(t,n)=>{const a=Bs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{e.programTheme.idCheckAddOnEnabled?s("fieldsToSkipValidation",[]):(s("birthDate",""),s("fieldsToSkipValidation",["birthDate"]))}),[e.programTheme.idCheckAddOnEnabled]),q.createElement("div",{id:"sid-step-teacher-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Email"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and email address must match what is on record with your school."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Teaching Staff-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a teacher, faculty or staff at a K-12 or degree-granting university."})," ",q.createElement(Tm,{verificationService:e}),q.createElement(xm,{verificationService:e}))),q.createElement(ec,{verificationService:e}),q.createElement(Am,{verificationService:e}),q.createElement(Ym,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{Zs(t,e),Xs("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),Xs("firstName",t,e)}}),q.createElement(bl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),Xs("lastName",t,e)}})),e.programTheme.idCheckAddOnEnabled?q.createElement(bm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:t=>{s("birthDate",t),Xs("birthDate",t,e)},value:r.birthDate}):null,q.createElement(El,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Must be your school-issued email address"}),onChange:t=>{s("email",t),Xs("email",t,e)},onKeyDown:e=>nl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),Xs("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,((e,t)=>oe((()=>e.openOrgSearchEnabled))&&0===oe((()=>t.organization.id))&&oe((()=>t.organization.name),"").length>0)(e.programTheme,r)?q.createElement(Bm,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),Xs("postalCode",t,e)},value:r.postalCode}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Om,{config:t,verificationService:e}))),q.createElement(nm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",Zm(Zm({},e.viewModel.metadata),{},{marketConsentValue:t})),Xs("marketConsentValue",t,e)},viewModel:r}),q.createElement(km,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(r,e,ve.collectTeacherPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyTeacherStatus",defaultMessage:"Verify My Teacher Status"}))))),q.createElement(Nm,{verificationService:e}))},Xm=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:i="",isRequired:o=!1,label:s})=>q.createElement("div",{className:"sid-field sid-member-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:s||q.createElement(ir,{id:"memberId",defaultMessage:"ID Number"}),htmlForLabel:"sid-member-id",id:"sid-member-id-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(ir,{id:"optional",defaultMessage:"Optional"}))),q.createElement(ml,{id:"member-id",isErrored:t,onChange:e=>r(e.target.value),placeholder:i||a.formatHTMLMessage({id:"memberIdPlaceholder",defaultMessage:"ID Number"}),refId:"memberId",value:e,"aria-labelledby":"sid-member-id-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidMemberId",defaultMessage:"Invalid ID Number"})):null))),Qm=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-membership-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-membership",id:"sid-membership-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(hm,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:o,value:e,inputHtmlId:"sid-membership",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function ep(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function tp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ep(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ep(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const rp=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ed(a),o=r.localeChoice.value,s=(t,n)=>{const a=Bs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-member-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Email"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and email address must match what is on record with your school."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Members-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a current member of an eligible organization."})," ",q.createElement(Tm,{verificationService:e}),q.createElement(xm,{verificationService:e}))),q.createElement(ec,{verificationService:e}),q.createElement(Am,{verificationService:e}),q.createElement(Qm,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{Zs(t,e),Xs("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),Xs("firstName",t,e)}}),q.createElement(bl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),Xs("lastName",t,e)}})),q.createElement(El,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{s("email",t),Xs("email",t,e)},onKeyDown:e=>nl(e)}),q.createElement(bm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,isRequired:!1,onChange:t=>{s("birthDate",t),Xs("birthDate",t,e)},value:r.birthDate}),q.createElement(Xm,{value:r.memberId,isErrored:!!n.memberId,isRequired:!1,onChange:t=>{s("memberId",t),Xs("memberId",t,e)}}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),Xs("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Om,{config:t,verificationService:e}))),q.createElement(nm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",tp(tp({},e.viewModel.metadata),{},{marketConsentValue:t})),Xs("marketConsentValue",t,e)},viewModel:r}),q.createElement(km,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(r,e,ve.collectMemberPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMembershipStatus",defaultMessage:"Verify My Membership Status"}))))),q.createElement(Nm,{verificationService:e}))},np=Rt((({value:e,isErrored:t,errorId:r="invalidStatus",options:n,onChange:a,intl:i,placeholder:o="",onKeyDown:s,segmentId:l})=>{const u=`sid-${l}-status`,c=1===n.length;return q.useEffect((()=>{c&&a(n[0])}),[]),c?null:q.createElement("div",{className:`sid-field ${u}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"status",defaultMessage:"Status"}),htmlForLabel:u,id:`${u}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(Gu,{fieldId:"status",inputId:u,fieldLabelId:`${u}-label`,isErrored:t,options:n,onChange:e=>a(e),onKeyDown:s,value:Nl()(n).call(n,(t=>t.value===(e&&e.value))),placeholder:o||i.formatHTMLMessage({id:"statusPlaceholder",defaultMessage:"Status"}),isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:`errorId.${r}`,defaultMessage:`Invalid ${l} status`})):null)})),ap=(e,t)=>{let r;try{r=e.label.toUpperCase()>t.label.toUpperCase()?1:-1}catch(e){r=1}return r},ip=e=>({value:e.id,label:e.name,country:e.country}),op=(e,t,r,n)=>{const a=r.viewModel;return Vs(a,(r=>{r[e]=t,n||(r.fieldsToSkipValidation=["status"]),"status"===e&&(r.organization={id:0,name:""})}))},sp=Rt((({autoFocus:e,onChange:t,value:r,isErrored:n,organizations:a,verificationService:o,intl:s,placeholder:l=""})=>{let u=[];const{status:c}=o.viewModel,d=o.viewModel,f="sid-branch-of-service",{countryChoice:m}=d;if(a){let e;e=i()(a).call(a,(e=>t=>"VETERAN"===e?!!t.name:"RESERVIST"===e?zi()(Te).call(Te,t.name):!zi()(Te).call(Te,t.name))(c)),m&&(e=i()(a).call(a,(e=>e.country===m.value))),u=Mr()(e).call(e,ip)}return q.createElement("div",{className:`sid-field ${f}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"branchOfService",defaultMessage:"Branch Of Service"}),htmlForLabel:f,id:`${f}-label`,displayClasses:l&&"sid-h-screen-reader-only"}),q.createElement(Gu,{autoFocus:e,fieldId:"organization",inputId:f,fieldLabelId:`${f}-label`,isErrored:n,options:(p=u,ha()(p).call(p,ap)),onChange:e=>((e,t)=>{t(e?{id:e.value,name:e.label}:{id:0,name:""})})(e,t),value:Nl()(u).call(u,(e=>e.value===(r&&r.value))),placeholder:l||s.formatHTMLMessage({id:"branchOfServicePlaceholder",defaultMessage:"Branch Of Service"}),isRequired:!0}),n?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null);var p})),lp=({onChange:e,isErrored:t,errorId:r="invalidActiveDutyStartDate",value:n="2000-01-01",locale:a=en})=>q.createElement(ym,{value:n,label:q.createElement(ir,{id:"activeDutyStartDate",defaultMessage:"Active Duty Start Date"}),onChange:e,fieldName:"activeDutyStartDate",fieldId:"sid-active-duty-start-date",locale:a,isErrored:t,errorMsg:q.createElement(ir,{id:`errorId.${r}`,defaultMessage:"Invalid start date"})});function up(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function cp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=up(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=up(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const dp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:i}=t,o=t.verificationResponse,s=Ed(o),{status:l}=t.viewModel,u=tl(t,e),c=n.localeChoice.value,d=(e,r)=>{t.updateViewModel(op(e,r,t,u))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Bs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),Ys(),q.createElement("div",{id:"sid-step-active-military-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Military-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a member of the armed forces."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement(Am,{verificationService:t}),u?q.createElement(np,{segmentId:"military",value:{value:n.status,label:el(e,n.status,De)},isErrored:!!i.status,errorId:"invalidMilitaryStatus",options:u,onChange:e=>{d("status",e?e.value:""),Xs("status",e?e.value:"",t)}}):null,"MILITARY_FAMILY"===l?q.createElement("div",{className:"sid-field-notice","data-testid":"family-note"},q.createElement(ir,{id:"militaryFamilyCardNote",defaultMessage:"Note: this offer is only available to military family members with a Dependent ID card."})):null,q.createElement(sp,{isErrored:!!i.organization,onChange:e=>{Zs(e,t),Xs("organization",e,t)},value:{value:t.viewModel.organization.id,label:t.viewModel.organization.name},verificationService:t,organizations:t.orgList}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:n.firstName,isErrored:!!i.firstName,onChange:e=>{d("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:n.lastName,isErrored:!!i.lastName,onChange:e=>{d("lastName",e),Xs("lastName",e,t)}})),q.createElement(bm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:c,onChange:e=>{d("birthDate",e),Xs("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(lp,{isErrored:!!i.activeDutyStartDate,errorId:i.activeDutyStartDate,locale:c,onChange:e=>{d("activeDutyStartDate",e),Xs("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(El,{value:n.email,isErrored:!!i.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{d("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!i.phoneNumber,onChange:e=>{d("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Om,{config:e,verificationService:t}))),q.createElement(nm,{verificationService:t,isErrored:!!i.marketConsentValue,onChange:e=>{d("metadata",cp(cp({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:n}),q.createElement(km,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(n,t,ve.collectActiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMilitaryStatus",defaultMessage:"Verify My Military Status"}))))),q.createElement(Nm,{verificationService:t}))})),fp=({onChange:e,isErrored:t,value:r="2000-01-01"})=>q.createElement(ym,{mode:"month",value:r,label:q.createElement(ir,{id:"dischargeDate",defaultMessage:"Discharge date"}),onChange:e,fieldName:"dischargeDate",fieldId:"discharge-date",isErrored:t,isRequired:!0,errorMsg:q.createElement(ir,{id:"errorId.invalidDischargeDate",defaultMessage:"Invalid discharge date"})});function mp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function pp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=mp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=mp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const hp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:i}=t,o=t.verificationResponse,s=Ed(o),l=tl(t,e),u=n.localeChoice.value,c=(e,r)=>{t.updateViewModel(op(e,r,t,l))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=Bs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),Ys(),q.createElement("div",{id:"sid-step-inactive-military-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Military-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a member of the armed forces."})," ",q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement(Am,{verificationService:t}),l?q.createElement(np,{segmentId:"military",value:{value:n.status,label:el(e,n.status,De)},isErrored:!!i.status,errorId:"invalidMilitaryStatus",options:l,onChange:e=>{c("status",e?e.value:""),Xs("status",e?e.value:"",t)}}):null,q.createElement(sp,{isErrored:!!i.organization,onChange:e=>{Zs(e,t),Xs("organization",e,t)},value:{value:t.viewModel.organization.id,label:t.viewModel.organization.name},verificationService:t,organizations:t.orgList}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:n.firstName,isErrored:!!i.firstName,onChange:e=>{c("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:n.lastName,isErrored:!!i.lastName,onChange:e=>{c("lastName",e),Xs("lastName",e,t)}})),q.createElement(bm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:u,onChange:e=>{c("birthDate",e),Xs("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(lp,{isErrored:!!i.activeDutyStartDate,locale:u,onChange:e=>{c("activeDutyStartDate",e),Xs("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(fp,{isErrored:!!i.dischargeDate,onChange:e=>{c("dischargeDate",e),Xs("dischargeDate",e,t)},value:n.dischargeDate}),q.createElement(El,{value:n.email,isErrored:!!i.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{c("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!i.phoneNumber,onChange:e=>{c("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Om,{config:e,verificationService:t}))),q.createElement(nm,{verificationService:t,isErrored:!!i.marketConsentValue,onChange:e=>{c("metadata",pp(pp({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:n}),q.createElement(km,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(n,t,ve.collectInactiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMilitaryStatus",defaultMessage:"Verify My Military Status"}))))),q.createElement(Nm,{verificationService:t}))})),gp=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n,s="sid-first-responder-organization";return q.createElement("div",{className:`sid-field ${s}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(hm,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:o,value:t,isRequired:!0,inputHtmlId:s,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function vp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function yp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=vp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=vp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const bp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ed(i),s=n.localeChoice.value,l=(e,r)=>{const a=Bs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=oe((()=>t.programTheme.openOrgSearchEnabled))&&0===oe((()=>n.organization.id))&&oe((()=>n.organization.name),"").length>0;return u?n.postalCode=n.postalCode?n.postalCode:"":(n.postalCode||""===n.postalCode)&&(delete n.postalCode,Xs("postalCode",void 0,t)),q.createElement("div",{id:"sid-step-active-first-responder-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name, Email & Organization"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name, organization name, and email must match what is on record with your agency."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this 1st Responder-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're an active first responder."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement(Am,{verificationService:t}),q.createElement(np,{segmentId:"first-responder",value:{value:n.status,label:el(e,n.status,Ae)},isErrored:!!a.status,errorId:"invalidFirstResponderStatus",options:(()=>{const r=t.verificationResponse.availableStatuses,n=[];return d()(r).call(r,(t=>{n.push({value:t,label:el(e,t,Ae)})})),n})(),onChange:e=>{l("status",e?e.value:""),Xs("status",e?e.value:"",t)}}),q.createElement(gp,{isErrored:!!a.organization,onChange:e=>{Zs(e,t),Xs("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),Xs("lastName",e,t)}})),q.createElement(bm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),Xs("birthDate",e,t)},value:n.birthDate}),q.createElement(El,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{l("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u?q.createElement(Bm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),Xs("postalCode",e,t)},value:n.postalCode}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Om,{config:e,verificationService:t}))),q.createElement(nm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",yp(yp({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:n}),q.createElement(km,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(n,t,ve.collectFirstResponderPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyFirstResponderStatus",defaultMessage:"Verify My First Responder Status"}))))),q.createElement(Nm,{verificationService:t}))})),Ep=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n,s="sid-medical-professional-organization";return q.createElement("div",{className:"sid-field sid-medical-professional-organization-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(hm,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:o,value:t,inputHtmlId:s,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,isRequired:!0}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function wp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Sp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=wp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=wp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Mp={AT:"gbrNummer",ES:"numeroColegiado",DK:"autorisationsId",CH:"globalLocationNumber",IE:"registrationNumber",GB:"registrationNumber"},Cp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ed(i),[s,l]=q.useState(void 0),[u,c]=q.useState(!1),f=n.localeChoice.value,m=(e,r)=>{const a=cl(n,e,r);t.updateViewModel(a)};return q.useEffect((()=>{hr((function*(){if(n.country&&n.status)try{const e=yield od(i.verificationId,i.currentStep,n),t=oe((()=>e.fieldsToCollect.optional),[]);c(re()(t).call(t,(e=>"memberId"===e.key)))}catch(e){he.error(`Failed to determine fields to collect: ${e}`)}const e=Mp[n.country]?Mp[n.country]:"registrationNumber";e&&l({labelKey:`step.collectMedicalPersonalInfo.${e}Label`,explanationKey:`step.collectMedicalPersonalInfo.${e}Explanation`})}))()}),[n.country,n.status]),q.createElement("div",{id:"sid-step-active-medical-professional-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name, Email & Organization"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name, organization name, and email must match what is on record with your agency."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Medical Professional-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a licensed medical professional."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement(Am,{verificationService:t}),q.createElement(np,{segmentId:"medical",value:{value:n.status,label:el(e,n.status,xe)},isErrored:!!a.status,options:(()=>{const t=i.availableStatuses,r=[];return d()(t).call(t,(t=>{r.push({value:t,label:el(e,t,xe)})})),r})(),onChange:e=>{m("status",e?e.value:""),Xs("status",e?e.value:"",t)}}),q.createElement(Ep,{isErrored:!!a.organization,onChange:e=>{Zs(e,t),Xs("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{m("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{m("lastName",e),Xs("lastName",e,t)}})),q.createElement(bm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:f,onChange:e=>{m("birthDate",e),Xs("birthDate",e,t)},value:n.birthDate}),q.createElement(Bm,{isErrored:!!a.postalCode,onChange:e=>{m("postalCode",e),Xs("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(ir,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(El,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{m("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{m("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u&&q.createElement(Xm,{value:n.memberId,isErrored:!!a.memberId,isRequired:!1,onChange:e=>{m("memberId",e),Xs("memberId",e,t)},explanation:s&&q.createElement(ir,{id:s.explanationKey,defaultMessage:"Your Professional Membership Registration Number"}),label:s&&q.createElement(ir,{id:s.labelKey,defaultMessage:"Registration Number"})}),Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Om,{config:e,verificationService:t}))),q.createElement(nm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{m("metadata",Sp(Sp({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:n}),q.createElement(km,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(n,t,ve.collectMedicalProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMedicalProfessionalStatus",defaultMessage:"Verify My Medical Professional Status"}))))),q.createElement(Nm,{verificationService:t}))})),Ip=Rt((({value:e,isErrored:t,options:r,onChange:n,intl:a,placeholder:i="",label:o="",isRequired:s=!1})=>{const l="sid-state";return q.createElement("div",{className:`sid-field ${l}__select`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:o||q.createElement(ir,{id:"state",defaultMessage:"State where you live"}),htmlForLabel:l,id:`${l}-label`,displayClasses:i&&"sid-h-screen-reader-only",isRequired:s}),q.createElement(Gu,{fieldId:"state",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),placeholder:a.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:Nl()(r).call(r,(t=>t.value===e)),suppressPlaceholder:!1,isRequired:s,buttonRef:"inputSelectButtonState"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidState",defaultMessage:"Invalid state"})):null)})),Np=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-company-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"company",defaultMessage:"Company"}),htmlForLabel:"sid-company",id:"sid-company-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(hm,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"companyPlaceholder",defaultMessage:"Company"}),programId:o,value:t,inputHtmlId:"sid-company",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Dp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Tp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Dp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Dp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ap=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=(e,r)=>{const a=Bs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return q.createElement("div",{id:"sid-step-employment-personal-info",className:"sid-l-container"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Employment-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a current employee at an eligible company."})," ",q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement(Am,{verificationService:t,viewModelDraftDecorator:(e,r)=>{const n=e;n.shouldCollectAddress=Qs(r,t.programTheme.config.countries),n.shouldCollectAddress?n.fieldsToSkipValidation=void 0:(n.address1="",n.city="",n.state="",n.postalCode="",n.fieldsToSkipValidation=["address1","city","state","postalCode"])}}),q.createElement(Np,{value:t.viewModel.organization,verificationService:t,isErrored:!!a.organization,onChange:e=>{Zs(e,t),Xs("organization",e,t)}}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{i("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{i("lastName",e),Xs("lastName",e,t)}})),Qs(n.countryChoice,t.programTheme.config.countries)?q.createElement($m,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{i("address1",e),Xs("address1",e,t)},isRequired:!0,value:n.address1}):null,Qs(n.countryChoice,t.programTheme.config.countries)?q.createElement("div",{className:"sid-thirds"},q.createElement(Hm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{i("city",e),Xs("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Ip,{isRequired:!0,options:sl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;i("state",r),Xs("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(ir,{id:"state",defaultMessage:"State"})}),q.createElement(Bm,{isErrored:!!a.postalCode,onChange:e=>{i("postalCode",e),Xs("postalCode",e,t)},value:n.postalCode})):null,q.createElement(El,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"employment.emailExplanation",defaultMessage:"Use your work email if you have one"}),onChange:e=>{i("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{i("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Om,{config:e,verificationService:t}))),q.createElement(nm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{i("metadata",Tp(Tp({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:n}),q.createElement(km,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>al(n,t,ve.collectEmployeePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},q.createElement(ir,{id:"verifyMyEmploymentStatus",defaultMessage:"Verify My Employment Status"}))))),q.createElement(Nm,{verificationService:t}))})),xp=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:i="",isRequired:o=!1})=>q.createElement("div",{className:"sid-field sid-driver-license-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"driverLicenseNumber",defaultMessage:"Driver license number"}),htmlForLabel:"sid-driver-license-number",id:"sid-driver-license-number-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(ir,{id:"optional",defaultMessage:"Optional"}))),q.createElement(ml,{id:"driver-license-number",isErrored:t,onChange:e=>r(e.target.value),placeholder:i||a.formatHTMLMessage({id:"driverLicenseNumberPlaceholder",defaultMessage:"Driver license number"}),refId:"driverLicenseNumber",value:e,required:o,"aria-labelledby":"sid-driver-license-number-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidDriverLicenseNumber",defaultMessage:"Invalid driver license number"})):null)));function _p(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Op(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=_p(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=_p(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const kp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ed(i),s=(e,r)=>{const a=Bs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Ys(),q.createElement("div",{id:"sid-step-driver-license-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have a valid driver license"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{s("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{s("lastName",e),Xs("lastName",e,t)}})),q.createElement(El,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{s("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{s("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Ip,{isRequired:!0,options:sl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;s("state",r),Xs("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(ir,{id:"driverLicenseState",defaultMessage:"Driver license state"})}),q.createElement(xp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{s("driverLicenseNumber",e),Xs("driverLicenseNumber",e,t)}}),Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Om,{config:e,verificationService:t}))),q.createElement(nm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{s("metadata",Op(Op({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:n}),q.createElement(km,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(n,t,ve.collectDriverLicensePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Nm,{verificationService:t}))}));function Pp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Rp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Pp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Pp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Fp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ed(i),s=n.localeChoice.value,l=(e,r)=>{const a=Bs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Ys(),q.createElement("div",{id:"sid-step-general-identity-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your identity"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),Xs("lastName",e,t)}})),q.createElement(El,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(bm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),Xs("birthDate",e,t)},value:n.birthDate}),q.createElement($m,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),Xs("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Hm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),Xs("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Ip,{isRequired:!0,options:sl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;l("state",r),Xs("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Bm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),Xs("postalCode",e,t)},value:n.postalCode,isRequired:!0})),Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Om,{config:e,verificationService:t}))),q.createElement(nm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Rp(Rp({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:n}),q.createElement(km,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(n,t,ve.collectGeneralIdentityPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Nm,{verificationService:t}))}));function Lp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Up(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Lp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Lp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Bp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ed(i),s=n.localeChoice.value,l=(e,r)=>{const a=Bs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Ys(),q.createElement("div",{id:"sid-step-hybrid-identity-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your identity"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),Xs("lastName",e,t)}})),q.createElement(El,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(bm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),Xs("birthDate",e,t)},value:n.birthDate}),q.createElement($m,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),Xs("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Hm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),Xs("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Ip,{isRequired:!0,options:sl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;l("state",r),Xs("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(Bm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),Xs("postalCode",e,t)},value:n.postalCode})),q.createElement(xp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{l("driverLicenseNumber",e),Xs("driverLicenseNumber",e,t)}}),Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Om,{config:e,verificationService:t}))),q.createElement(nm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Up(Up({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:n}),q.createElement(km,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(n,t,ve.collectHybridIdentityPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Nm,{verificationService:t}))})),Vp=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-licensed-professional-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-licensed-professional",id:"sid-licensed-professional-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(hm,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:o,value:e,inputHtmlId:"sid-licensed-professional",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function jp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function zp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=jp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=jp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Hp={LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",VETERINARIAN:"Veterinarian",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian"},$p=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Ed(i),s=n.localeChoice.value,l=(e,r)=>{const a=Bs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=t=>t?e.formatHTMLMessage({id:t,defaultMessage:Hp[t]}):"";return q.createElement("div",{id:"sid-step-licensed-professional-personal-info",className:"sid-l-container"},o?q.createElement("p",null,"Failied instant match"):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have a professional license in your field."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement(Am,{verificationService:t}),q.createElement(np,{segmentId:"licensed-professional",value:{value:n.statuses?n.statuses[0]:"",label:n.statuses?u(n.statuses[0]):""},isErrored:!!a.statuses,options:(()=>{const e=i.availableStatuses,t=[];if(e)for(const r of e)t.push({value:r,label:u(r)});return t})(),onChange:e=>{const r=e?[e.value]:[];l("statuses",r),Xs("statuses",e?e.value:"",t)}}),q.createElement(Vp,{isErrored:!!a.organization,onChange:e=>{Zs(e,t),Xs("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),Xs("lastName",e,t)}})),q.createElement(bm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),Xs("birthDate",e,t)},value:n.birthDate}),q.createElement(Bm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),Xs("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(ir,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(El,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{l("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Om,{config:e,verificationService:t}))),q.createElement(nm,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",zp(zp({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:n}),q.createElement(km,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(n,t,ve.collectLicensedProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyLicensedProfessionalStatus",defaultMessage:"Verify My Licensed Professional Status"}))))),q.createElement(Nm,{verificationService:t}))}));function qp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Wp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=qp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=qp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Gp=Rt((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Ed(a),o=(t,n)=>{const a=Bs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{o("statuses",a.availableStatuses)}),[]),q.createElement("div",{id:"sid-step-mover-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Address"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and address must match what is on your official documentation."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have recently moved."}),q.createElement("br",null),q.createElement(Tm,{verificationService:e}),q.createElement(xm,{verificationService:e}))),q.createElement(ec,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{o("firstName",t),Xs("firstName",t,e)}}),q.createElement(bl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{o("lastName",t),Xs("lastName",t,e)}})),q.createElement($m,{value:r.address1,isErrored:!!n.address1,errorId:n.address1,onChange:t=>{o("address1",t),Xs("address1",t,e)},label:q.createElement(ir,{id:"streetAddress",defaultMessage:"Street Address"}),isRequired:!0}),q.createElement(Bm,{value:r.postalCode,isErrored:!!n.postalCode,onChange:t=>{o("postalCode",t),Xs("postalCode",t,e)}}),q.createElement(El,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{o("email",t),Xs("email",t,e)},onKeyDown:e=>nl(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{o("phoneNumber",t),Xs("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Om,{config:t,verificationService:e}))),q.createElement(nm,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{o("metadata",Wp(Wp({},e.viewModel.metadata),{},{marketConsentValue:t})),Xs("marketConsentValue",t,e)},viewModel:r}),q.createElement(km,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>al(r,e,ve.collectMoverPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMoverStatus",defaultMessage:"Verify My Recent Mover Status"}))))),q.createElement(Nm,{verificationService:e}))})),Yp=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i="",isRequired:o=!1})=>{const{programId:s}=n;return q.createElement("div",{className:"sid-field sid-low-income-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"lowIncomeOrganization",defaultMessage:"Government Assistance Program"}),htmlForLabel:"sid-low-income",id:"sid-low-income-label",displayClasses:i&&"sid-h-screen-reader-only",isRequired:o}),q.createElement(hm,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"lowIncomeOrganizationPlaceholder",defaultMessage:"Government Assistance Program"}),programId:s,value:e,inputHtmlId:"sid-low-income",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),Kp=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(vl,{fieldId:"ebtCardNumber",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"ebtCardNumberPlaceholder",defaultMessage:"EBT card Number"}),label:q.createElement(ir,{id:"ebtCardNumber",defaultMessage:"EBT card Number"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidEBTCardNumber",defaultMessage:"Invalid EBT Card Number"}),showPlaceholderAndHideLabel:!!a})));function Zp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Jp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Zp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Zp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Xp={SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"},Qp=Rt((({intl:e,verificationService:t})=>{const r=t.viewModel,{fieldValidationErrors:n}=t,a=t.verificationResponse,i=Ed(a),o=r.localeChoice.value,s=r.statuses[0]?r.statuses[0]:void 0,l="SNAP_BENEFITS"===s,u=(e,n)=>{const a=Bs(r,(t=>{t[e]=n}));t.updateViewModel(a)},c=t=>t?e.formatHTMLMessage({id:t,defaultMessage:Xp[t]}):"";return q.useEffect((()=>{if(l){mf({fieldsToSkipValidation:["organization"]})}}),[l]),q.createElement("div",{id:"sid-step-low-income-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your full name & other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your information must match what is on your government-issued document(s)."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you qualify for an eligible government assistance program."})," ",q.createElement(Tm,{verificationService:t}),q.createElement(xm,{verificationService:t}))),q.createElement(ec,{verificationService:t}),q.createElement(Am,{verificationService:t}),q.createElement(np,{segmentId:"low-income",value:{value:r.statuses?r.statuses[0]:"",label:r.statuses?c(r.statuses[0]):""},isErrored:!!n.statuses,options:(()=>{const e=a.availableStatuses,t=[];if(e)for(const r of e)t.push({value:r,label:c(r)});return t})(),onChange:e=>{const r=e?[e.value]:[];u("statuses",r),Xs("statuses",e?e.value:"",t)}}),"SNAP_BENEFITS"===s&&q.createElement(Kp,{value:r.ebtCardNumber,isErrored:!!n.ebtCardNumber,onChange:e=>{u("ebtCardNumber",e),Xs("ebtCardNumber",e,t)}}),"OTHER_GOVERNMENT_ASSISTANCE"===s&&q.createElement(Yp,{isErrored:!!n.organization,onChange:e=>{Zs(e,t),Xs("organization",e,t)},value:t.viewModel.organization,verificationService:t,isRequired:!0}),q.createElement("div",{className:"sid-names"},q.createElement(yl,{value:r.firstName,isErrored:!!n.firstName,onChange:e=>{u("firstName",e),Xs("firstName",e,t)}}),q.createElement(bl,{value:r.lastName,isErrored:!!n.lastName,onChange:e=>{u("lastName",e),Xs("lastName",e,t)}})),q.createElement(bm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:e=>{u("birthDate",e),Xs("birthDate",e,t)},value:r.birthDate}),q.createElement(Bm,{isErrored:!!n.postalCode,onChange:e=>{u("postalCode",e),Xs("postalCode",e,t)},value:r.postalCode,explanation:q.createElement(ir,{id:"postalCodeExplanation",defaultMessage:"Use your home address"})}),q.createElement(El,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:" "}),onChange:e=>{u("email",e),Xs("email",e,t)},onKeyDown:e=>nl(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(sm,{isRequired:!!t.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:e=>{u("phoneNumber",e),Xs("phoneNumber",e,t)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,q.createElement(nm,{verificationService:t,isErrored:!!n.marketConsentValue,onChange:e=>{u("metadata",Jp(Jp({},t.viewModel.metadata),{},{marketConsentValue:e})),Xs("marketConsentValue",e,t)},viewModel:r}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>al(r,t,ve.collectLowIncomePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(r,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>qs("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyLowIncomeStatus",defaultMessage:"Verify Status"}))))),q.createElement(Nm,{verificationService:t}))}));String.prototype.insertAt=function(e,t){return e>this.length?this:`${Dr()(this).call(this,0,e)}${t}${Dr()(this).call(this,e)}`};const eh=e=>{let t;try{if(t=e.toString(),!t)throw new Error}catch(e){return""}return t.replace(/[^\d]/g,"").insertAt(3,"-").insertAt(6,"-").replace("--","").replace(/-$/,"")},th=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement("div",{className:"sid-field sid-ssn"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"ssn",defaultMessage:"Social Security Number"}),htmlForLabel:"sid-ssn",id:"sid-ssn-label",displayClasses:a&&"sid-h-screen-reader-only"}),q.createElement(ml,{id:"ssn",refId:_e.socialSecurityNumber,className:"sid-ssn__input",isErrored:t,required:!0,placeholder:a||n.formatHTMLMessage({id:"ssnPlaceholder",defaultMessage:"000-00-0000"}),value:eh(e),hidePlaceholder:!1,onChange:e=>(e=>{r(e)})((e=>{var t;return Dr()(t=e.replace(/-/g,"")).call(t,0,9)})(e.target.value)),"aria-labelledby":"sid-ssn-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidSocialSecurityNumber",defaultMessage:"Invalid SSN"})):null))),rh=({useSsn:e,useDocUpload:t,verificationService:r})=>q.createElement("div",{id:"sid-ssn-choice",className:"sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:r})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.selectOption",defaultMessage:"Select an option"}))),q.createElement("div",{className:"sid-ssn-choice__choice1 sid-l-space-top-lg"},q.createElement("button",{type:"button",onClick:e,className:"sid-btn sid-btn--light sid-l-full-width sid-use-ssn"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.useSsn",defaultMessage:"Verify using your social security number"}))),q.createElement("div",{className:"sid-ssn-choice__choice2 sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:t,className:"sid-btn sid-btn--light sid-l-full-width sid-use-doc-upload"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.uploadDoc",defaultMessage:"Upload a document"}))),q.createElement("div",{className:"sid-ssn-choice__footer sid-l-space-top-lg"},q.createElement(Nm,{verificationService:r}))),nh=Rt((({verificationService:e})=>{const[t,r]=q.useState(!0),n=e.viewModel,{fieldValidationErrors:a}=e,i=()=>e.submitStep(ve.cancelSocialSecurityNumber,n,e.verificationResponse),o=n.socialSecurityNumber&&9===n.socialSecurityNumber.toString().length;return t?q.createElement(rh,{useSsn:()=>r(!1),useDocUpload:i,verificationService:e}):q.createElement("div",{id:"sid-step-social-security",className:"sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.title",defaultMessage:"Enter your social security number"})),q.createElement(ec,{verificationService:e}),q.createElement("div",{className:"sid-ssn-wrapper"},q.createElement(th,{value:n.socialSecurityNumber,onChange:t=>{((t,r)=>{const a=Bs(n,(e=>{e[t]=r}));e.updateViewModel(a)})("socialSecurityNumber",t),Xs("socialSecurityNumber",t,e)},isErrored:!!a[_e.socialSecurityNumber],placeholder:"000-00-0000"}))),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>al(n,e,ve.collectSocialSecurityNumber),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(o?"":"sid-btn--disabled-like"),"aria-label":"submit",ref:e=>qs("submitButton",e)},q.createElement(ir,{id:"proceed",defaultMessage:"Proceed"})))),q.createElement("div",{className:"sid-form-region sid-l-space-top-md",role:"button",tabIndex:0,onKeyUp:i,onClick:i},q.createElement("div",{className:"sid-h-link-like"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.uploadInstead",defaultMessage:"Upload a document instead"}))),q.createElement(Nm,{verificationService:e}))})),ah=({verificationService:e,isCentered:t})=>q.createElement("div",{className:t?"sid-footer__powered-by-container--stacked sid-l-horz-center":"sid-footer__powered-by-container"},q.createElement("div",{className:t?"sid-footer__powered-by--stacked sid-l-horz-center":"sid-footer__powered-by"},q.createElement(ir,{id:"poweredBy",defaultMessage:"Verification services powered by SheerID."})),q.createElement("div",{className:t?"sid-l-space-top-sm":""}," ",q.createElement(Im,{verificationService:e}))),ih=({verificationService:e})=>{const t=oe((()=>e.verificationResponse.segment)),r=q.useCallback((()=>{hr((function*(){const{programId:r}=e;yield e.resetState(),e.fetchNewVerificationRequest(r,t,void 0,undefined,!0)}))()}),[e.programId,t]);return q.createElement("button",{type:"button",className:"sid-btn sid-btn-light","aria-label":"submit",onClick:r,onKeyPress:r,tabIndex:0},q.createElement(ir,{id:"tryAgain",defaultMessage:"Try again"}))},oh=({children:e})=>q.createElement("div",{className:"sid-l-space-top-lg sid-l-half-width sid-l-horz-center"},e),sh=Rt((({verificationService:e,errorId:t})=>{const r=e.verificationResponse;let n=oe((()=>r.errorIds))||[];t&&(n=[t,...n]);const a=oe((()=>n[0]),"error");let i={id:"error",defaultMessage:"Error"},o="sid-l-horz-center",s=q.createElement(oh,null,q.createElement(ih,{verificationService:e}));if(oe((()=>e.messages[`step.error.errorId.${a}.title`]))&&(i={id:`step.error.errorId.${a}.title`,defaultMessage:e.messages[`step.error.errorId.${a}.title`]}),oe((()=>e.messages[`step.error.errorId.${a}.buttonText`]))&&oe((()=>r.redirectUrl))&&(s=q.createElement(oh,null,q.createElement(cd,{href:r.redirectUrl,onClick:()=>Rd(ve.error,r.redirectUrl),className:"sid-btn sid-btn-light"},q.createElement(ir,{id:`step.error.errorId.${a}.buttonText`,defaultMessage:e.messages[`step.error.errorId.${a}.buttonText`]})))),zi()(n).call(n,"verificationLimitExceeded")&&(s=null,o+=" sid-l-space-top-xl"),zi()(n).call(n,"unauthorizedAccountStatus")){const t=oe((()=>e.programTheme.config.brandInfo.faqUrl));s=t?q.createElement(oh,null,q.createElement(cd,{href:t,onClick:()=>Rd(ve.error,t),className:"sid-btn sid-btn-light"},q.createElement(ir,{id:"step.error.errorId.unauthorizedAccountStatus.buttonText",defaultMessage:e.messages["step.error.errorId.unauthorizedAccountStatus.buttonText"]}))):null}return q.createElement("div",{id:"sid-step-error",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:o},q.createElement(am,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,i)),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-error-msg sid-l-horz-center"},n?q.createElement("p",null,Mr()(n).call(n,(t=>q.createElement(ir,{key:t,id:`errorId.${t}`,defaultMessage:t,values:{feedbackUrl:mn.FEEDBACK_FORM_URL,programId:e.programId||"",locale:xa(e.viewModel,r).replace("-","_")}})))):null),s)),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-xl sid-h-small-text"},q.createElement(ah,{verificationService:e,isCentered:!0})))})),lh="Please sign in to your school's web portal. It will open in a new tab.",uh=({verificationService:e})=>{const t=e.verificationResponse.redirectUrl,r=Boolean(t),n=e.verificationResponse.rewardCode||"${rewardCode}",a="noCode"===e.programTheme.config.offerType;return q.createElement("div",{id:"sid-step-success",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"",src:"https://assets-resources.sheerid.com/common/images/2018/icons/circle-check.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md",role:"alert","aria-live":"polite"},q.createElement(ir,{id:"step.success.title",defaultMessage:"Success! You've been verified."})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-two-thirds-width"},q.createElement(ir,{id:"step.success.subtitle",defaultMessage:"Here is your personal coupon code.\n It is unique to you and can only be used once."}))),a?null:q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center"},n),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(fr,{textToCopy:n,notificationText:q.createElement(ir,{id:"copied",defaultMessage:"Copied"})},q.createElement(ir,{id:"step.success.copyCouponCode",defaultMessage:"Copy Coupon code"})))),q.createElement("div",{className:"sid-footer sid-l-horz-center "+(a?"sid-l-space-top-md":"sid-l-space-top-lg")},q.createElement(ir,{id:"step.success.emailNotification",defaultMessage:"\n We have emailed you a copy so you can use your code now or later. Look for the email from verify@sheerid.com\n "})),r?q.createElement("div",{className:"sid-submit sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:()=>(e=>{window.open(e,"_parent").focus()})(t),className:"sid-btn sid-btn--dark"},q.createElement(ir,{id:"step.success.redirectButtonText",defaultMessage:"Use code now"}))):"",q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text"},q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:"step.success.verificationOnly",defaultMessage:"\n SheerID handles verification only.\n Now that you've been approved, please direct all questions about the\n promotion terms to {companyName} customer service.\n ",values:{companyName:e}})))))};var ch=o(2035),dh=o.n(ch);const fh=q.memo((({countdownSeconds:e,onCountdownFinish:t,logo:r})=>{const[n,a]=q.useState(e),i=q.useRef(n),o=q.useRef(null),s=()=>{const e=i.current-1;a(e),i.current=e,e<0&&(t(),clearInterval(o.current))};return q.useEffect((()=>{if(!Sc())return o.current=dh()(s,1e3),()=>clearInterval(o.current)}),[]),q.createElement("div",{className:"sid-header sid-l-horz-center","data-testid":"sid-countdown-pending"},q.createElement("div",{className:"sid-l-horz-center"},r),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.pending.titleCountdown",defaultMessage:"Processing"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(ir,{id:"step.pending.subtitleCountdown",defaultMessage:"Hang tight while we upload and scan your documents."})),q.createElement("div",{id:"sid-step-pending",className:"sid-l-container"},q.createElement("div",{className:"sid-countdown"},`00:${Dr()(l=`0${n}`).call(l,-2)}`)),q.createElement("div",{className:"sid-l-space-top-xl"}));var l})),mh=({logo:e,cancelSSO:t})=>q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},e),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(ir,{id:"step.sso.subtitle",defaultMessage:"Please sign in to your school's web portal. It will open in a new tab."})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.subtitle2",defaultMessage:"Can't sign in to your school?"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:t,type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(ir,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-xl"}));function ph(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}const hh=({intl:e,logo:t,verificationService:r})=>{const n=r.verificationResponse,[a,i]=q.useState(!1);!a&&((e,t)=>{if(new(wr())(window.location.search).get("alerting"))return!0;const r=oe((()=>e.estimatedReviewTime)),n=oe((()=>e.maxReviewTime)),a=oe((()=>t.estimatedReviewTime)),i=oe((()=>t.maxReviewTime));return void 0!==r&&r!==a||void 0!==n&&n!==i})(r.previousVerificationResponse,n)&&i(!0);const o=il(function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=ph(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=ph(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},n),r.programTheme,e);return q.createElement("div",{className:"sid-header sid-l-horz-center","data-testid":"sid-review-pending"},q.createElement("div",{className:"sid-l-horz-center"},t),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.pending.titleReview",defaultMessage:"Reviewing"})),q.createElement("div",{className:"sid-header__subtitle-one"},a?q.createElement(ir,{id:"step.pending.subtitleAlt",defaultMessage:"SheerID is reviewing your documents, to confirm your status."}):q.createElement(ir,{id:"step.pending.turnaroundTime",defaultMessage:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",values:o})),q.createElement("div",{className:"sid-header__subtitle-two sid-l-space-top-md"},q.createElement(ir,{id:"step.pending.subtitle2",defaultMessage:"Wait here or let us notify you of the outcome."})),q.createElement("div",{className:"sid-header__subtitle-three sid-l-space-top-md"},q.createElement(ir,{id:"step.pending.subtitle3",defaultMessage:"You will be contacted via email."})),a?q.createElement("div",{className:"sid-pending-red-box"},q.createElement("ul",null,q.createElement("li",null,q.createElement(ir,{id:"step.pending.docDiffLang",defaultMessage:"We identified your document is in a different language."})),q.createElement("li",null,q.createElement(ir,{id:"step.pending.turnaroundTime",defaultMessage:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",values:o})))):null,q.createElement("div",{className:"sid-l-space-top-xl"}))},gh=(e,t)=>{const r=q.useRef(null);function n(){clearInterval(r.current)}return q.useEffect((()=>(r.current=dh()(e,t),()=>n())),[e,t]),n},vh=Rt((({verificationService:e,intl:t})=>{const{programId:r}=e,{viewModel:n}=e,a=e.previousViewModel||void 0,i=e.verificationResponse.lastResponse||e.previousVerificationResponse||void 0,{verificationId:o}=e.verificationResponse,s=Sc(),l=Ic()&&Ic()===ve.sso,u=Ic()&&Ic()===ve.docUpload,c=()=>!(!i||i.currentStep!==ve.sso),[d,f]=q.useState(((e,t,r,n)=>(e||!t)&&!r&&!n)("pending"===Sn().mockStep,c(),l,u)),m=c()||d?5e3:2e4,p=!s&&gh((()=>{e.fetchExistingVerificationRequest(r,o,i,a,!1)}),m),h=()=>{const t=Bs(n,(()=>{}));he.info("StepSSOComponent submitting cancel request"),p(),e.submitStep(ve.sso,t,i)},g=()=>{f(!1)},v=q.createElement(am,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})});return q.createElement("div",{id:"sid-step-pending",className:"sid-l-container"},(()=>{const r=c()||l;return d?q.createElement(fh,{logo:v,onCountdownFinish:g,countdownSeconds:20}):r?q.createElement(mh,{logo:v,cancelSSO:h}):q.createElement(hh,{verificationService:e,logo:v,intl:t,maxReviewTime:qa(e.programTheme)})})(),d?q.createElement(ah,{verificationService:e,isCentered:!0}):q.createElement(Nm,{verificationService:e},q.createElement("div",null)," "))})),yh=Rt((({onChange:e,value:t,isErrored:r,errorId:n,intl:a,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-sms-code-id"},q.createElement("div",{className:"sid-l-space-top-md"}),r?q.createElement("div",{className:"sid-field-error"},(e=>{switch(e){case"invalidSMSCode":return q.createElement(ir,{id:"step.smsLoop.errors.codeVerification",defaultMessage:"Verification code could not be validated."});case"expiredSMSCode":return q.createElement(ir,{id:"step.smsLoop.errors.codeExpired",defaultMessage:"Verification code expired."});default:return q.createElement(ir,{id:"errorId.unknownError",defaultMessage:"Unknown Error"})}})(n)):null,q.createElement(ml,{id:"sms-code",isErrored:r,required:!0,placeholder:i||a.formatHTMLMessage({id:"smsCodePlaceholder",defaultMessage:"SMS Code"}),value:t,onChange:t=>e(t.target.value)}))));function bh(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Eh(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=bh(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=bh(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const wh=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,i=Boolean(t.fieldValidationErrors.smsCode),o=t.previousViewModel||void 0,[s,l]=q.useState(""),[u,c]=q.useState(a.errorIds&&zi()(r=a.errorIds).call(r,"incorrectSMSCodeAttemptLimitExceeded")),d=e.formatHTMLMessage({id:"step.smsLoop.successResend",defaultMessage:"SMS message re-sent successfully"}),f=e.formatHTMLMessage({id:"step.smsLoop.errors.codeResendLimit",defaultMessage:"Maximum number of re-tries has been reached."}),m=e.formatHTMLMessage({id:"step.smsLoop.errors.codeResendLimit",defaultMessage:"Maximum number of re-tries has been reached."}),p=e.formatHTMLMessage({id:"step.smsLoop.errors.resend",defaultMessage:"Error sending the SMS message"});q.useEffect((()=>{u&&l(m)}),[]),oe((()=>a.errorIds.length))&&!t.fieldValidationErrors.smsCode&&t.updateFieldValidationErrors(Eh(Eh({},t.fieldValidationErrors),{},{smsCode:a.errorIds[0]}));const h=function(){var e=hr((function*(e){const t=yield ld.getResendNewSmsCode(e);t?(c(!1),l(204===t.status?d:f)):l(p)}));return function(t){return e.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-sms-loop",className:"sid-l-container"},q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.smsLoop.verificationCode",defaultMessage:"Verification Code"})),q.createElement("div",{className:"sid-header__subtitle"},oe((()=>o.phoneNumber))?q.createElement(ir,{id:"step.smsLoop.titleWithNumber",defaultMessage:"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.",values:{number:oe((()=>{var e;return Dr()(e=o.phoneNumber).call(e,-4)}),"")}}):q.createElement(ir,{id:"step.smsLoop.titleWithoutNumber",defaultMessage:"We've sent an SMS to your mobile number. Please enter the code here."})),q.createElement("div",{className:"sid-sms-code-id-wrapper sid-l-horz-center"},q.createElement(yh,{onChange:e=>{const r=Bs(n,(t=>{t.smsCode=e,t.phoneNumber=o&&o.phoneNumber}));t.updateViewModel(r)},value:n.smsCode,isErrored:i,errorId:t.fieldValidationErrors.smsCode})),s&&q.createElement("div",null,q.createElement("p",null,s)),q.createElement("div",{className:"sid-submit sid-l-space-top-md sid-l-horz-center"},q.createElement("button",{id:"sid-submit-sms-code",onClick:()=>{he.info("StepSMSLoop submitting form"),t.submitStep(ve.smsLoop,n,t.verificationResponse)},type:"button",className:"sid-btn sid-btn--dark sid-submit__continue","aria-label":"submit",disabled:!!(!n.smsCode||n.smsCode.length<=0||u)},q.createElement(ir,{id:"step.smsLoop.submitButton",defaultMessage:"Submit"})),q.createElement("div",{className:"sid-l-space-left-sm"}," "),q.createElement("button",{id:"sid-resend-sms-code",onClick:()=>h(a.verificationId),type:"submit",className:"sid-btn sid-btn--light sid-submit__cancel","aria-label":"re-send"},q.createElement(ir,{id:"step.smsLoop.resendButton",defaultMessage:"Re-send"}))),q.createElement("div",{className:"sid-incorrect-number sid-l-horz-center"},q.createElement(ir,{id:"step.smsLoop.incorrectNumber.incorrectNumber1",defaultMessage:"Incorrect number? Click"})," ",q.createElement("button",{type:"button",onClick:()=>window.location.reload(),className:"sid-incorrect-number__refresh-link sid-h-btn-link-like"},q.createElement(ir,{id:"step.smsLoop.incorrectNumber.incorrectNumber2",defaultMessage:"here"})," "),q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:"step.smsLoop.incorrectNumber.incorrectNumber3",defaultMessage:"to return to {companyName}",values:{companyName:e}})))))})),Sh=Rt((({intl:e,verificationService:r})=>{const n=r.verificationResponse,{programId:a}=r,{verificationId:i}=n,{canResendEmailLoop:o}=n,s=n.cancelUrl,l=r.viewModel,u=r.previousViewModel||void 0,c=r.previousVerificationResponse||void 0,[f,m]=q.useState(""),p=oe((()=>u.email));q.useEffect((()=>{(e=>{const r=e.viewModel,n=Ar(),a=Bs(r,(e=>{var a;d()(a=t()(r)).call(a,(t=>{n.has(t)&&(e[t]=n.get(t))}))}));e.updateViewModel(a)})(r)}),[]),q.useEffect((()=>{l.emailToken&&(he.info("StepEmailLoopComponent submitting form"),r.submitStep(ve.emailLoop,l,r.verificationResponse))}),[l.emailToken]),gh((()=>{r.fetchExistingVerificationRequest(a,i,c,u,!1)}),1e4);const h=function(){var t=hr((function*(t){const r=yield ld.getResendNewEmailCode(t);if(r){const t={id:"step.emailLoop.successResend",defaultMessage:"Email re-sent successfully."},n={id:"step.emailLoop.errors.resend",defaultMessage:"Error sending email"},a=204===r.status?e.formatHTMLMessage(t):e.formatHTMLMessage(n);m(a)}else m(e.formatHTMLMessage({id:"step.emailLoop.errors.resend",defaultMessage:"Error sending email"}))}));return function(e){return t.apply(this,arguments)}}(),g=function(){var e=hr((function*(){he.info("StepEmailLoopComponent submitting form after skipping email loop");const e=Vs(l,(()=>{}));r.submitStep(ve.cancelEmailLoop,e,r.verificationResponse)}));return function(){return e.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-email-loop",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:r,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.emailLoop.title",defaultMessage:"Check your email"})),q.createElement("div",{className:"sid-header__subtitle-one"},p?q.createElement(ir,{id:"step.emailLoop.subtitleWithEmail",defaultMessage:"An email has been sent to {email} with a personalized link to complete the verification process.",values:{email:p}}):q.createElement(ir,{id:"step.emailLoop.subtitleWithoutEmail",defaultMessage:"An email has been sent to your email account with a personalized link to complete the verification process."})),q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(ir,{id:"step.emailLoop.subtitle2",defaultMessage:"Please check for an email from us (verify@sheerid.com) for all the details."})),s&&q.createElement("div",{className:"sid-skip-email sid-l-space-top-lg"},q.createElement(ir,{id:"step.emailLoop.skipEmail",defaultMessage:"Unable to retrieve this email? Click "})," ",q.createElement("button",{type:"button",onClick:()=>g(),className:"sid-incorrect-number__refresh-link sid-h-btn-link-like"},q.createElement(ir,{id:"step.emailLoop.skipEmailCTA",defaultMessage:"here"}))," ",q.createElement(ir,{id:"step.emailLoop.skipEmail2",defaultMessage:" to proceed."})),o&&q.createElement("div",{className:"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center"},q.createElement("button",{id:"sid-resend-email",onClick:()=>h(i),type:"submit",className:"sid-btn sid-btn--light sid-submit__cancel","aria-label":"re-send"},q.createElement(ir,{id:"step.emailLoop.resendButton",defaultMessage:"Re-send"}))),f&&q.createElement("div",null,q.createElement("p",null,f)),q.createElement("div",{className:"sid-l-space-top-xl"})))}));var Mh=o(6358),Ch=o.n(Mh),Ih=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function Nh(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=Ih.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var Dh=[".DS_Store","Thumbs.db"];function Th(e){return(null!==e.target&&e.target.files?_h(e.target.files):[]).map((function(e){return Nh(e)}))}function Ah(e,t){return Ol(this,void 0,void 0,(function(){var r;return kl(this,(function(n){switch(n.label){case 0:return e.items?(r=_h(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(Oh))]):[3,2];case 1:return[2,xh(kh(n.sent()))];case 2:return[2,xh(_h(e.files).map((function(e){return Nh(e)})))]}}))}))}function xh(e){return e.filter((function(e){return-1===Dh.indexOf(e.name)}))}function _h(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function Oh(e){if("function"!=typeof e.webkitGetAsEntry)return Ph(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Fh(t):Ph(e)}function kh(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Pl(arguments[t]));return e}(e,Array.isArray(t)?kh(t):[t])}),[])}function Ph(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=Nh(t);return Promise.resolve(r)}function Rh(e){return Ol(this,void 0,void 0,(function(){return kl(this,(function(t){return[2,e.isDirectory?Fh(e):Lh(e)]}))}))}function Fh(e){var t=e.createReader();return new Promise((function(e,r){var n=[];!function a(){var i=this;t.readEntries((function(t){return Ol(i,void 0,void 0,(function(){var i,o,s;return kl(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(n)];case 2:return i=l.sent(),e(i),[3,4];case 3:return o=l.sent(),r(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(Rh)),n.push(s),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function Lh(e){return Ol(this,void 0,void 0,(function(){return kl(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var n=Nh(r,e.fullPath);t(n)}),(function(e){r(e)}))}))]}))}))}var Uh=o(8801);function Bh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Vh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vh(e,t)}(e,t)||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 Vh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var jh=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},zh=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," bytes")}},Hh=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," bytes")}},$h={code:"too-many-files",message:"Too many files"};function qh(e,t){var r="application/x-moz-file"===e.type||(0,Uh.Z)(e,t);return[r,r?null:jh(t)]}function Wh(e,t,r){if(Gh(e.size))if(Gh(t)&&Gh(r)){if(e.size>r)return[!1,zh(r)];if(e.size<t)return[!1,Hh(t)]}else{if(Gh(t)&&e.size<t)return[!1,Hh(t)];if(Gh(r)&&e.size>r)return[!1,zh(r)]}return[!0,null]}function Gh(e){return null!=e}function Yh(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Kh(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function Zh(e){e.preventDefault()}function Jh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((function(t){return!Yh(e)&&t&&t.apply(void 0,[e].concat(n)),Yh(e)}))}}function Xh(e){return function(e){if(Array.isArray(e))return tg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||eg(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||eg(e,t)||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 eg(e,t){if(e){if("string"==typeof e)return tg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tg(e,t):void 0}}function tg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function rg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ng(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rg(Object(r),!0).forEach((function(t){ag(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rg(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ag(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ig(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var og=(0,q.forwardRef)((function(e,t){var r=e.children,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ng(ng({},sg),e),r=t.accept,n=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,o=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,c=t.onDragLeave,d=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,p=t.onDropRejected,h=t.onFileDialogCancel,g=t.preventDropOnDocument,v=t.noClick,y=t.noKeyboard,b=t.noDrag,E=t.noDragEventsBubbling,w=t.validator,S=(0,q.useRef)(null),M=(0,q.useRef)(null),C=Qh((0,q.useReducer)(cg,ug),2),I=C[0],N=C[1],D=I.isFocused,T=I.isFileDialogActive,A=I.draggedFiles,x=(0,q.useCallback)((function(){M.current&&(N({type:"openDialog"}),M.current.value=null,M.current.click())}),[N]),_=function(){T&&setTimeout((function(){M.current&&(M.current.files.length||(N({type:"closeDialog"}),"function"==typeof h&&h()))}),300)};(0,q.useEffect)((function(){return window.addEventListener("focus",_,!1),function(){window.removeEventListener("focus",_,!1)}}),[M,T,h]);var O=(0,q.useCallback)((function(e){S.current&&S.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),x()))}),[S,M]),k=(0,q.useCallback)((function(){N({type:"focus"})}),[]),P=(0,q.useCallback)((function(){N({type:"blur"})}),[]),R=(0,q.useCallback)((function(){v||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?x():setTimeout(x,0))}),[M,v]),F=(0,q.useRef)([]),L=function(e){S.current&&S.current.contains(e.target)||(e.preventDefault(),F.current=[])};(0,q.useEffect)((function(){return g&&(document.addEventListener("dragover",Zh,!1),document.addEventListener("drop",L,!1)),function(){g&&(document.removeEventListener("dragover",Zh),document.removeEventListener("drop",L))}}),[S,g]);var U=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[].concat(Xh(F.current),[e.target]),Kh(e)&&Promise.resolve(a(e)).then((function(t){Yh(e)&&!E||(N({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e))}))}),[a,u,E]),B=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=Kh(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&d&&d(e),!1}),[d,E]),V=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=F.current.filter((function(e){return S.current&&S.current.contains(e)})),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),F.current=t,t.length>0||(N({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Kh(e)&&c&&c(e))}),[S,c,E]),j=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[],Kh(e)&&Promise.resolve(a(e)).then((function(t){if(!Yh(e)||E){var n=[],a=[];t.forEach((function(e){var t=Qh(qh(e,r),2),s=t[0],l=t[1],u=Qh(Wh(e,o,i),2),c=u[0],d=u[1],f=w?w(e):null;if(s&&c&&!f)n.push(e);else{var m=[l,d];f&&(m=m.concat(f)),a.push({file:e,errors:m.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&l>=1&&n.length>l)&&(n.forEach((function(e){a.push({file:e,errors:[$h]})})),n.splice(0)),N({acceptedFiles:n,fileRejections:a,type:"setFiles"}),f&&f(n,a,e),a.length>0&&p&&p(a,e),n.length>0&&m&&m(n,e)}})),N({type:"reset"})}),[s,r,o,i,l,a,f,m,p,E]),z=function(e){return n?null:e},H=function(e){return y?null:z(e)},$=function(e){return b?null:z(e)},W=function(e){E&&e.stopPropagation()},G=(0,q.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,a=e.onKeyDown,i=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=ig(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return ng(ng(ag({onKeyDown:H(Jh(a,O)),onFocus:H(Jh(i,k)),onBlur:H(Jh(o,P)),onClick:z(Jh(s,R)),onDragEnter:$(Jh(l,U)),onDragOver:$(Jh(u,B)),onDragLeave:$(Jh(c,V)),onDrop:$(Jh(d,j))},r,S),n||y?{}:{tabIndex:0}),f)}}),[S,O,k,P,R,U,B,V,j,y,b,n]),Y=(0,q.useCallback)((function(e){e.stopPropagation()}),[]),K=(0,q.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,a=e.onChange,i=e.onClick,o=ig(e,["refKey","onChange","onClick"]);return ng(ng({},ag({accept:r,multiple:s,type:"file",style:{display:"none"},onChange:z(Jh(a,j)),onClick:z(Jh(i,Y)),autoComplete:"off",tabIndex:-1},n,M)),o)}}),[M,r,s,j,n]),Z=A.length,J=Z>0&&function(e){var t=e.files,r=e.accept,n=e.minSize,a=e.maxSize,i=e.multiple,o=e.maxFiles;return!(!i&&t.length>1||i&&o>=1&&t.length>o)&&t.every((function(e){var t=Bh(qh(e,r),1)[0],i=Bh(Wh(e,n,a),1)[0];return t&&i}))}({files:A,accept:r,minSize:o,maxSize:i,multiple:s,maxFiles:l}),X=Z>0&&!J;return ng(ng({},I),{},{isDragAccept:J,isDragReject:X,isFocused:D&&!n,getRootProps:G,getInputProps:K,rootRef:S,inputRef:M,open:z(x)})}(ig(e,["children"])),a=n.open,i=ig(n,["open"]);return(0,q.useImperativeHandle)(t,(function(){return{open:a}}),[a]),q.createElement(q.Fragment,null,r(ng(ng({},i),{},{open:a})))}));og.displayName="Dropzone";var sg={disabled:!1,getFilesFromEvent:function(e){return Ol(this,void 0,void 0,(function(){return kl(this,(function(t){return[2,(r=e,r.dataTransfer&&e.dataTransfer?Ah(e.dataTransfer,e.type):Th(e))];var r}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};og.defaultProps=sg,og.propTypes={children:He().func,accept:He().oneOfType([He().string,He().arrayOf(He().string)]),multiple:He().bool,preventDropOnDocument:He().bool,noClick:He().bool,noKeyboard:He().bool,noDrag:He().bool,noDragEventsBubbling:He().bool,minSize:He().number,maxSize:He().number,maxFiles:He().number,disabled:He().bool,getFilesFromEvent:He().func,onFileDialogCancel:He().func,onDragEnter:He().func,onDragLeave:He().func,onDragOver:He().func,onDrop:He().func,onDropAccepted:He().func,onDropRejected:He().func,validator:He().func};const lg=og;var ug={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function cg(e,t){switch(t.type){case"focus":return ng(ng({},e),{},{isFocused:!0});case"blur":return ng(ng({},e),{},{isFocused:!1});case"openDialog":return ng(ng({},e),{},{isFileDialogActive:!0});case"closeDialog":return ng(ng({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive,n=t.draggedFiles;return ng(ng({},e),{},{draggedFiles:n,isDragActive:r});case"setFiles":return ng(ng({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return ng(ng({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}const dg=q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.nameChanged",defaultMessage:"If your name has changed since the document was issued, upload a 2nd document showing your official name change."})),fg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;let n;switch($r(t),t){case Ce.STUDENT:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.student.idCard",defaultMessage:"School ID card with expiration date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.student.classSchedule",defaultMessage:"Class schedule"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.student.tuitionReceipt",defaultMessage:"Tuition receipt"})));break;case Ce.TEACHER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.teacher.idCard",defaultMessage:"Teacher ID card with valid date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.teacher.payStub",defaultMessage:"Pay stub from within last 60 days"})));break;case Ce.MEMBER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.member.idCard",defaultMessage:"Membership Document"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.member.payStub",defaultMessage:"Pay stub from within last 90 days"})));break;case Ce.SENIOR:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.senior.birthCertificate",defaultMessage:"Your birth certificate"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.senior.driversLicense",defaultMessage:"Your drivers license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.senior.passport",defaultMessage:"Your passport"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.senior.stateId",defaultMessage:"Your state-issued ID"})));break;case Ce.AGE:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.age.birthCertificate",defaultMessage:"Your birth certificate"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.age.driversLicense",defaultMessage:"Your drivers license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.age.passport",defaultMessage:"Your passport"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.age.stateId",defaultMessage:"Your state-issued ID"})));break;case Ce.MILITARY:switch(r){case Ne.ACTIVE_DUTY:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.activeDuty",defaultMessage:"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.allowedDocuments",defaultMessage:"Please only upload documents you are legally allowed to provide."})),dg);break;case Ne.VETERAN:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.veteran",defaultMessage:"Any document that proves you met the qualifications of military service and were honorably discharged"})),dg);break;case Ne.RESERVIST:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.reservistA",defaultMessage:"Any document that shows you are currently serving in a reserve component of the armed forces"})),dg);break;case Ne.MILITARY_RETIREE:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.retiree",defaultMessage:"Any document that proves you are a retiree from the armed forces"})),dg);break;case Ne.MILITARY_FAMILY:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.dependent",defaultMessage:"Any document that proves you are a Registered Military Dependent"})),dg);break;default:return null}break;case Ce.FIRST_RESPONDER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.firstResponder.idCard",defaultMessage:"ID Card"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.firstResponder.payStub",defaultMessage:"Pay stub from within last 60 days"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.firstResponder.letter",defaultMessage:"An official letter"})));break;case Ce.MEDICAL:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.medical.licenseCertificate",defaultMessage:"Certificate of license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.medical.idCard",defaultMessage:"Nursing ID card with expiration date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.medical.photoPayStub",defaultMessage:"Photo ID and recent Pay Stub"})));break;case Ce.EMPLOYMENT:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.employment.employeeIdCard",defaultMessage:"Employee ID Card"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.employment.payStub",defaultMessage:"Pay stub from within last 60 days"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.employment.officialLetter",defaultMessage:"An official letter"})));break;case Ce.LICENSED_PROFESSIONAL:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.licensedProfessional.license",defaultMessage:"Certificate of license"})));break;case Ce.RECENT_MOVER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.recentMover.changeOfAddress",defaultMessage:"U.S. Postal Service change of address confirmation letter"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.recentMover.mortgageDeed",defaultMessage:"Mortgage deed"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.recentMover.rentalAgreement",defaultMessage:"Lease or rental agreement"})));break;case Ce.LOW_INCOME:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.lowIncome.programCard",defaultMessage:"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.lowIncome.programApprovalLetter",defaultMessage:"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot",defaultMessage:"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.lowIncome.programBankStatement",defaultMessage:"A bank statement showing recent payment of the selected benefit."})));break;default:return null}return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.acceptableUploadExamples",defaultMessage:"Acceptable examples include:"}))),n)},mg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;switch($r(t),t){case Ce.STUDENT:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your school-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.student.school",defaultMessage:"Your school"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.student.enrollmentDate",defaultMessage:"Date proving enrollment for the current term (or within last 3 months)"}))));case Ce.TEACHER:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your school-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.teacher.school",defaultMessage:"Your school"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.teacher.currentSchoolYear",defaultMessage:"A date in the current school year"}))));case Ce.MEMBER:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.organization",defaultMessage:"Your organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.affiliation",defaultMessage:"Your current affiliation with that organization"}))));case Ce.MILITARY:return r===Ne.MILITARY_FAMILY?q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInfo.military.uploadInstructionsDependent",defaultMessage:"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status"})))):q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your government-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.military.serviceBranch",defaultMessage:"Your branch of service"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.military.dischargeDate",defaultMessage:"Your discharge date (if applicable)"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.military.currentAffiliation",defaultMessage:"Your current affiliation with the armed services"}))));case Ce.SENIOR:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload a government-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.senior.birthDate",defaultMessage:"Your date of birth"}))));case Ce.AGE:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload a government-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.age.birthDate",defaultMessage:"Your date of birth"}))));case Ce.FIRST_RESPONDER:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.firstResponder.organization",defaultMessage:"Your organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.firstResponder.currentAffiliation",defaultMessage:"Your current affiliation with that organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.firstResponder.license",defaultMessage:"Your status or license as a First Responder"}))));case Ce.MEDICAL:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.medical.status",defaultMessage:"Your nursing status"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.medical.validDate",defaultMessage:"A currently valid date"}))));case Ce.EMPLOYMENT:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.employment.company",defaultMessage:"Your company"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.employment.currentAffiliation",defaultMessage:"Your current affiliation with that company"}))));case Ce.IDENTITY:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.identity.validDate",defaultMessage:"A currently valid date"}))));case Ce.LICENSED_PROFESSIONAL:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.licensedProfessional.licenseStatus",defaultMessage:"Your professional license and/or certification status"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.identity.validDate",defaultMessage:"A currently valid date"}))));case Ce.LOW_INCOME:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.lowIncome.validDate",defaultMessage:"The date when the document was issued (should be within the last 12 months) or the expiry date"}))));case Ce.RECENT_MOVER:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.recentMover.address",defaultMessage:"Your new address"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.recentMover.validDate",defaultMessage:"A valid date for your recent move"}))));default:return null}},pg=Rt((({verificationService:e,intl:r})=>{var n;const a=e.verificationResponse,{rejectionReasons:o}=a,{programTheme:s}=e,l=e.viewModel,{fieldValidationErrors:u}=e,c=oe((()=>e.verificationResponse.subSegment)),{overrideEnabled:f}=e.programTheme,m=e=>{var t;return{name:e.name,url:zi()(t=e.type).call(t,"image")?br().createObjectURL(e):""}},p=[];wc(un)&&p.push({name:"myFile.png",url:""}),l.file1&&l.file1.name&&p.push(m(l.file1)),l.file2&&l.file2.name&&p.push(m(l.file2)),l.file3&&l.file3.name&&p.push(m(l.file3));const h=(r,n)=>{e.updateViewModel(((e,r,n)=>Bs(e,(a=>{var o,s,l,u,c,f;d()(o=Rr()(s=ee()(l=Mr()(u=i()(c=t()(e)).call(c,(t=>!!e[t]&&zi()(t).call(t,"file")))).call(u,(t=>e[t]))).call(l,r,hf()(f=Array(3)).call(f,void 0))).call(s,0,3)).call(o,((e,t)=>a[`file${t+1}`]=e)),a.erroredFileNames=n||void 0})))(l,r,n))},g=r=>{const n=r+1;e.updateViewModel(((e,r)=>{var n;if(!zi()(n=[1,2,3]).call(n,r))throw new Error(`Expected either 1, 2 or 3 for argument "fileNumber", but received ${r}`);return Bs(e,(n=>{var a,o,s,l,u,c;d()(a=Rr()(o=ee()(s=Mr()(l=i()(u=t()(e)).call(u,(e=>zi()(e).call(e,"file")&&!zi()(e).call(e,r.toString())))).call(l,(t=>e[t]))).call(s,hf()(c=Array(3)).call(c,void 0))).call(o,0,3)).call(a,((e,t)=>n[`file${t+1}`]=e))}))})(l,n))},v=t=>{t.length>0?(t=>{const r=[],n=[],a=[];for(const e of t){const t=Lo(ve.docUpload,e);void 0===t?r.push(e):(a.push(e.name),n.push(t))}let i;n&&(i=Bs(u,(e=>{e.docUpload=n[0]}))),e.updateFieldValidationErrors(i),h(r,a)})(t):t.length<=0&&he.error("No files were accepted or rejected. Unknown error.","docUpload drag n drop")},y=u.docUpload||oe((()=>e.verificationResponse.errorIds[0]),void 0)?q.createElement("div",{className:"sid-field-error sid-field-error__doc-upload sid-l-horz-center"},q.createElement(ir,{id:`errorId.${u.docUpload}`,defaultMessage:"No valid files"}),l.erroredFileNames?Mr()(n=l.erroredFileNames).call(n,(e=>q.createElement("div",null,e))):null):null,b=function(){var t=hr((function*(){he.info("StepDocUploadComponent submitting form after skipping document upload");const t=Bs(l,(()=>{}));e.submitStep(ve.cancelDocUpload,t,e.verificationResponse)}));return function(){return t.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-doc-upload",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-upload2.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.docUpload.title",defaultMessage:"We need more information"})),q.createElement(xm,{verificationService:e}),o&&o.length>0?q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",null,q.createElement(ir,{id:"step.docUpload.rejectedSubtitle",defaultMessage:"We were unable to confirm your eligibility due to:"})),q.createElement("ul",{className:"sid-upload-rejection-list"},Mr()(o).call(o,(e=>q.createElement("li",{key:e,className:"sid-upload-rejection-list__li"},q.createElement(ir,{id:`step.docUpload.rejectionReasons.${e}`,defaultMessage:`${e}`})))))):q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",null,q.createElement(ir,{id:"step.docUpload.subtitle",defaultMessage:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",values:{estimatedWaitTime:il(a,s,r).estReviewTime}})," ",q.createElement(Tm,{verificationService:e})))),0===p.length?q.createElement("div",null,q.createElement("div",{className:"sid-upload-info sid-l-space-top-md"},q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(mg,{verificationService:e})),Sn().hideMilitaryFamilyAcceptableUploads&&c===Ne.MILITARY_FAMILY?null:q.createElement("div",{className:"sid-l-space-top-md"},q.createElement(fg,{verificationService:e}))),q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},q.createElement("div",{className:"sid-dropzone-wrap"},y,q.createElement(lg,{onDrop:v},(({getRootProps:e,getInputProps:t})=>q.createElement("section",ki({},e(),{className:"sid-dropzone-wrap__dropzone"}),q.createElement("input",t()),q.createElement("p",{className:"sid-dropzone-wrap__instructions sid-l-horz-center"},q.createElement(ir,{id:"step.docUpload.fileInstructions",defaultMessage:'Drag & drop your files here or <span class="sid-dropzone-wrap__link">browse</span>'}))))),q.createElement("div",{className:"sid-dropzone-wrap__accepted-types sid-l-space-top-sm"},q.createElement(ir,{id:"step.docUpload.acceptedTypes",defaultMessage:"Acceptable file types: png, gif, jpg, bmp, pdf"}))))):null,q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},p.length>0?q.createElement("div",{className:"sid-file-list sid-l-space-top-md"},Mr()(p).call(p,((e,t)=>q.createElement("div",{className:"sid-file-list__file",key:e.name},e.url?q.createElement("img",{className:"sid-file-list__thumbnail",src:e.url,alt:"File thumbnail"}):q.createElement("div",{className:"sid-file-list__no-thumbnail"},q.createElement("img",{alt:"File thumbnail",src:"https://assets-resources.sheerid.com/common/images/2018/icons/default-image.svg"})),q.createElement("div",{className:"sid-file-list__name"},e.name),q.createElement("div",{role:"button",tabIndex:0,"aria-label":`Remove file ${e.name}`,className:"sid-file-list__remove-btn",onClick:()=>g(t),onKeyPress:()=>g(t)})))),y,p.length<3?q.createElement("div",{className:"sid-add-more-files"},q.createElement("label",{className:"sid-add-more-files__label sid-add-more-files--selectable",htmlFor:"file","aria-label":"add file",id:"sid-add-file",role:"button",tabIndex:0,onKeyDown:e=>(e=>{const t=Gs("addFile");"Enter"!==e.key&&" "!==e.key||t.click()})(e)},q.createElement("input",{type:"file",id:"file",tabIndex:-1,className:"sid-add-more-files__input","aria-describedby":"sid-add-file",onChange:e=>{v(Ch()(e.target.files))},accept:"image/jpeg,image/gif,image/png,application/pdf,image/bmp,image/gif",ref:e=>qs("addFile",e)}),q.createElement("img",{className:"sid-add-more-files__image",alt:"add more files",src:"https://assets-resources.sheerid.com/common/images/2018/icons/add-file.svg"}),q.createElement(ir,{id:"step.docUpload.addFile",defaultMessage:"Add file"}))):null,q.createElement("div",{className:"sid-submit sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-doc-upload",onClick:()=>{he.info("StepDocUploadComponent submitting form"),e.submitStep(ve.docUpload,l,e.verificationResponse)},type:"submit",className:"sid-btn sid-btn--dark sid-submit__continue","aria-label":r.formatHTMLMessage({id:"step.docUpload.submitButtonLabel",defaultMessage:"Continue"}),disabled:p.length<=0},q.createElement(ir,{id:"step.docUpload.submitButtonLabel",defaultMessage:"Continue"})),q.createElement("button",{onClick:()=>{const t=Bs(u,(e=>{e.docUpload=void 0}));e.updateFieldValidationErrors(t),e.updateViewModel((e=>Bs(e,(e=>{for(let t=0;t<3;t++)e[`file${t+1}`]=void 0})))(l))},type:"button",className:"sid-btn sid-btn--light sid-submit__cancel sid-l-space-left-sm","aria-label":"cancel",disabled:p.length<=0},q.createElement(ir,{id:"step.docUpload.cancelButtonLabel",defaultMessage:"Cancel"})))):null),f&&q.createElement("div",{className:"sid-submit sid-l-horz-center sid-l-space-top-sm"},q.createElement("a",{href:"#",className:"sid-link",onClick:()=>b(),role:"button"},q.createElement(ir,{id:"step.docUpload.cancelDocUploadLabel",defaultMessage:"Click here if you are unable to verify with a document"}))),q.createElement(Nm,{verificationService:e}))})),hg=({verificationService:e})=>{const t=e.verificationResponse.consolationRewardCode||"${consolationRewardCode}";return q.createElement("div",{id:"sid-step-consolation",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md",role:"alert","aria-live":"polite"},q.createElement(ir,{id:"step.consolation.title",defaultMessage:"Claim your offer"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-two-thirds-width"},q.createElement(ir,{id:"step.consolation.subtitle",defaultMessage:"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once."}))),q.createElement("div",{className:"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center"},t),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(fr,{textToCopy:t,notificationText:q.createElement(ir,{id:"copied",defaultMessage:"Copied"})},q.createElement(ir,{id:"step.success.copyCouponCode",defaultMessage:"Copy Coupon code"}))),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg"},q.createElement(ir,{id:"rewardCodeEmailNotification",defaultMessage:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com."})),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text"},q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:"step.consolation.verificationOnly",defaultMessage:"Please direct any and all questions about this offer to {companyName}.",values:{companyName:e}})))))},gg=Rt((({value:e,isErrored:t,onChange:r,placeholder:n=""})=>q.createElement(vl,{fieldId:"overrideCode",value:e,onChange:r,placeholder:"",label:q.createElement(ir,{id:"step.override.verificationOverrideCodeLabel",defaultMessage:"Verification Override Code"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidOverrideCode",defaultMessage:"Invalid Override Code"}),showPlaceholderAndHideLabel:!!n})));function vg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function yg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=vg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=vg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const bg=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,{fieldValidationErrors:i}=t,[o,s]=q.useState(""),l=a.errorIds&&zi()(r=a.errorIds).call(r,"incorrectVerificationOverrideCodeAttemptLimitExceeded"),u=e.formatHTMLMessage({id:"step.override.errors.codeOverrideLimit",defaultMessage:"Override code limit exceeded."});q.useEffect((()=>{l&&s(u)}),[]),oe((()=>a.errorIds.length))&&!t.fieldValidationErrors.overrideCode&&t.updateFieldValidationErrors(yg(yg({},t.fieldValidationErrors),{},{overrideCode:a.errorIds[0]}));return q.createElement("div",{id:"sid-step-overrice-code",className:"sid-l-container"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:t,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.override.title",defaultMessage:"Unable to Verify Status"})),q.createElement("div",{className:"sid-header__subtitle-one sid-l-horz-center"},q.createElement(ir,{id:"step.override.subtitle",defaultMessage:"Please sign in to your school's web portal. It will open in a new tab."})),q.createElement("div",{className:"sid-header__subtitle-one sid-l-horz-center"},q.createElement(ir,{id:"step.override.subtitle2",defaultMessage:"This will enable the customer to redeem the offer"})),q.createElement(gg,{value:n.overrideCode,isErrored:!!i.overrideCode,onChange:e=>{mf(yg(yg({},n),{},{overrideCode:e})),Xs("overrideCode",e,t)}}),o&&q.createElement("div",null,q.createElement("p",null,o)),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>{he.info("StepOverrideCode submitting form"),t.submitStep(ve.override,n,t.verificationResponse)},type:"button",className:"sid-btn sid-btn--dark sid-l-full-width "+(ro(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit",disabled:!!(!n.overrideCode||n.overrideCode.length<=0||l)},q.createElement("span",{id:"verify-status-text"},q.createElement(ir,{id:"step.override.submitOverrideCodeButtonLabel",defaultMessage:"Submit Override Codes"}))))),q.createElement(Nm,{verificationService:t}))})),Eg={StepStudentPersonalInfoComponent:Fm,StepSeniorPersonalInfoComponent:zm,StepAgePersonalInfoComponent:Gm,StepTeacherPersonalInfoComponent:Jm,StepMemberPersonalInfoComponent:rp,StepCollectMilitaryStatusComponent:({verificationService:e})=>q.createElement(dp,{verificationService:e}),StepActiveMilitaryPersonalInfoComponent:dp,StepInactiveMilitaryPersonalInfoComponent:hp,StepFirstResponderPersonalInfoComponent:bp,StepMedicalProfessionalPersonalInfoComponent:Cp,StepEmploymentPersonalInfoComponent:Ap,StepDriverLicensePersonalInfoComponent:kp,StepGeneralIdentityPersonalInfoComponent:Fp,StepHybridIdentityPersonalInfoComponent:Bp,StepLicensedProfessionalPersonalInfoComponent:$p,StepMoverPersonalInfoComponent:Gp,StepLowIncomePersonalInfoComponent:Qp,StepSocialSecurityNumber:nh,StepSuccessComponent:uh,StepConsolationComponent:hg,StepOverrideComponent:bg,StepDocUploadComponent:pg,StepPendingComponent:vh,StepSSOComponent:({verificationService:e})=>{const{programId:t}=e,r=e.viewModel,n=e.previousViewModel||void 0,a=e.verificationResponse,i=e.previousVerificationResponse||void 0,{verificationId:o}=e.verificationResponse,s=Sc();let l;const u=(t,n)=>{const a=Bs(r,(e=>{e[t]=n}));e.updateViewModel(a)},c=()=>{var e;e=window.open(a.loginUrl,"_blank"),$s=e,$s.focus()};return r.isSSOActive&&!s&&(l=ur()((()=>{e.fetchExistingVerificationRequest(t,o,i,n)}),1e3)),!r.countryChoice&&n&&n.countryChoice&&u("countryChoice",n.countryChoice),q.createElement("div",{id:"sid-step-sso",className:"sid-l-container"},r.isSSOActive?q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(ir,{id:"step.sso.subtitle",defaultMessage:lh})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.subtitle2",defaultMessage:"Can't sign in to your school?"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:()=>{Ks();const t=Bs(r,(()=>{}));he.info("StepSSOComponent submitting cancel request"),clearTimeout(l),e.submitStep(ve.sso,t,e.verificationResponse)},type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(ir,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-xl"})):q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(am,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(ir,{id:"step.sso.subtitle",defaultMessage:lh})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-btn-sso",onClick:()=>(u("isSSOActive",!0),void c()),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(ir,{id:"step.sso.login",defaultMessage:"Sign in to my school"}))),q.createElement("div",{className:"sid-l-space-top-xl"})),q.createElement(Nm,{verificationService:e}))},StepErrorComponent:sh,StepSMSLoopComponent:wh,StepEmailLoopComponent:Sh},wg=e=>{he.info("getComponent",e);const t=(e=>kc[e]?(he.log(`getOverridenComponent returning ${e}`),kc[e]):null)(e);return t||Eg[e]},Sg=({stepToLoad:e,verificationService:t})=>{let r;he.info(`LoadStepComponent: rendering step: ${e}`);let n=!1;switch(e){case ve.collectStudentPersonalInfo:r=wg("StepStudentPersonalInfoComponent");break;case ve.collectSeniorPersonalInfo:r=wg("StepSeniorPersonalInfoComponent");break;case ve.collectAgePersonalInfo:r=wg("StepAgePersonalInfoComponent");break;case ve.collectTeacherPersonalInfo:r=wg("StepTeacherPersonalInfoComponent");break;case ve.collectMemberPersonalInfo:r=wg("StepMemberPersonalInfoComponent");break;case ve.collectMilitaryStatus:r=wg("StepCollectMilitaryStatusComponent");break;case ve.collectActiveMilitaryPersonalInfo:r=wg("StepActiveMilitaryPersonalInfoComponent");break;case ve.collectInactiveMilitaryPersonalInfo:r=wg("StepInactiveMilitaryPersonalInfoComponent");break;case ve.collectFirstResponderPersonalInfo:r=wg("StepFirstResponderPersonalInfoComponent");break;case ve.collectMedicalProfessionalPersonalInfo:r=wg("StepMedicalProfessionalPersonalInfoComponent");break;case ve.collectEmployeePersonalInfo:r=wg("StepEmploymentPersonalInfoComponent");break;case ve.collectDriverLicensePersonalInfo:r=wg("StepDriverLicensePersonalInfoComponent");break;case ve.collectGeneralIdentityPersonalInfo:r=wg("StepGeneralIdentityPersonalInfoComponent");break;case ve.collectHybridIdentityPersonalInfo:r=wg("StepHybridIdentityPersonalInfoComponent");break;case ve.collectLicensedProfessionalPersonalInfo:r=wg("StepLicensedProfessionalPersonalInfoComponent");break;case ve.collectMoverPersonalInfo:r=wg("StepMoverPersonalInfoComponent");break;case ve.collectLowIncomePersonalInfo:r=wg("StepLowIncomePersonalInfoComponent");break;case ve.collectSocialSecurityNumber:r=wg("StepSocialSecurityNumber");break;case ve.success:r=wg("StepSuccessComponent"),n=!0;break;case ve.consolation:r=wg("StepConsolationComponent"),n=!0;break;case ve.override:r=wg("StepOverrideComponent"),n=!0;break;case ve.docUpload:r=wg("StepDocUploadComponent"),n=!0;break;case ve.pending:r=wg("StepPendingComponent"),n=!0;break;case ve.sso:r=wg("StepSSOComponent");break;case ve.smsLoop:r=wg("StepSMSLoopComponent"),n=!0;break;case ve.emailLoop:r=wg("StepEmailLoopComponent"),n=!0;break;case ve.missingRequiredMetadata:return q.createElement(sh,{verificationService:t,errorId:"missingRequiredMetadata"});case ve.error:r=wg("StepErrorComponent");break;default:const a=`Error: Unknown step to render in LoadStepComponent.\n Unable to render step name "${e}". Possible steps are [${ye.join(", ")}]`;return he.error(a,"Unknown step in LoadStepComponent"),q.createElement(sh,{verificationService:t,errorId:"invalidStep"})}return n?q.createElement(q.Suspense,{fallback:q.createElement(Oc,null)},q.createElement(r,{verificationService:t})):q.createElement(r,{verificationService:t})},Mg=({styles:e,children:t})=>q.createElement("div",null,e?q.createElement("style",null,(e=>window.self===window.top?e.replace(/body,/g,"").replace(/label,/g,"").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g,"").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g,"").replace(/h1\s*?\{[\s\S]*?\}\n?/g,""):e)(e)):null,t);Mg.defaultProps={styles:"",children:""};const Cg=({verificationService:e})=>e.programTheme&&e.programTheme.isTestMode?q.createElement("div",{className:"sid-test-mode-flag sid-l-container sid-l-horz-center"},"Test Mode",q.createElement(cd,{className:"sid-test-mode-flag__link",href:"http://developer.sheerid.com/getting-started#test-program","aria-label":"learn more about a sheerid test mode program"},"(learn more)")):null,Ig=function(){var e=hr((function*(){if(!document.getElementById("ipqs"))return new(vr())((e=>{const t=document.createElement("script");t.src="https://fd.sheerid.com/api/*/BJOvvIiNpZnA9XHXIHVc0S4FO87k4eub6NLOfmShTU7nRqamLKTzQixwD7XETz7bvtNHmicHNx9hEtOJ9NPo3kUJBl7o1jpwcbcXeOMDJjvulAWSrRnO7WYq9gxL6xNT0xnfou5UlshUGWQ2g68qBuWajMWbxZ25JELntxaP0neiVUbephG5E79ES89qBo4uIGBDvykdJb75hpo0URvJ0Fm1j6fuEqHQBq64Mi390KC9XoQwiFxyboxQ5lSooY4p/learn.js",t.async=!0,t.id="ipqs",document.body.appendChild(t),t.onload=()=>{e()}}))}));return function(){return e.apply(this,arguments)}}(),Ng=function(){var e=hr((function*(e,t){oe((()=>e.ipqsDeviceFingerprintEnabled),!1)&&(yield Ig(),window.IPQ={Callback:()=>{window.Startup.Store("transactionID",t),window.Startup.Init()}})}));return function(t,r){return e.apply(this,arguments)}}();function Dg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Tg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Dg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Dg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ag=({locale:e,messages:t,programTheme:r,verificationService:n})=>{q.useEffect((()=>{Ng(r,n.verificationResponse.verificationId)}),[n.verificationResponse.verificationId]);const a=Tg(Tg({},t),ba()(Da(e)));return q.createElement(Kt,{locale:"en",key:e,messages:a,textComponent:Bi},q.createElement(Mg,{styles:Ua(r)},n.isLoading?q.createElement(Oc,{step:n.loadingStep}):q.createElement("div",{className:`${em().isRtlLang(Ta(e))?"sid-rtl":"sid-ltr"} sid-locale-${e}`},!Sn().hideTestModeFlag&&q.createElement(Cg,{verificationService:n}),q.createElement(Sg,{stepToLoad:n.overrideStep||n.verificationResponse.currentStep,verificationService:n}))))},xg=()=>{window.addEventListener("message",(e=>{"true"===("string"==typeof e.data?JSON.parse(e.data):e.data).isInLightBox&&(document.addEventListener("keydown",(e=>{const t=document.querySelectorAll('button, .sid-link, input, select, textarea, [tabindex]:not([tabindex="-1"]'),r=t[t.length-1];"Tab"===e.key&&r&&(window.addEventListener("message",(t=>{"lastElement"===("string"==typeof t.data?JSON.parse(t.data):t.data).focusOn&&(r.focus(),e.preventDefault())})),e.shiftKey||document.activeElement!==r||(window.parent.postMessage({focusOn:"firstElement"},"*"),e.preventDefault()))})),window.parent.postMessage({focusOn:"firstElement"},"*"))}))};function _g(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Og(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=_g(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=_g(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}class kg extends q.Component{constructor(e){super(e),b(this,"verificationService",void 0),he.info("NewVerificationComponent: constructing"),this.props.trackingId&&this.props.trackingId.length?he.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`):he.info("No trackingId to associate with the verification request")}componentDidMount(){var e;if(ws(),xg(),Zr(e=e=>{"setViewModel"===e.data.action&&mf(e.data.viewModel)}),window[$c](qc,(t=>{e(t)}),!1),(()=>{try{return new(wr())(window.location.search).get(rn)===we.loading||Sn()[rn]===we.loading}catch(e){return he.error(e,"isMockingLoading"),!1}})())he.info("Mocking loading screen. Not fetching new verification request.");else{he.info("NewVerificationComponent: fetchNewVerificationRequest");const e=oe((()=>this.props.verificationService.verificationResponse.segment));this.props.verificationService.fetchNewVerificationRequest(this.props.programId,e,this.props.verificationService.previousViewModel,this.props.trackingId)}}render(){const{viewModel:e}=this.props.verificationService,t=xa(e);let r;this.props.messages&&(r=this.props.messages);const n=Og(Og({},r),ba()(Da(t)));if(this.props.verificationService.isLoading&&!this.props.verificationService.loadingStep)return he.info("NewVerificationComponent: VerificationService is loading"),q.createElement(Kt,{locale:"en",key:t,messages:n,textComponent:Bi},q.createElement(Oc,null));const{programTheme:a}=this.props.verificationService,{verificationResponse:i}=this.props.verificationService;return he.info("NewVerificationComponent: verificationResponse, viewModel",i,e),he.info(`NewVerificationComponent: locale: ${t}, currentStep: ${i.currentStep}, messages: `,r),q.createElement(Ag,{locale:t,messages:r,programTheme:a,verificationService:this.props.verificationService})}}const Pg=Vf(((e,t)=>Og({},e)),((e,t)=>({fetchNewVerificationRequest:Bd(e),fetchExistingVerificationRequest:Vd(e),updateViewModel:zd(e),updateLocale:Hd(e,t.programId),updateProgramTheme:$d(e),updateFieldValidationErrors:Wd(e),submitStep:Gd(e),resetState:qd(e)})),((e,t,r)=>Og({verificationService:Og(Og({},e),t),messages:e.messages},r)))(kg),Rg=df();Fd("jslibVersionActual",oe((()=>Zn()),"?"));const Fg=q.forwardRef((({programId:e,trackingId:t},r)=>{var n;return d()(n=oe((()=>window.sheerId.hooks),[])).call(n,(e=>{try{hd(e)}catch(t){he.warn("Error adding hook:",e,t)}})),Rg.dispatch({programId:e,type:"PROGRAM_ID"}),r&&(r.current={refresh:q.useCallback((()=>Rg.dispatch({type:"FORCE_UPDATE"})),[]),reset:q.useCallback((()=>Rg.dispatch({type:"RESET_STATE"})),[])}),q.createElement(Ef,{store:Rg},q.createElement(Ka,null,q.createElement(Pg,{programId:e,trackingId:t})))})),Lg=(Rt((({value:e,isErrored:t,onChange:r,intl:n,onKeyDown:a,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-state"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(pl,{text:q.createElement(ir,{id:"state",defaultMessage:"State"}),htmlForLabel:"sid-state",id:"sid-state-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(ml,{id:"state",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof a?e=>a(e):void 0,placeholder:i||n.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:e,"aria-labelledby":"sid-state-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidState",defaultMessage:"Invalid state"})):null))),Rt((({verificationService:e,includeCompanyName:t,intl:r})=>{const{programTheme:n}=e,a=Va(n),i=`${((e,t)=>{let r="";try{r=new(br())(Va(e)).hostname}catch(e){he.warn("Invalid Privacy Policy URL ",r)}return"www.sheerid.com"===r?"SheerID":t.formatHTMLMessage({id:"companyName",defaultMessage:"{companyName}"})})(n,r)} `;return q.createElement(cd,{className:"sid-privacy-policy sid-link",href:a},t?q.createElement("span",null,i):null,q.createElement(ir,{id:"privacyPolicy",defaultMessage:"Privacy Policy"}))})),(e,t)=>{e.classList.remove("fade-in"),ur()((()=>{document.body.style.overflow="auto",e.parentNode.removeChild(e)}),t)}),Ug=e=>{var t;const r=new(br())(e),n=new(br())(window.location.href);return d()(t=n.searchParams).call(t,((e,t)=>{r.searchParams.has(t)||r.searchParams.set(t,e)})),r.href};class Bg{constructor(e,t){if(b(this,"containerElement",void 0),b(this,"verificationUrl",void 0),b(this,"isMobileDevice",void 0),b(this,"iframe",void 0),b(this,"verificationIframeUid",void 0),b(this,"hasLoaded",!1),b(this,"onLoadEvents",[]),b(this,"installType","cdn_inline_iframe"),Bg.isValidHttpUrl(t)){const r={className:hn.INLINE_IFRAME_CONTENT,title:pn};this.containerElement=e,this.verificationUrl=new(br())(Ug(t)),this.verificationIframeUid=Bg.createUniqueId(),this.createIframe(r),this.addVerificationSizeUpdatesListener()}else he.error("Invalid URL. Provide a proper URL: https://example.com/","iframe url")}static createUniqueId(){return Math.random().toString(36).substr(2,9)}static isValidHttpUrl(e){try{const t=new(br())(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}createIframe(e){this.iframe=document.createElement("iframe"),this.iframe.classList.add(e.className),this.iframe.title=e.title;let t="?";return this.verificationUrl.search&&(t="&"),this.iframe.src=`${this.verificationUrl.href}${t}verificationIframeUid=${this.verificationIframeUid}&${dn}=${encodeURIComponent(Jn())}&${fn}=${this.installType}`,this.iframe.onload=()=>this.onLoad(),this.iframe}addOnLoadEvent(e){try{Zr(e)}catch(e){return void he.error("Invalid callback provided to iFrame.onLoad()",e)}this.hasLoaded?e():this.onLoadEvents.push(e)}onLoad(){var e;this.hasLoaded=!0,d()(e=this.onLoadEvents).call(e,(e=>e()))}addVerificationSizeUpdatesListener(){window.addEventListener("message",(e=>{if(this.verificationUrl.origin!==e.origin)return;const t="string"==typeof e.data?JSON.parse(e.data):e.data;if(t.verificationIframeUid===this.verificationIframeUid)if("updateHeight"===t.action)this.iframe.scrolling="no",this.iframe.style.height=`${t.height}px`;else he.error("Unsupported message.action")}))}setViewModel(e){const t={action:"setViewModel",viewModel:e};this.addOnLoadEvent((()=>this.iframe.contentWindow.postMessage(t,this.verificationUrl.origin)))}setInstallType(e){this.installType=e}init(){this.containerElement.appendChild(this.iframe)}}const Vg=Bg;class jg{constructor(e,t){b(this,"verificationUrl",void 0),b(this,"redirectOnMobile",void 0),b(this,"overlay",void 0),b(this,"wrapper",void 0),b(this,"iframeInstance",void 0),b(this,"isMobileDevice",void 0),b(this,"closeButtonText",void 0),b(this,"closeButton",void 0),b(this,"stopPropagation",void 0),b(this,"popStateEventHandler",(()=>this.closeModal()));const r=t.mobileThreshold?t.mobileThreshold:gn;this.verificationUrl=Ug(e),this.redirectOnMobile=t.mobileRedirect||!1,this.isMobileDevice=window.innerWidth<=r,this.closeButtonText=t.closeButtonText?t.closeButtonText:"",this.closeButton=null,this.stopPropagation=t.stopPropagation||!1,this.overlay=jg.createOverlay(),this.wrapper=this.createWrapper(),this.addFocusListener()}createCloseBtn(){if(this.closeButton=document.createElement("button"),this.closeButton.classList.add(hn.CLOSE_BUTTON),this.closeButton.setAttribute("aria-label","close"),this.closeButtonText){const e=document.createElement("div");e.classList.add(hn.CLOSE_TEXT),e.innerHTML=this.closeButtonText,this.closeButton.appendChild(e)}const e=document.createElement("span");return e.classList.add(hn.CLOSE_ICON),e.setAttribute("role","img"),this.closeButton.appendChild(e),this.closeButton.addEventListener("click",(e=>{e.preventDefault(),this.stopPropagation&&e.stopPropagation(),this.closeModal()})),this.closeButton}closeModal(){window.removeEventListener("popstate",this.popStateEventHandler);const e=vn;Lg(this.overlay,e),Lg(this.wrapper,e)}static createOverlay(){const e=document.createElement("div");return e.classList.add(hn.OVERLAY),e}createWrapper(){const e=document.createElement("div");e.classList.add(hn.MODAL_WRAPPER),e.tabIndex=-1,e.setAttribute("role","dialog"),e.appendChild(this.createCloseBtn()),this.iframeInstance=new Vg(e,this.verificationUrl),this.iframeInstance.setInstallType("cdn_modal_iframe");const t={className:hn.MODAL_IFRAME,title:pn};return this.iframeInstance.createIframe(t),e.appendChild(this.iframeInstance.iframe),e}addPopStateListener(){window.addEventListener("popstate",this.popStateEventHandler)}addFocusListener(){window.addEventListener("message",(e=>{"firstElement"===("string"==typeof e.data?JSON.parse(e.data):e.data).focusOn&&this.closeButton.focus()})),document.addEventListener("keydown",(e=>{"Tab"===e.key&&e.shiftKey&&document.activeElement===this.closeButton&&(this.iframeInstance.iframe.contentWindow.postMessage({focusOn:"lastElement"},"*"),e.preventDefault())}))}isInLightboxPostMessage(e){this.iframeInstance.iframe.contentWindow.postMessage({isInLightBox:e},"*")}displayModal(){this.iframeInstance.iframe.addEventListener("load",(()=>{var e;e=[this.overlay,this.wrapper],d()(e).call(e,(e=>{e.classList.add("fade-in")})),document.body.style.overflow="hidden",this.isInLightboxPostMessage("true")})),document.body.appendChild(this.overlay),document.body.appendChild(this.wrapper),this.addPopStateListener()}init(){this.redirectOnMobile&&this.isMobileDevice?window.top.location.href=this.verificationUrl:this.displayModal()}setViewModel(e){this.iframeInstance.setViewModel(e)}}const zg=jg;const Hg=function(){var e=hr((function*(e,t){const r=yield ld.fetchProgramTheme(t);oe((()=>r.threatMetrixEnabled),!1)&&Sd(e),Ng(r,e)}));return function(t,r){return e.apply(this,arguments)}}();class $g{constructor(e,t,r){if(b(this,"element",void 0),b(this,"programId",void 0),b(this,"trackingId",void 0),b(this,"viewModel",void 0),b(this,"ref",void 0),!(this instanceof $g))throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating VerificationForm?');he.info(`Constructing VerificationFormEs5 ${t}`),Gr(e),this.element=e,this.programId=t,this.trackingId=r,this.ref=q.createRef(),this.render()}refresh(){this.ref.current.refresh()}reset(){this.ref.current.reset()}render(){W.render(q.createElement(Fg,{programId:this.programId,trackingId:this.trackingId,ref:this.ref}),this.element)}unmount(){W.unmountComponentAtNode(this.element)}}class qg{constructor(e){if(b(this,"value",void 0),b(this,"callback",void 0),b(this,"mountPoint",void 0),b(this,"locale",void 0),b(this,"messages",void 0),b(this,"isErrored",void 0),b(this,"errorId",void 0),Gr(e),this.mountPoint=e,this.locale=xa(),this.messages=((e,t=null)=>{qr(e);let r={};Sn().messagesWithLocale[e]?r=Sn().messagesWithLocale[e]:Sn().messagesWithLocale[en]&&(r=Sn().messagesWithLocale[en]);let n={};if(t)try{n=t.intl.messages}catch(e){he.error(e,"Error accessing programTheme.intl.messages")}return(0,ya.flatten)(Sa(Sa({},n),r))})(this.locale),"function"!=typeof this.render)throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating this class?');this.render()}getValue(){return this.value}onChange(e){this.callback=e}setValue(e){this.value=e,this.render()}doChange(e){this.value=e,this.render(),"function"==typeof this.callback&&this.callback(this.value)}setIsErrored(e){this.isErrored=e}setErrorId(e){this.errorId=e}}class Wg extends qg{constructor(e){if(super(e),b(this,"countryCode",void 0),b(this,"programId",void 0),!(this instanceof Wg))return new Wg(e)}setCountry(e){this.countryCode=e,this.render()}getCountry(){return this.countryCode}setProgramId(e){this.programId=e,this.render()}getProgramId(){return this.programId}render(){W.render(q.createElement(Kt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(hm,{countryCode:this.countryCode,onChange:e=>this.doChange(e),programId:this.programId,value:this.value,inputHtmlId:"sid-college-name"})),this.mountPoint)}}function Gg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Yg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Gg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Gg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Kg={getMessages:Aa,setViewModel:mf,resetViewModel:()=>{const e=ff.getState();e.isLoading?hd({name:"ON_VERIFICATION_READY",callback:e=>{Yd(ff.dispatch)(e)}}):Yd(ff.dispatch)(e.verificationResponse)},setOptions:Cn,resetOptions:Mn,refreshStore:()=>{Sn().mockResponse&&df().dispatch({verificationResponse:Sn().mockResponse,type:"VERIFICATION_RESPONSE"}),df().dispatch({type:"FORCE_UPDATE"})},setMetadata:Ad,getMetadata:xd,resetMetadata:()=>{Td=$()({},Dd)},StudentTypeaheadField:Wg,BirthdateField:class extends qg{render(){W.render(q.createElement(Kt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(bm,{value:this.value,locale:this.locale,onChange:e=>this.doChange(e),isErrored:this.isErrored,errorId:this.errorId})),this.mountPoint)}},conversion:Xc,overrideComponent:Pc,resetOverriddenComponents:Rc,loadInModal:function(e,t={}){const r=new zg(e,t);return r.init(),r},loadInlineIframe:function(e,t){const r=new Vg(e,t);return r.init(),r},postVerificationSizeUpdates:function(e={origin:"*",interval:100}){if(window.self!==window.top){let t=document.body.offsetHeight;const r=dh()((()=>{if(t!==document.body.offsetHeight){t=document.body.offsetHeight;const r=t+Wi()(window.getComputedStyle(document.body).marginTop,10)+Wi()(window.getComputedStyle(document.body).marginBottom,10),n=new(br())(window.location.href).searchParams.get("verificationIframeUid");window.parent.postMessage({verificationIframeUid:n,action:"updateHeight",height:r},e.origin)}}),e.interval);return()=>clearInterval(r)}},addHook:hd,allMockedResponses:Ec,hooks:void 0,VerificationForm:$g,collectDeviceProfile:Hg,resetStore:()=>df().dispatch({type:"RESET_STATE"})};window.sheerId=Yg(Yg(Yg({},window.sheerId||{}),Kg),{},{hooks:oe((()=>window.sheerId.hooks),[])}),o.p=ta(),window.sheerIdReqV=(()=>{let e;try{var t;e=z()(t=/jslib(\-nightly)?\@[a-zA-Z0-9\.\-]+/gi.exec(ta())[0].split("@")[1]).call(t)}catch(e){he.error(e)}return e})()})(),s})()));
82
+ */var r,n,a,i,o;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,l=null,u=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(u,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(u,0))},n=function(e,t){l=setTimeout(e,t)},a=function(){clearTimeout(l)},i=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,m=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=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 h&&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 d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=f.now();t.unstable_now=function(){return f.now()-g}}var v=!1,y=null,b=-1,E=5,w=0;i=function(){return t.unstable_now()>=w},o=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"):E=0<e?Math.floor(1e3/e):5};var S=new MessageChannel,M=S.port2;S.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+E;try{y(!0,e)?M.postMessage(null):(v=!1,y=null)}catch(e){throw M.postMessage(null),e}}else v=!1},r=function(e){y=e,v||(v=!0,M.postMessage(null))},n=function(e,r){b=m((function(){e(t.unstable_now())}),r)},a=function(){p(b),b=-1}}function C(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,a=e[n];if(!(void 0!==a&&0<D(a,t)))break e;e[n]=t,e[r]=a,r=n}}function I(e){return void 0===(e=e[0])?null:e}function N(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,a=e.length;n<a;){var i=2*(n+1)-1,o=e[i],s=i+1,l=e[s];if(void 0!==o&&0>D(o,r))void 0!==l&&0>D(l,o)?(e[n]=l,e[s]=r,n=s):(e[n]=o,e[i]=r,n=i);else{if(!(void 0!==l&&0>D(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function D(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var T=[],A=[],x=1,_=null,O=3,k=!1,P=!1,R=!1;function F(e){for(var t=I(A);null!==t;){if(null===t.callback)N(A);else{if(!(t.startTime<=e))break;N(A),t.sortIndex=t.expirationTime,C(T,t)}t=I(A)}}function L(e){if(R=!1,F(e),!P)if(null!==I(T))P=!0,r(U);else{var t=I(A);null!==t&&n(L,t.startTime-e)}}function U(e,r){P=!1,R&&(R=!1,a()),k=!0;var o=O;try{for(F(r),_=I(T);null!==_&&(!(_.expirationTime>r)||e&&!i());){var s=_.callback;if(null!==s){_.callback=null,O=_.priorityLevel;var l=s(_.expirationTime<=r);r=t.unstable_now(),"function"==typeof l?_.callback=l:_===I(T)&&N(T),F(r)}else N(T);_=I(T)}if(null!==_)var u=!0;else{var c=I(A);null!==c&&n(L,c.startTime-r),u=!1}return u}finally{_=null,O=o,k=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||k||(P=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return O},t.unstable_getFirstCallbackNode=function(){return I(T)},t.unstable_next=function(e){switch(O){case 1:case 2:case 3:var t=3;break;default:t=O}var r=O;O=t;try{return e()}finally{O=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=O;O=e;try{return t()}finally{O=r}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();if("object"==typeof o&&null!==o){var l=o.delay;l="number"==typeof l&&0<l?s+l:s,o="number"==typeof o.timeout?o.timeout:B(e)}else o=B(e),l=s;return e={id:x++,callback:i,priorityLevel:e,startTime:l,expirationTime:o=l+o,sortIndex:-1},l>s?(e.sortIndex=l,C(A,e),null===I(T)&&e===I(A)&&(R?a():R=!0,n(L,l-s))):(e.sortIndex=o,C(T,e),P||k||(P=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();F(e);var r=I(T);return r!==_&&null!==_&&null!==r&&null!==r.callback&&r.startTime<=e&&r.expirationTime<_.expirationTime||i()},t.unstable_wrapCallback=function(e){var t=O;return function(){var r=O;O=t;try{return e.apply(this,arguments)}finally{O=r}}}},9164:(e,t,r)=>{"use strict";e.exports=r(9492)},6943:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},4115:()=>{},5353:()=>{},7116:()=>{},6340:()=>{}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return a[e].call(r.exports,r,r.exports,o),r.exports}o.m=a,o.amdO={},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,o.d(a,i),a},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>"es5/"+{41:"messages_cs",44:"messages_no",47:"messages_lo",61:"messages_sk",79:"messages_es-ES",93:"messages_zh-HK",122:"messages_hr",140:"messages_sv",194:"messages_en-GB",195:"messages_es",259:"messages_pt",283:"messages_lt",293:"messages_ko",304:"messages_fi",348:"messages_da",398:"messages_id",456:"messages_ga",458:"messages_bg",478:"messages_ms",482:"messages_el",485:"messages_fr-CA",494:"messages_zh",495:"messages_pt-BR",589:"messages_pl",596:"messages_nl",645:"messages_fr",666:"messages_sl",691:"messages_ja",711:"messages_ar",722:"messages_hu",753:"messages_ru",772:"Tmetrix",797:"messages_it",845:"messages_th",856:"messages_tr",903:"messages_de",916:"messages_sr",961:"messages_iw"}[e]+".bundle.js",o.miniCssF=e=>"sheerid.css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="sheerid:",o.l=(e,t,a,i)=>{if(r[e])r[e].push(t);else{var s,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+a){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",n+a),s.src=e,0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous")),r[e]=[t];var f=(t,n)=>{s.onerror=s.onload=null,clearTimeout(m);var a=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach((e=>e(n))),t)return t(n)},m=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="",(()=>{var e={143:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var i=o.p+o.u(t),s=new Error;o.l(i,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[i,s,l]=r,u=0;if(i.some((t=>0!==e[t]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(l)l(o)}for(t&&t(r);u<i.length;u++)a=i[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunksheerid=self.webpackChunksheerid||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var s={};return(()=>{"use strict";o.r(s),o.d(s,{VerificationForm:()=>Bg,overrideComponent:()=>Lc,resetOptions:()=>Mn,resetOverriddenComponents:()=>Uc,setOptions:()=>Cn});var e=o(8818),t=o.n(e),r=o(3567),n=o.n(r),a=o(7917),i=o.n(a),l=o(3029),u=o.n(l),c=o(9154),d=o.n(c),f=o(6500),m=o.n(f),p=o(3537),h=o.n(p),g=o(944),v=o.n(g),y=o(6709);function b(e,t,r){return t in e?y(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==E&&E,w={searchParams:"URLSearchParams"in E,iterable:"Symbol"in E&&"iterator"in Symbol,blob:"FileReader"in E&&"Blob"in E&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in E,arrayBuffer:"ArrayBuffer"in E};if(w.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],M=ArrayBuffer.isView||function(e){return e&&S.indexOf(Object.prototype.toString.call(e))>-1};function C(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function I(e){return"string"!=typeof e&&(e=String(e)),e}function N(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return w.iterable&&(t[Symbol.iterator]=function(){return t}),t}function D(e){this.map={},e instanceof D?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function T(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function A(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function x(e){var t=new FileReader,r=A(t);return t.readAsArrayBuffer(e),r}function _(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function O(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:w.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:w.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:w.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():w.arrayBuffer&&w.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=_(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):w.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||M(e))?this._bodyArrayBuffer=_(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):w.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},w.blob&&(this.blob=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=T(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(x)}),this.text=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=A(t);return t.readAsText(e),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},w.formData&&(this.formData=function(){return this.text().then(R)}),this.json=function(){return this.text().then(JSON.parse)},this}D.prototype.append=function(e,t){e=C(e),t=I(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},D.prototype.delete=function(e){delete this.map[C(e)]},D.prototype.get=function(e){return e=C(e),this.has(e)?this.map[e]:null},D.prototype.has=function(e){return this.map.hasOwnProperty(C(e))},D.prototype.set=function(e,t){this.map[C(e)]=I(t)},D.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},D.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),N(e)},D.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),N(e)},D.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),N(e)},w.iterable&&(D.prototype[Symbol.iterator]=D.prototype.entries);var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function P(e,t){if(!(this instanceof P))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,a=(t=t||{}).body;if(e instanceof P){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new D(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,a||null==e._bodyInit||(a=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new D(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),k.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function R(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),a=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(a))}})),t}function F(e,t){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new D(t.headers),this.url=t.url||"",this._initBody(e)}P.prototype.clone=function(){return new P(this,{body:this._bodyInit})},O.call(P.prototype),O.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new D(this.headers),url:this.url})},F.error=function(){var e=new F(null,{status:0,statusText:""});return e.type="error",e};var L=[301,302,303,307,308];F.redirect=function(e,t){if(-1===L.indexOf(t))throw new RangeError("Invalid status code");return new F(null,{status:t,headers:{location:e}})};var U=E.DOMException;try{new U}catch(e){U=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},U.prototype=Object.create(Error.prototype),U.prototype.constructor=U}function B(e,t){return new Promise((function(r,n){var a=new P(e,t);if(a.signal&&a.signal.aborted)return n(new U("Aborted","AbortError"));var i=new XMLHttpRequest;function o(){i.abort()}i.onload=function(){var e,t,n={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new D,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var a=r.join(":").trim();t.append(n,a)}})),t)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL");var a="response"in i?i.response:i.responseText;setTimeout((function(){r(new F(a,n))}),0)},i.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){n(new U("Aborted","AbortError"))}),0)},i.open(a.method,function(e){try{return""===e&&E.location.href?E.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?i.withCredentials=!0:"omit"===a.credentials&&(i.withCredentials=!1),"responseType"in i&&(w.blob?i.responseType="blob":w.arrayBuffer&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof D?a.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,I(t.headers[e]))})),a.signal&&(a.signal.addEventListener("abort",o),i.onreadystatechange=function(){4===i.readyState&&a.signal.removeEventListener("abort",o)}),i.send(void 0===a._bodyInit?null:a._bodyInit)}))}B.polyfill=!0,E.fetch||(E.fetch=B,E.Headers=D,E.Request=P,E.Response=F);var V=o(8675);o.n(V)()(Object)||(Object.values=function(e){const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t});var j=o(8903),z=o.n(j);!function(e){const t="currentScript";t in e||v()(e,t,{get(){try{throw new Error}catch(n){const a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(n.stack),i=a&&a[1]||!1,o=a&&a[2]||!1,s=e.location.href.replace(e.location.hash,""),l=e.getElementsByTagName("script");let u,c,d,f=0;var t;if(i===s)u=e.documentElement.outerHTML,c=new RegExp(`(?:[^\\n]+?\\n){0,${o-2}}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*`,"i"),d=z()(t=u.replace(c,"$1")).call(t);for(;f<l.length;f+=1){var r;if("interactive"===l[f].readyState)return l[f];if(l[f].src===i)return l[f];if(i===s&&l[f].innerHTML&&z()(r=l[f].innerHTML).call(r)===d)return l[f]}return null}}})}(document);var H=o(9910),$=o.n(H);"function"!=typeof $()&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r=Object(e);for(let e=1;e<arguments.length;e+=1){const t=arguments[e];if(null!=t)for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}return r});var q=o(6255),W=o(3059),G=o(3371),Y=o.n(G),K=o(3049),Z=o.n(K),J=o(1306),X=o.n(J),Q=o(210),ee=o.n(Q),te=o(2021),re=o.n(te),ne=o(3305),ae=o.n(ne);function ie(e){return ae()(e)}function oe(e,t){try{return e()}catch(e){return t}}function se(...e){const r=e=>e&&"object"==typeof e;function n(e,a){var i;return d()(i=t()(a)).call(i,(t=>{const i=e[t],o=a[t];X()(i)&&X()(o)?e[t]=ee()(i).call(i,o):r(i)&&r(o)?e[t]=n($()({},i),o):e[t]=o})),e}if(e.length<2)throw new Error("deepMerge: this function expects at least 2 objects to be provided");if(re()(e).call(e,(e=>!r(e))))throw new Error('deepMerge: all values should be of type "object"');const a=e.shift();let i;for(;i=e.shift();)n(a,i);return a}let le=4,ue="";const ce={info:1,log:2,warn:3,error:4},de={info:"#26c1db",log:"#09f979",warn:"#f6b13f",error:"#e12046"},fe="color: white; font-weight: bold; padding: 2px 10px;";let me;const pe=(...e)=>{le<=3&&console.warn(`%c${ue} warn`,`background: ${de.warn};${fe}`,...e)},he={error:(e,t)=>{if(le<=4){if(!e)return void console.error(new Error("An error must be supplied"));let r;"string"==typeof e&&(r=new Error(e)),(e=>e&&e.stack&&e.message)(e)&&(r=e),r||(r=new Error("Unknown error"));let n={errorMessageGroup:t};try{if(me&&me.getState){const e=me.getState(),r=oe((()=>e.verificationResponse.errorIds));n={errorMessageGroup:t,programId:oe((()=>e.programId)),isLoading:oe((()=>e.isLoading)),isErrored:oe((()=>e.isErrored)),errorIdsFromVerRsp:X()(r)?r.join:void 0,verificationId:oe((()=>e.verificationResponse.verificationId)),currentStep:oe((()=>e.verificationResponse.currentStep)),locale:oe((()=>e.programTheme.intl.locale)),isTestMode:oe((()=>e.programTheme.isTestMode)),openOrgSearchEnabled:oe((()=>e.programTheme.openOrgSearchEnabled)),jslibVerActual:oe((()=>window.sheerIdPubV),"?"),jslibVerRequested:oe((()=>window.sheerIdReqV),"?")}}}catch(e){console.warn("Unable to assemble useful error attributes",e)}try{window.NREUM?window.NREUM.noticeError(r,n):pe("Off-site logging not available.")}catch(e){console.error("Unable to send error to remote service",e)}console.error(`%c${ue} error`,`background: ${de.error};${fe}`,r,n)}},warn:pe,log:(...e)=>{le<=2&&console.log(`%c${ue} log`,`background: ${de.log};${fe}`,...e)},info:(...e)=>{le<=1&&console.log(`%c${ue} info`,`background: ${de.info};${fe}`,...e)},logAPIResponseTime:(e,t)=>{window.NREUM?window.NREUM.addPageAction("API-calls-timing",{api_call:e,api_response_time:t}):pe("Off-site logging not available.")},setLogLevel:e=>{if(!ce.hasOwnProperty(e))throw new Error(`Unknown logLevel '${e}'`);le=ce[e],console.log(`%c${ue} log level set to ${e}`,`background: ${de[e]};${fe}`)},setPrefix:e=>{ue=e},init:e=>{me=e}},ge=["ar","bg","cs","da","de","el","en-GB","en-US","es-ES","es","fi","fr-CA","fr","ga","hr","hu","id","it","iw","ja","ko","lo","lt","ms","nl","no","pl","pt-BR","pt","ro","ru","sk","sl","sr","sv","ur","vi","th","tr","zh-HK","zh","zu"];let ve;!function(e){e.collectStudentPersonalInfo="collectStudentPersonalInfo",e.collectTeacherPersonalInfo="collectTeacherPersonalInfo",e.collectMemberPersonalInfo="collectMemberPersonalInfo",e.collectMilitaryStatus="collectMilitaryStatus",e.collectActiveMilitaryPersonalInfo="collectActiveMilitaryPersonalInfo",e.collectInactiveMilitaryPersonalInfo="collectInactiveMilitaryPersonalInfo",e.collectSeniorPersonalInfo="collectSeniorPersonalInfo",e.collectAgePersonalInfo="collectAgePersonalInfo",e.collectFirstResponderPersonalInfo="collectFirstResponderPersonalInfo",e.collectMedicalProfessionalPersonalInfo="collectMedicalProfessionalPersonalInfo",e.collectEmployeePersonalInfo="collectEmployeePersonalInfo",e.collectSocialSecurityNumber="collectSocialSecurityNumber",e.cancelSocialSecurityNumber="cancelSocialSecurityNumber",e.collectDriverLicensePersonalInfo="collectDriverLicensePersonalInfo",e.collectGeneralIdentityPersonalInfo="collectGeneralIdentityPersonalInfo",e.collectHybridIdentityPersonalInfo="collectHybridIdentityPersonalInfo",e.collectLicensedProfessionalPersonalInfo="collectLicensedProfessionalPersonalInfo",e.collectMoverPersonalInfo="collectMoverPersonalInfo",e.collectLowIncomePersonalInfo="collectLowIncomePersonalInfo",e.docUpload="docUpload",e.pending="pending",e.docReviewLimitExceeded="docReviewLimitExceeded",e.success="success",e.error="error",e.sso="sso",e.smsLoop="smsLoop",e.emailLoop="emailLoop",e.cancelEmailLoop="cancelEmailLoop",e.consolation="consolation",e.override="override",e.cancelDocUpload="cancelDocUpload",e.missingRequiredMetadata="missingRequiredMetadata"}(ve||(ve={}));const ye=Y()(ve),be=i()(ye).call(ye,(e=>Z()(e).call(e,"collect")));let Ee;!function(e){e.docUpload="docUpload",e.pending="pending",e.error="error"}(Ee||(Ee={}));Y()(Ee);let we;!function(e){e.loading="loading",e.collect="collect"}(we||(we={}));const Se=[...Y()(ve),...Y()(we)];let Me,Ce;!function(e){e.student="collectStudentPersonalInfo",e.military="collectActiveMilitaryPersonalInfo",e.teacher="collectTeacherPersonalInfo",e.firstResponder="collectFirstResponderPersonalInfo",e.senior="collectSeniorPersonalInfo",e.age="collectAgePersonalInfo",e.medical="collectMedicalProfessionalPersonalInfo",e.recentMover="collectMoverPersonalInfo",e.licensedProfessional="collectLicensedProfessionalPersonalInfo",e.identity="collectGeneralIdentityPersonalInfo",e.member="collectMemberPersonalInfo"}(Me||(Me={})),function(e){e.STUDENT="student",e.MILITARY="military",e.TEACHER="teacher",e.MEMBER="member",e.SENIOR="senior",e.AGE="age",e.FIRST_RESPONDER="firstResponder",e.MEDICAL="medical",e.EMPLOYMENT="employment",e.IDENTITY="identity",e.LICENSED_PROFESSIONAL="licensedProfessional",e.RECENT_MOVER="recentMover",e.LOW_INCOME="lowIncome"}(Ce||(Ce={}));const Ie=Y()(Ce);let Ne;!function(e){e.ACTIVE_DUTY="activeDuty",e.VETERAN="veteran",e.RESERVIST="reservist",e.MILITARY_RETIREE="retiree",e.MILITARY_FAMILY="militaryFamily",e.GOLD_STAR_FAMILY="goldStarFamily",e.FIREFIGHTER="fireFighter",e.POLICE="police",e.EMT="emt",e.NURSE="nurse",e.DRIVER_LICENSE="driverLicense",e.GENERAL_IDENTITY="generalIdentity",e.HYBRID_IDENTITY="hybridIdentity",e.HOME_BUYER="homeBuyer",e.OTHER_MOVER="otherMover",e.LICENSED_COSMETOLOGIST="licensedCosmetologist",e.LICENSED_REAL_ESTATE_AGENT="licensedRealEstateAgent",e.VETERINARIAN="Veterinarian",e.SNAP_BENEFITS="snapBenefits",e.OTHER_GOVERNMENT_ASSISTANCE="otherGovernmentAssistance",e.CHILD_CARE_WORKER="childCareWorker",e.LIBRARIAN="librarian"}(Ne||(Ne={}));Y()(Ne);const De={ACTIVE_DUTY:"Active Duty",MILITARY_RETIREE:"Military Retiree",RESERVIST:"Reservist or National Guard",VETERAN:"Military Veteran or Retiree",MILITARY_FAMILY:"Military Family",GOLD_STAR_FAMILY:"Gold Star Family"},Te=["Air Force Reserve","Air National Guard","Army Reserve","Army National Guard","Coast Guard Reserve","Marine Corps Forces Reserve","Navy Reserve"],Ae={FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue"},xe={NURSE:"Nurse",DOCTOR:"Doctor",OTHER_HEALTH_WORKER:"Other Health Worker",DENTIST:"Dentist",PHARMACIST:"Pharmacist"};Y()(De),Y()(Ae),Y()(xe),Y()({HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover"}),Y()({SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"});let _e;!function(e){e.firstName="firstName",e.lastName="lastName",e.memberId="memberId",e.organization="organization",e.birthDate="birthDate",e.email="email",e.phoneNumber="phoneNumber",e.postalCode="postalCode",e.address1="address1",e.city="city",e.country="country",e.state="state",e.dischargeDate="dischargeDate",e.activeDutyStartDate="activeDutyStartDate",e.docUpload="docUpload",e.status="status",e.statuses="statuses",e.marketConsentValue="marketConsentValue",e.socialSecurityNumber="socialSecurityNumber",e.carrierConsentValue="carrierConsentValue",e.driverLicenseNumber="driverLicenseNumber",e.ebtCardNumber="ebtCardNumber",e.overrideCode="overrideCode"}(_e||(_e={}));const Oe=Y()(_e);let ke;!function(e){e.ON_VERIFICATION_READY="ON_VERIFICATION_READY",e.ON_VERIFICATION_SUCCESS="ON_VERIFICATION_SUCCESS",e.ON_VERIFICATION_STEP_CHANGE="ON_VERIFICATION_STEP_CHANGE",e.ON_FORM_LOCALE_CHANGE="ON_FORM_LOCALE_CHANGE"}(ke||(ke={}));const Pe=Y()(ke);let Re;!function(e){e.AK="AK",e.AL="AL",e.AR="AR",e.AZ="AZ",e.AS="AS",e.CA="CA",e.CO="CO",e.CT="CT",e.DC="DC",e.DE="DE",e.FL="FL",e.GA="GA",e.GU="GU",e.HI="HI",e.IA="IA",e.ID="ID",e.IL="IL",e.IN="IN",e.KS="KS",e.KY="KY",e.LA="LA",e.MA="MA",e.MD="MD",e.ME="ME",e.MI="MI",e.MN="MN",e.MO="MO",e.MS="MS",e.MT="MT",e.NC="NC",e.ND="ND",e.NE="NE",e.NH="NH",e.NJ="NJ",e.NM="NM",e.NV="NV",e.NY="NY",e.OH="OH",e.OK="OK",e.OR="OR",e.PA="PA",e.PR="PR",e.RI="RI",e.SC="SC",e.SD="SD",e.TN="TN",e.TX="TX",e.UT="UT",e.VA="VA",e.VI="VI",e.VT="VT",e.WA="WA",e.WI="WI",e.WV="WV",e.WY="WY"}(Re||(Re={}));var Fe=o(7116),Le=o.n(Fe),Ue=o(8314),Be=o.n(Ue),Ve=o(1962),je=o.n(Ve),ze=o(914),He=o.n(ze),$e=o(2971),qe=o.n($e),We=o(5958),Ge=o.n(We);function Ye(e){return JSON.stringify(e.map((function(e){return e&&"object"==typeof e?(t=e,Object.keys(t).sort().map((function(e){var r;return(r={})[e]=t[e],r}))):e;var t})))}const Ke=function(e,t){return void 0===t&&(t={}),function(){for(var r,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=Ye(n),o=i&&t[i];return o||(o=new((r=e).bind.apply(r,[void 0].concat(n))),i&&(t[i]=o)),o}};var Ze={locale:"en",pluralRuleFunction:function(e,t){var r=String(e).split("."),n=!r[1],a=Number(r[0])==e,i=a&&r[0].slice(-1),o=a&&r[0].slice(-2);return t?1==i&&11!=o?"one":2==i&&12!=o?"two":3==i&&13!=o?"few":"other":1==e&&n?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},"year-short":{displayName:"yr.",relative:{0:"this yr.",1:"next yr.","-1":"last yr."},relativeTime:{future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},"month-short":{displayName:"mo.",relative:{0:"this mo.",1:"next mo.","-1":"last mo."},relativeTime:{future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},"day-short":{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},"hour-short":{displayName:"hr.",relative:{0:"this hour"},relativeTime:{future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}}},minute:{displayName:"minute",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},"minute-short":{displayName:"min.",relative:{0:"this minute"},relativeTime:{future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}},"second-short":{displayName:"sec.",relative:{0:"now"},relativeTime:{future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}}}};function Je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach((function(e){e&&e.locale&&(Be().__addLocaleData(e),je().__addLocaleData(e))}))}function Xe(e){var t=e&&e.toLowerCase();return!(!Be().__localeData__[t]||!je().__localeData__[t])}var Qe="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},et=(function(){function e(e){this.value=e}function t(t){var r,n;function a(r,n){try{var o=t[r](n),s=o.value;s instanceof e?Promise.resolve(s.value).then((function(e){a("next",e)}),(function(e){a("throw",e)})):i(o.done?"return":"normal",o.value)}catch(e){i("throw",e)}}function i(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?a(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(i,o){var s={key:e,arg:t,resolve:i,reject:o,next:null};n?n=n.next=s:(r=n=s,a(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),tt=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nt=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},at=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},it=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},ot=He().bool,st=He().number,lt=He().string,ut=He().func,ct=He().object,dt=He().oneOf,ft=He().shape,mt=He().any,pt=He().oneOfType,ht=dt(["best fit","lookup"]),gt=dt(["narrow","short","long"]),vt=dt(["numeric","2-digit"]),yt=ut.isRequired,bt={locale:lt,timeZone:lt,formats:ct,messages:ct,textComponent:mt,defaultLocale:lt,defaultFormats:ct,onError:ut},Et={formatDate:yt,formatTime:yt,formatRelative:yt,formatNumber:yt,formatPlural:yt,formatMessage:yt,formatHTMLMessage:yt},wt=ft(rt({},bt,Et,{formatters:ct,now:yt})),St=(lt.isRequired,pt([lt,ct]),{localeMatcher:ht,formatMatcher:dt(["basic","best fit"]),timeZone:lt,hour12:ot,weekday:gt,era:gt,year:vt,month:dt(["numeric","2-digit","narrow","short","long"]),day:vt,hour:vt,minute:vt,second:vt,timeZoneName:dt(["short","long"])}),Mt={localeMatcher:ht,style:dt(["decimal","currency","percent"]),currency:lt,currencyDisplay:dt(["symbol","code","name"]),useGrouping:ot,minimumIntegerDigits:st,minimumFractionDigits:st,maximumFractionDigits:st,minimumSignificantDigits:st,maximumSignificantDigits:st},Ct={style:dt(["best fit","numeric"]),units:dt(["second","minute","hour","day","month","year","second-short","minute-short","hour-short","day-short","month-short","year-short"])},It={style:dt(["cardinal","ordinal"])},Nt=Object.keys(bt),Dt={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Tt=/[&><"']/g;function At(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((function(t,n){return e.hasOwnProperty(n)?t[n]=e[n]:r.hasOwnProperty(n)&&(t[n]=r[n]),t}),{})}function xt(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;Ge()(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function _t(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":Qe(e))||null===e||"object"!==(void 0===t?"undefined":Qe(t))||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),i=0;i<r.length;i++)if(!a(r[i])||e[r[i]]!==t[r[i]])return!1;return!0}function Ot(e,t,r){var n=e.props,a=e.state,i=e.context,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=(void 0===i?{}:i).intl,l=void 0===s?{}:s,u=o.intl,c=void 0===u?{}:u;return!_t(t,n)||!_t(r,a)||!(c===l||_t(At(c,Nt),At(l,Nt)))}function kt(e,t){return"[React Intl] "+e+(t?"\n"+t:"")}function Pt(e){0}function Rt(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.intlPropName,a=void 0===n?"intl":n,i=r.withRef,o=void 0!==i&&i,s=function(t){function r(e,t){et(this,r);var n=at(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e,t));return xt(t),n}return nt(r,t),tt(r,[{key:"getWrappedInstance",value:function(){return Ge()(o,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`"),this._wrappedInstance}},{key:"render",value:function(){var t,r,n,i=this;return q.createElement(e,rt({},this.props,(t={},r=a,n=this.context.intl,r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t),{ref:o?function(e){return i._wrappedInstance=e}:null}))}}]),r}(q.Component);return s.displayName="InjectIntl("+(((t=e).displayName||t.name||"Component")+")"),s.contextTypes={intl:wt},s.WrappedComponent=e,qe()(s,e)}var Ft=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,e);var n,a="ordinal"===r.style,i=(n=function(e){return Be().prototype._resolveLocale(e)}(t),Be().prototype._findPluralRuleFunction(n));this.format=function(e){return i(e,a)}},Lt=Object.keys(St),Ut=Object.keys(Mt),Bt=Object.keys(Ct),Vt=Object.keys(It),jt={second:60,minute:60,hour:24,day:30,month:12};function zt(e){var t=je().thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month,t["second-short"]=e["second-short"],t["minute-short"]=e["minute-short"],t["hour-short"]=e["hour-short"],t["day-short"]=e["day-short"],t["month-short"]=e["month-short"]}function Ht(e,t,r,n){var a=e&&e[t]&&e[t][r];if(a)return a;n(kt("No "+t+" format named: "+r))}function $t(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.messages,s=e.defaultLocale,l=e.defaultFormats,u=r.id,c=r.defaultMessage;Ge()(u,"[React Intl] An `id` must be provided to format a message.");var d=o&&o[u];if(!(Object.keys(n).length>0))return d||c||u;var f=void 0,m=e.onError||Pt;if(d)try{f=t.getMessageFormat(d,a,i).format(n)}catch(e){m(kt('Error formatting message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":""),e))}else(!c||a&&a.toLowerCase()!==s.toLowerCase())&&m(kt('Missing message: "'+u+'" for locale: "'+a+'"'+(c?", using default message as fallback.":"")));if(!f&&c)try{f=t.getMessageFormat(c,s,l).format(n)}catch(e){m(kt('Error formatting the default message for: "'+u+'"',e))}return f||m(kt('Cannot format message: "'+u+'", using message '+(d||c?"source":"id")+" as fallback.")),f||d||c||u}var qt=Object.freeze({formatDate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.timeZone,s=n.format,l=e.onError||Pt,u=new Date(r),c=rt({},o&&{timeZone:o},s&&Ht(i,"date",s,l)),d=At(n,Lt,c);try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(kt("Error formatting date.",e))}return String(u)},formatTime:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=e.timeZone,s=n.format,l=e.onError||Pt,u=new Date(r),c=rt({},o&&{timeZone:o},s&&Ht(i,"time",s,l)),d=At(n,Lt,c);d.hour||d.minute||d.second||(d=rt({},d,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(a,d).format(u)}catch(e){l(kt("Error formatting time.",e))}return String(u)},formatRelative:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=n.format,s=e.onError||Pt,l=new Date(r),u=new Date(n.now),c=o&&Ht(i,"relative",o,s),d=At(n,Bt,c),f=rt({},je().thresholds);zt(jt);try{return t.getRelativeFormat(a,d).format(l,{now:isFinite(u)?u:t.now()})}catch(e){s(kt("Error formatting relative time.",e))}finally{zt(f)}return String(l)},formatNumber:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=n.format,s=e.onError||Pt,l=o&&Ht(i,"number",o,s),u=At(n,Ut,l);try{return t.getNumberFormat(a,u).format(r)}catch(e){s(kt("Error formatting number.",e))}return String(r)},formatPlural:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=At(n,Vt),o=e.onError||Pt;try{return t.getPluralFormat(a,i).format(r)}catch(e){o(kt("Error formatting plural.",e))}return"other"},formatMessage:$t,formatHTMLMessage:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=Object.keys(n).reduce((function(e,t){var r=n[t];return e[t]="string"==typeof r?(""+r).replace(Tt,(function(e){return Dt[e]})):r,e}),{});return $t(e,t,r,a)}}),Wt=Object.keys(bt),Gt=Object.keys(Et),Yt={formats:{},messages:{},timeZone:null,textComponent:"span",defaultLocale:"en",defaultFormats:{},onError:Pt},Kt=function(e){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));Ge()("undefined"!=typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var a=r.intl,i=void 0;i=isFinite(e.initialNow)?Number(e.initialNow):a?a.now():Date.now();var o=(a||{}).formatters,s=void 0===o?{getDateTimeFormat:Ke(Intl.DateTimeFormat),getNumberFormat:Ke(Intl.NumberFormat),getMessageFormat:Ke(Be()),getRelativeFormat:Ke(je()),getPluralFormat:Ke(Ft)}:o;return n.state=rt({},s,{now:function(){return n._didDisplay?Date.now():i}}),n}return nt(t,e),tt(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=At(this.props,Wt,e);for(var r in Yt)void 0===t[r]&&(t[r]=Yt[r]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(Xe(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var n=t,a=n.locale,i=n.defaultLocale,o=n.defaultFormats;(0,n.onError)(kt('Missing locale data for locale: "'+a+'". Using default locale: "'+i+'" as fallback.')),t=rt({},t,{locale:i,formats:o,messages:Yt.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return Gt.reduce((function(r,n){return r[n]=qt[n].bind(null,e,t),r}),{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),r=this.state,n=r.now,a=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["now"]);return{intl:rt({},e,t,{formatters:a,now:n})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"componentDidMount",value:function(){this._didDisplay=!0}},{key:"render",value:function(){return q.Children.only(this.props.children)}}]),t}(q.Component);Kt.displayName="IntlProvider",Kt.contextTypes={intl:wt},Kt.childContextTypes={intl:wt.isRequired};var Zt=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatDate,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);Zt.displayName="FormattedDate",Zt.contextTypes={intl:wt};var Jt=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatTime,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);Jt.displayName="FormattedTime",Jt.contextTypes={intl:wt};var Xt=36e5,Qt=864e5;var er=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));xt(r);var a=isFinite(e.initialNow)?Number(e.initialNow):r.intl.now();return n.state={now:a},n}return nt(t,e),tt(t,[{key:"scheduleNextUpdate",value:function(e,t){var r=this;clearTimeout(this._timer);var n=e.value,a=e.units,i=e.updateInterval,o=new Date(n).getTime();if(i&&isFinite(o)){var s=o-t.now,l=function(e){switch(e){case"second":return 1e3;case"minute":return 6e4;case"hour":return Xt;case"day":return Qt;default:return 2147483647}}(a||function(e){var t=Math.abs(e);return t<6e4?"second":t<Xt?"minute":t<Qt?"hour":"day"}(s)),u=Math.abs(s%l),c=s<0?Math.max(i,l-u):Math.max(i,u);this._timer=setTimeout((function(){r.setState({now:r.context.intl.now()})}),c)}}},{key:"componentDidMount",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillReceiveProps",value:function(e){(function(e,t){if(e===t)return!0;var r=new Date(e).getTime(),n=new Date(t).getTime();return isFinite(r)&&isFinite(n)&&r===n})(e.value,this.props.value)||this.setState({now:this.context.intl.now()})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"componentWillUpdate",value:function(e,t){this.scheduleNextUpdate(e,t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this._timer)}},{key:"render",value:function(){var e=this.context.intl,t=e.formatRelative,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,rt({},this.props,this.state));return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);er.displayName="FormattedRelative",er.contextTypes={intl:wt},er.defaultProps={updateInterval:1e4};var tr=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatNumber,r=e.textComponent,n=this.props,a=n.value,i=n.children,o=t(a,this.props);return"function"==typeof i?i(o):q.createElement(r,null,o)}}]),t}(q.Component);tr.displayName="FormattedNumber",tr.contextTypes={intl:wt};var rr=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatPlural,r=e.textComponent,n=this.props,a=n.value,i=n.other,o=n.children,s=t(a,this.props),l=this.props[s]||i;return"function"==typeof o?o(l):q.createElement(r,null,l)}}]),t}(q.Component);rr.displayName="FormattedPlural",rr.contextTypes={intl:wt},rr.defaultProps={style:"cardinal"};var nr=function(e,t){return $t({},{getMessageFormat:Ke(Be())},e,t)},ar=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return e.defaultMessage||xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!_t(e.values,t))return!0;for(var r=rt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return Ot.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e,t=this.context.intl||{},r=t.formatMessage,n=void 0===r?nr:r,a=t.textComponent,i=void 0===a?"span":a,o=this.props,s=o.id,l=o.description,u=o.defaultMessage,c=o.values,d=o.tagName,f=void 0===d?i:d,m=o.children,p=void 0,h=void 0,g=void 0;if(c&&Object.keys(c).length>0){var v=Math.floor(1099511627776*Math.random()).toString(16),y=(e=0,function(){return"ELEMENT-"+v+"-"+(e+=1)});p="@__"+v+"__@",h={},g={},Object.keys(c).forEach((function(e){var t=c[e];if((0,q.isValidElement)(t)){var r=y();h[e]=p+r+p,g[r]=t}else h[e]=t}))}var b=n({id:s,description:l,defaultMessage:u},h||c),E=void 0;return E=g&&Object.keys(g).length>0?b.split(p).filter((function(e){return!!e})).map((function(e){return g[e]||e})):[b],"function"==typeof m?m.apply(void 0,it(E)):q.createElement.apply(void 0,[f,null].concat(it(E)))}}]),t}(q.Component);ar.displayName="FormattedMessage",ar.contextTypes={intl:wt},ar.defaultProps={values:{}};var ir=function(e){function t(e,r){et(this,t);var n=at(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return xt(r),n}return nt(t,e),tt(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!_t(e.values,t))return!0;for(var r=rt({},e,{values:t}),n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return Ot.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatHTMLMessage,r=e.textComponent,n=this.props,a=n.id,i=n.description,o=n.defaultMessage,s=n.values,l=n.tagName,u=void 0===l?r:l,c=n.children,d=t({id:a,description:i,defaultMessage:o},s);if("function"==typeof c)return c(d);var f={__html:d};return q.createElement(u,{dangerouslySetInnerHTML:f})}}]),t}(q.Component);ir.displayName="FormattedHTMLMessage",ir.contextTypes={intl:wt},ir.defaultProps={values:{}},Je(Ze),Je(Le());var or=o(7166),sr=o.n(or),lr=o(2665),ur=o.n(lr),cr=o(2409),dr=o.n(cr);class fr extends q.Component{constructor(e){var t;super(e),b(this,"notificationTimeout",void 0),b(this,"timeoutRef",void 0),this.doCopy=sr()(t=this.doCopy).call(t,this),this.state={isShowing:!1},e.notificationTimeout?this.notificationTimeout=e.notificationTimeout:this.notificationTimeout=2e3}componentWillUnmount(){clearTimeout(this.timeoutRef)}doCopy(){const{textToCopy:e}=this.props;dr()(e),this.setState((()=>({isShowing:!0}))),clearTimeout(this.timeoutRef),this.timeoutRef=ur()((()=>{this.setState((()=>({isShowing:!1})))}),this.notificationTimeout)}render(){const{isShowing:e}=this.state,{notificationText:t,children:r}=this.props;return q.createElement("div",{className:"sid-to-clipboard"},e&&q.createElement("div",{className:""+(e?"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--visible":"sid-to-clipboard__notification-text sid-to-clipboard__notification-text--hidden"),role:"alert","aria-live":"polite"},t||"Copied"),q.createElement("div",{onClick:this.doCopy,onKeyPress:this.doCopy,role:"button",tabIndex:0,className:"sid-to-clipboard__clickable-text sid-link"},r||"Copy"))}}var mr=o(2334);function pr(e,t,r,n,a,i,o){try{var s=e[i](o),l=s.value}catch(e){return void r(e)}s.done?t(l):mr.resolve(l).then(n,a)}function hr(e){return function(){var t=this,r=arguments;return new mr((function(n,a){var i=e.apply(t,r);function o(e){pr(i,n,a,o,s,"next",e)}function s(e){pr(i,n,a,o,s,"throw",e)}o(void 0)}))}}var gr=o(9683),vr=o.n(gr),yr=o(9469),br=o.n(yr),Er=o(2486),wr=o.n(Er),Sr=o(7475),Mr=o.n(Sr),Cr=o(6534),Ir=o.n(Cr),Nr=o(3944),Dr=o.n(Nr);const Tr=e=>e.replace(/\/?$/,"/"),Ar=e=>{var t;const r=new(br())(e||window.location.toString());return new(wr())(Dr()(t=r.search).call(t,1))},xr=(e,t)=>Ar(t).get(e),_r=e=>{const t=new(wr())(e).get("verificationId");return"string"==typeof t&&0===t.length?null:t};var Or=o(6426),kr=o.n(Or),Pr=o(8520),Rr=o.n(Pr);let Fr={},Lr=[];const Ur=(e,t)=>{he.log(`customValidator registering \n${t}\n for custom field '${e}'`),Fr[e]=t,Lr.push(e)},Br=e=>Fr[e]?(he.log(`getCustomValidator returning '${e}'`),Fr[e]):(he.error(`Custom validator for field '${e}' does not exist.\n Has a custom validator been registered using the setCustomValidator method?`,"getCustomValidator"),null),Vr=e=>kr()(Lr).call(Lr,e)>-1,jr=()=>Lr,zr=e=>{if(kr()(ye).call(ye,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},Hr=e=>{if(kr()(Se).call(Se,e)<0)throw new Error(`Expected valid verification step name but received "${e}".`)},$r=e=>{if(kr()(Ie).call(Ie,e)<0)throw new Error(`Expected valid segment name but received "${e}".`)},qr=e=>{if(!Wr(e))throw new Error(`Invalid locale ${e}, expected one of ${ge.join(", ")}`)},Wr=e=>kr()(ge).call(ge,e)>-1,Gr=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)throw new Error(`Expected argument of type Node.ELEMENT_NODE but received "${typeof e} ${e.nodeType}"`)},Yr=e=>{Qr(e)},Kr=e=>{if(kr()(Pe).call(Pe,e)<0)throw new Error(`Expected valid hook name but received ${e}. Valid HookNames are [${Pe.join(", ")}]`)},Zr=e=>{if("function"!=typeof e)throw new Error('Expected type "function", but received '+typeof e)},Jr=e=>{if("string"!=typeof e)throw new Error(`Expected trackingId to be a string, but received ${typeof e} instead.`);if(e.length<1)throw new Error("Expected trackingId string length greather than 0.")},Xr=e=>{if("object"!=typeof e)throw new Error(`Expected conversion request to be an object, but received ${typeof e} instead.`);if(e.hasOwnProperty("amount")&&"number"!=typeof e.amount)throw new Error('Expected conversion request property "amount" to have type number.')},Qr=e=>{if(!new RegExp("^[0-9a-fA-F]{24}$").test(e))throw new Error(`Invalid databaseId "${e}". Expected a 24-digit hexadecimal string.`)},en="en-US",tn=["image/png","image/gif","image/jpg","image/jpeg","image/bmp","application/pdf"],rn="mockStep",nn="mockSegment",an="mockSubSegment",on="mockErrorId",sn="mockRewardCode",ln="mockRedirectUrl",un="mockDocSelected",cn="mockPreviousStep",dn="installPageUrl",fn="installType",mn={MAX_RESULT_SIZE:25,ORG_TYPES:"UNIVERSITY,HIGH_SCHOOL,K12",DEFAULT_ORG_TYPES:"UNIVERSITY",URL_REGEX:/(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,10}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/,SCHOOL_HOUSE_URL:"https://assets-resources.sheerid.com/common/images/requestOrganization/school.svg",SHEERID_LOGO_URL:"https://assets-resources.sheerid.com/common/images/requestOrganization/logo.svg",FEEDBACK_FORM_URL:"https://verify.sheerid.com/verification-support/feedback.html?token="},pn="SheerID Verification Form",hn={INLINE_IFRAME_CONTENT:"sid-inline-iframe",MODAL_WRAPPER:"sid-modal__wrapper",MODAL_IFRAME:"sid-modal__iframe",OVERLAY:"sid-modal__overlay",CLOSE_BUTTON:"sid-modal__close-button",CLOSE_TEXT:"sid-modal__close-text",CLOSE_ICON:"sid-modal__close-icon"},gn=620,vn=300;function yn(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function bn(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=yn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=yn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const En={restApi:{serviceUrl:"https://services.sheerid.com/",resources:{verification:"rest/v2/verification/",program:{base:"rest/v2/program/",theme:"theme",organization:"organization"},conversion:{base:"rest/v2/conversion/"}}},mockStep:void 0,mockSubSegment:void 0,mockErrorId:void 0,mockRewardCode:void 0,mockRedirectUrl:void 0,mockDocSelected:void 0,installPageUrl:void 0,mockResponse:void 0,doFetchTheme:!0,logLevel:"error",locale:null,messages:{},messagesWithLocale:{},urlFaq:"https://offers.sheerid.com/sheerid/help-center/",urlStudentFaq:"https://verify.sheerid.com/student-faq/",urlSeniorFaq:"https://verify.sheerid.com/us-senior-faq/",urlAgeFaq:"https://verify.sheerid.com/us-age-faq/",urlMilitaryFaq:"https://verify.sheerid.com/military-faq/",urlTeacherFaq:"https://verify.sheerid.com/us-teacher-faq/",urlMemberFaq:"https://verify.sheerid.com/membership-faq/",urlFirstResponderFaq:"https://verify.sheerid.com/first-responder-faq/",urlMedicalFaq:"https://verify.sheerid.com/us-medical-faq/",urlEmploymentFaq:"https://verify.sheerid.com/employment-faq/",urlIdentityFaq:"https://verify.sheerid.com/identity-faq/",urlLicensedProfessionalFaq:"https://verify.sheerid.com/professions-faq/",urlLowIncomeFaq:"https://verify.sheerid.com/low-income-faq/",urlAddSchoolFaq:"https://verify.sheerid.com/add-school-request-faq/",urlAddSchoolForm:"https://offers.sheerid.com/sheerid/add-school-request/",privacyPolicyUrl:void 0,cookies:{enabled:!0,secure:!0,expires:7},useFingerprinting:!1,verificationId:void 0,minimumOrganizationSearchLength:1,httpRequestTimeout:1e4,hideTestModeFlag:!1,hideMilitaryFamilyAcceptableUploads:!0,customFormFields:[]};let wn=bn({},En);const Sn=()=>wn,Mn=()=>{wn=bn({},En)},Cn=e=>{if(e.hasOwnProperty("logLevel")){try{he.setLogLevel(e.logLevel)}catch(e){console.error(e)}wn.logLevel=e.logLevel}if(e.hasOwnProperty("restApi")){if(e.restApi.hasOwnProperty("serviceUrl")){const t=Tr(e.restApi.serviceUrl);wn.restApi.serviceUrl=t,he.info(`option "serviceUrl" set to ${wn.restApi.serviceUrl}`)}}var r;e.hasOwnProperty(rn)&&(Hr(e[rn]),wn[rn]=e[rn],he.info(`option "${rn}" set to ${wn[rn]}`)),e.hasOwnProperty(cn)&&(Hr(e[rn]),wn[cn]=e[cn],he.info(`option "${cn}" set to ${wn[cn]}`)),e.hasOwnProperty(nn)&&(wn[nn]=e[nn],he.info(`option "${nn}" set to ${wn[nn]}`)),e.hasOwnProperty(an)&&(wn[an]=e[an],he.info(`option "${an}" set to ${wn[an]}`)),e.hasOwnProperty(on)&&(wn[on]=e[on],he.info(`option "${on}" set to ${wn[on]}`)),e.hasOwnProperty(sn)&&(wn[sn]=e[sn],he.info(`option "${sn}" set to ${wn[sn]}`)),e.hasOwnProperty(ln)&&(wn[ln]=e[ln],he.info(`option "${ln}" set to ${wn[ln]}`)),e.hasOwnProperty(dn)&&(wn[dn]=e[dn],he.info(`option "${dn}" set to ${wn[dn]}`)),e.hasOwnProperty(un)&&(wn[un]=e[un],he.info(`option "${un}" set to ${wn[un]}`)),e.hasOwnProperty("mockResponse")&&(wn.mockResponse=ie(e.mockResponse),he.info('option "mockResponse" set to',wn.mockResponse)),e.hasOwnProperty("messages")&&(wn.messagesWithLocale=bn(bn({},wn.messagesWithLocale),{},{"en-US":e.messages}),he.warn('option "messages" has been deprecated and replaced with "messagesWithLocale". Messages have been set for locale "en-US" using: ',wn.messagesWithLocale,'\nThese messages will override existing messages of the same key for "en-US" locale.')),e.hasOwnProperty("messagesWithLocale")&&(wn.messagesWithLocale=se({},wn.messagesWithLocale,e.messagesWithLocale),e&&e.messagesWithLocale&&(r=t()(e.messagesWithLocale),he.info(`Registering additional locales ${r.join(", ")}`),ge.push(...r)),he.info('option "messagesWithLocale" set to',wn.messagesWithLocale)),e.hasOwnProperty("locale")&&(qr(e.locale),wn.locale=e.locale,he.info(`option "locale" set to ${wn.locale}`)),e.hasOwnProperty("urlStudentFaq")&&(wn.urlStudentFaq=e.urlStudentFaq,he.info(`option "urlStudentFaq" set to ${wn.urlStudentFaq}`)),e.hasOwnProperty("urlSeniorFaq")&&(wn.urlSeniorFaq=e.urlSeniorFaq,he.info(`option "urlSeniorFaq" set to ${wn.urlSeniorFaq}`)),e.hasOwnProperty("urlMilitaryFaq")&&(wn.urlMilitaryFaq=e.urlMilitaryFaq,he.info(`option "urlMilitaryFaq" set to ${wn.urlMilitaryFaq}`)),e.hasOwnProperty("urlTeacherFaq")&&(wn.urlTeacherFaq=e.urlTeacherFaq,he.info(`option "urlTeacherFaq" set to ${wn.urlTeacherFaq}`)),e.hasOwnProperty("urlMemberFaq")&&(wn.urlMemberFaq=e.urlMemberFaq,he.info(`option "urlMemberFaq" set to ${wn.urlMemberFaq}`)),e.hasOwnProperty("urlMedicalFaq")&&(wn.urlMedicalFaq=e.urlMedicalFaq,he.info(`option "urlMedicalFaq" set to ${wn.urlMedicalFaq}`)),e.hasOwnProperty("urlEmploymentFaq")&&(wn.urlEmploymentFaq=e.urlEmploymentFaq,he.info(`option "urlEmploymentFaq" set to ${wn.urlEmploymentFaq}`)),e.hasOwnProperty("urlAddSchoolFaq")&&(wn.urlAddSchoolFaq=e.urlAddSchoolFaq,he.info(`option "urlAddSchoolFaq" set to ${wn.urlAddSchoolFaq}`)),e.hasOwnProperty("urlAddSchoolForm")&&(wn.urlAddSchoolForm=e.urlAddSchoolForm,he.info(`option "urlAddSchoolForm" set to ${wn.urlAddSchoolForm}`)),e.hasOwnProperty("doFetchTheme")&&(wn.doFetchTheme=e.doFetchTheme,he.info(`option "doFetchTheme" set to ${wn.doFetchTheme}`)),e.hasOwnProperty("cookies")&&(wn.cookies=bn(bn({},wn.cookies),e.cookies),he.info('option "cookies" set to',wn.cookies)),e.hasOwnProperty("useFingerprinting")&&(wn.useFingerprinting=e.useFingerprinting,he.info('option "useFingerprinting" set to',wn.useFingerprinting)),e.hasOwnProperty("marketConsent")&&(wn.marketConsent=e.marketConsent,he.info('option "market consent" set to',wn.marketConsent)),e.hasOwnProperty("verificationId")&&(wn.verificationId=e.verificationId,he.info('option "verificationId" set to',wn.verificationId)),e.hasOwnProperty("minimumOrganizationSearchLength")&&(wn.minimumOrganizationSearchLength=e.minimumOrganizationSearchLength,he.info('option "minimumOrganizationSearchLength" set to',wn.minimumOrganizationSearchLength)),e.hasOwnProperty("customCss")&&(wn.customCss=e.customCss,he.info('option "customCss" set to',wn.customCss)),e.hasOwnProperty("logoUrl")&&(wn.logoUrl=e.logoUrl,he.info('option "logoUrl" set to',wn.logoUrl)),e.hasOwnProperty("httpRequestTimeout")&&(wn.httpRequestTimeout=e.httpRequestTimeout,he.info('option "httpRequestTimeout" set to',wn.httpRequestTimeout)),e.hasOwnProperty("privacyPolicyUrl")&&(wn.privacyPolicyUrl=e.privacyPolicyUrl,he.info('option "privacyPolicyUrl" set to',wn.privacyPolicyUrl)),(e.hasOwnProperty("hideTestModeFlag")||xr("hideTestModeFlag"))&&(wn.hideTestModeFlag=e.hideTestModeFlag||"true"===xr("hideTestModeFlag"),he.info('option "hideTestModeFlag" set to',wn.hideTestModeFlag)),e.hasOwnProperty("hideMilitaryFamilyAcceptableUploads")&&(wn.hideMilitaryFamilyAcceptableUploads=e.hideMilitaryFamilyAcceptableUploads,he.info('option "hideMilitaryFamilyAcceptableUploads" set to',wn.hideMilitaryFamilyAcceptableUploads)),e.hasOwnProperty("customFormFields")&&(wn.customFormFields=e.customFormFields,he.info('option "customFormFields" set to',wn.customFormFields)),e.hasOwnProperty("customMetadata")&&(wn.customMetadata=e.customMetadata,he.info('option "customMetadata" set to',wn.customMetadata))};var In=o(8505),Nn=o.n(In);const Dn=class{constructor(e){b(this,"url",void 0),b(this,"start",void 0),this.url=e,this.start=Nn()()}logNow(){let e;return window.NREUM?(e={api_call:this.url,api_response_time:Nn()()-this.start},window.NREUM.addPageAction("API-calls-timing",e)):he.warn("Off-site logging not available."),e}};function Tn(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function An(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Tn(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Tn(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const xn={Accept:"application/json","Content-Type":"application/json"},_n={"Content-Type":"application/json"},On=(e,t={})=>{const r=Sn().httpRequestTimeout;return new(vr())(((n,a)=>{const i=ur()((()=>{a(new Error("requestTimeout"))}),r);return fetch(e,t).then(n,(t=>{he.error(`Failed to fetch ${e}`,t);a(new Error("failedToFetch"))})).finally((()=>{clearTimeout(i)}))}))},kn=function(){var e=hr((function*(e,t){let r;try{r=yield e.json()}catch(e){r=vr().resolve({})}finally{t.logNow(),he.info("Response received",r)}return r}));return function(t,r){return e.apply(this,arguments)}}(),Pn=function(){var e=hr((function*(e,t,r={}){const n=new Dn(e),a=yield On(e,{headers:An(An({},xn),r),method:"POST",body:Ir()(t)});return kn(a,n)}));return function(t,r){return e.apply(this,arguments)}}(),Rn=function(){var e=hr((function*(e,t=xn){const r=new Dn(e),n=yield On(e,{headers:t,method:"DELETE"});return kn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Fn=function(){var e=hr((function*(e,t=xn){const r=new Dn(e),n=yield On(e,{headers:t,method:"GET"});return kn(n,r)}));return function(t){return e.apply(this,arguments)}}(),Ln=function(){var e=hr((function*(e,t=xn){return On(e,{headers:t,method:"GET"})}));return function(t){return e.apply(this,arguments)}}(),Un=e=>{var t;return Mr()(t=i()(e).call(e,(e=>!!e))).call(t,(e=>({fileName:e.name,mimeType:e.type,fileSize:e.size})))},Bn=function(){var e=hr((function*(e,t,r=_n){const n=new Dn(e);he.info(`PostFiles posting to ${e}`,t);const a=Ir()({files:Un(t)}),i=yield fetch(e,{headers:r,method:"POST",body:a}),o=yield i.json(),s=oe((()=>o.documents)),l=oe((()=>o.submissionUrl));if(s&&l){yield vr().all(Mr()(s).call(s,((e,r)=>fetch(e.uploadUrl,{method:"PUT",body:t[r]}))));const e=yield fetch(l,{headers:r,method:"POST"});return kn(e,n)}return o}));return function(t,r){return e.apply(this,arguments)}}();var Vn=o(3106),jn=o.n(Vn);const zn=()=>`${Sn().restApi.serviceUrl}${Sn().restApi.resources.verification}`,Hn=e=>`${zn()}${e}`,$n=()=>zn(),qn=(e,t=null)=>{const r=`${Sn().restApi.serviceUrl}${Sn().restApi.resources.program.base}${e}/${Sn().restApi.resources.program.theme}`;return t?`${r}?locale=${t}`:`${r}`},Wn=()=>`${Sn().restApi.serviceUrl}rest/v2/organization/addSchool/`,Gn=e=>`${Sn().restApi.serviceUrl}rest/v2/verification/${e}/step/smsLoop/retry`,Yn=e=>`${Sn().restApi.serviceUrl}rest/v2/verification/${e}/step/emailLoop/retry`,Kn=(e,t)=>`${Sn().restApi.serviceUrl}rest/v2/verification/${e}/${t}/fields`,Zn=()=>window.sheerIdPubV,Jn=()=>document.location.href,Xn=()=>{try{const e=new(wr())(window.location.search);if(e.get(dn))return decodeURIComponent(e.get(dn));if(Sn()[dn])return Sn()[dn]}catch(e){he.error(e)}return Jn()};var Qn;!function(e){e.landingPage="landing_page",e.cdnNoIframe="cdn_no_iframe"}(Qn||(Qn={}));const ea=()=>{try{const e=new(wr())(window.location.search);if(e.get(fn))return decodeURIComponent(e.get(fn));if("landing"===e.get("layout"))return Qn.landingPage}catch(e){he.error(e)}return window.sheerIdInstallType||Qn.cdnNoIframe},ta=()=>{let e;try{const t=window.sheerIdCurrentScript.getAttribute("src");e=t.substr(0,jn()(t).call(t,"/"))}catch(e){"localhost"!==document.location.hostname&&he.error(e)}return e||("localhost"===document.location.hostname?e=document.location.origin:(e="https://cdn.jsdelivr.net/npm/@sheerid/jslib@1/",he.error("No window.sheerIdCurrentScript, is document.currentScript unsupported?"))),Tr((t=e,r=Zn(),Tr(r?t.replace(/@(?!sheerid)[^/]*/gi,`@${r}`):t)));var t,r},ra="country",na="name";function aa(e,t,r,n){return ia.apply(this,arguments)}function ia(){return ia=hr((function*(e,t,r,n){if(!e)return vr().resolve([]);const a=new(br())(e),{origin:i,pathname:o,search:s}=a,l=new(wr())(s);l.set(na,t),r&&l.set(ra,r),n&&l.set("tags",n);return function(e){return oa.apply(this,arguments)}(`${i}${o}?${l.toString()}`)})),ia.apply(this,arguments)}function oa(){return oa=hr((function*(e){try{const t=yield Fn(e);return Mr()(t).call(t,(e=>{return{id:(t=e).id,idExtended:void 0===t.idExtended?t.id.toString():t.idExtended,name:t.name,country:t.country};var t}))}catch(e){he.error(e,"failed to fetchOrganization")}})),oa.apply(this,arguments)}const sa=function(){var e=hr((function*(e){const t=new Dn(e),r=yield fetch(e,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"GET"});if(r.status>=400)throw new Error("An error occurred");let n;try{n=yield r.json()}catch(e){n=vr().resolve({})}finally{t.logNow(),he.info("Response received",n)}return n}));return function(t){return e.apply(this,arguments)}}();function la(){return(la=hr((function*(e){return yield Pn(Wn(),e)}))).apply(this,arguments)}const ua=function(){var e=hr((function*(e,t,r){const{viewModel:n}=t;if(!e())return;const a={programId:t.programId,firstName:n.firstName,lastName:n.lastName,email:n.email,schoolName:n.orgName,schoolDomain:n.orgDomain,schoolCountry:n.countryChoice.value};try{ca(r,!0),yield function(e){return la.apply(this,arguments)}(a).then((()=>{ca(r,!1),r({type:"SET_SUBMIT",payload:!0})}))}catch(e){he.error(e,"submitAddSchoolRequest"),r({type:"SET_ERROR",payload:!0})}}));return function(t,r,n){return e.apply(this,arguments)}}(),ca=(e,t)=>{e({type:"SET_LOADING",payload:t})},da=({organization:e,isEligible:t})=>{return t?q.createElement("div",{className:"sid-search-result"},q.createElement("img",{src:"https://assets-resources.sheerid.com/common/images/requestOrganization/doc-right.svg",alt:"School Icon"})," ",e.name,q.createElement(fr,{textToCopy:(r=e.name,r.replace(/(\s\([A-Za-z]+(?: [A-Za-z]+)*),+ ([A-Za-z]+\))/,"")),notificationText:q.createElement(ir,{id:"copied",defaultMessage:"Copied"})},q.createElement("div",{className:"sid-copy-to-clipboard-front"}),q.createElement("div",{className:"sid-copy-to-clipboard-back"}))):q.createElement("div",{className:"sid-search-result"},q.createElement("div",{className:"sid-oval"},q.createElement("div",{className:"sid-inner-x"},"x"))," ",e.name);var r};var fa=o(6905),ma=o.n(fa),pa=o(6954),ha=o.n(pa);var ga=o(6569),va=o.n(ga),ya=o(9602),ba=o.n(ya);const Ea=JSON.parse('{"defaultMessages.ACTIVE_DUTY":"Active Duty","defaultMessages.CHILD_CARE_WORKER":"Child Care Worker","defaultMessages.DENTIST":"Dentist","defaultMessages.DOCTOR":"Doctor","defaultMessages.EMT":"EMT","defaultMessages.FIREFIGHTER":"Firefighter","defaultMessages.GOLD_STAR_FAMILY":"Gold Star Family","defaultMessages.HOME_BUYER":"Home Buyer","defaultMessages.LIBRARIAN":"Librarian","defaultMessages.LICENSED_COSMETOLOGIST":"Licensed Cosmetologist","defaultMessages.LICENSED_REAL_ESTATE_AGENT":"Licensed Real Estate Agent","defaultMessages.MILITARY_FAMILY":"Military Family","defaultMessages.MILITARY_RETIREE":"Military Retiree","defaultMessages.NURSE":"Nurse","defaultMessages.OTHER_GOVERNMENT_ASSISTANCE":"Other Government Assistance Recipient","defaultMessages.OTHER_HEALTH_WORKER":"Other Health Worker","defaultMessages.OTHER_MOVER":"Other Mover","defaultMessages.PHARMACIST":"Pharmacist","defaultMessages.POLICE":"Police","defaultMessages.RESERVIST":"Reservist or National Guard","defaultMessages.SEARCH_AND_RESCUE":"Search and Rescue","defaultMessages.SNAP_BENEFITS":"Snap Benefits Recipient","defaultMessages.VETERAN":"Military Veteran or Retiree","defaultMessages.VETERINARIAN":"Veterinarian","defaultMessages.activeDutyStartDate":"Active Duty Start Date","defaultMessages.address":"Address","defaultMessages.addressPlaceholder":"Address","defaultMessages.birthDate":"Date of birth","defaultMessages.branchOfService":"Branch of service","defaultMessages.branchOfServicePlaceholder":"Branch Of Service","defaultMessages.changeLanguage":"Change language","defaultMessages.city":"City","defaultMessages.cityPlaceholder":"City","defaultMessages.company":"Company","defaultMessages.companyPlaceholder":"Company","defaultMessages.copied":"Copied","defaultMessages.countries.AD":"Andorra","defaultMessages.countries.AE":"United Arab Emirates","defaultMessages.countries.AF":"Afghanistan","defaultMessages.countries.AG":"Antigua and Barbuda","defaultMessages.countries.AI":"Anguilla","defaultMessages.countries.AL":"Albania","defaultMessages.countries.AM":"Armenia","defaultMessages.countries.AN":"Netherlands Antilles","defaultMessages.countries.AO":"Angola","defaultMessages.countries.AR":"Argentina","defaultMessages.countries.AS":"American Samoa","defaultMessages.countries.AT":"Austria","defaultMessages.countries.AU":"Australia","defaultMessages.countries.AW":"Aruba","defaultMessages.countries.AZ":"Azerbaijan","defaultMessages.countries.BA":"Bosnia-Herzegovina","defaultMessages.countries.BB":"Barbados","defaultMessages.countries.BD":"Bangladesh","defaultMessages.countries.BE":"Belgium","defaultMessages.countries.BF":"Burkina Faso","defaultMessages.countries.BG":"Bulgaria","defaultMessages.countries.BH":"Bahrain","defaultMessages.countries.BI":"Burundi","defaultMessages.countries.BJ":"Benin","defaultMessages.countries.BM":"Bermuda","defaultMessages.countries.BN":"Brunei Darussalam","defaultMessages.countries.BO":"Bolivia","defaultMessages.countries.BR":"Brazil","defaultMessages.countries.BS":"Bahamas","defaultMessages.countries.BT":"Bhutan","defaultMessages.countries.BV":"Bouvet Island","defaultMessages.countries.BW":"Botswana","defaultMessages.countries.BY":"Belarus","defaultMessages.countries.BZ":"Belize","defaultMessages.countries.CA":"Canada","defaultMessages.countries.CD":"Democratic Republic of Congo","defaultMessages.countries.CF":"Central African Republic","defaultMessages.countries.CG":"Congo","defaultMessages.countries.CH":"Switzerland","defaultMessages.countries.CI":"Ivory Coast (Cote D\'Ivoire)","defaultMessages.countries.CK":"Cook Islands","defaultMessages.countries.CL":"Chile","defaultMessages.countries.CM":"Cameroon","defaultMessages.countries.CN":"China","defaultMessages.countries.CO":"Colombia","defaultMessages.countries.CR":"Costa Rica","defaultMessages.countries.CU":"Cuba","defaultMessages.countries.CV":"Cape Verde","defaultMessages.countries.CY":"Cyprus","defaultMessages.countries.CZ":"Czech Republic","defaultMessages.countries.DE":"Germany","defaultMessages.countries.DJ":"Djibouti","defaultMessages.countries.DK":"Denmark","defaultMessages.countries.DM":"Dominica","defaultMessages.countries.DO":"Dominican Republic","defaultMessages.countries.DZ":"Algeria","defaultMessages.countries.EC":"Ecuador","defaultMessages.countries.EE":"Estonia","defaultMessages.countries.EG":"Egypt","defaultMessages.countries.EH":"Western Sahara","defaultMessages.countries.ER":"Eritrea","defaultMessages.countries.ES":"Spain","defaultMessages.countries.ET":"Ethiopia","defaultMessages.countries.FI":"Finland","defaultMessages.countries.FJ":"Fiji","defaultMessages.countries.FK":"Falkland Islands","defaultMessages.countries.FM":"Micronesia","defaultMessages.countries.FO":"Faroe Islands","defaultMessages.countries.FR":"France","defaultMessages.countries.GA":"Gabon","defaultMessages.countries.GB":"United Kingdom","defaultMessages.countries.GD":"Grenada","defaultMessages.countries.GE":"Georgia","defaultMessages.countries.GF":"French Guyana","defaultMessages.countries.GH":"Ghana","defaultMessages.countries.GI":"Gibraltar","defaultMessages.countries.GL":"Greenland","defaultMessages.countries.GM":"Gambia","defaultMessages.countries.GN":"Guinea","defaultMessages.countries.GP":"Guadeloupe (French)","defaultMessages.countries.GQ":"Equatorial Guinea","defaultMessages.countries.GR":"Greece","defaultMessages.countries.GS":"South Georgia & South Sandwich Islands","defaultMessages.countries.GT":"Guatemala","defaultMessages.countries.GU":"Guam (USA)","defaultMessages.countries.GW":"Guinea Bissau","defaultMessages.countries.GY":"Guyana","defaultMessages.countries.HK":"Hong Kong","defaultMessages.countries.HM":"Heard and McDonald Islands","defaultMessages.countries.HN":"Honduras","defaultMessages.countries.HR":"Croatia","defaultMessages.countries.HT":"Haiti","defaultMessages.countries.HU":"Hungary","defaultMessages.countries.ID":"Indonesia","defaultMessages.countries.IE":"Ireland","defaultMessages.countries.IL":"Israel","defaultMessages.countries.IN":"India","defaultMessages.countries.IO":"British Indian Ocean Territory","defaultMessages.countries.IQ":"Iraq","defaultMessages.countries.IR":"Iran","defaultMessages.countries.IS":"Iceland","defaultMessages.countries.IT":"Italy","defaultMessages.countries.JM":"Jamaica","defaultMessages.countries.JO":"Jordan","defaultMessages.countries.JP":"Japan","defaultMessages.countries.KE":"Kenya","defaultMessages.countries.KG":"Kyrgyzstan","defaultMessages.countries.KH":"Cambodia","defaultMessages.countries.KI":"Kiribati","defaultMessages.countries.KM":"Comoros","defaultMessages.countries.KN":"Saint Kitts & Nevis Anguilla","defaultMessages.countries.KP":"North Korea","defaultMessages.countries.KR":"South Korea","defaultMessages.countries.KW":"Kuwait","defaultMessages.countries.KY":"Cayman Islands","defaultMessages.countries.KZ":"Kazakhstan","defaultMessages.countries.LA":"Laos","defaultMessages.countries.LB":"Lebanon","defaultMessages.countries.LC":"Saint Lucia","defaultMessages.countries.LI":"Liechtenstein","defaultMessages.countries.LK":"Sri Lanka","defaultMessages.countries.LR":"Liberia","defaultMessages.countries.LS":"Lesotho","defaultMessages.countries.LT":"Lithuania","defaultMessages.countries.LU":"Luxembourg","defaultMessages.countries.LV":"Latvia","defaultMessages.countries.LY":"Libya","defaultMessages.countries.MA":"Morocco","defaultMessages.countries.MC":"Monaco","defaultMessages.countries.MD":"Moldavia","defaultMessages.countries.ME":"Montenegro","defaultMessages.countries.MG":"Madagascar","defaultMessages.countries.MH":"Marshall Islands","defaultMessages.countries.MK":"Macedonia","defaultMessages.countries.ML":"Mali","defaultMessages.countries.MM":"Myanmar","defaultMessages.countries.MN":"Mongolia","defaultMessages.countries.MO":"Macau","defaultMessages.countries.MP":"Northern Mariana Islands","defaultMessages.countries.MQ":"Martinique (French)","defaultMessages.countries.MR":"Mauritania","defaultMessages.countries.MS":"Montserrat","defaultMessages.countries.MT":"Malta","defaultMessages.countries.MU":"Mauritius","defaultMessages.countries.MV":"Maldives","defaultMessages.countries.MW":"Malawi","defaultMessages.countries.MX":"Mexico","defaultMessages.countries.MY":"Malaysia","defaultMessages.countries.MZ":"Mozambique","defaultMessages.countries.NA":"Namibia","defaultMessages.countries.NC":"New Caledonia (French)","defaultMessages.countries.NE":"Niger","defaultMessages.countries.NF":"Norfolk Island","defaultMessages.countries.NG":"Nigeria","defaultMessages.countries.NI":"Nicaragua","defaultMessages.countries.NL":"Netherlands","defaultMessages.countries.NO":"Norway","defaultMessages.countries.NP":"Nepal","defaultMessages.countries.NR":"Nauru","defaultMessages.countries.NU":"Niue","defaultMessages.countries.NZ":"New Zealand","defaultMessages.countries.OM":"Oman","defaultMessages.countries.PA":"Panama","defaultMessages.countries.PE":"Peru","defaultMessages.countries.PF":"Polynesia (French)","defaultMessages.countries.PG":"Papua New Guinea","defaultMessages.countries.PH":"Philippines","defaultMessages.countries.PK":"Pakistan","defaultMessages.countries.PL":"Poland","defaultMessages.countries.PM":"Saint Pierre and Miquelon","defaultMessages.countries.PN":"Pitcairn Island","defaultMessages.countries.PR":"Puerto Rico","defaultMessages.countries.PS":"Palestine","defaultMessages.countries.PT":"Portugal","defaultMessages.countries.PW":"Palau","defaultMessages.countries.PY":"Paraguay","defaultMessages.countries.QA":"Qatar","defaultMessages.countries.RE":"Reunion (French)","defaultMessages.countries.RO":"Romania","defaultMessages.countries.RS":"Serbia","defaultMessages.countries.RU":"Russian Federation","defaultMessages.countries.RW":"Rwanda","defaultMessages.countries.SA":"Saudi Arabia","defaultMessages.countries.SB":"Solomon Islands","defaultMessages.countries.SC":"Seychelles","defaultMessages.countries.SD":"Sudan","defaultMessages.countries.SE":"Sweden","defaultMessages.countries.SG":"Singapore","defaultMessages.countries.SH":"Saint Helena","defaultMessages.countries.SI":"Slovenia","defaultMessages.countries.SK":"Slovak Republic","defaultMessages.countries.SL":"Sierra Leone","defaultMessages.countries.SM":"San Marino","defaultMessages.countries.SN":"Senegal","defaultMessages.countries.SO":"Somalia","defaultMessages.countries.SR":"Suriname","defaultMessages.countries.SS":"South Sudan","defaultMessages.countries.ST":"Saint Tome (Sao Tome) and Principe","defaultMessages.countries.SV":"El Salvador","defaultMessages.countries.SY":"Syria","defaultMessages.countries.SZ":"Swaziland","defaultMessages.countries.TC":"Turks and Caicos Islands","defaultMessages.countries.TD":"Chad","defaultMessages.countries.TF":"French Southern Territories","defaultMessages.countries.TG":"Togo","defaultMessages.countries.TH":"Thailand","defaultMessages.countries.TJ":"Tajikistan","defaultMessages.countries.TK":"Tokelau","defaultMessages.countries.TL":"Timor-Leste","defaultMessages.countries.TM":"Turkmenistan","defaultMessages.countries.TN":"Tunisia","defaultMessages.countries.TO":"Tonga","defaultMessages.countries.TR":"Turkey","defaultMessages.countries.TT":"Trinidad and Tobago","defaultMessages.countries.TV":"Tuvalu","defaultMessages.countries.TW":"Taiwan","defaultMessages.countries.TZ":"Tanzania","defaultMessages.countries.UA":"Ukraine","defaultMessages.countries.UG":"Uganda","defaultMessages.countries.UM":"USA Minor Outlying Islands","defaultMessages.countries.US":"United States","defaultMessages.countries.UY":"Uruguay","defaultMessages.countries.UZ":"Uzbekistan","defaultMessages.countries.VA":"Vatican City State","defaultMessages.countries.VC":"Saint Vincent & Grenadines","defaultMessages.countries.VE":"Venezuela","defaultMessages.countries.VG":"Virgin Islands (British)","defaultMessages.countries.VI":"Virgin Islands (USA)","defaultMessages.countries.VN":"Vietnam","defaultMessages.countries.VU":"Vanuatu","defaultMessages.countries.WF":"Wallis and Futuna Islands","defaultMessages.countries.WS":"Samoa","defaultMessages.countries.XK":"Kosovo","defaultMessages.countries.YE":"Yemen","defaultMessages.countries.YT":"Mayotte","defaultMessages.countries.ZA":"South Africa","defaultMessages.countries.ZM":"Zambia","defaultMessages.countries.ZW":"Zimbabwe","defaultMessages.country":"Country","defaultMessages.countryPlaceholder":"Country","defaultMessages.dateTime.20_MIN":"20 minutes","defaultMessages.dateTime.24_HRS":"24 hours","defaultMessages.dateTime.2_DAY":"2 days","defaultMessages.dateTime.2_HRS":"2 hours","defaultMessages.dateTime.2_MIN":"2 minutes","defaultMessages.dateTime.3_DAY":"3 days","defaultMessages.dateTime.A_FEW_DAYS":"a few days","defaultMessages.dateTime.A_FEW_HOURS":"a few hours","defaultMessages.dateTime.A_FEW_MINUTES":"a few minutes","defaultMessages.dateTime.A_HALF_HOUR":"half an hour","defaultMessages.dateTime.april":"April","defaultMessages.dateTime.august":"August","defaultMessages.dateTime.day":"Day","defaultMessages.dateTime.december":"December","defaultMessages.dateTime.february":"February","defaultMessages.dateTime.january":"January","defaultMessages.dateTime.july":"July","defaultMessages.dateTime.june":"June","defaultMessages.dateTime.march":"March","defaultMessages.dateTime.may":"May","defaultMessages.dateTime.month":"Month","defaultMessages.dateTime.november":"November","defaultMessages.dateTime.october":"October","defaultMessages.dateTime.september":"September","defaultMessages.dateTime.year":"Year","defaultMessages.dischargeDate":"Discharge date","defaultMessages.driverLicenseNumber":"Driver license number","defaultMessages.driverLicenseNumberPlaceholder":"Driver license number","defaultMessages.driverLicenseState":"Driver license state","defaultMessages.ebtCardNumber":"EBT Card Number","defaultMessages.emailAddress":"Email address","defaultMessages.emailAddressPlaceholder":"Email address","defaultMessages.error":"Error","defaultMessages.errorId.activeDutyStartDateBeforeBirthDate":"Start date must be after birth date","defaultMessages.errorId.apiRateLimitExceeded":"Unable to process your request at this time, please try again later","defaultMessages.errorId.dischargeDateBeforeBirthDate":"Discharge Date before birthdate","defaultMessages.errorId.docReviewLimitExceeded":"Document review limit exceeded","defaultMessages.errorId.expiredEmailLoopToken":"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you\'re looking for is no longer available.","defaultMessages.errorId.expiredProgram":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.expiredSMSCode":"Verification code expired","defaultMessages.errorId.expiredVerification":"This verification is expired. Please submit a new verification.","defaultMessages.errorId.failedToFetch":"Failed HTTP request","defaultMessages.errorId.fraudRulesReject":"We\'re unable to verify you using the information submitted. Please check your information for accuracy, and only use your own mobile device or computer.<br><br>Still having trouble? <a href=\\"{feedbackUrl}&pid={programId}&locale={locale}\\">Contact SheerID\'s support team</a> to confirm your identity.","defaultMessages.errorId.futureActiveDutyStartDate":"Future start date","defaultMessages.errorId.futureBirthDate":"Future birthdate","defaultMessages.errorId.futureDischargeDate":"Future discharge date","defaultMessages.errorId.inactiveProgram":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.incorrectVerificationOverrideCodeAttemptLimitExceeded":"Override code limit exceeded","defaultMessages.errorId.internalServerError":"Internal server error","defaultMessages.errorId.invalidActiveDutyStartDate":"Invalid start date","defaultMessages.errorId.invalidAddress":"Invalid address","defaultMessages.errorId.invalidApiToken":"Provided API token was invalid or empty","defaultMessages.errorId.invalidBirthDate":"Invalid birth date","defaultMessages.errorId.invalidCity":"Invalid city","defaultMessages.errorId.invalidCountry":"Invalid country","defaultMessages.errorId.invalidDischargeDate":"Invalid discharge date","defaultMessages.errorId.invalidDocUploadToken":"Provided document upload token is not valid","defaultMessages.errorId.invalidDriverLicenseNumber":"Invalid driver license number","defaultMessages.errorId.invalidEbtCardNumber":"Invalid EBT Card Number","defaultMessages.errorId.invalidEmail":"Invalid email","defaultMessages.errorId.invalidEmailLoopToken":"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you\'re looking for is no longer available.","defaultMessages.errorId.invalidFileSizeEmpty":"One or more files is empty","defaultMessages.errorId.invalidFileSizeMax":"One or more files is too large (max: 10MB)","defaultMessages.errorId.invalidFirstName":"Invalid first name","defaultMessages.errorId.invalidFirstResponderStatus":"Invalid first responder status","defaultMessages.errorId.invalidLastName":"Invalid last name","defaultMessages.errorId.invalidMemberId":"Invalid ID Number","defaultMessages.errorId.invalidMilitaryStatus":"Invalid military status","defaultMessages.errorId.invalidNumberOfFiles":"Maximum number of files exceeded (max: 5)","defaultMessages.errorId.invalidOptIn":"Must be selected to continue","defaultMessages.errorId.invalidOrganization":"You must select an organization from the list","defaultMessages.errorId.invalidOverrideCode":"Invalid Override Code","defaultMessages.errorId.invalidPhoneNumber":"Invalid mobile number","defaultMessages.errorId.invalidPostalCode":"Invalid postal code","defaultMessages.errorId.invalidProgram":"Invalid program","defaultMessages.errorId.invalidRequest":"Invalid request","defaultMessages.errorId.invalidSMSCode":"Verification code could not be validated","defaultMessages.errorId.invalidSocialSecurityNumber":"Invalid SSN","defaultMessages.errorId.invalidState":"Invalid state","defaultMessages.errorId.invalidStatus":"Invalid status","defaultMessages.errorId.invalidStatuses":"Invalid status","defaultMessages.errorId.invalidStep":"Invalid step","defaultMessages.errorId.marketConsentRequired":"Market consent required","defaultMessages.errorId.maxMetadataLengthExceeded":"Maximum length of metadata value exceeded","defaultMessages.errorId.maxMetadataValuesExceeded":"Maximum number of metadata values exceeded","defaultMessages.errorId.missingRequiredMetadata":"You must be logged in to verify. Log in to your account then try again.","defaultMessages.errorId.noProgram":"No program found","defaultMessages.errorId.noRemainingRewardCodes":"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.","defaultMessages.errorId.noValidFiles":"No valid files","defaultMessages.errorId.noVerification":"No verification found","defaultMessages.errorId.notApproved":"Not approved","defaultMessages.errorId.notFound":"Not found","defaultMessages.errorId.outsideAgePerson":"Birthdate is not eligible for this offer.","defaultMessages.errorId.requestTimeout":"Request timeout","defaultMessages.errorId.simulatedError":"This is a simulated error","defaultMessages.errorId.unauthorizedAccountStatus":"This offer has been temporarily discontinued. Please contact the brand’s customer support for more information.","defaultMessages.errorId.unauthorizedDomain":"Unauthorized domain","defaultMessages.errorId.underagePerson":"Persons under age 16 are not eligible for this offer.","defaultMessages.errorId.unknownError":"Unknown Error","defaultMessages.errorId.unsupportedDocMimeType":"One or more files is an unsupported format","defaultMessages.errorId.verificationLimitExceeded":"We\'re glad you\'re enthusiastic, but it looks like you\'ve already redeemed or attempted to redeem this offer.","defaultMessages.firstName":"First name","defaultMessages.firstNamePlaceholder":"First name","defaultMessages.firstResponderInfoShared":"Information entered here will be used for verification purposes. ","defaultMessages.footerText":"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>.","defaultMessages.getHelp":"Get help","defaultMessages.howDoesReviewWork":"How does review work?","defaultMessages.howDoesVerifyingWork":"How does verifying work?","defaultMessages.infoShared1":"By clicking, I consent to processing my information for the purpose of verifying my eligibility as described within the {privacyPolicyLink}","defaultMessages.infoShared2":". I understand that my information will be shared with {companyName}. ","defaultMessages.informationTransferredToUS":"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy.","defaultMessages.lastName":"Last name","defaultMessages.lastNamePlaceholder":"Last name","defaultMessages.limitExceededError":"Verification Limit Exceeded","defaultMessages.loading":"Loading...","defaultMessages.locales.ar":"Arabic","defaultMessages.locales.bg":"Bulgarian","defaultMessages.locales.cs":"Czech","defaultMessages.locales.da":"Danish","defaultMessages.locales.de":"German","defaultMessages.locales.el":"Greek","defaultMessages.locales.en-GB":"English (UK)","defaultMessages.locales.en-US":"English","defaultMessages.locales.es":"Spanish","defaultMessages.locales.es-ES":"Spanish (Spain)","defaultMessages.locales.fi":"Finnish","defaultMessages.locales.fr":"French","defaultMessages.locales.fr-CA":"French (Canadian)","defaultMessages.locales.ga":"Irish","defaultMessages.locales.hr":"Croatian","defaultMessages.locales.hu":"Hungarian","defaultMessages.locales.id":"Indonesian","defaultMessages.locales.it":"Italian","defaultMessages.locales.iw":"Hebrew","defaultMessages.locales.ja":"Japanese","defaultMessages.locales.ko":"Korean","defaultMessages.locales.lo":"Lao","defaultMessages.locales.lt":"Lithuanian","defaultMessages.locales.ms":"Malay","defaultMessages.locales.nl":"Dutch","defaultMessages.locales.no":"Norwegian","defaultMessages.locales.pl":"Polish","defaultMessages.locales.pt":"Portuguese","defaultMessages.locales.pt-BR":"Portuguese (Brazil)","defaultMessages.locales.ro":"Romanian","defaultMessages.locales.ru":"Russia","defaultMessages.locales.sk":"Slovak","defaultMessages.locales.sl":"Slovenian","defaultMessages.locales.sr":"Serbian","defaultMessages.locales.sv":"Swedish","defaultMessages.locales.th":"Thai","defaultMessages.locales.tr":"Turkish","defaultMessages.locales.ur":"Urdu","defaultMessages.locales.vi":"Vietnamese","defaultMessages.locales.zh":"Chinese (Traditional)","defaultMessages.locales.zh-HK":"Chinese (Hong Kong)","defaultMessages.locales.zu":"Zulu","defaultMessages.lowIncomeOrganization":"Government Assistance Program","defaultMessages.lowIncomeOrganizationPlaceholder":"Government Assistance Program","defaultMessages.lowRewardPool":"&#128293; Only {offersRemaining} offers left!","defaultMessages.memberId":"ID Number","defaultMessages.memberIdPlaceholder":"ID Number","defaultMessages.militaryFamilyCardNote":"Note: this offer is only available to military family members with a Dependent ID card.","defaultMessages.militaryInfoShared":"Information entered here will be used for verification purposes. ","defaultMessages.militaryStatus":"Military status","defaultMessages.noOptions":"No options","defaultMessages.optIn":"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more","defaultMessages.optional":"Optional","defaultMessages.organization":"Organization","defaultMessages.organizationPlaceholder":"Organization","defaultMessages.personalInformation":"Personal Information","defaultMessages.personalOrSchoolIsFine":"Personal or school email is fine","defaultMessages.phoneNumber":"Mobile Number","defaultMessages.phoneNumberExplanation":"Optional - get text notifications of status updates","defaultMessages.phoneNumberWarnMessage1":"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply.","defaultMessages.phoneNumberWarnMessage2":"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud.","defaultMessages.phoneUsPlaceholder":"555-555-5555","defaultMessages.postalCode":"Postal code","defaultMessages.postalCodeExplanation":"Use the location on file with your licensing body","defaultMessages.postalCodePlaceholder":"Postal code","defaultMessages.poweredBy":"Verification services powered by SheerID","defaultMessages.privacyPolicy":"Privacy Policy","defaultMessages.proceed":"Proceed","defaultMessages.requestSchool":"Don\'t see your school? Request to have it added.","defaultMessages.requiredFields":"All fields are required","defaultMessages.rewardCodeEmailNotification":"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.","defaultMessages.school":"School","defaultMessages.schoolName":"University / College name","defaultMessages.schoolNamePlaceholder":"University / College name","defaultMessages.sheeridFaqs":"SheerID FAQs","defaultMessages.smsCodePlaceholder":"SMS Code","defaultMessages.ssn":"Social Security Number","defaultMessages.ssnPlaceholder":"000-00-0000","defaultMessages.state":"State","defaultMessages.statePlaceholder":"State","defaultMessages.states.AK":"Alaska","defaultMessages.states.AL":"Alabama","defaultMessages.states.AR":"Arkansas","defaultMessages.states.AS":"American Samoa","defaultMessages.states.AZ":"Arizona","defaultMessages.states.CA":"California","defaultMessages.states.CO":"Colorado","defaultMessages.states.CT":"Connecticut","defaultMessages.states.DC":"District of Columbia","defaultMessages.states.DE":"Delaware","defaultMessages.states.FL":"Florida","defaultMessages.states.GA":"Georgia","defaultMessages.states.GU":"Guam","defaultMessages.states.HI":"Hawaii","defaultMessages.states.IA":"Iowa","defaultMessages.states.ID":"Idaho","defaultMessages.states.IL":"Illinois","defaultMessages.states.IN":"Indiana","defaultMessages.states.KS":"Kansas","defaultMessages.states.KY":"Kentucky","defaultMessages.states.LA":"Louisiana","defaultMessages.states.MA":"Massachusetts","defaultMessages.states.MD":"Maryland","defaultMessages.states.ME":"Maine","defaultMessages.states.MI":"Michigan","defaultMessages.states.MN":"Minnesota","defaultMessages.states.MO":"Missouri","defaultMessages.states.MS":"Mississippi","defaultMessages.states.MT":"Montana","defaultMessages.states.NC":"North Carolina","defaultMessages.states.ND":"North Dakota","defaultMessages.states.NE":"Nebraska","defaultMessages.states.NH":"New Hampshire","defaultMessages.states.NJ":"New Jersey","defaultMessages.states.NM":"New Mexico","defaultMessages.states.NV":"Nevada","defaultMessages.states.NY":"New York","defaultMessages.states.OH":"Ohio","defaultMessages.states.OK":"Oklahoma","defaultMessages.states.OR":"Oregon","defaultMessages.states.PA":"Pennsylvania","defaultMessages.states.PR":"Puerto Rico","defaultMessages.states.RI":"Rhode Island","defaultMessages.states.SC":"South Carolina","defaultMessages.states.SD":"South Dakota","defaultMessages.states.TN":"Tennessee","defaultMessages.states.TX":"Texas","defaultMessages.states.UT":"Utah","defaultMessages.states.VA":"Virginia","defaultMessages.states.VI":"Virgin Islands","defaultMessages.states.VT":"Vermont","defaultMessages.states.WA":"Washington","defaultMessages.states.WI":"Wisconsin","defaultMessages.states.WV":"West Virginia","defaultMessages.states.WY":"Wyoming","defaultMessages.status":"Status","defaultMessages.statusPlaceholder":"Status","defaultMessages.step.collectMedicalPersonalInfo.autorisationsIdExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.autorisationsIdLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.gbrNummerExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.gbrNummerLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.globalLocationNumberExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.globalLocationNumberLabel":"Global Location Number","defaultMessages.step.collectMedicalPersonalInfo.numeroColegiadoExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.numeroColegiadoLabel":"Registration Number","defaultMessages.step.collectMedicalPersonalInfo.registrationNumberExplanation":"Your Professional Membership Registration Number","defaultMessages.step.collectMedicalPersonalInfo.registrationNumberLabel":"Registration Number","defaultMessages.step.collectSocialSecurityNumber.selectOption":"Select an option","defaultMessages.step.collectSocialSecurityNumber.title":"Enter your social security number","defaultMessages.step.collectSocialSecurityNumber.uploadDoc":"Upload a document","defaultMessages.step.collectSocialSecurityNumber.uploadInstead":"Upload a document instead","defaultMessages.step.collectSocialSecurityNumber.useSsn":"Verify using your social security number","defaultMessages.step.consolation.subtitle":"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.","defaultMessages.step.consolation.title":"Claim your offer","defaultMessages.step.consolation.verificationOnly":"Please direct any and all questions about this offer to {companyName}.","defaultMessages.step.docUpload.acceptableUploadExamples":"Acceptable examples include:","defaultMessages.step.docUpload.acceptableUploads.age.birthCertificate":"Your birth certificate","defaultMessages.step.docUpload.acceptableUploads.age.driversLicense":"Your drivers license","defaultMessages.step.docUpload.acceptableUploads.age.passport":"Your passport","defaultMessages.step.docUpload.acceptableUploads.age.stateId":"Your state-issued ID","defaultMessages.step.docUpload.acceptableUploads.employment.employeeIdCard":"Employee ID Card","defaultMessages.step.docUpload.acceptableUploads.employment.officialLetter":"An official letter","defaultMessages.step.docUpload.acceptableUploads.employment.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptableUploads.firstResponder.idCard":"ID Card","defaultMessages.step.docUpload.acceptableUploads.firstResponder.letter":"An official letter","defaultMessages.step.docUpload.acceptableUploads.firstResponder.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptableUploads.licensedProfessional.license":"Certificate of license","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalLetter":"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter).","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot":"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account).","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programBankStatement":"A bank statement showing recent payment of the selected benefit.","defaultMessages.step.docUpload.acceptableUploads.lowIncome.programCard":"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program).","defaultMessages.step.docUpload.acceptableUploads.medical.idCard":"Nursing ID card with expiration date","defaultMessages.step.docUpload.acceptableUploads.medical.licenseCertificate":"Certificate of license","defaultMessages.step.docUpload.acceptableUploads.medical.photoPayStub":"Photo ID and recent Pay Stub","defaultMessages.step.docUpload.acceptableUploads.member.idCard":"Membership Document","defaultMessages.step.docUpload.acceptableUploads.member.payStub":"Pay stub from within last 90 days","defaultMessages.step.docUpload.acceptableUploads.military.activeDuty":"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more","defaultMessages.step.docUpload.acceptableUploads.military.dependent":"Any document that proves you are a Registered Military Dependent","defaultMessages.step.docUpload.acceptableUploads.military.goldStarFamily":"Any document that proves you are a Registered Gold Star Family Member","defaultMessages.step.docUpload.acceptableUploads.military.reservistA":"Any document that shows you are currently serving in a reserve component of the armed forces","defaultMessages.step.docUpload.acceptableUploads.military.retiree":"Any document that proves you are a retiree from the armed forces","defaultMessages.step.docUpload.acceptableUploads.military.veteran":"Any document that proves you met the qualifications of military service and were honorably discharged","defaultMessages.step.docUpload.acceptableUploads.recentMover.changeOfAddress":"U.S. Postal Service change of address confirmation letter","defaultMessages.step.docUpload.acceptableUploads.recentMover.mortgageDeed":"Mortgage deed","defaultMessages.step.docUpload.acceptableUploads.recentMover.rentalAgreement":"Lease or rental agreement","defaultMessages.step.docUpload.acceptableUploads.senior.birthCertificate":"Your birth certificate","defaultMessages.step.docUpload.acceptableUploads.senior.driversLicense":"Your drivers license","defaultMessages.step.docUpload.acceptableUploads.senior.passport":"Your passport","defaultMessages.step.docUpload.acceptableUploads.senior.stateId":"Your state-issued ID","defaultMessages.step.docUpload.acceptableUploads.student.classSchedule":"Class schedule","defaultMessages.step.docUpload.acceptableUploads.student.idCard":"School ID card with expiration date","defaultMessages.step.docUpload.acceptableUploads.student.tuitionReceipt":"Tuition receipt","defaultMessages.step.docUpload.acceptableUploads.teacher.idCard":"Teacher ID card with valid date","defaultMessages.step.docUpload.acceptableUploads.teacher.payStub":"Pay stub from within last 60 days","defaultMessages.step.docUpload.acceptedTypes":"File must be .jpg .jpeg .png .pdf .gif or .bmp","defaultMessages.step.docUpload.addFile":"Add file","defaultMessages.step.docUpload.allowedDocuments":"Please only upload documents you are legally allowed to provide.","defaultMessages.step.docUpload.cancelButtonLabel":"Cancel","defaultMessages.step.docUpload.cancelDocUploadLabel":"Click here if you are unable to verify with a document","defaultMessages.step.docUpload.fileInstructions":"Drag &amp; drop your files here or <span class=\\"sid-dropzone-wrap--link\\">browse</span>","defaultMessages.step.docUpload.nameChanged":"If your name has changed since the document was issued, upload a 2nd document showing your official name change.","defaultMessages.step.docUpload.rejectedSubtitle":"We were unable to confirm your eligibility due to:","defaultMessages.step.docUpload.rejectionReasons.CUSTOM_VALUE_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_DATE_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_EXPIRED":"The document has already expired or was issued too far in the past. Please upload a more recent document.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_HANDWRITTEN":"We cannot accept handwritten documents.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_LIKELY_FRAUD":"The document is insufficient for establishing eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_OUTDATED":"The document you submitted is missing an issue date or was issued too far in the past.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_OUTDATED_FACULTY":"The document you submitted does not prove employment in the current academic year.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_PASSWORD_PROTECTED":"We are unable to accept password protected documents.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_STATUS_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_TOO_FUTURE":"The date shown in the document is too far in the future. Please upload a more recent document, which proves your current status.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_UNREADABLE":"The document was unreadable due to poor image quality. Please make sure you have a clearly legible image that\'s bright and crisp, and try submitting again.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_UNSUPPORTED":"The document is not official or on the list of accepted document types.","defaultMessages.step.docUpload.rejectionReasons.DOCUMENT_VALID_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_JOB_TITLE":"The job title shown in the document is not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_ORGANIZATION":"The organization on the document you submitted is not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT":"High School Students are not eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_CUSTOM_VALUE":"The document is missing information needed to establish your eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_DOCUMENT_DATE":"The date(s) shown in the document are insufficient to prove your current status. Please upload a document that includes a recent month and year.","defaultMessages.step.docUpload.rejectionReasons.INSUFFICIENT_STATUS":"The document does not prove you are a status eligible for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_BIRTHDATE":"The birthdate on the document does not match the birthdate you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_COMPANY_NAME_OR_ADDRESS":"The company name or address in your document does not match what you entered on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_CUSTOM_VALUE":"Some information shown in the document does not match what you entered in the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION":"The organization name on the document(s) you submitted does not match the organization you listed on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION_COUNTRY":"The country shown in your document does not match the country you entered on your verification form","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_ORGANIZATION_NAME":"The organization name on the document does not match the organization name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_FIRST_NAME":"The first name on the document does not match the first name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_LAST_NAME":"The last name on the document does not match the last name you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_PERSON_NAME":"The information on the document you submitted does not match the first and/or last name submitted on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISMATCH_STATUS":"The status on the document does not match the status you entered on your verification form.","defaultMessages.step.docUpload.rejectionReasons.MISSING_CUSTOM_VALUE":"The document is missing information needed to establish your eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISSING_DOCUMENT_DATE":"A current date is missing. Please upload an official, dated document that proves your current status.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION":"The document you submitted does not provide all of the information necessary to determine eligibility for this offer.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES":"The document you submitted is does not show affiliation to an eligible branch of the United States Armed Forces.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_BIRTHDATE":"Your birthdate is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_ORGANIZATION_NAME":"Your organization name is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_PERSON_NAME":"The document you submitted is missing a first and/or last name.","defaultMessages.step.docUpload.rejectionReasons.MISSING_INFORMATION_UNIVERSITY_ENROLLMENT":"The document you submitted does not prove enrollment in the current term.","defaultMessages.step.docUpload.rejectionReasons.MISSING_OR_MISMATCH_JOB_TITLE":"The job title on the document you submitted is missing or does not match what you entered on the verification form.","defaultMessages.step.docUpload.rejectionReasons.MISSING_PERSON_FIRST_NAME":"Your first name is missing.","defaultMessages.step.docUpload.rejectionReasons.MISSING_PERSON_LAST_NAME":"Your last name is missing.","defaultMessages.step.docUpload.rejectionReasons.ORGANIZATION_NAME_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.OTHER_CONTACT_US":"We are having problems verifying your eligibility for the offer. Please contact SheerID customer service for help: customerservice@sheerid.com","defaultMessages.step.docUpload.rejectionReasons.OUT_OF_RANGE_BIRTHDATE":"Your birthdate is outside the acceptable range of this offer. ","defaultMessages.step.docUpload.rejectionReasons.PAYSTUB_OUTDATED_LAST_30_DAYS":"Please upload a paystub that was issued within the last 30 days.","defaultMessages.step.docUpload.rejectionReasons.PERSON_BIRTHDATE_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.PERSON_FIELD_MISMATCH":"A field in the document provided did not match with what was provided on the verification form.","defaultMessages.step.docUpload.rejectionReasons.PERSON_FIRST_NAME_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.rejectionReasons.PERSON_LAST_NAME_OTHER":"The document is insufficient for establishing eligibility for this offer","defaultMessages.step.docUpload.submitButtonLabel":"Continue","defaultMessages.step.docUpload.uploadInfo.affiliation":"Your current affiliation with that organization","defaultMessages.step.docUpload.uploadInfo.age.birthDate":"Your date of birth","defaultMessages.step.docUpload.uploadInfo.employment.company":"Your company","defaultMessages.step.docUpload.uploadInfo.employment.currentAffiliation":"Your current affiliation with that company","defaultMessages.step.docUpload.uploadInfo.firstResponder.currentAffiliation":"Your current affiliation with that organization","defaultMessages.step.docUpload.uploadInfo.firstResponder.license":"Your status or license as a First Responder","defaultMessages.step.docUpload.uploadInfo.firstResponder.organization":"Your organization","defaultMessages.step.docUpload.uploadInfo.fullName":"Your full name","defaultMessages.step.docUpload.uploadInfo.identity.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.licensedProfessional.licenseStatus":"Your professional license and/or certification status","defaultMessages.step.docUpload.uploadInfo.licensedProfessional.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.lowIncome.fullName":"Your full name","defaultMessages.step.docUpload.uploadInfo.lowIncome.validDate":"A valid date of issue (within the last 12 months) or date of expiry (must be valid)","defaultMessages.step.docUpload.uploadInfo.medical.status":"Your medical professional status","defaultMessages.step.docUpload.uploadInfo.medical.validDate":"A currently valid date","defaultMessages.step.docUpload.uploadInfo.military.currentAffiliation":"Your current affiliation with the armed services","defaultMessages.step.docUpload.uploadInfo.military.dischargeDate":"Your discharge date (if applicable)","defaultMessages.step.docUpload.uploadInfo.military.serviceBranch":"Your branch of service","defaultMessages.step.docUpload.uploadInfo.military.uploadInstructionsDependent":"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status","defaultMessages.step.docUpload.uploadInfo.organization":"Your organization","defaultMessages.step.docUpload.uploadInfo.recentMover.address":"Your new address","defaultMessages.step.docUpload.uploadInfo.recentMover.validDate":"A valid date for your recent move","defaultMessages.step.docUpload.uploadInfo.senior.birthDate":"Your date of birth","defaultMessages.step.docUpload.uploadInfo.student.enrollmentDate":"Date proving enrollment for the current term (or within the last 3 months)","defaultMessages.step.docUpload.uploadInfo.student.school":"Your school","defaultMessages.step.docUpload.uploadInfo.teacher.currentSchoolYear":"A date in the current school year","defaultMessages.step.docUpload.uploadInfo.teacher.school":"Your school","defaultMessages.step.emailLoop.errors.resend":"Error sending email","defaultMessages.step.emailLoop.resendButton":"Re-send","defaultMessages.step.emailLoop.skipEmail":"Unable to retrieve this email? Click","defaultMessages.step.emailLoop.skipEmail2":"to proceed.","defaultMessages.step.emailLoop.skipEmailCTA":"here","defaultMessages.step.emailLoop.subtitle2":"Please check for an email from us (verify@sheerid.com) for all the details.","defaultMessages.step.emailLoop.subtitleWithEmail":"An email has been sent to {email} with a personalized link to complete the verification process.","defaultMessages.step.emailLoop.subtitleWithoutEmail":"An email has been sent to your email account with a personalized link to complete the verification process.","defaultMessages.step.emailLoop.successResend":"Email re-sent successfully.","defaultMessages.step.emailLoop.title":"Check your email","defaultMessages.step.error.errorId.expiredProgram.buttonText":"See More Offers","defaultMessages.step.error.errorId.expiredProgram.title":"Offer Sold Out!","defaultMessages.step.error.errorId.inactiveProgram.buttonText":"See More Offers","defaultMessages.step.error.errorId.inactiveProgram.title":"Offer Sold Out!","defaultMessages.step.error.errorId.missingRequiredMetadata.title":"Please log in.","defaultMessages.step.error.errorId.noRemainingRewardCodes.buttonText":"See More Offers","defaultMessages.step.error.errorId.noRemainingRewardCodes.title":"Offer Sold Out!","defaultMessages.step.error.errorId.unauthorizedAccountStatus.buttonText":"Contact Support","defaultMessages.step.error.errorId.unauthorizedAccountStatus.title":"Offer Is Paused!","defaultMessages.step.error.errorId.verificationLimitExceeded.title":"Verification Limit Exceeded","defaultMessages.step.override.errors.codeOverrideLimit":"Override code limit exceeded.","defaultMessages.step.override.errors.invalidCode":"Invalid Override Code.","defaultMessages.step.override.submitOverrideCodeButtonLabel":"Submit Override Code","defaultMessages.step.override.subtitle":"If applicable, please enter a verification override code below.","defaultMessages.step.override.subtitle2":"This will enable the customer to redeem the offer","defaultMessages.step.override.title":"Unable to Verify Status","defaultMessages.step.override.verificationOverrideCodeLabel":"Verification Override Code","defaultMessages.step.pending.docDiffLang":"We identified your document is in a different language.","defaultMessages.step.pending.subtitle":"SheerID is reviewing your documents, to confirm your status. This process may take up to {maxReviewTime}.","defaultMessages.step.pending.subtitle2":"Wait here or let us notify you of the outcome.","defaultMessages.step.pending.subtitle3":"You will be contacted via email.","defaultMessages.step.pending.subtitleAlt":"SheerID is reviewing your documents, to confirm your status.","defaultMessages.step.pending.subtitleCountdown":"Hang tight while we upload and scan your documents.","defaultMessages.step.pending.titleCountdown":"Processing","defaultMessages.step.pending.titleReview":"Reviewing","defaultMessages.step.pending.turnaroundTime":"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.","defaultMessages.step.personalInfo.verifyingSubtitle":"This should only take a minute","defaultMessages.step.personalInfo.verifyingTitle":"Verifying your status","defaultMessages.step.smsLoop.errors.codeExpired":"Verification code could not be validated.","defaultMessages.step.smsLoop.errors.codeResendLimit":"Maximum number of re-tries has been reached.","defaultMessages.step.smsLoop.errors.codeVerification":"Verification code could not be validated.","defaultMessages.step.smsLoop.errors.resend":"Error sending the SMS message","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber1":"Incorrect number? Click","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber2":"here","defaultMessages.step.smsLoop.incorrectNumber.incorrectNumber3":"to return to {companyName}","defaultMessages.step.smsLoop.resendButton":"Re-send","defaultMessages.step.smsLoop.submitButton":"Submit","defaultMessages.step.smsLoop.successResend":"SMS message re-sent successfully","defaultMessages.step.smsLoop.titleWithNumber":"We\'ve sent an SMS message to the mobile number ending in {number}. Enter your code here.","defaultMessages.step.smsLoop.titleWithoutNumber":"We\'ve sent an SMS to your mobile number. Please enter the code here.","defaultMessages.step.smsLoop.verificationCode":"Verification Code","defaultMessages.step.sso.cancel":"Upload documents","defaultMessages.step.sso.login":"Sign in to my school","defaultMessages.step.sso.subtitle":"Please sign in to your school\'s web portal. It will open in a new tab.","defaultMessages.step.sso.subtitle2":"Can\'t sign in to your email?","defaultMessages.step.sso.title":"Verify using your school credentials","defaultMessages.step.success.copyCouponCode":"Copy Coupon code","defaultMessages.step.success.emailNotification":"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.","defaultMessages.step.success.verificationOnly":"\\n SheerID handles verification only.\\n Now that you\'ve been approved, please direct all questions about the\\n promotion terms to {companyName} customer service.\\n ","defaultMessages.streetAddress":"Street Address","defaultMessages.studentInfoShared":"Information entered here will be used for verification purposes and shared with {companyName}. ","defaultMessages.tryAgain":"Try again","defaultMessages.universityName":"University name","defaultMessages.verificationPurposesOnly":"Used for verification purposes only","defaultMessages.verifyAndContinue":"Verify and continue","defaultMessages.verifyMyEmploymentStatus":"Verify My Employee Status","defaultMessages.verifyMyFirstResponderStatus":"Verify My First Responder Status","defaultMessages.verifyMyIdentityStatus":"Verify My Identity","defaultMessages.verifyMyLicensedProfessionalStatus":"Verify My Licensed Professional Status","defaultMessages.verifyMyLowIncomeStatus":"Verify my status","defaultMessages.verifyMyMedicalProfessionalStatus":"Verify My Medical Professional Status","defaultMessages.verifyMyMembershipStatus":"Verify My Membership Status","defaultMessages.verifyMyMilitaryStatus":"Verify My Military Status","defaultMessages.verifyMyMoverStatus":"Verify My New Mover Status","defaultMessages.verifyMyStudentStatus":"Verify My Student Status","defaultMessages.verifyMyTeacherStatus":"Verify My Teacher Status","requestOrganizationMessages.changeLanguage":"Change language","requestOrganizationMessages.completeRequest":"Don\'t see your school in the list of eligible or ineligible schools? Complete your request","requestOrganizationMessages.copied":"Copied","requestOrganizationMessages.country":"Where is your educational institution located?","requestOrganizationMessages.description":"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID.","requestOrganizationMessages.eligibleOrgs":"Eligible schools. Click the icon to copy name then return to the verification form:","requestOrganizationMessages.errorId.invalidCountry":"Field is required","requestOrganizationMessages.errorId.invalidEmail":"Invalid Email","requestOrganizationMessages.errorId.invalidField":"Field is invalid","requestOrganizationMessages.errorId.invalidFirstName":"Invalid first name","requestOrganizationMessages.errorId.invalidLastName":"Invalid last name","requestOrganizationMessages.errorId.invalidUrl":"Invalid URL","requestOrganizationMessages.errorId.requiredField":"Field is required","requestOrganizationMessages.errorId.tooManyResults":"Your search returned too many results, please refine your search and try again","requestOrganizationMessages.faq":"SheerID Add School Request FAQ","requestOrganizationMessages.fields.countryPlaceholder":"Select Country","requestOrganizationMessages.fields.domainLabel":"School website","requestOrganizationMessages.fields.domainPlaceholder":"www.myschool.edu","requestOrganizationMessages.fields.orgNameLabel":"School name","requestOrganizationMessages.fields.orgNamePlaceholder":"My school","requestOrganizationMessages.ineligibleOrgs":"Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:","requestOrganizationMessages.noCountry":"Don\'t see your school’s country or region? You are not eligible for this offer.","requestOrganizationMessages.none":"None","requestOrganizationMessages.orgType.eligible":" - Eligible for this offer. Click the icon to copy name then return to the verification form:","requestOrganizationMessages.orgType.highSchool":"High Schools / Secondary Schools {e}","requestOrganizationMessages.orgType.ineligible":" - (Not eligible for this offer)","requestOrganizationMessages.orgType.k12":"K12 {e}","requestOrganizationMessages.orgType.postSecondary":"Post Secondary Institutions {e}","requestOrganizationMessages.orgType.university":"Universities {e}","requestOrganizationMessages.poweredBy":"Verification services powered by SheerID","requestOrganizationMessages.searchByOrgName":"Don\'t see your school? Search by name.","requestOrganizationMessages.step.error.contactUs":"contact us","requestOrganizationMessages.step.error.description":"Sorry we are not able to process your request. Please try again later.","requestOrganizationMessages.step.error.seeingProblem":"If you keep seeing this problem <a class=\'sid-link\' href=\'{feedbackUrl}&pid={programId}\' target=\'_blank\'>contact us</a>.","requestOrganizationMessages.step.error.title":"An unexpected error occurred","requestOrganizationMessages.step.success.description":"Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days.","requestOrganizationMessages.step.success.title":"Thank you","requestOrganizationMessages.submit":"Submit","requestOrganizationMessages.title":"Request to Add School","segmentMessages.age.emailExplanation":"Needed to send you your unique code","segmentMessages.age.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying age.\\n <br><br>\\n Documents are used only for verifying your current age and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.age.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.age.step.docUpload.title":"We need your license or passport","segmentMessages.age.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.age.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must be of a certain age.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\\n verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.age.step.personalInfo.subtitle":"Verify your current age.","segmentMessages.age.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.age.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your government-issued documents.","segmentMessages.age.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.age.step.personalInfo.verifyingTitle":"Verifying your age","segmentMessages.age.step.success.redirectButtonText":"Use code now","segmentMessages.age.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.age.step.success.title":"You\'ve been verified","segmentMessages.employment.emailExplanation":"Use your work email if you have one","segmentMessages.employment.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying employees.\\n <br><br>\\n Documents are used only for verify your employment status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.employment.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.employment.step.docUpload.title":"We need more information","segmentMessages.employment.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.employment.step.personalInfo.howDoesVerifyingWorkDetails":"{companyName} has set up this special offer for all current employees of select companies.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.employment.step.personalInfo.subtitle":"Verify you\'re a current employee at an eligible company.","segmentMessages.employment.step.personalInfo.title":"Unlock this Employment-Only Offer","segmentMessages.employment.step.personalInfo.tryAgain.subtitle":"The information you have provided should match your official documents.","segmentMessages.employment.step.personalInfo.tryAgain.title":"Check the information that you have provided","segmentMessages.employment.step.personalInfo.verifyingTitle":"Verifying your employment status","segmentMessages.employment.step.sso.cancel":"Upload proof of employment","segmentMessages.employment.step.sso.login":"Sign in to my email","segmentMessages.employment.step.sso.subtitle":"Please sign in to your company\'s email portal. It will open in a new tab.","segmentMessages.employment.step.sso.subtitle2":"Can\'t sign in to your email?","segmentMessages.employment.step.sso.title":"Verify using your company-provided email credentials","segmentMessages.employment.step.success.redirectButtonText":"Use code now","segmentMessages.employment.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.employment.step.success.title":"You\'ve been verified","segmentMessages.firstResponder.emailExplanation":"Needed to send you your unique code","segmentMessages.firstResponder.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying first responders.\\n <br><br>\\n Documents are used only for verifying your first responder status is current and will be permanently deleted after review is finalized.\\n They will not be shared with {companyName}","segmentMessages.firstResponder.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.firstResponder.step.docUpload.title":"We need your ID","segmentMessages.firstResponder.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.firstResponder.step.personalInfo.howDoesVerifyingWorkDetails":"\\n This offer is available to all US first responders and emergency personnel - including law enforcement,\\n EMTs, paramedics, and firefighters.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID\\n only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.firstResponder.step.personalInfo.subtitle":"Verify you\'re an active first responder.","segmentMessages.firstResponder.step.personalInfo.title":"Unlock this 1st Responder-Only Offer","segmentMessages.firstResponder.step.personalInfo.tryAgain.subtitle":"Your full name, organization name, and email must match what is on record with your agency.","segmentMessages.firstResponder.step.personalInfo.tryAgain.title":"Check Your Name, Email & Organization","segmentMessages.firstResponder.step.personalInfo.verifyingTitle":"Verifying your first responder status","segmentMessages.firstResponder.step.success.redirectButtonText":"Use code now","segmentMessages.firstResponder.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.firstResponder.step.success.title":"You\'ve been verified","segmentMessages.identity.emailExplanation":"Needed to send you your unique code","segmentMessages.identity.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying identity.\\n <br><br>\\n Documents are used only for verifying your current eligibility and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.identity.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.identity.step.docUpload.title":"We need your driver license","segmentMessages.identity.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.identity.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must have a valid driver license.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in\\n verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.identity.step.personalInfo.subtitle":"Verify your current identity.","segmentMessages.identity.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.identity.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.identity.step.personalInfo.tryAgain.title":"Check Your Name & other fields","segmentMessages.identity.step.personalInfo.verifyingTitle":"Verifying your identity","segmentMessages.identity.step.success.redirectButtonText":"Use code now","segmentMessages.identity.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.identity.step.success.title":"You\'ve been verified","segmentMessages.licensedProfessional.emailExplanation":"Needed to send you your unique code","segmentMessages.licensedProfessional.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying licensed professionals.\\n <br><br>\\n Documents are used only for verifying your licensure or certification status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.licensedProfessional.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.licensedProfessional.step.docUpload.title":"We need your professional license or certificate","segmentMessages.licensedProfessional.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.licensedProfessional.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must hold a current professional license in your specified field. Eligible fields are shown in the Status selector of this form.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional.\\n SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.licensedProfessional.step.personalInfo.subtitle":"\\"Verify you have a professional license in your field.","segmentMessages.licensedProfessional.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.licensedProfessional.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.licensedProfessional.step.personalInfo.tryAgain.title":"Check Your Name & other fields","segmentMessages.licensedProfessional.step.personalInfo.verifyingTitle":"Verifying your license","segmentMessages.licensedProfessional.step.success.redirectButtonText":"Use code now","segmentMessages.licensedProfessional.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.licensedProfessional.step.success.title":"You\'ve been verified","segmentMessages.lowIncome.emailExplanation":"","segmentMessages.lowIncome.postalCodeExplanation":"Use your home address","segmentMessages.lowIncome.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.\\n <br><br>\\n Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.lowIncome.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.lowIncome.step.docUpload.title":"We need some more info","segmentMessages.lowIncome.step.docUpload.uploadInstructions":"Upload an official document that shows:","segmentMessages.lowIncome.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below. \\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. \\n SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.lowIncome.step.personalInfo.subtitle":"Verify you qualify for an eligible government assistance program.","segmentMessages.lowIncome.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.lowIncome.step.personalInfo.tryAgain.subtitle":"Your information must match what is on your government-issued document(s).","segmentMessages.lowIncome.step.personalInfo.tryAgain.title":"Check Your full name & other fields","segmentMessages.lowIncome.step.personalInfo.verifyingTitle":"Verifying your status","segmentMessages.lowIncome.step.success.redirectButtonText":"Use code now","segmentMessages.lowIncome.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.lowIncome.step.success.title":"You\'ve been verified","segmentMessages.medical.emailExplanation":"Use your work email if you have one","segmentMessages.medical.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying\\n medical professionals.<br><br>Documents are used only for verifying your medical professional status is\\n current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.medical.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.medical.step.docUpload.title":"We need more information","segmentMessages.medical.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.medical.step.personalInfo.howDoesVerifyingWorkDetails":"To be eligible for this offer, you must (1) be a medical professional currently licensed in the United States\\n and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status\\n selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional.\\n SheerID only collects information that assists in verifying your eligibility.\\n Additional information or documentation may be requested.","segmentMessages.medical.step.personalInfo.subtitle":"Verify you\'re a licensed medical professional.","segmentMessages.medical.step.personalInfo.title":"Unlock this Medical Professional-Only Offer","segmentMessages.medical.step.personalInfo.tryAgain.subtitle":"Your first and last name, birthdate and organization must match what is on your official documents.","segmentMessages.medical.step.personalInfo.tryAgain.title":"Check your Name, Birthdate & Organization","segmentMessages.medical.step.personalInfo.verifyingTitle":"Verifying your medical professional status","segmentMessages.medical.step.sso.login":"Sign into my employer web portal","segmentMessages.medical.step.sso.subtitle":"Please sign into your employer\'s web portal. It will open in a new tab.","segmentMessages.medical.step.sso.title":"Verify your Healthcare status","segmentMessages.medical.step.success.redirectButtonText":"Use code now","segmentMessages.medical.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.medical.step.success.title":"You\'ve been verified","segmentMessages.member.emailExplanation":"Needed to send you your unique code","segmentMessages.member.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying members.\\n <br><br>\\n Documents are used only to verify that your membership status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.member.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.member.step.docUpload.title":"We need more information","segmentMessages.member.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.member.step.personalInfo.howDoesVerifyingWorkDetails":"{companyName} has set up this special offer for all current members of select organizations.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects\\n information that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.member.step.personalInfo.subtitle":"Verify you\'re a current member of an eligible organization.","segmentMessages.member.step.personalInfo.title":"Unlock this Members-Only Offer","segmentMessages.member.step.personalInfo.tryAgain.subtitle":"The information you have provided should match your official documents.","segmentMessages.member.step.personalInfo.tryAgain.title":"Check the information that you have provided","segmentMessages.member.step.personalInfo.verifyingTitle":"Verifying your membership status","segmentMessages.member.step.success.redirectButtonText":"Use code now","segmentMessages.member.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.member.step.success.title":"You\'ve been verified","segmentMessages.military.emailExplanation":"Personal email address is recommended","segmentMessages.military.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying military.\\n <br><br>\\n Documents are used only for verifying your military status is current and will be permanently deleted after review is finalized.\\n They will not be shared with {companyName}","segmentMessages.military.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.military.step.docUpload.title":"We need more information","segmentMessages.military.step.docUpload.uploadInstructions":"Upload your government-issued document that shows:","segmentMessages.military.step.personalInfo.howDoesVerifyingWorkDetails":"\\n This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information\\n that assists in verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.military.step.personalInfo.subtitle":"Verify you\'re a member of the armed forces.","segmentMessages.military.step.personalInfo.title":"Unlock this Military-Only Offer","segmentMessages.military.step.personalInfo.tryAgain.subtitle":"Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name.","segmentMessages.military.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.military.step.personalInfo.verifyingTitle":"Verifying your military status","segmentMessages.military.step.success.redirectButtonText":"Use code now","segmentMessages.military.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.military.step.success.title":"You\'ve been verified","segmentMessages.recentMover.emailExplanation":"Needed to send you your unique code","segmentMessages.recentMover.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying recent movers.\\n <br/><br/>\\n Documents are used only for verifying that you\'ve recently moved and will will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.recentMover.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.recentMover.step.docUpload.title":"We need some more info","segmentMessages.recentMover.step.docUpload.uploadInstructions":"Upload an official document that shows","segmentMessages.recentMover.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must have moved to a new address within the last 60 days.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only\\n collects information that assists in verifying your eligibility.\\n Additional information or documentation may be requested.","segmentMessages.recentMover.step.personalInfo.subtitle":"Verify you have recently moved.","segmentMessages.recentMover.step.personalInfo.title":"Unlock this Special Offer","segmentMessages.recentMover.step.personalInfo.tryAgain.subtitle":"Your first and last name and address must match what is on your official documents.","segmentMessages.recentMover.step.personalInfo.tryAgain.title":"Check Your Name & Address Information","segmentMessages.recentMover.step.personalInfo.verifyingTitle":"Verifying your moving status","segmentMessages.recentMover.step.success.redirectButtonText":"Use code now","segmentMessages.recentMover.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.recentMover.step.success.title":"You\'ve been verified","segmentMessages.senior.emailExplanation":"Needed to send you your unique code","segmentMessages.senior.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying age.\\n <br><br>\\n Documents are used only for verifying your current age and will be permanently deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.senior.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.senior.step.docUpload.title":"We need your license or passport","segmentMessages.senior.step.docUpload.uploadInstructions":"Upload a government-issued document that shows","segmentMessages.senior.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must be of a certain age.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\\n verifying your eligibility. Additional information or documentation may be requested.","segmentMessages.senior.step.personalInfo.subtitle":"Verify your current age.","segmentMessages.senior.step.personalInfo.title":"Unlock Your Special Offer","segmentMessages.senior.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your government-issued documents.","segmentMessages.senior.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.senior.step.personalInfo.verifyingTitle":"Verifying your age","segmentMessages.senior.step.success.redirectButtonText":"Use code now","segmentMessages.senior.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.senior.step.success.title":"You\'ve been verified","segmentMessages.student.emailExplanation":"A student email address is preferred","segmentMessages.student.schoolName":"University / college name","segmentMessages.student.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying students.\\n <br/><br/>\\n Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.","segmentMessages.student.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.student.step.docUpload.title":"We need your ID & class schedule","segmentMessages.student.step.docUpload.uploadInstructions":"Upload your school-issued document that shows","segmentMessages.student.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must currently be enrolled in a degree\\n or certificate-granting, accredited school of education.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only\\n collects information that assists in verifying your eligibility.\\n Additional information or documentation may be requested.","segmentMessages.student.step.personalInfo.subtitle":"Verify you\'re a student at a degree-granting school.","segmentMessages.student.step.personalInfo.title":"Unlock this Student-Only Offer","segmentMessages.student.step.personalInfo.tryAgain.subtitle":"Your full name and birthdate must match what is on your official school records.","segmentMessages.student.step.personalInfo.tryAgain.title":"Check Your Name & Birthdate","segmentMessages.student.step.personalInfo.verifyingTitle":"Verifying your student status","segmentMessages.student.step.sso.cancel":"Upload Proof of Enrollment","segmentMessages.student.step.success.redirectButtonText":"Use code now","segmentMessages.student.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.student.step.success.title":"You\'ve been verified","segmentMessages.teacher.emailExplanation":"Must be your school-issued email address","segmentMessages.teacher.schoolName":"School name","segmentMessages.teacher.schoolNamePlaceholder":"School name","segmentMessages.teacher.step.docUpload.howDoesVerifyingWorkDetails":"Document review is handled by SheerID, a trusted partner who specializes in verifying teachers.\\n <br><br>\\n Documents are used only for verifying your teacher or faculty status is current and will be permanently\\n deleted after review is finalized. They will not be shared with {companyName}","segmentMessages.teacher.step.docUpload.subtitle":"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.","segmentMessages.teacher.step.docUpload.title":"We need more information","segmentMessages.teacher.step.docUpload.uploadInstructions":"Upload your school-issued document that shows","segmentMessages.teacher.step.personalInfo.howDoesVerifyingWorkDetails":"\\n To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12\\n school or university in the United States.\\n <br><br>\\n {companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff\\n member. SheerID only collects information that assists in verifying your eligibility. Additional information\\n or documentation may be requested.","segmentMessages.teacher.step.personalInfo.subtitle":"Verify you\'re a teacher, faculty or staff at a K-12 or degree-granting university.","segmentMessages.teacher.step.personalInfo.title":"Unlock this Teaching Staff-Only Offer","segmentMessages.teacher.step.personalInfo.tryAgain.subtitle":"Your full name and email address must match what is on record with your school.","segmentMessages.teacher.step.personalInfo.tryAgain.title":"Check Your Name & Email","segmentMessages.teacher.step.personalInfo.verifyingTitle":"Verifying your teacher status","segmentMessages.teacher.step.success.redirectButtonText":"Use code now","segmentMessages.teacher.step.success.subtitle":"Here is your personal coupon code. It is unique to you and can only be used once.","segmentMessages.teacher.step.success.title":"You\'ve been verified"}');function wa(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Sa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=wa(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=wa(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ma=e=>{var r;const n=va()(r=t()(e)).call(r,((t,r)=>(e[r]&&(t[r]=e[r]),t)),{});return ya.flatten.unflatten(n)},Ca=function(){var e=hr((function*(e){let t;switch(e){case"ar":t=yield o.e(711).then(o.t.bind(o,49,19)).then((e=>e.default));break;case"bg":t=yield o.e(458).then(o.t.bind(o,7813,19)).then((e=>e.default));break;case"cs":t=yield o.e(41).then(o.t.bind(o,3751,19)).then((e=>e.default));break;case"da":t=yield o.e(348).then(o.t.bind(o,5298,19)).then((e=>e.default));break;case"de":t=yield o.e(903).then(o.t.bind(o,2464,19)).then((e=>e.default));break;case"el":t=yield o.e(482).then(o.t.bind(o,2757,19)).then((e=>e.default));break;case"en-GB":t=yield o.e(194).then(o.t.bind(o,2925,19)).then((e=>e.default));break;case"en-US":t=Ea;break;case"es-ES":t=yield o.e(79).then(o.t.bind(o,7954,19)).then((e=>e.default));break;case"es":t=yield o.e(195).then(o.t.bind(o,7685,19)).then((e=>e.default));break;case"fi":t=yield o.e(304).then(o.t.bind(o,4214,19)).then((e=>e.default));break;case"fr-CA":t=yield o.e(485).then(o.t.bind(o,7762,19)).then((e=>e.default));break;case"fr":t=yield o.e(645).then(o.t.bind(o,6685,19)).then((e=>e.default));break;case"ga":t=yield o.e(456).then(o.t.bind(o,1804,19)).then((e=>e.default));break;case"hr":t=yield o.e(122).then(o.t.bind(o,6754,19)).then((e=>e.default));break;case"hu":t=yield o.e(722).then(o.t.bind(o,465,19)).then((e=>e.default));break;case"id":t=yield o.e(398).then(o.t.bind(o,5394,19)).then((e=>e.default));break;case"it":t=yield o.e(797).then(o.t.bind(o,7206,19)).then((e=>e.default));break;case"iw":t=yield o.e(961).then(o.t.bind(o,7238,19)).then((e=>e.default));break;case"ja":t=yield o.e(691).then(o.t.bind(o,912,19)).then((e=>e.default));break;case"ko":t=yield o.e(293).then(o.t.bind(o,5295,19)).then((e=>e.default));break;case"lo":t=yield o.e(47).then(o.t.bind(o,4762,19)).then((e=>e.default));break;case"lt":t=yield o.e(283).then(o.t.bind(o,7399,19)).then((e=>e.default));break;case"ms":t=yield o.e(478).then(o.t.bind(o,8031,19)).then((e=>e.default));break;case"nl":t=yield o.e(596).then(o.t.bind(o,3845,19)).then((e=>e.default));break;case"no":t=yield o.e(44).then(o.t.bind(o,7897,19)).then((e=>e.default));break;case"pl":t=yield o.e(589).then(o.t.bind(o,2176,19)).then((e=>e.default));break;case"pt-BR":t=yield o.e(495).then(o.t.bind(o,3170,19)).then((e=>e.default));break;case"pt":t=yield o.e(259).then(o.t.bind(o,4055,19)).then((e=>e.default));break;case"ru":t=yield o.e(753).then(o.t.bind(o,4194,19)).then((e=>e.default));break;case"sk":t=yield o.e(61).then(o.t.bind(o,6349,19)).then((e=>e.default));break;case"sl":t=yield o.e(666).then(o.t.bind(o,7091,19)).then((e=>e.default));break;case"sr":t=yield o.e(916).then(o.t.bind(o,3263,19)).then((e=>e.default));break;case"sv":t=yield o.e(140).then(o.t.bind(o,8638,19)).then((e=>e.default));break;case"th":t=yield o.e(845).then(o.t.bind(o,2407,19)).then((e=>e.default));break;case"tr":t=yield o.e(856).then(o.t.bind(o,8374,19)).then((e=>e.default));break;case"zh-HK":t=yield o.e(93).then(o.t.bind(o,6320,19)).then((e=>e.default));break;case"zh":t=yield o.e(494).then(o.t.bind(o,7485,19)).then((e=>e.default));break;default:he.warn(`getMessagesModuleByLocale: Unable to load messages for ${e}, falling back to en-US`),t=Ea}return Ma(t)}));return function(t){return e.apply(this,arguments)}}(),Ia=function(){var e=hr((function*(e){const t=yield fetch(`${ta()}localized-messages/${e}.json`,{headers:{"Content-Type":"text/plain"}});let r={};try{r=yield t.json()}catch(e){he.error(e)}return Ma(r)}));return function(t){return e.apply(this,arguments)}}(),Na=e=>{var r;const n=(0,ya.flatten)(e),a={};return d()(r=t()(n)).call(r,(e=>{"string"==typeof n[e]&&(a[e]=n[e])})),a},Da=e=>{let t={};return Sn().messagesWithLocale[e]&&(t=Sn().messagesWithLocale[e]),t},Ta=e=>"iw"===e?"he":e,Aa=function(){var e=hr((function*(e,t,r){let n,a=e;Wr(a)||(he.error(`Invalid locale ${a}, falling back to ${en} for the verification form`,"Invalid locale"),a=en),n="true"===window.sheerIdEs5?yield Ia(a):yield Ca(a);const i=n?n.defaultMessages:{},o=n&&n.segmentMessages,s=r&&o?n.segmentMessages[r]:{},l=Da(a),u=t?Na(t):{},c=a!==en?yield Aa(en,t,r):{};return $()({},c,i?(0,ya.flatten)(i):{},s?(0,ya.flatten)(s):{},u,l?(0,ya.flatten)(l):{})}));return function(t,r,n){return e.apply(this,arguments)}}();const xa=(e,t)=>{const r=oe((()=>e.localeChoice.value))||function(e){return e?(e=>{let t;return t="en-US",t})():void 0}(oe((()=>e.countryChoice.value)))||Sn().locale||Ar(window.location.href).get("locale")||void 0||oe((()=>t.locale))||en;try{return qr(r),r}catch(e){return en}};function _a(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Oa(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=_a(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=_a(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ka={enabled:!1,required:!1,message:""},Pa=ma()({enabled:!1,keys:[],requiredKeys:[]}),Ra=e=>{let t=ie(Pa);try{oe((()=>e.config.customMetadata.enabled))&&(t=Oa(Oa({},t),e.config.customMetadata))}catch(e){he.warn("No custom metadata provided by the server.")}return Sn().customMetadata&&(t=Oa(Oa({},t),Sn().customMetadata)),t},Fa=e=>{let t=Oa({},ka);try{e.config.marketConsent&&(t=e.config.marketConsent)}catch(e){he.warn("Server did not provided a market consent config. Default will be used")}return Sn().marketConsent&&(t=Sn().marketConsent),t},La=e=>{let t;try{t=e.intl.messages}catch(t){he.warn("Unable to get theme messages from ",e)}return t},Ua=e=>Sn().customCss||e.customCss,Ba=e=>{const t=Sn();return t.hasOwnProperty("logoUrl")?t.logoUrl:e.logoUrl},Va=e=>Sn().privacyPolicyUrl||e.privacyPolicyUrl,ja=e=>{let t=["en-US"],r=[];try{r=e.config.locales}catch(e){he.warn("Unable to get configured locales from programTheme")}const n=za(Sn());return t=[...r,...n],a=t,i()(o=ha()(a).call(a)).call(o,((e,t,r)=>!t||e!==r[t-1]));var a,o},za=e=>e&&e.messagesWithLocale?t()(e.messagesWithLocale):[],Ha=e=>{try{if(e&&e.config&&e.config.countries)return e.config.countries;if(e.intl.messages.step.personalInfo.countries){const t=[];for(const r in e.intl.messages.step.personalInfo.countries)t.push(r);return t}}catch(e){he.warn("Unable to get configured countries")}return["US"]},$a=e=>{let t;try{t=e.config.estimatedReviewTime}catch(e){t="A_FEW_HOURS"}return t},qa=e=>{let t;try{t=e.config.maxReviewTime}catch(e){t="2_HRS"}return t},Wa=Sn(),Ga=(e,t,r,n)=>{let a;try{a=e.config.customFaqLink}catch(e){a=""}return a&&""!==a?a:`${(()=>{const e="urlFaq";return Wa.hasOwnProperty(e)||he.error(`Can't find an option for '${e}'`,"Option not found"),Wa[e]})()}?pid=${r}&locale=${(e=>e.replace("-","_"))(n)}`},Ya=(e,t)=>oe((()=>e.config.orgSearchCountryTags[t].join(",")),""),Ka=({children:e})=>q.createElement("div",{className:"sid sid-form-wrapper"},e);function Za(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ja(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Za(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Za(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Xa={firstName:"",lastName:"",email:"",phoneNumber:""},Qa={countryChoice:void 0,localeChoice:{value:void 0,label:void 0}},ei={organization:{id:0,name:""}},ti={fieldsToSkipValidation:void 0},ri=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ni=Ja(Ja(Ja(Ja({},Xa),Qa),ti),{},{birthDate:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ai=Ja(Ja(Ja(Ja({},Xa),Qa),ti),{},{birthDate:"",postalCode:"",phoneNumber:"",country:"US",metadata:{marketConsentValue:!1,carrierConsentValue:!1,refererUrl:window.location.href}}),ii=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{birthDate:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),oi=Ja(Ja(Ja(Ja({},Xa),Qa),ei),{},{birthDate:"",phoneNumber:"",memberId:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),si=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{activeDutyStartDate:"",birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),li=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{activeDutyStartDate:"",birthDate:"",dischargeDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ui=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{birthDate:"",status:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),ci=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{birthDate:"",postalCode:"",status:void 0,country:void 0,metadata:{marketConsentValue:!1,refererUrl:window.location.href},memberId:void 0}),di=Ja(Ja(Ja(Ja(Ja({},Xa),Qa),ti),ei),{},{postalCode:"",address1:"",city:"",state:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),fi=Ja(Ja(Ja(Ja({},Xa),ti),Qa),{},{state:"",driverLicenseNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),mi=Ja(Ja(Ja(Ja({},Xa),ti),Qa),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),pi=Ja(Ja(Ja(Ja({},Xa),ti),Qa),{},{birthDate:"",address1:"",city:"",state:"",postalCode:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href},driverLicenseNumber:""}),hi=Ja(Ja(Ja(Ja(Ja({},Xa),ti),Qa),ei),{},{birthDate:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),gi=Ja(Ja(Ja(Ja({},Xa),ti),Qa),{},{address1:"",postalCode:"",statuses:[],metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),vi=Ja(Ja(Ja(Ja(Ja({},Xa),ti),Qa),ei),{},{birthDate:"",postalCode:"",statuses:[],ebtCardNumber:"",metadata:{marketConsentValue:!1,refererUrl:window.location.href}}),yi=Ja(Ja(Ja({},Qa),ti),{},{file1:void 0,file2:void 0,file3:void 0}),bi=Ja(Ja(Ja({},Qa),ti),{},{isSSOActive:!1}),Ei=(Ja(Ja({},Qa),{},{overrideCode:void 0}),Ja(Ja({},Qa),{},{socialSecurityNumber:void 0})),wi=Ja(Ja({},Qa),{},{smsCode:"",phoneNumber:void 0}),Si=Ja(Ja({},Qa),{},{emailToken:""}),Mi=Ja({},Qa),Ci={firstName:void 0,lastName:void 0,memberId:void 0,email:void 0,phoneNumber:void 0,birthDate:void 0,organization:void 0,postalCode:void 0,address1:void 0,city:void 0,country:void 0,state:void 0,activeDutyStartDate:void 0,dischargeDate:void 0,docUpload:void 0,status:void 0,statuses:void 0,socialSecurityNumber:void 0,marketConsentValue:void 0,carrierConsentValue:void 0,smsCode:void 0,driverLicenseNumber:void 0,ebtCardNumber:void 0,overrideCode:void 0},Ii=()=>({collectStudentPersonalInfo:ie(ri),collectTeacherPersonalInfo:ie(ii),collectMemberPersonalInfo:ie(oi),collectMilitaryStatus:ie(si),collectActiveMilitaryPersonalInfo:ie(si),collectInactiveMilitaryPersonalInfo:ie(li),collectSeniorPersonalInfo:ie(ni),collectAgePersonalInfo:ie(ai),collectFirstResponderPersonalInfo:ie(ui),collectMedicalProfessionalPersonalInfo:ie(ci),collectEmployeePersonalInfo:ie(di),collectSocialSecurityNumber:ie(Ei),collectDriverLicensePersonalInfo:ie(fi),collectGeneralIdentityPersonalInfo:ie(mi),collectHybridIdentityPersonalInfo:ie(pi),collectLicensedProfessionalPersonalInfo:ie(hi),collectLowIncomePersonalInfo:ie(vi),collectMoverPersonalInfo:ie(gi),docUpload:ie(yi),cancelEmailLoop:ie(Si),sso:ie(bi),smsLoop:ie(wi),emailLoop:ie(Si),pending:ie(Mi),success:ie(Mi),consolation:ie(Mi),override:ie(Mi),error:ie(Mi),cancelSocialSecurityNumber:ie(Mi),docReviewLimitExceeded:ie(Mi),cancelDocUpload:ie(Mi),missingRequiredMetadata:ie(Mi)}),Ni=()=>ie(Ci),Di=()=>({intl:{locale:xa(),messages:{}},customCss:""}),Ti=Ja(Ja({},Qa),{},{orgDomain:"",orgName:"",firstName:"",lastName:"",email:"",displayResults:!1,searchByOrgName:!1,completeRequest:!1,eligibleOrgs:[],ineligibleOrgs:[],orgCountryError:null,orgDomainError:null,orgNameError:null,firstNameError:null,lastNameError:null,emailError:null,isSearching:!1});const Ai=ma()({viewModel:ie(Ti),programTheme:void 0,programId:void 0,submitted:!1,error:void 0,locale:void 0,messages:void 0,isLoading:1,isInitialized:!1}),xi=()=>ie(Ai),_i=q.createContext([xi(),()=>{}]);var Oi=o(1652);function ki(){return ki=Oi||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ki.apply(this,arguments)}var Pi=o(8897),Ri=o(1245),Fi=o(7347);function Li(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Fi(e);for(n=0;n<i.length;n++)r=i[n],Ri(t).call(t,r)>=0||(a[r]=e[r]);return a}(e,t);if(Pi){var i=Pi(e);for(n=0;n<i.length;n++)r=i[n],Ri(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const Ui=["dangerouslySetInnerHTML"],Bi=e=>{let{dangerouslySetInnerHTML:t}=e,r=Li(e,Ui);return t?q.createElement("span",ki({dangerouslySetInnerHTML:t},r)):q.createElement(q.Fragment,r)};var Vi,ji=o(2814),zi=o.n(ji),Hi=o(1671),$i=o.n(Hi),qi=o(8338),Wi=o.n(qi);!function(e){e.UK="UK",e.GB="GB",e.JE="JE",e.GG="GG",e.IM="IM",e.US="US",e.CA="CA",e.IE="IE",e.DE="DE",e.JP="JP",e.FR="FR",e.AU="AU",e.IT="IT",e.CH="CH",e.AT="AT",e.ES="ES",e.NL="NL",e.BE="BE",e.DK="DK",e.SE="SE",e.NO="NO",e.BR="BR",e.PT="PT",e.FI="FI",e.AX="AX",e.KR="KR",e.CN="CN",e.TW="TW",e.SG="SG",e.DZ="DZ",e.AD="AD",e.AR="AR",e.AM="AM",e.AZ="AZ",e.BH="BH",e.BD="BD",e.BB="BB",e.BY="BY",e.BM="BM",e.BA="BA",e.IO="IO",e.BN="BN",e.BG="BG",e.KH="KH",e.CV="CV",e.CL="CL",e.CR="CR",e.HR="HR",e.CY="CY",e.CZ="CZ",e.DO="DO",e.EC="EC",e.EG="EG",e.EE="EE",e.FO="FO",e.GE="GE",e.GR="GR",e.GL="GL",e.GT="GT",e.HT="HT",e.HN="HN",e.HU="HU",e.IS="IS",e.IN="IN",e.ID="ID",e.IL="IL",e.JO="JO",e.KZ="KZ",e.KE="KE",e.KW="KW",e.LA="LA",e.LV="LV",e.LB="LB",e.LI="LI",e.LT="LT",e.LU="LU",e.MK="MK",e.MY="MY",e.MV="MV",e.MT="MT",e.MU="MU",e.MX="MX",e.MD="MD",e.MC="MC",e.MA="MA",e.NP="NP",e.NZ="NZ",e.NI="NI",e.NG="NG",e.OM="OM",e.PK="PK",e.PY="PY",e.PH="PH",e.PL="PL",e.PR="PR",e.RO="RO",e.RU="RU",e.SM="SM",e.SA="SA",e.SN="SN",e.SK="SK",e.SI="SI",e.ZA="ZA",e.LK="LK",e.TJ="TJ",e.TH="TH",e.TN="TN",e.TR="TR",e.TM="TM",e.UA="UA",e.UY="UY",e.UZ="UZ",e.VA="VA",e.VE="VE",e.ZM="ZM",e.AS="AS",e.CC="CC",e.CK="CK",e.RS="RS",e.ME="ME",e.CS="CS",e.YU="YU",e.CX="CX",e.ET="ET",e.FK="FK",e.NF="NF",e.FM="FM",e.GF="GF",e.GN="GN",e.GP="GP",e.GS="GS",e.GU="GU",e.GW="GW",e.HM="HM",e.IQ="IQ",e.KG="KG",e.LR="LR",e.LS="LS",e.MG="MG",e.MH="MH",e.MN="MN",e.MP="MP",e.MQ="MQ",e.NC="NC",e.NE="NE",e.VI="VI",e.PF="PF",e.PG="PG",e.PM="PM",e.PN="PN",e.PW="PW",e.RE="RE",e.SH="SH",e.SJ="SJ",e.SO="SO",e.SZ="SZ",e.TC="TC",e.WF="WF",e.XK="XK",e.YT="YT",e.INTL="INTL"}(Vi||(Vi={}));const Gi=new Map([[Vi.UK,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[Vi.GB,/^([A-Z]){1}([0-9][0-9]|[0-9]|[A-Z][0-9][A-Z]|[A-Z][0-9][0-9]|[A-Z][0-9]|[0-9][A-Z]){1}([ ])?([0-9][A-z][A-z]){1}$/i],[Vi.JE,/^JE\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[Vi.GG,/^GY\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[Vi.IM,/^IM\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}$/],[Vi.US,/^([0-9]{5})(?:-([0-9]{4}))?$/],[Vi.CA,/^([ABCEGHJKLMNPRSTVXY][0-9][ABCEGHJKLMNPRSTVWXYZ])\s*([0-9][ABCEGHJKLMNPRSTVWXYZ][0-9])$/i],[Vi.IE,/^([AC-FHKNPRTV-Y][0-9]{2}|D6W)[ -]?[0-9AC-FHKNPRTV-Y]{4}$/],[Vi.DE,/^\d{5}$/],[Vi.JP,/^\d{3}-\d{4}$/],[Vi.FR,/^\d{2}[ ]?\d{3}$/],[Vi.AU,/^\d{4}$/],[Vi.IT,/^\d{5}$/],[Vi.CH,/^\d{4}$/],[Vi.AT,/^(?!0)\d{4}$/],[Vi.ES,/^\d{5}$/],[Vi.NL,/^\d{4}[ ]?[A-Z]{2}$/],[Vi.BE,/^\d{4}$/],[Vi.DK,/^\d{4}$/],[Vi.SE,/^(SE-)?\d{3}[ ]?\d{2}$/],[Vi.NO,/^\d{4}$/],[Vi.BR,/^\d{5}[\-]?\d{3}$/],[Vi.PT,/^\d{4}([\-]\d{3})?$/],[Vi.FI,/^(FI-|AX-)?\d{5}$/],[Vi.AX,/^22\d{3}$/],[Vi.KR,/^\d{5}$/],[Vi.CN,/^\d{6}$/],[Vi.TW,/^\d{3}(\d{2})?$/],[Vi.SG,/^\d{6}$/],[Vi.DZ,/^\d{5}$/],[Vi.AD,/^AD\d{3}$/],[Vi.AR,/^([A-HJ-NP-Z])?\d{4}([A-Z]{3})?$/],[Vi.AM,/^(37)?\d{4}$/],[Vi.AZ,/^\d{4}$/],[Vi.BH,/^((1[0-2]|[2-9])\d{2})?$/],[Vi.BD,/^\d{4}$/],[Vi.BB,/^(BB\d{5})?$/],[Vi.BY,/^\d{6}$/],[Vi.BM,/^[A-Z]{2}[ ]?[A-Z0-9]{2}$/],[Vi.BA,/^\d{5}$/],[Vi.IO,/^BBND 1ZZ$/],[Vi.BN,/^[A-Z]{2}[ ]?\d{4}$/],[Vi.BG,/^\d{4}$/],[Vi.KH,/^\d{5}$/],[Vi.CV,/^\d{4}$/],[Vi.CL,/^\d{7}$/],[Vi.CR,/^\d{4,5}|\d{3}-\d{4}$/],[Vi.HR,/^(HR-)?\d{5}$/],[Vi.CY,/^\d{4}$/],[Vi.CZ,/^\d{3}[ ]?\d{2}$/],[Vi.DO,/^\d{5}$/],[Vi.EC,/^([A-Z]\d{4}[A-Z]|(?:[A-Z]{2})?\d{6})?$/],[Vi.EG,/^\d{5}$/],[Vi.EE,/^\d{5}$/],[Vi.FO,/^\d{3}$/],[Vi.GE,/^\d{4}$/],[Vi.GR,/^\d{3}[ ]?\d{2}$/],[Vi.GL,/^39\d{2}$/],[Vi.GT,/^\d{5}$/],[Vi.HT,/^\d{4}$/],[Vi.HN,/^(?:\d{5})?$/],[Vi.HU,/^\d{4}$/],[Vi.IS,/^\d{3}$/],[Vi.IN,/^\d{6}$/],[Vi.ID,/^\d{5}$/],[Vi.IL,/^\d{5,7}$/],[Vi.JO,/^\d{5}$/],[Vi.KZ,/^\d{6}$/],[Vi.KE,/^\d{5}$/],[Vi.KW,/^\d{5}$/],[Vi.LA,/^\d{5}$/],[Vi.LV,/^(LV-)?\d{4}$/],[Vi.LB,/^(\d{4}([ ]?\d{4})?)?$/],[Vi.LI,/^(948[5-9])|(949[0-7])$/],[Vi.LT,/^(LT-)?\d{5}$/],[Vi.LU,/^(L-)?\d{4}$/],[Vi.MK,/^\d{4}$/],[Vi.MY,/^\d{5}$/],[Vi.MV,/^\d{5}$/],[Vi.MT,/^[A-Z]{3}[ ]?\d{2,4}$/],[Vi.MU,/^((\d|[A-Z])\d{4})?$/],[Vi.MX,/^\d{5}$/],[Vi.MD,/^\d{4}$/],[Vi.MC,/^980\d{2}$/],[Vi.MA,/^\d{5}$/],[Vi.NP,/^\d{5}$/],[Vi.NZ,/^\d{4}$/],[Vi.NI,/^((\d{4}-)?\d{3}-\d{3}(-\d{1})?)?$/],[Vi.NG,/^(\d{6})?$/],[Vi.OM,/^(PC )?\d{3}$/],[Vi.PK,/^\d{5}$/],[Vi.PY,/^\d{4}$/],[Vi.PH,/^\d{4}$/],[Vi.PL,/^\d{2}-\d{3}$/],[Vi.PR,/^00[679]\d{2}([ \-]\d{4})?$/],[Vi.RO,/^\d{6}$/],[Vi.RU,/^\d{6}$/],[Vi.SM,/^4789\d$/],[Vi.SA,/^\d{5}$/],[Vi.SN,/^\d{5}$/],[Vi.SK,/^\d{3}[ ]?\d{2}$/],[Vi.SI,/^(SI-)?\d{4}$/],[Vi.ZA,/^\d{4}$/],[Vi.LK,/^\d{5}$/],[Vi.TJ,/^\d{6}$/],[Vi.TH,/^\d{5}$/],[Vi.TN,/^\d{4}$/],[Vi.TR,/^\d{5}$/],[Vi.TM,/^\d{6}$/],[Vi.UA,/^\d{5}$/],[Vi.UY,/^\d{5}$/],[Vi.UZ,/^\d{6}$/],[Vi.VA,/^00120$/],[Vi.VE,/^\d{4}$/],[Vi.ZM,/^\d{5}$/],[Vi.AS,/^96799$/],[Vi.CC,/^6799$/],[Vi.CK,/^\d{4}$/],[Vi.RS,/^\d{5,6}$/],[Vi.ME,/^8\d{4}$/],[Vi.CS,/^\d{5}$/],[Vi.YU,/^\d{5}$/],[Vi.CX,/^6798$/],[Vi.ET,/^\d{4}$/],[Vi.FK,/^FIQQ 1ZZ$/],[Vi.NF,/^2899$/],[Vi.FM,/^(9694[1-4])([ \-]\d{4})?$/],[Vi.GF,/^9[78]3\d{2}$/],[Vi.GN,/^\d{3}$/],[Vi.GP,/^9[78][01]\d{2}$/],[Vi.GS,/^SIQQ 1ZZ$/],[Vi.GU,/^969[123]\d([ \-]\d{4})?$/],[Vi.GW,/^\d{4}$/],[Vi.HM,/^\d{4}$/],[Vi.IQ,/^\d{5}$/],[Vi.KG,/^\d{6}$/],[Vi.LR,/^\d{4}$/],[Vi.LS,/^\d{3}$/],[Vi.MG,/^\d{3}$/],[Vi.MH,/^969[67]\d([ \-]\d{4})?$/],[Vi.MN,/^\d{6}$/],[Vi.MP,/^9695[012]([ \-]\d{4})?$/],[Vi.MQ,/^9[78]2\d{2}$/],[Vi.NC,/^988\d{2}$/],[Vi.NE,/^\d{4}$/],[Vi.VI,/^008(([0-4]\d)|(5[01]))([ \-]\d{4})?$/],[Vi.PF,/^987\d{2}$/],[Vi.PG,/^\d{3}$/],[Vi.PM,/^9[78]5\d{2}$/],[Vi.PN,/^PCRN 1ZZ$/],[Vi.PW,/^96940$/],[Vi.RE,/^9[78]4\d{2}$/],[Vi.SH,/^(ASCN|STHL) 1ZZ$/],[Vi.SJ,/^\d{4}$/],[Vi.SO,/^\d{5}$/],[Vi.SZ,/^[HLMS]\d{3}$/],[Vi.TC,/^TKCA 1ZZ$/],[Vi.WF,/^986\d{2}$/],[Vi.XK,/^\d{5}$/],[Vi.YT,/^976\d{2}$/],[Vi.INTL,/^(?:[A-Z0-9]+([- ]?[A-Z0-9]+)*)?$/i]]);var Yi=o(861),Ki=o.n(Yi);const Zi=["ACTIVE_DUTY","VETERAN","RESERVIST","MILITARY_RETIREE","MILITARY_FAMILY","GOLD_STAR_FAMILY"],Ji=["FIREFIGHTER","EMT","POLICE","SEARCH_AND_RESCUE"],Xi=["NURSE","DOCTOR","DENTIST","PHARMACIST","OTHER_HEALTH_WORKER"];let Qi={};function eo(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function to(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=eo(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=eo(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ro=10,no=[/^\+?0*\d{10,}(x[0-9]{0,5})?$/,/(^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$)/],ao=(e,t)=>{const r=jr();for(const r in e){var n;const a=e[r]?e[r]:"",i=e.fieldsToSkipValidation&&zi()(n=e.fieldsToSkipValidation).call(n,r);if(_e[r]&&"string"==typeof Vo(r,a,t)&&!i)return!1}const a=oe((()=>e.metadata),null);if(null!==a)for(const e in a){const n=void 0!==a[e]?a[e]:"";if(zi()(r).call(r,e)&&"string"==typeof Br(e)(n,t))return!1}return!0},io=(e,t,r,n,a)=>n?(he.info(`Using overridden validator for field '${e}'`),n(t,a)):r(t,a),oo=()=>{const e=Ni(),t=(()=>{const e={},t=jr();if(t)for(const r of t)e[r]=void 0;return e})();return to(to({},e),t)},so=e=>{if(void 0===e||!Oo(e))return"invalidFirstName"},lo=e=>{if(void 0===e||!Oo(e))return"invalidLastName"},uo=()=>{},co=e=>{if(!e)return"invalidCountry"},fo=e=>{if(void 0===e||!/(^\s*?[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+)*@([A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+(\.[A-Za-z0-9!#$%&''*+\/=?^_`{|}~-]+)+|\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])\s*?$)/.test(e))return"invalidEmail"},mo=e=>t=>{const r="invalidPhoneNumber";if(e&&!t)return r;const n=i()(no).call(no,(e=>e.test(t)));return t&&0===n.length?r:void 0},po=e=>{if(void 0===e.id||$i()(e.id)||"EMPLOYER"!==e.source&&e.id<0||"EMPLOYER"===e.source&&(e.id>-1||!e.idExtended)||0===e.id&&e.name.length<=0)return"invalidOrganization"},ho=(e,t)=>{const r="invalidBirthDate";if(oe((()=>"collectMemberPersonalInfo"===t.currentStep))){if(void 0===e||""===e||e.split("undefined").join("").length<=2)return;if(!Po(e)||!ko(e))return r}else if(void 0===e||!Po(e)||!ko(e))return r;return Lo(e,oe((()=>t.minAge)),oe((()=>t.maxAge)))?"outsideAgePerson":Ro(e)?"futureBirthDate":Fo(e)?"underagePerson":void 0},go=e=>{const t=tn;return void 0===e?"noValidFiles":(r=e.name)&&zi()(r).call(r,".")&&!zi()(t).call(t,e.type)?"unsupportedDocMimeType":e.size>10485760?"invalidFileSizeMax":e.size<=0?"invalidFileSizeEmpty":void 0;var r},vo=e=>{if(!e.match(/^\d{16,19}$/))return"invalidEbtCardNumber";if(Z()(e).call(e,"610098")&&19!==e.length)return"invalidEbtCardNumber";const t=["600486","507712","507714"];return re()(t).call(t,(t=>Z()(e).call(e,t)))||Ki()(e)?void 0:"invalidEbtCardNumber"},yo=(e,t)=>{const r=oe((()=>t.viewModel.countryChoice.value),"US");if(!Uo(r,e))return"invalidPostalCode"},bo=e=>{if(!e)return"invalidAddress"},Eo=e=>{if(!e)return"invalidCity"},wo=e=>{if(!Bo(e))return"invalidState"},So=e=>void 0!==e&&Po(e)&&ko(e),Mo=(e,t)=>new Date(e)<new Date(t.birthDate),Co=(e,t)=>So(e)?Ro(e)?"futureDischargeDate":Mo(e,t.viewModel)?"dischargeDateBeforeBirthDate":void 0:"invalidDischargeDate",Io=(e,t)=>{if(e||t.strictMilitaryValidationEnabled)return So(e)?Ro(e)?"futureActiveDutyStartDate":Mo(e,t.viewModel)?"activeDutyStartDateBeforeBirthDate":void 0:"invalidActiveDutyStartDate"},No=e=>{if(9!==e.toString().length)return"invalidSocialSecurityNumber"},Do=e=>{if(void 0===e||!/^[A-Za-z0-9-\*]{1,100}$/.test(e))return"invalidDriverLicenseNumber"},To=e=>{if(!e||!xo(e)||!_o(e))return"invalidStatuses"},Ao=e=>{if(!e||!(e=>zi()(Zi).call(Zi,e))(e)&&!(e=>zi()(Ji).call(Ji,e))(e)&&!(e=>zi()(Xi).call(Xi,e))(e))return"invalidStatus"},xo=e=>e.length>0,_o=e=>e.length>0,Oo=e=>/((?:[A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06E1-\u06E8\u06DF-\u06E4\u06ED-\u06EF\u06EA-\u06ED\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D3-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ABE\u1B00-\u1B4B\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u24B6-\u24E9\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7B9\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDF00-\uDF1C\uDF27\uDF30-\uDF50]|\uD804[\uDC00-\uDC46\uDC82-\uDCBA\uDC7F-\uDC82\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD46\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC5E\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB7\uDF00-\uDF1A\uDF1D-\uDF2B]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFF1]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+)/g.test(e),ko=e=>{const t=e.split("-"),r=Wi()(t[0],ro),n=Wi()(t[1],ro),a=Wi()(t[2],ro),i=[31,28,31,30,31,30,31,31,30,31,30,31];return!(r<1900||r>3e3||n<=0||n>12)&&((r%400==0||r%100!=0&&r%4==0)&&(i[1]=29),!(a<=0||a>i[n-1]))},Po=e=>!!/^\d{4}[\-\s\/]\d{1,2}[\-\s\/]\d{1,2}$/.test(e),Ro=e=>{const t=new Date;return new Date(e)>t},Fo=(e,t=16)=>{const r=e.split("-"),n=Wi()(r[0],ro),a=Wi()(r[1],ro),i=Wi()(r[2],ro),o=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(o-n===t){if(s-a<0)return!0;if(s-a==0&&l-i<0)return!0}else if(o-n<t)return!0;return!1},Lo=(e,t,r)=>{let n=!1,a=!1;return t&&(n=Fo(e,t)),r&&(a=((e,t=120)=>{const r=e.split("-"),n=Wi()(r[0],ro),a=Wi()(r[1],ro),i=Wi()(r[2],ro),o=(new Date).getFullYear(),s=(new Date).getMonth()+1,l=(new Date).getDate();if(o-n===t){if(s-a>0)return!0;if(s-a==0&&l-i>0)return!0}else if(o-n>t)return!0;return!1})(e,r)),n||a},Uo=(e="US",t)=>{const r=e;return!!(e=>Gi.has(e))(r)&&((e,t)=>{if(!Gi.has(t))throw Error(`Invalid country code: ${t}`);return Gi.get(t).test(e)})(t,r)},Bo=e=>{if(!e)return!1;const t=Y()(Re);return kr()(t).call(t,e.toUpperCase())>=0},Vo=(e,t,r)=>{let n;(e=>{const t=jr();if(kr()(Oe).call(Oe,e)<0&&kr()(t).call(t,e)<0)throw new Error(`Expected valid field ID but received ${e}.\n Valid FieldIds are [${Oe.join(", ")}, ${t.join(", ")}]`)})(e);const a=Qi[i=e]?(he.log(`getOverridenValidator returning '${i}'`),Qi[i]):null;var i;switch(e){case _e.firstName:return n=so,io(e,t,n,a,r);case _e.lastName:return n=lo,io(e,t,n,a,r);case _e.memberId:return n=uo,io(e,t,n,a,r);case _e.email:return n=fo,io(e,t,n,a,r);case _e.phoneNumber:return n=(e=>mo(e&&e.smsLoopEnabled))(r),io(e,t,n,a,r);case _e.organization:return n=po,io(e,t,n,a,r);case _e.birthDate:return n=ho,io(e,t,n,a,r);case _e.postalCode:return n=yo,io(e,t,n,a,r);case _e.address1:return n=bo,io(e,t,n,a,r);case _e.city:return n=Eo,io(e,t,n,a,r);case _e.state:return n=wo,io(e,t,n,a,r);case _e.country:return n=co,io(e,t,n,a,r);case _e.dischargeDate:return n=Co,io(e,t,n,a,r);case _e.activeDutyStartDate:return n=Io,io(e,t,n,a,r);case _e.socialSecurityNumber:return n=No,io(e,t,n,a,r);case _e.status:return n=Ao,io(e,t,n,a,r);case _e.statuses:return n=To,io(e,t,n,a,r);case _e.driverLicenseNumber:return n=Do,io(e,t,n,a,r);case _e.docUpload:return n=go,io(e,t,n,a,r);case _e.ebtCardNumber:return n=vo,io(e,t,n,a,r);case _e.overrideCode:return n=go,io(e,t,n,a,r);default:if((e=>{const t=jr();return!!(t.length&&kr()(t).call(t,e)>=0)})(e))return((e,t,r)=>{const n=Br(e);return he.info(`Using custom validator for custom field '${e}'`),n?n(t,r):void 0})(e,t,r)}};var jo=o(1639),zo=o.n(jo);function Ho(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function $o(e){return!!e&&!!e[ks]}function qo(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Ps}(e)||Array.isArray(e)||!!e[Os]||!!e.constructor[Os]||Xo(e)||Qo(e))}function Wo(e,t,r){void 0===r&&(r=!1),0===Go(e)?(r?Object.keys:Rs)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function Go(e){var t=e[ks];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Xo(e)?2:Qo(e)?3:0}function Yo(e,t){return 2===Go(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ko(e,t){return 2===Go(e)?e.get(t):e[t]}function Zo(e,t,r){var n=Go(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function Jo(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Xo(e){return Ts&&e instanceof Map}function Qo(e){return As&&e instanceof Set}function es(e){return e.o||e.t}function ts(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Fs(e);delete t[ks];for(var r=Rs(t),n=0;n<r.length;n++){var a=r[n],i=t[a];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function rs(e,t){return void 0===t&&(t=!1),as(e)||$o(e)||!qo(e)||(Go(e)>1&&(e.set=e.add=e.clear=e.delete=ns),Object.freeze(e),t&&Wo(e,(function(e,t){return rs(t,!0)}),!0)),e}function ns(){Ho(2)}function as(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function is(e){var t=Ls[e];return t||Ho(18,e),t}function os(e,t){Ls[e]||(Ls[e]=t)}function ss(){return Ns}function ls(e,t){t&&(is("Patches"),e.u=[],e.s=[],e.v=t)}function us(e){cs(e),e.p.forEach(fs),e.p=null}function cs(e){e===Ns&&(Ns=e.l)}function ds(e){return Ns={p:[],l:Ns,h:e,m:!0,_:0}}function fs(e){var t=e[ks];0===t.i||1===t.i?t.j():t.O=!0}function ms(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.g||is("ES5").S(t,e,n),n?(r[ks].P&&(us(t),Ho(4)),qo(e)&&(e=ps(t,e),t.l||gs(t,e)),t.u&&is("Patches").M(r[ks],e,t.u,t.s)):e=ps(t,r,[]),us(t),t.u&&t.v(t.u,t.s),e!==_s?e:void 0}function ps(e,t,r){if(as(t))return t;var n=t[ks];if(!n)return Wo(t,(function(a,i){return hs(e,n,t,a,i,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return gs(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=4===n.i||5===n.i?n.o=ts(n.k):n.o;Wo(3===n.i?new Set(a):a,(function(t,i){return hs(e,n,a,t,i,r)})),gs(e,a,!1),r&&e.u&&is("Patches").R(n,r,e.u,e.s)}return n.o}function hs(e,t,r,n,a,i){if($o(a)){var o=ps(e,a,i&&t&&3!==t.i&&!Yo(t.D,n)?i.concat(n):void 0);if(Zo(r,n,o),!$o(o))return;e.m=!1}if(qo(a)&&!as(a)){if(!e.h.F&&e._<1)return;ps(e,a),t&&t.A.l||gs(e,a)}}function gs(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&rs(t,r)}function vs(e,t){var r=e[ks];return(r?es(r):e)[t]}function ys(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function bs(e){e.P||(e.P=!0,e.l&&bs(e.l))}function Es(e){e.o||(e.o=ts(e.t))}function ws(e,t,r){var n=Xo(t)?is("MapSet").N(t,r):Qo(t)?is("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:ss(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=n,i=Us;r&&(a=[n],i=Bs);var o=Proxy.revocable(a,i),s=o.revoke,l=o.proxy;return n.k=l,n.j=s,l}(t,r):is("ES5").J(t,r);return(r?r.A:ss()).p.push(n),n}function Ss(e){return $o(e)||Ho(22,e),function e(t){if(!qo(t))return t;var r,n=t[ks],a=Go(t);if(n){if(!n.P&&(n.i<4||!is("ES5").K(n)))return n.t;n.I=!0,r=Ms(t,a),n.I=!1}else r=Ms(t,a);return Wo(r,(function(t,a){n&&Ko(n.t,t)===a||Zo(r,t,e(a))})),3===a?new Set(r):r}(e)}function Ms(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ts(e)}function Cs(){function e(e,t){var r=a[e];return r?r.enumerable=t:a[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[ks];return Us.get(t,e)},set:function(t){var r=this[ks];Us.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][ks];if(!a.P)switch(a.i){case 5:n(a)&&bs(a);break;case 4:r(a)&&bs(a)}}}function r(e){for(var t=e.t,r=e.k,n=Rs(r),a=n.length-1;a>=0;a--){var i=n[a];if(i!==ks){var o=t[i];if(void 0===o&&!Yo(t,i))return!0;var s=r[i],l=s&&s[ks];if(l?l.t!==o:!Jo(s,o))return!0}}var u=!!t[ks];return n.length!==Rs(t).length+(u?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!r||r.get)}var a={};os("ES5",{J:function(t,r){var n=Array.isArray(t),a=function(t,r){if(t){for(var n=Array(r.length),a=0;a<r.length;a++)Object.defineProperty(n,""+a,e(a,!0));return n}var i=Fs(r);delete i[ks];for(var o=Rs(i),s=0;s<o.length;s++){var l=o[s];i[l]=e(l,t||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(n,t),i={i:n?5:4,A:r?r.A:ss(),P:!1,I:!1,D:{},l:r,t,k:a,o:null,O:!1,C:!1};return Object.defineProperty(a,ks,{value:i,writable:!0}),a},S:function(e,r,a){a?$o(r)&&r[ks].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[ks];if(r){var a=r.t,i=r.k,o=r.D,s=r.i;if(4===s)Wo(i,(function(t){t!==ks&&(void 0!==a[t]||Yo(a,t)?o[t]||e(i[t]):(o[t]=!0,bs(r)))})),Wo(a,(function(e){void 0!==i[e]||Yo(i,e)||(o[e]=!1,bs(r))}));else if(5===s){if(n(r)&&(bs(r),o.length=!0),i.length<a.length)for(var l=i.length;l<a.length;l++)o[l]=!1;else for(var u=a.length;u<i.length;u++)o[u]=!0;for(var c=Math.min(i.length,a.length),d=0;d<c;d++)void 0===o[d]&&e(i[d])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}})}var Is,Ns,Ds="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ts="undefined"!=typeof Map,As="undefined"!=typeof Set,xs="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,_s=Ds?Symbol.for("immer-nothing"):((Is={})["immer-nothing"]=!0,Is),Os=Ds?Symbol.for("immer-draftable"):"__$immer_draftable",ks=Ds?Symbol.for("immer-state"):"__$immer_state",Ps=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Rs="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Fs=Object.getOwnPropertyDescriptors||function(e){var t={};return Rs(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},Ls={},Us={get:function(e,t){if(t===ks)return e;var r=es(e);if(!Yo(r,t))return function(e,t,r){var n,a=ys(t,r);return a?"value"in a?a.value:null===(n=a.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!qo(n)?n:n===vs(e.t,t)?(Es(e),e.o[t]=ws(e.A.h,n,e)):n},has:function(e,t){return t in es(e)},ownKeys:function(e){return Reflect.ownKeys(es(e))},set:function(e,t,r){var n=ys(es(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var a=vs(es(e),t),i=null==a?void 0:a[ks];if(i&&i.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(Jo(r,a)&&(void 0!==r||Yo(e.t,t)))return!0;Es(e),bs(e)}return e.o[t]===r&&"number"!=typeof r&&(void 0!==r||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==vs(e.t,t)||t in e.t?(e.D[t]=!1,Es(e),bs(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=es(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){Ho(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ho(12)}},Bs={};Wo(Us,(function(e,t){Bs[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Bs.deleteProperty=function(e,t){return Us.deleteProperty.call(this,e[0],t)},Bs.set=function(e,t,r){return Us.set.call(this,e[0],t,r,e[0])};var Vs=function(){function e(e){var t=this;this.g=xs,this.F=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var i=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,o=Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return i.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(o))}))}}var o;if("function"!=typeof r&&Ho(6),void 0!==n&&"function"!=typeof n&&Ho(7),qo(e)){var s=ds(t),l=ws(t,e,void 0),u=!0;try{o=r(l),u=!1}finally{u?us(s):cs(s)}return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return ls(s,n),ms(e,s)}),(function(e){throw us(s),e})):(ls(s,n),ms(o,s))}if(!e||"object"!=typeof e){if((o=r(e))===_s)return;return void 0===o&&(o=e),t.F&&rs(o,!0),o}Ho(21,e)},this.produceWithPatches=function(e,r){return"function"==typeof e?function(r){for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(a))}))}:[t.produce(e,r,(function(e,t){n=e,a=t})),n,a];var n,a},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){qo(e)||Ho(8),$o(e)&&(e=Ss(e));var t=ds(this),r=ws(this,e,void 0);return r[ks].C=!0,cs(t),r},t.finishDraft=function(e,t){var r=(e&&e[ks]).A;return ls(r,t),ms(void 0,r)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!xs&&Ho(20),this.g=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}var a=is("Patches").$;return $o(e)?a(e,t):this.produce(e,(function(e){return a(e,t.slice(r+1))}))},e}(),js=new Vs,zs=js.produce;js.produceWithPatches.bind(js),js.setAutoFreeze.bind(js),js.setUseProxies.bind(js),js.applyPatches.bind(js),js.createDraft.bind(js),js.finishDraft.bind(js);const Hs=zs;var $s=o(6812),qs=o.n($s);let Ws=[],Gs=null;const Ys=(e,t)=>{const r={fieldId:e,ref:t},n=qs()(Ws).call(Ws,(t=>t.fieldId===e));-1!==n?Ws[n]=r:Ws.push(r)},Ks=()=>Ws,Zs=e=>{for(const t of Ws)if(t.fieldId===e)return t.ref;return he.error(`A ref for fieldId ${e} could not be found. Has one been registered using setRef()?`,"ref error"),null},Js=()=>{Ws=[],he.info("Refs have been reset")},Xs=()=>{null!==Gs&&(Gs.close(),Gs=null)},Qs=(e,t)=>{const r=t.viewModel,n=zs(r,(t=>{t.organization.id=e.id,t.organization.idExtended=e.idExtended,t.organization.name=e.name,r.organization&&void 0!==r.organization.source&&(t.organization.source=r.organization.source)}));t.updateViewModel(n)},el=(e,t)=>{t.updateFieldValidationErrors(e)},tl=(e,t,r)=>{const{fieldValidationErrors:n}=r,a=zs(n,(n=>{n[e]&&(n[e]=Vo(e,t,r.formValidationOptions))}));el(a,r)},rl=(e,t)=>oe((()=>1===t.length))&&"US"===oe((()=>t[0]))||oe((()=>"US"===e.value))||oe((()=>void 0===e.value)),nl=(e,t,r)=>t?e.formatHTMLMessage({id:t,defaultMessage:r[t]}):"",al=(e,t)=>{const r=e.verificationResponse.availableStatuses||e.previousVerificationResponse&&e.previousVerificationResponse.availableStatuses,n=[];return r?(d()(r).call(r,(e=>{n.push({value:e,label:nl(t,e,De)})})),n):null},il=e=>"birthDate"===e||"birthDateDay"===e?"birthDateYear":e,ol=e=>{const t=Zs("submitButton");"Enter"===e.key&&t&&t.click()},sl=(e,t,r)=>{const n=((e,t)=>{const r=oo(),n=oe((()=>e.metadata),null);for(const a in r)if(e.hasOwnProperty(a)){const n=oe((()=>e.fieldsToSkipValidation));if(X()(n)&&kr()(n).call(n,a)>-1)continue;const i=e[a]?e[a]:"";r[a]=Vo(a,i,t)}else if(null!==n&&"object"==typeof n&&n.hasOwnProperty(a)){const e=n[a]?n[a]:"";r[a]=Vo(a,e,t)}const{customFormFields:a}=Sn();return a&&d()(a).call(a,(t=>{let n;try{n=t.validate(e.metadata[t.fieldId])}catch(e){he.warn(`Error validating custom field ${t.fieldId}`,e)}n?r[t.fieldId]=n:delete r[t.fieldId]})),r})(e,t.formValidationOptions),a=!(e=>{for(const t in e)if(e[t])return he.info(`Field '${t}' has errorId '${e[t]}'`),!0;return!1})(n);if(a)he.info(`${r} submitting form`),t.submitStep(r,e,t.verificationResponse);else{const e=(()=>{const e=Ks(),t=[];return Mr()(e).call(e,(e=>t.push(e.fieldId))),t})(),r=((e,t)=>{var r;let n;return d()(r=zo()(e).call(e)).call(r,(e=>{if(t[e])return n=e,il(n)})),il(n)})(e,n);el(n,t),(e=>{const t=Zs(e);if(t)try{t.focus()}catch(e){he.error(`The ref '${t}' could not be focused. Is the ref an HTMLInputElement or HTMLButtonElement?`,"ref error")}else he.error(`A ref for fieldId '${e}' could not be found. Has the ref been registered using setRef()?`,"ref error")})(r)}},ll=(e,t,r)=>({estReviewTime:r.formatHTMLMessage({id:`dateTime.${oe((()=>e.estimatedReviewTime))||$a(t)}`,default:"a few minutes"}),maxReviewTime:r.formatHTMLMessage({id:`dateTime.${oe((()=>e.maxReviewTime))||qa(t)}`,default:"2 hours"})}),ul=(e,t)=>{const r=Ha(e);return Mr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`countries.${e}`,defaultMessage:e})})))},cl=(e,r)=>{const n=(e=>{try{if(e&&e.config&&e.config.states&&e.config.states.length>0)return e.config.states}catch(e){he.warn("Unable to get configured states")}return t()(Re)})(e);return Mr()(n).call(n,(e=>({value:e,label:r.formatHTMLMessage({id:`states.${e}`,defaultMessage:e})})))},dl=(e,t)=>{const r=ja(e);return Mr()(r).call(r,(e=>({value:e,label:t.formatHTMLMessage({id:`locales.${e}`,defaultMessage:e})})))},fl=e=>e.length>0?e[0]:{value:"US",label:"United States"},ml=(e,t,r)=>zs(e,(e=>{e[t]=r})),pl=e=>e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)),hl=["id","isErrored","className","hidePlaceholder","refId","required","type","ariaDescribedBy","ariaLabel"],gl=e=>{let{id:t,isErrored:r,className:n,hidePlaceholder:a=!0,refId:i,required:o=!1,type:s="text",ariaDescribedBy:l,ariaLabel:u}=e,c=Li(e,hl),d="";n&&(d+=`${n} `),d+="sid-text-input sid-l-full-width",a&&(d+=" sid-hidden-placeholder"),o&&(d+=" sid-text-input--required"),r&&(d+=" sid-text-input--error");const f=i||t,m=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Ys(f,m.current)})),q.createElement("input",ki({className:d,id:`sid-${t}`,name:`sid-${t}`,type:s,"aria-describedby":l,"aria-label":u,"aria-required":o,"aria-invalid":r,ref:m},c))},vl=({text:e,htmlForLabel:t,id:r,displayClasses:n,isRequired:a,children:i})=>{return q.createElement("label",{htmlFor:t},q.createElement("div",{id:r,className:`sid-field__label sid-l-space-btm-sm ${n}`},q.createElement("span",{className:"sid-field__label-name","aria-hidden":"true"},e,a&&(o=e,!(!q.isValidElement(o)&&""===o))&&q.createElement("span",{"aria-hidden":"true",className:"sid-field__label--required"},"*")),i&&q.createElement("div",{className:"sid-field__label-explanation"},i)));var o};vl.defaultProps={id:"",displayClasses:"",isRequired:!0,children:null};const yl=({fieldId:e,label:t,errorMessage:r,isRequired:n,showPlaceholderAndHideLabel:a=!1,children:i})=>{const o=`sid-${pl(`${e}Label`)}`;return q.createElement("div",{className:`sid-field sid-${pl(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:t,isRequired:n,htmlForLabel:`sid-${pl(e)}`,id:o,displayClasses:a?"sid-h-screen-reader-only":""}),i,r&&q.createElement("div",{className:"sid-field-error"},r))},bl=["fieldId","value","onChange","placeholder","label","errorMessage","showPlaceholderAndHideLabel","required"],El=e=>{let{fieldId:t,value:r,onChange:n,placeholder:a,label:i,errorMessage:o,showPlaceholderAndHideLabel:s=!1,required:l=!0}=e,u=Li(e,bl);const c=`sid-${pl(`${t}Label`)}`;return q.createElement(yl,{fieldId:t,label:i,errorMessage:o,showPlaceholderAndHideLabel:s,isRequired:l},q.createElement(gl,ki({id:pl(t),value:r,onChange:e=>n(e.target.value),placeholder:a,hidePlaceholder:!s,"aria-labelledby":c,refId:t,isErrored:!!o,required:l},u)))},wl=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(El,{fieldId:"firstName",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"firstNamePlaceholder",defaultMessage:"First Name"}),label:q.createElement(ir,{id:"firstName",defaultMessage:"First name"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidFirstName",defaultMessage:"Invalid first name"}),showPlaceholderAndHideLabel:!!a}))),Sl=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(El,{fieldId:"lastName",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"lastNamePlaceholder",defaultMessage:"Last Name"}),label:q.createElement(ir,{id:"lastName",defaultMessage:"Last name"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidLastName",defaultMessage:"Invalid last name"}),showPlaceholderAndHideLabel:!!a}))),Ml=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,onKeyDown:i,placeholder:o=""})=>q.createElement("div",{className:"sid-field sid-email"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"emailAddress",defaultMessage:"Email address"}),htmlForLabel:"sid-email",id:"sid-email-label",displayClasses:`sid-field__label-with-explanation${o&&" sid-h-screen-reader-only"}`},n||q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"})),q.createElement(gl,{id:"email",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof i?e=>i(e):void 0,placeholder:o||a.formatHTMLMessage({id:"emailAddressPlaceholder",defaultMessage:"Email"}),type:"email",value:e,required:!0,"aria-labelledby":"sid-email-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidEmail",defaultMessage:"Invalid email"})):null))),Cl={university:"UNIVERSITY",k12:"K12",postSecondary:"POST_SECONDARY",highSchool:"HIGH_SCHOOL"};function Il(e){return e.type===Cl[this]}const Nl=Rt((({eligibleOrgs:e,ineligibleOrgs:t,intl:r})=>{const n=i()(e).call(e,Il,"university"),a=i()(e).call(e,Il,"k12"),o=i()(e).call(e,Il,"postSecondary"),s=i()(e).call(e,Il,"highSchool"),l=i()(t).call(t,Il,"university"),u=i()(t).call(t,Il,"k12"),c=i()(t).call(t,Il,"postSecondary"),d=i()(t).call(t,Il,"highSchool");return q.createElement("div",{className:"sid-l-space-top-md"},e.length+t.length>=mn.MAX_RESULT_SIZE?q.createElement("div",{className:"sid-header__subtitle--error"},q.createElement(ir,{id:"errorId.tooManyResults",defaultMessage:"Your search returned too many results, please refine your search and try again"})):null,(0===e.length||0===t.length)&&q.createElement("div",null,q.createElement(ir,{id:"none",defaultMessage:"None"})),n.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.university",defaultMessage:"Universities ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(n).call(n,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),a.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.k12",defaultMessage:"K12 ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(a).call(a,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),o.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.postSecondary",defaultMessage:"Post Secondary Institutions ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(o).call(o,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),s.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.highSchool",defaultMessage:"High Schools / Secondary Schools ({e})",values:{e:r.formatHTMLMessage({id:"orgType.eligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(s).call(s,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!0}))))),l.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.university",defaultMessage:"Universities ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(l).call(l,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))),u.length>0&&s.length<=0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.k12",defaultMessage:"K12 ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(u).call(u,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))),c.length>0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.postSecondary",defaultMessage:"Post Secondary Institutions ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(c).call(c,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))),d.length>0&&a.length<=0&&q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(ir,{id:"orgType.highSchool",defaultMessage:"High Schools / Secondary Schools ({e})",values:{e:r.formatHTMLMessage({id:"orgType.ineligible"})}})),q.createElement("div",{className:"sid-l-space-top-sm"},Mr()(d).call(d,(e=>q.createElement(da,{key:e.id,organization:e,isEligible:!1}))))))})),Dl=({name:e,label:t,value:r,placeholder:n,isErrored:a,onChange:i,onKeyDown:o,search:s})=>q.createElement("div",{className:"sid-field"},q.createElement("label",{htmlFor:`sid-${e}`},q.createElement("div",{className:"sid-field__label sid-l-space-btm-sm"},t)),q.createElement("div",{className:"sid-field-search"},q.createElement("input",{className:"sid-text-input sid-text-input--required sid-field-search-input\n sid-l-full-width "+(a?"sid-text-input--error":""),id:`sid-${e}`,name:`sid-${e}`,type:"text",value:r,onChange:e=>i(e.target.value),onKeyDown:e=>(e=>{"Enter"===e.key?s():o&&o()})(e),placeholder:n}),q.createElement("div",{tabIndex:0,onClick:()=>s(),onKeyUp:()=>s(),role:"button"},q.createElement("img",{className:"sid-l-search-icon",src:"https://assets-resources.sheerid.com/common/images/requestOrganization/search.svg",alt:"Search"}))),a?q.createElement("div",{className:"sid-field-error"},q.createElement("span",null,q.createElement(ir,{id:`errorId.${a}`,defaultMessage:"An unexpected error occurred"}))):null);var Tl=o(9423),Al=o.n(Tl);o(3187);function xl(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function _l(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Ol(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return _l(r.overflowY,t)||_l(r.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function kl(e,t,r,n,a,i,o,s){return i<e&&o>t||i>e&&o<t?0:i<=e&&s<=r||o>=t&&s>=r?i-e-n:o>t&&s<r||i<e&&s>r?o-t+a:0}var Pl=function(){return Pl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Pl.apply(this,arguments)};function Rl(e,t,r,n){return new(r||(r=Promise))((function(a,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((n=n.apply(e,t||[])).next())}))}function Fl(e,t){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&s[0]?n.return:s[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;switch(n=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function Ll(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}Object.create;let Ul=0;function Bl(e){return"function"==typeof e?e:Vl}function Vl(){}function jl(e,t){if(!e)return;const r=function(e,t){var r=window,n=t.scrollMode,a=t.block,i=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof o?o:function(e){return e!==o};if(!xl(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],d=e;xl(d)&&l(d);){if((d=d.parentElement)===u){c.push(d);break}null!=d&&d===document.body&&Ol(d)&&!Ol(document.documentElement)||null!=d&&Ol(d,s)&&c.push(d)}for(var f=r.visualViewport?r.visualViewport.width:innerWidth,m=r.visualViewport?r.visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),v=g.height,y=g.width,b=g.top,E=g.right,w=g.bottom,S=g.left,M="start"===a||"nearest"===a?b:"end"===a?w:b+v/2,C="center"===i?S+y/2:"end"===i?E:S,I=[],N=0;N<c.length;N++){var D=c[N],T=D.getBoundingClientRect(),A=T.height,x=T.width,_=T.top,O=T.right,k=T.bottom,P=T.left;if("if-needed"===n&&b>=0&&S>=0&&w<=m&&E<=f&&b>=_&&w<=k&&S>=P&&E<=O)return I;var R=getComputedStyle(D),F=parseInt(R.borderLeftWidth,10),L=parseInt(R.borderTopWidth,10),U=parseInt(R.borderRightWidth,10),B=parseInt(R.borderBottomWidth,10),V=0,j=0,z="offsetWidth"in D?D.offsetWidth-D.clientWidth-F-U:0,H="offsetHeight"in D?D.offsetHeight-D.clientHeight-L-B:0;if(u===D)V="start"===a?M:"end"===a?M-m:"nearest"===a?kl(h,h+m,m,L,B,h+M,h+M+v,v):M-m/2,j="start"===i?C:"center"===i?C-f/2:"end"===i?C-f:kl(p,p+f,f,F,U,p+C,p+C+y,y),V=Math.max(0,V+h),j=Math.max(0,j+p);else{V="start"===a?M-_-L:"end"===a?M-k+B+H:"nearest"===a?kl(_,k,A,L,B+H,M,M+v,v):M-(_+A/2)+H/2,j="start"===i?C-P-F:"center"===i?C-(P+x/2)+z/2:"end"===i?C-O+U+z:kl(P,O,x,F,U+z,C,C+y,y);var $=D.scrollLeft,q=D.scrollTop;M+=q-(V=Math.max(0,Math.min(q+V,D.scrollHeight-A+H))),C+=$-(j=Math.max(0,Math.min($+j,D.scrollWidth-x+z)))}I.push({el:D,top:V,left:j})}return I}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});r.forEach((e=>{let{el:t,top:r,left:n}=e;t.scrollTop=r,t.scrollLeft=n}))}function zl(e,t,r){return e===t||t instanceof r.Node&&e.contains&&e.contains(t)}function Hl(e,t){let r;function n(){r&&clearTimeout(r)}function a(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];n(),r=setTimeout((()=>{r=null,e(...i)}),t)}return a.cancel=n,a}function $l(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((t=>(t&&t(e,...n),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault)))}}function ql(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach((t=>{"function"==typeof t?t(e):t&&(t.current=e)}))}}function Wl(){return String(Ul++)}function Gl(e){let{isOpen:t,resultCount:r,previousResultCount:n}=e;return t?r?r!==n?`${r} result${1===r?" is":"s are"} available, use up and down arrow keys to navigate. Press Enter key to select.`:"":"No results are available.":""}function Yl(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}function Kl(e){return"string"==typeof e.type}function Zl(e){return e.props}const Jl=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function Xl(e){void 0===e&&(e={});const t={};return Jl.forEach((r=>{e.hasOwnProperty(r)&&(t[r]=e[r])})),t}function Ql(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]=eu(t,n)?t[n]:e[n],r)),{})}function eu(e,t){return void 0!==e[t]}function tu(e){const{key:t,keyCode:r}=e;return r>=37&&r<=40&&0!==t.indexOf("Arrow")?`Arrow${t}`:t}function ru(e,t,r,n,a){if(void 0===a&&(a=!0),0===r)return-1;const i=r-1;("number"!=typeof t||t<0||t>=r)&&(t=e>0?-1:i+1);let o=t+e;o<0?o=a?i:0:o>i&&(o=a?0:i);const s=nu(e,o,r,n,a);return-1===s?t>=r?-1:t:s}function nu(e,t,r,n,a){const i=n(t);if(!i||!i.hasAttribute("disabled"))return t;if(e>0){for(let e=t+1;e<r;e++)if(!n(e).hasAttribute("disabled"))return e}else for(let e=t-1;e>=0;e--)if(!n(e).hasAttribute("disabled"))return e;return a?e>0?nu(1,0,r,n,!1):nu(-1,r-1,r,n,!1):-1}function au(e,t,r,n){return void 0===n&&(n=!0),t.some((t=>t&&(zl(t,e,r)||n&&zl(t,r.document.activeElement,r))))}const iu=Hl((e=>{su(e).textContent=""}),500);function ou(e,t){const r=su(t);e&&(r.textContent=e,iu(t))}function su(e){void 0===e&&(e=document);let t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var lu=Object.freeze({__proto__:null,unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16});const uu=(()=>{class e extends q.Component{constructor(e){var t;super(e),t=this,this.id=this.props.id||`downshift-${Wl()}`,this.menuId=this.props.menuId||`${this.id}-menu`,this.labelId=this.props.labelId||`${this.id}-label`,this.inputId=this.props.inputId||`${this.id}-input`,this.getItemId=this.props.getItemId||(e=>`${this.id}-item-${e}`),this.input=null,this.items=[],this.itemCount=null,this.previousResultCount=0,this.timeoutIds=[],this.internalSetTimeout=(e,t)=>{const r=setTimeout((()=>{this.timeoutIds=this.timeoutIds.filter((e=>e!==r)),e()}),t);this.timeoutIds.push(r)},this.setItemCount=e=>{this.itemCount=e},this.unsetItemCount=()=>{this.itemCount=null},this.setHighlightedIndex=function(e,r){void 0===e&&(e=t.props.defaultHighlightedIndex),void 0===r&&(r={}),r=Xl(r),t.internalSetState({highlightedIndex:e,...r})},this.clearSelection=e=>{this.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:this.props.defaultHighlightedIndex,isOpen:this.props.defaultIsOpen},e)},this.selectItem=(e,t,r)=>{t=Xl(t),this.internalSetState({isOpen:this.props.defaultIsOpen,highlightedIndex:this.props.defaultHighlightedIndex,selectedItem:e,inputValue:this.props.itemToString(e),...t},r)},this.selectItemAtIndex=(e,t,r)=>{const n=this.items[e];null!=n&&this.selectItem(n,t,r)},this.selectHighlightedItem=(e,t)=>this.selectItemAtIndex(this.getState().highlightedIndex,e,t),this.internalSetState=(e,t)=>{let r,n;const a={},i="function"==typeof e;return!i&&e.hasOwnProperty("inputValue")&&this.props.onInputValueChange(e.inputValue,{...this.getStateAndHelpers(),...e}),this.setState((t=>{t=this.getState(t);let o=i?e(t):e;o=this.props.stateReducer(t,o),r=o.hasOwnProperty("selectedItem");const s={};return r&&o.selectedItem!==t.selectedItem&&(n=o.selectedItem),o.type=o.type||0,Object.keys(o).forEach((e=>{t[e]!==o[e]&&(a[e]=o[e]),"type"!==e&&(o[e],eu(this.props,e)||(s[e]=o[e]))})),i&&o.hasOwnProperty("inputValue")&&this.props.onInputValueChange(o.inputValue,{...this.getStateAndHelpers(),...o}),s}),(()=>{Bl(t)();Object.keys(a).length>1&&this.props.onStateChange(a,this.getStateAndHelpers()),r&&this.props.onSelect(e.selectedItem,this.getStateAndHelpers()),void 0!==n&&this.props.onChange(n,this.getStateAndHelpers()),this.props.onUserAction(a,this.getStateAndHelpers())}))},this.rootRef=e=>this._rootNode=e,this.getRootProps=function(e,r){let{refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===r?{}:r;t.getRootProps.called=!0,t.getRootProps.refKey=n,t.getRootProps.suppressRefError=o;const{isOpen:s}=t.getState();return{[n]:ql(a,t.rootRef),role:"combobox","aria-expanded":s,"aria-haspopup":"listbox","aria-owns":s?t.menuId:null,"aria-labelledby":t.labelId,...i}},this.keyDownHandlers={ArrowDown(e){if(e.preventDefault(),this.getState().isOpen){const t=e.shiftKey?5:1;this.moveHighlightedIndex(t,{type:4})}else this.internalSetState({isOpen:!0,type:4},(()=>{const e=this.getItemCount();if(e>0){const{highlightedIndex:t}=this.getState(),r=ru(1,t,e,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(r,{type:4})}}))},ArrowUp(e){if(e.preventDefault(),this.getState().isOpen){const t=e.shiftKey?-5:-1;this.moveHighlightedIndex(t,{type:3})}else this.internalSetState({isOpen:!0,type:3},(()=>{const e=this.getItemCount();if(e>0){const{highlightedIndex:t}=this.getState(),r=ru(-1,t,e,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(r,{type:3})}}))},Enter(e){if(229===e.which)return;const{isOpen:t,highlightedIndex:r}=this.getState();if(t&&null!=r){e.preventDefault();const t=this.items[r],n=this.getItemNodeFromIndex(r);if(null==t||n&&n.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}},Escape(e){e.preventDefault(),this.reset({type:5,...!this.state.isOpen&&{selectedItem:null,inputValue:""}})}},this.buttonKeyDownHandlers={...this.keyDownHandlers," "(e){e.preventDefault(),this.toggleMenu({type:12})}},this.inputKeyDownHandlers={...this.keyDownHandlers,Home(e){const{isOpen:t}=this.getState();if(!t)return;e.preventDefault();const r=this.getItemCount();if(r<=0||!t)return;const n=nu(1,0,r,(e=>this.getItemNodeFromIndex(e)),!1);this.setHighlightedIndex(n,{type:7})},End(e){const{isOpen:t}=this.getState();if(!t)return;e.preventDefault();const r=this.getItemCount();if(r<=0||!t)return;const n=nu(-1,r-1,r,(e=>this.getItemNodeFromIndex(e)),!1);this.setHighlightedIndex(n,{type:8})}},this.getToggleButtonProps=function(e){let{onClick:r,onPress:n,onKeyDown:a,onKeyUp:i,onBlur:o,...s}=void 0===e?{}:e;const{isOpen:l}=t.getState(),u={onClick:$l(r,t.buttonHandleClick),onKeyDown:$l(a,t.buttonHandleKeyDown),onKeyUp:$l(i,t.buttonHandleKeyUp),onBlur:$l(o,t.buttonHandleBlur)};return{type:"button",role:"button","aria-label":l?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0,...s.disabled?{}:u,...s}},this.buttonHandleKeyUp=e=>{e.preventDefault()},this.buttonHandleKeyDown=e=>{const t=tu(e);this.buttonKeyDownHandlers[t]&&this.buttonKeyDownHandlers[t].call(this,e)},this.buttonHandleClick=e=>{e.preventDefault(),this.props.environment.document.activeElement===this.props.environment.document.body&&e.target.focus(),this.internalSetTimeout((()=>this.toggleMenu({type:13})))},this.buttonHandleBlur=e=>{const t=e.target;this.internalSetTimeout((()=>{this.isMouseDown||null!=this.props.environment.document.activeElement&&this.props.environment.document.activeElement.id===this.inputId||this.props.environment.document.activeElement===t||this.reset({type:14})}))},this.getLabelProps=e=>({htmlFor:this.inputId,id:this.labelId,...e}),this.getInputProps=function(e){let r,{onKeyDown:n,onBlur:a,onChange:i,onInput:o,onChangeText:s,...l}=void 0===e?{}:e,u={};r="onChange";const{inputValue:c,isOpen:d,highlightedIndex:f}=t.getState();return l.disabled||(u={onChange:$l(i,o,t.inputHandleChange),onKeyDown:$l(n,t.inputHandleKeyDown),onBlur:$l(a,t.inputHandleBlur)}),{"aria-autocomplete":"list","aria-activedescendant":d&&"number"==typeof f&&f>=0?t.getItemId(f):null,"aria-controls":d?t.menuId:null,"aria-labelledby":t.labelId,autoComplete:"off",value:c,id:t.inputId,...u,...l}},this.inputHandleKeyDown=e=>{const t=tu(e);t&&this.inputKeyDownHandlers[t]&&this.inputKeyDownHandlers[t].call(this,e)},this.inputHandleChange=e=>{this.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:this.props.defaultHighlightedIndex})},this.inputHandleBlur=()=>{this.internalSetTimeout((()=>{const e=this.props.environment.document&&!!this.props.environment.document.activeElement&&!!this.props.environment.document.activeElement.dataset&&this.props.environment.document.activeElement.dataset.toggle&&this._rootNode&&this._rootNode.contains(this.props.environment.document.activeElement);this.isMouseDown||e||this.reset({type:10})}))},this.menuRef=e=>{this._menuNode=e},this.getMenuProps=function(e,r){let{refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===r?{}:r;return t.getMenuProps.called=!0,t.getMenuProps.refKey=n,t.getMenuProps.suppressRefError=o,{[n]:ql(a,t.menuRef),role:"listbox","aria-labelledby":i&&i["aria-label"]?null:t.labelId,id:t.menuId,...i}},this.getItemProps=function(e){let{onMouseMove:r,onMouseDown:n,onClick:a,onPress:i,index:o,item:s,...l}=void 0===e?{}:e;void 0===o?(t.items.push(s),o=t.items.indexOf(s)):t.items[o]=s;const u=a,c={onMouseMove:$l(r,(()=>{o!==t.getState().highlightedIndex&&(t.setHighlightedIndex(o,{type:2}),t.avoidScrolling=!0,t.internalSetTimeout((()=>t.avoidScrolling=!1),250))})),onMouseDown:$l(n,(e=>{e.preventDefault()})),onClick:$l(u,(()=>{t.selectItemAtIndex(o,{type:9})}))},d=l.disabled?{onMouseDown:c.onMouseDown}:c;return{id:t.getItemId(o),role:"option","aria-selected":t.getState().highlightedIndex===o,...d,...l}},this.clearItems=()=>{this.items=[]},this.reset=function(e,r){void 0===e&&(e={}),e=Xl(e),t.internalSetState((r=>{let{selectedItem:n}=r;return{isOpen:t.props.defaultIsOpen,highlightedIndex:t.props.defaultHighlightedIndex,inputValue:t.props.itemToString(n),...e}}),r)},this.toggleMenu=function(e,r){void 0===e&&(e={}),e=Xl(e),t.internalSetState((r=>{let{isOpen:n}=r;return{isOpen:!n,...n&&{highlightedIndex:t.props.defaultHighlightedIndex},...e}}),(()=>{const{isOpen:n,highlightedIndex:a}=t.getState();n&&t.getItemCount()>0&&"number"==typeof a&&t.setHighlightedIndex(a,e),Bl(r)()}))},this.openMenu=e=>{this.internalSetState({isOpen:!0},e)},this.closeMenu=e=>{this.internalSetState({isOpen:!1},e)},this.updateStatus=Hl((()=>{const e=this.getState(),t=this.items[e.highlightedIndex],r=this.getItemCount(),n=this.props.getA11yStatusMessage({itemToString:this.props.itemToString,previousResultCount:this.previousResultCount,resultCount:r,highlightedItem:t,...e});this.previousResultCount=r,ou(n,this.props.environment.document)}),200);const{defaultHighlightedIndex:r,initialHighlightedIndex:n=r,defaultIsOpen:a,initialIsOpen:i=a,initialInputValue:o="",initialSelectedItem:s=null}=this.props,l=this.getState({highlightedIndex:n,isOpen:i,inputValue:o,selectedItem:s});null!=l.selectedItem&&void 0===this.props.initialInputValue&&(l.inputValue=this.props.itemToString(l.selectedItem)),this.state=l}internalClearTimeouts(){this.timeoutIds.forEach((e=>{clearTimeout(e)})),this.timeoutIds=[]}getState(e){return void 0===e&&(e=this.state),Ql(e,this.props)}getItemCount(){let e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e}getItemNodeFromIndex(e){return this.props.environment.document.getElementById(this.getItemId(e))}scrollHighlightedItemIntoView(){{const e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)}}moveHighlightedIndex(e,t){const r=this.getItemCount(),{highlightedIndex:n}=this.getState();if(r>0){const a=ru(e,n,r,(e=>this.getItemNodeFromIndex(e)));this.setHighlightedIndex(a,t)}}getStateAndHelpers(){const{highlightedIndex:e,inputValue:t,selectedItem:r,isOpen:n}=this.getState(),{itemToString:a}=this.props,{id:i}=this,{getRootProps:o,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,reset:w,setItemCount:S,unsetItemCount:M,internalSetState:C}=this;return{getRootProps:o,getToggleButtonProps:s,getLabelProps:l,getMenuProps:u,getInputProps:c,getItemProps:d,reset:w,openMenu:f,closeMenu:m,toggleMenu:p,selectItem:h,selectItemAtIndex:g,selectHighlightedItem:v,setHighlightedIndex:y,clearSelection:b,clearItems:E,setItemCount:S,unsetItemCount:M,setState:C,itemToString:a,id:i,highlightedIndex:e,inputValue:t,isOpen:n,selectedItem:r}}componentDidMount(){{const e=()=>{this.isMouseDown=!0},t=e=>{this.isMouseDown=!1;!au(e.target,[this._rootNode,this._menuNode],this.props.environment)&&this.getState().isOpen&&this.reset({type:1},(()=>this.props.onOuterClick(this.getStateAndHelpers())))},r=()=>{this.isTouchMove=!1},n=()=>{this.isTouchMove=!0},a=e=>{const t=au(e.target,[this._rootNode,this._menuNode],this.props.environment,!1);this.isTouchMove||t||!this.getState().isOpen||this.reset({type:16},(()=>this.props.onOuterClick(this.getStateAndHelpers())))},{environment:i}=this.props;i.addEventListener("mousedown",e),i.addEventListener("mouseup",t),i.addEventListener("touchstart",r),i.addEventListener("touchmove",n),i.addEventListener("touchend",a),this.cleanup=()=>{this.internalClearTimeouts(),this.updateStatus.cancel(),i.removeEventListener("mousedown",e),i.removeEventListener("mouseup",t),i.removeEventListener("touchstart",r),i.removeEventListener("touchmove",n),i.removeEventListener("touchend",a)}}}shouldScroll(e,t){const{highlightedIndex:r}=void 0===this.props.highlightedIndex?this.getState():this.props,{highlightedIndex:n}=void 0===t.highlightedIndex?e:t;return r&&this.getState().isOpen&&!e.isOpen||r!==n}componentDidUpdate(e,t){eu(this.props,"selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()}componentWillUnmount(){this.cleanup()}render(){const e=Yl(this.props.children,Vl);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;const t=Yl(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:Kl(t)?(0,q.cloneElement)(t,this.getRootProps(Zl(t))):void 0:null}}return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:Gl,itemToString:e=>null==e?"":String(e),onStateChange:Vl,onInputValueChange:Vl,onUserAction:Vl,onChange:Vl,onSelect:Vl,onOuterClick:Vl,selectedItemChanged:(e,t)=>e!==t,environment:"undefined"==typeof window?{}:window,stateReducer:(e,t)=>t,suppressRefError:!1,scrollIntoView:jl},e.stateChangeTypes=lu,e})();var cu=uu;const du={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function fu(e,t,r){const{props:n,type:a}=e,i={};Object.keys(t).forEach((n=>{!function(e,t,r,n){const{props:a,type:i}=t,o=`on${vu(e)}Change`;a[o]&&void 0!==n[e]&&n[e]!==r[e]&&a[o]({type:i,...n})}(n,e,t,r),r[n]!==t[n]&&(i[n]=r[n])})),n.onStateChange&&Object.keys(i).length&&n.onStateChange({type:a,...i})}const mu=Hl(((e,t)=>{ou(e(),t)}),200),pu="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?q.useLayoutEffect:q.useEffect;function hu(e){let{id:t=`downshift-${Wl()}`,labelId:r,menuId:n,getItemId:a,toggleButtonId:i,inputId:o}=e;return(0,q.useRef)({labelId:r||`${t}-label`,menuId:n||`${t}-menu`,getItemId:a||(e=>`${t}-item-${e}`),toggleButtonId:i||`${t}-toggle-button`,inputId:o||`${t}-input`}).current}function gu(e,t,r){return void 0!==e?e:0===r.length?-1:r.indexOf(t)}function vu(e){return`${e.slice(0,1).toUpperCase()}${e.slice(1)}`}function yu(e){const t=(0,q.useRef)(e);return t.current=e,t}function bu(e,t,r){const n=(0,q.useRef)(),a=(0,q.useRef)(),i=(0,q.useCallback)(((t,r)=>{a.current=r,t=Ql(t,r.props);const n=e(t,r);return r.props.stateReducer(t,{...r,changes:n})}),[e]),[o,s]=(0,q.useReducer)(i,t),l=yu(r),u=(0,q.useCallback)((e=>s({props:l.current,...e})),[l]),c=a.current;return(0,q.useEffect)((()=>{c&&n.current&&n.current!==o&&fu(c,Ql(n.current,c.props),o),n.current=o}),[o,r,c]),[o,u]}const Eu={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){const{selectedItem:t,itemToString:r}=e;return t?`${r(t)} has been selected.`:""},scrollIntoView:jl,circularNavigation:!1,environment:"undefined"==typeof window?{}:window};function wu(e,t,r){void 0===r&&(r=du);const n=e[`default${vu(t)}`];return void 0!==n?n:r[t]}function Su(e,t,r){void 0===r&&(r=du);const n=e[t];if(void 0!==n)return n;const a=e[`initial${vu(t)}`];return void 0!==a?a:wu(e,t,r)}function Mu(e){const t=Su(e,"selectedItem"),r=Su(e,"isOpen"),n=Su(e,"highlightedIndex"),a=Su(e,"inputValue");return{highlightedIndex:n<0&&t&&r?e.items.indexOf(t):n,isOpen:r,selectedItem:t,inputValue:a}}function Cu(e,t,r,n){const{items:a,initialHighlightedIndex:i,defaultHighlightedIndex:o}=e,{selectedItem:s,highlightedIndex:l}=t;return 0===a.length?-1:void 0!==i&&l===i?i:void 0!==o?o:s?0===r?a.indexOf(s):ru(r,a.indexOf(s),a.length,n,!1):0===r?-1:r<0?a.length-1:0}function Iu(e,t,r,n){const a=(0,q.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,q.useEffect)((()=>{const i=()=>{a.current.isMouseDown=!0},o=i=>{a.current.isMouseDown=!1,e&&!au(i.target,t.map((e=>e.current)),r)&&n()},s=()=>{a.current.isTouchMove=!1},l=()=>{a.current.isTouchMove=!0},u=i=>{!e||a.current.isTouchMove||au(i.target,t.map((e=>e.current)),r,!1)||n()};return r.addEventListener("mousedown",i),r.addEventListener("mouseup",o),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",u),function(){r.removeEventListener("mousedown",i),r.removeEventListener("mouseup",o),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",u)}}),[e,r]),a}let Nu=()=>Vl;function Du(e,t,r){let{isInitialMount:n,highlightedIndex:a,items:i,environment:o,...s}=r;(0,q.useEffect)((()=>{n||mu((()=>e({highlightedIndex:a,highlightedItem:i[a],resultCount:i.length,...s})),o.document)}),t)}function Tu(e){let{highlightedIndex:t,isOpen:r,itemRefs:n,getItemNodeFromIndex:a,menuElement:i,scrollIntoView:o}=e;const s=(0,q.useRef)(!0);return pu((()=>{t<0||!r||!Object.keys(n.current).length||(!1===s.current?s.current=!0:o(a(t),i))}),[t]),s}let Au=Vl;function xu(e,t,r){const{type:n,props:a}=t;let i;switch(n){case r.ItemMouseMove:i={highlightedIndex:t.disabled?-1:t.index};break;case r.MenuMouseLeave:i={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:i={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:Cu(a,e,0)};break;case r.FunctionOpenMenu:i={isOpen:!0,highlightedIndex:Cu(a,e,0)};break;case r.FunctionCloseMenu:i={isOpen:!1};break;case r.FunctionSetHighlightedIndex:i={highlightedIndex:t.highlightedIndex};break;case r.FunctionSetInputValue:i={inputValue:t.inputValue};break;case r.FunctionReset:i={highlightedIndex:wu(a,"highlightedIndex"),isOpen:wu(a,"isOpen"),selectedItem:wu(a,"selectedItem"),inputValue:wu(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...e,...i}}He().array.isRequired,He().func,He().func,He().func,He().bool,He().number,He().number,He().number,He().bool,He().bool,He().bool,He().any,He().any,He().any,He().string,He().string,He().string,He().func,He().string,He().func,He().func,He().func,He().func,He().func,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});Pl(Pl({},Eu),{getA11yStatusMessage:function(e){var t=e.isOpen,r=e.resultCount,n=e.previousResultCount;return t?r?r!==n?"".concat(r," result").concat(1===r?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}});const _u=0,Ou=1,ku=2,Pu=3,Ru=4,Fu=5,Lu=6,Uu=7,Bu=10,Vu=16,ju=19;var zu=Object.freeze({__proto__:null,InputKeyDownArrowDown:_u,InputKeyDownArrowUp:Ou,InputKeyDownEscape:ku,InputKeyDownHome:Pu,InputKeyDownEnd:Ru,InputKeyDownEnter:Fu,InputChange:Lu,InputBlur:Uu,MenuMouseLeave:8,ItemMouseMove:9,ItemClick:Bu,ToggleButtonClick:11,FunctionToggleMenu:12,FunctionOpenMenu:13,FunctionCloseMenu:14,FunctionSetHighlightedIndex:15,FunctionSelectItem:Vu,FunctionSetInputValue:17,FunctionReset:18,ControlledPropUpdatedSelectedItem:ju});He().array.isRequired,He().func,He().func,He().func,He().bool,He().number,He().number,He().number,He().bool,He().bool,He().bool,He().any,He().any,He().any,He().string,He().string,He().string,He().string,He().string,He().string,He().func,He().string,He().string,He().func,He().func,He().func,He().func,He().func,He().func,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});let Hu=Vl;const $u={...Eu,getA11yStatusMessage:Gl,circularNavigation:!0};function qu(e,t){const{type:r,props:n,shiftKey:a}=t;let i;switch(r){case Bu:i={isOpen:wu(n,"isOpen"),highlightedIndex:wu(n,"highlightedIndex"),selectedItem:n.items[t.index],inputValue:n.itemToString(n.items[t.index])};break;case _u:i=e.isOpen?{highlightedIndex:ru(a?5:1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:Cu(n,e,1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case Ou:i=e.isOpen?{highlightedIndex:ru(a?-5:-1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:{highlightedIndex:Cu(n,e,-1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case Fu:i={...e.isOpen&&e.highlightedIndex>=0&&{selectedItem:n.items[e.highlightedIndex],isOpen:wu(n,"isOpen"),highlightedIndex:wu(n,"highlightedIndex"),inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case ku:i={isOpen:!1,highlightedIndex:-1,...!e.isOpen&&{selectedItem:null,inputValue:""}};break;case Pu:i={highlightedIndex:nu(1,0,n.items.length,t.getItemNodeFromIndex,!1)};break;case Ru:i={highlightedIndex:nu(-1,n.items.length-1,n.items.length,t.getItemNodeFromIndex,!1)};break;case Uu:i={isOpen:!1,highlightedIndex:-1,...e.highlightedIndex>=0&&t.selectItem&&{selectedItem:n.items[e.highlightedIndex],inputValue:n.itemToString(n.items[e.highlightedIndex])}};break;case Lu:i={isOpen:!0,highlightedIndex:wu(n,"highlightedIndex"),inputValue:t.inputValue};break;case Vu:i={selectedItem:t.selectedItem,inputValue:n.itemToString(t.selectedItem)};break;case ju:i={inputValue:t.inputValue};break;default:return xu(e,t,zu)}return{...e,...i}}function Wu(e){void 0===e&&(e={}),Hu(e,Wu);const t={...$u,...e},{initialIsOpen:r,defaultIsOpen:n,items:a,scrollIntoView:i,environment:o,getA11yStatusMessage:s,getA11ySelectionMessage:l,itemToString:u}=t,c=function(e){const t=Mu(e),{selectedItem:r}=t;let{inputValue:n}=t;return""===n&&r&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(n=e.itemToString(r)),{...t,inputValue:n}}(t),[d,f]=function(e,t,r){const n=(0,q.useRef)(),[a,i]=bu(e,t,r);return(0,q.useEffect)((()=>{eu(r,"selectedItem")&&(n.current!==r.selectedItem&&i({type:ju,inputValue:r.itemToString(r.selectedItem)}),n.current=a.selectedItem===n.current?r.selectedItem:a.selectedItem)})),[Ql(a,r),i]}(qu,c,t),{isOpen:m,highlightedIndex:p,selectedItem:h,inputValue:g}=d,v=(0,q.useRef)(null),y=(0,q.useRef)({}),b=(0,q.useRef)(null),E=(0,q.useRef)(null),w=(0,q.useRef)(null),S=(0,q.useRef)(!0),M=hu(t),C=(0,q.useRef)(),I=yu({state:d,props:t}),N=(0,q.useCallback)((e=>y.current[M.getItemId(e)]),[M]);Du(s,[m,p,g,a],{isInitialMount:S.current,previousResultCount:C.current,items:a,environment:o,itemToString:u,...d}),Du(l,[h],{isInitialMount:S.current,previousResultCount:C.current,items:a,environment:o,itemToString:u,...d});const D=Tu({menuElement:v.current,highlightedIndex:p,isOpen:m,itemRefs:y,scrollIntoView:i,getItemNodeFromIndex:N});Au({isInitialMount:S.current,props:t,state:d}),(0,q.useEffect)((()=>{(r||n||m)&&b.current&&b.current.focus()}),[]),(0,q.useEffect)((()=>{S.current||(C.current=a.length)}));const T=Iu(m,[w,v,E],o,(()=>{f({type:Uu,selectItem:!1})})),A=Nu("getInputProps","getComboboxProps","getMenuProps");(0,q.useEffect)((()=>{S.current=!1}),[]),(0,q.useEffect)((()=>{m||(y.current={})}),[m]);const x=(0,q.useMemo)((()=>({ArrowDown(e){e.preventDefault(),f({type:_u,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},ArrowUp(e){e.preventDefault(),f({type:Ou,shiftKey:e.shiftKey,getItemNodeFromIndex:N})},Home(e){I.current.state.isOpen&&(e.preventDefault(),f({type:Pu,getItemNodeFromIndex:N}))},End(e){I.current.state.isOpen&&(e.preventDefault(),f({type:Ru,getItemNodeFromIndex:N}))},Escape(e){const t=I.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),f({type:ku}))},Enter(e){const t=I.current.state;!t.isOpen||t.highlightedIndex<0||229===e.which||(e.preventDefault(),f({type:Fu,getItemNodeFromIndex:N}))}})),[f,I,N]),_=(0,q.useCallback)((e=>({id:M.labelId,htmlFor:M.inputId,...e})),[M]),O=(0,q.useCallback)((function(e,t){let{onMouseLeave:r,refKey:n="ref",ref:a,...i}=void 0===e?{}:e,{suppressRefError:o=!1}=void 0===t?{}:t;return A("getMenuProps",o,n,v),{[n]:ql(a,(e=>{v.current=e})),id:M.menuId,role:"listbox","aria-labelledby":M.labelId,onMouseLeave:$l(r,(()=>{f({type:8})})),...i}}),[f,A,M]),k=(0,q.useCallback)((function(e){let{item:t,index:r,refKey:n="ref",ref:a,onMouseMove:i,onMouseDown:o,onClick:s,onPress:l,disabled:u,...c}=void 0===e?{}:e;const{props:d,state:m}=I.current,p=gu(r,t,d.items);if(p<0)throw new Error("Pass either item or item index in getItemProps!");const h=s;return{[n]:ql(a,(e=>{e&&(y.current[M.getItemId(p)]=e)})),disabled:u,role:"option","aria-selected":`${p===m.highlightedIndex}`,id:M.getItemId(p),...!u&&{onClick:$l(h,(()=>{f({type:Bu,index:r})}))},onMouseMove:$l(i,(()=>{r!==m.highlightedIndex&&(D.current=!1,f({type:9,index:r,disabled:u}))})),onMouseDown:$l(o,(e=>e.preventDefault())),...c}}),[f,I,D,M]),P=(0,q.useCallback)((function(e){let{onClick:t,onPress:r,refKey:n="ref",ref:a,...i}=void 0===e?{}:e;return{[n]:ql(a,(e=>{E.current=e})),id:M.toggleButtonId,tabIndex:-1,...!i.disabled&&{onClick:$l(t,(()=>{f({type:11}),!I.current.state.isOpen&&b.current&&b.current.focus()}))},...i}}),[f,I,M]),R=(0,q.useCallback)((function(e,t){let{onKeyDown:r,onChange:n,onInput:a,onBlur:i,onChangeText:o,refKey:s="ref",ref:l,...u}=void 0===e?{}:e,{suppressRefError:c=!1}=void 0===t?{}:t;A("getInputProps",c,s,b);const d=I.current.state,m=e=>{const t=tu(e);t&&x[t]&&x[t](e)},p=e=>{f({type:Lu,inputValue:e.target.value})},h=()=>{d.isOpen&&!T.current.isMouseDown&&f({type:Uu,selectItem:!0})};let g={};return u.disabled||(g={onChange:$l(n,a,p),onKeyDown:$l(r,m),onBlur:$l(i,h)}),{[s]:ql(l,(e=>{b.current=e})),id:M.inputId,"aria-autocomplete":"list","aria-controls":M.menuId,...d.isOpen&&d.highlightedIndex>-1&&{"aria-activedescendant":M.getItemId(d.highlightedIndex)},"aria-labelledby":M.labelId,autoComplete:"off",value:d.inputValue,...g,...u}}),[f,x,I,T,A,M]),F=(0,q.useCallback)((function(e,t){let{refKey:r="ref",ref:n,...a}=void 0===e?{}:e,{suppressRefError:i=!1}=void 0===t?{}:t;return A("getComboboxProps",i,r,w),{[r]:ql(n,(e=>{w.current=e})),role:"combobox","aria-haspopup":"listbox","aria-owns":M.menuId,"aria-expanded":I.current.state.isOpen,...a}}),[I,A,M]),L=(0,q.useCallback)((()=>{f({type:12})}),[f]),U=(0,q.useCallback)((()=>{f({type:14})}),[f]),B=(0,q.useCallback)((()=>{f({type:13})}),[f]),V=(0,q.useCallback)((e=>{f({type:15,highlightedIndex:e})}),[f]),j=(0,q.useCallback)((e=>{f({type:Vu,selectedItem:e})}),[f]);return{getItemProps:k,getLabelProps:_,getMenuProps:O,getInputProps:R,getComboboxProps:F,getToggleButtonProps:P,toggleMenu:L,openMenu:B,closeMenu:U,setHighlightedIndex:V,setInputValue:(0,q.useCallback)((e=>{f({type:17,inputValue:e})}),[f]),selectItem:j,reset:(0,q.useCallback)((()=>{f({type:18})}),[f]),highlightedIndex:p,isOpen:m,selectedItem:h,inputValue:g}}Wu.stateChangeTypes=zu;He().array,He().array,He().array,He().func,He().func,He().func,He().number,He().number,He().number,He().func,He().func,He().string,He().string,He().shape({addEventListener:He().func,removeEventListener:He().func,document:He().shape({getElementById:He().func,activeElement:He().any,body:He().any})});const Gu=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a,ariaLabel:i,isOpen:o})=>q.createElement("div",t({"aria-label":i}),o?q.createElement("div",{className:"sid-input-select-list__menu"},n.length>0?Mr()(n).call(n,((t,i)=>((t,i)=>q.createElement("div",ki({className:"sid-input-select-list__item "+(r===i?"sid-input-select-list__item--highlighted":"")},e({item:t,index:i,key:t.value})),a(n[i])))(t,i))):q.createElement("div",{className:"sid-input-select-list__message"},q.createElement(ir,{id:"noOptions",defaultMessage:"No Options"}))):null),Yu=({clearSelection:e,disabled:t,getToggleButtonProps:r,isOpen:n})=>e?q.createElement("button",{"aria-label":"clear selection",className:"sid-input-select-button",disabled:t,onClick:e,type:"button",tabIndex:0},q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:12,fill:"transparent",stroke:"#5A5A5A",strokeWidth:"1.1px"},q.createElement("path",{d:"M1,1 L19,19"}),q.createElement("path",{d:"M19,1 L1,19"}))):q.createElement("button",ki({},r(),{className:"sid-input-select-button",disabled:t,type:"button",tabIndex:0}),q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#5A5A5A",strokeWidth:"1.1px",transform:n?"rotate(180)":void 0},q.createElement("path",{d:"M1,6 L10,15 L19,6"}))),Ku=({className:e,inputId:t,disabled:r,fieldId:n,fieldLabelId:a,isErrored:o,options:s,onKeyDown:l,onChange:u,placeholder:c,suppressPlaceholder:d=!0,value:f,autoFocus:m,ariaLabel:p,isRequired:h,buttonRef:g,role:v="combobox"})=>{const y=e=>e?e.label:"",b=(e,t)=>i()(e).call(e,(e=>{var r,n;return!t||zi()(r=e.label.toLowerCase()).call(r,t.toLowerCase())||zi()(n=e.value.toString().toLowerCase()).call(n,t.toLowerCase())})),E=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Ys(n,E.current)})),q.createElement(cu,{id:t,onChange:u,itemToString:y,selectedItem:f&&f.value&&f.label?f:"",defaultHighlightedIndex:0},(({clearSelection:n,getInputProps:i,getItemProps:u,getMenuProps:f,getToggleButtonProps:w,highlightedIndex:S,inputValue:M,isOpen:C,openMenu:I,selectedItem:N,selectHighlightedItem:D})=>q.createElement("div",{className:`sid-input-select-list ${e||""}`},q.createElement("input",ki({},i({ref:E,onClick:()=>I(),onBlur:e=>((e,t,r)=>{r&&e.currentTarget.value===r.label||t()})(e,D,N),onKeyDown:e=>(e=>{"function"==typeof l&&l(e)})(e)}),{autoFocus:m,id:t,className:`sid-l-full-width sid-text-input ${d?"sid-hidden-placeholder":""} ${o?"sid-text-input--error":""}`,disabled:r,placeholder:c,"aria-required":h,"aria-labelledby":a,role:v})),q.createElement(Yu,{disabled:r,getToggleButtonProps:w,isOpen:C,clearSelection:N?n:void 0,buttonRef:g}),q.createElement(Gu,{highlightedIndex:S,itemToString:y,options:b(s,M),getItemProps:u,getMenuProps:f,ariaLabel:p,isOpen:C}))))};Ku.defaultProps={className:void 0,disabled:!1,inputId:void 0,isErrored:!1,onKeyDown:void 0,placeholder:"",value:void 0};const Zu=Ku,Ju=Rt((({value:e,isErrored:t,options:r,onChange:n,onKeyDown:a,intl:i,placeholder:o="",isRequired:s=!1})=>{const l="sid-country";return q.createElement("div",{className:`sid-field ${l}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"country",defaultMessage:"Country"}),htmlForLabel:l,id:`${l}-label`,isRequired:s}),q.createElement(Zu,{fieldId:"country",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),onKeyDown:a,placeholder:o||i.formatHTMLMessage({id:"countryPlaceholder",defaultMessage:"Country"}),value:Al()(r).call(r,(t=>t.value===(e&&e.value))),isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidCountry",defaultMessage:"Invalid country"})):null)})),Xu=({getItemProps:e,getMenuProps:t,highlightedIndex:r,options:n,itemToString:a})=>{const i=42*n.length;return q.createElement("div",ki({className:"sid-input-select-list__menu"},t(),{tabIndex:-1,style:{height:Math.min(i,280)}}),Mr()(n).call(n,((t,i)=>((t,i)=>q.createElement("div",ki({className:"sid-select-list__item "+(r===i?"sid-select-list__item--highlighted":""),key:i},e({index:i,item:t})),a(n[i])))(t,i))))},Qu=({getToggleButtonProps:e,isOpen:t})=>q.createElement("button",ki({},e(),{className:"sid-select-button",type:"button"}),q.createElement("svg",{viewBox:"0 0 20 20",preserveAspectRatio:"none",width:16,fill:"transparent",stroke:"#979797",strokeWidth:"1.1px",transform:t?"rotate(180)":void 0},q.createElement("path",{d:"M1,6 L10,15 L19,6"}))),ec=({className:e,hideDropDownButton:t,isErrored:r,options:n,onChange:a,overrideInputClassName:i,placeholder:o,value:s})=>{const l=e=>e?e.label:"";return q.createElement(cu,{onChange:a,itemToString:l,initialSelectedItem:s&&s.value&&s.label?s:void 0,defaultHighlightedIndex:0},(({getInputProps:a,getItemProps:s,getMenuProps:u,getToggleButtonProps:c,highlightedIndex:d,isOpen:f,openMenu:m})=>q.createElement("div",{className:`sid-select-list ${e}`},q.createElement("input",ki({},a({onFocus:m}),c,{className:`\n sid-l-full-width\n ${i||"sid-select-input"}\n ${r?"sid-select-input--error":""}\n `,placeholder:o,readOnly:!0})),t?null:q.createElement(Qu,{getToggleButtonProps:c,isOpen:f}),f?q.createElement("div",null,n.length>0?q.createElement(Xu,{highlightedIndex:d,itemToString:l,options:n,getItemProps:s,getMenuProps:u}):q.createElement("div",ki({className:"sid-select-list__menu"},u()),q.createElement("div",{className:"sid-select-list__message"},q.createElement(ir,{id:"noOptions",defaultMessage:"No Options"})))):null)))};ec.defaultProps={className:void 0,hideDropDownButton:!1,isErrored:!1,overrideInputClassName:void 0,placeholder:"",value:void 0};const tc=ec,rc=Rt((({value:e,options:t,onChange:r,intl:n})=>{const a=Mr()(t).call(t,(e=>({value:e.value,label:n.formatHTMLMessage({id:`locales.${e.value}`,defaultMessage:"Label not found"})})));return q.createElement("div",{className:"sid-change-locale"},q.createElement("div",{className:"sid-field__label sid-change-locale__label "},q.createElement(ir,{id:"changeLanguage",defaultMessage:"Change language"})),q.createElement(tc,{className:"sid-change-locale__select",hideDropDownButton:!0,options:a,onChange:e=>r(e),overrideInputClassName:"sid-change-locale__input",value:Al()(a).call(a,(t=>t.value===(e&&e.value)))}),q.createElement("div",{className:"sid-l-space-btm-sm"}))})),nc=Rt((({verificationService:e,intl:t})=>{const r=dl(e.programTheme,t);return r.length<=1?null:q.createElement(rc,{options:r,value:e.viewModel.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:t=>(t=>{const r=Hs(e.viewModel,(e=>{e.localeChoice=t}));e.updateLocale(r,e.programTheme,e.verificationResponse.segment)})(t)})})),ac=()=>q.createElement("div",{className:"sid-spinner"},q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}),q.createElement("div",{className:"sid-spinner__frame"}));Rt((({intl:e})=>{const[t,r]=q.useContext(_i),{viewModel:n}=t,{programTheme:a}=t,i=dl(a,e),o=ul(a,e),s=fl(o),l=e=>{r({type:"UPDATE_VIEW_MODEL",payload:e})},u=function(){var e=hr((function*(e,t){const r=[],n=[];l({isSearching:!0});try{const[a,i]=yield vr().all([sa(e),sa(t)]),[o,s]=((e,t)=>{var r,n;const a=[],i=[],o=va()(r=e).call(r,((e,t)=>(e[t.name]=!0,a.push(t),e)),{});return d()(n=t).call(n,(e=>{o[e.name]||i.push(e)})),[a,i]})(a,i);r.push(...o),n.push(...s)}catch(e){return void l({orgDomainError:"invalidUrl",eligibleOrgs:[],ineligibleOrgs:[],isSearching:!1})}l({eligibleOrgs:r,ineligibleOrgs:n,completeRequest:!1,firstNameError:null,lastNameError:null,emailError:null,displayResults:!0,isSearching:!1})}));return function(t,r){return e.apply(this,arguments)}}(),c=function(){var e=hr((function*(){if(!y())return;const e=(e=>{let t=e;try{t=new(br())(e).hostname}catch(e){he.warn(e)}return t.replace(/(www\.)?/,"")})(n.orgDomain),[t,r]=m("domain",e);u(t,r)}));return function(){return e.apply(this,arguments)}}(),f=function(){var e=hr((function*(){if(!b())return;const[e,t]=m("name",n.orgName);u(e,t)}));return function(){return e.apply(this,arguments)}}(),m=(e,t)=>{const r=new(br())(a.config.orgSearchUrl),i=n.countryChoice.value,o=Ya(a,i),{origin:s,pathname:l,search:u}=r,c=new(wr())(u);return c.set(e,t),c.set("country",i),o&&c.set("tags",o),[`${s}${l}?${c.toString()}`,`${s}${l}?type=UNIVERSITY,K12,POST_SECONDARY,HIGH_SCHOOL&country=${i}&${e}=${t}`]},p=()=>n.orgDomain?mn.URL_REGEX.test(n.orgDomain)?null:"invalidUrl":"requiredField",h=()=>n.orgName?null:"requiredField",g=()=>n.countryChoice&&n.countryChoice.value?null:"requiredField",v=()=>{const e=g(),t=p(),r=h(),a=Vo("firstName",n.firstName),i=Vo("lastName",n.lastName),o=Vo("email",n.email);return l({orgCountryError:e,orgDomainError:t,orgNameError:r,firstNameError:a,lastNameError:i,emailError:o}),!(e||t||r||a||i||o)},y=()=>{const e=g(),t=p();return l({orgCountryError:e,orgDomainError:t}),!(e||t)},b=()=>{const e=g(),t=h();return l({orgCountryError:e,orgNameError:t}),!(e||t)},E=a?Ba(a):null;return q.useEffect((()=>{n.countryChoice||l({countryChoice:s})}),[]),q.useEffect((()=>{n.countryChoice&&null!==n.countryChoice.value?n.searchByOrgName?n.orgName&&f():n.orgDomain&&c():l({displayResults:!1,completeRequest:!1,firstNameError:null,lastNameError:null,emailError:null,eligibleOrgs:[],ineligibleOrgs:[]})}),[n.countryChoice]),q.createElement("div",{className:"sid-l-container--extra-wide sid-l-space-btm-lg sid-l-container"},q.createElement("div",{className:"sid-logo sid-l-horz-center sid-l-space-top-lg"},q.createElement("img",{className:"sid-logo__img",alt:"Logo",src:E||mn.SHEERID_LOGO_URL})),q.createElement("div",{className:"sid-logo sid-l-space-top-md"},q.createElement("img",{className:"sid-logo__icon",alt:"School House",src:mn.SCHOOL_HOUSE_URL})),i.length>1?q.createElement(rc,{options:i,value:n.localeChoice||{value:"en-US",label:"English"},isErrored:!1,onChange:e=>{var t;l({localeChoice:e}),t=e.value,r({type:"SET_LOCALE",payload:t})}}):null,q.createElement("div",{className:"sid-title"},q.createElement(ir,{id:"title",defaultMessage:"Request to Add School"})),q.createElement("div",{className:"sid-soft-font-color"},q.createElement(ir,{id:"description",defaultMessage:"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID."})),q.createElement(Ju,{value:n.countryChoice,isErrored:!!n.orgCountryError,onChange:e=>{l({countryChoice:e,orgCountryError:null})},options:o,placeholder:e.formatHTMLMessage({id:"fields.countryPlaceholder",defaultMessage:"Select Country"})}),q.createElement("div",{className:"sid-l-space-top-md"},q.createElement(ir,{id:"noCountry",defaultMessage:"Don't see your school's country? You are not eligible for this offer."})),q.createElement("div",{className:""+(n.searchByOrgName?"sid-field-pair":"")},q.createElement(Dl,{name:"org-domain",label:e.formatHTMLMessage({id:"fields.domainLabel",defaultMessage:"School website"}),placeholder:e.formatHTMLMessage({id:"fields.domainPlaceholder",defaultMessage:"www.myschool.edu"}),value:n.orgDomain,isErrored:n.orgDomainError,onChange:e=>{l({orgDomain:e})},onKeyDown:()=>{n.orgDomainError&&!p()&&l({orgDomainError:null})},search:c}),n.searchByOrgName?q.createElement(Dl,{name:"org-name",label:e.formatHTMLMessage({id:"fields.orgNameLabel",defaultMessage:"School name"}),placeholder:e.formatHTMLMessage({id:"fields.orgNamePlaceholder",defaultMessage:"My school"}),value:n.orgName,isErrored:n.orgNameError,onChange:e=>{l({orgName:e})},onKeyDown:()=>{n.orgNameError&&!h()&&l({orgNameError:null})},search:f}):null),n.displayResults?q.createElement(Nl,{eligibleOrgs:n.eligibleOrgs,ineligibleOrgs:n.ineligibleOrgs}):null,!n.searchByOrgName&&n.displayResults?q.createElement("div",{className:"sid-l-space-top-md"},q.createElement("div",{className:"sid-h-link-like",role:"button",tabIndex:0,onKeyUp:()=>{y()&&l({searchByOrgName:!0,displayResults:!1,eligibleOrgs:[],ineligibleOrgs:[]})},onClick:()=>{y()&&l({searchByOrgName:!0,displayResults:!1,eligibleOrgs:[],ineligibleOrgs:[]})}},q.createElement(ir,{id:"searchByOrgName",defaultMessage:"Don't see your school? Search by name."}))):null,n.searchByOrgName&&n.displayResults&&n.eligibleOrgs.length+n.ineligibleOrgs.length<mn.MAX_RESULT_SIZE?q.createElement("div",{className:"sid-l-space-top-md"},q.createElement("div",{className:"sid-h-link-like",tabIndex:0,role:"button",onKeyUp:()=>{y()&&b()&&l({completeRequest:!0})},onClick:()=>{y()&&b()&&l({completeRequest:!0})}},q.createElement(ir,{id:"completeRequest",defaultMessage:"Don't see your school in the list of eligible or ineligible schools? Complete your request"}))):null,n.completeRequest?q.createElement("div",{className:"sid-complete-request"},q.createElement("div",{className:"sid-personal-info"},q.createElement("div",{className:"sid-field-pair"},q.createElement(wl,{value:n.firstName,isErrored:!!n.firstNameError,onChange:e=>{l({firstName:e})}}),q.createElement(Sl,{value:n.lastName,isErrored:!!n.lastNameError,onChange:e=>{l({lastName:e})}})),q.createElement(Ml,{value:n.email,isErrored:!!n.emailError,onChange:e=>{l({email:e})},explanation:" "})),q.createElement("div",{className:"sid-l-space-top-lg"},q.createElement("button",{type:"submit",className:"sid-btn sid-btn--dark",onClick:e=>{e.preventDefault(),ua(v,t,r)}},q.createElement(ir,{id:"submit",defaultMessage:"Submit"})))):null,n.isSearching?q.createElement("div",{id:"sid-spinner-container",className:"sid-l-absolute-center"},q.createElement(ac,null)):null)}));var ic=o(5869);const oc={activeDutyStartDate:"Active Duty Start Date",address:"Address",addressPlaceholder:"Address",birthDate:"Date of birth",branchOfService:"Branch of service",branchOfServicePlaceholder:"Branch Of Service",changeLanguage:"Change language",city:"City",cityPlaceholder:"City",company:"Company",companyPlaceholder:"Company",copied:"Copied",country:"Country",countryPlaceholder:"Country",countries:{AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AN:"Netherlands Antilles",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia-Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of Congo",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Ivory Coast (Cote D'Ivoire)",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guyana",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe (French)",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia & South Sandwich Islands",GT:"Guatemala",GU:"Guam (USA)",GW:"Guinea Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts & Nevis Anguilla",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MH:"Marshall Islands",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macau",MP:"Northern Mariana Islands",MQ:"Martinique (French)",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia (French)",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Polynesia (French)",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn Island",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion (French)",RO:"Romania",RS:"Serbia",RU:"Russian Federation",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovak Republic",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Saint Tome (Sao Tome) and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"USA Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatican City State",VC:"Saint Vincent & Grenadines",VE:"Venezuela",VG:"Virgin Islands (British)",VI:"Virgin Islands (USA)",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna Islands",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},dateTime:{january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December",month:"Month",day:"Day",year:"Year","2_MIN":"2 minutes","20_MIN":"20 minutes","2_HRS":"2 hours","24_HRS":"24 hours","2_DAY":"2 days","3_DAY":"3 days",A_FEW_MINUTES:"a few minutes",A_HALF_HOUR:"half an hour",A_FEW_HOURS:"a few hours",A_FEW_DAYS:"a few days"},dischargeDate:"Discharge date",driverLicenseNumber:"Driver license number",driverLicenseNumberPlaceholder:"Driver license number",driverLicenseState:"Driver license state",ebtCardNumber:"EBT Card Number",emailAddress:"Email address",emailAddressPlaceholder:"Email address",optIn:"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more",phoneNumber:"Mobile Number",phoneNumberExplanation:"Optional - get text notifications of status updates",phoneNumberWarnMessage1:"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply.",phoneNumberWarnMessage2:"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud.",phoneUsPlaceholder:"555-555-5555",error:"Error",limitExceededError:"Verification Limit Exceeded",firstName:"First name",firstNamePlaceholder:"First name",memberId:"ID Number",memberIdPlaceholder:"ID Number",optional:"Optional",howDoesReviewWork:"How does review work?",howDoesVerifyingWork:"How does verifying work?",informationTransferredToUS:"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy.",lastName:"Last name",lastNamePlaceholder:"Last name",loading:"Loading...",locales:{"en-US":"English",ar:"Arabic",bg:"Bulgarian","zh-HK":"Chinese (Hong Kong)",zh:"Chinese (Traditional)",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch","en-GB":"English (UK)",fi:"Finnish","fr-CA":"French (Canadian)",fr:"French",ga:"Irish",de:"German",el:"Greek",iw:"Hebrew",hu:"Hungarian",id:"Indonesian",it:"Italian",ja:"Japanese",ko:"Korean",lo:"Lao",lt:"Lithuanian",ms:"Malay",no:"Norwegian",pl:"Polish","pt-BR":"Portuguese (Brazil)",pt:"Portuguese",ro:"Romanian",ru:"Russia",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish","es-ES":"Spanish (Spain)",sv:"Swedish",th:"Thai",tr:"Turkish",ur:"Urdu",vi:"Vietnamese",zu:"Zulu"},militaryStatus:"Military status",noOptions:"No options",lowRewardPool:"&#128293; Only {offersRemaining} offers left!",personalInformation:"Personal Information",personalOrSchoolIsFine:"Personal or school email is fine",postalCode:"Postal code",postalCodeExplanation:"Use the location on file with your licensing body",postalCodePlaceholder:"Postal code",poweredBy:"Verification services powered by SheerID",proceed:"Proceed",requestSchool:"Don't see your school? Request to have it added.",requiredFields:"All fields are required",rewardCodeEmailNotification:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.",school:"School",schoolName:"University / College name",schoolNamePlaceholder:"University / College name",sheeridFaqs:"SheerID FAQs",privacyPolicy:"Privacy Policy",smsCodePlaceholder:"SMS Code",state:"State",statePlaceholder:"State",states:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"American Samoa",AZ:"Arizona",CA:"California",CO:"Colorado",CT:"Connecticut",DC:"District of Columbia",DE:"Delaware",FL:"Florida",GA:"Georgia",GU:"Guam",HI:"Hawaii",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MS:"Mississippi",MT:"Montana",NC:"North Carolina",ND:"North Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VA:"Virginia",VI:"Virgin Islands",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"West Virginia",WY:"Wyoming"},status:"Status",statusPlaceholder:"Status",streetAddress:"Street Address",universityName:"University name",verifyAndContinue:"Verify and continue",verificationPurposesOnly:"Used for verification purposes only",verifyMyStudentStatus:"Verify My Student Status",verifyMyTeacherStatus:"Verify My Teacher Status",verifyMyMembershipStatus:"Verify My Membership Status",verifyMyMilitaryStatus:"Verify My Military Status",verifyMyIdentityStatus:"Verify My Identity",verifyMyMedicalProfessionalStatus:"Verify My Medical Professional Status",verifyMyEmploymentStatus:"Verify My Employee Status",verifyMyLicensedProfessionalStatus:"Verify My Licensed Professional Status",verifyMyMoverStatus:"Verify My New Mover Status",verifyMyLowIncomeStatus:"Verify my status",VETERAN:"Military Veteran or Retiree",MILITARY_RETIREE:"Military Retiree",RESERVIST:"Reservist or National Guard",ACTIVE_DUTY:"Active Duty",MILITARY_FAMILY:"Military Family",GOLD_STAR_FAMILY:"Gold Star Family",FIREFIGHTER:"Firefighter",POLICE:"Police",EMT:"EMT",SEARCH_AND_RESCUE:"Search and Rescue",DOCTOR:"Doctor",NURSE:"Nurse",DENTIST:"Dentist",PHARMACIST:"Pharmacist",OTHER_HEALTH_WORKER:"Other Health Worker",HOME_BUYER:"Home Buyer",OTHER_MOVER:"Other Mover",SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient",LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian",VETERINARIAN:"Veterinarian",organization:"Organization",organizationPlaceholder:"Organization",lowIncomeOrganization:"Government Assistance Program",lowIncomeOrganizationPlaceholder:"Government Assistance Program",verifyMyFirstResponderStatus:"Verify My First Responder Status",tryAgain:"Try again",errorId:{activeDutyStartDateBeforeBirthDate:"Start date must be after birth date",apiRateLimitExceeded:"Unable to process your request at this time, please try again later",dischargeDateBeforeBirthDate:"Discharge Date before birthdate",docReviewLimitExceeded:"Document review limit exceeded",inactiveProgram:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",expiredEmailLoopToken:"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you're looking for is no longer available.",expiredProgram:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",expiredSMSCode:"Verification code expired",expiredVerification:"This verification is expired. Please submit a new verification.",failedToFetch:"Failed HTTP request",fraudRulesReject:"We're unable to verify you using the information submitted. Please check your information for accuracy, and only use your own mobile device or computer.<br><br>Still having trouble? <a href=\"{feedbackUrl}&pid={programId}&locale={locale}\">Contact SheerID's support team</a> to confirm your identity.",futureBirthDate:"Future birthdate",futureDischargeDate:"Future discharge date",futureActiveDutyStartDate:"Future start date",incorrectVerificationOverrideCodeAttemptLimitExceeded:"Override code limit exceeded",internalServerError:"Internal server error",invalidActiveDutyStartDate:"Invalid start date",invalidAddress:"Invalid address",invalidApiToken:"Provided API token was invalid or empty",invalidBirthDate:"Invalid birth date",invalidCity:"Invalid city",invalidCountry:"Invalid country",invalidDischargeDate:"Invalid discharge date",invalidDocUploadToken:"Provided document upload token is not valid",invalidEbtCardNumber:"Invalid EBT Card Number",invalidEmail:"Invalid email",invalidEmailLoopToken:"We are sorry, the page you requested cannot be found. The URL may be incorrect or the page you're looking for is no longer available.",invalidFileSizeEmpty:"One or more files is empty",invalidFileSizeMax:"One or more files is too large (max: 10MB)",invalidFirstName:"Invalid first name",invalidFirstResponderStatus:"Invalid first responder status",invalidLastName:"Invalid last name",invalidMemberId:"Invalid ID Number",invalidMilitaryStatus:"Invalid military status",invalidNumberOfFiles:"Maximum number of files exceeded (max: 5)",invalidOptIn:"Must be selected to continue",invalidOrganization:"You must select an organization from the list",invalidOverrideCode:"Invalid Override Code",invalidPhoneNumber:"Invalid mobile number",invalidPostalCode:"Invalid postal code",invalidProgram:"Invalid program",invalidRequest:"Invalid request",invalidSMSCode:"Verification code could not be validated",invalidSocialSecurityNumber:"Invalid SSN",invalidState:"Invalid state",invalidStatus:"Invalid status",invalidStatuses:"Invalid status",invalidDriverLicenseNumber:"Invalid driver license number",invalidStep:"Invalid step",missingRequiredMetadata:"You must be logged in to verify. Log in to your account then try again.",marketConsentRequired:"Market consent required",maxMetadataLengthExceeded:"Maximum length of metadata value exceeded",maxMetadataValuesExceeded:"Maximum number of metadata values exceeded",maxSMSCodeLimitExceeded:"",incorrectSMSCodeAttemptLimitExceeded:"",noProgram:"No program found",noRemainingRewardCodes:"Due to tremendous demand, the offer is no longer available. Please check tomorrow to see if it is available.",notApproved:"Not approved",notFound:"Not found",noValidFiles:"No valid files",noVerification:"No verification found",outsideAgePerson:"Birthdate is not eligible for this offer.",requestTimeout:"Request timeout",simulatedError:"This is a simulated error",unauthorizedDomain:"Unauthorized domain",unauthorizedAccountStatus:"This offer has been temporarily discontinued. Please contact the brand’s customer support for more information.",underagePerson:"Persons under age 16 are not eligible for this offer.",unknownError:"Unknown Error",unsupportedDocMimeType:"One or more files is an unsupported format",verificationLimitExceeded:"We're glad you're enthusiastic, but it looks like you've already redeemed or attempted to redeem this offer."},step:{docUpload:{acceptableUploadExamples:"Acceptable examples include:",acceptedTypes:"File must be .jpg .jpeg .png .pdf .gif or .bmp",addFile:"Add file",cancelButtonLabel:"Cancel",fileInstructions:'Drag &amp; drop your files here or <span class="sid-dropzone-wrap--link">browse</span>',submitButtonLabel:"Continue",rejectedSubtitle:"We were unable to confirm your eligibility due to:",nameChanged:"If your name has changed since the document was issued, upload a 2nd document showing your official name change.",allowedDocuments:"Please only upload documents you are legally allowed to provide.",cancelDocUploadLabel:"Click here if you are unable to verify with a document",rejectionReasons:{DOCUMENT_LIKELY_FRAUD:"The document is insufficient for establishing eligibility for this offer.",DOCUMENT_UNSUPPORTED:"The document is not official or on the list of accepted document types.",DOCUMENT_UNREADABLE:"The document was unreadable due to poor image quality. Please make sure you have a clearly legible image that's bright and crisp, and try submitting again.",DOCUMENT_EXPIRED:"The document has already expired or was issued too far in the past. Please upload a more recent document.",DOCUMENT_TOO_FUTURE:"The date shown in the document is too far in the future. Please upload a more recent document, which proves your current status.",MISSING_DOCUMENT_DATE:"A current date is missing. Please upload an official, dated document that proves your current status.",INSUFFICIENT_DOCUMENT_DATE:"The date(s) shown in the document are insufficient to prove your current status. Please upload a document that includes a recent month and year.",INSUFFICIENT_STATUS:"The document does not prove you are a status eligible for this offer.",MISMATCH_STATUS:"The status on the document does not match the status you entered on your verification form.",INELIGIBLE_JOB_TITLE:"The job title shown in the document is not eligible for this offer.",MISSING_INFORMATION_BIRTHDATE:"Your birthdate is missing.",MISMATCH_BIRTHDATE:"The birthdate on the document does not match the birthdate you entered on your verification form.",OUT_OF_RANGE_BIRTHDATE:"Your birthdate is outside the acceptable range of this offer. ",MISSING_PERSON_LAST_NAME:"Your last name is missing.",MISMATCH_PERSON_LAST_NAME:"The last name on the document does not match the last name you entered on your verification form.",MISSING_PERSON_FIRST_NAME:"Your first name is missing.",MISMATCH_PERSON_FIRST_NAME:"The first name on the document does not match the first name you entered on your verification form.",MISSING_INFORMATION_ORGANIZATION_NAME:"Your organization name is missing.",MISMATCH_ORGANIZATION_NAME:"The organization name on the document does not match the organization name you entered on your verification form.",MISMATCH_ORGANIZATION_COUNTRY:"The country shown in your document does not match the country you entered on your verification form",MISSING_CUSTOM_VALUE:"The document is missing information needed to establish your eligibility for this offer.",MISMATCH_CUSTOM_VALUE:"Some information shown in the document does not match what you entered in the verification form.",INSUFFICIENT_CUSTOM_VALUE:"The document is missing information needed to establish your eligibility for this offer.",DOCUMENT_VALID_OTHER:"The document is insufficient for establishing eligibility for this offer",DOCUMENT_STATUS_OTHER:"The document is insufficient for establishing eligibility for this offer",DOCUMENT_DATE_OTHER:"The document is insufficient for establishing eligibility for this offer",PERSON_BIRTHDATE_OTHER:"The document is insufficient for establishing eligibility for this offer",PERSON_LAST_NAME_OTHER:"The document is insufficient for establishing eligibility for this offer",PERSON_FIRST_NAME_OTHER:"The document is insufficient for establishing eligibility for this offer",ORGANIZATION_NAME_OTHER:"The document is insufficient for establishing eligibility for this offer",CUSTOM_VALUE_OTHER:"The document is insufficient for establishing eligibility for this offer",DOCUMENT_PASSWORD_PROTECTED:"We are unable to accept password protected documents.",DOCUMENT_HANDWRITTEN:"We cannot accept handwritten documents.",MISSING_INFORMATION:"The document you submitted does not provide all of the information necessary to determine eligibility for this offer.",MISSING_INFORMATION_PERSON_NAME:"The document you submitted is missing a first and/or last name.",DOCUMENT_OUTDATED:"The document you submitted is missing an issue date or was issued too far in the past.",MISMATCH_PERSON_NAME:"The information on the document you submitted does not match the first and/or last name submitted on the verification form.",MISMATCH_ORGANIZATION:"The organization name on the document(s) you submitted does not match the organization you listed on the verification form.",INELIGIBLE_ORGANIZATION:"The organization on the document you submitted is not eligible for this offer.",MISSING_INFORMATION_UNIVERSITY_ENROLLMENT:"The document you submitted does not prove enrollment in the current term.",INELIGIBLE_PERSON_HIGH_SCHOOL_STUDENT:"High School Students are not eligible for this offer.",MISSING_INFORMATION_AFFILIATION_US_ARMED_FORCES:"The document you submitted is does not show affiliation to an eligible branch of the United States Armed Forces.",MISMATCH_COMPANY_NAME_OR_ADDRESS:"The company name or address in your document does not match what you entered on the verification form.",PAYSTUB_OUTDATED_LAST_30_DAYS:"Please upload a paystub that was issued within the last 30 days.",DOCUMENT_OUTDATED_FACULTY:"The document you submitted does not prove employment in the current academic year.",MISSING_OR_MISMATCH_JOB_TITLE:"The job title on the document you submitted is missing or does not match what you entered on the verification form.",OTHER_CONTACT_US:"We are having problems verifying your eligibility for the offer. Please contact SheerID customer service for help: customerservice@sheerid.com",PERSON_FIELD_MISMATCH:"A field in the document provided did not match with what was provided on the verification form."},uploadInfo:{affiliation:"Your current affiliation with that organization",fullName:"Your full name",organization:"Your organization",student:{enrollmentDate:"Date proving enrollment for the current term (or within the last 3 months)",school:"Your school"},teacher:{currentSchoolYear:"A date in the current school year",school:"Your school"},military:{currentAffiliation:"Your current affiliation with the armed services",dischargeDate:"Your discharge date (if applicable)",serviceBranch:"Your branch of service",uploadInstructionsDependent:"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status"},senior:{birthDate:"Your date of birth"},age:{birthDate:"Your date of birth"},firstResponder:{currentAffiliation:"Your current affiliation with that organization",organization:"Your organization",license:"Your status or license as a First Responder"},medical:{status:"Your medical professional status",validDate:"A currently valid date"},employment:{company:"Your company",currentAffiliation:"Your current affiliation with that company"},identity:{validDate:"A currently valid date"},licensedProfessional:{licenseStatus:"Your professional license and/or certification status",validDate:"A currently valid date"},recentMover:{address:"Your new address",validDate:"A valid date for your recent move"},lowIncome:{fullName:"Your full name",validDate:"A valid date of issue (within the last 12 months) or date of expiry (must be valid)"}},acceptableUploads:{student:{idCard:"School ID card with expiration date",classSchedule:"Class schedule",tuitionReceipt:"Tuition receipt"},teacher:{idCard:"Teacher ID card with valid date",payStub:"Pay stub from within last 60 days"},member:{idCard:"Membership Document",payStub:"Pay stub from within last 90 days"},senior:{birthCertificate:"Your birth certificate",driversLicense:"Your drivers license",passport:"Your passport",stateId:"Your state-issued ID"},age:{birthCertificate:"Your birth certificate",driversLicense:"Your drivers license",passport:"Your passport",stateId:"Your state-issued ID"},military:{activeDuty:"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more",veteran:"Any document that proves you met the qualifications of military service and were honorably discharged",reservistA:"Any document that shows you are currently serving in a reserve component of the armed forces",retiree:"Any document that proves you are a retiree from the armed forces",dependent:"Any document that proves you are a Registered Military Dependent",goldStarFamily:"Any document that proves you are a Registered Gold Star Family Member"},medical:{licenseCertificate:"Certificate of license",idCard:"Nursing ID card with expiration date",photoPayStub:"Photo ID and recent Pay Stub"},employment:{employeeIdCard:"Employee ID Card",payStub:"Pay stub from within last 60 days",officialLetter:"An official letter"},firstResponder:{idCard:"ID Card",payStub:"Pay stub from within last 60 days",letter:"An official letter"},licensedProfessional:{license:"Certificate of license"},recentMover:{changeOfAddress:"U.S. Postal Service change of address confirmation letter",mortgageDeed:"Mortgage deed",rentalAgreement:"Lease or rental agreement"},lowIncome:{programCard:"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program).",programApprovalLetter:"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter).",programApprovalScreenshot:"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account).",programBankStatement:"A bank statement showing recent payment of the selected benefit."}}},pending:{titleCountdown:"Processing",titleReview:"Reviewing",subtitle:"SheerID is reviewing your documents, to confirm your status. This process may take up to {maxReviewTime}.",subtitleAlt:"SheerID is reviewing your documents, to confirm your status.",docDiffLang:"We identified your document is in a different language.",turnaroundTime:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",subtitle2:"Wait here or let us notify you of the outcome.",subtitle3:"You will be contacted via email.",subtitleCountdown:"Hang tight while we upload and scan your documents."},personalInfo:{verifyingTitle:"Verifying your status",verifyingSubtitle:"This should only take a minute"},success:{copyCouponCode:"Copy Coupon code",emailNotification:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.",verificationOnly:"\n SheerID handles verification only.\n Now that you've been approved, please direct all questions about the\n promotion terms to {companyName} customer service.\n "},consolation:{title:"Claim your offer",subtitle:"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once.",verificationOnly:"Please direct any and all questions about this offer to {companyName}."},sso:{cancel:"Upload documents",title:"Verify using your school credentials",subtitle:"Please sign in to your school's web portal. It will open in a new tab.",subtitle2:"Can't sign in to your email?",login:"Sign in to my school"},collectSocialSecurityNumber:{title:"Enter your social security number",useSsn:"Verify using your social security number",uploadDoc:"Upload a document",selectOption:"Select an option",uploadInstead:"Upload a document instead"},smsLoop:{titleWithNumber:"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.",titleWithoutNumber:"We've sent an SMS to your mobile number. Please enter the code here.",verificationCode:"Verification Code",errors:{codeVerification:"Verification code could not be validated.",codeExpired:"Verification code could not be validated.",codeResendLimit:"Maximum number of re-tries has been reached.",resend:"Error sending the SMS message"},successResend:"SMS message re-sent successfully",incorrectNumber:{incorrectNumber1:"Incorrect number? Click",incorrectNumber2:"here",incorrectNumber3:"to return to {companyName}"},resendButton:"Re-send",submitButton:"Submit"},emailLoop:{title:"Check your email",subtitleWithEmail:"An email has been sent to {email} with a personalized link to complete the verification process.",subtitleWithoutEmail:"An email has been sent to your email account with a personalized link to complete the verification process.",subtitle2:"Please check for an email from us (verify@sheerid.com) for all the details.",successResend:"Email re-sent successfully.",resendButton:"Re-send",errors:{resend:"Error sending email"},skipEmail:"Unable to retrieve this email? Click",skipEmailCTA:"here",skipEmail2:"to proceed."},override:{title:"Unable to Verify Status",subtitle:"If applicable, please enter a verification override code below.",subtitle2:"This will enable the customer to redeem the offer",verificationOverrideCodeLabel:"Verification Override Code",submitOverrideCodeButtonLabel:"Submit Override Code",errors:{invalidCode:"Invalid Override Code.",codeOverrideLimit:"Override code limit exceeded."}},error:{errorId:{unauthorizedAccountStatus:{title:"Offer Is Paused!",buttonText:"Contact Support"},noRemainingRewardCodes:{title:"Offer Sold Out!",buttonText:"See More Offers"},verificationLimitExceeded:{title:"Verification Limit Exceeded"},expiredProgram:{title:"Offer Sold Out!",buttonText:"See More Offers"},inactiveProgram:{title:"Offer Sold Out!",buttonText:"See More Offers"},missingRequiredMetadata:{title:"Please log in."}}},collectMedicalPersonalInfo:{registrationNumberLabel:"Registration Number",registrationNumberExplanation:"Your Professional Membership Registration Number",numeroColegiadoLabel:"Registration Number",numeroColegiadoExplanation:"Your Professional Membership Registration Number",autorisationsIdLabel:"Registration Number",autorisationsIdExplanation:"Your Professional Membership Registration Number",gbrNummerLabel:"Registration Number",gbrNummerExplanation:"Your Professional Membership Registration Number",globalLocationNumberLabel:"Global Location Number",globalLocationNumberExplanation:"Your Professional Membership Registration Number"}},ssn:"Social Security Number",ssnPlaceholder:"000-00-0000",getHelp:"Get help",footerText:"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>.",infoShared1:"By clicking, I consent to processing my information for the purpose of verifying my eligibility as described within the {privacyPolicyLink}",infoShared2:". I understand that my information will be shared with {companyName}. ",studentInfoShared:"Information entered here will be used for verification purposes and shared with {companyName}. ",firstResponderInfoShared:"Information entered here will be used for verification purposes. ",militaryInfoShared:"Information entered here will be used for verification purposes. ",militaryFamilyCardNote:"Note: this offer is only available to military family members with a Dependent ID card."},sc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this 1st Responder-Only Offer",subtitle:"Verify you're an active first responder.",howDoesVerifyingWorkDetails:"\n This offer is available to all US first responders and emergency personnel - including law enforcement,\n EMTs, paramedics, and firefighters.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are an active first responder. SheerID\n only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name, Email & Organization",subtitle:"Your full name, organization name, and email must match what is on record with your agency."},verifyingTitle:"Verifying your first responder status"},docUpload:{title:"We need your ID",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying first responders.\n <br><br>\n Documents are used only for verifying your first responder status is current and will be permanently deleted after review is finalized.\n They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},lc={emailExplanation:"Personal email address is recommended",step:{personalInfo:{title:"Unlock this Military-Only Offer",subtitle:"Verify you're a member of the armed forces.",howDoesVerifyingWorkDetails:"\n This offer is available to military personnel who have served or are currently serving in the United States Armed Forces.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a member of the military. SheerID only collects information\n that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."},verifyingTitle:"Verifying your military status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying military.\n <br><br>\n Documents are used only for verifying your military status is current and will be permanently deleted after review is finalized.\n They will not be shared with {companyName}",uploadInstructions:"Upload your government-issued document that shows:"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},uc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must be of a certain age.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\n verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your government-issued documents."},verifyingTitle:"Verifying your age"},docUpload:{title:"We need your license or passport",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying age.\n <br><br>\n Documents are used only for verifying your current age and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload a government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},cc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current age.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must be of a certain age.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your age. SheerID only collects information that assists in\n verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your government-issued documents."},verifyingTitle:"Verifying your age"},docUpload:{howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying age.\n <br><br>\n Documents are used only for verifying your current age and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload a government-issued document that shows",title:"We need your license or passport",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner."},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},dc={emailExplanation:"A student email address is preferred",schoolName:"University / college name",step:{personalInfo:{title:"Unlock this Student-Only Offer",subtitle:"Verify you're a student at a degree-granting school.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must currently be enrolled in a degree\n or certificate-granting, accredited school of education.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a current student. SheerID only\n collects information that assists in verifying your eligibility.\n Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Birthdate",subtitle:"Your full name and birthdate must match what is on your official school records."},verifyingTitle:"Verifying your student status"},docUpload:{title:"We need your ID & class schedule",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying students.\n <br/><br/>\n Documents are used only for verifying your student status is current and will be permanently deleted after review is finalized.",uploadInstructions:"Upload your school-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"},sso:{cancel:"Upload Proof of Enrollment"}}},fc={emailExplanation:"Must be your school-issued email address",schoolName:"School name",schoolNamePlaceholder:"School name",step:{personalInfo:{title:"Unlock this Teaching Staff-Only Offer",subtitle:"Verify you're a teacher, faculty or staff at a K-12 or degree-granting university.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must currently be employed as a teacher, faculty or staff at a K-12\n school or university in the United States.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a current teacher, faculty or staff\n member. SheerID only collects information that assists in verifying your eligibility. Additional information\n or documentation may be requested.",tryAgain:{title:"Check Your Name & Email",subtitle:"Your full name and email address must match what is on record with your school."},verifyingTitle:"Verifying your teacher status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying teachers.\n <br><br>\n Documents are used only for verifying your teacher or faculty status is current and will be permanently\n deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload your school-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},mc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Members-Only Offer",subtitle:"Verify you're a current member of an eligible organization.",howDoesVerifyingWorkDetails:"{companyName} has set up this special offer for all current members of select organizations.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects\n information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check the information that you have provided",subtitle:"The information you have provided should match your official documents."},verifyingTitle:"Verifying your membership status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying members.\n <br><br>\n Documents are used only to verify that your membership status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},pc={emailExplanation:"Use your work email if you have one",step:{personalInfo:{title:"Unlock this Medical Professional-Only Offer",subtitle:"Verify you're a licensed medical professional.",howDoesVerifyingWorkDetails:"To be eligible for this offer, you must (1) be a medical professional currently licensed in the United States\n and (2) be a member of an eligible branch of the medical profession. Eligible branches are shown in the Status\n selector of this form.<br><br>{companyName} uses SheerID, a trusted partner, to verify that you are a medical professional.\n SheerID only collects information that assists in verifying your eligibility.\n Additional information or documentation may be requested.",tryAgain:{title:"Check your Name, Birthdate & Organization",subtitle:"Your first and last name, birthdate and organization must match what is on your official documents."},verifyingTitle:"Verifying your medical professional status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying\n medical professionals.<br><br>Documents are used only for verifying your medical professional status is\n current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},sso:{title:"Verify your Healthcare status",subtitle:"Please sign into your employer's web portal. It will open in a new tab.",login:"Sign into my employer web portal"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},hc={emailExplanation:"Use your work email if you have one",step:{personalInfo:{title:"Unlock this Employment-Only Offer",subtitle:"Verify you're a current employee at an eligible company.",howDoesVerifyingWorkDetails:"{companyName} has set up this special offer for all current employees of select companies.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are currently employed. SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check the information that you have provided",subtitle:"The information you have provided should match your official documents."},verifyingTitle:"Verifying your employment status"},docUpload:{title:"We need more information",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying employees.\n <br><br>\n Documents are used only for verify your employment status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"},sso:{title:"Verify using your company-provided email credentials",subtitle:"Please sign in to your company's email portal. It will open in a new tab.",subtitle2:"Can't sign in to your email?",login:"Sign in to my email",cancel:"Upload proof of employment"}}},gc={title:"Request to Add School",description:"Please fill out the form below. Schools submitted are not guaranteed to be added, but all requests are researched and considered by SheerID.",noCountry:"Don't see your school’s country or region? You are not eligible for this offer.",searchByOrgName:"Don't see your school? Search by name.",completeRequest:"Don't see your school in the list of eligible or ineligible schools? Complete your request",submit:"Submit",eligibleOrgs:"Eligible schools. Click the icon to copy name then return to the verification form:",ineligibleOrgs:"Ineligible Schools. We are sorry, people from these schools are not eligible for this offer:",none:"None",country:"Where is your educational institution located?",changeLanguage:"Change language",poweredBy:oc.poweredBy,copied:"Copied",fields:{countryPlaceholder:"Select Country",domainLabel:"School website",domainPlaceholder:"www.myschool.edu",orgNameLabel:"School name",orgNamePlaceholder:"My school"},step:{success:{title:"Thank you",description:"Your request to add your educational institution has been received. As a reminder, each request is evaluated by SheerID against the requirements set by this offer. There is no guarantee that your school will be added. The evaluation process can take up to 7 business days."},error:{title:"An unexpected error occurred",description:"Sorry we are not able to process your request. Please try again later.",seeingProblem:"If you keep seeing this problem <a class='sid-link' href='{feedbackUrl}&pid={programId}' target='_blank'>contact us</a>.",contactUs:"contact us"}},errorId:{invalidCountry:"Field is required",invalidEmail:"Invalid Email",invalidFirstName:"Invalid first name",invalidLastName:"Invalid last name",requiredField:"Field is required",invalidField:"Field is invalid",invalidUrl:"Invalid URL",tooManyResults:"Your search returned too many results, please refine your search and try again"},orgType:{university:"Universities {e}",k12:"K12 {e}",postSecondary:"Post Secondary Institutions {e}",highSchool:"High Schools / Secondary Schools {e}",eligible:" - Eligible for this offer. Click the icon to copy name then return to the verification form:",ineligible:" - (Not eligible for this offer)"},faq:"SheerID Add School Request FAQ"},vc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock Your Special Offer",subtitle:"Verify your current identity.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must have a valid driver license.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify your identity. SheerID only collects information that assists in\n verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your identity"},docUpload:{howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying identity.\n <br><br>\n Documents are used only for verifying your current eligibility and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload a government-issued document that shows",title:"We need your driver license",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner."},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},yc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:'"Verify you have a professional license in your field.',howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must hold a current professional license in your specified field. Eligible fields are shown in the Status selector of this form.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a licensed professional.\n SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your license"},docUpload:{title:"We need your professional license or certificate",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying licensed professionals.\n <br><br>\n Documents are used only for verifying your licensure or certification status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload a government-issued document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},bc={emailExplanation:"Needed to send you your unique code",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you have recently moved.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must have moved to a new address within the last 60 days.\n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you have recently moved. SheerID only\n collects information that assists in verifying your eligibility.\n Additional information or documentation may be requested.",tryAgain:{title:"Check Your Name & Address Information",subtitle:"Your first and last name and address must match what is on your official documents."},verifyingTitle:"Verifying your moving status"},docUpload:{title:"We need some more info",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying recent movers.\n <br/><br/>\n Documents are used only for verifying that you've recently moved and will will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},Ec={emailExplanation:"",postalCodeExplanation:"Use your home address",step:{personalInfo:{title:"Unlock this Special Offer",subtitle:"Verify you qualify for an eligible government assistance program.",howDoesVerifyingWorkDetails:"\n To be eligible for this offer, you must currently qualify for an eligible government assistance program. The eligible Government Assistance Programs for this offer can be found in the box below. \n <br><br>\n {companyName} uses SheerID, a trusted partner, to verify that you are a recipient of these benefits. \n SheerID only collects information that assists in verifying your eligibility. Additional information or documentation may be requested.",tryAgain:{title:"Check Your full name & other fields",subtitle:"Your information must match what is on your government-issued document(s)."},verifyingTitle:"Verifying your status"},docUpload:{title:"We need some more info",subtitle:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",howDoesVerifyingWorkDetails:"Document review is handled by SheerID, a trusted partner who specializes in verifying your eligibility.\n <br><br>\n Documents are used only for verifying your eligibility status is current and will be permanently deleted after review is finalized. They will not be shared with {companyName}",uploadInstructions:"Upload an official document that shows:"},success:{title:"You've been verified",subtitle:"Here is your personal coupon code. It is unique to you and can only be used once.",redirectButtonText:"Use code now"}}},wc={defaultMessages:oc,pluralizationsAndDateLocaleData:o.n(ic)(),requestOrganizationMessages:gc,segmentMessages:{firstResponder:sc,military:lc,senior:uc,age:cc,student:dc,teacher:fc,member:mc,medical:pc,employment:hc,identity:vc,licensedProfessional:yc,recentMover:bc,lowIncome:Ec}},Sc={verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:"https://sheerid.com",errorIds:["internalServerError"],locale:"en-US"},Mc={collectStudentPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectStudentPersonalInfo",segment:"student",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectTeacherPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectTeacherPersonalInfo",segment:"teacher",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectMemberPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMemberPersonalInfo",segment:"member",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},docUpload:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"docUpload",segment:"student",subSegment:null,submissionUrl:"",locale:"en-US"},success:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"success",segment:"student",subSegment:null,rewardCode:"MY_REWARD_123",locale:"en-US"},consolation:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"consolation",segment:"student",subSegment:null,consolationRewardCode:"MY_REWARD_123",locale:"en-US"},override:{verificationId:"635a9e342f69032c316e05f9",currentStep:"override",errorIds:["invalidOverrideCode"],segment:"medical",subSegment:"nurse",submissionUrl:"",locale:"en-US",country:"US"},error:Sc,pending:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"pending",statusUrl:"",segment:"student",subSegment:null,locale:"en-US",maxReviewTime:"2_HRS",estimatedReviewTime:void 0},docReviewLimitExceeded:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"error",segment:"student",subSegment:null,redirectUrl:null,errorIds:["docReviewLimitExceeded"],locale:"en-US"},collectMilitaryStatus:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMilitaryStatus",segment:"military",subSegment:null,submissionUrl:"",availableStatuses:["ACTIVE_DUTY"],locale:"en-US"},collectActiveMilitaryPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectActiveMilitaryPersonalInfo",segment:"military",subSegment:"activeDuty",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectInactiveMilitaryPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectInactiveMilitaryPersonalInfo",segment:"military",subSegment:"veteran",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectSeniorPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectSeniorPersonalInfo",segment:"senior",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectFirstResponderPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectFirstResponderPersonalInfo",segment:"firstResponder",subSegment:"emt",submissionUrl:"",availableStatuses:["FIREFIGHTER"],instantMatchAttempts:0,locale:"en-US"},collectEmployeePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectEmployeePersonalInfo",segment:"employment",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectDriverLicensePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectDriverLicensePersonalInfo",segment:"identity",subSegment:"driverLicense",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectGeneralIdentityPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectGeneralIdentityPersonalInfo",segment:"identity",subSegment:"generalIdentity",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectHybridIdentityPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectHybridIdentityPersonalInfo",segment:"identity",subSegment:"generalIdentity",submissionUrl:"",instantMatchAttempts:0,locale:"en-US"},collectLicensedProfessionalPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectLicensedProfessionalPersonalInfo",segment:"licensedProfessional",submissionUrl:"",subSegment:"licensedCosmetologists",instantMatchAttempts:0,locale:"en-US"},collectMoverPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectMoverPersonalInfo",segment:"recentMover",submissionUrl:"",subSegment:"homeBuyer",instantMatchAttempts:0,locale:"en-US"},collectLowIncomePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9761",currentStep:"collectLowIncomePersonalInfo",segment:"lowIncome",submissionUrl:"",subSegment:"snapBenefits",instantMatchAttempts:0,locale:"en-US"},sso:{verificationId:"5a3bffd5e4b05f0b878a9762",loginUrl:"loginUrl",cancelUrl:"cancelUrl",currentStep:"sso",segment:"student",subSegment:null,locale:"en-US"},smsLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"",currentStep:"smsLoop",segment:"student",subSegment:null,locale:"en-US"},emailLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"https://foo.bar",currentStep:"emailLoop",segment:"student",subSegment:null,locale:"en-US",canResendEmailLoop:!0,cancelUrl:"https://foo.bar"},cancelEmailLoop:{verificationId:"5e2f0bd2d7121162bb849f17",submissionUrl:"",currentStep:"docUpload",segment:"student",subSegment:null,locale:"en-US"},collectSocialSecurityNumber:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectSocialSecurityNumber",segment:"military",subSegment:null,submissionUrl:"",cancelUrl:"",locale:"en-US"},collectAgePersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectAgePersonalInfo",segment:"age",subSegment:null,submissionUrl:"",instantMatchAttempts:0,locale:"en-US",minAge:55,maxAge:120},collectMedicalProfessionalPersonalInfo:{verificationId:"5a3bffd5e4b05f0b878a9762",currentStep:"collectMedicalProfessionalPersonalInfo",segment:"medical",subSegment:"nurse",submissionUrl:"",availableStatuses:["NURSE"],instantMatchAttempts:0,locale:"en-US"},cancelSocialSecurityNumber:{},cancelDocUpload:{submissionUrl:"",verificationId:"63a22b25e7501047aa05bc3a",currentStep:"override",segment:"student",subSegment:null,locale:"en-US"},missingRequiredMetadata:Sc},Cc=(wc.defaultMessages.countries,wc.defaultMessages.locales,e=>{try{const t=new(wr())(window.location.search);if(t.get(e))return t.get(e);if(Sn().hasOwnProperty(e))return Sn()[e]}catch(e){he.error(e)}}),Ic=(e=undefined)=>{try{const t=new(wr())(window.location.search);let r;const n=oe((()=>e.segment));return t.get(rn)?r=t.get(rn):Sn().mockStep&&(r=Sn().mockStep),r===we.collect?Me[n]:r}catch(e){he.error(e,"getRouteOverride")}},Nc=()=>Cc(nn),Dc=()=>Cc(an),Tc=()=>Cc(cn),Ac=()=>Tc(),xc=()=>Cc(sn),_c=()=>Cc(ln),Oc=e=>{const t=ie(e),r=Cc(on),n=_c();return r&&(t.errorIds=[r]),n&&(t.redirectUrl=n),t},kc=function(){var e=hr((function*(e,t){let r=Sn().mockResponse||Mc[e];if(e&&r)switch(he.info(`getOverriddenMock: mocking ${e} response`),e){case ve.error:r=Oc(r);break;case ve.success:r=(e=>{const t=ie(e),r=xc(),n=_c();return r&&(t.rewardCode=r),n&&(t.redirectUrl=n),t})(r);break;case ve.consolation:r=(e=>{const t=ie(e),r=xc();return r&&(t.consolationRewardCode=r),t})(r)}else r=null,he.info(`\n getOverriddenMock: not mocking response.\n You may mock a step response by adding things like ?mockStep=success to your route.\n ${e}\n `);return null!==r&&t&&(yield t,r.segment=t.segment,r.subSegment=t.subSegment,Nc()&&(r.segment=Nc(),he.info(`getOverriddenMock: mocking segment '${r.segment}'`)),Dc()&&(r.subSegment=Dc(),he.info(`getOverriddenMock: mocking subSegment '${r.subSegment}'`))),vr().resolve(r)}));return function(t,r){return e.apply(this,arguments)}}(),Pc=({step:e})=>q.createElement("div",{className:"sid-loading-screen__message"},zi()(be).call(be,e)&&q.createElement("div",{className:"sid-loading-screen__message-header"},q.createElement(ir,{id:"step.personalInfo.verifyingTitle",defaultMessage:"Verifying your status"})),q.createElement("div",{className:"sid-loading-screen__message-subhead"},q.createElement(ir,{id:"step.personalInfo.verifyingSubtitle",defaultMessage:"This should only take a minute"}))),Rc=({step:e=Ac()})=>q.createElement("div",{className:"sid-loading-screen"},q.createElement(ac,null),e&&q.createElement(Pc,{step:e}));let Fc={};const Lc=(e,t)=>{he.log(`overrideComponent registering ${e}`),Fc[e]=t},Uc=()=>{Fc={}};var Bc=o(1057),Vc=o.n(Bc);function jc(e){return zc.apply(this,arguments)}function zc(){return zc=hr((function*(e){try{he.info("fetchExistingVerificationRequest: Calling back-end for existing verification request");const t=Hn(e),r=yield Fn(t),n=Ic(r),a=yield kc(n,r);return a||r}catch(e){he.error(e,"fetchExistingVerificationRequest")}})),zc.apply(this,arguments)}var Hc=o(6607),$c=o.n(Hc);const qc=function(){var e=hr((function*(e,t){Qr(e),Xr(t);const r=`${`${Sn().restApi.serviceUrl}${Sn().restApi.resources.conversion.base}`}verification/${e}`;return yield Pn(r,t)}));return function(t,r){return e.apply(this,arguments)}}(),Wc=function(){var e=hr((function*(e,t,r){Qr(e),Jr(t),Xr(r);const n=`${`${Sn().restApi.serviceUrl}${Sn().restApi.resources.conversion.base}`}account/${e}/trackingId/${t}`;return yield Pn(n,r)}));return function(t,r,n){return e.apply(this,arguments)}}(),Gc=window.addEventListener?"addEventListener":"attachEvent",Yc="attachEvent"===Gc?"onmessage":"message",Kc="sid-verificationId",Zc="verificationId",Jc=e=>{if(e&&e.data&&"object"==typeof e.data&&e.data.hasOwnProperty(Zc)){const t=e.data[Zc];Xc(t)}},Xc=e=>{const t=Sn().cookies;$c().remove(Kc,t),t.enabled?($c().set(Kc,e,t),he.info(`Set cookie ${Kc} with value ${e}`)):he.info("Cookies disabled")},Qc=e=>{var t;t={[Zc]:e},window.parent&&window.parent.postMessage&&"function"==typeof window.parent.postMessage&&window.parent.postMessage(t,"*"),Xc(e)},ed=(e=undefined)=>{let t;if(void 0!==e)t=e,Jr(e);else{t=(e=>{const t=new(wr())(e).get("trackingId");return"string"==typeof t&&0===t.length?null:t})(window.location.search)}return t},td={convert:e=>{let t;try{t=$c().get(Kc),t?qc(t,e):he.info("verificationId not found from cookie")}catch(e){he.error(e,"Conversion error")}},convertByVerificationId:qc,convertByTrackingId:Wc,listenForVerificationId:()=>{var e;he.info("Listening for verificationId"),Zr(e=Jc),window[Gc](Yc,(t=>{e(t)}),!1)}};function rd(){return rd=hr((function*(e,t=undefined,r=!1,n={}){const a=ed(t);try{let t;Yr(e);const i=window.location.search;let o;if(r||(o=Sn().verificationId||_r(i)),o&&(he.info("fetchNewVerificationRequest: Calling for existing verification request"),t=jc(o)),!o||t.currentStep===ve.error){const r=$n(),i={programId:e};a&&(he.info(`Adding trackingId ${a}`),i.trackingId=a);const o=Xn();o&&(he.info(`Adding installPageUrl ${o}`),i.installPageUrl=o),t=yield Pn(r,i,n)}const s=Ic(t),l=yield kc(s,t);return l||t}catch(e){throw he.error(e,"fetchNewVerificationRequest"),e}})),rd.apply(this,arguments)}function nd(){return nd=hr((function*(e,t){if(!Sn().doFetchTheme)return Di();he.info("fetchProgramTheme: Calling back-end for program theme");try{Yr(e),t&&qr(t);const r=t||xa();return yield Fn(qn(e,r))}catch(e){throw he.error(e,"fetchProgramTheme"),e}})),nd.apply(this,arguments)}function ad(){return ad=hr((function*(e){he.info("Resending new sms code");try{const t=Gn(e);return yield Ln(t)}catch(e){he.error(e,"getResendNewSmsCode")}})),ad.apply(this,arguments)}function id(){return id=hr((function*(e){he.info("Resending new email code");try{const t=Yn(e);return yield Ln(t)}catch(e){he.error(e,"getResendNewEmailCode")}})),id.apply(this,arguments)}const od={collectStudentPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectSeniorPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,postalCode:e.postalCode,phoneNumber:e.phoneNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectAgePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,postalCode:""!==e.postalCode?e.postalCode:void 0,phoneNumber:""!==e.phoneNumber?e.phoneNumber:void 0,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,city:""!==e.city?e.city:void 0,address1:""!==e.address1?e.address1:void 0,metadata:e.metadata}),collectMilitaryStatus:e=>({status:e.status}),collectActiveMilitaryPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,activeDutyStartDate:e.activeDutyStartDate||void 0,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata}),collectInactiveMilitaryPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,activeDutyStartDate:e.activeDutyStartDate||void 0,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,dischargeDate:e.dischargeDate,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata}),collectFirstResponderPersonalInfo:e=>{const t={firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,email:e.email,status:e.status,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,country:e.countryChoice?e.countryChoice.value:void 0,metadata:e.metadata},r=e.statuses&&X()(e.statuses)&&e.statuses.length>0;return r&&(t.statuses=e.statuses,delete t.status),e.status||r||he.error("Either status or statuses must be provided on First Responder view model"),t},collectMedicalProfessionalPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,status:e.status,email:e.email,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,country:e.countryChoice?e.countryChoice.value:void 0,memberId:e.memberId}),collectMemberPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,memberId:e.memberId,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,country:e.countryChoice?e.countryChoice.value:void 0}),collectEmployeePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata,country:e.countryChoice?e.countryChoice.value:void 0}),collectTeacherPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,birthDate:e.birthDate,postalCode:e.postalCode,email:e.email,phoneNumber:e.phoneNumber,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectSocialSecurityNumber:e=>{if("string"!=typeof e.socialSecurityNumber||e.socialSecurityNumber.length<1)throw new Error("Poorly formed social security number, unable to submit");return{socialSecurityNumber:Vc()(e.socialSecurityNumber,10)}},collectDriverLicensePersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,state:e.state,driverLicenseNumber:e.driverLicenseNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectGeneralIdentityPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectHybridIdentityPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,address1:e.address1,city:e.city,state:e.state,postalCode:e.postalCode,driverLicenseNumber:e.driverLicenseNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectLicensedProfessionalPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,postalCode:e.postalCode,statuses:e.statuses,organization:e.organization,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectMoverPersonalInfo:e=>({firstName:e.firstName,lastName:e.lastName,email:e.email,statuses:e.statuses,address1:e.address1,postalCode:e.postalCode,phoneNumber:e.phoneNumber,deviceFingerprintHash:e.deviceFingerprintHash,locale:e.localeChoice.value,metadata:e.metadata}),collectLowIncomePersonalInfo:e=>{var t,r;return{firstName:e.firstName,lastName:e.lastName,email:e.email,phoneNumber:e.phoneNumber,birthDate:e.birthDate,postalCode:e.postalCode,statuses:e.statuses,organization:zi()(t=e.statuses).call(t,"OTHER_GOVERNMENT_ASSISTANCE")?e.organization:void 0,deviceFingerprintHash:e.deviceFingerprintHash,ebtCardNumber:zi()(r=e.statuses).call(r,"SNAP_BENEFITS")?e.ebtCardNumber:void 0,locale:e.localeChoice.value,metadata:e.metadata}},smsLoop:e=>({smsCode:e.smsCode,deviceFingerprintHash:e.deviceFingerprintHash}),emailLoop:e=>({emailToken:e.emailToken,deviceFingerprintHash:e.deviceFingerprintHash}),override:e=>({overrideCode:e.overrideCode,deviceFingerprintHash:e.deviceFingerprintHash}),cancelSocialSecurityNumber:null,sso:null,docUpload:null};function sd(){return sd=hr((function*(e,t,r){let n;const{docUpload:a,cancelSocialSecurityNumber:i,sso:o,cancelEmailLoop:s,cancelDocUpload:l}=ve;try{if(e===a){const e=r,{file1:a,file2:i,file3:o}=e;return n=yield Bn(t.submissionUrl,[a,i,o]),n}if(e===i||e===o)return n=yield Rn(t.cancelUrl),n;if(e===s)return n=yield Rn(t.cancelUrl),n;if(e===l)return n=yield Rn(t.submissionUrl),n;const u=od[e](r);return n=yield Pn(t.submissionUrl,u),n}catch(e){return he.error(e,"submitFromVerificationStep"),function(){const e={verificationId:"",currentStep:"error",segment:null,subSegment:null,redirectUrl:null,locale:"en-US",errorIds:["unknownError"]};return e}()}})),sd.apply(this,arguments)}function ld(){return ld=hr((function*(e,t,r){return zr(e),ve[e]?function(e,t,r){return sd.apply(this,arguments)}(e,t,r):vr().reject(new Error(`Unknown step ${e}`))})),ld.apply(this,arguments)}function ud(e,t,r){return cd.apply(this,arguments)}function cd(){return(cd=hr((function*(e,t,r){if(ve[t]){const n=od[t](r),a=yield Pn(Kn(e,t),n);return"error"===a.currentStep&&vr().reject(new Error(`Failed to determine fields to collect: ${a}`)),a}return vr().reject(new Error(`Unknown step ${t}`))}))).apply(this,arguments)}const dd={fetchNewVerificationRequest:function(e){return rd.apply(this,arguments)},fetchExistingVerificationRequest:jc,fetchProgramTheme:function(e,t){return nd.apply(this,arguments)},getResendNewSmsCode:function(e){return ad.apply(this,arguments)},getResendNewEmailCode:function(e){return id.apply(this,arguments)},submitStep:function(e,t,r){return ld.apply(this,arguments)}},fd=["children"],md=e=>{let{children:t}=e,r=Li(e,fd);return q.createElement("a",ki({target:"_blank",rel:"noopener noreferrer"},r),t)};var pd=o(3104),hd=o.n(pd);function gd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}let vd={};const yd=e=>((e=>{Kr(e.name),Zr(e.callback)})(e),X()(vd[e.name])||(vd[e.name]=[]),vd[e.name].push(e),vd),bd=e=>(Kr(e),t=>{if(!(vd[e]&&X()(vd[e])&&vd[e].length>0))return()=>{};var r;d()(r=vd[e]).call(r,(e=>{e.callback&&"function"==typeof e.callback?e.callback("string"==typeof t?t:function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=gd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=gd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},t)):he.warn("Expected typeof function for hook callback")}))}),Ed=e=>{zr(e);const t=Ii()[e];if(!t)throw he.log(`Can't find "empty" for ${e}`),new Error("Check for missing empties");return t};function wd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Sd(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=wd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=wd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Md=e=>!!(e.instantMatchAttempts&&e.instantMatchAttempts>0),Cd=({previousViewModel:e,currentStep:t,locale:r,fingerprint:n,country:a})=>{const i=Ed(t);if(e)for(const t in i)e.hasOwnProperty(t)&&(i[t]=e[t]);return i&&(n&&(i.deviceFingerprintHash=n),r&&(i.localeChoice={value:r||"en-US",label:""}),a&&"country"in i&&void 0===i.country&&(i.country=a),a&&"countryChoice"in i&&void 0===i.countryChoice&&(i.countryChoice={value:a,label:""})),i},Id=function(){var e=hr((function*(e){o.e(772).then(o.bind(o,5372)).then((({ThreatMetrix:t})=>{if(void 0!==t&&t.hasOwnProperty("profile")&&"function"==typeof t.profile){const r="cnl2my47",n="content.sheerid.com";t.profile(n,r,e)}})).catch((()=>{}))}));return function(t){return e.apply(this,arguments)}}();var Nd=o(2983),Dd=o.n(Nd);let Td;const Ad=function(){var e=hr((function*(){return Sn().useFingerprinting?Td?vr().resolve(Td):Dd().getPromise({}).then((e=>{const t=Mr()(e).call(e,(e=>e.value)),r=Dd().x64hash128(t.join(""),31);return Td=r,Td})):vr().resolve(void 0)}));return function(){return e.apply(this,arguments)}}(),xd={};let _d=$()({},xd);const Od=e=>{e&&e.hasOwnProperty("optin")&&Cn({marketConsent:{enabled:"false"!==e.optin,required:!1,message:""}});const r=(e=>!(t()(e).length>50&&(he.error("Invalid number of metadata keys (max 50)","metadata keys"),1)))(e);if(r){const t=(e=>{const t={};for(const r in e){let n=r,a=e[r];a.length>256&&(he.warn(`Truncating metadata value '${e[r]}' for key '${n}' (max length 256 characters).`),a=a.substring(0,256)),n.length>256&&(he.warn(`Truncating metadata key '${r}' (max length 256 characters).`),n=n.substring(0,256)),t[n]=a}return t})(e);$()(_d,t),he.info("Added metadata: ",t),he.info("Full metadata: ",_d)}else he.error("Metadata has not been updated. See previous error(s)")},kd=()=>t()(_d).length>0?ie(_d):void 0,Pd="Verification";let Rd;!function(e){e.TRUE="true",e.FALSE="false"}(Rd||(Rd={}));const Fd=["sheerid.com","wizeline.com"],Ld={verificationId:"dimension1",programId:"dimension2",jslibVersionActual:"dimension3",isTest:"dimension4"},Ud=(e,t="")=>{window.ga("send","event",Pd,e,t)},Bd=(e,t)=>{try{window.ga("set",Ld[e],t)}catch(t){he.warn(`Failed to set ${e}`,t)}};function Vd(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function jd(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Vd(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Vd(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const zd=e=>function(){var t=hr((function*(t,r,n,a,i){const o={jslibVersion:window.sheerIdPubV||"",installType:ea(),installUrl:Xn()||"",projectSha:window.sheerIdProjectSha||""};yield e({type:"IS_LOADING",isLoading:!0});try{const s=dd.fetchNewVerificationRequest(t,a,i,o);return $d({dispatch:e,verificationResponsePromise:s,programId:t,segment:r,previousViewModel:n})}catch(e){he.error(e,"fetchNewVerificationRequest")}}));return function(e,r,n,a,i){return t.apply(this,arguments)}}(),Hd=e=>function(){var t=hr((function*(t,r,n,a,i=!0){i&&(yield e({type:"IS_LOADING",isLoading:!0}));try{const i=dd.fetchExistingVerificationRequest(r);return $d({dispatch:e,verificationResponsePromise:i,programId:t,previousViewModel:a,previousVerificationResponse:n})}catch(e){he.error(e,"fetchExistingVerificationRequest")}}));return function(e,r,n,a){return t.apply(this,arguments)}}(),$d=function(){var e=hr((function*({dispatch:e,verificationResponsePromise:t,programId:r,segment:n,previousViewModel:a,previousVerificationResponse:i}){try{const o=Ad(),s=dd.fetchProgramTheme(r);let l,u;yield vr().all([t,s]).then((e=>{[l,u]=e})).catch((e=>{var t;t=e.message,l={verificationId:null,currentStep:"error",errorIds:[t],segment:null,subSegment:null,locale:"en-US"},u=Di()})),he.info("verificationResponse received: ",l);const c=xa(a,l),f=La(u),m=Aa(c,f,l.segment),p=l.segment;let h=null;if(p===Ce.MILITARY){const e=aa(u.config.orgSearchUrl,"");h=yield e,he.info("orgList received: ",h)}let g=(e=>{if(e)return Hs(e,(e=>{for(let t=1;t<=3;t+=1)e[`file${t}`]=void 0}))})(a);const v=i?i.segment:n;((e,t)=>!!t&&!(!e||e===t))(v,p)&&(he.info("segment changed: ",v,p),yield Jd(e)(l),g=void 0);const y=yield o,{currentStep:b}=l,E=Ha(u),w=((e,t)=>e&&e.hasOwnProperty("country")&&e.country?e.country:t[0])(l,E);let S=Cd({currentStep:b,fingerprint:y,locale:c,country:w,previousViewModel:g});S=((e,t)=>{if(e&&e.hasOwnProperty("organization")&&t.config.orgRemoteSource){const r=ie(e),{organization:n}=r;return n.source=t.config.orgRemoteSource,r}return e})(S,u),((e,t)=>!e||e.currentStep!==t.currentStep)(i,l)&&(bd("ON_VERIFICATION_STEP_CHANGE")(l),i&&"sso"===i.currentStep&&"sso"!==l.currentStep&&"pending"!==l.currentStep&&Xs()),u.threatMetrixEnabled&&Id(l.verificationId),Qc(l.verificationId),S&&S.hasOwnProperty("metadata")&&(S.metadata=jd(jd({},S.metadata),(e=>{const t=Ar(),r={};return d()(e).call(e,(e=>{t.get(e)&&(r[e]=t.get(e))})),r})(hd()(Ra(u)))));const M=yield m;return vr().all([e({verificationResponse:l,type:"VERIFICATION_RESPONSE"}),e({viewModel:S,type:"VIEW_MODEL"}),e({programTheme:u,type:"PROGRAM_THEME"}),e({messages:M,type:"SET_MESSAGES"}),e({type:"IS_LOADING",isLoading:!1}),e({orgList:h,type:"PRE_LOAD_ORGS"}),e({type:"FORM_VALIDATION_OPTIONS"}),e({type:"REQUIRED_METADATA_CHECK"})]).then((()=>{bd("ON_VERIFICATION_READY")(l),(e=>{try{delete vd[e]}catch(t){he.warn("Unable to remove hook",e)}})("ON_VERIFICATION_READY")}))}catch(e){throw he.error(e,"createFetchVerificationRequest"),e}}));return function(t){return e.apply(this,arguments)}}(),qd=e=>function(){var t=hr((function*(t,r=!1){return vr().all([e({viewModel:t,type:"VIEW_MODEL",partial:r}),e({type:"FORM_VALIDATION_OPTIONS"})])}));return function(e){return t.apply(this,arguments)}}(),Wd=(e,t)=>function(){var r=hr((function*(r,n,a){e({type:"IS_LOADING",isLoading:!0});const i=xa(r),o=yield dd.fetchProgramTheme(t,i),s=La(o);return bd("ON_FORM_LOCALE_CHANGE")(i),Aa(i,s,a).then((t=>vr().all([e({messages:t,type:"SET_MESSAGES"}),e({viewModel:r,type:"VIEW_MODEL"}),e({type:"IS_LOADING",isLoading:!1})])))}));return function(e,t,n){return r.apply(this,arguments)}}(),Gd=e=>function(){var t=hr((function*(t){return e({programTheme:t,type:"PROGRAM_THEME"})}));return function(e){return t.apply(this,arguments)}}(),Yd=e=>hr((function*(){return e({type:"RESET_STATE"})})),Kd=e=>function(){var t=hr((function*(t){return e({fieldValidationErrors:t,type:"FIELD_VALIDATION_ERRORS"})}));return function(e){return t.apply(this,arguments)}}(),Zd=e=>function(){var t=hr((function*(t,r,n){he.log(`submitStep(): submitting stepName ${t}, viewModel:`,r),window.scrollTo(0,0),he.info("Scrolling window to coordinates: 0, 0"),yield e({type:"IS_LOADING",isLoading:!0,loadingStep:t}),he.info(`submitting step ${t}`,r),(e=>{try{const{email:t}=e;t&&i()(Fd).call(Fd,(e=>kr()(t).call(t,e)>-1)).length>0&&Bd("isTest",Rd.TRUE)}catch(e){he.warn("Error setting isTest dimension",e)}})(r);const a=yield dd.submitStep(t,n,r),o=((e,t)=>{const{currentStep:r}=e;let n;if(r===ve.success&&bd("ON_VERIFICATION_SUCCESS")(e),r===ve.collectActiveMilitaryPersonalInfo)n=Sd(Sd({},t),{},{dischargeDate:""}),delete n.dischargeDate;else if(r===ve.collectInactiveMilitaryPersonalInfo)n=t.dischargeDate?t:Sd(Sd({},t),{},{dischargeDate:""});else if(Md(e))n=t;else{const{locale:r}=e;n=Cd({locale:r,previousViewModel:t,currentStep:e.currentStep})}return n})(a,r),s=e({verificationResponse:a,type:"VERIFICATION_RESPONSE"}),l=e({viewModel:o,type:"VIEW_MODEL"}),u=e({type:"IS_LOADING",isLoading:!1});return bd("ON_VERIFICATION_STEP_CHANGE")(a),vr().all([s,l,u])}));return function(e,r,n){return t.apply(this,arguments)}}(),Jd=e=>t=>vr().all([e({type:"VIEW_MODEL",viewModel:Ed(t.currentStep)}),e({type:"PREVIOUS_VIEW_MODEL",previousViewModel:void 0}),e({type:"FIELD_VALIDATION_ERRORS",fieldValidationErrors:Ni()})]);function Xd(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Qd="function"==typeof Symbol&&Symbol.observable||"@@observable",ef=function(){return Math.random().toString(36).substring(7).split("").join(".")},tf={INIT:"@@redux/INIT"+ef(),REPLACE:"@@redux/REPLACE"+ef(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ef()}};function rf(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function nf(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Xd(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Xd(1));return r(nf)(e,t)}if("function"!=typeof e)throw new Error(Xd(2));var a=e,i=t,o=[],s=o,l=!1;function u(){s===o&&(s=o.slice())}function c(){if(l)throw new Error(Xd(3));return i}function d(e){if("function"!=typeof e)throw new Error(Xd(4));if(l)throw new Error(Xd(5));var t=!0;return u(),s.push(e),function(){if(t){if(l)throw new Error(Xd(6));t=!1,u();var r=s.indexOf(e);s.splice(r,1),o=null}}}function f(e){if(!rf(e))throw new Error(Xd(7));if(void 0===e.type)throw new Error(Xd(8));if(l)throw new Error(Xd(9));try{l=!0,i=a(i,e)}finally{l=!1}for(var t=o=s,r=0;r<t.length;r++){(0,t[r])()}return e}return f({type:tf.INIT}),(n={dispatch:f,subscribe:d,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(Xd(10));a=e,f({type:tf.REPLACE})}})[Qd]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(Xd(11));function r(){e.next&&e.next(c())}return r(),{unsubscribe:t(r)}}})[Qd]=function(){return this},e},n}function af(e,t){return function(){return t(e.apply(this,arguments))}}var of=o(2022),sf=o.n(of);function lf(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function uf(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=lf(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=lf(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const cf=ma()({programId:void 0,programTheme:void 0,isLoading:!0,isErrored:!1,viewModel:void 0,previousViewModel:void 0,previousVerificationResponse:void 0,verificationResponse:void 0,fieldValidationErrors:Ni(),messages:void 0,orgList:void 0,formValidationOptions:{}}),df=()=>ie(cf),ff=(e=df(),t)=>{var r;switch(t.type){case"PROGRAM_ID":return Bd("programId",t.programId),uf(uf({},e),{},{programId:t.programId});case"VERIFICATION_RESPONSE":let n;return n=(!e.verificationResponse||e.verificationResponse.currentStep!==ve.collectMilitaryStatus&&e.verificationResponse.currentStep!==ve.sso&&e.verificationResponse.currentStep!==ve.docUpload)&&e.previousVerificationResponse?e.previousVerificationResponse:e.verificationResponse,(e=>{try{var t;const r=e.errorIds&&X()(e.errorIds)?ha()(t=e.errorIds).call(t).join(","):void 0;Ud(e.currentStep,r)}catch(e){he.warn("Failed recordVerificationResponse event",e)}})(t.verificationResponse),uf(uf({},e),{},{previousVerificationResponse:n,previousViewModel:e.viewModel,verificationResponse:t.verificationResponse});case"SET_MESSAGES":return uf(uf({},e),{},{messages:t.messages});case"FIELD_VALIDATION_ERRORS":return uf(uf({},e),{},{fieldValidationErrors:t.fieldValidationErrors});case"VIEW_MODEL":const a=uf({},e);if(t.viewModel&&(t.partial?a.viewModel=se({},e.viewModel,t.viewModel):a.viewModel=uf({},t.viewModel)),t.viewModel&&t.viewModel.metadata){Od(t.viewModel.metadata);const e=kd();a.viewModel.metadata=e}return((e,t)=>{try{t.verificationResponse.currentStep===ve.docUpload&&void 0===e.viewModel.file1&&void 0!==t.viewModel.file1&&Ud(ve.docUpload,"addFiles")}catch(e){he.warn("Failed addFiles event",e)}})(e,a),a;case"PRE_LOAD_ORGS":return uf(uf({},e),{},{orgList:t.orgList});case"PREVIOUS_VIEW_MODEL":return uf(uf({},e),{},{previousViewModel:t.previousViewModel});case"PROGRAM_THEME":return Bd("isTest",t.programTheme.isTestMode?Rd.TRUE:Rd.FALSE),uf(uf({},e),{},{programTheme:t.programTheme});case"FORM_VALIDATION_OPTIONS":return uf(uf({},e),{},{formValidationOptions:{maxAge:e.verificationResponse.maxAge||e.programTheme.config.maxAge,minAge:e.verificationResponse.minAge||e.programTheme.config.minAge,smsLoopEnabled:e.programTheme.smsLoopEnabled,strictMilitaryValidationEnabled:e.programTheme.strictMilitaryValidationEnabled,currentStep:e.verificationResponse.currentStep,viewModel:e.viewModel}});case"REQUIRED_METADATA_CHECK":if(!zi()(be).call(be,e.verificationResponse.currentStep))return e;const i=Ra(e.programTheme),o=kd();return uf(uf({},e),{},{overrideStep:i.enabled&&!sf()(r=i.requiredKeys||[]).call(r,(e=>o.hasOwnProperty(e)))?"missingRequiredMetadata":void 0});case"IS_LOADING":return uf(uf({},e),{},{isLoading:t.isLoading,loadingStep:t.isLoading?t.loadingStep:void 0});case"IS_ERRORED":return uf(uf({},e),{},{isErrored:t.isErrored});case"RESET_STATE":return uf(uf({},ie(df())),{},{programId:e.programId});case"FORCE_UPDATE":return ie(e);default:return e}};let mf;const pf=()=>(mf||(mf=nf(ff,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__()),he.init(mf)),mf),hf=pf(),gf=(e,t={partial:!0})=>{const r=hf.getState(),n=()=>{const r=ie(e);he.info("Setting viewModel",r),qd(hf.dispatch)(r,t.partial)},a=oe((()=>e.localeChoice.value));a&&Cn({locale:a}),r.isLoading?yd({name:"ON_VERIFICATION_READY",callback:()=>{n()}}):n()};var vf=o(6937),yf=o.n(vf);function bf(e,t){return bf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bf(e,t)}function Ef(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,bf(e,t)}var wf=q.createContext(null);var Sf=function(e){function t(t){var r;r=e.call(this,t)||this;var n=t.store;return r.state={storeState:n.getState(),store:n},r}Ef(t,e);var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this.subscribe()},r.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},r.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},r.subscribe=function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var r=t.getState();e._isMounted&&e.setState((function(e){return e.storeState===r?null:{storeState:r}}))}));var r=t.getState();r!==this.state.storeState&&this.setState({storeState:r})},r.render=function(){var e=this.props.context||wf;return q.createElement(e.Provider,{value:this.state},this.props.children)},t}(q.Component);Sf.propTypes={store:He().shape({subscribe:He().func.isRequired,dispatch:He().func.isRequired,getState:He().func.isRequired}),context:He().object,children:He().any};const Mf=Sf;function Cf(){return Cf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Cf.apply(this,arguments)}function If(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}var Nf=o(5996);function Df(e,t){void 0===t&&(t={});var r=t,n=r.getDisplayName,a=void 0===n?function(e){return"ConnectAdvanced("+e+")"}:n,i=r.methodName,o=void 0===i?"connectAdvanced":i,s=r.renderCountProp,l=void 0===s?void 0:s,u=r.shouldHandleStateChanges,c=void 0===u||u,d=r.storeKey,f=void 0===d?"store":d,m=r.withRef,p=void 0!==m&&m,h=r.forwardRef,g=void 0!==h&&h,v=r.context,y=void 0===v?wf:v,b=If(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);Ge()(void 0===l,"renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"),Ge()(!p,"withRef is removed. To access the wrapped instance, use a ref on the connected component");var E="To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";Ge()("store"===f,"storeKey has been removed and does not do anything. "+E);var w=y;return function(t){var r=t.displayName||t.name||"Component",n=a(r),i=Cf({},b,{getDisplayName:a,methodName:o,renderCountProp:l,shouldHandleStateChanges:c,storeKey:f,displayName:n,wrappedComponentName:r,WrappedComponent:t}),s=b.pure,u=q.Component;s&&(u=q.PureComponent);var d=function(r){function a(t){var n,a,i,o,l,u,c,d,m,p,h;return n=r.call(this,t)||this,Ge()(g?!t.wrapperProps[f]:!t[f],"Passing redux store in props has been removed and does not do anything. "+E),n.selectDerivedProps=function(t,r,n,d){if(s&&a===r&&i===t)return o;n===l&&u===d||(l=n,u=d,c=e(n.dispatch,d)),a=r,i=t;var f=c(t,r);return o=f},n.selectChildElement=function(e,t,r){return t===d&&r===m&&h===e||(d=t,m=r,h=e,p=q.createElement(e,Cf({},t,{ref:r}))),p},n.indirectRenderWrappedComponent=n.indirectRenderWrappedComponent.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}Ef(a,r);var o=a.prototype;return o.indirectRenderWrappedComponent=function(e){return this.renderWrappedComponent(e)},o.renderWrappedComponent=function(e){Ge()(e,'Could not find "store" in the context of "'+n+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+n+" in connect options.");var r,a=e.storeState,o=e.store,s=this.props;g&&(s=this.props.wrapperProps,r=this.props.forwardedRef);var l=this.selectDerivedProps(a,s,o,i);return this.selectChildElement(t,l,r)},o.render=function(){var e=this.props.context&&this.props.context.Consumer&&(0,Nf.isContextConsumer)(q.createElement(this.props.context.Consumer,null))?this.props.context:w;return q.createElement(e.Consumer,null,this.indirectRenderWrappedComponent)},a}(u);if(d.WrappedComponent=t,d.displayName=n,g){var m=q.forwardRef((function(e,t){return q.createElement(d,{wrapperProps:e,forwardedRef:t})}));return m.displayName=n,m.WrappedComponent=t,qe()(m,t)}return qe()(d,t)}}var Tf=Object.prototype.hasOwnProperty;function Af(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function xf(e,t){if(Af(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var a=0;a<r.length;a++)if(!Tf.call(t,r[a])||!Af(e[r[a]],t[r[a]]))return!1;return!0}function _f(e){return function(t,r){var n=e(t,r);function a(){return n}return a.dependsOnOwnProps=!1,a}}function Of(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function kf(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=Of(e);var a=n(t,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=Of(a),a=n(t,r)),a},n}}const Pf=[function(e){return"function"==typeof e?kf(e):void 0},function(e){return e?void 0:_f((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?_f((function(t){return function(e,t){if("function"==typeof e)return af(e,t);if("object"!=typeof e||null===e)throw new Error(Xd(16));var r={};for(var n in e){var a=e[n];"function"==typeof a&&(r[n]=af(a,t))}return r}(e,t)})):void 0}];const Rf=[function(e){return"function"==typeof e?kf(e):void 0},function(e){return e?void 0:_f((function(){return{}}))}];function Ff(e,t,r){return Cf({},r,e,t)}const Lf=[function(e){return"function"==typeof e?function(e){return function(t,r){r.displayName;var n,a=r.pure,i=r.areMergedPropsEqual,o=!1;return function(t,r,s){var l=e(t,r,s);return o?a&&i(l,n)||(n=l):(o=!0,n=l),n}}}(e):void 0},function(e){return e?void 0:function(){return Ff}}];function Uf(e,t,r,n){return function(a,i){return r(e(a,i),t(n,i),i)}}function Bf(e,t,r,n,a){var i,o,s,l,u,c=a.areStatesEqual,d=a.areOwnPropsEqual,f=a.areStatePropsEqual,m=!1;function p(a,m){var p,h,g=!d(m,o),v=!c(a,i);return i=a,o=m,g&&v?(s=e(i,o),t.dependsOnOwnProps&&(l=t(n,o)),u=r(s,l,o)):g?(e.dependsOnOwnProps&&(s=e(i,o)),t.dependsOnOwnProps&&(l=t(n,o)),u=r(s,l,o)):v?(p=e(i,o),h=!f(p,s),s=p,h&&(u=r(s,l,o)),u):u}return function(a,c){return m?p(a,c):(s=e(i=a,o=c),l=t(n,o),u=r(s,l,o),m=!0,u)}}function Vf(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,a=t.initMergeProps,i=If(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),o=r(e,i),s=n(e,i),l=a(e,i);return(i.pure?Bf:Uf)(o,s,l,e,i)}function jf(e,t,r){for(var n=t.length-1;n>=0;n--){var a=t[n](e);if(a)return a}return function(t,n){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function zf(e,t){return e===t}const Hf=(Wf=(qf=void 0===$f?{}:$f).connectHOC,Gf=void 0===Wf?Df:Wf,Yf=qf.mapStateToPropsFactories,Kf=void 0===Yf?Rf:Yf,Zf=qf.mapDispatchToPropsFactories,Jf=void 0===Zf?Pf:Zf,Xf=qf.mergePropsFactories,Qf=void 0===Xf?Lf:Xf,em=qf.selectorFactory,tm=void 0===em?Vf:em,function(e,t,r,n){void 0===n&&(n={});var a=n,i=a.pure,o=void 0===i||i,s=a.areStatesEqual,l=void 0===s?zf:s,u=a.areOwnPropsEqual,c=void 0===u?xf:u,d=a.areStatePropsEqual,f=void 0===d?xf:d,m=a.areMergedPropsEqual,p=void 0===m?xf:m,h=If(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=jf(e,Kf,"mapStateToProps"),v=jf(t,Jf,"mapDispatchToProps"),y=jf(r,Qf,"mergeProps");return Gf(tm,Cf({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:v,initMergeProps:y,pure:o,areStatesEqual:l,areOwnPropsEqual:c,areStatePropsEqual:f,areMergedPropsEqual:p},h))});var $f,qf,Wf,Gf,Yf,Kf,Zf,Jf,Xf,Qf,em,tm,rm=o(7373),nm=o.n(rm);const am=({id:e="new",isErrored:t,onChange:r,value:n,ariaLabelledby:a})=>{const i=a?{"aria-labelledby":a}:{},o=(0,q.useRef)(null),s=()=>{o.current&&r(o.current.checked)};return(0,q.useEffect)((()=>{Ys("optIn",o.current)})),q.createElement("div",{className:"sid-checkbox"},q.createElement("input",{className:"sid-checkbox__input",id:`sid-opt-in__${e}`,name:"sid-opt-in",type:"checkbox",checked:n,ref:o,onChange:e=>r(e.target.checked),"aria-hidden":!0}),q.createElement("span",ki({},i,{className:"sid-checkbox__input-like "+(t?"sid-checkbox__input-like--error":""),onClick:s,onKeyUp:s,role:"checkbox","aria-checked":n,tabIndex:0,"data-testid":"stylable-checkbox-input"})))},im=({isErrored:e,isRequired:t,onChange:r,value:n,verificationService:a})=>{const i="marketConsentValue",o=q.useCallback((e=>{if(t&&!e)return"marketConsentRequired"}),[t]),s=(a&&a.programTheme&&Fa(a.programTheme)||{}).message||"Yes, send me {company} marketing communications about exclusive sales, special offers, latest products and more";return q.useEffect((()=>{Ur(i,o)}),[i,o]),q.useEffect((()=>{Ur(i,o)}),[i,o]),q.createElement("div",{className:"sid-field sid-opt-in"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-l-position"},q.createElement("label",{htmlFor:"sid-opt-in__optIn"},q.createElement(am,{id:"optIn",isErrored:e,onChange:r,value:n}),q.createElement("div",{className:"sid-field__label sid-checkbox__label"},a?q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:"optIn",values:{company:e},defaultMessage:s}))):q.createElement(ir,{id:"optIn",defaultMessage:s})),e?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOptIn",defaultMessage:"Must be selected to continue"})):null)))},om=({verificationService:e,isErrored:t,onChange:r,viewModel:n})=>{const{programTheme:a}=e,i=Fa(a);return i.enabled?q.createElement(im,{isErrored:t,isRequired:i.required,verificationService:e,value:n.metadata&&n.metadata.marketConsentValue||!1,onChange:e=>r(e)}):null},sm=({verificationService:e,fallbackLogo:t})=>{const r=Ba(e.programTheme);return r?q.createElement("div",{className:"sid-logo sid-l-space-top-md"},q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement("img",{className:"sid-logo__img",alt:`${e} logo`,src:r})))):t||null};var lm=o(8714),um=o.n(lm);const cm=Rt((({value:e,isErrored:t,onChange:r,explanation:n,onCarrierConsentChange:a,intl:i,isRequired:o=!1,onKeyDown:s,placeholder:l="",displaySmsConsent:u=!0,requireCarrierConsent:c=!1,carrierConsent:d=!1,internationalSupport:f=!1,selectedCountryCode:m="us"})=>{const p=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Ys("phoneNumber",p.current)})),q.createElement("div",{className:"sid-field sid-phone-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"phoneNumber",defaultMessage:"Mobile Number"}),htmlForLabel:"sid-phone-number",id:"sid-phone-number-label",displayClasses:`sid-field__label-with-explanation${l&&"sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(ir,{id:"phoneNumberExplanation",defaultMessage:"Optional - get text notifications of status updates"}))),q.createElement(q.Fragment,null,q.createElement(um(),{country:m.toLowerCase(),containerClass:"react-tel-input sid-phone-number__wrapper",inputClass:`sid-text-input sid-phone-number__field sid-phone-number__field--intl ${o?"sid-text-input--required":""} sid-l-full-width ${t?"sid-text-input--error":""}`,autoFormat:!1,value:e,onChange:e=>r(e),placeholder:l,ref:p,inputProps:{id:"sid-phone-number",name:"sid-phone-number",onKeyDown:e=>s?s(e):void 0},"aria-labelledby":"sid-phone-number-label",countryCodeEditable:!1})),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidPhoneNumber",defaultMessage:"Invalid mobile number"})):null,u&&q.createElement("div",{className:"sid-h-small-text sid-l-space-top-md sid-sms-consent"},q.createElement(ir,{id:"phoneNumberWarnMessage1",defaultMessage:"By submitting this form with a mobile number, you consent to receive SMS/text messages for verification purposes. Standard phone carrier text messaging (SMS) and data rates may apply."})),c&&q.createElement("div",{className:"sid-l-position sid-carrier-disclosure-consent"},q.createElement("div",{className:"sid-h-small-text sid-l-space-top-md"},q.createElement("label",{htmlFor:"sid-opt-in__carrier-consent"},q.createElement(am,{id:"carrier-consent",isErrored:t,value:d,onChange:e=>a(e)}),q.createElement("div",{className:"sid-field__label sid-checkbox__label"},q.createElement(ir,{id:"phoneNumberWarnMessage2",defaultMessage:"You authorize your mobile service provider to disclose your mobile number and certain account information to SheerID, solely for identity verification and to avoid fraud."}))))))}));var dm=o(6777);const fm=({getItemProps:e,highlightedIndex:t,organizations:r,itemToString:n,children:a,maxItemsToDisplay:o=26})=>{var s;const l=q.Children.count(a),u=42*(r.length+l);return q.createElement("div",{className:"sid-organization-list__menu",tabIndex:-1},q.createElement("div",{style:{height:Math.min(u,280)}},Mr()(s=i()(r).call(r,((e,t)=>t<=o-1))).call(s,((r,a)=>((r,a)=>q.createElement("div",ki({className:"sid-organization-list__item "+(t===a?"sid-organization-list__item--highlighted":""),key:a},e({index:a,item:r})),n(r)))(r,a))),a))};function mm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function pm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=mm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=mm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const hm=({urlAddSchoolForm:e,programId:t,locale:r=en})=>q.createElement(md,{className:"sid-organization-list__item sid-organization-list__request-school sid-link",href:`${e}?pid=${t}&locale=${r}`},q.createElement(ir,{id:"requestSchool",defaultMessage:"Don't see your school? Request to have it added"}));class gm extends q.Component{constructor(e){var t;super(e),t=this,b(this,"mounted",!1),b(this,"fetch",hr((function*(){const{orgSearchUrl:e,searchValue:r,countryCode:n,orgSearchTags:a}=t.props;t.mounted&&(yield aa(e,r,n,a).then((e=>{if(e){const{onLoaded:r}=t.props;r(e),t.setState({organizations:e,loading:!1})}})))}))),b(this,"debouncedFetch",(0,dm.debounce)(this.fetch,200)),this.state={isErrored:null,loading:!1,organizations:null}}reset(e){this.setState(pm(pm({},gm.initialState),e))}componentDidMount(){const{minimumSearchValueLength:e,searchValue:t}=this.props;this.mounted=!0,t.length>=e?(this.reset({loading:!0}),this.debouncedFetch()):he.info(`No organizations fetched. Search term "${t}" is less than ${e} characters.`)}componentDidUpdate(e){const{minimumSearchValueLength:t,searchValue:r}=this.props;e.searchValue!==r&&(r.length>=t?(this.reset({loading:!0}),this.debouncedFetch()):(this.reset({organizations:null,loading:!1}),he.info(`No organizations fetched. Search term "${r}" is less than ${t} characters.`)))}componentWillUnmount(){this.mounted=!1}render(){const{isErrored:e,loading:t,organizations:r}=this.state,{getItemProps:n,getMenuProps:a,highlightedIndex:i,itemToString:o,searchValue:s,programId:l,locale:u,urlAddSchoolForm:c,openOrgSearchEnabled:d}=this.props;return t?q.createElement("div",{className:"sid-organization-list__menu"},q.createElement("div",{className:"sid-organization-list__message"},q.createElement(ir,{id:"loading",defaultMessage:"Loading..."}))):e?q.createElement("div",{className:"sid-organization-list__menu"},q.createElement("div",{className:"sid-organization-list__message"},q.createElement(ir,{id:"errorId.unknownError",defaultMessage:"An unknown error occurred"}))):r&&r.length>0?q.createElement(fm,{getItemProps:n,getMenuProps:a,highlightedIndex:i,itemToString:o,organizations:r},s&&!d&&c&&(!r||r.length<26)&&q.createElement(hm,{urlAddSchoolForm:c,programId:l,locale:u})):!s||d||!c||r&&0!==r.length?null:q.createElement("div",{className:"sid-organization-list__menu"},q.createElement(hm,{urlAddSchoolForm:c,programId:l,locale:u}))}}b(gm,"initialState",{isErrored:null,loading:!1,organizations:null});const vm=gm,ym=({onChange:e,programId:t,className:r,countryCode:n,disabled:a,minimumSearchValueLength:i,placeholder:o,value:s,inputHtmlId:l,openOrgSearchEnabled:u,orgSearchUrl:c,orgSearchTags:d,isRequired:f,locale:m,urlAddSchoolForm:p})=>{const[h,g]=(0,q.useState)(""),[v,y]=(0,q.useState)([]);Zr(e);const b=e=>e?e.name:"",{isOpen:E,highlightedIndex:w,getMenuProps:S,getItemProps:M,getInputProps:C,getComboboxProps:I}=Wu({itemToString:b,id:l,items:v,onStateChange:t=>((e,t,r)=>{const n=e.hasOwnProperty("inputValue")&&e.type===Wu.stateChangeTypes.InputChange;if(e.type===Wu.stateChangeTypes.FunctionSelectItem){const{selectedItem:r}=e;t(r)}else n?t({id:0,name:e.inputValue}):e.type===Wu.stateChangeTypes.InputBlur&&(r||t({id:void 0,name:""}))})(t,e,u),onInputValueChange:({inputValue:e})=>{g(e)},selectedItem:s,onSelectedItemChange:({selectedItem:t})=>{e(t)}}),N={"aria-labelledby":`${l}-label`},D=(0,q.useRef)(null);return(0,q.useEffect)((()=>{Ys("organization",D.current)})),q.createElement(q.Fragment,null,q.createElement("div",ki({className:"sid-organization-list"},I(N)),q.createElement("input",ki({},C({ref:D}),{className:`sid-l-full-width sid-hidden-placeholder sid-text-input ${r}`,disabled:a,id:l,placeholder:o,"aria-required":f})),q.createElement("div",S(),E?q.createElement(vm,{countryCode:n,getItemProps:M,highlightedIndex:w,itemToString:b,minimumSearchValueLength:i,onLoaded:e=>y(e),programId:t,searchValue:h,orgSearchUrl:c,orgSearchTags:d,locale:m,urlAddSchoolForm:p,openOrgSearchEnabled:u}):null)))},bm=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i="",isRequired:o=!0})=>{var s;const{programId:l,viewModel:u,verificationResponse:c}=n,d=xa(u,c),f=z()(s=Sn().urlAddSchoolForm||"").call(s),m=oe((()=>n.viewModel.countryChoice.value)),p=Ya(n.programTheme,m);return q.createElement("div",{className:"sid-field sid-college-name-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"schoolName",defaultMessage:"University / College name"}),htmlForLabel:"sid-college-name",id:"sid-college-name-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(ym,{className:r?"sid-text-input--error":"",countryCode:m,minimumSearchValueLength:Sn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"schoolNamePlaceholder",defaultMessage:"University / College name"}),programId:l,value:t,inputHtmlId:"sid-college-name",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,orgSearchTags:p,locale:d,urlAddSchoolForm:f,isRequired:o}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),Em=e=>{if(e)return e<10?`0${e}`:e.toString()};const wm=Rt((({onChange:e,intl:t,isErrored:r,isRequired:n=!0,value:a="2000-01-01",errorMsg:i,label:o,fieldName:s,fieldId:l,mode:u="date",locale:c=en})=>{const d=`sid-${l}`,f=a.split("-"),m=Vc()(f[0],10)||void 0,p=Vc()(f[1],10)||void 0,h="month"===u?1:Vc()(f[2],10)||void 0,g=(new Date).getFullYear(),v=[{value:"1",label:t.formatHTMLMessage({id:"dateTime.january",defaultMessage:"January"})},{value:"2",label:t.formatHTMLMessage({id:"dateTime.february",defaultMessage:"February"})},{value:"3",label:t.formatHTMLMessage({id:"dateTime.march",defaultMessage:"March"})},{value:"4",label:t.formatHTMLMessage({id:"dateTime.april",defaultMessage:"April"})},{value:"5",label:t.formatHTMLMessage({id:"dateTime.may",defaultMessage:"May"})},{value:"6",label:t.formatHTMLMessage({id:"dateTime.june",defaultMessage:"June"})},{value:"7",label:t.formatHTMLMessage({id:"dateTime.july",defaultMessage:"July"})},{value:"8",label:t.formatHTMLMessage({id:"dateTime.august",defaultMessage:"August"})},{value:"9",label:t.formatHTMLMessage({id:"dateTime.september",defaultMessage:"September"})},{value:"10",label:t.formatHTMLMessage({id:"dateTime.october",defaultMessage:"October"})},{value:"11",label:t.formatHTMLMessage({id:"dateTime.november",defaultMessage:"November"})},{value:"12",label:t.formatHTMLMessage({id:"dateTime.december",defaultMessage:"December"})}],y=(e,t,r)=>!(r&&""!==r||t&&""!==t||e&&""!==e),b=t=>{if(y(m,t,h))return void e("");""!==t&&null!==t||e(`${m}--${h}`);const r=Vc()(t,10);"number"==typeof r&&r>=1&&r<=12?e(`${m}-${Em(t)}-${Em(h)}`):he.warn(`Value '${r}' is an invalid month`)},E=()=>{e(h||p||m?`${m}-${Em(p)}-${Em(h)}`:"")},w=`${d}__month`,S=`${d}-label`,M=q.createElement("div",{className:"sid-field-error"},i),C=q.createElement(Zu,{className:`${d}__month sid-date__month`,fieldId:s,inputId:w,fieldLabelId:S,isErrored:r,options:v,onChange:e=>{b(e?e.value:null)},placeholder:t.formatHTMLMessage({id:"dateTime.month",defaultMessage:"Month"}),suppressPlaceholder:!1,value:p?v[p-1]:void 0,isRequired:n,buttonRef:"inputSelectButtonBirthDate"}),I="date"===u&&q.createElement(gl,{className:`${d}__day sid-date__day sid-text-input sid-text-input--required ${r?"sid-text-input--error":""}`,id:`${l}-day`,isErrored:r,min:1,max:31,name:`${d}-day`,onChange:t=>(t=>{if(y(m,p,t))return void e("");""===t&&e(`${m}-${p}-`);const r=Vc()(t,10);"number"==typeof r&&r>=1&&r<=31?e(`${m}-${Em(p)}-${Em(r)}`):he.warn(`Value '${r}' is an invalid day`)})(t.target.value),onBlur:E,pattern:"\\d*",placeholder:t.formatHTMLMessage({id:"dateTime.day",defaultMessage:"Day"}),hidePlaceholder:!1,"aria-label":t.formatHTMLMessage({id:"dateTime.day",defaultMessage:"Day"}),"aria-labelledby":d,"aria-required":n,refId:`${s}Day`,type:"text",value:h||""});return q.createElement("div",{className:`sid-field ${d}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:o,htmlForLabel:w,id:S,displayClasses:"sid-field__label-with-explanation",isRequired:n},q.createElement(ir,{id:"verificationPurposesOnly",defaultMessage:"Used for verification purposes only"})),q.createElement("div",{className:`${d}__inputs sid-date__inputs`},function(e){const t=new Date(2222,0,3);try{var r;const n=new Intl.DateTimeFormat(e).format(t);return Z()(r=n.replace("0","")).call(r,3..toString())}catch(e){return!1}}(c)?q.createElement(q.Fragment,null,I,C):q.createElement(q.Fragment,null,C,I),q.createElement(gl,{className:`${d}__year sid-date__year sid-text-input sid-text-input--required ${r?"sid-text-input--error":""}`,id:`${l}-year`,name:`${d}-year`,type:"text",isErrored:r,min:1900,max:g,value:m||"",pattern:"\\d*",placeholder:t.formatHTMLMessage({id:"dateTime.year",defaultMessage:"Year"}),hidePlaceholder:!1,"aria-label":t.formatHTMLMessage({id:"dateTime.year",defaultMessage:"Year"}),"aria-labelledby":d,"aria-required":n,refId:`${s}Year`,onChange:t=>(t=>{if(y(t,p,h))return void e("");""===t&&e(`-${p}-${h}`);const r=Vc()(t,10);"number"==typeof r&&r>=1&&r<=g?e(`${r}-${Em(p)}-${Em(h)}`):he.warn(`Value '${r}' is an invalid year`)})(t.target.value),onBlur:E})),r?M:null)})),Sm=({onChange:e,isErrored:t,isRequired:r=!0,errorId:n,value:a="2000-01-01",locale:i=en})=>q.createElement(wm,{value:a,label:q.createElement(ir,{id:"birthDate",defaultMessage:"Date of birth"}),onChange:e,fieldId:"birthdate",fieldName:"birthDate",isErrored:t,isRequired:r,locale:i,errorMsg:n?q.createElement(ir,{id:`errorId.${n}`,defaultMessage:"Invalid birth date"}):q.createElement(ir,{id:"errorId.invalidBirthDate",defaultMessage:"Invalid birth date"})});var Mm=o(249),Cm=o.n(Mm),Im=o(4649),Nm=o.n(Im);const Dm=e=>t=>{const r=function(e,t){var r;if("string"!=typeof e)return;const n=(new DOMParser).parseFromString(e,"text/html");return d()(r=Cm()(t)).call(r,(([e,t])=>{const r=n.querySelector(e);if(!r)return;let a;const i=r.innerHTML;if(a="function"==typeof t?t(i):t,a){if("string"==typeof a)r.insertAdjacentHTML("afterend",a);else{const e=Nm().renderToStaticMarkup(q.createElement(q.Fragment,null,a));r.insertAdjacentHTML("afterend",e)}r.parentElement.removeChild(r)}})),n.body.innerHTML}(t,e);return q.createElement("span",{dangerouslySetInnerHTML:{__html:r}})},Tm=({verificationService:e,linkText:t})=>{const{segment:r}=e.verificationResponse,{programId:n,programTheme:a}=e;if(r){const r=Ga(a,0,n,xa(e.viewModel));return q.createElement(md,{className:"sid-faq sid-link",href:r},t||q.createElement(ir,{id:"getHelp",defaultMessage:"Get help"}))}return null},Am=({verificationService:e,children:t})=>{const{viewModel:r}=e,n=oe((()=>r.countryChoice.value),void 0),a=xa(r),i=q.useRef({}),o=/(<div[^>]+>|<div>|<\/div>)|(<span[^>]+>|<span>|<\/span>)|(<p[^>]+>|<p>|<\/p>)/gm;return q.useEffect((()=>{if(!i.current)return;const e=i.current.innerHTML.replace(o,"");gf({metadata:{submissionOptIn:e}})}),[i,a]),q.createElement("div",{className:"sid-footer sid-h-small-text sid-l-space-top-md"},!t&&q.createElement("div",{className:"sid-footer__shield"},q.createElement("img",{title:"Powered by SheerID",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/shield-check.svg"})),q.createElement("div",null,q.createElement("div",{className:"sid-footer__one",ref:i},t||q.createElement("div",{className:"sid-footer__text",tabIndex:0},q.createElement(ir,{id:"footerText",defaultMessage:"By submitting the personal information above, I acknowledge that my personal information is being collected under the <privacyPolicy>privacy policy</privacyPolicy> of the business from which I am seeking a discount, and I understand that my personal information will be shared with SheerID as a processor/third-party service provider in order for SheerID to confirm my eligibility for a special offer. <aboutSheerID>More about SheerID</aboutSheerID>."},Dm({privacyPolicy:t=>{const r=Va(e.programTheme);return r?q.createElement(md,{className:"sid-privacy-policy sid-link",href:r},t):t},aboutSheerID:t=>q.createElement(Tm,{verificationService:e,linkText:t})})),"string"==typeof n&&n.length>0&&"US"!==n?q.createElement(ir,{id:"informationTransferredToUS",defaultMessage:"Your information will be transferred to the United States and will be treated according to SheerID’s privacy policy."}):null))))};const xm=(e,t)=>{const r=e===ve.docUpload?"docUpload":"default",n={student:{default:dc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:dc.step.docUpload.howDoesVerifyingWorkDetails},teacher:{default:fc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:fc.step.docUpload.howDoesVerifyingWorkDetails},member:{default:mc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:mc.step.docUpload.howDoesVerifyingWorkDetails},military:{default:lc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:lc.step.docUpload.howDoesVerifyingWorkDetails},senior:{default:uc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:uc.step.docUpload.howDoesVerifyingWorkDetails},firstResponder:{default:sc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:sc.step.docUpload.howDoesVerifyingWorkDetails},medical:{default:pc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:pc.step.docUpload.howDoesVerifyingWorkDetails},age:{default:cc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:cc.step.docUpload.howDoesVerifyingWorkDetails},employment:{default:hc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:hc.step.personalInfo.howDoesVerifyingWorkDetails},identity:{default:vc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:vc.step.docUpload.howDoesVerifyingWorkDetails},licensedProfessional:{default:yc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:yc.step.docUpload.howDoesVerifyingWorkDetails},recentMover:{default:bc.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:bc.step.docUpload.howDoesVerifyingWorkDetails},lowIncome:{default:Ec.step.personalInfo.howDoesVerifyingWorkDetails,docUpload:Ec.step.docUpload.howDoesVerifyingWorkDetails}};$r(t);return oe((()=>n[t][r]),"-")},_m=({verificationService:e,initialVisibility:t=!1})=>{const[r,n]=(0,q.useState)(t),{segment:a}=e.verificationResponse,i=e.verificationResponse.currentStep,o=`${xm(i,a)}`;let s;const l=()=>{n(!0),clearTimeout(s)},u=()=>{s=ur()((()=>n(!1)))};return q.createElement("div",{className:"sid-how-verify-works",onMouseEnter:l,onMouseLeave:u},q.createElement("a",{href:"#",className:"sid-link","aria-expanded":r,onClick:()=>r?u():l(),"aria-describedby":r?"how-does-verifying-work-tooltip":null,role:"button"},q.createElement(ir,{id:"howDoesVerifyingWork",defaultMessage:"How does verifying work?"})),r?q.createElement("div",{className:"sid-how-verify-works__container"},q.createElement("div",{className:"sid-how-verify-works__caret"}),q.createElement("div",{className:"sid-how-verify-works__tooltip","aria-live":"polite",role:"tooltip",id:"how-does-verifying-work"},q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:`step.${i===ve.docUpload?"docUpload":"personalInfo"}.howDoesVerifyingWorkDetails`,defaultMessage:o,values:{companyName:e}})))," ",q.createElement(Tm,{verificationService:e}))):null)},Om=Rt((({verificationService:e,viewModelDraftDecorator:t,intl:r,viewModel:n,nextFocusField:a})=>{n&&he.warn("viewModel prop is deprecated, use verificationService.viewModel instead"),a&&he.warn("nextFocusField prop is deprecated");const i=ul(e.programTheme,r),o=oe((()=>xr("country").toUpperCase())),s=fl(i),{fieldValidationErrors:l}=e,u=i.length>1,[c,d]=q.useState(!0),f=r=>{const n=Hs(e.viewModel,(e=>{e.countryChoice=r||void 0,e.country=r?r.value:void 0,t&&t(e,r)}));e.updateViewModel(n)};return q.useEffect((()=>{if(c){d(!1);const t=e.viewModel.countryChoice?e.viewModel.countryChoice:s;f(t)}}),[c]),q.useEffect((()=>{const t=re()(i).call(i,(e=>"US"===e.value));if(!u&&!t){const t=e.viewModel.fieldsToSkipValidation?[...e.viewModel.fieldsToSkipValidation,"country"]:["country","address1","postalCode","state","city"];e.updateViewModel(ml(e.viewModel,"fieldsToSkipValidation",t))}}),[u]),q.useEffect((()=>{const t=Hs(e.fieldValidationErrors,(t=>{t.country&&(t.country=Vo("country",e.viewModel.countryChoice,e.formValidationOptions)),"postalCode"in e.viewModel&&e.viewModel.postalCode&&(t.postalCode=Vo("postalCode",e.viewModel.postalCode,e.formValidationOptions))}));el(t,e),(e=>{if(void 0!==e.viewModel.organization)Qs(ei.organization,e)})(e)}),[e.viewModel.countryChoice]),q.useEffect((()=>{const e=Al()(i).call(i,(e=>e.value===o));e&&f(e)}),[o]),u?q.createElement(Ju,{isRequired:!0,options:i,value:e.viewModel.countryChoice,isErrored:Boolean(l.country),onChange:function(){var t=hr((function*(t){const r=t?t.value:void 0;f(t),tl("country",r,e)}));return function(e){return t.apply(this,arguments)}}()}):null})),km=({verificationService:e})=>{const t=oe((()=>e.programTheme.remainingRewardCodes),null);return"number"==typeof t&&t>0?q.createElement("div",{className:"sid-rewards-remaining"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(ir,{id:"lowRewardPool",defaultMessage:e.messages.lowRewardPool,values:{offersRemaining:t}}),q.createElement("div",{className:"sid-l-space-top-sm"})):null},Pm=({fieldId:e,value:t,onChange:r,label:n,errorMessage:a})=>{const i=`sid-${pl(`${e}Label`)}`,o=()=>r(!t);return q.createElement("div",{className:`sid-field sid-${pl(e)}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-checkbox-flex"},q.createElement(am,{id:pl(e),isErrored:!!a,value:t,onChange:o,ariaLabelledby:i}),q.createElement("div",{className:"sid-checkbox__label",onClick:o,onKeyPress:o,role:"button",tabIndex:0,id:i},n)),a&&q.createElement("div",{className:"sid-field-error"},a))},Rm=Rt((({config:e,verificationService:t,intl:r})=>{const n=oe((()=>t.viewModel.metadata[e.fieldId])),a=oe((()=>t.fieldValidationErrors[e.fieldId])),i=r=>{t.updateViewModel(Hs(t.viewModel,(t=>{t.metadata=t.metadata||{},t.metadata[e.fieldId]=r}))),t.updateFieldValidationErrors(Hs(t.fieldValidationErrors,(t=>{void 0===e.validate(r)&&delete t[e.fieldId]})))};switch(e.fieldType){case"text":return q.createElement(El,{fieldId:e.fieldId,value:`${n||""}`,onChange:i,placeholder:r.formatHTMLMessage({id:`${e.fieldId}Placeholder`,defaultMessage:e.fieldId}),label:q.createElement(ir,{id:`${e.fieldId}Label`,defaultMessage:e.fieldId}),errorMessage:a&&q.createElement(ir,{id:`errorId.${a}`,defaultMessage:`Invalid ${e.fieldId}`}),showPlaceholderAndHideLabel:e.showPlaceholderAndHideLabel,required:e.required});case"checkbox":return q.createElement(Pm,{fieldId:e.fieldId,value:"boolean"==typeof n&&n,onChange:i,label:q.createElement(ir,{id:`${e.fieldId}Label`,defaultMessage:e.fieldId}),errorMessage:a&&q.createElement(ir,{id:`errorId.${a}`,defaultMessage:`Invalid ${e.fieldId}`})});default:return he.warn(`Unknown field type: ${e.fieldType}`),null}})),Fm=({verificationService:e,suffix:t})=>e.messages[`extraMessage${t}`]?q.createElement("div",{className:`sid-extra-message sid-extra-message-${t}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(ir,{id:`extraMessage${t}`,defaultMessage:" "})):null;function Lm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Um(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Lm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Lm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Bm=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Md(a),o=(t,n)=>{const a=zs(r,(e=>{e[t]=n}));e.updateViewModel(a)},s=r.localeChoice.value;return q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your official school records."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Student-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a student at a degree-granting school."})," ",q.createElement(_m,{verificationService:e}),q.createElement(km,{verificationService:e}))),q.createElement(nc,{verificationService:e}),q.createElement(Om,{verificationService:e}),q.createElement(bm,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,isRequired:!0,onChange:t=>{Qs(t,e),tl("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{o("firstName",t),tl("firstName",t,e)}}),q.createElement(Sl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{o("lastName",t),tl("lastName",t,e)}})),q.createElement(Sm,{value:r.birthDate,isErrored:!!n.birthDate,errorId:n.birthDate,locale:s,isRequired:!0,onChange:t=>{o("birthDate",t),tl("birthDate",t,e)}}),q.createElement(Ml,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal or school email is fine"}),onChange:t=>{o("email",t),tl("email",t,e)},onKeyDown:e=>ol(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{o("phoneNumber",t),tl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Rm,{config:t,verificationService:e}))),q.createElement(om,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{o("metadata",Um(Um({},e.viewModel.metadata),{},{marketConsentValue:t})),tl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Fm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>sl(r,e,ve.collectStudentPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyStudentStatus",defaultMessage:"Verify My Student Status"}))))),q.createElement(Am,{verificationService:e}))},Vm=({onChange:e,value:t,isValid:r,intl:n,placeholder:a="",ariaLabelledBy:i})=>q.createElement(gl,{id:"postal-code",isErrored:!r,onChange:t=>e(t.target.value),pattern:"[a-zA-Z0-9 ]*",placeholder:a||n.formatHTMLMessage({id:"postalCodePlaceholder",defaultMessage:"Postal Code"}),refId:"postalCode",value:t,required:!0,"aria-labelledby":i});Vm.defaultProps={isValid:!0};const jm=Rt(Vm),zm=({value:e,isErrored:t,onChange:r,explanation:n})=>q.createElement("div",{className:"sid-field sid-postal-code"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"postalCode",defaultMessage:"Postal Code"}),htmlForLabel:"sid-postal-code",id:"sid-postal-code-label",displayClasses:"sid-field__label-with-explanation"},n&&n),q.createElement(jm,{value:e,isValid:!t,onChange:r,ariaLabelledBy:"sid-postal-code-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidPostalCode",defaultMessage:"Invalid postal code"})):null);function Hm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function $m(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Hm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Hm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const qm=Rt((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Md(a),o=r.localeChoice.value,s=(t,n)=>{const a=zs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-senior-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your government-issued documents."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock Your Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your current age."})," ",q.createElement(_m,{verificationService:e}),q.createElement(km,{verificationService:e}))),q.createElement(nc,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),tl("firstName",t,e)}}),q.createElement(Sl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),tl("lastName",t,e)}})),q.createElement(Sm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:t=>{s("birthDate",t),tl("birthDate",t,e)},value:r.birthDate}),q.createElement(zm,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),tl("postalCode",t,e)},value:r.postalCode}),q.createElement(Ml,{value:r.email,isErrored:!!n.email,onChange:t=>{s("email",t),tl("email",t,e)},onKeyDown:e=>ol(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),tl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Rm,{config:t,verificationService:e}))),q.createElement(om,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",$m($m({},e.viewModel.metadata),{},{marketConsentValue:t})),tl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Fm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(r,e,ve.collectSeniorPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(Am,{verificationService:e}))})),Wm=Rt((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:i,placeholder:o=""})=>q.createElement(El,{fieldId:"city",value:e,onChange:r,placeholder:o||n.formatHTMLMessage({id:"cityPlaceholder",defaultMessage:"City"}),label:q.createElement(ir,{id:"city",defaultMessage:"City"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidCity",defaultMessage:"Invalid city"}),showPlaceholderAndHideLabel:!!o,required:a,onKeyDown:"function"==typeof i?e=>i(e):void 0}))),Gm=Rt((({value:e,isErrored:t,onChange:r,intl:n,isRequired:a=!1,onKeyDown:i,placeholder:o="",label:s})=>q.createElement(El,{fieldId:"address",value:e,onChange:r,placeholder:o||n.formatHTMLMessage({id:"addressPlaceholder",defaultMessage:"Address"}),label:s||q.createElement(ir,{id:"address",defaultMessage:"Address"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidAddress",defaultMessage:"Invalid address"}),showPlaceholderAndHideLabel:!!o,required:a,onKeyDown:"function"==typeof i?e=>i(e):void 0})));function Ym(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Km(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Ym(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Ym(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Zm=Rt((({verificationService:e,intl:t})=>{var r,n;const a=e.viewModel,{fieldValidationErrors:i}=e,o=e.verificationResponse,s=Md(o),l=ul(e.programTheme,t),u=fl(l),{isSmsNotifierConfigured:c,smsLoopEnabled:f}=e.programTheme,m=oe((()=>a.countryChoice.value),u.value),p="US"===m?[{key:"postalCode"}]:[],h=a.localeChoice.value,[g,v]=q.useState(p);!i.phoneNumber&&o.errorIds&&zi()(r=o.errorIds).call(r,"invalidPhoneNumber")&&e.updateFieldValidationErrors(Km(Km({},i),{},{phoneNumber:"invalidPhoneNumber"}));const y=(e,t)=>"US"!==e||t,b=(t,r)=>{const n=ml(a,t,r);e.updateViewModel(n)},E=(t,r)=>{const n=((e,t,r)=>zs(e,(n=>{d()(r).call(r,(r=>{re()(t).call(t,(e=>e.key===r))?n[r]=void 0!==e[r]?e[r]:"":delete n[r]}))})))(a,t,r);e.updateViewModel(n)},w=e=>re()(g).call(g,(t=>t.key===e));var S,M,C;S="phoneNumber",C=m,M=(e,t)=>{const r=t&&t.smsLoopEnabled||"US"!==C;return mo(r)(e)},he.log(`overrideValidator registering ${M} for '${S}'`),Qi[S]=M,y(m,f)?Vr("carrierConsentValue")||Ur("carrierConsentValue",(e=>(t,r)=>{if((r&&r.smsLoopEnabled||"US"!==e)&&!t)return"invalidCarrierConsentValue"})(m)):Vr("carrierConsentValue")&&(e=>{delete Fr[e];const t=kr()(Lr).call(Lr,e);-1!==t?Rr()(Lr).call(Lr,t,1):he.error(`Custom validator for field '${e}' has not been removed.`,"removeCustomValidator")})("carrierConsentValue");return q.useEffect((()=>{hr((function*(){try{const e=yield ud(o.verificationId,o.currentStep,a),t=oe((()=>e.fieldsToCollect.required),[]);E(t,["postalCode","city","address1"]),v(t)}catch(e){he.error(`Failed to determine fields to collect: ${e}`)}}))()}),[a.country]),q.createElement("div",{id:"sid-step-student-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and birthdate must match what is on your government-issued documents."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock Your Special Offer"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your current age."})," ",q.createElement(_m,{verificationService:e}),q.createElement(km,{verificationService:e}))),q.createElement(nc,{verificationService:e}),q.createElement(Om,{verificationService:e,viewModelDraftDecorator:(e,t)=>{const r=e,n=t?t.value:void 0;y(n,f)||(r.phoneNumber="")}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:a.firstName,isErrored:!!i.firstName,onChange:t=>{b("firstName",t),tl("firstName",t,e)}}),q.createElement(Sl,{value:a.lastName,isErrored:!!i.lastName,onChange:t=>{b("lastName",t),tl("lastName",t,e)}})),q.createElement(Sm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:h,onChange:t=>{b("birthDate",t),tl("birthDate",t,e)},value:a.birthDate}),w("city")&&q.createElement(Wm,{value:a.city,isRequired:!0,isErrored:!!i.city,errorId:i.city,onChange:t=>{b("city",t),tl("city",t,e)}}),w("address1")&&q.createElement(Gm,{value:a.address1,isRequired:!0,isErrored:!!i.address1,errorId:i.address1,onChange:t=>{b("address1",t),tl("address1",t,e)}}),w("postalCode")&&q.createElement(zm,{isErrored:!!i.postalCode,onChange:t=>{b("postalCode",t),tl("postalCode",t,e)},value:a.postalCode}),q.createElement(Ml,{value:a.email,isErrored:!!i.email,onChange:t=>{b("email",t),tl("email",t,e)},onKeyDown:e=>ol(e)}),(y(m,f)||c)&&q.createElement(cm,{value:a.phoneNumber,isRequired:e.programTheme.smsLoopEnabled||"US"!==m,isErrored:!!i.phoneNumber,displaySmsConsent:c,onChange:t=>{b("phoneNumber",t),tl("phoneNumber",t,e)},errorId:i.phoneNumber,requireCarrierConsent:e.programTheme.smsLoopEnabled||"US"!==m,onCarrierConsentChange:t=>{b("metadata",Km(Km({},e.viewModel.metadata),{},{carrierConsentValue:t})),tl("carrierConsentValue",t,e)},carrierConsent:Boolean(a.metadata&&a.metadata.carrierConsentValue),selectedCountryCode:a.countryChoice&&a.countryChoice.value}),Mr()(n=Sn().customFormFields).call(n,(t=>q.createElement(Rm,{config:t,verificationService:e}))),q.createElement(om,{verificationService:e,isErrored:!!i.marketConsentValue,onChange:t=>{b("metadata",Km(Km({},e.viewModel.metadata),{},{marketConsentValue:t})),tl("marketConsentValue",t,e)},viewModel:a}),q.createElement(Fm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(a,e,ve.collectAgePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(a,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyAndContinue",defaultMessage:"Verify and continue"}))))),q.createElement(Am,{verificationService:e}))})),Jm=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{var o;const{programId:s,viewModel:l,verificationResponse:u}=n,c="sid-teacher-school",d=xa(l,u),f=z()(o=Sn().urlAddSchoolForm||"").call(o),m=oe((()=>n.viewModel.countryChoice.value)),p=Ya(n.programTheme,m);return q.createElement("div",{className:"sid-field sid-teacher-school-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"schoolName",defaultMessage:"School name"}),htmlForLabel:c,id:`${c}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(ym,{className:t?"sid-text-input--error":"",countryCode:m,onChange:e=>r(e),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"schoolNamePlaceholder",defaultMessage:"School name"}),programId:s,value:e,inputHtmlId:c,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,orgSearchTags:p,locale:d,urlAddSchoolForm:f,isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Xm(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Qm(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Xm(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Xm(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ep=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Md(a),o=r.localeChoice.value,s=(t,n)=>{const a=zs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{e.programTheme.idCheckAddOnEnabled?s("fieldsToSkipValidation",[]):(s("birthDate",""),s("fieldsToSkipValidation",["birthDate"]))}),[e.programTheme.idCheckAddOnEnabled]),q.createElement("div",{id:"sid-step-teacher-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Email"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and email address must match what is on record with your school."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Teaching Staff-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a teacher, faculty or staff at a K-12 or degree-granting university."})," ",q.createElement(_m,{verificationService:e}),q.createElement(km,{verificationService:e}))),q.createElement(nc,{verificationService:e}),q.createElement(Om,{verificationService:e}),q.createElement(Jm,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{Qs(t,e),tl("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),tl("firstName",t,e)}}),q.createElement(Sl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),tl("lastName",t,e)}})),e.programTheme.idCheckAddOnEnabled?q.createElement(Sm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:t=>{s("birthDate",t),tl("birthDate",t,e)},value:r.birthDate}):null,q.createElement(Ml,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Must be your school-issued email address"}),onChange:t=>{s("email",t),tl("email",t,e)},onKeyDown:e=>ol(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),tl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,((e,t)=>oe((()=>e.openOrgSearchEnabled))&&0===oe((()=>t.organization.id))&&oe((()=>t.organization.name),"").length>0)(e.programTheme,r)?q.createElement(zm,{isErrored:!!n.postalCode,onChange:t=>{s("postalCode",t),tl("postalCode",t,e)},value:r.postalCode}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Rm,{config:t,verificationService:e}))),q.createElement(om,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",Qm(Qm({},e.viewModel.metadata),{},{marketConsentValue:t})),tl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Fm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(r,e,ve.collectTeacherPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyTeacherStatus",defaultMessage:"Verify My Teacher Status"}))))),q.createElement(Am,{verificationService:e}))},tp=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:i="",isRequired:o=!1,label:s})=>q.createElement("div",{className:"sid-field sid-member-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:s||q.createElement(ir,{id:"memberId",defaultMessage:"ID Number"}),htmlForLabel:"sid-member-id",id:"sid-member-id-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(ir,{id:"optional",defaultMessage:"Optional"}))),q.createElement(gl,{id:"member-id",isErrored:t,onChange:e=>r(e.target.value),placeholder:i||a.formatHTMLMessage({id:"memberIdPlaceholder",defaultMessage:"ID Number"}),refId:"memberId",value:e,"aria-labelledby":"sid-member-id-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidMemberId",defaultMessage:"Invalid ID Number"})):null))),rp=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-membership-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-membership",id:"sid-membership-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(ym,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:o,value:e,inputHtmlId:"sid-membership",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function np(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function ap(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=np(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=np(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const ip=({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Md(a),o=r.localeChoice.value,s=(t,n)=>{const a=zs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return q.createElement("div",{id:"sid-step-member-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Email"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and email address must match what is on record with your school."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Members-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a current member of an eligible organization."})," ",q.createElement(_m,{verificationService:e}),q.createElement(km,{verificationService:e}))),q.createElement(nc,{verificationService:e}),q.createElement(Om,{verificationService:e}),q.createElement(rp,{value:e.viewModel.organization,verificationService:e,isErrored:!!n.organization,onChange:t=>{Qs(t,e),tl("organization",t,e)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{s("firstName",t),tl("firstName",t,e)}}),q.createElement(Sl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{s("lastName",t),tl("lastName",t,e)}})),q.createElement(Ml,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{s("email",t),tl("email",t,e)},onKeyDown:e=>ol(e)}),q.createElement(Sm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,isRequired:!1,onChange:t=>{s("birthDate",t),tl("birthDate",t,e)},value:r.birthDate}),q.createElement(tp,{value:r.memberId,isErrored:!!n.memberId,isRequired:!1,onChange:t=>{s("memberId",t),tl("memberId",t,e)}}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{s("phoneNumber",t),tl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Rm,{config:t,verificationService:e}))),q.createElement(om,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{s("metadata",ap(ap({},e.viewModel.metadata),{},{marketConsentValue:t})),tl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Fm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(r,e,ve.collectMemberPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMembershipStatus",defaultMessage:"Verify My Membership Status"}))))),q.createElement(Am,{verificationService:e}))},op=Rt((({value:e,isErrored:t,errorId:r="invalidStatus",options:n,onChange:a,intl:i,placeholder:o="",onKeyDown:s,segmentId:l})=>{const u=`sid-${l}-status`,c=1===n.length;return q.useEffect((()=>{c&&a(n[0])}),[]),c?null:q.createElement("div",{className:`sid-field ${u}`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"status",defaultMessage:"Status"}),htmlForLabel:u,id:`${u}-label`,displayClasses:o&&"sid-h-screen-reader-only"}),q.createElement(Zu,{fieldId:"status",inputId:u,fieldLabelId:`${u}-label`,isErrored:t,options:n,onChange:e=>a(e),onKeyDown:s,value:Al()(n).call(n,(t=>t.value===(e&&e.value))),placeholder:o||i.formatHTMLMessage({id:"statusPlaceholder",defaultMessage:"Status"}),isRequired:!0}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:`errorId.${r}`,defaultMessage:`Invalid ${l} status`})):null)})),sp=(e,t)=>{let r;try{r=e.label.toUpperCase()>t.label.toUpperCase()?1:-1}catch(e){r=1}return r},lp=e=>({value:e.id,label:e.name,country:e.country}),up=(e,t,r,n)=>{const a=r.viewModel;return Hs(a,(r=>{r[e]=t,n||(r.fieldsToSkipValidation=["status"]),"status"===e&&(r.organization={id:0,name:""})}))},cp=Rt((({autoFocus:e,onChange:t,value:r,isErrored:n,organizations:a,verificationService:o,intl:s,placeholder:l=""})=>{let u=[];const{status:c}=o.viewModel,d=o.viewModel,f="sid-branch-of-service",{countryChoice:m}=d;if(a){let e;e=i()(a).call(a,(e=>t=>"VETERAN"===e?!!t.name:"RESERVIST"===e?zi()(Te).call(Te,t.name):!zi()(Te).call(Te,t.name))(c)),m&&(e=i()(a).call(a,(e=>e.country===m.value))),u=Mr()(e).call(e,lp)}return q.createElement("div",{className:`sid-field ${f}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"branchOfService",defaultMessage:"Branch Of Service"}),htmlForLabel:f,id:`${f}-label`,displayClasses:l&&"sid-h-screen-reader-only"}),q.createElement(Zu,{autoFocus:e,fieldId:"organization",inputId:f,fieldLabelId:`${f}-label`,isErrored:n,options:(p=u,ha()(p).call(p,sp)),onChange:e=>((e,t)=>{t(e?{id:e.value,name:e.label}:{id:0,name:""})})(e,t),value:Al()(u).call(u,(e=>e.value===(r&&r.value))),placeholder:l||s.formatHTMLMessage({id:"branchOfServicePlaceholder",defaultMessage:"Branch Of Service"}),isRequired:!0}),n?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null);var p})),dp=({onChange:e,isErrored:t,errorId:r="invalidActiveDutyStartDate",value:n="2000-01-01",locale:a=en})=>q.createElement(wm,{value:n,label:q.createElement(ir,{id:"activeDutyStartDate",defaultMessage:"Active Duty Start Date"}),onChange:e,fieldName:"activeDutyStartDate",fieldId:"sid-active-duty-start-date",locale:a,isErrored:t,errorMsg:q.createElement(ir,{id:`errorId.${r}`,defaultMessage:"Invalid start date"})});function fp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function mp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=fp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=fp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const pp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:i}=t,o=t.verificationResponse,s=Md(o),{status:l}=t.viewModel,u=al(t,e),c=n.localeChoice.value,d=(e,r)=>{t.updateViewModel(up(e,r,t,u))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=zs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),Js(),q.createElement("div",{id:"sid-step-active-military-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Military-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a member of the armed forces."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement(Om,{verificationService:t}),u?q.createElement(op,{segmentId:"military",value:{value:n.status,label:nl(e,n.status,De)},isErrored:!!i.status,errorId:"invalidMilitaryStatus",options:u,onChange:e=>{d("status",e?e.value:""),tl("status",e?e.value:"",t)}}):null,"MILITARY_FAMILY"===l?q.createElement("div",{className:"sid-field-notice","data-testid":"family-note"},q.createElement(ir,{id:"militaryFamilyCardNote",defaultMessage:"Note: this offer is only available to military family members with a Dependent ID card."})):null,q.createElement(cp,{isErrored:!!i.organization,onChange:e=>{Qs(e,t),tl("organization",e,t)},value:{value:t.viewModel.organization.id,label:t.viewModel.organization.name},verificationService:t,organizations:t.orgList}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!i.firstName,onChange:e=>{d("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:n.lastName,isErrored:!!i.lastName,onChange:e=>{d("lastName",e),tl("lastName",e,t)}})),q.createElement(Sm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:c,onChange:e=>{d("birthDate",e),tl("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(dp,{isErrored:!!i.activeDutyStartDate,errorId:i.activeDutyStartDate,locale:c,onChange:e=>{d("activeDutyStartDate",e),tl("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(Ml,{value:n.email,isErrored:!!i.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{d("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!i.phoneNumber,onChange:e=>{d("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Rm,{config:e,verificationService:t}))),q.createElement(om,{verificationService:t,isErrored:!!i.marketConsentValue,onChange:e=>{d("metadata",mp(mp({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Fm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(n,t,ve.collectActiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMilitaryStatus",defaultMessage:"Verify My Military Status"}))))),q.createElement(Am,{verificationService:t}))})),hp=({onChange:e,isErrored:t,value:r="2000-01-01"})=>q.createElement(wm,{mode:"month",value:r,label:q.createElement(ir,{id:"dischargeDate",defaultMessage:"Discharge date"}),onChange:e,fieldName:"dischargeDate",fieldId:"discharge-date",isErrored:t,isRequired:!0,errorMsg:q.createElement(ir,{id:"errorId.invalidDischargeDate",defaultMessage:"Invalid discharge date"})});function gp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function vp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=gp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=gp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const yp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.previousViewModel,{fieldValidationErrors:i}=t,o=t.verificationResponse,s=Md(o),l=al(t,e),u=n.localeChoice.value,c=(e,r)=>{t.updateViewModel(up(e,r,t,l))};return(n.status&&a&&a.status!==n.status||n.status&&t.verificationResponse.currentStep===ve.collectMilitaryStatus)&&(()=>{const e=zs(n,(()=>{}));he.info("StepMilitaryStatusComponent submitting form"),t.submitStep(ve.collectMilitaryStatus,e,t.previousVerificationResponse||t.verificationResponse)})(),Js(),q.createElement("div",{id:"sid-step-inactive-military-personal-info",className:"sid-l-container"},s?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Birthdate"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your military document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Military-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a member of the armed forces."})," ",q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement(Om,{verificationService:t}),l?q.createElement(op,{segmentId:"military",value:{value:n.status,label:nl(e,n.status,De)},isErrored:!!i.status,errorId:"invalidMilitaryStatus",options:l,onChange:e=>{c("status",e?e.value:""),tl("status",e?e.value:"",t)}}):null,q.createElement(cp,{isErrored:!!i.organization,onChange:e=>{Qs(e,t),tl("organization",e,t)},value:{value:t.viewModel.organization.id,label:t.viewModel.organization.name},verificationService:t,organizations:t.orgList}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!i.firstName,onChange:e=>{c("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:n.lastName,isErrored:!!i.lastName,onChange:e=>{c("lastName",e),tl("lastName",e,t)}})),q.createElement(Sm,{isErrored:!!i.birthDate,errorId:i.birthDate,locale:u,onChange:e=>{c("birthDate",e),tl("birthDate",e,t)},value:n.birthDate}),t.programTheme.strictMilitaryValidationEnabled&&q.createElement(dp,{isErrored:!!i.activeDutyStartDate,locale:u,onChange:e=>{c("activeDutyStartDate",e),tl("activeDutyStartDate",e,t)},value:n.activeDutyStartDate}),q.createElement(hp,{isErrored:!!i.dischargeDate,onChange:e=>{c("dischargeDate",e),tl("dischargeDate",e,t)},value:n.dischargeDate}),q.createElement(Ml,{value:n.email,isErrored:!!i.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{c("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!i.phoneNumber,onChange:e=>{c("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Rm,{config:e,verificationService:t}))),q.createElement(om,{verificationService:t,isErrored:!!i.marketConsentValue,onChange:e=>{c("metadata",vp(vp({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Fm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(n,t,ve.collectInactiveMilitaryPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},s?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMilitaryStatus",defaultMessage:"Verify My Military Status"}))))),q.createElement(Am,{verificationService:t}))})),bp=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n,s="sid-first-responder-organization";return q.createElement("div",{className:`sid-field ${s}-id`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(ym,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:o,value:t,isRequired:!0,inputHtmlId:s,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Ep(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function wp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Ep(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Ep(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Sp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Md(i),s=n.localeChoice.value,l=(e,r)=>{const a=zs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=oe((()=>t.programTheme.openOrgSearchEnabled))&&0===oe((()=>n.organization.id))&&oe((()=>n.organization.name),"").length>0;return u?n.postalCode=n.postalCode?n.postalCode:"":(n.postalCode||""===n.postalCode)&&(delete n.postalCode,tl("postalCode",void 0,t)),q.createElement("div",{id:"sid-step-active-first-responder-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name, Email & Organization"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name, organization name, and email must match what is on record with your agency."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this 1st Responder-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're an active first responder."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement(Om,{verificationService:t}),q.createElement(op,{segmentId:"first-responder",value:{value:n.status,label:nl(e,n.status,Ae)},isErrored:!!a.status,errorId:"invalidFirstResponderStatus",options:(()=>{const r=t.verificationResponse.availableStatuses,n=[];return d()(r).call(r,(t=>{n.push({value:t,label:nl(e,t,Ae)})})),n})(),onChange:e=>{l("status",e?e.value:""),tl("status",e?e.value:"",t)}}),q.createElement(bp,{isErrored:!!a.organization,onChange:e=>{Qs(e,t),tl("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),tl("lastName",e,t)}})),q.createElement(Sm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),tl("birthDate",e,t)},value:n.birthDate}),q.createElement(Ml,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{l("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u?q.createElement(zm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),tl("postalCode",e,t)},value:n.postalCode}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Rm,{config:e,verificationService:t}))),q.createElement(om,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",wp(wp({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Fm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(n,t,ve.collectFirstResponderPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyFirstResponderStatus",defaultMessage:"Verify My First Responder Status"}))))),q.createElement(Am,{verificationService:t}))})),Mp=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n,s="sid-medical-professional-organization";return q.createElement("div",{className:"sid-field sid-medical-professional-organization-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:s,id:`${s}-label`,displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(ym,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"organizationPlaceholder",defaultMessage:"Organization"}),programId:o,value:t,inputHtmlId:s,openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl,isRequired:!0}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function Cp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Ip(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Cp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Cp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Np={AT:"gbrNummer",ES:"numeroColegiado",DK:"autorisationsId",CH:"globalLocationNumber",IE:"registrationNumber",GB:"registrationNumber"},Dp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Md(i),[s,l]=q.useState(void 0),[u,c]=q.useState(!1),f=n.localeChoice.value,m=(e,r)=>{const a=ml(n,e,r);t.updateViewModel(a)};return q.useEffect((()=>{hr((function*(){if(n.country&&n.status)try{const e=yield ud(i.verificationId,i.currentStep,n),t=oe((()=>e.fieldsToCollect.optional),[]);c(re()(t).call(t,(e=>"memberId"===e.key)))}catch(e){he.error(`Failed to determine fields to collect: ${e}`)}const e=Np[n.country]?Np[n.country]:"registrationNumber";e&&l({labelKey:`step.collectMedicalPersonalInfo.${e}Label`,explanationKey:`step.collectMedicalPersonalInfo.${e}Explanation`})}))()}),[n.country,n.status]),q.createElement("div",{id:"sid-step-active-medical-professional-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name, Email & Organization"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name, organization name, and email must match what is on record with your agency."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Medical Professional-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a licensed medical professional."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement(Om,{verificationService:t}),q.createElement(op,{segmentId:"medical",value:{value:n.status,label:nl(e,n.status,xe)},isErrored:!!a.status,options:(()=>{const t=i.availableStatuses,r=[];return d()(t).call(t,(t=>{r.push({value:t,label:nl(e,t,xe)})})),r})(),onChange:e=>{m("status",e?e.value:""),tl("status",e?e.value:"",t)}}),q.createElement(Mp,{isErrored:!!a.organization,onChange:e=>{Qs(e,t),tl("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{m("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{m("lastName",e),tl("lastName",e,t)}})),q.createElement(Sm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:f,onChange:e=>{m("birthDate",e),tl("birthDate",e,t)},value:n.birthDate}),q.createElement(zm,{isErrored:!!a.postalCode,onChange:e=>{m("postalCode",e),tl("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(ir,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Ml,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{m("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{m("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,u&&q.createElement(tp,{value:n.memberId,isErrored:!!a.memberId,isRequired:!1,onChange:e=>{m("memberId",e),tl("memberId",e,t)},explanation:s&&q.createElement(ir,{id:s.explanationKey,defaultMessage:"Your Professional Membership Registration Number"}),label:s&&q.createElement(ir,{id:s.labelKey,defaultMessage:"Registration Number"})}),Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Rm,{config:e,verificationService:t}))),q.createElement(om,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{m("metadata",Ip(Ip({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Fm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(n,t,ve.collectMedicalProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMedicalProfessionalStatus",defaultMessage:"Verify My Medical Professional Status"}))))),q.createElement(Am,{verificationService:t}))})),Tp=Rt((({value:e,isErrored:t,options:r,onChange:n,intl:a,placeholder:i="",label:o="",isRequired:s=!1})=>{const l="sid-state";return q.createElement("div",{className:`sid-field ${l}__select`},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:o||q.createElement(ir,{id:"state",defaultMessage:"State where you live"}),htmlForLabel:l,id:`${l}-label`,displayClasses:i&&"sid-h-screen-reader-only",isRequired:s}),q.createElement(Zu,{fieldId:"state",inputId:l,fieldLabelId:`${l}-label`,isErrored:t,options:r,onChange:e=>n(e),placeholder:a.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:Al()(r).call(r,(t=>t.value===e)),suppressPlaceholder:!1,isRequired:s,buttonRef:"inputSelectButtonState"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidState",defaultMessage:"Invalid state"})):null)})),Ap=Rt((({onChange:e,value:t,isErrored:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-company-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"company",defaultMessage:"Company"}),htmlForLabel:"sid-company",id:"sid-company-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(ym,{className:r?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,onChange:t=>e(t),placeholder:i||a.formatHTMLMessage({id:"companyPlaceholder",defaultMessage:"Company"}),programId:o,value:t,inputHtmlId:"sid-company",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),r?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function xp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function _p(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=xp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=xp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Op=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=(e,r)=>{const a=zs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return q.createElement("div",{id:"sid-step-employment-personal-info",className:"sid-l-container"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Employment-Only Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you're a current employee at an eligible company."})," ",q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement(Om,{verificationService:t,viewModelDraftDecorator:(e,r)=>{const n=e;n.shouldCollectAddress=rl(r,t.programTheme.config.countries),n.shouldCollectAddress?n.fieldsToSkipValidation=void 0:(n.address1="",n.city="",n.state="",n.postalCode="",n.fieldsToSkipValidation=["address1","city","state","postalCode"])}}),q.createElement(Ap,{value:t.viewModel.organization,verificationService:t,isErrored:!!a.organization,onChange:e=>{Qs(e,t),tl("organization",e,t)}}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{i("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{i("lastName",e),tl("lastName",e,t)}})),rl(n.countryChoice,t.programTheme.config.countries)?q.createElement(Gm,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{i("address1",e),tl("address1",e,t)},isRequired:!0,value:n.address1}):null,rl(n.countryChoice,t.programTheme.config.countries)?q.createElement("div",{className:"sid-thirds"},q.createElement(Wm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{i("city",e),tl("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Tp,{isRequired:!0,options:cl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;i("state",r),tl("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(ir,{id:"state",defaultMessage:"State"})}),q.createElement(zm,{isErrored:!!a.postalCode,onChange:e=>{i("postalCode",e),tl("postalCode",e,t)},value:n.postalCode})):null,q.createElement(Ml,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"employment.emailExplanation",defaultMessage:"Use your work email if you have one"}),onChange:e=>{i("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{i("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Rm,{config:e,verificationService:t}))),q.createElement(om,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{i("metadata",_p(_p({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Fm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>sl(n,t,ve.collectEmployeePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},q.createElement(ir,{id:"verifyMyEmploymentStatus",defaultMessage:"Verify My Employment Status"}))))),q.createElement(Am,{verificationService:t}))})),kp=Rt((({value:e,isErrored:t,onChange:r,explanation:n,intl:a,placeholder:i="",isRequired:o=!1})=>q.createElement("div",{className:"sid-field sid-driver-license-number"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"driverLicenseNumber",defaultMessage:"Driver license number"}),htmlForLabel:"sid-driver-license-number",id:"sid-driver-license-number-label",displayClasses:`sid-field__label-with-explanation${i&&" sid-h-screen-reader-only"}`,isRequired:o},n||(o?"":q.createElement(ir,{id:"optional",defaultMessage:"Optional"}))),q.createElement(gl,{id:"driver-license-number",isErrored:t,onChange:e=>r(e.target.value),placeholder:i||a.formatHTMLMessage({id:"driverLicenseNumberPlaceholder",defaultMessage:"Driver license number"}),refId:"driverLicenseNumber",value:e,required:o,"aria-labelledby":"sid-driver-license-number-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidDriverLicenseNumber",defaultMessage:"Invalid driver license number"})):null)));function Pp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Rp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Pp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Pp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Fp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Md(i),s=(e,r)=>{const a=zs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Js(),q.createElement("div",{id:"sid-step-driver-license-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have a valid driver license"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{s("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{s("lastName",e),tl("lastName",e,t)}})),q.createElement(Ml,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{s("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{s("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Tp,{isRequired:!0,options:cl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;s("state",r),tl("state",r,t)}));return function(t){return e.apply(this,arguments)}}(),label:q.createElement(ir,{id:"driverLicenseState",defaultMessage:"Driver license state"})}),q.createElement(kp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{s("driverLicenseNumber",e),tl("driverLicenseNumber",e,t)}}),Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Rm,{config:e,verificationService:t}))),q.createElement(om,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{s("metadata",Rp(Rp({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Fm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(n,t,ve.collectDriverLicensePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Am,{verificationService:t}))}));function Lp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Up(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Lp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Lp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Bp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Md(i),s=n.localeChoice.value,l=(e,r)=>{const a=zs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Js(),q.createElement("div",{id:"sid-step-general-identity-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your identity"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),tl("lastName",e,t)}})),q.createElement(Ml,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Sm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),tl("birthDate",e,t)},value:n.birthDate}),q.createElement(Gm,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),tl("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Wm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),tl("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Tp,{isRequired:!0,options:cl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;l("state",r),tl("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(zm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),tl("postalCode",e,t)},value:n.postalCode,isRequired:!0})),Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Rm,{config:e,verificationService:t}))),q.createElement(om,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",Up(Up({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Fm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(n,t,ve.collectGeneralIdentityPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Am,{verificationService:t}))}));function Vp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function jp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Vp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Vp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const zp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Md(i),s=n.localeChoice.value,l=(e,r)=>{const a=zs(n,(t=>{t[e]=r}));t.updateViewModel(a)};return Js(),q.createElement("div",{id:"sid-step-hybrid-identity-personal-info",className:"sid-l-container"},o?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name and other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:" Enter your first and last name on the form as it appears on your official document(s). Keep in mind that may be your given name."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify your identity"})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),tl("lastName",e,t)}})),q.createElement(Ml,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Personal email address is recommended"}),onChange:e=>{l("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,q.createElement(Sm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),tl("birthDate",e,t)},value:n.birthDate}),q.createElement(Gm,{isErrored:!!a.address1,errorId:a.address1,onChange:e=>{l("address1",e),tl("address1",e,t)},value:n.address1,isRequired:!0}),q.createElement("div",{className:"sid-thirds"},q.createElement(Wm,{isErrored:!!a.city,errorId:a.city,onChange:e=>{l("city",e),tl("city",e,t)},value:n.city,isRequired:!0}),q.createElement(Tp,{isRequired:!0,options:cl(t.programTheme,e),value:n.state||void 0,isErrored:Boolean(a.state),onChange:function(){var e=hr((function*(e){const r=e?e.value:void 0;l("state",r),tl("state",r,t)}));return function(t){return e.apply(this,arguments)}}()}),q.createElement(zm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),tl("postalCode",e,t)},value:n.postalCode})),q.createElement(kp,{value:n.driverLicenseNumber,isErrored:!!a.driverLicenseNumber,isRequired:!0,onChange:e=>{l("driverLicenseNumber",e),tl("driverLicenseNumber",e,t)}}),Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Rm,{config:e,verificationService:t}))),q.createElement(om,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",jp(jp({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Fm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(n,t,ve.collectHybridIdentityPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyIdentityStatus",defaultMessage:"Verify My Identity"}))))),q.createElement(Am,{verificationService:t}))})),Hp=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i=""})=>{const{programId:o}=n;return q.createElement("div",{className:"sid-field sid-licensed-professional-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"organization",defaultMessage:"Organization"}),htmlForLabel:"sid-licensed-professional",id:"sid-licensed-professional-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(ym,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"organizationNamePlaceholder",defaultMessage:"Organization"}),programId:o,value:e,inputHtmlId:"sid-licensed-professional",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)}));function $p(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function qp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=$p(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=$p(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Wp={LICENSED_COSMETOLOGIST:"Licensed Cosmetologist",LICENSED_REAL_ESTATE_AGENT:"Licensed Real Estate Agent",VETERINARIAN:"Veterinarian",CHILD_CARE_WORKER:"Child Care Worker",LIBRARIAN:"Librarian"},Gp=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,{fieldValidationErrors:a}=t,i=t.verificationResponse,o=Md(i),s=n.localeChoice.value,l=(e,r)=>{const a=zs(n,(t=>{t[e]=r}));t.updateViewModel(a)},u=t=>t?e.formatHTMLMessage({id:t,defaultMessage:Wp[t]}):"";return q.createElement("div",{id:"sid-step-licensed-professional-personal-info",className:"sid-l-container"},o?q.createElement("p",null,"Failied instant match"):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have a professional license in your field."})),q.createElement("div",{className:"sid-header__how-verifying-works sid-l-horz-center"},q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement(Om,{verificationService:t}),q.createElement(op,{segmentId:"licensed-professional",value:{value:n.statuses?n.statuses[0]:"",label:n.statuses?u(n.statuses[0]):""},isErrored:!!a.statuses,options:(()=>{const e=i.availableStatuses,t=[];if(e)for(const r of e)t.push({value:r,label:u(r)});return t})(),onChange:e=>{const r=e?[e.value]:[];l("statuses",r),tl("statuses",e?e.value:"",t)}}),q.createElement(Hp,{isErrored:!!a.organization,onChange:e=>{Qs(e,t),tl("organization",e,t)},value:t.viewModel.organization,verificationService:t}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:n.firstName,isErrored:!!a.firstName,onChange:e=>{l("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:n.lastName,isErrored:!!a.lastName,onChange:e=>{l("lastName",e),tl("lastName",e,t)}})),q.createElement(Sm,{isErrored:!!a.birthDate,errorId:a.birthDate,locale:s,onChange:e=>{l("birthDate",e),tl("birthDate",e,t)},value:n.birthDate}),q.createElement(zm,{isErrored:!!a.postalCode,onChange:e=>{l("postalCode",e),tl("postalCode",e,t)},value:n.postalCode,explanation:q.createElement(ir,{id:"postalCodeExplanation",defaultMessage:"Use the location on file with your licensing body"})}),q.createElement(Ml,{value:n.email,isErrored:!!a.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:e=>{l("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:n.phoneNumber,isErrored:!!a.phoneNumber,onChange:e=>{l("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:n.countryChoice&&n.countryChoice.value}):null,Mr()(r=Sn().customFormFields).call(r,(e=>q.createElement(Rm,{config:e,verificationService:t}))),q.createElement(om,{verificationService:t,isErrored:!!a.marketConsentValue,onChange:e=>{l("metadata",qp(qp({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:n}),q.createElement(Fm,{verificationService:t,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(n,t,ve.collectLicensedProfessionalPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},o?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyLicensedProfessionalStatus",defaultMessage:"Verify My Licensed Professional Status"}))))),q.createElement(Am,{verificationService:t}))}));function Yp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Kp(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Yp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Yp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Zp=Rt((({verificationService:e})=>{var t;const r=e.viewModel,{fieldValidationErrors:n}=e,a=e.verificationResponse,i=Md(a),o=(t,n)=>{const a=zs(r,(e=>{e[t]=n}));e.updateViewModel(a)};return(0,q.useEffect)((()=>{o("statuses",a.availableStatuses)}),[]),q.createElement("div",{id:"sid-step-mover-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your Name & Address"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your full name and address must match what is on your official documentation."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you have recently moved."}),q.createElement("br",null),q.createElement(_m,{verificationService:e}),q.createElement(km,{verificationService:e}))),q.createElement(nc,{verificationService:e}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:t=>{o("firstName",t),tl("firstName",t,e)}}),q.createElement(Sl,{value:r.lastName,isErrored:!!n.lastName,onChange:t=>{o("lastName",t),tl("lastName",t,e)}})),q.createElement(Gm,{value:r.address1,isErrored:!!n.address1,errorId:n.address1,onChange:t=>{o("address1",t),tl("address1",t,e)},label:q.createElement(ir,{id:"streetAddress",defaultMessage:"Street Address"}),isRequired:!0}),q.createElement(zm,{value:r.postalCode,isErrored:!!n.postalCode,onChange:t=>{o("postalCode",t),tl("postalCode",t,e)}}),q.createElement(Ml,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:"Needed to send you your unique code"}),onChange:t=>{o("email",t),tl("email",t,e)},onKeyDown:e=>ol(e)}),e.programTheme.isSmsNotifierConfigured||e.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!e.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:t=>{o("phoneNumber",t),tl("phoneNumber",t,e)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,Mr()(t=Sn().customFormFields).call(t,(t=>q.createElement(Rm,{config:t,verificationService:e}))),q.createElement(om,{verificationService:e,isErrored:!!n.marketConsentValue,onChange:t=>{o("metadata",Kp(Kp({},e.viewModel.metadata),{},{marketConsentValue:t})),tl("marketConsentValue",t,e)},viewModel:r}),q.createElement(Fm,{verificationService:e,suffix:"CollectAboveSubmit"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>sl(r,e,ve.collectMoverPersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(r,e.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit","aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyMoverStatus",defaultMessage:"Verify My Recent Mover Status"}))))),q.createElement(Am,{verificationService:e}))})),Jp=Rt((({value:e,isErrored:t,onChange:r,verificationService:n,intl:a,placeholder:i="",isRequired:o=!1})=>{const{programId:s}=n;return q.createElement("div",{className:"sid-field sid-low-income-id"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"lowIncomeOrganization",defaultMessage:"Government Assistance Program"}),htmlForLabel:"sid-low-income",id:"sid-low-income-label",displayClasses:i&&"sid-h-screen-reader-only",isRequired:o}),q.createElement(ym,{className:t?"sid-text-input--error":"",countryCode:oe((()=>n.viewModel.countryChoice.value)),onChange:e=>r(e),minimumSearchValueLength:Sn().minimumOrganizationSearchLength,placeholder:i||a.formatHTMLMessage({id:"lowIncomeOrganizationPlaceholder",defaultMessage:"Government Assistance Program"}),programId:s,value:e,inputHtmlId:"sid-low-income",openOrgSearchEnabled:n.programTheme.openOrgSearchEnabled,orgSearchUrl:n.programTheme.config.orgSearchUrl}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidOrganization",defaultMessage:"You must select an organization from the list"})):null)})),Xp=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement(El,{fieldId:"ebtCardNumber",value:e,onChange:r,placeholder:a||n.formatHTMLMessage({id:"ebtCardNumberPlaceholder",defaultMessage:"EBT card Number"}),label:q.createElement(ir,{id:"ebtCardNumber",defaultMessage:"EBT card Number"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidEBTCardNumber",defaultMessage:"Invalid EBT Card Number"}),showPlaceholderAndHideLabel:!!a})));function Qp(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function eh(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Qp(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Qp(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const th={SNAP_BENEFITS:"Snap Benefits Recipient",OTHER_GOVERNMENT_ASSISTANCE:"Other Government Assistance Recipient"},rh=Rt((({intl:e,verificationService:t})=>{const r=t.viewModel,{fieldValidationErrors:n}=t,a=t.verificationResponse,i=Md(a),o=r.localeChoice.value,s=r.statuses[0]?r.statuses[0]:void 0,l="SNAP_BENEFITS"===s,u=(e,n)=>{const a=zs(r,(t=>{t[e]=n}));t.updateViewModel(a)},c=t=>t?e.formatHTMLMessage({id:t,defaultMessage:th[t]}):"";return q.useEffect((()=>{if(l){gf({fieldsToSkipValidation:["organization"]})}}),[l]),q.createElement("div",{id:"sid-step-low-income-personal-info",className:"sid-l-container"},i?q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.tryAgain.title",defaultMessage:"Check Your full name & other fields"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-header__subtitle--error"},q.createElement(ir,{id:"step.personalInfo.tryAgain.subtitle",defaultMessage:"Your information must match what is on your government-issued document(s)."}))):q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.title",defaultMessage:"Unlock this Special Offer",tagName:"h1"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center"},q.createElement(ir,{id:"step.personalInfo.subtitle",defaultMessage:"Verify you qualify for an eligible government assistance program."})," ",q.createElement(_m,{verificationService:t}),q.createElement(km,{verificationService:t}))),q.createElement(nc,{verificationService:t}),q.createElement(Om,{verificationService:t}),q.createElement(op,{segmentId:"low-income",value:{value:r.statuses?r.statuses[0]:"",label:r.statuses?c(r.statuses[0]):""},isErrored:!!n.statuses,options:(()=>{const e=a.availableStatuses,t=[];if(e)for(const r of e)t.push({value:r,label:c(r)});return t})(),onChange:e=>{const r=e?[e.value]:[];u("statuses",r),tl("statuses",e?e.value:"",t)}}),"SNAP_BENEFITS"===s&&q.createElement(Xp,{value:r.ebtCardNumber,isErrored:!!n.ebtCardNumber,onChange:e=>{u("ebtCardNumber",e),tl("ebtCardNumber",e,t)}}),"OTHER_GOVERNMENT_ASSISTANCE"===s&&q.createElement(Jp,{isErrored:!!n.organization,onChange:e=>{Qs(e,t),tl("organization",e,t)},value:t.viewModel.organization,verificationService:t,isRequired:!0}),q.createElement("div",{className:"sid-names"},q.createElement(wl,{value:r.firstName,isErrored:!!n.firstName,onChange:e=>{u("firstName",e),tl("firstName",e,t)}}),q.createElement(Sl,{value:r.lastName,isErrored:!!n.lastName,onChange:e=>{u("lastName",e),tl("lastName",e,t)}})),q.createElement(Sm,{isErrored:!!n.birthDate,errorId:n.birthDate,locale:o,onChange:e=>{u("birthDate",e),tl("birthDate",e,t)},value:r.birthDate}),q.createElement(zm,{isErrored:!!n.postalCode,onChange:e=>{u("postalCode",e),tl("postalCode",e,t)},value:r.postalCode,explanation:q.createElement(ir,{id:"postalCodeExplanation",defaultMessage:"Use your home address"})}),q.createElement(Ml,{value:r.email,isErrored:!!n.email,explanation:q.createElement(ir,{id:"emailExplanation",defaultMessage:" "}),onChange:e=>{u("email",e),tl("email",e,t)},onKeyDown:e=>ol(e)}),t.programTheme.isSmsNotifierConfigured||t.programTheme.smsLoopEnabled?q.createElement(cm,{isRequired:!!t.programTheme.smsLoopEnabled,value:r.phoneNumber,isErrored:!!n.phoneNumber,onChange:e=>{u("phoneNumber",e),tl("phoneNumber",e,t)},selectedCountryCode:r.countryChoice&&r.countryChoice.value}):null,q.createElement(om,{verificationService:t,isErrored:!!n.marketConsentValue,onChange:e=>{u("metadata",eh(eh({},t.viewModel.metadata),{},{marketConsentValue:e})),tl("marketConsentValue",e,t)},viewModel:r}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>sl(r,t,ve.collectLowIncomePersonalInfo),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(r,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-labelledby":"verify-status-text",ref:e=>Ys("submitButton",e)},q.createElement("span",{id:"verify-status-text"},i?q.createElement(ir,{id:"tryAgain",defaultMessage:"Try Again"}):q.createElement(ir,{id:"verifyMyLowIncomeStatus",defaultMessage:"Verify Status"}))))),q.createElement(Am,{verificationService:t}))}));String.prototype.insertAt=function(e,t){return e>this.length?this:`${Dr()(this).call(this,0,e)}${t}${Dr()(this).call(this,e)}`};const nh=e=>{let t;try{if(t=e.toString(),!t)throw new Error}catch(e){return""}return t.replace(/[^\d]/g,"").insertAt(3,"-").insertAt(6,"-").replace("--","").replace(/-$/,"")},ah=Rt((({value:e,isErrored:t,onChange:r,intl:n,placeholder:a=""})=>q.createElement("div",{className:"sid-field sid-ssn"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"ssn",defaultMessage:"Social Security Number"}),htmlForLabel:"sid-ssn",id:"sid-ssn-label",displayClasses:a&&"sid-h-screen-reader-only"}),q.createElement(gl,{id:"ssn",refId:_e.socialSecurityNumber,className:"sid-ssn__input",isErrored:t,required:!0,placeholder:a||n.formatHTMLMessage({id:"ssnPlaceholder",defaultMessage:"000-00-0000"}),value:nh(e),hidePlaceholder:!1,onChange:e=>(e=>{r(e)})((e=>{var t;return Dr()(t=e.replace(/-/g,"")).call(t,0,9)})(e.target.value)),"aria-labelledby":"sid-ssn-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidSocialSecurityNumber",defaultMessage:"Invalid SSN"})):null))),ih=({useSsn:e,useDocUpload:t,verificationService:r})=>q.createElement("div",{id:"sid-ssn-choice",className:"sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:r})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.selectOption",defaultMessage:"Select an option"}))),q.createElement("div",{className:"sid-ssn-choice__choice1 sid-l-space-top-lg"},q.createElement("button",{type:"button",onClick:e,className:"sid-btn sid-btn--light sid-l-full-width sid-use-ssn"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.useSsn",defaultMessage:"Verify using your social security number"}))),q.createElement("div",{className:"sid-ssn-choice__choice2 sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:t,className:"sid-btn sid-btn--light sid-l-full-width sid-use-doc-upload"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.uploadDoc",defaultMessage:"Upload a document"}))),q.createElement("div",{className:"sid-ssn-choice__footer sid-l-space-top-lg"},q.createElement(Am,{verificationService:r}))),oh=Rt((({verificationService:e})=>{const[t,r]=q.useState(!0),n=e.viewModel,{fieldValidationErrors:a}=e,i=()=>e.submitStep(ve.cancelSocialSecurityNumber,n,e.verificationResponse),o=n.socialSecurityNumber&&9===n.socialSecurityNumber.toString().length;return t?q.createElement(ih,{useSsn:()=>r(!1),useDocUpload:i,verificationService:e}):q.createElement("div",{id:"sid-step-social-security",className:"sid-l-container sid-l-horz-center"},q.createElement("div",{className:"sid-header"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.title",defaultMessage:"Enter your social security number"})),q.createElement(nc,{verificationService:e}),q.createElement("div",{className:"sid-ssn-wrapper"},q.createElement(ah,{value:n.socialSecurityNumber,onChange:t=>{((t,r)=>{const a=zs(n,(e=>{e[t]=r}));e.updateViewModel(a)})("socialSecurityNumber",t),tl("socialSecurityNumber",t,e)},isErrored:!!a[_e.socialSecurityNumber],placeholder:"000-00-0000"}))),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-wrapper__collect-info",onClick:()=>sl(n,e,ve.collectSocialSecurityNumber),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width "+(o?"":"sid-btn--disabled-like"),"aria-label":"submit",ref:e=>Ys("submitButton",e)},q.createElement(ir,{id:"proceed",defaultMessage:"Proceed"})))),q.createElement("div",{className:"sid-form-region sid-l-space-top-md",role:"button",tabIndex:0,onKeyUp:i,onClick:i},q.createElement("div",{className:"sid-h-link-like"},q.createElement(ir,{id:"step.collectSocialSecurityNumber.uploadInstead",defaultMessage:"Upload a document instead"}))),q.createElement(Am,{verificationService:e}))})),sh=({verificationService:e,isCentered:t})=>q.createElement("div",{className:t?"sid-footer__powered-by-container--stacked sid-l-horz-center":"sid-footer__powered-by-container"},q.createElement("div",{className:t?"sid-footer__powered-by--stacked sid-l-horz-center":"sid-footer__powered-by"},q.createElement(ir,{id:"poweredBy",defaultMessage:"Verification services powered by SheerID."})),q.createElement("div",{className:t?"sid-l-space-top-sm":""}," ",q.createElement(Tm,{verificationService:e}))),lh=({verificationService:e})=>{const t=oe((()=>e.verificationResponse.segment)),r=q.useCallback((()=>{hr((function*(){const{programId:r}=e;yield e.resetState(),e.fetchNewVerificationRequest(r,t,void 0,undefined,!0)}))()}),[e.programId,t]);return q.createElement("button",{type:"button",className:"sid-btn sid-btn-light","aria-label":"submit",onClick:r,onKeyPress:r,tabIndex:0},q.createElement(ir,{id:"tryAgain",defaultMessage:"Try again"}))},uh=({children:e})=>q.createElement("div",{className:"sid-l-space-top-lg sid-l-half-width sid-l-horz-center"},e),ch=Rt((({verificationService:e,errorId:t})=>{const r=e.verificationResponse;let n=oe((()=>r.errorIds))||[];t&&(n=[t,...n]);const a=oe((()=>n[0]),"error");let i={id:"error",defaultMessage:"Error"},o="sid-l-horz-center",s=q.createElement(uh,null,q.createElement(lh,{verificationService:e}));if(oe((()=>e.messages[`step.error.errorId.${a}.title`]))&&(i={id:`step.error.errorId.${a}.title`,defaultMessage:e.messages[`step.error.errorId.${a}.title`]}),oe((()=>e.messages[`step.error.errorId.${a}.buttonText`]))&&oe((()=>r.redirectUrl))&&(s=q.createElement(uh,null,q.createElement(md,{href:r.redirectUrl,onClick:()=>Ud(ve.error,r.redirectUrl),className:"sid-btn sid-btn-light"},q.createElement(ir,{id:`step.error.errorId.${a}.buttonText`,defaultMessage:e.messages[`step.error.errorId.${a}.buttonText`]})))),zi()(n).call(n,"verificationLimitExceeded")&&(s=null,o+=" sid-l-space-top-xl"),zi()(n).call(n,"unauthorizedAccountStatus")){const t=oe((()=>e.programTheme.config.brandInfo.faqUrl));s=t?q.createElement(uh,null,q.createElement(md,{href:t,onClick:()=>Ud(ve.error,t),className:"sid-btn sid-btn-light"},q.createElement(ir,{id:"step.error.errorId.unauthorizedAccountStatus.buttonText",defaultMessage:e.messages["step.error.errorId.unauthorizedAccountStatus.buttonText"]}))):null}return q.createElement("div",{id:"sid-step-error",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:o},q.createElement(sm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/circle-exclamation.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,i)),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-error-msg sid-l-horz-center"},n?q.createElement("p",null,Mr()(n).call(n,(t=>q.createElement(ir,{key:t,id:`errorId.${t}`,defaultMessage:t,values:{feedbackUrl:mn.FEEDBACK_FORM_URL,programId:e.programId||"",locale:xa(e.viewModel,r).replace("-","_")}})))):null),s)),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-xl sid-h-small-text"},q.createElement(sh,{verificationService:e,isCentered:!0})))})),dh="Please sign in to your school's web portal. It will open in a new tab.",fh=({verificationService:e})=>{const t=e.verificationResponse.redirectUrl,r=Boolean(t),n=e.verificationResponse.rewardCode||"${rewardCode}",a="noCode"===e.programTheme.config.offerType;return q.createElement("div",{id:"sid-step-success",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"",src:"https://assets-resources.sheerid.com/common/images/2018/icons/circle-check.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md",role:"alert","aria-live":"polite"},q.createElement(ir,{id:"step.success.title",defaultMessage:"Success! You've been verified."})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-two-thirds-width"},q.createElement(ir,{id:"step.success.subtitle",defaultMessage:"Here is your personal coupon code.\n It is unique to you and can only be used once."}))),a?null:q.createElement(q.Fragment,null,q.createElement("div",{className:"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center"},n),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(fr,{textToCopy:n,notificationText:q.createElement(ir,{id:"copied",defaultMessage:"Copied"})},q.createElement(ir,{id:"step.success.copyCouponCode",defaultMessage:"Copy Coupon code"})))),q.createElement("div",{className:"sid-footer sid-l-horz-center "+(a?"sid-l-space-top-md":"sid-l-space-top-lg")},q.createElement(ir,{id:"step.success.emailNotification",defaultMessage:"\n We have emailed you a copy so you can use your code now or later. Look for the email from verify@sheerid.com\n "})),r?q.createElement("div",{className:"sid-submit sid-l-space-top-md"},q.createElement("button",{type:"button",onClick:()=>(e=>{window.open(e,"_parent").focus()})(t),className:"sid-btn sid-btn--dark"},q.createElement(ir,{id:"step.success.redirectButtonText",defaultMessage:"Use code now"}))):"",q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text"},q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:"step.success.verificationOnly",defaultMessage:"\n SheerID handles verification only.\n Now that you've been approved, please direct all questions about the\n promotion terms to {companyName} customer service.\n ",values:{companyName:e}})))))};var mh=o(2035),ph=o.n(mh);const hh=q.memo((({countdownSeconds:e,onCountdownFinish:t,logo:r})=>{const[n,a]=q.useState(e),i=q.useRef(n),o=q.useRef(null),s=()=>{const e=i.current-1;a(e),i.current=e,e<0&&(t(),clearInterval(o.current))};return q.useEffect((()=>{if(!Ic())return o.current=ph()(s,1e3),()=>clearInterval(o.current)}),[]),q.createElement("div",{className:"sid-header sid-l-horz-center","data-testid":"sid-countdown-pending"},q.createElement("div",{className:"sid-l-horz-center"},r),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.pending.titleCountdown",defaultMessage:"Processing"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(ir,{id:"step.pending.subtitleCountdown",defaultMessage:"Hang tight while we upload and scan your documents."})),q.createElement("div",{id:"sid-step-pending",className:"sid-l-container"},q.createElement("div",{className:"sid-countdown"},`00:${Dr()(l=`0${n}`).call(l,-2)}`)),q.createElement("div",{className:"sid-l-space-top-xl"}));var l})),gh=({logo:e,cancelSSO:t})=>q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},e),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(ir,{id:"step.sso.subtitle",defaultMessage:"Please sign in to your school's web portal. It will open in a new tab."})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.subtitle2",defaultMessage:"Can't sign in to your school?"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:t,type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(ir,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-xl"}));function vh(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}const yh=({intl:e,logo:t,verificationService:r})=>{const n=r.verificationResponse,[a,i]=q.useState(!1);!a&&((e,t)=>{if(new(wr())(window.location.search).get("alerting"))return!0;const r=oe((()=>e.estimatedReviewTime)),n=oe((()=>e.maxReviewTime)),a=oe((()=>t.estimatedReviewTime)),i=oe((()=>t.maxReviewTime));return void 0!==r&&r!==a||void 0!==n&&n!==i})(r.previousVerificationResponse,n)&&i(!0);const o=ll(function(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=vh(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=vh(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}({},n),r.programTheme,e);return q.createElement("div",{className:"sid-header sid-l-horz-center","data-testid":"sid-review-pending"},q.createElement("div",{className:"sid-l-horz-center"},t),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.pending.titleReview",defaultMessage:"Reviewing"})),q.createElement("div",{className:"sid-header__subtitle-one"},a?q.createElement(ir,{id:"step.pending.subtitleAlt",defaultMessage:"SheerID is reviewing your documents, to confirm your status."}):q.createElement(ir,{id:"step.pending.turnaroundTime",defaultMessage:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",values:o})),q.createElement("div",{className:"sid-header__subtitle-two sid-l-space-top-md"},q.createElement(ir,{id:"step.pending.subtitle2",defaultMessage:"Wait here or let us notify you of the outcome."})),q.createElement("div",{className:"sid-header__subtitle-three sid-l-space-top-md"},q.createElement(ir,{id:"step.pending.subtitle3",defaultMessage:"You will be contacted via email."})),a?q.createElement("div",{className:"sid-pending-red-box"},q.createElement("ul",null,q.createElement("li",null,q.createElement(ir,{id:"step.pending.docDiffLang",defaultMessage:"We identified your document is in a different language."})),q.createElement("li",null,q.createElement(ir,{id:"step.pending.turnaroundTime",defaultMessage:"Turnaround time for your language is typically {estReviewTime}, and in rare times of high volume may take up to {maxReviewTime}.",values:o})))):null,q.createElement("div",{className:"sid-l-space-top-xl"}))},bh=(e,t)=>{const r=q.useRef(null);function n(){clearInterval(r.current)}return q.useEffect((()=>(r.current=ph()(e,t),()=>n())),[e,t]),n},Eh=Rt((({verificationService:e,intl:t})=>{const{programId:r}=e,{viewModel:n}=e,a=e.previousViewModel||void 0,i=e.verificationResponse.lastResponse||e.previousVerificationResponse||void 0,{verificationId:o}=e.verificationResponse,s=Ic(),l=Tc()&&Tc()===ve.sso,u=Tc()&&Tc()===ve.docUpload,c=()=>!(!i||i.currentStep!==ve.sso),[d,f]=q.useState(((e,t,r,n)=>(e||!t)&&!r&&!n)("pending"===Sn().mockStep,c(),l,u)),m=c()||d?5e3:2e4,p=!s&&bh((()=>{e.fetchExistingVerificationRequest(r,o,i,a,!1)}),m),h=()=>{const t=zs(n,(()=>{}));he.info("StepSSOComponent submitting cancel request"),p(),e.submitStep(ve.sso,t,i)},g=()=>{f(!1)},v=q.createElement(sm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})});return q.createElement("div",{id:"sid-step-pending",className:"sid-l-container"},(()=>{const r=c()||l;return d?q.createElement(hh,{logo:v,onCountdownFinish:g,countdownSeconds:20}):r?q.createElement(gh,{logo:v,cancelSSO:h}):q.createElement(yh,{verificationService:e,logo:v,intl:t,maxReviewTime:qa(e.programTheme)})})(),d?q.createElement(sh,{verificationService:e,isCentered:!0}):q.createElement(Am,{verificationService:e},q.createElement("div",null)," "))})),wh=Rt((({onChange:e,value:t,isErrored:r,errorId:n,intl:a,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-sms-code-id"},q.createElement("div",{className:"sid-l-space-top-md"}),r?q.createElement("div",{className:"sid-field-error"},(e=>{switch(e){case"invalidSMSCode":return q.createElement(ir,{id:"step.smsLoop.errors.codeVerification",defaultMessage:"Verification code could not be validated."});case"expiredSMSCode":return q.createElement(ir,{id:"step.smsLoop.errors.codeExpired",defaultMessage:"Verification code expired."});default:return q.createElement(ir,{id:"errorId.unknownError",defaultMessage:"Unknown Error"})}})(n)):null,q.createElement(gl,{id:"sms-code",isErrored:r,required:!0,placeholder:i||a.formatHTMLMessage({id:"smsCodePlaceholder",defaultMessage:"SMS Code"}),value:t,onChange:t=>e(t.target.value)}))));function Sh(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Mh(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Sh(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Sh(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Ch=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,i=Boolean(t.fieldValidationErrors.smsCode),o=t.previousViewModel||void 0,[s,l]=q.useState(""),[u,c]=q.useState(a.errorIds&&zi()(r=a.errorIds).call(r,"incorrectSMSCodeAttemptLimitExceeded")),d=e.formatHTMLMessage({id:"step.smsLoop.successResend",defaultMessage:"SMS message re-sent successfully"}),f=e.formatHTMLMessage({id:"step.smsLoop.errors.codeResendLimit",defaultMessage:"Maximum number of re-tries has been reached."}),m=e.formatHTMLMessage({id:"step.smsLoop.errors.codeResendLimit",defaultMessage:"Maximum number of re-tries has been reached."}),p=e.formatHTMLMessage({id:"step.smsLoop.errors.resend",defaultMessage:"Error sending the SMS message"});q.useEffect((()=>{u&&l(m)}),[]),oe((()=>a.errorIds.length))&&!t.fieldValidationErrors.smsCode&&t.updateFieldValidationErrors(Mh(Mh({},t.fieldValidationErrors),{},{smsCode:a.errorIds[0]}));const h=function(){var e=hr((function*(e){const t=yield dd.getResendNewSmsCode(e);t?(c(!1),l(204===t.status?d:f)):l(p)}));return function(t){return e.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-sms-loop",className:"sid-l-container"},q.createElement("div",{className:"sid-header__title sid-l-horz-center"},q.createElement(ir,{id:"step.smsLoop.verificationCode",defaultMessage:"Verification Code"})),q.createElement("div",{className:"sid-header__subtitle"},oe((()=>o.phoneNumber))?q.createElement(ir,{id:"step.smsLoop.titleWithNumber",defaultMessage:"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.",values:{number:oe((()=>{var e;return Dr()(e=o.phoneNumber).call(e,-4)}),"")}}):q.createElement(ir,{id:"step.smsLoop.titleWithoutNumber",defaultMessage:"We've sent an SMS to your mobile number. Please enter the code here."})),q.createElement("div",{className:"sid-sms-code-id-wrapper sid-l-horz-center"},q.createElement(wh,{onChange:e=>{const r=zs(n,(t=>{t.smsCode=e,t.phoneNumber=o&&o.phoneNumber}));t.updateViewModel(r)},value:n.smsCode,isErrored:i,errorId:t.fieldValidationErrors.smsCode})),s&&q.createElement("div",null,q.createElement("p",null,s)),q.createElement("div",{className:"sid-submit sid-l-space-top-md sid-l-horz-center"},q.createElement("button",{id:"sid-submit-sms-code",onClick:()=>{he.info("StepSMSLoop submitting form"),t.submitStep(ve.smsLoop,n,t.verificationResponse)},type:"button",className:"sid-btn sid-btn--dark sid-submit__continue","aria-label":"submit",disabled:!!(!n.smsCode||n.smsCode.length<=0||u)},q.createElement(ir,{id:"step.smsLoop.submitButton",defaultMessage:"Submit"})),q.createElement("div",{className:"sid-l-space-left-sm"}," "),q.createElement("button",{id:"sid-resend-sms-code",onClick:()=>h(a.verificationId),type:"submit",className:"sid-btn sid-btn--light sid-submit__cancel","aria-label":"re-send"},q.createElement(ir,{id:"step.smsLoop.resendButton",defaultMessage:"Re-send"}))),q.createElement("div",{className:"sid-incorrect-number sid-l-horz-center"},q.createElement(ir,{id:"step.smsLoop.incorrectNumber.incorrectNumber1",defaultMessage:"Incorrect number? Click"})," ",q.createElement("button",{type:"button",onClick:()=>window.location.reload(),className:"sid-incorrect-number__refresh-link sid-h-btn-link-like"},q.createElement(ir,{id:"step.smsLoop.incorrectNumber.incorrectNumber2",defaultMessage:"here"})," "),q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:"step.smsLoop.incorrectNumber.incorrectNumber3",defaultMessage:"to return to {companyName}",values:{companyName:e}})))))})),Ih=Rt((({intl:e,verificationService:r})=>{const n=r.verificationResponse,{programId:a}=r,{verificationId:i}=n,{canResendEmailLoop:o}=n,s=n.cancelUrl,l=r.viewModel,u=r.previousViewModel||void 0,c=r.previousVerificationResponse||void 0,[f,m]=q.useState(""),p=oe((()=>u.email));q.useEffect((()=>{(e=>{const r=e.viewModel,n=Ar(),a=zs(r,(e=>{var a;d()(a=t()(r)).call(a,(t=>{n.has(t)&&(e[t]=n.get(t))}))}));e.updateViewModel(a)})(r)}),[]),q.useEffect((()=>{l.emailToken&&(he.info("StepEmailLoopComponent submitting form"),r.submitStep(ve.emailLoop,l,r.verificationResponse))}),[l.emailToken]),bh((()=>{r.fetchExistingVerificationRequest(a,i,c,u,!1)}),1e4);const h=function(){var t=hr((function*(t){const r=yield dd.getResendNewEmailCode(t);if(r){const t={id:"step.emailLoop.successResend",defaultMessage:"Email re-sent successfully."},n={id:"step.emailLoop.errors.resend",defaultMessage:"Error sending email"},a=204===r.status?e.formatHTMLMessage(t):e.formatHTMLMessage(n);m(a)}else m(e.formatHTMLMessage({id:"step.emailLoop.errors.resend",defaultMessage:"Error sending email"}))}));return function(e){return t.apply(this,arguments)}}(),g=function(){var e=hr((function*(){he.info("StepEmailLoopComponent submitting form after skipping email loop");const e=Hs(l,(()=>{}));r.submitStep(ve.cancelEmailLoop,e,r.verificationResponse)}));return function(){return e.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-email-loop",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:r,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.emailLoop.title",defaultMessage:"Check your email"})),q.createElement("div",{className:"sid-header__subtitle-one"},p?q.createElement(ir,{id:"step.emailLoop.subtitleWithEmail",defaultMessage:"An email has been sent to {email} with a personalized link to complete the verification process.",values:{email:p}}):q.createElement(ir,{id:"step.emailLoop.subtitleWithoutEmail",defaultMessage:"An email has been sent to your email account with a personalized link to complete the verification process."})),q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(ir,{id:"step.emailLoop.subtitle2",defaultMessage:"Please check for an email from us (verify@sheerid.com) for all the details."})),s&&q.createElement("div",{className:"sid-skip-email sid-l-space-top-lg"},q.createElement(ir,{id:"step.emailLoop.skipEmail",defaultMessage:"Unable to retrieve this email? Click "})," ",q.createElement("button",{type:"button",onClick:()=>g(),className:"sid-incorrect-number__refresh-link sid-h-btn-link-like"},q.createElement(ir,{id:"step.emailLoop.skipEmailCTA",defaultMessage:"here"}))," ",q.createElement(ir,{id:"step.emailLoop.skipEmail2",defaultMessage:" to proceed."})),o&&q.createElement("div",{className:"sid-header__resend-btn sid-l-space-top-md sid-submit sid-l-horz-center"},q.createElement("button",{id:"sid-resend-email",onClick:()=>h(i),type:"submit",className:"sid-btn sid-btn--light sid-submit__cancel","aria-label":"re-send"},q.createElement(ir,{id:"step.emailLoop.resendButton",defaultMessage:"Re-send"}))),f&&q.createElement("div",null,q.createElement("p",null,f)),q.createElement("div",{className:"sid-l-space-top-xl"})))}));var Nh=o(6358),Dh=o.n(Nh),Th=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function Ah(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=Th.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var xh=[".DS_Store","Thumbs.db"];function _h(e){return(null!==e.target&&e.target.files?Ph(e.target.files):[]).map((function(e){return Ah(e)}))}function Oh(e,t){return Rl(this,void 0,void 0,(function(){var r;return Fl(this,(function(n){switch(n.label){case 0:return e.items?(r=Ph(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(Rh))]):[3,2];case 1:return[2,kh(Fh(n.sent()))];case 2:return[2,kh(Ph(e.files).map((function(e){return Ah(e)})))]}}))}))}function kh(e){return e.filter((function(e){return-1===xh.indexOf(e.name)}))}function Ph(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function Rh(e){if("function"!=typeof e.webkitGetAsEntry)return Lh(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?Bh(t):Lh(e)}function Fh(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ll(arguments[t]));return e}(e,Array.isArray(t)?Fh(t):[t])}),[])}function Lh(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var r=Ah(t);return Promise.resolve(r)}function Uh(e){return Rl(this,void 0,void 0,(function(){return Fl(this,(function(t){return[2,e.isDirectory?Bh(e):Vh(e)]}))}))}function Bh(e){var t=e.createReader();return new Promise((function(e,r){var n=[];!function a(){var i=this;t.readEntries((function(t){return Rl(i,void 0,void 0,(function(){var i,o,s;return Fl(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(n)];case 2:return i=l.sent(),e(i),[3,4];case 3:return o=l.sent(),r(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(Uh)),n.push(s),a(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function Vh(e){return Rl(this,void 0,void 0,(function(){return Fl(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var n=Ah(r,e.fullPath);t(n)}),(function(e){r(e)}))}))]}))}))}var jh=o(8801);function zh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hh(e,t)}(e,t)||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 Hh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var $h=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:"file-invalid-type",message:"File type must be ".concat(t)}},qh=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," bytes")}},Wh=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," bytes")}},Gh={code:"too-many-files",message:"Too many files"};function Yh(e,t){var r="application/x-moz-file"===e.type||(0,jh.Z)(e,t);return[r,r?null:$h(t)]}function Kh(e,t,r){if(Zh(e.size))if(Zh(t)&&Zh(r)){if(e.size>r)return[!1,qh(r)];if(e.size<t)return[!1,Wh(t)]}else{if(Zh(t)&&e.size<t)return[!1,Wh(t)];if(Zh(r)&&e.size>r)return[!1,qh(r)]}return[!0,null]}function Zh(e){return null!=e}function Jh(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function Xh(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function Qh(e){e.preventDefault()}function eg(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return t.some((function(t){return!Jh(e)&&t&&t.apply(void 0,[e].concat(n)),Jh(e)}))}}function tg(e){return function(e){if(Array.isArray(e))return ag(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ng(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}(e,t)||ng(e,t)||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 ng(e,t){if(e){if("string"==typeof e)return ag(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ag(e,t):void 0}}function ag(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ig(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function og(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ig(Object(r),!0).forEach((function(t){sg(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ig(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lg(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var ug=(0,q.forwardRef)((function(e,t){var r=e.children,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=og(og({},cg),e),r=t.accept,n=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,o=t.minSize,s=t.multiple,l=t.maxFiles,u=t.onDragEnter,c=t.onDragLeave,d=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,p=t.onDropRejected,h=t.onFileDialogCancel,g=t.preventDropOnDocument,v=t.noClick,y=t.noKeyboard,b=t.noDrag,E=t.noDragEventsBubbling,w=t.validator,S=(0,q.useRef)(null),M=(0,q.useRef)(null),C=rg((0,q.useReducer)(mg,fg),2),I=C[0],N=C[1],D=I.isFocused,T=I.isFileDialogActive,A=I.draggedFiles,x=(0,q.useCallback)((function(){M.current&&(N({type:"openDialog"}),M.current.value=null,M.current.click())}),[N]),_=function(){T&&setTimeout((function(){M.current&&(M.current.files.length||(N({type:"closeDialog"}),"function"==typeof h&&h()))}),300)};(0,q.useEffect)((function(){return window.addEventListener("focus",_,!1),function(){window.removeEventListener("focus",_,!1)}}),[M,T,h]);var O=(0,q.useCallback)((function(e){S.current&&S.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),x()))}),[S,M]),k=(0,q.useCallback)((function(){N({type:"focus"})}),[]),P=(0,q.useCallback)((function(){N({type:"blur"})}),[]),R=(0,q.useCallback)((function(){v||(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?x():setTimeout(x,0))}),[M,v]),F=(0,q.useRef)([]),L=function(e){S.current&&S.current.contains(e.target)||(e.preventDefault(),F.current=[])};(0,q.useEffect)((function(){return g&&(document.addEventListener("dragover",Qh,!1),document.addEventListener("drop",L,!1)),function(){g&&(document.removeEventListener("dragover",Qh),document.removeEventListener("drop",L))}}),[S,g]);var U=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[].concat(tg(F.current),[e.target]),Xh(e)&&Promise.resolve(a(e)).then((function(t){Jh(e)&&!E||(N({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e))}))}),[a,u,E]),B=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=Xh(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&d&&d(e),!1}),[d,E]),V=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=F.current.filter((function(e){return S.current&&S.current.contains(e)})),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),F.current=t,t.length>0||(N({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),Xh(e)&&c&&c(e))}),[S,c,E]),j=(0,q.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[],Xh(e)&&Promise.resolve(a(e)).then((function(t){if(!Jh(e)||E){var n=[],a=[];t.forEach((function(e){var t=rg(Yh(e,r),2),s=t[0],l=t[1],u=rg(Kh(e,o,i),2),c=u[0],d=u[1],f=w?w(e):null;if(s&&c&&!f)n.push(e);else{var m=[l,d];f&&(m=m.concat(f)),a.push({file:e,errors:m.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&l>=1&&n.length>l)&&(n.forEach((function(e){a.push({file:e,errors:[Gh]})})),n.splice(0)),N({acceptedFiles:n,fileRejections:a,type:"setFiles"}),f&&f(n,a,e),a.length>0&&p&&p(a,e),n.length>0&&m&&m(n,e)}})),N({type:"reset"})}),[s,r,o,i,l,a,f,m,p,E]),z=function(e){return n?null:e},H=function(e){return y?null:z(e)},$=function(e){return b?null:z(e)},W=function(e){E&&e.stopPropagation()},G=(0,q.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,a=e.onKeyDown,i=e.onFocus,o=e.onBlur,s=e.onClick,l=e.onDragEnter,u=e.onDragOver,c=e.onDragLeave,d=e.onDrop,f=lg(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return og(og(sg({onKeyDown:H(eg(a,O)),onFocus:H(eg(i,k)),onBlur:H(eg(o,P)),onClick:z(eg(s,R)),onDragEnter:$(eg(l,U)),onDragOver:$(eg(u,B)),onDragLeave:$(eg(c,V)),onDrop:$(eg(d,j))},r,S),n||y?{}:{tabIndex:0}),f)}}),[S,O,k,P,R,U,B,V,j,y,b,n]),Y=(0,q.useCallback)((function(e){e.stopPropagation()}),[]),K=(0,q.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,a=e.onChange,i=e.onClick,o=lg(e,["refKey","onChange","onClick"]);return og(og({},sg({accept:r,multiple:s,type:"file",style:{display:"none"},onChange:z(eg(a,j)),onClick:z(eg(i,Y)),autoComplete:"off",tabIndex:-1},n,M)),o)}}),[M,r,s,j,n]),Z=A.length,J=Z>0&&function(e){var t=e.files,r=e.accept,n=e.minSize,a=e.maxSize,i=e.multiple,o=e.maxFiles;return!(!i&&t.length>1||i&&o>=1&&t.length>o)&&t.every((function(e){var t=zh(Yh(e,r),1)[0],i=zh(Kh(e,n,a),1)[0];return t&&i}))}({files:A,accept:r,minSize:o,maxSize:i,multiple:s,maxFiles:l}),X=Z>0&&!J;return og(og({},I),{},{isDragAccept:J,isDragReject:X,isFocused:D&&!n,getRootProps:G,getInputProps:K,rootRef:S,inputRef:M,open:z(x)})}(lg(e,["children"])),a=n.open,i=lg(n,["open"]);return(0,q.useImperativeHandle)(t,(function(){return{open:a}}),[a]),q.createElement(q.Fragment,null,r(og(og({},i),{},{open:a})))}));ug.displayName="Dropzone";var cg={disabled:!1,getFilesFromEvent:function(e){return Rl(this,void 0,void 0,(function(){return Fl(this,(function(t){return[2,(r=e,r.dataTransfer&&e.dataTransfer?Oh(e.dataTransfer,e.type):_h(e))];var r}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};ug.defaultProps=cg,ug.propTypes={children:He().func,accept:He().oneOfType([He().string,He().arrayOf(He().string)]),multiple:He().bool,preventDropOnDocument:He().bool,noClick:He().bool,noKeyboard:He().bool,noDrag:He().bool,noDragEventsBubbling:He().bool,minSize:He().number,maxSize:He().number,maxFiles:He().number,disabled:He().bool,getFilesFromEvent:He().func,onFileDialogCancel:He().func,onDragEnter:He().func,onDragLeave:He().func,onDragOver:He().func,onDrop:He().func,onDropAccepted:He().func,onDropRejected:He().func,validator:He().func};const dg=ug;var fg={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function mg(e,t){switch(t.type){case"focus":return og(og({},e),{},{isFocused:!0});case"blur":return og(og({},e),{},{isFocused:!1});case"openDialog":return og(og({},e),{},{isFileDialogActive:!0});case"closeDialog":return og(og({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive,n=t.draggedFiles;return og(og({},e),{},{draggedFiles:n,isDragActive:r});case"setFiles":return og(og({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return og(og({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}const pg=q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.nameChanged",defaultMessage:"If your name has changed since the document was issued, upload a 2nd document showing your official name change."})),hg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;let n;switch($r(t),t){case Ce.STUDENT:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.student.idCard",defaultMessage:"School ID card with expiration date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.student.classSchedule",defaultMessage:"Class schedule"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.student.tuitionReceipt",defaultMessage:"Tuition receipt"})));break;case Ce.TEACHER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.teacher.idCard",defaultMessage:"Teacher ID card with valid date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.teacher.payStub",defaultMessage:"Pay stub from within last 60 days"})));break;case Ce.MEMBER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.member.idCard",defaultMessage:"Membership Document"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.member.payStub",defaultMessage:"Pay stub from within last 90 days"})));break;case Ce.SENIOR:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.senior.birthCertificate",defaultMessage:"Your birth certificate"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.senior.driversLicense",defaultMessage:"Your drivers license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.senior.passport",defaultMessage:"Your passport"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.senior.stateId",defaultMessage:"Your state-issued ID"})));break;case Ce.AGE:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.age.birthCertificate",defaultMessage:"Your birth certificate"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.age.driversLicense",defaultMessage:"Your drivers license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.age.passport",defaultMessage:"Your passport"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.age.stateId",defaultMessage:"Your state-issued ID"})));break;case Ce.MILITARY:switch(r){case Ne.ACTIVE_DUTY:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.activeDuty",defaultMessage:"Any document that proves you are currently serving as active duty in the armed forces for 30 days or more"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.allowedDocuments",defaultMessage:"Please only upload documents you are legally allowed to provide."})),pg);break;case Ne.VETERAN:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.veteran",defaultMessage:"Any document that proves you met the qualifications of military service and were honorably discharged"})),pg);break;case Ne.RESERVIST:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.reservistA",defaultMessage:"Any document that shows you are currently serving in a reserve component of the armed forces"})),pg);break;case Ne.MILITARY_RETIREE:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.retiree",defaultMessage:"Any document that proves you are a retiree from the armed forces"})),pg);break;case Ne.MILITARY_FAMILY:n=q.createElement("ul",{className:"sid-list"},q.createElement("li",{className:"sid-li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.military.dependent",defaultMessage:"Any document that proves you are a Registered Military Dependent"})),pg);break;default:return null}break;case Ce.FIRST_RESPONDER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.firstResponder.idCard",defaultMessage:"ID Card"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.firstResponder.payStub",defaultMessage:"Pay stub from within last 60 days"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.firstResponder.letter",defaultMessage:"An official letter"})));break;case Ce.MEDICAL:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.medical.licenseCertificate",defaultMessage:"Certificate of license"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.medical.idCard",defaultMessage:"Nursing ID card with expiration date"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.medical.photoPayStub",defaultMessage:"Photo ID and recent Pay Stub"})));break;case Ce.EMPLOYMENT:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.employment.employeeIdCard",defaultMessage:"Employee ID Card"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.employment.payStub",defaultMessage:"Pay stub from within last 60 days"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.employment.officialLetter",defaultMessage:"An official letter"})));break;case Ce.LICENSED_PROFESSIONAL:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.licensedProfessional.license",defaultMessage:"Certificate of license"})));break;case Ce.RECENT_MOVER:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.recentMover.changeOfAddress",defaultMessage:"U.S. Postal Service change of address confirmation letter"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.recentMover.mortgageDeed",defaultMessage:"Mortgage deed"})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.recentMover.rentalAgreement",defaultMessage:"Lease or rental agreement"})));break;case Ce.LOW_INCOME:n=q.createElement("ul",{className:"sid-acceptable-uploads-list"},q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.lowIncome.programCard",defaultMessage:"Back and front of a card showing you qualify for the selected government assistance program (for example, an EBT card for a SNAP Program)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.lowIncome.programApprovalLetter",defaultMessage:"Approval letter of the selected government assistance program issued by a government agency (for example, a Supplemental Security Income (SSI) eligibility letter)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.lowIncome.programApprovalScreenshot",defaultMessage:"A screenshot of the online portal of the selected government assistance program showing you qualify for it (Screenshot of your Medicare application status on your online account)."})),q.createElement("li",{className:"sid-acceptable-uploads-list__li"},q.createElement(ir,{id:"step.docUpload.acceptableUploads.lowIncome.programBankStatement",defaultMessage:"A bank statement showing recent payment of the selected benefit."})));break;default:return null}return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.acceptableUploadExamples",defaultMessage:"Acceptable examples include:"}))),n)},gg=({verificationService:e})=>{const{segment:t}=e.verificationResponse,{subSegment:r}=e.verificationResponse;switch($r(t),t){case Ce.STUDENT:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your school-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.student.school",defaultMessage:"Your school"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.student.enrollmentDate",defaultMessage:"Date proving enrollment for the current term (or within last 3 months)"}))));case Ce.TEACHER:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your school-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.teacher.school",defaultMessage:"Your school"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.teacher.currentSchoolYear",defaultMessage:"A date in the current school year"}))));case Ce.MEMBER:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.organization",defaultMessage:"Your organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.affiliation",defaultMessage:"Your current affiliation with that organization"}))));case Ce.MILITARY:return r===Ne.MILITARY_FAMILY?q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInfo.military.uploadInstructionsDependent",defaultMessage:"Please upload a Dependent ID card that clearly shows your first name, last name, valid dates and status"})))):q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload your government-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.military.serviceBranch",defaultMessage:"Your branch of service"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.military.dischargeDate",defaultMessage:"Your discharge date (if applicable)"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.military.currentAffiliation",defaultMessage:"Your current affiliation with the armed services"}))));case Ce.SENIOR:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload a government-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.senior.birthDate",defaultMessage:"Your date of birth"}))));case Ce.AGE:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload a government-issued document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.age.birthDate",defaultMessage:"Your date of birth"}))));case Ce.FIRST_RESPONDER:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.firstResponder.organization",defaultMessage:"Your organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.firstResponder.currentAffiliation",defaultMessage:"Your current affiliation with that organization"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.firstResponder.license",defaultMessage:"Your status or license as a First Responder"}))));case Ce.MEDICAL:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.medical.status",defaultMessage:"Your nursing status"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.medical.validDate",defaultMessage:"A currently valid date"}))));case Ce.EMPLOYMENT:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.employment.company",defaultMessage:"Your company"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.employment.currentAffiliation",defaultMessage:"Your current affiliation with that company"}))));case Ce.IDENTITY:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.identity.validDate",defaultMessage:"A currently valid date"}))));case Ce.LICENSED_PROFESSIONAL:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.licensedProfessional.licenseStatus",defaultMessage:"Your professional license and/or certification status"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.identity.validDate",defaultMessage:"A currently valid date"}))));case Ce.LOW_INCOME:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.lowIncome.validDate",defaultMessage:"The date when the document was issued (should be within the last 12 months) or the expiry date"}))));case Ce.RECENT_MOVER:return q.createElement("div",null,q.createElement("span",null,q.createElement("strong",null,q.createElement(ir,{id:"step.docUpload.uploadInstructions",defaultMessage:"Upload an official document that shows:"}))),q.createElement("ul",{className:"sid-upload-info-list"},q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.fullName",defaultMessage:"Your full name"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.recentMover.address",defaultMessage:"Your new address"})),q.createElement("li",{className:"sid-upload-info-list__li"},q.createElement(ir,{id:"step.docUpload.uploadInfo.recentMover.validDate",defaultMessage:"A valid date for your recent move"}))));default:return null}},vg=Rt((({verificationService:e,intl:r})=>{var n;const a=e.verificationResponse,{rejectionReasons:o}=a,{programTheme:s}=e,l=e.viewModel,{fieldValidationErrors:u}=e,c=oe((()=>e.verificationResponse.subSegment)),{overrideEnabled:f}=e.programTheme,m=e=>{var t;return{name:e.name,url:zi()(t=e.type).call(t,"image")?br().createObjectURL(e):""}},p=[];Cc(un)&&p.push({name:"myFile.png",url:""}),l.file1&&l.file1.name&&p.push(m(l.file1)),l.file2&&l.file2.name&&p.push(m(l.file2)),l.file3&&l.file3.name&&p.push(m(l.file3));const h=(r,n)=>{e.updateViewModel(((e,r,n)=>zs(e,(a=>{var o,s,l,u,c,f;d()(o=Rr()(s=ee()(l=Mr()(u=i()(c=t()(e)).call(c,(t=>!!e[t]&&zi()(t).call(t,"file")))).call(u,(t=>e[t]))).call(l,r,yf()(f=Array(3)).call(f,void 0))).call(s,0,3)).call(o,((e,t)=>a[`file${t+1}`]=e)),a.erroredFileNames=n||void 0})))(l,r,n))},g=r=>{const n=r+1;e.updateViewModel(((e,r)=>{var n;if(!zi()(n=[1,2,3]).call(n,r))throw new Error(`Expected either 1, 2 or 3 for argument "fileNumber", but received ${r}`);return zs(e,(n=>{var a,o,s,l,u,c;d()(a=Rr()(o=ee()(s=Mr()(l=i()(u=t()(e)).call(u,(e=>zi()(e).call(e,"file")&&!zi()(e).call(e,r.toString())))).call(l,(t=>e[t]))).call(s,yf()(c=Array(3)).call(c,void 0))).call(o,0,3)).call(a,((e,t)=>n[`file${t+1}`]=e))}))})(l,n))},v=t=>{t.length>0?(t=>{const r=[],n=[],a=[];for(const e of t){const t=Vo(ve.docUpload,e);void 0===t?r.push(e):(a.push(e.name),n.push(t))}let i;n&&(i=zs(u,(e=>{e.docUpload=n[0]}))),e.updateFieldValidationErrors(i),h(r,a)})(t):t.length<=0&&he.error("No files were accepted or rejected. Unknown error.","docUpload drag n drop")},y=u.docUpload||oe((()=>e.verificationResponse.errorIds[0]),void 0)?q.createElement("div",{className:"sid-field-error sid-field-error__doc-upload sid-l-horz-center"},q.createElement(ir,{id:`errorId.${u.docUpload}`,defaultMessage:"No valid files"}),l.erroredFileNames?Mr()(n=l.erroredFileNames).call(n,(e=>q.createElement("div",null,e))):null):null,b=function(){var t=hr((function*(){he.info("StepDocUploadComponent submitting form after skipping document upload");const t=zs(l,(()=>{}));e.submitStep(ve.cancelDocUpload,t,e.verificationResponse)}));return function(){return t.apply(this,arguments)}}();return q.createElement("div",{id:"sid-step-doc-upload",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-upload2.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.docUpload.title",defaultMessage:"We need more information"})),q.createElement(km,{verificationService:e}),o&&o.length>0?q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",null,q.createElement(ir,{id:"step.docUpload.rejectedSubtitle",defaultMessage:"We were unable to confirm your eligibility due to:"})),q.createElement("ul",{className:"sid-upload-rejection-list"},Mr()(o).call(o,(e=>q.createElement("li",{key:e,className:"sid-upload-rejection-list__li"},q.createElement(ir,{id:`step.docUpload.rejectionReasons.${e}`,defaultMessage:`${e}`})))))):q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-position"},q.createElement("div",null,q.createElement(ir,{id:"step.docUpload.subtitle",defaultMessage:"Documents will be reviewed in {estimatedWaitTime} by staff at SheerID, a trusted partner.",values:{estimatedWaitTime:ll(a,s,r).estReviewTime}})," ",q.createElement(_m,{verificationService:e})))),0===p.length?q.createElement("div",null,q.createElement("div",{className:"sid-upload-info sid-l-space-top-md"},q.createElement("div",{className:"sid-l-space-top-sm"},q.createElement(gg,{verificationService:e})),Sn().hideMilitaryFamilyAcceptableUploads&&c===Ne.MILITARY_FAMILY?null:q.createElement("div",{className:"sid-l-space-top-md"},q.createElement(hg,{verificationService:e}))),q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},q.createElement("div",{className:"sid-dropzone-wrap"},y,q.createElement(dg,{onDrop:v},(({getRootProps:e,getInputProps:t})=>q.createElement("section",ki({},e(),{className:"sid-dropzone-wrap__dropzone"}),q.createElement("input",t()),q.createElement("p",{className:"sid-dropzone-wrap__instructions sid-l-horz-center"},q.createElement(ir,{id:"step.docUpload.fileInstructions",defaultMessage:'Drag & drop your files here or <span class="sid-dropzone-wrap__link">browse</span>'}))))),q.createElement("div",{className:"sid-dropzone-wrap__accepted-types sid-l-space-top-sm"},q.createElement(ir,{id:"step.docUpload.acceptedTypes",defaultMessage:"Acceptable file types: png, gif, jpg, bmp, pdf"}))))):null,q.createElement("div",{className:"sid-upload-wrap sid-l-space-top-sm"},p.length>0?q.createElement("div",{className:"sid-file-list sid-l-space-top-md"},Mr()(p).call(p,((e,t)=>q.createElement("div",{className:"sid-file-list__file",key:e.name},e.url?q.createElement("img",{className:"sid-file-list__thumbnail",src:e.url,alt:"File thumbnail"}):q.createElement("div",{className:"sid-file-list__no-thumbnail"},q.createElement("img",{alt:"File thumbnail",src:"https://assets-resources.sheerid.com/common/images/2018/icons/default-image.svg"})),q.createElement("div",{className:"sid-file-list__name"},e.name),q.createElement("div",{role:"button",tabIndex:0,"aria-label":`Remove file ${e.name}`,className:"sid-file-list__remove-btn",onClick:()=>g(t),onKeyPress:()=>g(t)})))),y,p.length<3?q.createElement("div",{className:"sid-add-more-files"},q.createElement("label",{className:"sid-add-more-files__label sid-add-more-files--selectable",htmlFor:"file","aria-label":"add file",id:"sid-add-file",role:"button",tabIndex:0,onKeyDown:e=>(e=>{const t=Zs("addFile");"Enter"!==e.key&&" "!==e.key||t.click()})(e)},q.createElement("input",{type:"file",id:"file",tabIndex:-1,className:"sid-add-more-files__input","aria-describedby":"sid-add-file",onChange:e=>{v(Dh()(e.target.files))},accept:"image/jpeg,image/gif,image/png,application/pdf,image/bmp,image/gif",ref:e=>Ys("addFile",e)}),q.createElement("img",{className:"sid-add-more-files__image",alt:"add more files",src:"https://assets-resources.sheerid.com/common/images/2018/icons/add-file.svg"}),q.createElement(ir,{id:"step.docUpload.addFile",defaultMessage:"Add file"}))):null,q.createElement("div",{className:"sid-submit sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-doc-upload",onClick:()=>{he.info("StepDocUploadComponent submitting form"),e.submitStep(ve.docUpload,l,e.verificationResponse)},type:"submit",className:"sid-btn sid-btn--dark sid-submit__continue","aria-label":r.formatHTMLMessage({id:"step.docUpload.submitButtonLabel",defaultMessage:"Continue"}),disabled:p.length<=0},q.createElement(ir,{id:"step.docUpload.submitButtonLabel",defaultMessage:"Continue"})),q.createElement("button",{onClick:()=>{const t=zs(u,(e=>{e.docUpload=void 0}));e.updateFieldValidationErrors(t),e.updateViewModel((e=>zs(e,(e=>{for(let t=0;t<3;t++)e[`file${t+1}`]=void 0})))(l))},type:"button",className:"sid-btn sid-btn--light sid-submit__cancel sid-l-space-left-sm","aria-label":"cancel",disabled:p.length<=0},q.createElement(ir,{id:"step.docUpload.cancelButtonLabel",defaultMessage:"Cancel"})))):null),f&&q.createElement("div",{className:"sid-submit sid-l-horz-center sid-l-space-top-sm"},q.createElement("a",{href:"#",className:"sid-link",onClick:()=>b(),role:"button"},q.createElement(ir,{id:"step.docUpload.cancelDocUploadLabel",defaultMessage:"Click here if you are unable to verify with a document"}))),q.createElement(Am,{verificationService:e}))})),yg=({verificationService:e})=>{const t=e.verificationResponse.consolationRewardCode||"${consolationRewardCode}";return q.createElement("div",{id:"sid-step-consolation",className:"sid-l-container"},q.createElement("div",{className:"sid-header sid-l-horz-center sid-l-space-top-md"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md",role:"alert","aria-live":"polite"},q.createElement(ir,{id:"step.consolation.title",defaultMessage:"Claim your offer"})),q.createElement("div",{className:"sid-header__subtitle sid-l-horz-center sid-l-two-thirds-width"},q.createElement(ir,{id:"step.consolation.subtitle",defaultMessage:"Unfortunately we could not verify your status, but we value your interest and are offering this promo code as a thank you. It is unique to you and can only be used once."}))),q.createElement("div",{className:"sid-reward-code sid-l-space-top-lg sid-h-jumbo-text sid-l-horz-center"},t),q.createElement("div",{className:"sid-l-space-top-md sid-h-bold-text sid-l-horz-center"},q.createElement(fr,{textToCopy:t,notificationText:q.createElement(ir,{id:"copied",defaultMessage:"Copied"})},q.createElement(ir,{id:"step.success.copyCouponCode",defaultMessage:"Copy Coupon code"}))),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg"},q.createElement(ir,{id:"rewardCodeEmailNotification",defaultMessage:"We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com."})),q.createElement("div",{className:"sid-footer sid-l-horz-center sid-l-space-top-lg sid-h-small-text"},q.createElement(ir,{id:"companyName",defaultMessage:"{Company}"},(e=>q.createElement(ir,{id:"step.consolation.verificationOnly",defaultMessage:"Please direct any and all questions about this offer to {companyName}.",values:{companyName:e}})))))},bg=Rt((({value:e,isErrored:t,onChange:r,placeholder:n=""})=>q.createElement(El,{fieldId:"overrideCode",value:e,onChange:r,placeholder:"",label:q.createElement(ir,{id:"step.override.verificationOverrideCodeLabel",defaultMessage:"Verification Override Code"}),errorMessage:t&&q.createElement(ir,{id:"errorId.invalidOverrideCode",defaultMessage:"Invalid Override Code"}),showPlaceholderAndHideLabel:!!n})));function Eg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function wg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Eg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Eg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Sg=Rt((({intl:e,verificationService:t})=>{var r;const n=t.viewModel,a=t.verificationResponse,{fieldValidationErrors:i}=t,[o,s]=q.useState(""),l=a.errorIds&&zi()(r=a.errorIds).call(r,"incorrectVerificationOverrideCodeAttemptLimitExceeded"),u=e.formatHTMLMessage({id:"step.override.errors.codeOverrideLimit",defaultMessage:"Override code limit exceeded."});q.useEffect((()=>{l&&s(u)}),[]),oe((()=>a.errorIds.length))&&!t.fieldValidationErrors.overrideCode&&t.updateFieldValidationErrors(wg(wg({},t.fieldValidationErrors),{},{overrideCode:a.errorIds[0]}));return q.createElement("div",{id:"sid-step-overrice-code",className:"sid-l-container"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:t,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.override.title",defaultMessage:"Unable to Verify Status"})),q.createElement("div",{className:"sid-header__subtitle-one sid-l-horz-center"},q.createElement(ir,{id:"step.override.subtitle",defaultMessage:"Please sign in to your school's web portal. It will open in a new tab."})),q.createElement("div",{className:"sid-header__subtitle-one sid-l-horz-center"},q.createElement(ir,{id:"step.override.subtitle2",defaultMessage:"This will enable the customer to redeem the offer"})),q.createElement(bg,{value:n.overrideCode,isErrored:!!i.overrideCode,onChange:e=>{gf(wg(wg({},n),{},{overrideCode:e})),tl("overrideCode",e,t)}}),o&&q.createElement("div",null,q.createElement("p",null,o)),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("div",{className:"sid-submit"},q.createElement("button",{id:"sid-submit-btn-collect-info",onClick:()=>{he.info("StepOverrideCode submitting form"),t.submitStep(ve.override,n,t.verificationResponse)},type:"button",className:"sid-btn sid-btn--dark sid-l-full-width "+(ao(n,t.formValidationOptions)?"":"sid-btn--disabled-like"),"aria-label":"submit",disabled:!!(!n.overrideCode||n.overrideCode.length<=0||l)},q.createElement("span",{id:"verify-status-text"},q.createElement(ir,{id:"step.override.submitOverrideCodeButtonLabel",defaultMessage:"Submit Override Codes"}))))),q.createElement(Am,{verificationService:t}))})),Mg={StepStudentPersonalInfoComponent:Bm,StepSeniorPersonalInfoComponent:qm,StepAgePersonalInfoComponent:Zm,StepTeacherPersonalInfoComponent:ep,StepMemberPersonalInfoComponent:ip,StepCollectMilitaryStatusComponent:({verificationService:e})=>q.createElement(pp,{verificationService:e}),StepActiveMilitaryPersonalInfoComponent:pp,StepInactiveMilitaryPersonalInfoComponent:yp,StepFirstResponderPersonalInfoComponent:Sp,StepMedicalProfessionalPersonalInfoComponent:Dp,StepEmploymentPersonalInfoComponent:Op,StepDriverLicensePersonalInfoComponent:Fp,StepGeneralIdentityPersonalInfoComponent:Bp,StepHybridIdentityPersonalInfoComponent:zp,StepLicensedProfessionalPersonalInfoComponent:Gp,StepMoverPersonalInfoComponent:Zp,StepLowIncomePersonalInfoComponent:rh,StepSocialSecurityNumber:oh,StepSuccessComponent:fh,StepConsolationComponent:yg,StepOverrideComponent:Sg,StepDocUploadComponent:vg,StepPendingComponent:Eh,StepSSOComponent:({verificationService:e})=>{const{programId:t}=e,r=e.viewModel,n=e.previousViewModel||void 0,a=e.verificationResponse,i=e.previousVerificationResponse||void 0,{verificationId:o}=e.verificationResponse,s=Ic();let l;const u=(t,n)=>{const a=zs(r,(e=>{e[t]=n}));e.updateViewModel(a)},c=()=>{var e;e=window.open(a.loginUrl,"_blank"),Gs=e,Gs.focus()};return r.isSSOActive&&!s&&(l=ur()((()=>{e.fetchExistingVerificationRequest(t,o,i,n)}),1e3)),!r.countryChoice&&n&&n.countryChoice&&u("countryChoice",n.countryChoice),q.createElement("div",{id:"sid-step-sso",className:"sid-l-container"},r.isSSOActive?q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(ir,{id:"step.sso.subtitle",defaultMessage:dh})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-header__subtitle-two sid-h-small-text sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.subtitle2",defaultMessage:"Can't sign in to your school?"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{onClick:()=>{Xs();const t=zs(r,(()=>{}));he.info("StepSSOComponent submitting cancel request"),clearTimeout(l),e.submitStep(ve.sso,t,e.verificationResponse)},type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(ir,{id:"step.sso.cancel",defaultMessage:"Upload Proof of Enrollment"})))),q.createElement("div",{className:"sid-l-space-top-xl"})):q.createElement("div",{className:"sid-header sid-l-horz-center"},q.createElement("div",{className:"sid-l-horz-center"},q.createElement(sm,{verificationService:e,fallbackLogo:q.createElement("img",{className:"sid-l-lead-image",alt:"design element",src:"https://assets-resources.sheerid.com/common/images/2018/icons/sso-step.svg"})})),q.createElement("div",{className:"sid-header__title sid-l-horz-center sid-l-space-top-md"},q.createElement(ir,{id:"step.sso.title",defaultMessage:"Verify using your school credentials"})),q.createElement("div",{className:"sid-header__subtitle-one"},q.createElement(ir,{id:"step.sso.subtitle",defaultMessage:dh})),q.createElement("div",{className:"sid-l-space-top-xl"}),q.createElement("div",{className:"sid-form-region sid-submit-wrapper sid-l-space-top-md"},q.createElement("button",{id:"sid-submit-btn-sso",onClick:()=>(u("isSSOActive",!0),void c()),type:"submit",className:"sid-btn sid-btn--dark sid-l-full-width","aria-label":"submit"},q.createElement(ir,{id:"step.sso.login",defaultMessage:"Sign in to my school"}))),q.createElement("div",{className:"sid-l-space-top-xl"})),q.createElement(Am,{verificationService:e}))},StepErrorComponent:ch,StepSMSLoopComponent:Ch,StepEmailLoopComponent:Ih},Cg=e=>{he.info("getComponent",e);const t=(e=>Fc[e]?(he.log(`getOverridenComponent returning ${e}`),Fc[e]):null)(e);return t||Mg[e]},Ig=({stepToLoad:e,verificationService:t})=>{let r;he.info(`LoadStepComponent: rendering step: ${e}`);let n=!1;switch(e){case ve.collectStudentPersonalInfo:r=Cg("StepStudentPersonalInfoComponent");break;case ve.collectSeniorPersonalInfo:r=Cg("StepSeniorPersonalInfoComponent");break;case ve.collectAgePersonalInfo:r=Cg("StepAgePersonalInfoComponent");break;case ve.collectTeacherPersonalInfo:r=Cg("StepTeacherPersonalInfoComponent");break;case ve.collectMemberPersonalInfo:r=Cg("StepMemberPersonalInfoComponent");break;case ve.collectMilitaryStatus:r=Cg("StepCollectMilitaryStatusComponent");break;case ve.collectActiveMilitaryPersonalInfo:r=Cg("StepActiveMilitaryPersonalInfoComponent");break;case ve.collectInactiveMilitaryPersonalInfo:r=Cg("StepInactiveMilitaryPersonalInfoComponent");break;case ve.collectFirstResponderPersonalInfo:r=Cg("StepFirstResponderPersonalInfoComponent");break;case ve.collectMedicalProfessionalPersonalInfo:r=Cg("StepMedicalProfessionalPersonalInfoComponent");break;case ve.collectEmployeePersonalInfo:r=Cg("StepEmploymentPersonalInfoComponent");break;case ve.collectDriverLicensePersonalInfo:r=Cg("StepDriverLicensePersonalInfoComponent");break;case ve.collectGeneralIdentityPersonalInfo:r=Cg("StepGeneralIdentityPersonalInfoComponent");break;case ve.collectHybridIdentityPersonalInfo:r=Cg("StepHybridIdentityPersonalInfoComponent");break;case ve.collectLicensedProfessionalPersonalInfo:r=Cg("StepLicensedProfessionalPersonalInfoComponent");break;case ve.collectMoverPersonalInfo:r=Cg("StepMoverPersonalInfoComponent");break;case ve.collectLowIncomePersonalInfo:r=Cg("StepLowIncomePersonalInfoComponent");break;case ve.collectSocialSecurityNumber:r=Cg("StepSocialSecurityNumber");break;case ve.success:r=Cg("StepSuccessComponent"),n=!0;break;case ve.consolation:r=Cg("StepConsolationComponent"),n=!0;break;case ve.override:r=Cg("StepOverrideComponent"),n=!0;break;case ve.docUpload:r=Cg("StepDocUploadComponent"),n=!0;break;case ve.pending:r=Cg("StepPendingComponent"),n=!0;break;case ve.sso:r=Cg("StepSSOComponent");break;case ve.smsLoop:r=Cg("StepSMSLoopComponent"),n=!0;break;case ve.emailLoop:r=Cg("StepEmailLoopComponent"),n=!0;break;case ve.missingRequiredMetadata:return q.createElement(ch,{verificationService:t,errorId:"missingRequiredMetadata"});case ve.error:r=Cg("StepErrorComponent");break;default:const a=`Error: Unknown step to render in LoadStepComponent.\n Unable to render step name "${e}". Possible steps are [${ye.join(", ")}]`;return he.error(a,"Unknown step in LoadStepComponent"),q.createElement(ch,{verificationService:t,errorId:"invalidStep"})}return n?q.createElement(q.Suspense,{fallback:q.createElement(Rc,null)},q.createElement(r,{verificationService:t})):q.createElement(r,{verificationService:t})},Ng=({styles:e,children:t})=>q.createElement("div",null,e?q.createElement("style",null,(e=>window.self===window.top?e.replace(/body,/g,"").replace(/label,/g,"").replace(/button\[type=('|")submit('|")\]\s*?\{[\s\S]*?\}\n?/g,"").replace(/a:link,\s+a:visited,\s+a:hover,\s+a:active\s*?\{[\s\S]*?\}\n?/g,"").replace(/h1\s*?\{[\s\S]*?\}\n?/g,""):e)(e)):null,t);Ng.defaultProps={styles:"",children:""};const Dg=({verificationService:e})=>e.programTheme&&e.programTheme.isTestMode?q.createElement("div",{className:"sid-test-mode-flag sid-l-container sid-l-horz-center"},"Test Mode",q.createElement(md,{className:"sid-test-mode-flag__link",href:"http://developer.sheerid.com/getting-started#test-program","aria-label":"learn more about a sheerid test mode program"},"(learn more)")):null,Tg=function(){var e=hr((function*(){if(!document.getElementById("ipqs"))return new(vr())((e=>{const t=document.createElement("script");t.src="https://fd.sheerid.com/api/*/BJOvvIiNpZnA9XHXIHVc0S4FO87k4eub6NLOfmShTU7nRqamLKTzQixwD7XETz7bvtNHmicHNx9hEtOJ9NPo3kUJBl7o1jpwcbcXeOMDJjvulAWSrRnO7WYq9gxL6xNT0xnfou5UlshUGWQ2g68qBuWajMWbxZ25JELntxaP0neiVUbephG5E79ES89qBo4uIGBDvykdJb75hpo0URvJ0Fm1j6fuEqHQBq64Mi390KC9XoQwiFxyboxQ5lSooY4p/learn.js",t.async=!0,t.id="ipqs",document.body.appendChild(t),t.onload=()=>{e()}}))}));return function(){return e.apply(this,arguments)}}(),Ag=function(){var e=hr((function*(e,t){oe((()=>e.ipqsDeviceFingerprintEnabled),!1)&&(yield Tg(),window.IPQ={Callback:()=>{window.Startup.Store("transactionID",t),window.Startup.Init()}})}));return function(t,r){return e.apply(this,arguments)}}();function xg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function _g(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=xg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=xg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Og=({locale:e,messages:t,programTheme:r,verificationService:n})=>{q.useEffect((()=>{Ag(r,n.verificationResponse.verificationId)}),[n.verificationResponse.verificationId]);const a=_g(_g({},t),ba()(Da(e)));return q.createElement(Kt,{locale:"en",key:e,messages:a,textComponent:Bi},q.createElement(Ng,{styles:Ua(r)},n.isLoading?q.createElement(Rc,{step:n.loadingStep}):q.createElement("div",{className:`${nm().isRtlLang(Ta(e))?"sid-rtl":"sid-ltr"} sid-locale-${e}`},!Sn().hideTestModeFlag&&q.createElement(Dg,{verificationService:n}),q.createElement(Ig,{stepToLoad:n.overrideStep||n.verificationResponse.currentStep,verificationService:n}))))},kg=()=>{window.addEventListener("message",(e=>{"true"===("string"==typeof e.data?JSON.parse(e.data):e.data).isInLightBox&&(document.addEventListener("keydown",(e=>{const t=document.querySelectorAll('button, .sid-link, input, select, textarea, [tabindex]:not([tabindex="-1"]'),r=t[t.length-1];"Tab"===e.key&&r&&(window.addEventListener("message",(t=>{"lastElement"===("string"==typeof t.data?JSON.parse(t.data):t.data).focusOn&&(r.focus(),e.preventDefault())})),e.shiftKey||document.activeElement!==r||(window.parent.postMessage({focusOn:"firstElement"},"*"),e.preventDefault()))})),window.parent.postMessage({focusOn:"firstElement"},"*"))}))};function Pg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Rg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Pg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Pg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}class Fg extends q.Component{constructor(e){super(e),b(this,"verificationService",void 0),he.info("NewVerificationComponent: constructing"),this.props.trackingId&&this.props.trackingId.length?he.info(`Attaching a trackingId to this verification request ${this.props.trackingId}`):he.info("No trackingId to associate with the verification request")}componentDidMount(){var e;if(Cs(),kg(),Zr(e=e=>{"setViewModel"===e.data.action&&gf(e.data.viewModel)}),window[Gc](Yc,(t=>{e(t)}),!1),(()=>{try{return new(wr())(window.location.search).get(rn)===we.loading||Sn()[rn]===we.loading}catch(e){return he.error(e,"isMockingLoading"),!1}})())he.info("Mocking loading screen. Not fetching new verification request.");else{he.info("NewVerificationComponent: fetchNewVerificationRequest");const e=oe((()=>this.props.verificationService.verificationResponse.segment));this.props.verificationService.fetchNewVerificationRequest(this.props.programId,e,this.props.verificationService.previousViewModel,this.props.trackingId)}}render(){const{viewModel:e}=this.props.verificationService,t=xa(e);let r;this.props.messages&&(r=this.props.messages);const n=Rg(Rg({},r),ba()(Da(t)));if(this.props.verificationService.isLoading&&!this.props.verificationService.loadingStep)return he.info("NewVerificationComponent: VerificationService is loading"),q.createElement(Kt,{locale:"en",key:t,messages:n,textComponent:Bi},q.createElement(Rc,null));const{programTheme:a}=this.props.verificationService,{verificationResponse:i}=this.props.verificationService;return he.info("NewVerificationComponent: verificationResponse, viewModel",i,e),he.info(`NewVerificationComponent: locale: ${t}, currentStep: ${i.currentStep}, messages: `,r),q.createElement(Og,{locale:t,messages:r,programTheme:a,verificationService:this.props.verificationService})}}const Lg=Hf(((e,t)=>Rg({},e)),((e,t)=>({fetchNewVerificationRequest:zd(e),fetchExistingVerificationRequest:Hd(e),updateViewModel:qd(e),updateLocale:Wd(e,t.programId),updateProgramTheme:Gd(e),updateFieldValidationErrors:Kd(e),submitStep:Zd(e),resetState:Yd(e)})),((e,t,r)=>Rg({verificationService:Rg(Rg({},e),t),messages:e.messages},r)))(Fg),Ug=pf();Bd("jslibVersionActual",oe((()=>Zn()),"?"));const Bg=q.forwardRef((({programId:e,trackingId:t},r)=>{var n;return d()(n=oe((()=>window.sheerId.hooks),[])).call(n,(e=>{try{yd(e)}catch(t){he.warn("Error adding hook:",e,t)}})),Ug.dispatch({programId:e,type:"PROGRAM_ID"}),r&&(r.current={refresh:q.useCallback((()=>Ug.dispatch({type:"FORCE_UPDATE"})),[]),reset:q.useCallback((()=>Ug.dispatch({type:"RESET_STATE"})),[])}),q.createElement(Mf,{store:Ug},q.createElement(Ka,null,q.createElement(Lg,{programId:e,trackingId:t})))})),Vg=(Rt((({value:e,isErrored:t,onChange:r,intl:n,onKeyDown:a,placeholder:i=""})=>q.createElement("div",{className:"sid-field sid-state"},q.createElement("div",{className:"sid-l-space-top-md"}),q.createElement(vl,{text:q.createElement(ir,{id:"state",defaultMessage:"State"}),htmlForLabel:"sid-state",id:"sid-state-label",displayClasses:i&&"sid-h-screen-reader-only"}),q.createElement(gl,{id:"state",isErrored:t,onChange:e=>r(e.target.value),onKeyDown:"function"==typeof a?e=>a(e):void 0,placeholder:i||n.formatHTMLMessage({id:"statePlaceholder",defaultMessage:"State"}),value:e,"aria-labelledby":"sid-state-label"}),t?q.createElement("div",{className:"sid-field-error"},q.createElement(ir,{id:"errorId.invalidState",defaultMessage:"Invalid state"})):null))),Rt((({verificationService:e,includeCompanyName:t,intl:r})=>{const{programTheme:n}=e,a=Va(n),i=`${((e,t)=>{let r="";try{r=new(br())(Va(e)).hostname}catch(e){he.warn("Invalid Privacy Policy URL ",r)}return"www.sheerid.com"===r?"SheerID":t.formatHTMLMessage({id:"companyName",defaultMessage:"{companyName}"})})(n,r)} `;return q.createElement(md,{className:"sid-privacy-policy sid-link",href:a},t?q.createElement("span",null,i):null,q.createElement(ir,{id:"privacyPolicy",defaultMessage:"Privacy Policy"}))})),(e,t)=>{e.classList.remove("fade-in"),ur()((()=>{document.body.style.overflow="auto",e.parentNode.removeChild(e)}),t)}),jg=e=>{var t;const r=new(br())(e),n=new(br())(window.location.href);return d()(t=n.searchParams).call(t,((e,t)=>{r.searchParams.has(t)||r.searchParams.set(t,e)})),r.href};class zg{constructor(e,t){if(b(this,"containerElement",void 0),b(this,"verificationUrl",void 0),b(this,"isMobileDevice",void 0),b(this,"iframe",void 0),b(this,"verificationIframeUid",void 0),b(this,"hasLoaded",!1),b(this,"onLoadEvents",[]),b(this,"installType","cdn_inline_iframe"),zg.isValidHttpUrl(t)){const r={className:hn.INLINE_IFRAME_CONTENT,title:pn};this.containerElement=e,this.verificationUrl=new(br())(jg(t)),this.verificationIframeUid=zg.createUniqueId(),this.createIframe(r),this.addVerificationSizeUpdatesListener()}else he.error("Invalid URL. Provide a proper URL: https://example.com/","iframe url")}static createUniqueId(){return Math.random().toString(36).substr(2,9)}static isValidHttpUrl(e){try{const t=new(br())(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}createIframe(e){this.iframe=document.createElement("iframe"),this.iframe.classList.add(e.className),this.iframe.title=e.title;let t="?";return this.verificationUrl.search&&(t="&"),this.iframe.src=`${this.verificationUrl.href}${t}verificationIframeUid=${this.verificationIframeUid}&${dn}=${encodeURIComponent(Jn())}&${fn}=${this.installType}`,this.iframe.onload=()=>this.onLoad(),this.iframe}addOnLoadEvent(e){try{Zr(e)}catch(e){return void he.error("Invalid callback provided to iFrame.onLoad()",e)}this.hasLoaded?e():this.onLoadEvents.push(e)}onLoad(){var e;this.hasLoaded=!0,d()(e=this.onLoadEvents).call(e,(e=>e()))}addVerificationSizeUpdatesListener(){window.addEventListener("message",(e=>{if(this.verificationUrl.origin!==e.origin)return;const t="string"==typeof e.data?JSON.parse(e.data):e.data;if(t.verificationIframeUid===this.verificationIframeUid)if("updateHeight"===t.action)this.iframe.scrolling="no",this.iframe.style.height=`${t.height}px`;else he.error("Unsupported message.action")}))}setViewModel(e){const t={action:"setViewModel",viewModel:e};this.addOnLoadEvent((()=>this.iframe.contentWindow.postMessage(t,this.verificationUrl.origin)))}setInstallType(e){this.installType=e}init(){this.containerElement.appendChild(this.iframe)}}const Hg=zg;class $g{constructor(e,t){b(this,"verificationUrl",void 0),b(this,"redirectOnMobile",void 0),b(this,"overlay",void 0),b(this,"wrapper",void 0),b(this,"iframeInstance",void 0),b(this,"isMobileDevice",void 0),b(this,"closeButtonText",void 0),b(this,"closeButton",void 0),b(this,"stopPropagation",void 0),b(this,"popStateEventHandler",(()=>this.closeModal()));const r=t.mobileThreshold?t.mobileThreshold:gn;this.verificationUrl=jg(e),this.redirectOnMobile=t.mobileRedirect||!1,this.isMobileDevice=window.innerWidth<=r,this.closeButtonText=t.closeButtonText?t.closeButtonText:"",this.closeButton=null,this.stopPropagation=t.stopPropagation||!1,this.overlay=$g.createOverlay(),this.wrapper=this.createWrapper(),this.addFocusListener()}createCloseBtn(){if(this.closeButton=document.createElement("button"),this.closeButton.classList.add(hn.CLOSE_BUTTON),this.closeButton.setAttribute("aria-label","close"),this.closeButtonText){const e=document.createElement("div");e.classList.add(hn.CLOSE_TEXT),e.innerHTML=this.closeButtonText,this.closeButton.appendChild(e)}const e=document.createElement("span");return e.classList.add(hn.CLOSE_ICON),e.setAttribute("role","img"),this.closeButton.appendChild(e),this.closeButton.addEventListener("click",(e=>{e.preventDefault(),this.stopPropagation&&e.stopPropagation(),this.closeModal()})),this.closeButton}closeModal(){window.removeEventListener("popstate",this.popStateEventHandler);const e=vn;Vg(this.overlay,e),Vg(this.wrapper,e)}static createOverlay(){const e=document.createElement("div");return e.classList.add(hn.OVERLAY),e}createWrapper(){const e=document.createElement("div");e.classList.add(hn.MODAL_WRAPPER),e.tabIndex=-1,e.setAttribute("role","dialog"),e.appendChild(this.createCloseBtn()),this.iframeInstance=new Hg(e,this.verificationUrl),this.iframeInstance.setInstallType("cdn_modal_iframe");const t={className:hn.MODAL_IFRAME,title:pn};return this.iframeInstance.createIframe(t),e.appendChild(this.iframeInstance.iframe),e}addPopStateListener(){window.addEventListener("popstate",this.popStateEventHandler)}addFocusListener(){window.addEventListener("message",(e=>{"firstElement"===("string"==typeof e.data?JSON.parse(e.data):e.data).focusOn&&this.closeButton.focus()})),document.addEventListener("keydown",(e=>{"Tab"===e.key&&e.shiftKey&&document.activeElement===this.closeButton&&(this.iframeInstance.iframe.contentWindow.postMessage({focusOn:"lastElement"},"*"),e.preventDefault())}))}isInLightboxPostMessage(e){this.iframeInstance.iframe.contentWindow.postMessage({isInLightBox:e},"*")}displayModal(){this.iframeInstance.iframe.addEventListener("load",(()=>{var e;e=[this.overlay,this.wrapper],d()(e).call(e,(e=>{e.classList.add("fade-in")})),document.body.style.overflow="hidden",this.isInLightboxPostMessage("true")})),document.body.appendChild(this.overlay),document.body.appendChild(this.wrapper),this.addPopStateListener()}init(){this.redirectOnMobile&&this.isMobileDevice?window.top.location.href=this.verificationUrl:this.displayModal()}setViewModel(e){this.iframeInstance.setViewModel(e)}}const qg=$g;const Wg=function(){var e=hr((function*(e,t){const r=yield dd.fetchProgramTheme(t);oe((()=>r.threatMetrixEnabled),!1)&&Id(e),Ag(r,e)}));return function(t,r){return e.apply(this,arguments)}}();class Gg{constructor(e,t,r){if(b(this,"element",void 0),b(this,"programId",void 0),b(this,"trackingId",void 0),b(this,"viewModel",void 0),b(this,"ref",void 0),!(this instanceof Gg))throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating VerificationForm?');he.info(`Constructing VerificationFormEs5 ${t}`),Gr(e),this.element=e,this.programId=t,this.trackingId=r,this.ref=q.createRef(),this.render()}refresh(){this.ref.current.refresh()}reset(){this.ref.current.reset()}render(){W.render(q.createElement(Bg,{programId:this.programId,trackingId:this.trackingId,ref:this.ref}),this.element)}unmount(){W.unmountComponentAtNode(this.element)}}class Yg{constructor(e){if(b(this,"value",void 0),b(this,"callback",void 0),b(this,"mountPoint",void 0),b(this,"locale",void 0),b(this,"messages",void 0),b(this,"isErrored",void 0),b(this,"errorId",void 0),Gr(e),this.mountPoint=e,this.locale=xa(),this.messages=((e,t=null)=>{qr(e);let r={};Sn().messagesWithLocale[e]?r=Sn().messagesWithLocale[e]:Sn().messagesWithLocale[en]&&(r=Sn().messagesWithLocale[en]);let n={};if(t)try{n=t.intl.messages}catch(e){he.error(e,"Error accessing programTheme.intl.messages")}return(0,ya.flatten)(Sa(Sa({},n),r))})(this.locale),"function"!=typeof this.render)throw new Error('Method "render" not found. Did you use the "new" keyword when instantiating this class?');this.render()}getValue(){return this.value}onChange(e){this.callback=e}setValue(e){this.value=e,this.render()}doChange(e){this.value=e,this.render(),"function"==typeof this.callback&&this.callback(this.value)}setIsErrored(e){this.isErrored=e}setErrorId(e){this.errorId=e}}class Kg extends Yg{constructor(e){if(super(e),b(this,"countryCode",void 0),b(this,"programId",void 0),!(this instanceof Kg))return new Kg(e)}setCountry(e){this.countryCode=e,this.render()}getCountry(){return this.countryCode}setProgramId(e){this.programId=e,this.render()}getProgramId(){return this.programId}render(){W.render(q.createElement(Kt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(ym,{countryCode:this.countryCode,onChange:e=>this.doChange(e),programId:this.programId,value:this.value,inputHtmlId:"sid-college-name"})),this.mountPoint)}}function Zg(e,r){var a=t()(e);if(n()){var o=n()(e);r&&(o=i()(o).call(o,(function(t){return u()(e,t).enumerable}))),a.push.apply(a,o)}return a}function Jg(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)d()(r=Zg(Object(n),!0)).call(r,(function(t){b(e,t,n[t])}));else if(m())h()(e,m()(n));else{var a;d()(a=Zg(Object(n))).call(a,(function(t){v()(e,t,u()(n,t))}))}}return e}const Xg={getMessages:Aa,setViewModel:gf,resetViewModel:()=>{const e=hf.getState();e.isLoading?yd({name:"ON_VERIFICATION_READY",callback:e=>{Jd(hf.dispatch)(e)}}):Jd(hf.dispatch)(e.verificationResponse)},setOptions:Cn,resetOptions:Mn,refreshStore:()=>{Sn().mockResponse&&pf().dispatch({verificationResponse:Sn().mockResponse,type:"VERIFICATION_RESPONSE"}),pf().dispatch({type:"FORCE_UPDATE"})},setMetadata:Od,getMetadata:kd,resetMetadata:()=>{_d=$()({},xd)},StudentTypeaheadField:Kg,BirthdateField:class extends Yg{render(){W.render(q.createElement(Kt,{locale:this.locale,key:this.locale,messages:this.messages},q.createElement(Sm,{value:this.value,locale:this.locale,onChange:e=>this.doChange(e),isErrored:this.isErrored,errorId:this.errorId})),this.mountPoint)}},conversion:td,overrideComponent:Lc,resetOverriddenComponents:Uc,loadInModal:function(e,t={}){const r=new qg(e,t);return r.init(),r},loadInlineIframe:function(e,t){const r=new Hg(e,t);return r.init(),r},postVerificationSizeUpdates:function(e={origin:"*",interval:100}){if(window.self!==window.top){let t=document.body.offsetHeight;const r=ph()((()=>{if(t!==document.body.offsetHeight){t=document.body.offsetHeight;const r=t+Wi()(window.getComputedStyle(document.body).marginTop,10)+Wi()(window.getComputedStyle(document.body).marginBottom,10),n=new(br())(window.location.href).searchParams.get("verificationIframeUid");window.parent.postMessage({verificationIframeUid:n,action:"updateHeight",height:r},e.origin)}}),e.interval);return()=>clearInterval(r)}},addHook:yd,allMockedResponses:Mc,hooks:void 0,VerificationForm:Gg,collectDeviceProfile:Wg,resetStore:()=>pf().dispatch({type:"RESET_STATE"})};window.sheerId=Jg(Jg(Jg({},window.sheerId||{}),Xg),{},{hooks:oe((()=>window.sheerId.hooks),[])}),o.p=ta(),window.sheerIdReqV=(()=>{let e;try{var t;e=z()(t=/jslib(\-nightly)?\@[a-zA-Z0-9\.\-]+/gi.exec(ta())[0].split("@")[1]).call(t)}catch(e){he.error(e)}return e})()})(),s})()));
83
83
  //# sourceMappingURL=sheerid.js.map