diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d93716..2614e3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.2.2](https://github.com/alma/widgets/compare/v2.2.1...v2.2.2) (2021-12-15) + + +### Bug Fixes + +* **eligibility:** handle deferred days and months in eligibility request ([48a3e96](https://github.com/alma/widgets/commit/48a3e96f67e776a6aaa73142e3c9799966454592)) + ## [2.2.1](https://github.com/alma/widgets/compare/v2.2.0...v2.2.1) (2021-12-14) diff --git a/dist/widgets.js b/dist/widgets.js index 98b57c4..91ba1cb 100644 --- a/dist/widgets.js +++ b/dist/widgets.js @@ -1,2 +1,2 @@ -function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var t=require("react"),n=e(t),r=require("react-intl"),i=require("react-dom"),a=e(require("classnames")),l=require("date-fns"),o=e(require("react-modal")),s=e(require("no-scroll")),u=Math.ceil,c=Math.floor,m=function(e){return isNaN(e=+e)?0:(e>0?c:u)(e)},d=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},f=function(e){return function(t,n){var r,i,a=String(d(t)),l=m(n),o=a.length;return l<0||l>=o?e?"":void 0:(r=a.charCodeAt(l))<55296||r>56319||l+1===o||(i=a.charCodeAt(l+1))<56320||i>57343?e?a.charAt(l):r:e?a.slice(l,l+2):i-56320+(r-55296<<10)+65536}},g={codeAt:f(!1),charAt:f(!0)},p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function y(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},n.exports),n.exports}var h=function(e){return e&&e.Math==Math&&e},v=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof p&&p)||function(){return this}()||Function("return this")(),b=function(e){try{return!!e()}catch(e){return!0}},E=!b(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),A=function(e){return"object"==typeof e?null!==e:"function"==typeof e},C=v.document,_=A(C)&&A(C.createElement),w=function(e){return _?C.createElement(e):{}},O=!E&&!b(function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a}),S=function(e){if(!A(e))throw TypeError(String(e)+" is not an object");return e},N=function(e,t){if(!A(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!A(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!A(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!A(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},D=Object.defineProperty,j={f:E?D:function(e,t,n){if(S(e),t=N(t,!0),S(n),O)try{return D(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},P=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},M=E?function(e,t,n){return j.f(e,t,P(1,n))}:function(e,t,n){return e[t]=n,e},x=function(e,t){try{M(v,e,t)}catch(n){v[e]=t}return t},L=v["__core-js_shared__"]||x("__core-js_shared__",{}),T=Function.toString;"function"!=typeof L.inspectSource&&(L.inspectSource=function(e){return T.call(e)});var I,k,F,R=L.inspectSource,z=v.WeakMap,V="function"==typeof z&&/native code/.test(R(z)),U={}.hasOwnProperty,q=function(e,t){return U.call(e,t)},G=y(function(e){(e.exports=function(e,t){return L[e]||(L[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),H=0,B=Math.random(),J=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++H+B).toString(36)},W=G("keys"),Z=function(e){return W[e]||(W[e]=J(e))},Y={};if(V){var K=L.state||(L.state=new(0,v.WeakMap)),Q=K.get,X=K.has,$=K.set;I=function(e,t){return t.facade=e,$.call(K,e,t),t},k=function(e){return Q.call(K,e)||{}},F=function(e){return X.call(K,e)}}else{var ee=Z("state");Y[ee]=!0,I=function(e,t){return t.facade=e,M(e,ee,t),t},k=function(e){return q(e,ee)?e[ee]:{}},F=function(e){return q(e,ee)}}var te,ne,re,ie={set:I,get:k,has:F,enforce:function(e){return F(e)?k(e):I(e,{})},getterFor:function(e){return function(t){var n;if(!A(t)||(n=k(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ae={}.propertyIsEnumerable,le=Object.getOwnPropertyDescriptor,oe={f:le&&!ae.call({1:2},1)?function(e){var t=le(this,e);return!!t&&t.enumerable}:ae},se={}.toString,ue=function(e){return se.call(e).slice(8,-1)},ce="".split,me=b(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==ue(e)?ce.call(e,""):Object(e)}:Object,de=function(e){return me(d(e))},fe=Object.getOwnPropertyDescriptor,ge={f:E?fe:function(e,t){if(e=de(e),t=N(t,!0),O)try{return fe(e,t)}catch(e){}if(q(e,t))return P(!oe.f.call(e,t),e[t])}},pe=y(function(e){var t=ie.get,n=ie.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var l,o=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,u=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||q(i,"name")||M(i,"name",t),(l=n(i)).source||(l.source=r.join("string"==typeof t?t:""))),e!==v?(o?!u&&e[t]&&(s=!0):delete e[t],s?e[t]=i:M(e,t,i)):s?e[t]=i:x(t,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||R(this)})}),ye=v,he=function(e){return"function"==typeof e?e:void 0},ve=function(e,t){return arguments.length<2?he(ye[e])||he(v[e]):ye[e]&&ye[e][t]||v[e]&&v[e][t]},be=Math.min,Ee=function(e){return e>0?be(m(e),9007199254740991):0},Ae=Math.max,Ce=Math.min,_e=function(e){return function(t,n,r){var i,a=de(t),l=Ee(a.length),o=function(e,t){var n=m(e);return n<0?Ae(n+t,0):Ce(n,t)}(r,l);if(e&&n!=n){for(;l>o;)if((i=a[o++])!=i)return!0}else for(;l>o;o++)if((e||o in a)&&a[o]===n)return e||o||0;return!e&&-1}},we=(_e(!0),_e(!1)),Oe=function(e,t){var n,r=de(e),i=0,a=[];for(n in r)!q(Y,n)&&q(r,n)&&a.push(n);for(;t.length>i;)q(r,n=t[i++])&&(~we(a,n)||a.push(n));return a},Se=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ne=Se.concat("length","prototype"),De={f:Object.getOwnPropertyNames||function(e){return Oe(e,Ne)}},je={f:Object.getOwnPropertySymbols},Pe=ve("Reflect","ownKeys")||function(e){var t=De.f(S(e)),n=je.f;return n?t.concat(n(e)):t},Me=function(e,t){for(var n=Pe(t),r=j.f,i=ge.f,a=0;aa;)j.f(e,n=r[a++],t[n]);return e},it=ve("document","documentElement"),at=Z("IE_PROTO"),lt=function(){},ot=function(e){return"