js.bundle.js Maven / Gradle / Ivy
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=735)}([function(e,t,n){"use strict";e.exports=n(763)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(847),i=(r=a)&&r.__esModule?r:{default:r};t.default=i.default},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(844)),a=i(n(105));i(n(365)),i(n(366));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return(0,r.default)(function(e,t){return!(0,a.default)(e,t)})(e)}},function(e,t,n){e.exports=n(784)()},function(e,t,n){"use strict";var r=n(343),a=n.n(r);n.d(t,"a",function(){return a.a});var i=n(367),o=n.n(i);n.d(t,"b",function(){return o.a});n(246),n(372),n(373),n(247);var s=n(41),l=n.n(s);n.d(t,"c",function(){return l.a});var u=n(252),c=n.n(u);n.d(t,"d",function(){return c.a});var d=n(248),f=n.n(d);n.d(t,"e",function(){return f.a});var h=n(250),p=n.n(h);n.d(t,"f",function(){return p.a});var m=n(249),v=n.n(m);n.d(t,"h",function(){return v.a});var g=n(251),A=n.n(g);n.d(t,"g",function(){return A.a});var y=n(174),b=n.n(y);n.d(t,"i",function(){return b.a});var w=n(379),_=n.n(w);n.d(t,"j",function(){return _.a});n(381),n(382);var C=n(129),E=n.n(C);n.d(t,"k",function(){return E.a});var x=n(156),S=n.n(x);n.d(t,"l",function(){return S.a});var k=n(386),M=n.n(k);n.d(t,"m",function(){return M.a});n(256);var T=n(30),B=n.n(T);n.d(t,"n",function(){return B.a});var N=n(130),F=n.n(N);n.d(t,"o",function(){return F.a});n(171),n(388),n(257);var O=n(27),P=n.n(O);n.d(t,"p",function(){return P.a});n(390);var I=n(391),D=n.n(I);n.d(t,"q",function(){return D.a});var L=n(392),z=n.n(L);n.d(t,"r",function(){return z.a});var H=n(173),R=n.n(H);n.d(t,"s",function(){return R.a});var j=n(258),U=n.n(j);n.d(t,"H",function(){return U.a});var V=n(241),W=n.n(V);n.d(t,"t",function(){return W.a});var Q=n(42),$=n.n(Q);n.d(t,"u",function(){return $.a});var K=n(259),q=n.n(K);n.d(t,"v",function(){return q.a});var G=n(40),Y=n.n(G);n.d(t,"w",function(){return Y.a});var X=n(400),J=n.n(X);n.d(t,"x",function(){return J.a});n(401),n(264);var Z=n(94),ee=n.n(Z);n.d(t,"y",function(){return ee.a});n(405);var te=n(64),ne=n.n(te);n.d(t,"z",function(){return ne.a});n(406);var re=n(244),ae=n.n(re);n.d(t,"B",function(){return ae.a});n(1),n(266),n(267),n(268),n(176),n(269);var ie=n(131),oe=n.n(ie);n.d(t,"A",function(){return oe.a});n(408),n(270);var se=n(15),le=n.n(se);n.d(t,"C",function(){return le.a});var ue=n(271),ce=n.n(ue);n.d(t,"D",function(){return ce.a});n(272),n(273),n(177);var de=n(274),fe=n.n(de);n.d(t,"E",function(){return fe.a});var he=n(150),pe=n.n(he);n.d(t,"F",function(){return pe.a});var me=n(46),ve=n.n(me);n.d(t,"G",function(){return ve.a});n(409),n(196),n(412),n(275),n(276),n(277)},function(e,t,n){"use strict";n.d(t,"c",function(){return A}),n.d(t,"d",function(){return ee}),n.d(t,"b",function(){return pe}),n.d(t,"a",function(){return xe});var r=n(715),a=n.n(r),i=n(113),o=n.n(i),s=n(136),l=n.n(s),u=n(3),c=n.n(u),d=n(0),f=n.n(d),h=n(34),p=n.n(h),m=n(137),v=n.n(m),g={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],a=Number(n[0])==e,i=a&&n[0].slice(-1),o=a&&n[0].slice(-2);return t?1==i&&11!=o?"one":2==i&&12!=o?"two":3==i&&13!=o?"few":"other":1==e&&r?"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"}}},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"}}},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"}}},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"}}},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"}}},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"}}}}};function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(Array.isArray(e)?e:[e]).forEach(function(e){e&&e.locale&&(o.a.__addLocaleData(e),l.a.__addLocaleData(e))})}function y(e){var t=e&&e.toLowerCase();return!(!o.a.__localeData__[t]||!l.a.__localeData__[t])}var b="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},w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_=function(){function e(e,t){for(var n=0;n":">","<":"<",'"':""","'":"'"},G=/[&><"']/g;function Y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce(function(t,r){return e.hasOwnProperty(r)?t[r]=e[r]:n.hasOwnProperty(r)&&(t[r]=n[r]),t},{})}function X(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intl;p()(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function J(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":b(e))||null===e||"object"!==(void 0===t?"undefined":b(t))||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),i=0;i3&&void 0!==arguments[3]?arguments[3]:{},l=o.intl,u=void 0===l?{}:l,c=s.intl,d=void 0===c?{}:c;return!J(t,r)||!J(n,a)||!(d===u||J(Y(d,K),Y(u,K)))}function ee(e){return e}var te=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};w(this,e);var r,a="ordinal"===n.style,i=(r=function(e){return o.a.prototype._resolveLocale(e)}(t),o.a.prototype._findPluralRuleFunction(r));this.format=function(e){return i(e,a)}},ne=Object.keys(V),re=Object.keys(W),ae=Object.keys(Q),ie=Object.keys($),oe={second:60,minute:60,hour:24,day:30,month:12};function se(e){var t=l.a.thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month}function le(e,t,n){var r=e&&e[t]&&e[t][n];if(r)return r}function ue(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=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=n.id,c=n.defaultMessage;p()(u,"[React Intl] An `id` must be provided to format a message.");var d=o&&o[u];if(!(Object.keys(r).length>0))return d||c||u;var f=void 0;if(d)try{f=t.getMessageFormat(d,a,i).format(r)}catch(e){0}else 0;if(!f&&c)try{f=t.getMessageFormat(c,s,l).format(r)}catch(e){0}return f||d||c||u}var ce=Object.freeze({formatDate:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=r.format,s=new Date(n),l=o&&le(i,"date",o),u=Y(r,ne,l);try{return t.getDateTimeFormat(a,u).format(s)}catch(e){}return String(s)},formatTime:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=r.format,s=new Date(n),l=o&&le(i,"time",o),u=Y(r,ne,l);u.hour||u.minute||u.second||(u=C({},u,{hour:"numeric",minute:"numeric"}));try{return t.getDateTimeFormat(a,u).format(s)}catch(e){}return String(s)},formatRelative:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=r.format,s=new Date(n),u=new Date(r.now),c=o&&le(i,"relative",o),d=Y(r,ae,c),f=C({},l.a.thresholds);se(oe);try{return t.getRelativeFormat(a,d).format(s,{now:isFinite(u)?u:t.now()})}catch(e){}finally{se(f)}return String(s)},formatNumber:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,o=r.format,s=o&&le(i,"number",o),l=Y(r,re,s);try{return t.getNumberFormat(a,l).format(n)}catch(e){}return String(n)},formatPlural:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=Y(r,ie);try{return t.getPluralFormat(a,i).format(n)}catch(e){}return"other"},formatMessage:ue,formatHTMLMessage:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return ue(e,t,n,Object.keys(r).reduce(function(e,t){var n=r[t];return e[t]="string"==typeof n?(""+n).replace(G,function(e){return q[e]}):n,e},{}))}}),de=Object.keys(R),fe=Object.keys(j),he={formats:{},messages:{},textComponent:"span",defaultLocale:"en",defaultFormats:{}},pe=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};w(this,t);var r=x(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));p()("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=n.intl,i=void 0;i=isFinite(e.initialNow)?Number(e.initialNow):a?a.now():Date.now();var s=(a||{}).formatters,u=void 0===s?{getDateTimeFormat:v()(Intl.DateTimeFormat),getNumberFormat:v()(Intl.NumberFormat),getMessageFormat:v()(o.a),getRelativeFormat:v()(l.a),getPluralFormat:v()(te)}:s;return r.state=C({},u,{now:function(){return r._didDisplay?Date.now():i}}),r}return E(t,e),_(t,[{key:"getConfig",value:function(){var e=this.context.intl,t=Y(this.props,de,e);for(var n in he)void 0===t[n]&&(t[n]=he[n]);if(!function(e){for(var t=(e||"").split("-");t.length>0;){if(y(t.join("-")))return!0;t.pop()}return!1}(t.locale)){var r=t,a=(r.locale,r.defaultLocale),i=r.defaultFormats;0,t=C({},t,{locale:a,formats:i,messages:he.messages})}return t}},{key:"getBoundFormatFns",value:function(e,t){return fe.reduce(function(n,r){return n[r]=ce[r].bind(null,e,t),n},{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),n=this.state,r=n.now,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["now"]);return{intl:C({},e,t,{formatters:a,now:r})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1?r-1:0),i=1;i0){var v=Math.floor(1099511627776*Math.random()).toString(16),g=(e=0,function(){return"ELEMENT-"+v+"-"+(e+=1)});h="@__"+v+"__@",p={},m={},Object.keys(l).forEach(function(e){var t=l[e];if(Object(d.isValidElement)(t)){var n=g();p[e]=h+n+h,m[n]=t}else p[e]=t})}var A=n({id:i,description:o,defaultMessage:s},p||l),y=void 0;return y=m&&Object.keys(m).length>0?A.split(h).filter(function(e){return!!e}).map(function(e){return m[e]||e}):[A],"function"==typeof f?f.apply(void 0,S(y)):d.createElement.apply(void 0,[c,null].concat(S(y)))}}]),t}(d.Component);xe.displayName="FormattedMessage",xe.contextTypes={intl:U},xe.defaultProps={values:{}};var Se=function(e){function t(e,n){w(this,t);var r=x(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return X(n),r}return E(t,e),_(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values;if(!J(e.values,t))return!0;for(var n=C({},e,{values:t}),r=arguments.length,a=Array(r>1?r-1:0),i=1;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";t.a={dataProvider:{mysql:"mysql"},chart:{lineAreaBarChart:"lineAreaBarChart",lineChart:"line",areaChart:"area",barChart:"bar",scatterChart:"scatterChart",pieChart:"pieChart",pie:"pie",donut:"donut",gauge:"gauge",numberChart:"numberChart",number:"number",geographicalChart:"geographicalChart",map:"map",world:"world",europe:"europe",usa:"usa",tableChart:"tableChart",table:"table",searchBar:"searchBar"},dataset:{metadata:{linear:"LINEAR",ordinal:"ORDINAL",time:"TIME"}},chartStacking:{stacked:"stacked"},inputFields:{TEXT_FIELD:"TEXT_FIELD",TEXT_AREA:"TEXT_AREA",NUMBER:"NUMBER",SWITCH:"SWITCH",SQL_CODE:"SQL_CODE",DYNAMIC_SQL_CODE:"DYNAMIC_SQL_CODE",SIDDHI_CODE:"SIDDHI_CODE",DYNAMIC_SIDDHI_CODE:"DYNAMIC_SIDDHI_CODE"},chartRenderer:{vizgrammarRenderer:"VizgrammarRenderer",searchRenderer:"SearchRenderer"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TableRowColumn=t.TableRow=t.TableHeaderColumn=t.TableHeader=t.TableFooter=t.TableBody=t.Table=void 0;var r=c(n(938)),a=c(n(271)),i=c(n(272)),o=c(n(273)),s=c(n(177)),l=c(n(274)),u=c(n(150));function c(e){return e&&e.__esModule?e:{default:e}}t.Table=r.default,t.TableBody=a.default,t.TableFooter=i.default,t.TableHeader=o.default,t.TableHeaderColumn=s.default,t.TableRow=l.default,t.TableRowColumn=u.default,t.default=r.default},function(e,t,n){n(315)("asyncIterator")},function(e,t,n){"use strict";var r=n(47),a=n(84),i=n(59),o=n(49),s=n(73),l=n(202).KEY,u=n(52),c=n(200),d=n(142),f=n(139),h=n(45),p=n(316),m=n(315),v=n(737),g=n(321),A=n(48),y=n(55),b=n(115),w=n(159),_=n(140),C=n(162),E=n(739),x=n(208),S=n(58),k=n(114),M=x.f,T=S.f,B=E.f,N=r.Symbol,F=r.JSON,O=F&&F.stringify,P=h("_hidden"),I=h("toPrimitive"),D={}.propertyIsEnumerable,L=c("symbol-registry"),z=c("symbols"),H=c("op-symbols"),R=Object.prototype,j="function"==typeof N,U=r.QObject,V=!U||!U.prototype||!U.prototype.findChild,W=i&&u(function(){return 7!=C(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=M(R,t);r&&delete R[t],T(e,t,n),r&&e!==R&&T(R,t,r)}:T,Q=function(e){var t=z[e]=C(N.prototype);return t._k=e,t},$=j&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},K=function(e,t,n){return e===R&&K(H,t,n),A(e),t=w(t,!0),A(n),a(z,t)?(n.enumerable?(a(e,P)&&e[P][t]&&(e[P][t]=!1),n=C(n,{enumerable:_(0,!1)})):(a(e,P)||T(e,P,_(1,{})),e[P][t]=!0),W(e,t,n)):T(e,t,n)},q=function(e,t){A(e);for(var n,r=v(t=b(t)),a=0,i=r.length;i>a;)K(e,n=r[a++],t[n]);return e},G=function(e){var t=D.call(this,e=w(e,!0));return!(this===R&&a(z,e)&&!a(H,e))&&(!(t||!a(this,e)||!a(z,e)||a(this,P)&&this[P][e])||t)},Y=function(e,t){if(e=b(e),t=w(t,!0),e!==R||!a(z,t)||a(H,t)){var n=M(e,t);return!n||!a(z,t)||a(e,P)&&e[P][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=B(b(e)),r=[],i=0;n.length>i;)a(z,t=n[i++])||t==P||t==l||r.push(t);return r},J=function(e){for(var t,n=e===R,r=B(n?H:b(e)),i=[],o=0;r.length>o;)!a(z,t=r[o++])||n&&!a(R,t)||i.push(z[t]);return i};j||(s((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===R&&t.call(H,n),a(this,P)&&a(this[P],e)&&(this[P][e]=!1),W(this,e,_(1,n))};return i&&V&&W(R,e,{configurable:!0,set:t}),Q(e)}).prototype,"toString",function(){return this._k}),x.f=Y,S.f=K,n(207).f=E.f=X,n(161).f=G,n(206).f=J,i&&!n(138)&&s(R,"propertyIsEnumerable",G,!0),p.f=function(e){return Q(h(e))}),o(o.G+o.W+o.F*!j,{Symbol:N});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)h(Z[ee++]);for(var te=k(h.store),ne=0;te.length>ne;)m(te[ne++]);o(o.S+o.F*!j,"Symbol",{for:function(e){return a(L,e+="")?L[e]:L[e]=N(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),o(o.S+o.F*!j,"Object",{create:function(e,t){return void 0===t?C(e):q(C(e),t)},defineProperty:K,defineProperties:q,getOwnPropertyDescriptor:Y,getOwnPropertyNames:X,getOwnPropertySymbols:J}),F&&o(o.S+o.F*(!j||u(function(){var e=N();return"[null]"!=O([e])||"{}"!=O({a:e})||"{}"!=O(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(n=t=r[1],(y(t)||void 0!==e)&&!$(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,O.apply(F,r)}}),N.prototype[I]||n(85)(N.prototype,I,N.prototype.valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";var r=n(18),a=n.n(r),i=n(0),o=n.n(i),s=n(3),l=n.n(s),u=n(716),c=n.n(u),d=n(34),f=n.n(d),h=Object.assign||function(e){for(var t=1;t may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){a()(this.props.history===e.history,"You cannot change ")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?o.a.Children.only(e):null},t}(o.a.Component);m.propTypes={history:l.a.object.isRequired,children:l.a.node},m.contextTypes={router:l.a.object},m.childContextTypes={router:l.a.object.isRequired};var v=m,g=v;function A(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}var y=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,i=Array(a),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(g,{history:this.history,children:this.props.children})},t}(o.a.Component);y.propTypes={basename:l.a.string,forceRefresh:l.a.bool,getUserConfirmation:l.a.func,keyLength:l.a.number,children:l.a.node};var b=y,w=n(717),_=n.n(w);function C(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}var E=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,i=Array(a),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(g,{history:this.history,children:this.props.children})},t}(o.a.Component);E.propTypes={basename:l.a.string,getUserConfirmation:l.a.func,hashType:l.a.oneOf(["hashbang","noslash","slash"]),children:l.a.node};var x=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["replace","to","innerRef"]);f()(this.context.router,"You should not use outside a ");var a=this.context.router.history.createHref("string"==typeof t?{pathname:t}:t);return o.a.createElement("a",x({},r,{onClick:this.handleClick,href:a,ref:n}))},t}(o.a.Component);M.propTypes={onClick:l.a.func,target:l.a.string,replace:l.a.bool,to:l.a.oneOfType([l.a.string,l.a.object]).isRequired,innerRef:l.a.oneOfType([l.a.string,l.a.func])},M.defaultProps={replace:!1},M.contextTypes={router:l.a.shape({history:l.a.shape({push:l.a.func.isRequired,replace:l.a.func.isRequired,createHref:l.a.func.isRequired}).isRequired}).isRequired};var T=M,B=n(718),N=n.n(B);function F(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}var O=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,i=Array(a),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return o.a.createElement(v,{history:this.history,children:this.props.children})},t}(o.a.Component);O.propTypes={initialEntries:l.a.array,initialIndex:l.a.number,getUserConfirmation:l.a.func,keyLength:l.a.number,children:l.a.node};var P=n(719),I=n.n(P),D={},L=0,z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof t&&(t={path:t});var n=t,r=n.path,a=void 0===r?"/":r,i=n.exact,o=void 0!==i&&i,s=n.strict,l=void 0!==s&&s,u=n.sensitive,c=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=D[n]||(D[n]={});if(r[e])return r[e];var a=[],i={re:I()(e,a,t),keys:a};return L<1e4&&(r[e]=i,L++),i}(a,{end:o,strict:l,sensitive:void 0!==u&&u}),d=c.re,f=c.keys,h=d.exec(e);if(!h)return null;var p=h[0],m=h.slice(1),v=e===p;return o&&!v?null:{path:a,url:"/"===a&&""===p?"/":p,isExact:v,params:f.reduce(function(e,t,n){return e[t.name]=m[n],e},{})}},H=Object.assign||function(e){for(var t=1;t or withRouter() outside a ");var l=t.route,u=(r||l.location).pathname;return a?z(u,{path:a,strict:i,exact:o,sensitive:s}):l.match},t.prototype.componentWillMount=function(){a()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),a()(!(this.props.component&&this.props.children&&!j(this.props.children)),"You should not use and in the same route; will be ignored"),a()(!(this.props.render&&this.props.children&&!j(this.props.children)),"You should not use and in the same route; will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){a()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),a()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,a=t.render,i=this.context.router,s=i.history,l=i.route,u=i.staticContext,c={match:e,location:this.props.location||l.location,history:s,staticContext:u};return r?e?o.a.createElement(r,c):null:a?e?a(c):null:n?"function"==typeof n?n(c):j(n)?null:o.a.Children.only(n):null},t}(o.a.Component);U.propTypes={computedMatch:l.a.object,path:l.a.string,exact:l.a.bool,strict:l.a.bool,sensitive:l.a.bool,component:l.a.func,render:l.a.func,children:l.a.oneOfType([l.a.func,l.a.node]),location:l.a.object},U.contextTypes={router:l.a.shape({history:l.a.object.isRequired,route:l.a.object.isRequired,staticContext:l.a.object})},U.childContextTypes={router:l.a.object.isRequired};var V=U,W=V,Q=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","ariaCurrent"]);return o.a.createElement(W,{path:"object"===(void 0===t?"undefined":$(t))?t.pathname:t,exact:n,strict:r,location:a,children:function(e){var n=e.location,r=e.match,a=!!(c?c(r,n):r);return o.a.createElement(T,Q({to:t,className:a?[s,i].filter(function(e){return e}).join(" "):s,style:a?Q({},u,l):u,"aria-current":a&&d},f))}})};K.propTypes={to:T.propTypes.to,exact:l.a.bool,strict:l.a.bool,location:l.a.object,activeClassName:l.a.string,className:l.a.string,activeStyle:l.a.object,style:l.a.object,isActive:l.a.func,ariaCurrent:l.a.oneOf(["page","step","location","true"])},K.defaultProps={activeClassName:"active",ariaCurrent:"true"};var q=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),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}(this,e.apply(this,arguments))}return 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)}(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){f()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);q.propTypes={when:l.a.bool,message:l.a.oneOfType([l.a.func,l.a.string]).isRequired},q.defaultProps={when:!0},q.contextTypes={router:l.a.shape({history:l.a.shape({block:l.a.func.isRequired}).isRequired}).isRequired};var G=n(306),Y=n(307),X=Object.assign||function(e){for(var t=1;t outside a "),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=J(e.to),n=J(this.props.to);Z(t,n)?a()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},t.prototype.perform=function(){var e=this.context.router.history,t=this.props,n=t.push,r=t.to;n?e.push(r):e.replace(r)},t.prototype.render=function(){return null},t}(o.a.Component);ee.propTypes={push:l.a.bool,from:l.a.string,to:l.a.oneOfType([l.a.string,l.a.object]).isRequired},ee.defaultProps={push:!1},ee.contextTypes={router:l.a.shape({history:l.a.shape({push:l.a.func.isRequired,replace:l.a.func.isRequired}).isRequired,staticContext:l.a.object}).isRequired};var te=ee,ne=n(70),re=Object.assign||function(e){for(var t=1;t",e)}},ce=function(){},de=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,i=Array(a),o=0;o ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["basename","context","location"]),a={createHref:this.createHref,action:"POP",location:oe(t,se(n)),push:this.handlePush,replace:this.handleReplace,go:ue("go"),goBack:ue("goBack"),goForward:ue("goForward"),listen:this.handleListen,block:this.handleBlock};return o.a.createElement(v,re({},r,{history:a}))},t}(o.a.Component);de.propTypes={basename:l.a.string,context:l.a.object.isRequired,location:l.a.oneOfType([l.a.string,l.a.object])},de.defaultProps={basename:"",location:"/"},de.childContextTypes={router:l.a.object.isRequired};var fe=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),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}(this,e.apply(this,arguments))}return 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)}(t,e),t.prototype.componentWillMount=function(){f()(this.context.router,"You should not use outside a ")},t.prototype.componentWillReceiveProps=function(e){a()(!(e.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),a()(!(!e.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,a=void 0;return o.a.Children.forEach(t,function(t){if(o.a.isValidElement(t)){var i=t.props,s=i.path,l=i.exact,u=i.strict,c=i.sensitive,d=i.from,f=s||d;null==r&&(a=t,r=f?z(n.pathname,{path:f,exact:l,strict:u,sensitive:c}):e.match)}}),r?o.a.cloneElement(a,{location:n,computedMatch:r}):null},t}(o.a.Component);fe.contextTypes={router:l.a.shape({route:l.a.object.isRequired}).isRequired},fe.propTypes={children:l.a.node,location:l.a.object};var he=fe,pe=n(720),me=n.n(pe),ve=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(V,{render:function(t){return o.a.createElement(e,ve({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:l.a.func},me()(t,e)};n.d(t,"a",function(){return b}),n.d(t,"b",function(){return T}),n.d(t,"c",function(){return te}),n.d(t,"d",function(){return W}),n.d(t,"e",function(){return he}),n.d(t,"f",function(){return ge})},function(e,t,n){"use strict";n.d(t,"a",function(){return l});n(101),n(100);var r=n(82),a=n.n(r),i=n(83),o=n(43);function s(e,t){for(var n=0;n3&&void 0!==arguments[3]?arguments[3]:"/",a="",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4]?"; Secure":"";if(n){var o=new Date;o.setTime(o.getTime()+1e3*n),a="; expires="+o.toUTCString()}document.cookie=e+"="+t+a+"; path="+r+i}},{key:"deleteCookie",value:function(e){document.cookie=e+"=; path="+window.contextPath+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"}}],(n=null)&&s(t.prototype,n),r&&s(t,r),e}()},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"c",function(){return a}),n.d(t,"a",function(){return i});var r={UNKNOWN:-1,OK:200,CREATED:201,CONFLICT:409,FORBIDDEN:403,NOTFOUND:404,UNAUTHORIZED:401,SERVE_ERROR:500},a={APPLICATION_WWW_FORM_URLENCODED:"application/x-www-form-urlencoded",APPLICATION_JSON:"application/json"},i={DASHBOARD_VIEWER_THEME_CHANGE:"dashboard-viewer-theme-change",DASHBOARD_VIEWER_WIDGET_LOADED:"dashboard-viewer-widget-loaded",DASHBOARD_DESIGNER_WIDGET_RESIZE:"dashboard-designer-widget-resize",DASHBOARD_DESIGNER_WIDGET_CONFIG_UPDATE:"dashboard-designer-widget-config-update",DASHBOARD_DESIGNER_LAST_WIDGET_DELETED:"dashboard-designer-last-widget-deleted"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=u(n(1979)),a=u(n(2052)),i=u(n(2077)),o=u(n(2078)),s=u(n(2079)),l=u(n(2080));function u(e){return e&&e.__esModule?e:{default:e}}t.hover=o.default,t.handleHover=o.default,t.handleActive=s.default,t.loop=l.default;var c=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o
* Copyright JS Foundation and other contributors
* Released under MIT license
* Based on Underscore.js 1.8.3
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var i,o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="__lodash_hash_undefined__",c=500,d="__lodash_placeholder__",f=1,h=2,p=4,m=1,v=2,g=1,A=2,y=4,b=8,w=16,_=32,C=64,E=128,x=256,S=512,k=30,M="...",T=800,B=16,N=1,F=2,O=1/0,P=9007199254740991,I=1.7976931348623157e308,D=NaN,L=4294967295,z=L-1,H=L>>>1,R=[["ary",E],["bind",g],["bindKey",A],["curry",b],["curryRight",w],["flip",S],["partial",_],["partialRight",C],["rearg",x]],j="[object Arguments]",U="[object Array]",V="[object AsyncFunction]",W="[object Boolean]",Q="[object Date]",$="[object DOMException]",K="[object Error]",q="[object Function]",G="[object GeneratorFunction]",Y="[object Map]",X="[object Number]",J="[object Null]",Z="[object Object]",ee="[object Proxy]",te="[object RegExp]",ne="[object Set]",re="[object String]",ae="[object Symbol]",ie="[object Undefined]",oe="[object WeakMap]",se="[object WeakSet]",le="[object ArrayBuffer]",ue="[object DataView]",ce="[object Float32Array]",de="[object Float64Array]",fe="[object Int8Array]",he="[object Int16Array]",pe="[object Int32Array]",me="[object Uint8Array]",ve="[object Uint8ClampedArray]",ge="[object Uint16Array]",Ae="[object Uint32Array]",ye=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,Ce=/[&<>"']/g,Ee=RegExp(_e.source),xe=RegExp(Ce.source),Se=/<%-([\s\S]+?)%>/g,ke=/<%([\s\S]+?)%>/g,Me=/<%=([\s\S]+?)%>/g,Te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Be=/^\w*$/,Ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fe=/[\\^$.*+?()[\]{}|]/g,Oe=RegExp(Fe.source),Pe=/^\s+|\s+$/g,Ie=/^\s+/,De=/\s+$/,Le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,Re=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,je=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ve=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Qe=/^0b[01]+$/i,$e=/^\[object .+?Constructor\]$/,Ke=/^0o[0-7]+$/i,qe=/^(?:0|[1-9]\d*)$/,Ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ye=/($^)/,Xe=/['\n\r\u2028\u2029\\]/g,Je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ze="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",et="[\\ud800-\\udfff]",tt="["+Ze+"]",nt="["+Je+"]",rt="\\d+",at="[\\u2700-\\u27bf]",it="[a-z\\xdf-\\xf6\\xf8-\\xff]",ot="[^\\ud800-\\udfff"+Ze+rt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",st="\\ud83c[\\udffb-\\udfff]",lt="[^\\ud800-\\udfff]",ut="(?:\\ud83c[\\udde6-\\uddff]){2}",ct="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ft="(?:"+it+"|"+ot+")",ht="(?:"+dt+"|"+ot+")",pt="(?:"+nt+"|"+st+")"+"?",mt="[\\ufe0e\\ufe0f]?"+pt+("(?:\\u200d(?:"+[lt,ut,ct].join("|")+")[\\ufe0e\\ufe0f]?"+pt+")*"),vt="(?:"+[at,ut,ct].join("|")+")"+mt,gt="(?:"+[lt+nt+"?",nt,ut,ct,et].join("|")+")",At=RegExp("['’]","g"),yt=RegExp(nt,"g"),bt=RegExp(st+"(?="+st+")|"+gt+mt,"g"),wt=RegExp([dt+"?"+it+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tt,dt,"$"].join("|")+")",ht+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tt,dt+ft,"$"].join("|")+")",dt+"?"+ft+"+(?:['’](?:d|ll|m|re|s|t|ve))?",dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",rt,vt].join("|"),"g"),_t=RegExp("[\\u200d\\ud800-\\udfff"+Je+"\\ufe0e\\ufe0f]"),Ct=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Et=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xt=-1,St={};St[ce]=St[de]=St[fe]=St[he]=St[pe]=St[me]=St[ve]=St[ge]=St[Ae]=!0,St[j]=St[U]=St[le]=St[W]=St[ue]=St[Q]=St[K]=St[q]=St[Y]=St[X]=St[Z]=St[te]=St[ne]=St[re]=St[oe]=!1;var kt={};kt[j]=kt[U]=kt[le]=kt[ue]=kt[W]=kt[Q]=kt[ce]=kt[de]=kt[fe]=kt[he]=kt[pe]=kt[Y]=kt[X]=kt[Z]=kt[te]=kt[ne]=kt[re]=kt[ae]=kt[me]=kt[ve]=kt[ge]=kt[Ae]=!0,kt[K]=kt[q]=kt[oe]=!1;var Mt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Tt=parseFloat,Bt=parseInt,Nt="object"==typeof e&&e&&e.Object===Object&&e,Ft="object"==typeof self&&self&&self.Object===Object&&self,Ot=Nt||Ft||Function("return this")(),Pt=t&&!t.nodeType&&t,It=Pt&&"object"==typeof r&&r&&!r.nodeType&&r,Dt=It&&It.exports===Pt,Lt=Dt&&Nt.process,zt=function(){try{return Lt&&Lt.binding&&Lt.binding("util")}catch(e){}}(),Ht=zt&&zt.isArrayBuffer,Rt=zt&&zt.isDate,jt=zt&&zt.isMap,Ut=zt&&zt.isRegExp,Vt=zt&&zt.isSet,Wt=zt&&zt.isTypedArray;function Qt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function $t(e,t,n,r){for(var a=-1,i=null==e?0:e.length;++a-1}function Jt(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function wn(e,t){for(var n=e.length;n--&&ln(t,e[n],0)>-1;);return n}var _n=hn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Cn=hn({"&":"&","<":"<",">":">",'"':""","'":"'"});function En(e){return"\\"+Mt[e]}function xn(e){return _t.test(e)}function Sn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function kn(e,t){return function(n){return e(t(n))}}function Mn(e,t){for(var n=-1,r=e.length,a=0,i=[];++n",""":'"',"'":"'"});var In=function e(t){var n,r=(t=null==t?Ot:In.defaults(Ot.Object(),t,In.pick(Ot,Et))).Array,a=t.Date,Je=t.Error,Ze=t.Function,et=t.Math,tt=t.Object,nt=t.RegExp,rt=t.String,at=t.TypeError,it=r.prototype,ot=Ze.prototype,st=tt.prototype,lt=t["__core-js_shared__"],ut=ot.toString,ct=st.hasOwnProperty,dt=0,ft=(n=/[^.]+$/.exec(lt&<.keys&<.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ht=st.toString,pt=ut.call(tt),mt=Ot._,vt=nt("^"+ut.call(ct).replace(Fe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gt=Dt?t.Buffer:i,bt=t.Symbol,_t=t.Uint8Array,Mt=gt?gt.allocUnsafe:i,Nt=kn(tt.getPrototypeOf,tt),Ft=tt.create,Pt=st.propertyIsEnumerable,It=it.splice,Lt=bt?bt.isConcatSpreadable:i,zt=bt?bt.iterator:i,an=bt?bt.toStringTag:i,hn=function(){try{var e=Hi(tt,"defineProperty");return e({},"",{}),e}catch(e){}}(),Dn=t.clearTimeout!==Ot.clearTimeout&&t.clearTimeout,Ln=a&&a.now!==Ot.Date.now&&a.now,zn=t.setTimeout!==Ot.setTimeout&&t.setTimeout,Hn=et.ceil,Rn=et.floor,jn=tt.getOwnPropertySymbols,Un=gt?gt.isBuffer:i,Vn=t.isFinite,Wn=it.join,Qn=kn(tt.keys,tt),$n=et.max,Kn=et.min,qn=a.now,Gn=t.parseInt,Yn=et.random,Xn=it.reverse,Jn=Hi(t,"DataView"),Zn=Hi(t,"Map"),er=Hi(t,"Promise"),tr=Hi(t,"Set"),nr=Hi(t,"WeakMap"),rr=Hi(tt,"create"),ar=nr&&new nr,ir={},or=co(Jn),sr=co(Zn),lr=co(er),ur=co(tr),cr=co(nr),dr=bt?bt.prototype:i,fr=dr?dr.valueOf:i,hr=dr?dr.toString:i;function pr(e){if(Ms(e)&&!gs(e)&&!(e instanceof Ar)){if(e instanceof gr)return e;if(ct.call(e,"__wrapped__"))return fo(e)}return new gr(e)}var mr=function(){function e(){}return function(t){if(!ks(t))return{};if(Ft)return Ft(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function vr(){}function gr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Ar(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=L,this.__views__=[]}function yr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Dr(e,t,n,r,a,o){var s,l=t&f,u=t&h,c=t&p;if(n&&(s=a?n(e,r,a,o):n(e)),s!==i)return s;if(!ks(e))return e;var d=gs(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ct.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return ri(e,s)}else{var m=Ui(e),v=m==q||m==G;if(ws(e))return Xa(e,l);if(m==Z||m==j||v&&!a){if(s=u||v?{}:Wi(e),!l)return u?function(e,t){return ai(e,ji(e),t)}(e,function(e,t){return e&&ai(t,il(t),e)}(s,e)):function(e,t){return ai(e,Ri(e),t)}(e,Fr(s,e))}else{if(!kt[m])return a?e:{};s=function(e,t,n){var r,a,i,o=e.constructor;switch(t){case le:return Ja(e);case W:case Q:return new o(+e);case ue:return function(e,t){var n=t?Ja(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case ce:case de:case fe:case he:case pe:case me:case ve:case ge:case Ae:return Za(e,n);case Y:return new o;case X:case re:return new o(e);case te:return(i=new(a=e).constructor(a.source,Ve.exec(a))).lastIndex=a.lastIndex,i;case ne:return new o;case ae:return r=e,fr?tt(fr.call(r)):{}}}(e,m,l)}}o||(o=new Cr);var g=o.get(e);if(g)return g;if(o.set(e,s),Os(e))return e.forEach(function(r){s.add(Dr(r,t,n,r,e,o))}),s;if(Ts(e))return e.forEach(function(r,a){s.set(a,Dr(r,t,n,a,e,o))}),s;var A=d?i:(c?u?Fi:Ni:u?il:al)(e);return Kt(A||e,function(r,a){A&&(r=e[a=r]),Tr(s,a,Dr(r,t,n,a,e,o))}),s}function Lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=tt(e);r--;){var a=n[r],o=t[a],s=e[a];if(s===i&&!(a in e)||!o(s))return!1}return!0}function zr(e,t,n){if("function"!=typeof e)throw new at(l);return ro(function(){e.apply(i,n)},t)}function Hr(e,t,n,r){var a=-1,i=Xt,s=!0,l=e.length,u=[],c=t.length;if(!l)return u;n&&(t=Zt(t,gn(n))),r?(i=Jt,s=!1):t.length>=o&&(i=yn,s=!1,t=new _r(t));e:for(;++a-1},br.prototype.set=function(e,t){var n=this.__data__,r=Br(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},wr.prototype.clear=function(){this.size=0,this.__data__={hash:new yr,map:new(Zn||br),string:new yr}},wr.prototype.delete=function(e){var t=Li(this,e).delete(e);return this.size-=t?1:0,t},wr.prototype.get=function(e){return Li(this,e).get(e)},wr.prototype.has=function(e){return Li(this,e).has(e)},wr.prototype.set=function(e,t){var n=Li(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},_r.prototype.add=_r.prototype.push=function(e){return this.__data__.set(e,u),this},_r.prototype.has=function(e){return this.__data__.has(e)},Cr.prototype.clear=function(){this.__data__=new br,this.size=0},Cr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Cr.prototype.get=function(e){return this.__data__.get(e)},Cr.prototype.has=function(e){return this.__data__.has(e)},Cr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!Zn||r.length0&&n(s)?t>1?Qr(s,t-1,n,r,a):en(a,s):r||(a[a.length]=s)}return a}var $r=li(),Kr=li(!0);function qr(e,t){return e&&$r(e,t,al)}function Gr(e,t){return e&&Kr(e,t,al)}function Yr(e,t){return Yt(t,function(t){return Es(e[t])})}function Xr(e,t){for(var n=0,r=(t=Ka(t,e)).length;null!=e&&nt}function ta(e,t){return null!=e&&ct.call(e,t)}function na(e,t){return null!=e&&t in tt(e)}function ra(e,t,n){for(var a=n?Jt:Xt,o=e[0].length,s=e.length,l=s,u=r(s),c=1/0,d=[];l--;){var f=e[l];l&&t&&(f=Zt(f,gn(t))),c=Kn(f.length,c),u[l]=!n&&(t||o>=120&&f.length>=120)?new _r(l&&f):i}f=e[0];var h=-1,p=u[0];e:for(;++h=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)})}function ya(e,t,n){for(var r=-1,a=t.length,i={};++r-1;)s!==e&&It.call(s,l,1),It.call(e,l,1);return e}function wa(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==i){var i=a;$i(a)?It.call(e,a,1):Ha(e,a)}}return e}function _a(e,t){return e+Rn(Yn()*(t-e+1))}function Ca(e,t){var n="";if(!e||t<1||t>P)return n;do{t%2&&(n+=e),(t=Rn(t/2))&&(e+=e)}while(t);return n}function Ea(e,t){return ao(eo(e,t,Bl),e+"")}function xa(e){return xr(hl(e))}function Sa(e,t){var n=hl(e);return so(n,Ir(t,0,n.length))}function ka(e,t,n,r){if(!ks(e))return e;for(var a=-1,o=(t=Ka(t,e)).length,s=o-1,l=e;null!=l&&++ai?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=r(i);++a>>1,o=e[i];null!==o&&!Is(o)&&(n?o<=t:o=o){var c=t?null:Ci(e);if(c)return Bn(c);s=!1,a=yn,u=new _r}else u=t?[]:l;e:for(;++r=r?e:Na(e,t,n)}var Ya=Dn||function(e){return Ot.clearTimeout(e)};function Xa(e,t){if(t)return e.slice();var n=e.length,r=Mt?Mt(n):new e.constructor(n);return e.copy(r),r}function Ja(e){var t=new e.constructor(e.byteLength);return new _t(t).set(new _t(e)),t}function Za(e,t){var n=t?Ja(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ei(e,t){if(e!==t){var n=e!==i,r=null===e,a=e==e,o=Is(e),s=t!==i,l=null===t,u=t==t,c=Is(t);if(!l&&!c&&!o&&e>t||o&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!o&&!c&&e1?n[a-1]:i,s=a>2?n[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,s&&Ki(n[0],n[1],s)&&(o=a<3?i:o,a=1),t=tt(t);++r-1?a[o?t[s]:s]:i}}function hi(e){return Bi(function(t){var n=t.length,r=n,a=gr.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new at(l);if(a&&!s&&"wrapper"==Pi(o))var s=new gr([],!0)}for(r=s?r:n;++r1&&b.reverse(),f&&cl))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var d=-1,f=!0,h=n&v?new _r:i;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Kt(R,function(n){var r="_."+n[0];t&n[1]&&!Xt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(ze);return t?t[1].split(He):[]}(r),n)))}function oo(e){var t=0,n=0;return function(){var r=qn(),a=B-(r-n);if(n=r,a>0){if(++t>=T)return arguments[0]}else t=0;return e.apply(i,arguments)}}function so(e,t){var n=-1,r=e.length,a=r-1;for(t=t===i?r:t;++n1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,Fo(e,n)});function Ho(e){var t=pr(e);return t.__chain__=!0,t}function Ro(e,t){return t(e)}var jo=Bi(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return Pr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Ar&&$i(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Ro,args:[a],thisArg:i}),new gr(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(i),e})):this.thru(a)});var Uo=ii(function(e,t,n){ct.call(e,n)?++e[n]:Or(e,n,1)});var Vo=fi(vo),Wo=fi(go);function Qo(e,t){return(gs(e)?Kt:Rr)(e,Di(t,3))}function $o(e,t){return(gs(e)?qt:jr)(e,Di(t,3))}var Ko=ii(function(e,t,n){ct.call(e,n)?e[n].push(t):Or(e,n,[t])});var qo=Ea(function(e,t,n){var a=-1,i="function"==typeof t,o=ys(e)?r(e.length):[];return Rr(e,function(e){o[++a]=i?Qt(t,e,n):aa(e,t,n)}),o}),Go=ii(function(e,t,n){Or(e,n,t)});function Yo(e,t){return(gs(e)?Zt:ha)(e,Di(t,3))}var Xo=ii(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Jo=Ea(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ki(e,t[0],t[1])?t=[]:n>2&&Ki(t[0],t[1],t[2])&&(t=[t[0]]),Aa(e,Qr(t,1),[])}),Zo=Ln||function(){return Ot.Date.now()};function es(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,xi(e,E,i,i,i,i,t)}function ts(e,t){var n;if("function"!=typeof t)throw new at(l);return e=js(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var ns=Ea(function(e,t,n){var r=g;if(n.length){var a=Mn(n,Ii(ns));r|=_}return xi(e,r,t,n,a)}),rs=Ea(function(e,t,n){var r=g|A;if(n.length){var a=Mn(n,Ii(rs));r|=_}return xi(t,r,e,n,a)});function as(e,t,n){var r,a,o,s,u,c,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new at(l);function m(t){var n=r,o=a;return r=a=i,d=t,s=e.apply(o,n)}function v(e){var n=e-c;return c===i||n>=t||n<0||h&&e-d>=o}function g(){var e=Zo();if(v(e))return A(e);u=ro(g,function(e){var n=t-(e-c);return h?Kn(n,o-(e-d)):n}(e))}function A(e){return u=i,p&&r?m(e):(r=a=i,s)}function y(){var e=Zo(),n=v(e);if(r=arguments,a=this,c=e,n){if(u===i)return function(e){return d=e,u=ro(g,t),f?m(e):s}(c);if(h)return u=ro(g,t),m(c)}return u===i&&(u=ro(g,t)),s}return t=Vs(t)||0,ks(n)&&(f=!!n.leading,o=(h="maxWait"in n)?$n(Vs(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){u!==i&&Ya(u),d=0,r=c=a=u=i},y.flush=function(){return u===i?s:A(Zo())},y}var is=Ea(function(e,t){return zr(e,1,t)}),os=Ea(function(e,t,n){return zr(e,Vs(t)||0,n)});function ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new at(l);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(ss.Cache||wr),n}function ls(e){if("function"!=typeof e)throw new at(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ss.Cache=wr;var us=qa(function(e,t){var n=(t=1==t.length&&gs(t[0])?Zt(t[0],gn(Di())):Zt(Qr(t,1),gn(Di()))).length;return Ea(function(r){for(var a=-1,i=Kn(r.length,n);++a=t}),vs=ia(function(){return arguments}())?ia:function(e){return Ms(e)&&ct.call(e,"callee")&&!Pt.call(e,"callee")},gs=r.isArray,As=Ht?gn(Ht):function(e){return Ms(e)&&Zr(e)==le};function ys(e){return null!=e&&Ss(e.length)&&!Es(e)}function bs(e){return Ms(e)&&ys(e)}var ws=Un||Vl,_s=Rt?gn(Rt):function(e){return Ms(e)&&Zr(e)==Q};function Cs(e){if(!Ms(e))return!1;var t=Zr(e);return t==K||t==$||"string"==typeof e.message&&"string"==typeof e.name&&!Ns(e)}function Es(e){if(!ks(e))return!1;var t=Zr(e);return t==q||t==G||t==V||t==ee}function xs(e){return"number"==typeof e&&e==js(e)}function Ss(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=P}function ks(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ms(e){return null!=e&&"object"==typeof e}var Ts=jt?gn(jt):function(e){return Ms(e)&&Ui(e)==Y};function Bs(e){return"number"==typeof e||Ms(e)&&Zr(e)==X}function Ns(e){if(!Ms(e)||Zr(e)!=Z)return!1;var t=Nt(e);if(null===t)return!0;var n=ct.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ut.call(n)==pt}var Fs=Ut?gn(Ut):function(e){return Ms(e)&&Zr(e)==te};var Os=Vt?gn(Vt):function(e){return Ms(e)&&Ui(e)==ne};function Ps(e){return"string"==typeof e||!gs(e)&&Ms(e)&&Zr(e)==re}function Is(e){return"symbol"==typeof e||Ms(e)&&Zr(e)==ae}var Ds=Wt?gn(Wt):function(e){return Ms(e)&&Ss(e.length)&&!!St[Zr(e)]};var Ls=bi(fa),zs=bi(function(e,t){return e<=t});function Hs(e){if(!e)return[];if(ys(e))return Ps(e)?On(e):ri(e);if(zt&&e[zt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[zt]());var t=Ui(e);return(t==Y?Sn:t==ne?Bn:hl)(e)}function Rs(e){return e?(e=Vs(e))===O||e===-O?(e<0?-1:1)*I:e==e?e:0:0===e?e:0}function js(e){var t=Rs(e),n=t%1;return t==t?n?t-n:t:0}function Us(e){return e?Ir(js(e),0,L):0}function Vs(e){if("number"==typeof e)return e;if(Is(e))return D;if(ks(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ks(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Pe,"");var n=Qe.test(e);return n||Ke.test(e)?Bt(e.slice(2),n?2:8):We.test(e)?D:+e}function Ws(e){return ai(e,il(e))}function Qs(e){return null==e?"":La(e)}var $s=oi(function(e,t){if(Xi(t)||ys(t))ai(t,al(t),e);else for(var n in t)ct.call(t,n)&&Tr(e,n,t[n])}),Ks=oi(function(e,t){ai(t,il(t),e)}),qs=oi(function(e,t,n,r){ai(t,il(t),e,r)}),Gs=oi(function(e,t,n,r){ai(t,al(t),e,r)}),Ys=Bi(Pr);var Xs=Ea(function(e,t){e=tt(e);var n=-1,r=t.length,a=r>2?t[2]:i;for(a&&Ki(t[0],t[1],a)&&(r=1);++n1),t}),ai(e,Fi(e),n),r&&(n=Dr(n,f|h|p,Mi));for(var a=t.length;a--;)Ha(n,t[a]);return n});var ul=Bi(function(e,t){return null==e?{}:function(e,t){return ya(e,t,function(t,n){return el(e,n)})}(e,t)});function cl(e,t){if(null==e)return{};var n=Zt(Fi(e),function(e){return[e]});return t=Di(t),ya(e,n,function(e,n){return t(e,n[0])})}var dl=Ei(al),fl=Ei(il);function hl(e){return null==e?[]:An(e,al(e))}var pl=ci(function(e,t,n){return t=t.toLowerCase(),e+(n?ml(t):t)});function ml(e){return Cl(Qs(e).toLowerCase())}function vl(e){return(e=Qs(e))&&e.replace(Ge,_n).replace(yt,"")}var gl=ci(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Al=ci(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),yl=ui("toLowerCase");var bl=ci(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var wl=ci(function(e,t,n){return e+(n?" ":"")+Cl(t)});var _l=ci(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Cl=ui("toUpperCase");function El(e,t,n){return e=Qs(e),(t=n?i:t)===i?function(e){return Ct.test(e)}(e)?function(e){return e.match(wt)||[]}(e):function(e){return e.match(Re)||[]}(e):e.match(t)||[]}var xl=Ea(function(e,t){try{return Qt(e,i,t)}catch(e){return Cs(e)?e:new Je(e)}}),Sl=Bi(function(e,t){return Kt(t,function(t){t=uo(t),Or(e,t,ns(e[t],e))}),e});function kl(e){return function(){return e}}var Ml=hi(),Tl=hi(!0);function Bl(e){return e}function Nl(e){return ua("function"==typeof e?e:Dr(e,f))}var Fl=Ea(function(e,t){return function(n){return aa(n,e,t)}}),Ol=Ea(function(e,t){return function(n){return aa(e,n,t)}});function Pl(e,t,n){var r=al(t),a=Yr(t,r);null!=n||ks(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=Yr(t,al(t)));var i=!(ks(n)&&"chain"in n&&!n.chain),o=Es(e);return Kt(a,function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=ri(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,en([this.value()],arguments))})}),e}function Il(){}var Dl=gi(Zt),Ll=gi(Gt),zl=gi(rn);function Hl(e){return qi(e)?fn(uo(e)):function(e){return function(t){return Xr(t,e)}}(e)}var Rl=yi(),jl=yi(!0);function Ul(){return[]}function Vl(){return!1}var Wl=vi(function(e,t){return e+t},0),Ql=_i("ceil"),$l=vi(function(e,t){return e/t},1),Kl=_i("floor");var ql,Gl=vi(function(e,t){return e*t},1),Yl=_i("round"),Xl=vi(function(e,t){return e-t},0);return pr.after=function(e,t){if("function"!=typeof t)throw new at(l);return e=js(e),function(){if(--e<1)return t.apply(this,arguments)}},pr.ary=es,pr.assign=$s,pr.assignIn=Ks,pr.assignInWith=qs,pr.assignWith=Gs,pr.at=Ys,pr.before=ts,pr.bind=ns,pr.bindAll=Sl,pr.bindKey=rs,pr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return gs(e)?e:[e]},pr.chain=Ho,pr.chunk=function(e,t,n){t=(n?Ki(e,t,n):t===i)?1:$n(js(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,l=r(Hn(a/t));oa?0:a+n),(r=r===i||r>a?a:js(r))<0&&(r+=a),r=n>r?0:Us(r);n>>0)?(e=Qs(e))&&("string"==typeof t||null!=t&&!Fs(t))&&!(t=La(t))&&xn(e)?Ga(On(e),0,n):e.split(t,n):[]},pr.spread=function(e,t){if("function"!=typeof e)throw new at(l);return t=null==t?0:$n(js(t),0),Ea(function(n){var r=n[t],a=Ga(n,0,t);return r&&en(a,r),Qt(e,this,a)})},pr.tail=function(e){var t=null==e?0:e.length;return t?Na(e,1,t):[]},pr.take=function(e,t,n){return e&&e.length?Na(e,0,(t=n||t===i?1:js(t))<0?0:t):[]},pr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Na(e,(t=r-(t=n||t===i?1:js(t)))<0?0:t,r):[]},pr.takeRightWhile=function(e,t){return e&&e.length?ja(e,Di(t,3),!1,!0):[]},pr.takeWhile=function(e,t){return e&&e.length?ja(e,Di(t,3)):[]},pr.tap=function(e,t){return t(e),e},pr.throttle=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new at(l);return ks(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),as(e,t,{leading:r,maxWait:t,trailing:a})},pr.thru=Ro,pr.toArray=Hs,pr.toPairs=dl,pr.toPairsIn=fl,pr.toPath=function(e){return gs(e)?Zt(e,uo):Is(e)?[e]:ri(lo(Qs(e)))},pr.toPlainObject=Ws,pr.transform=function(e,t,n){var r=gs(e),a=r||ws(e)||Ds(e);if(t=Di(t,4),null==n){var i=e&&e.constructor;n=a?r?new i:[]:ks(e)&&Es(i)?mr(Nt(e)):{}}return(a?Kt:qr)(e,function(e,r,a){return t(n,e,r,a)}),n},pr.unary=function(e){return es(e,1)},pr.union=Mo,pr.unionBy=To,pr.unionWith=Bo,pr.uniq=function(e){return e&&e.length?za(e):[]},pr.uniqBy=function(e,t){return e&&e.length?za(e,Di(t,2)):[]},pr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?za(e,i,t):[]},pr.unset=function(e,t){return null==e||Ha(e,t)},pr.unzip=No,pr.unzipWith=Fo,pr.update=function(e,t,n){return null==e?e:Ra(e,t,$a(n))},pr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:Ra(e,t,$a(n),r)},pr.values=hl,pr.valuesIn=function(e){return null==e?[]:An(e,il(e))},pr.without=Oo,pr.words=El,pr.wrap=function(e,t){return cs($a(t),e)},pr.xor=Po,pr.xorBy=Io,pr.xorWith=Do,pr.zip=Lo,pr.zipObject=function(e,t){return Wa(e||[],t||[],Tr)},pr.zipObjectDeep=function(e,t){return Wa(e||[],t||[],ka)},pr.zipWith=zo,pr.entries=dl,pr.entriesIn=fl,pr.extend=Ks,pr.extendWith=qs,Pl(pr,pr),pr.add=Wl,pr.attempt=xl,pr.camelCase=pl,pr.capitalize=ml,pr.ceil=Ql,pr.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=Vs(n))==n?n:0),t!==i&&(t=(t=Vs(t))==t?t:0),Ir(Vs(e),t,n)},pr.clone=function(e){return Dr(e,p)},pr.cloneDeep=function(e){return Dr(e,f|p)},pr.cloneDeepWith=function(e,t){return Dr(e,f|p,t="function"==typeof t?t:i)},pr.cloneWith=function(e,t){return Dr(e,p,t="function"==typeof t?t:i)},pr.conformsTo=function(e,t){return null==t||Lr(e,t,al(t))},pr.deburr=vl,pr.defaultTo=function(e,t){return null==e||e!=e?t:e},pr.divide=$l,pr.endsWith=function(e,t,n){e=Qs(e),t=La(t);var r=e.length,a=n=n===i?r:Ir(js(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},pr.eq=hs,pr.escape=function(e){return(e=Qs(e))&&xe.test(e)?e.replace(Ce,Cn):e},pr.escapeRegExp=function(e){return(e=Qs(e))&&Oe.test(e)?e.replace(Fe,"\\$&"):e},pr.every=function(e,t,n){var r=gs(e)?Gt:Ur;return n&&Ki(e,t,n)&&(t=i),r(e,Di(t,3))},pr.find=Vo,pr.findIndex=vo,pr.findKey=function(e,t){return on(e,Di(t,3),qr)},pr.findLast=Wo,pr.findLastIndex=go,pr.findLastKey=function(e,t){return on(e,Di(t,3),Gr)},pr.floor=Kl,pr.forEach=Qo,pr.forEachRight=$o,pr.forIn=function(e,t){return null==e?e:$r(e,Di(t,3),il)},pr.forInRight=function(e,t){return null==e?e:Kr(e,Di(t,3),il)},pr.forOwn=function(e,t){return e&&qr(e,Di(t,3))},pr.forOwnRight=function(e,t){return e&&Gr(e,Di(t,3))},pr.get=Zs,pr.gt=ps,pr.gte=ms,pr.has=function(e,t){return null!=e&&Vi(e,t,ta)},pr.hasIn=el,pr.head=yo,pr.identity=Bl,pr.includes=function(e,t,n,r){e=ys(e)?e:hl(e),n=n&&!r?js(n):0;var a=e.length;return n<0&&(n=$n(a+n,0)),Ps(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&ln(e,t,n)>-1},pr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:js(n);return a<0&&(a=$n(r+a,0)),ln(e,t,a)},pr.inRange=function(e,t,n){return t=Rs(t),n===i?(n=t,t=0):n=Rs(n),function(e,t,n){return e>=Kn(t,n)&&e<$n(t,n)}(e=Vs(e),t,n)},pr.invoke=rl,pr.isArguments=vs,pr.isArray=gs,pr.isArrayBuffer=As,pr.isArrayLike=ys,pr.isArrayLikeObject=bs,pr.isBoolean=function(e){return!0===e||!1===e||Ms(e)&&Zr(e)==W},pr.isBuffer=ws,pr.isDate=_s,pr.isElement=function(e){return Ms(e)&&1===e.nodeType&&!Ns(e)},pr.isEmpty=function(e){if(null==e)return!0;if(ys(e)&&(gs(e)||"string"==typeof e||"function"==typeof e.splice||ws(e)||Ds(e)||vs(e)))return!e.length;var t=Ui(e);if(t==Y||t==ne)return!e.size;if(Xi(e))return!ca(e).length;for(var n in e)if(ct.call(e,n))return!1;return!0},pr.isEqual=function(e,t){return oa(e,t)},pr.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?oa(e,t,i,n):!!r},pr.isError=Cs,pr.isFinite=function(e){return"number"==typeof e&&Vn(e)},pr.isFunction=Es,pr.isInteger=xs,pr.isLength=Ss,pr.isMap=Ts,pr.isMatch=function(e,t){return e===t||sa(e,t,zi(t))},pr.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,sa(e,t,zi(t),n)},pr.isNaN=function(e){return Bs(e)&&e!=+e},pr.isNative=function(e){if(Yi(e))throw new Je(s);return la(e)},pr.isNil=function(e){return null==e},pr.isNull=function(e){return null===e},pr.isNumber=Bs,pr.isObject=ks,pr.isObjectLike=Ms,pr.isPlainObject=Ns,pr.isRegExp=Fs,pr.isSafeInteger=function(e){return xs(e)&&e>=-P&&e<=P},pr.isSet=Os,pr.isString=Ps,pr.isSymbol=Is,pr.isTypedArray=Ds,pr.isUndefined=function(e){return e===i},pr.isWeakMap=function(e){return Ms(e)&&Ui(e)==oe},pr.isWeakSet=function(e){return Ms(e)&&Zr(e)==se},pr.join=function(e,t){return null==e?"":Wn.call(e,t)},pr.kebabCase=gl,pr.last=Co,pr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==i&&(a=(a=js(n))<0?$n(r+a,0):Kn(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):sn(e,cn,a,!0)},pr.lowerCase=Al,pr.lowerFirst=yl,pr.lt=Ls,pr.lte=zs,pr.max=function(e){return e&&e.length?Vr(e,Bl,ea):i},pr.maxBy=function(e,t){return e&&e.length?Vr(e,Di(t,2),ea):i},pr.mean=function(e){return dn(e,Bl)},pr.meanBy=function(e,t){return dn(e,Di(t,2))},pr.min=function(e){return e&&e.length?Vr(e,Bl,fa):i},pr.minBy=function(e,t){return e&&e.length?Vr(e,Di(t,2),fa):i},pr.stubArray=Ul,pr.stubFalse=Vl,pr.stubObject=function(){return{}},pr.stubString=function(){return""},pr.stubTrue=function(){return!0},pr.multiply=Gl,pr.nth=function(e,t){return e&&e.length?ga(e,js(t)):i},pr.noConflict=function(){return Ot._===this&&(Ot._=mt),this},pr.noop=Il,pr.now=Zo,pr.pad=function(e,t,n){e=Qs(e);var r=(t=js(t))?Fn(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return Ai(Rn(a),n)+e+Ai(Hn(a),n)},pr.padEnd=function(e,t,n){e=Qs(e);var r=(t=js(t))?Fn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var a=Yn();return Kn(e+a*(t-e+Tt("1e-"+((a+"").length-1))),t)}return _a(e,t)},pr.reduce=function(e,t,n){var r=gs(e)?tn:pn,a=arguments.length<3;return r(e,Di(t,4),n,a,Rr)},pr.reduceRight=function(e,t,n){var r=gs(e)?nn:pn,a=arguments.length<3;return r(e,Di(t,4),n,a,jr)},pr.repeat=function(e,t,n){return t=(n?Ki(e,t,n):t===i)?1:js(t),Ca(Qs(e),t)},pr.replace=function(){var e=arguments,t=Qs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},pr.result=function(e,t,n){var r=-1,a=(t=Ka(t,e)).length;for(a||(a=1,e=i);++rP)return[];var n=L,r=Kn(e,L);t=Di(t),e-=L;for(var a=vn(r,t);++n=o)return e;var l=n-Fn(r);if(l<1)return r;var u=s?Ga(s,0,l).join(""):e.slice(0,l);if(a===i)return u+r;if(s&&(l+=u.length-l),Fs(a)){if(e.slice(l).search(a)){var c,d=u;for(a.global||(a=nt(a.source,Qs(Ve.exec(a))+"g")),a.lastIndex=0;c=a.exec(d);)var f=c.index;u=u.slice(0,f===i?l:f)}}else if(e.indexOf(La(a),l)!=l){var h=u.lastIndexOf(a);h>-1&&(u=u.slice(0,h))}return u+r},pr.unescape=function(e){return(e=Qs(e))&&Ee.test(e)?e.replace(_e,Pn):e},pr.uniqueId=function(e){var t=++dt;return Qs(e)+t},pr.upperCase=_l,pr.upperFirst=Cl,pr.each=Qo,pr.eachRight=$o,pr.first=yo,Pl(pr,(ql={},qr(pr,function(e,t){ct.call(pr.prototype,t)||(ql[t]=e)}),ql),{chain:!1}),pr.VERSION="4.17.5",Kt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){pr[e].placeholder=pr}),Kt(["drop","take"],function(e,t){Ar.prototype[e]=function(n){n=n===i?1:$n(js(n),0);var r=this.__filtered__&&!t?new Ar(this):this.clone();return r.__filtered__?r.__takeCount__=Kn(n,r.__takeCount__):r.__views__.push({size:Kn(n,L),type:e+(r.__dir__<0?"Right":"")}),r},Ar.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Kt(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==N||3==n;Ar.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Di(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Kt(["head","last"],function(e,t){var n="take"+(t?"Right":"");Ar.prototype[e]=function(){return this[n](1).value()[0]}}),Kt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Ar.prototype[e]=function(){return this.__filtered__?new Ar(this):this[n](1)}}),Ar.prototype.compact=function(){return this.filter(Bl)},Ar.prototype.find=function(e){return this.filter(e).head()},Ar.prototype.findLast=function(e){return this.reverse().find(e)},Ar.prototype.invokeMap=Ea(function(e,t){return"function"==typeof e?new Ar(this):this.map(function(n){return aa(n,e,t)})}),Ar.prototype.reject=function(e){return this.filter(ls(Di(e)))},Ar.prototype.slice=function(e,t){e=js(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Ar(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=js(t))<0?n.dropRight(-t):n.take(t-e)),n)},Ar.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ar.prototype.toArray=function(){return this.take(L)},qr(Ar.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=pr[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);a&&(pr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Ar,u=s[0],c=l||gs(t),d=function(e){var t=a.apply(pr,en([e],s));return r&&f?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var f=this.__chain__,h=!!this.__actions__.length,p=o&&!f,m=l&&!h;if(!o&&c){t=m?t:new Ar(this);var v=e.apply(t,s);return v.__actions__.push({func:Ro,args:[d],thisArg:i}),new gr(v,f)}return p&&m?e.apply(this,s):(v=this.thru(d),p?r?v.value()[0]:v.value():v)})}),Kt(["pop","push","shift","sort","splice","unshift"],function(e){var t=it[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);pr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(gs(a)?a:[],e)}return this[n](function(n){return t.apply(gs(n)?n:[],e)})}}),qr(Ar.prototype,function(e,t){var n=pr[t];if(n){var r=n.name+"";(ir[r]||(ir[r]=[])).push({name:t,func:n})}}),ir[pi(i,A).name]=[{name:"wrapper",func:i}],Ar.prototype.clone=function(){var e=new Ar(this.__wrapped__);return e.__actions__=ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ri(this.__views__),e},Ar.prototype.reverse=function(){if(this.__filtered__){var e=new Ar(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ar.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=gs(e),r=t<0,a=n?e.length:0,i=function(e,t,n){for(var r=-1,a=n.length;++r=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},pr.prototype.plant=function(e){for(var t,n=this;n instanceof vr;){var r=fo(n);r.__index__=0,r.__values__=i,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},pr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ar){var t=e;return this.__actions__.length&&(t=new Ar(this)),(t=t.reverse()).__actions__.push({func:Ro,args:[ko],thisArg:i}),new gr(t,this.__chain__)}return this.thru(ko)},pr.prototype.toJSON=pr.prototype.valueOf=pr.prototype.value=function(){return Ua(this.__wrapped__,this.__actions__)},pr.prototype.first=pr.prototype.head,zt&&(pr.prototype[zt]=function(){return this}),pr}();Ot._=In,(a=function(){return In}.call(t,n,t,r))===i||(r.exports=a)}).call(this)}).call(this,n(69),n(124)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(831),i=(r=a)&&r.__esModule?r:{default:r};t.default=i.default},function(e,t,n){"use strict";n(291),n(16),n(17),n(51),n(165);var r=n(14);function a(e,t){for(var n=0;n0?a(r(e),9007199254740991):0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(8)),a=m(n(6)),i=m(n(7)),o=m(n(9)),s=m(n(10)),l=m(n(121)),u=m(n(233)),c=m(n(13)),d=m(n(344));t.withOptions=function(e,t){return{handler:e,options:g(t)}};var f=m(n(0)),h=(m(n(3)),m(n(220))),p=(m(n(18)),n(852));function m(e){return e&&e.__esModule?e:{default:e}}var v={capture:!1,passive:!1};function g(e){return(0,d.default)({},v,e)}function A(e,t,n){var r=[e,t];return r.push(p.passiveOption?n:n.capture),r}function y(e,t,n,r){e.addEventListener.apply(e,A(t,n,r))}function b(e,t,n,r){e.removeEventListener.apply(e,A(t,n,r))}var w=function(e){function t(){return(0,a.default)(this,t),(0,o.default)(this,(t.__proto__||(0,r.default)(t)).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"shouldComponentUpdate",value:function(e){return!(0,h.default)(this.props,e)}},{key:"componentWillUpdate",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"addListeners",value:function(){this.applyListeners(y)}},{key:"removeListeners",value:function(){this.applyListeners(b)}},{key:"applyListeners",value:function(e){var t=this.props.target;if(t){var n=t;"string"==typeof t&&(n=window[t]),function(e,t){e.children,e.target;var n=(0,c.default)(e,["children","target"]);(0,u.default)(n).forEach(function(e){if("on"===e.substring(0,2)){var r=n[e],a=void 0===r?"undefined":(0,l.default)(r),i="object"===a;if(i||"function"===a){var o="capture"===e.substr(-7).toLowerCase(),s=e.substring(2).toLowerCase();s=o?s.substring(0,s.length-7):s,i?t(s,r.handler,r.options):t(s,r,g({capture:o}))}}})}(this.props,e.bind(null,n))}}},{key:"render",value:function(){return this.props.children||null}}]),t}(f.default.Component);w.propTypes={},t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertColorToString=o,t.convertHexToRGB=s,t.decomposeColor=l,t.getContrastRatio=function(e,t){var n=u(e),r=u(t),a=(Math.max(n,r)+.05)/(Math.min(n,r)+.05);return Number(a.toFixed(2))},t.getLuminance=u,t.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?c(e,t):d(e,t)},t.fade=function(e,t){e=l(e),t=i(t,0,1),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a");return e.values[3]=t,o(e)},t.darken=c,t.lighten=d;var r,a=n(18);(r=a)&&r.__esModule;function i(e,t,n){return en?n:e}function o(e){var t=e.type,n=e.values;if(t.indexOf("rgb")>-1)for(var r=0;r<3;r++)n[r]=parseInt(n[r]);var a=void 0;return a=t.indexOf("hsl")>-1?e.type+"("+n[0]+", "+n[1]+"%, "+n[2]+"%":e.type+"("+n[0]+", "+n[1]+", "+n[2],4===n.length?a+=", "+e.values[3]+")":a+=")",a}function s(e){if(4===e.length){for(var t="#",n=1;n-1){var t=e.values.map(function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}if(e.type.indexOf("hsl")>-1)return e.values[2]/100}function c(e,t){if(e=l(e),t=i(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]*=1-t;return o(e)}function d(e,t){if(e=l(e),t=i(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]+=(255-e.values[n])*t;return o(e)}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var a=(o=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),i=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(i).concat([a]).join("\n")}var o;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},a=0;a=0&&c.splice(t,1)}function v(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return g(t,e.attrs),p(e,t),t}function g(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function A(e,t){var n,r,a,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var o=u++;n=l||(l=v(t)),r=w.bind(null,n,o,!1),a=w.bind(null,n,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),p(e,t),t}(t),r=function(e,t,n){var r=n.css,a=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||i)&&(r=d(r));a&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var o=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(o),s&&URL.revokeObjectURL(s)}.bind(null,n,t),a=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),a=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=o()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return f(n,t),function(e){for(var r=[],a=0;a2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"password";return e.getHttpClient().post("/login/".concat(f),o.a.stringify({username:t,password:n,grantType:a,rememberMe:r,appId:"dash-"+u.a.generateUuid()}),{headers:{"Content-Type":s.c.APPLICATION_WWW_FORM_URLENCODED}})}},{key:"getAccessTokenWithRefreshToken",value:function(){return e.getHttpClient().post("/login/".concat(f),o.a.stringify({grantType:"refresh_token",rememberMe:!0}),{headers:{"Content-Type":s.c.APPLICATION_WWW_FORM_URLENCODED,Authorization:"Bearer "+l.a.getCookie("PRT"),Accept:s.c.APPLICATION_JSON}})}},{key:"logout",value:function(t){return e.getHttpClient().post("/logout/".concat(f),null,{headers:{Authorization:"Bearer ".concat(t)}})}},{key:"ssoLogout",value:function(t,n){return e.getHttpClient().get("/logout/slo/".concat(f),{headers:{Authorization:"Bearer ".concat(t),Fid:n}})}},{key:"getAuthType",value:function(){return e.getHttpClient().get("/login/auth-type")}},{key:"getRoles",value:function(){var t=e.getHttpClient();return t.defaults.headers.common.Authorization="Bearer "+l.a.getUser().SDID,t.get("".concat(window.contextPath,"/apis/dashboards/roles"))}},{key:"getUserRoles",value:function(t){var n=e.getHttpClient();return n.defaults.headers.common.Authorization="Bearer "+l.a.getUser().SDID,n.get("".concat(window.contextPath,"/apis/dashboards/roles/").concat(t))}}],(n=null)&&c(t.prototype,n),r&&c(t,r),e}()},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(58),a=n(140);e.exports=n(59)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(141);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(116);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(89),a=n(50),i=n(224),o=n(117),s=n(104),l=function(e,t,n){var u,c,d,f=e&l.F,h=e&l.G,p=e&l.S,m=e&l.P,v=e&l.B,g=e&l.W,A=h?a:a[t]||(a[t]={}),y=A.prototype,b=h?r:p?r[t]:(r[t]||{}).prototype;for(u in h&&(n=t),n)(c=!f&&b&&void 0!==b[u])&&s(A,u)||(d=c?b[u]:n[u],A[u]=h&&"function"!=typeof b[u]?n[u]:v&&c?i(d,r):g&&b[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?i(Function.call,d):d,m&&((A.virtual||(A.virtual={}))[u]=d,e&l.R&&y&&!y[u]&&o(y,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(102),a=n(345),i=n(225),o=Object.defineProperty;t.f=n(103)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return o(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}},function(e,t,n){"use strict";var r=n(179),a=n(420),i=n(143),o=n(115);e.exports=n(278)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function e(e,t){for(var n=0;n4)&&[Number(t[1]),Number(t[2]),Number(t[3]),Number(t[4])]},h=function(e){return[Math.min(e[0],255),Math.min(e[1],255),Math.min(e[2],255),e.length>3?e[3]:null]},p=function(e){var t=v[e.toLowerCase()];return t||!1},m=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=Array.isArray(t)?h(t):o(t)||c(t)||f(t)||p(t)||l(t)||[0,0,0,null],a=r(n,4),i=a[0],s=a[1],u=a[2],d=a[3];this.r=i,this.g=s,this.b=u,this.a=d}return a(e,[{key:"isTransparent",value:function(){return 0===this.a}},{key:"toString",value:function(){return null!==this.a&&1!==this.a?"rgba("+this.r+","+this.g+","+this.b+","+this.a+")":"rgb("+this.r+","+this.g+","+this.b+")"}}]),e}();t.default=m;var v={transparent:[0,0,0,0],aliceblue:[240,248,255,null],antiquewhite:[250,235,215,null],aqua:[0,255,255,null],aquamarine:[127,255,212,null],azure:[240,255,255,null],beige:[245,245,220,null],bisque:[255,228,196,null],black:[0,0,0,null],blanchedalmond:[255,235,205,null],blue:[0,0,255,null],blueviolet:[138,43,226,null],brown:[165,42,42,null],burlywood:[222,184,135,null],cadetblue:[95,158,160,null],chartreuse:[127,255,0,null],chocolate:[210,105,30,null],coral:[255,127,80,null],cornflowerblue:[100,149,237,null],cornsilk:[255,248,220,null],crimson:[220,20,60,null],cyan:[0,255,255,null],darkblue:[0,0,139,null],darkcyan:[0,139,139,null],darkgoldenrod:[184,134,11,null],darkgray:[169,169,169,null],darkgreen:[0,100,0,null],darkgrey:[169,169,169,null],darkkhaki:[189,183,107,null],darkmagenta:[139,0,139,null],darkolivegreen:[85,107,47,null],darkorange:[255,140,0,null],darkorchid:[153,50,204,null],darkred:[139,0,0,null],darksalmon:[233,150,122,null],darkseagreen:[143,188,143,null],darkslateblue:[72,61,139,null],darkslategray:[47,79,79,null],darkslategrey:[47,79,79,null],darkturquoise:[0,206,209,null],darkviolet:[148,0,211,null],deeppink:[255,20,147,null],deepskyblue:[0,191,255,null],dimgray:[105,105,105,null],dimgrey:[105,105,105,null],dodgerblue:[30,144,255,null],firebrick:[178,34,34,null],floralwhite:[255,250,240,null],forestgreen:[34,139,34,null],fuchsia:[255,0,255,null],gainsboro:[220,220,220,null],ghostwhite:[248,248,255,null],gold:[255,215,0,null],goldenrod:[218,165,32,null],gray:[128,128,128,null],green:[0,128,0,null],greenyellow:[173,255,47,null],grey:[128,128,128,null],honeydew:[240,255,240,null],hotpink:[255,105,180,null],indianred:[205,92,92,null],indigo:[75,0,130,null],ivory:[255,255,240,null],khaki:[240,230,140,null],lavender:[230,230,250,null],lavenderblush:[255,240,245,null],lawngreen:[124,252,0,null],lemonchiffon:[255,250,205,null],lightblue:[173,216,230,null],lightcoral:[240,128,128,null],lightcyan:[224,255,255,null],lightgoldenrodyellow:[250,250,210,null],lightgray:[211,211,211,null],lightgreen:[144,238,144,null],lightgrey:[211,211,211,null],lightpink:[255,182,193,null],lightsalmon:[255,160,122,null],lightseagreen:[32,178,170,null],lightskyblue:[135,206,250,null],lightslategray:[119,136,153,null],lightslategrey:[119,136,153,null],lightsteelblue:[176,196,222,null],lightyellow:[255,255,224,null],lime:[0,255,0,null],limegreen:[50,205,50,null],linen:[250,240,230,null],magenta:[255,0,255,null],maroon:[128,0,0,null],mediumaquamarine:[102,205,170,null],mediumblue:[0,0,205,null],mediumorchid:[186,85,211,null],mediumpurple:[147,112,219,null],mediumseagreen:[60,179,113,null],mediumslateblue:[123,104,238,null],mediumspringgreen:[0,250,154,null],mediumturquoise:[72,209,204,null],mediumvioletred:[199,21,133,null],midnightblue:[25,25,112,null],mintcream:[245,255,250,null],mistyrose:[255,228,225,null],moccasin:[255,228,181,null],navajowhite:[255,222,173,null],navy:[0,0,128,null],oldlace:[253,245,230,null],olive:[128,128,0,null],olivedrab:[107,142,35,null],orange:[255,165,0,null],orangered:[255,69,0,null],orchid:[218,112,214,null],palegoldenrod:[238,232,170,null],palegreen:[152,251,152,null],paleturquoise:[175,238,238,null],palevioletred:[219,112,147,null],papayawhip:[255,239,213,null],peachpuff:[255,218,185,null],peru:[205,133,63,null],pink:[255,192,203,null],plum:[221,160,221,null],powderblue:[176,224,230,null],purple:[128,0,128,null],rebeccapurple:[102,51,153,null],red:[255,0,0,null],rosybrown:[188,143,143,null],royalblue:[65,105,225,null],saddlebrown:[139,69,19,null],salmon:[250,128,114,null],sandybrown:[244,164,96,null],seagreen:[46,139,87,null],seashell:[255,245,238,null],sienna:[160,82,45,null],silver:[192,192,192,null],skyblue:[135,206,235,null],slateblue:[106,90,205,null],slategray:[112,128,144,null],slategrey:[112,128,144,null],snow:[255,250,250,null],springgreen:[0,255,127,null],steelblue:[70,130,180,null],tan:[210,180,140,null],teal:[0,128,128,null],thistle:[216,191,216,null],tomato:[255,99,71,null],turquoise:[64,224,208,null],violet:[238,130,238,null],wheat:[245,222,179,null],white:[255,255,255,null],whitesmoke:[245,245,245,null],yellow:[255,255,0,null],yellowgreen:[154,205,50,null]};t.TRANSPARENT=new m([0,0,0,0])},function(e,t,n){var r=n(453),a=n(1992),i=n(2050),o=n(63);e.exports=function(e,t){return(o(e)?r:i)(e,a(t,3))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(920),i=(r=a)&&r.__esModule?r:{default:r};t.default=i.default},function(e,t,n){"use strict";n.d(t,"a",function(){return m});n(16),n(17),n(415);var r=n(0),a=n.n(r),i=n(29),o=n(3),s=n.n(o);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;ni;)o(n[i++]);e._c=[],e._n=!1,t&&!e._h&&P(e)})}},P=function(e){g.call(l,function(){var t,n,r,a=e._v,i=I(e);if(i&&(t=b(function(){M?E.emit("unhandledRejection",a,e):(n=l.onunhandledrejection)?n({promise:e,reason:a}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",a)}),e._h=M||I(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){g.call(l,function(){var t;M?E.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},L=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),O(t,!0))},z=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw C("Promise can't be resolved itself");(t=F(e))?A(function(){var r={_w:n,_d:!1};try{t.call(e,u(z,r,1),u(L,r,1))}catch(e){L.call(r,e)}}):(n._v=e,n._s=1,O(n,!1))}catch(e){L.call({_w:n,_d:!1},e)}}};N||(k=function(e){p(this,k,"Promise","_h"),h(e),r.call(this);try{e(u(z,this,1),u(L,this,1))}catch(e){L.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(212)(k.prototype,{then:function(e,t){var n=B(v(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&O(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(z,e,1),this.reject=u(L,e,1)},y.f=B=function(e){return e===k||e===o?new i(e):a(e)}),d(d.G+d.W+d.F*!N,{Promise:k}),n(142)(k,"Promise"),n(329)("Promise"),o=n(98).Promise,d(d.S+d.F*!N,"Promise",{reject:function(e){var t=B(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!N),"Promise",{resolve:function(e){return _(s&&this===o?k:this,e)}}),d(d.S+d.F*!(N&&n(213)(function(e){k.all(e).catch(T)})),"Promise",{all:function(e){var t=this,n=B(t),r=n.resolve,a=n.reject,i=b(function(){var n=[],i=0,o=1;m(e,!1,function(e){var s=i++,l=!1;n.push(void 0),o++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--o||r(n))},a)}),--o||r(n)});return i.e&&a(i.v),n.promise},race:function(e){var t=this,n=B(t),r=n.reject,a=b(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return a.e&&r(a.v),n.promise}})},function(e,t,n){"use strict";var r=n(330),a=n(48),i=n(326),o=n(214),s=n(74),l=n(163),u=n(215),c=n(52),d=Math.min,f=[].push,h=!c(function(){RegExp(4294967295,"y")});n(164)("split",2,function(e,t,n,c){var p;return p="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var a=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(a,e,t);for(var i,o,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,h=void 0===t?4294967295:t>>>0,p=new RegExp(e.source,c+"g");(i=u.call(p,a))&&!((o=p.lastIndex)>d&&(l.push(a.slice(d,i.index)),i.length>1&&i.index=h));)p.lastIndex===i.index&&p.lastIndex++;return d===a.length?!s&&p.test("")||l.push(""):l.push(a.slice(d)),l.length>h?l.slice(0,h):l}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var a=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,a,r):p.call(String(a),n,r)},function(e,t){var r=c(p,e,this,t,p!==n);if(r.done)return r.value;var u=a(e),f=String(this),m=i(u,RegExp),v=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(h?"y":"g"),A=new m(h?u:"^(?:"+u.source+")",g),y=void 0===t?4294967295:t>>>0;if(0===y)return[];if(0===f.length)return null===l(A,f)?[f]:[];for(var b=0,w=0,_=[];w1&&(r/=m,i/=m,o/=m,s/=m,l/=m,d/=m,f/=m,h/=m);var v=e.width-o,g=e.height-d,A=e.width-l,y=e.height-h;return{topLeftOuter:r>0||i>0?c(e.left,e.top,r,i,u.TOP_LEFT):new a.default(e.left,e.top),topLeftInner:r>0||i>0?c(e.left+t[3].borderWidth,e.top+t[0].borderWidth,Math.max(0,r-t[3].borderWidth),Math.max(0,i-t[0].borderWidth),u.TOP_LEFT):new a.default(e.left+t[3].borderWidth,e.top+t[0].borderWidth),topRightOuter:o>0||s>0?c(e.left+v,e.top,o,s,u.TOP_RIGHT):new a.default(e.left+e.width,e.top),topRightInner:o>0||s>0?c(e.left+Math.min(v,e.width+t[3].borderWidth),e.top+t[0].borderWidth,v>e.width+t[3].borderWidth?0:o-t[3].borderWidth,s-t[0].borderWidth,u.TOP_RIGHT):new a.default(e.left+e.width-t[1].borderWidth,e.top+t[0].borderWidth),bottomRightOuter:l>0||d>0?c(e.left+A,e.top+g,l,d,u.BOTTOM_RIGHT):new a.default(e.left+e.width,e.top+e.height),bottomRightInner:l>0||d>0?c(e.left+Math.min(A,e.width-t[3].borderWidth),e.top+Math.min(g,e.height+t[0].borderWidth),Math.max(0,l-t[1].borderWidth),d-t[2].borderWidth,u.BOTTOM_RIGHT):new a.default(e.left+e.width-t[1].borderWidth,e.top+e.height-t[2].borderWidth),bottomLeftOuter:f>0||h>0?c(e.left,e.top+y,f,h,u.BOTTOM_LEFT):new a.default(e.left,e.top+e.height),bottomLeftInner:f>0||h>0?c(e.left+t[3].borderWidth,e.top+y,Math.max(0,f-t[3].borderWidth),h-t[2].borderWidth,u.BOTTOM_LEFT):new a.default(e.left+t[3].borderWidth,e.top+e.height-t[2].borderWidth)}},{TOP_LEFT:0,TOP_RIGHT:1,BOTTOM_RIGHT:2,BOTTOM_LEFT:3}),c=function(e,t,n,r,o){var s=(Math.sqrt(2)-1)/3*4,l=n*s,c=r*s,d=e+n,f=t+r;switch(o){case u.TOP_LEFT:return new i.default(new a.default(e,f),new a.default(e,f-c),new a.default(d-l,t),new a.default(d,t));case u.TOP_RIGHT:return new i.default(new a.default(e,t),new a.default(e+l,t),new a.default(d,f-c),new a.default(d,f));case u.BOTTOM_RIGHT:return new i.default(new a.default(d,t),new a.default(d,t+c),new a.default(e+l,f),new a.default(e,f));case u.BOTTOM_LEFT:default:return new i.default(new a.default(d,f),new a.default(d-l,f),new a.default(e,t+c),new a.default(e,t))}}},function(e,t,n){var r=n(154),a=n(1981),i=n(1982),o="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:o:l&&l in Object(e)?a(e):i(e)}},function(e,t,n){var r=n(2005),a=n(2008);e.exports=function(e,t){var n=a(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),a=o(n(2)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}))};(s=(0,a.default)(s)).displayName="ActionDelete",s.muiName="SvgIcon",t.default=s},function(e,t,n){(e.exports=n(77)(!1)).push([e.i,".lm_goldenlayout{background:#081921}.lm_content{background:#13222a;border-color:#13222a}.lm_dragProxy .lm_content{box-shadow:2px 2px 4px rgba(0,0,0,.9)}.lm_dropTargetIndicator{box-shadow:inset 0 0 30px #000;outline:#ccc dashed 1px;transition:all .2s ease}.lm_dropTargetIndicator .lm_inner{background:#000;opacity:.2}.lm_splitter{background:#081921;transition:opacity .2s ease}.lm_splitter.lm_dragging,.lm_splitter:hover{background:#444;opacity:1}.lm_header{height:25px!important;user-select:none;background-color:#192830}.lm_header.lm_selectable{cursor:pointer;background:#192830;height:37px}.lm_header .lm_tab{font-family:Arial,sans-serif;border:none;margin-right:1px;background:#192830;color:#bbb;font-size:12px;box-shadow:none;padding-top:4px;padding-bottom:5px}.lm_header .lm_tab .lm_close_tab{width:11px;height:11px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAATElEQVR4nG3OwQ0DMQwDwZGRBtR/j1YJzMc5+IDoR+yCVO29g+pu981MFgqZmRdAfU7+CYWcbF11LwALjpBL0N0qybNx/RPU+gOeiS/+XCRwDlTgkQAAAABJRU5ErkJggg==);background-position:center center;background-repeat:no-repeat;top:11px;right:6px;opacity:.4}.lm_header .lm_tab .lm_close_tab:hover,.lm_header .lm_tab.lm_active .lm_close_tab{opacity:1}.lm_header .lm_tab.lm_active{box-shadow:none;background:#192830;height:16px;margin-top:0;border:none}.lm_dragProxy.lm_bottom .lm_header .lm_tab,.lm_stack.lm_bottom .lm_header .lm_tab{box-shadow:2px 2px 2px rgba(0,0,0,.3)}.lm_dragProxy.lm_bottom .lm_header .lm_tab.lm_active,.lm_stack.lm_bottom .lm_header .lm_tab.lm_active{box-shadow:0 2px 2px #000}.lm_selected .lm_header{background-color:#452500}.lm_tab.lm_active,.lm_tab:hover{background:#222;color:#bbb}.lm_tab:hover{background:#1d2e38}.lm_header .lm_controls{padding:3px}.lm_header .lm_controls .lm_tabdropdown:before{color:#fff}.lm_controls>li{position:relative;background-position:center center;background-repeat:no-repeat;opacity:.4;transition:opacity .3s ease}.lm_controls>li:hover{opacity:1}.lm_controls .lm_popout{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAPklEQVR4nI2Q0QoAIAwCNfr/X7aXCpGN8snBdgejJOzckpkxs9jR6K6T5JpU0nWl5pSXTk7qwh8SnNT+CAAWCgkKFpuSWsUAAAAASUVORK5CYII=)}.lm_controls .lm_maximise{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAKElEQVR4nGP8////fwYCgImQAgYGBgYWKM2IR81/okwajIpgvsMbVgAwgQYRVakEKQAAAABJRU5ErkJggg==)}.lm_controls .lm_close{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAQUlEQVR4nHXOQQ4AMAgCQeT/f6aXpsGK3jSTuCVJAAr7iBdoAwCKd0nwfaAdHbYERw5b44+E8JoBjEYGMBq5gAYP3usUDu2IvoUAAAAASUVORK5CYII=)}.lm_maximised .lm_header{background-color:#000}.lm_maximised .lm_controls .lm_maximise{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJ0lEQVR4nGP8//8/AzGAiShVI1YhCwMDA8OsWbPwBmZaWhoj0SYCAN1lBxMAX4n0AAAAAElFTkSuQmCC) no-repeat}.lm_transition_indicator{background-color:#000;border:1px dashed #555}.lm_popin{cursor:pointer}.lm_popin .lm_bg{background:#fff;opacity:.3}.lm_popin .lm_icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAWklEQVR4nJWOyw3AIAxDHcQC7L8jbwT3AlJBfNp3SiI7dtRaLSlKKeoA1oEsKSQZCEluexw8Tm3ohk+E7bnOUHUGcNh+HwbBygw4AZ7FN/Lt84p0l+yTflV8AKQyLdcCRJi/AAAAAElFTkSuQmCC);background-position:center center;background-repeat:no-repeat;border-left:1px solid #eee;border-top:1px solid #eee;opacity:.7}.lm_popin:hover .lm_icon{opacity:1}",""])},function(e,t,n){"use strict";var r=n(770).default;n(777),(t=e.exports=r).default=t},function(e,t,n){var r=n(318),a=n(205);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t,n){var r=n(203),a=n(116);e.exports=function(e){return r(a(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(90),a=n(144);e.exports=n(103)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(348),a=n(227);e.exports=function(e){return r(a(e))}},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(805)),a=o(n(814)),i="function"==typeof a.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function o(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof a.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t){e.exports={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(12)),a=b(n(13)),i=b(n(8)),o=b(n(6)),s=b(n(7)),l=b(n(9)),u=b(n(10)),c=b(n(11)),d=n(0),f=b(d),h=b(n(3)),p=b(n(37)),m=b(n(75)),v=b(n(368)),g=(b(n(56)),b(n(40))),A=b(n(858)),y=b(n(859));function b(e){return e&&e.__esModule?e:{default:e}}var w={root:{display:"none"}},_=function(e){function t(e,n){(0,o.default)(this,t);var s=(0,l.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e,n));return s.timeout=null,s.renderLayer=function(){var e=s.props,t=e.animated,n=e.animation,i=(e.anchorEl,e.anchorOrigin,e.autoCloseWhenOffScreen,e.canAutoPosition,e.children),o=(e.onRequestClose,e.style),l=e.targetOrigin,u=(e.useLayerForClickAway,e.scrollableContainer,(0,a.default)(e,["animated","animation","anchorEl","anchorOrigin","autoCloseWhenOffScreen","canAutoPosition","children","onRequestClose","style","targetOrigin","useLayerForClickAway","scrollableContainer"])),d=o;if(!t)return d={position:"fixed",zIndex:s.context.muiTheme.zIndex.popover},s.state.open?f.default.createElement(g.default,(0,r.default)({style:(0,c.default)(d,o)},u),i):null;var h=n||y.default;return f.default.createElement(h,(0,r.default)({targetOrigin:l,style:d},u,{open:s.state.open&&!s.state.closing}),i)},s.componentClickAway=function(){s.requestClose("clickAway")},s.setPlacement=function(e){if(s.state.open&&s.popoverRefs.layer.getLayer()){var t=s.popoverRefs.layer.getLayer().children[0];if(t){var n=s.props,r=n.targetOrigin,a=n.anchorOrigin,i=s.props.anchorEl||s.anchorEl,o=s.getAnchorPosition(i),l=s.getTargetPosition(t),u={top:o[a.vertical]-l[r.vertical],left:o[a.horizontal]-l[r.horizontal]};e&&s.props.autoCloseWhenOffScreen&&s.autoCloseWhenOffScreen(o),s.props.canAutoPosition&&(l=s.getTargetPosition(t),u=s.applyAutoPositionIfNeeded(o,l,r,a,u)),t.style.top=u.top+"px",t.style.left=u.left+"px",t.style.maxHeight=window.innerHeight+"px"}}},s.handleResize=(0,A.default)(s.setPlacement,100),s.handleScroll=(0,A.default)(s.setPlacement.bind(s,!0),50),s.popoverRefs={},s.state={open:e.open,closing:!1},s}return(0,u.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.placementTimeout=setTimeout(this.setPlacement)}},{key:"componentWillReceiveProps",value:function(e){var t=this;if(e.open!==this.props.open)if(e.open)clearTimeout(this.timeout),this.timeout=null,this.anchorEl=e.anchorEl||this.props.anchorEl,this.setState({open:!0,closing:!1});else if(e.animated){if(null!==this.timeout)return;this.setState({closing:!0}),this.timeout=setTimeout(function(){t.setState({open:!1},function(){t.timeout=null})},500)}else this.setState({open:!1})}},{key:"componentDidUpdate",value:function(){clearTimeout(this.placementTimeout),this.placementTimeout=setTimeout(this.setPlacement)}},{key:"componentWillUnmount",value:function(){this.handleResize.cancel(),this.handleScroll.cancel(),this.placementTimeout&&(clearTimeout(this.placementTimeout),this.placementTimeout=null),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}},{key:"requestClose",value:function(e){this.props.onRequestClose&&this.props.onRequestClose(e)}},{key:"getAnchorPosition",value:function(e){e||(e=p.default.findDOMNode(this));var t=e.getBoundingClientRect(),n={top:t.top,left:t.left,width:e.offsetWidth,height:e.offsetHeight};return n.right=t.right||n.left+n.width,n.bottom=t.bottom||n.top+n.height,n.middle=n.left+(n.right-n.left)/2,n.center=n.top+(n.bottom-n.top)/2,n}},{key:"getTargetPosition",value:function(e){return{top:0,center:e.offsetHeight/2,bottom:e.offsetHeight,left:0,middle:e.offsetWidth/2,right:e.offsetWidth}}},{key:"autoCloseWhenOffScreen",value:function(e){(e.top<0||e.top>window.innerHeight||e.left<0||e.left>window.innerWidth)&&this.requestClose("offScreen")}},{key:"getOverlapMode",value:function(e,t,n){return[e,t].indexOf(n)>=0?"auto":e===t?"inclusive":"exclusive"}},{key:"getPositions",value:function(e,t){var n=(0,r.default)({},e),a=(0,r.default)({},t),i={x:["left","right"].filter(function(e){return e!==a.horizontal}),y:["top","bottom"].filter(function(e){return e!==a.vertical})},o=this.getOverlapMode(n.horizontal,a.horizontal,"middle"),s=this.getOverlapMode(n.vertical,a.vertical,"center");return i.x.splice("auto"===o?0:1,0,"middle"),i.y.splice("auto"===s?0:1,0,"center"),"auto"!==s&&(n.vertical="top"===n.vertical?"bottom":"top","inclusive"===s&&(a.vertical=a.vertical)),"auto"!==o&&(n.horizontal="left"===n.horizontal?"right":"left","inclusive"===s&&(a.horizontal=a.horizontal)),{positions:i,anchorPos:n}}},{key:"applyAutoPositionIfNeeded",value:function(e,t,n,r,a){var i=this.getPositions(r,n),o=i.positions,s=i.anchorPos;if(a.top<0||a.top+t.bottom>window.innerHeight){var l=e[s.vertical]-t[o.y[0]];l+t.bottom<=window.innerHeight?a.top=Math.max(0,l):(l=e[s.vertical]-t[o.y[1]])+t.bottom<=window.innerHeight&&(a.top=Math.max(0,l))}if(a.left<0||a.left+t.right>window.innerWidth){var u=e[s.horizontal]-t[o.x[0]];u+t.right<=window.innerWidth?a.left=Math.max(0,u):(u=e[s.horizontal]-t[o.x[1]])+t.right<=window.innerWidth&&(a.left=Math.max(0,u))}return a}},{key:"render",value:function(){var e=this;return f.default.createElement("div",{style:w.root},f.default.createElement(m.default,{target:this.props.scrollableContainer,onScroll:this.handleScroll,onResize:this.handleResize}),f.default.createElement(v.default,{ref:function(t){return e.popoverRefs.layer=t},open:this.state.open,componentClickAway:this.componentClickAway,useLayerForClickAway:this.props.useLayerForClickAway,render:this.renderLayer}))}}]),t}(d.Component);_.defaultProps={anchorOrigin:{vertical:"bottom",horizontal:"left"},animated:!0,autoCloseWhenOffScreen:!0,canAutoPosition:!0,onRequestClose:function(){},open:!1,scrollableContainer:"window",style:{overflowY:"auto"},targetOrigin:{vertical:"top",horizontal:"left"},useLayerForClickAway:!0,zDepth:1},_.contextTypes={muiTheme:h.default.object.isRequired},_.propTypes={},t.default=_},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(n)return[e,t];return e},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=function(){function e(e,t){for(var n=0;n0&&this.style.visibility===S.VISIBILITY.VISIBLE}},{key:"isAbsolutelyPositioned",value:function(){return this.style.position!==w.POSITION.STATIC&&this.style.position!==w.POSITION.RELATIVE}},{key:"isPositioned",value:function(){return this.style.position!==w.POSITION.STATIC}},{key:"isFloating",value:function(){return this.style.float!==f.FLOAT.NONE}},{key:"isRootElement",value:function(){return null===this.parent}},{key:"isTransformed",value:function(){return null!==this.style.transform}},{key:"isPositionedWithZIndex",value:function(){return this.isPositioned()&&!this.style.zIndex.auto}},{key:"isInlineLevel",value:function(){return(0,s.contains)(this.style.display,d.DISPLAY.INLINE)||(0,s.contains)(this.style.display,d.DISPLAY.INLINE_BLOCK)||(0,s.contains)(this.style.display,d.DISPLAY.INLINE_FLEX)||(0,s.contains)(this.style.display,d.DISPLAY.INLINE_GRID)||(0,s.contains)(this.style.display,d.DISPLAY.INLINE_LIST_ITEM)||(0,s.contains)(this.style.display,d.DISPLAY.INLINE_TABLE)}},{key:"isInlineBlockOrInlineTable",value:function(){return(0,s.contains)(this.style.display,d.DISPLAY.INLINE_BLOCK)||(0,s.contains)(this.style.display,d.DISPLAY.INLINE_TABLE)}}]),e}();t.default=O;var P=function(e,t){if(e instanceof e.ownerDocument.defaultView.SVGSVGElement||e instanceof SVGSVGElement){var n=new XMLSerializer;return t.loadImage("data:image/svg+xml,"+encodeURIComponent(n.serializeToString(e)))}switch(e.tagName){case"IMG":var r=e;return t.loadImage(r.currentSrc||r.src);case"CANVAS":var a=e;return t.loadCanvas(a);case"IFRAME":var i=e.getAttribute("data-html2canvas-internal-iframe-key");if(i)return i}return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.contains=function(e,t){return 0!=(e&t)},t.distance=function(e,t){return Math.sqrt(e*e+t*t)},t.copyCSSStyles=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);"content"!==r&&t.style.setProperty(r,e.getPropertyValue(r))}return t},t.SMALL_IMAGE="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},function(e,t,n){"use strict";var r=n(49),a=n(1934)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),n(179)("find")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(882),i=(r=a)&&r.__esModule?r:{default:r};t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(888),i=(r=a)&&r.__esModule?r:{default:r};t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(932),i=(r=a)&&r.__esModule?r:{default:r};t.default=i.default},function(e,t,n){"use strict";n.d(t,"a",function(){return d});n(1900),n(91),n(279),n(51);var r=n(133),a=n.n(r),i=n(26),o=n.n(i),s=n(20),l=n(724),u=n.n(l);function c(e,t){for(var n=0;n0&&e.getDay()===t&&(s(i),i=[]),i.push(e),n.indexOf(e)===n.length-1&&s(i)}),a}function b(e,t){var n=m(e),r=m(t);return n.getTime()r.getTime()}function _(e,t){var n=void 0;return n=12*(e.getFullYear()-t.getFullYear()),n+=e.getMonth(),n-=t.getMonth()}t.defaultUtils={getYear:u,setYear:c,addDays:d,addMonths:f,addYears:h,getFirstDayOfMonth:g,getWeekArray:y,monthDiff:_}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(12)),a=p(n(13)),i=p(n(8)),o=p(n(6)),s=p(n(7)),l=p(n(9)),u=p(n(10)),c=p(n(11)),d=n(0),f=p(d),h=p(n(3));function p(e){return e&&e.__esModule?e:{default:e}}var m=function(e){function t(){var e,n,r,a;(0,o.default)(this,t);for(var s=arguments.length,u=Array(s),c=0;c1&&void 0!==arguments[1]?arguments[1]:"ampm",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return"";var r=e.getHours(),a=e.getMinutes().toString();if("ampm"===t){var i=r<12,o=i?" am":" pm";return r=((r%=12)||12).toString(),a.length<2&&(a="0"+a),n&&"12"===r&&"00"===a?" pm"===o?"12 noon":"12 midnight":r+("00"===a?"":":"+a)+o}(r=r.toString()).length<2&&(r="0"+r);a.length<2&&(a="0"+a);return r+":"+a},t.rad2deg=function(e){return 57.29577951308232*e},t.getTouchEventOffsetValues=function(e){var t=e.target.getBoundingClientRect();return{offsetX:e.clientX-t.left,offsetY:e.clientY-t.top}},t.isInner=function(e){if("hour"!==e.type)return!1;return e.value<1||e.value>12}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseBackgroundImage=t.parseBackground=t.calculateBackgroundRepeatPath=t.calculateBackgroundPosition=t.calculateBackgroungPositioningArea=t.calculateBackgroungPaintingArea=t.calculateGradientBackgroundSize=t.calculateBackgroundSize=t.BACKGROUND_ORIGIN=t.BACKGROUND_CLIP=t.BACKGROUND_SIZE=t.BACKGROUND_REPEAT=void 0;var r=u(n(92)),a=u(n(107)),i=u(n(1907)),o=u(n(181)),s=n(108),l=n(423);function u(e){return e&&e.__esModule?e:{default:e}}var c=t.BACKGROUND_REPEAT={REPEAT:0,NO_REPEAT:1,REPEAT_X:2,REPEAT_Y:3},d=t.BACKGROUND_SIZE={AUTO:0,CONTAIN:1,COVER:2,LENGTH:3},f=t.BACKGROUND_CLIP={BORDER_BOX:0,PADDING_BOX:1,CONTENT_BOX:2},h=t.BACKGROUND_ORIGIN=f,p=function e(t){switch(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t){case"contain":this.size=d.CONTAIN;break;case"cover":this.size=d.COVER;break;case"auto":this.size=d.AUTO;break;default:this.value=new a.default(t)}},m=(t.calculateBackgroundSize=function(e,t,n){var r=0,a=0,o=e.size;if(o[0].size===d.CONTAIN||o[0].size===d.COVER){var s=n.width/n.height,l=t.width/t.height;return s0&&(e=a.substr(0,t).toLowerCase(),a=a.substr(t)),"none"!==(a=a.toLowerCase())&&n.push({prefix:e,method:a,args:r})}r=[],a=o=""};return e.split("").forEach(function(e){if(0!==s||!t.test(e)){switch(e){case'"':i?i===e&&(i=null):i=e;break;case"(":if(i)break;if(0===s)return void(s=1);l++;break;case")":if(i)break;if(1===s){if(0===l)return s=0,void u();l--}break;case",":if(i)break;if(0===s)return void u();if(1===s&&0===l&&!a.match(/^url$/i))return r.push(o.trim()),void(o="")}0===s?a+=e:o+=e}}),u(),n}},function(e,t,n){"use strict";var r=n(48),a=n(74),i=n(214),o=n(163);n(164)("match",1,function(e,t,n,s){return[function(n){var r=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=r(e),u=String(this);if(!l.global)return o(l,u);var c=l.unicode;l.lastIndex=0;for(var d,f=[],h=0;null!==(d=o(l,u));){var p=String(d[0]);f[h]=p,""===p&&(l.lastIndex=i(u,a(l.lastIndex),c)),h++}return 0===h?null:f}]})},function(e,t,n){var r=n(68).Symbol;e.exports=r},function(e,t,n){var r=n(445),a=n(1989),i=n(187);e.exports=function(e){return i(e)?r(e):a(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(861),i=(r=a)&&r.__esModule?r:{default:r};t.default=i.default},function(e,t,n){(function(r,a){var i,o;e.exports=function(){"use strict";var s,l,u,c,d,f,h,p,m,v,g,A,y,b,w,_,C,E,x,S,k,M,T,B,N,F,O,P,I,D,L,z,H,R,j,U,V,W,Q,$,K,q,G,Y,X,J,Z,ee,te,ne,re,ae,ie,oe="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},se=function(r){var a="1.3",o={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};function s(e){var t={};this.subscribe=function(e,n,r){if("function"!=typeof n)return!1;t.hasOwnProperty(e)||(t[e]={});var a=Math.random().toString(35);return t[e][a]=[n,!!r],a},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var a=Array.prototype.slice.call(arguments,1),i=[];for(var o in t[n]){var s=t[n][o];try{s[0].apply(e,a)}catch(n){r.console&&console.error("jsPDF PubSub Error",n.message,n)}s[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}}}function l(e,t,n,i){var u={};"object"===(void 0===e?"undefined":oe(e))&&(e=(u=e).orientation,t=u.unit||t,n=u.format||n,i=u.compress||u.compressPdf||i),t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase(),(""+n).toLowerCase();var c,d,f,h,p,m,v,g,A,y,b,w=!!i&&"function"==typeof Uint8Array,_=u.textColor||"0 g",C=u.drawColor||"0 G",E=u.fontSize||16,x=u.charSpace||0,S=u.R2L||!1,k=u.lineHeight||1.15,M=u.lineWidth||.200025,T="00000000000000000000000000000000",B=2,N=!1,F=[],O={},P={},I=0,D=[],L=[],z=[],H=[],R=[],j=0,U=0,V=0,W={title:"",subject:"",author:"",keywords:"",creator:""},Q={},$=new s(Q),K=u.hotfixes||[],q=function(e){var t,n=e.ch1,r=e.ch2,a=e.ch3,i=e.ch4,o=(e.precision,"draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"]);if("string"==typeof n&&"#"!==n.charAt(0)){var s=new RGBColor(n);s.ok&&(n=s.toHex())}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var l=parseInt(n.substr(1),16);n=l>>16&255,r=l>>8&255,a=255&l}if(void 0===r||void 0===i&&n===r&&r===a)if("string"==typeof n)t=n+" "+o[0];else switch(e.precision){case 2:t=J(n/255)+" "+o[0];break;case 3:default:t=Z(n/255)+" "+o[0]}else if(void 0===i||"object"===(void 0===i?"undefined":oe(i))){if("string"==typeof n)t=[n,r,a,o[1]].join(" ");else switch(e.precision){case 2:t=[J(n/255),J(r/255),J(a/255),o[1]].join(" ");break;default:case 3:t=[Z(n/255),Z(r/255),Z(a/255),o[1]].join(" ")}i&&0===i.a&&(t=["255","255","255",o[1]].join(" "))}else if("string"==typeof n)t=[n,r,a,i,o[2]].join(" ");else switch(e.precision){case 2:t=[J(n),J(r),J(a),J(i),o[2]].join(" ");break;case 3:default:t=[Z(n),Z(r),Z(a),Z(i),o[2]].join(" ")}return t},G=function(e){var t=function(e){return("0"+parseInt(e)).slice(-2)},n=e.getTimezoneOffset(),r=n<0?"+":"-",a=Math.floor(Math.abs(n/60)),i=Math.abs(n%60),o=[r,t(a),"'",t(i),"'"].join("");return["D:",e.getFullYear(),t(e.getMonth()+1),t(e.getDate()),t(e.getHours()),t(e.getMinutes()),t(e.getSeconds()),o].join("")},Y=function(e){var t;return void 0===(void 0===e?"undefined":oe(e))&&(e=new Date),t="object"===(void 0===e?"undefined":oe(e))&&"[object Date]"===Object.prototype.toString.call(e)?G(e):/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(e)?e:G(new Date),y=t},X=function(e){return e=e||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),T=e},J=function(e){return e.toFixed(2)},Z=function(e){return e.toFixed(3)},ee=function(e){e="string"==typeof e?e:e.toString(),N?D[h].push(e):(V+=e.length+1,H.push(e))},te=function(){return F[++B]=V,ee(B+" 0 obj"),B},ne=function(e){ee("stream"),ee(e),ee("endstream")},re=function(){!function(){for(var e in O)O.hasOwnProperty(e)&&(t=O[e],$.publish("putFont",{font:t,out:ee,newObject:te}),!0!==t.isAlreadyPutted&&(t.objectNumber=te(),ee("<<"),ee("/Type /Font"),ee("/BaseFont /"+t.postScriptName),ee("/Subtype /Type1"),"string"==typeof t.encoding&&ee("/Encoding /"+t.encoding),ee("/FirstChar 32"),ee("/LastChar 255"),ee(">>"),ee("endobj")));var t}(),$.publish("putResources"),F[2]=V,ee("2 0 obj"),ee("<<"),function(){for(var e in ee("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ee("/Font <<"),O)O.hasOwnProperty(e)&&ee("/"+e+" "+O[e].objectNumber+" 0 R");ee(">>"),ee("/XObject <<"),$.publish("putXobjectDict"),ee(">>")}(),ee(">>"),ee("endobj"),$.publish("postPutResources")},ae=function(e,t,n){P.hasOwnProperty(t)||(P[t]={}),P[t][n]=e},ie=function(e,t,n,r){var a="F"+(Object.keys(O).length+1).toString(10),i=O[a]={id:a,postScriptName:e,fontName:t,fontStyle:n,encoding:r,metadata:{}};return ae(a,t,n),$.publish("addFont",i),a},se=function(e,t){return function(e,t){var n,r,a,i,o,s,l,u,d;if(a=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&O[c].metadata&&O[c].metadata[a]&&O[c].metadata[a].encoding&&(i=O[c].metadata[a].encoding,!o&&O[c].encoding&&(o=O[c].encoding),!o&&i.codePages&&(o=i.codePages[0]),"string"==typeof o&&(o=i[o]),o)){for(l=!1,s=[],n=0,r=e.length;n>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(d),s.push(u-(d<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},le=function(){(function(e,t){var n="string"==typeof t&&t.toLowerCase();if("string"==typeof e){var r=e.toLowerCase();o.hasOwnProperty(r)&&(e=o[r][0]/d,t=o[r][1]/d)}if(Array.isArray(e)&&(t=e[1],e=e[0]),n){switch(n.substr(0,1)){case"l":e>"),ee("endobj"),t=D[e].join("\n"),te(),w){for(n=[],a=t.length;a--;)n[a]=t.charCodeAt(a);o=s.from(t),(i=new Deflater(6)).append(new Uint8Array(n)),t=i.flush(),(n=new Uint8Array(t.length+6)).set(new Uint8Array([120,156])),n.set(t,2),n.set(new Uint8Array([255&o,o>>8&255,o>>16&255,o>>24&255]),t.length+2),t=String.fromCharCode.apply(null,n),ee("<>")}else ee("<>");ne(t),ee("endobj")}F[1]=V,ee("1 0 obj"),ee("<>"),ee("endobj"),$.publish("postPutPages")}(),function(){$.publish("putAdditionalObjects");for(var e=0;e>"),ee("endobj"),te(),ee("<<"),function(){switch(ee("/Type /Catalog"),ee("/Pages 1 0 R"),g||(g="fullwidth"),g){case"fullwidth":ee("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ee("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ee("/OpenAction [3 0 R /Fit]");break;case"original":ee("/OpenAction [3 0 R /XYZ null null 1]");break;default:var e=""+g;"%"===e.substr(e.length-1)&&(g=parseInt(g)/100),"number"==typeof g&&ee("/OpenAction [3 0 R /XYZ null null "+J(g)+"]")}switch(A||(A="continuous"),A){case"continuous":ee("/PageLayout /OneColumn");break;case"single":ee("/PageLayout /SinglePage");break;case"two":case"twoleft":ee("/PageLayout /TwoColumnLeft");break;case"tworight":ee("/PageLayout /TwoColumnRight")}v&&ee("/PageMode /"+v),$.publish("putCatalog")}(),ee(">>"),ee("endobj");var e,t=V,n="0000000000";for(ee("xref"),ee("0 "+(B+1)),ee(n+" 65535 f "),e=1;e<=B;e++){var i=F[e];ee("function"==typeof i?(n+F[e]()).slice(-10)+" 00000 n ":(n+F[e]).slice(-10)+" 00000 n ")}return ee("trailer"),ee("<<"),ee("/Size "+(B+1)),ee("/Root "+B+" 0 R"),ee("/Info "+(B-1)+" 0 R"),ee("/ID [ <"+T+"> <"+T+"> ]"),ee(">>"),ee("startxref"),ee(""+t),ee("%%EOF"),N=!0,H.join("\n")},fe=function(e){var t="S";return"F"===e?t="f":"FD"===e||"DF"===e?t="B":"f"!==e&&"f*"!==e&&"B"!==e&&"B*"!==e||(t=e),t},he=function(){for(var e=de(),t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},pe=function(){return new Blob([he()],{type:"application/pdf"})},me=((b=function(e,t){var n="dataur"===(""+e).substr(0,6)?"data:application/pdf;base64,"+btoa(de()):0;switch(e){case void 0:return de();case"save":if("object"===("undefined"==typeof navigator?"undefined":oe(navigator))&&navigator.getUserMedia&&(void 0===r.URL||void 0===r.URL.createObjectURL))return Q.output("dataurlnewwindow");Ee(pe(),t),"function"==typeof Ee.unload&&r.setTimeout&&setTimeout(Ee.unload,911);break;case"arraybuffer":return he();case"blob":return pe();case"bloburi":case"bloburl":return r.URL&&r.URL.createObjectURL(pe())||void 0;case"datauristring":case"dataurlstring":return n;case"dataurlnewwindow":var a=r.open(n);if(a||"undefined"==typeof safari)return a;case"datauri":case"dataurl":return r.document.location.href=n;default:throw new Error('Output type "'+e+'" is not supported.')}}).foo=function(){try{return b.apply(this,arguments)}catch(n){var e=n.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var t="Error in function "+e.split("\n")[0].split("<")[0]+": "+n.message;if(!r.console)throw new Error(t);r.console.error(t,n),r.alert&&alert(t)}},(b.foo.bar=b).foo),ve=function(e){return!0===Array.isArray(K)&&-1":")")):"[object Array]"===Object.prototype.toString.call(y[Y])&&(X=parseFloat(y[Y][1]).toFixed(2),J=parseFloat(y[Y][2]).toFixed(2),Z=(a?"<":"(")+y[Y][0]+(a?">":")"),te=1),void 0!==W&&void 0!==W[Y]&&(ne=W[Y]+" Tw\n"),0!==T.length&&0===Y?e.push(ne+T.join(" ")+" "+X+" "+J+" Tm\n"+Z):1===te||0===te&&0===Y?e.push(ne+X+" "+J+" Td\n"+Z):e.push(ne+Z);e=0===te?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var re="BT\n/"+c+" "+E+" Tf\n"+(E*s).toFixed(2)+" TL\n"+_+"\n";return re+=o,re+=e,ee(re+="ET"),l},Q.lstext=function(e,t,n,r){console.warn("jsPDF.lstext is deprecated");for(var a=0,i=e.length;a, https://github.com/MrRio/jsPDF
* 2010 Aaron Spike, https://github.com/acspike
* 2012 Willow Systems Corporation, willow-systems.com
* 2012 Pablo Hess, https://github.com/pablohess
* 2012 Florian Jenett, https://github.com/fjenett
* 2013 Warren Weckesser, https://github.com/warrenweckesser
* 2013 Youssef Beddad, https://github.com/lifof
* 2013 Lee Driscoll, https://github.com/lsdriscoll
* 2013 Stefan Slonevskiy, https://github.com/stefslon
* 2013 Jeremy Morel, https://github.com/jmorel
* 2013 Christoph Hartmann, https://github.com/chris-rock
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
* 2014 James Makes, https://github.com/dollaruw
* 2014 Diego Casorran, https://github.com/diegocr
* 2014 Steven Spungin, https://github.com/Flamenco
* 2014 Kenneth Glassey, https://github.com/Gavvers
*
* Licensed under the MIT License
*
* Contributor(s):
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
* kim3er, mfo, alnorth, Flamenco
*/!function(e,t){var n,r,a=1,i=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},o=function(e){return e*(a/1)},s=function(e){var t=new S,n=R.internal.getHeight(e)||0,r=R.internal.getWidth(e)||0;return t.BBox=[0,0,r.toFixed(2),n.toFixed(2)],t},l=function(e,t,n){e=e||0;var r=1;return r<<=t-1,1==(n=n||1)?e|=r:e&=~r,e},u=function(e,t,n){return n=n||1.3,e=e||0,1==t.readOnly&&(e=l(e,1)),1==t.required&&(e=l(e,2)),1==t.noExport&&(e=l(e,3)),1==t.multiline&&(e=l(e,13)),t.password&&(e=l(e,14)),t.noToggleToOff&&(e=l(e,15)),t.radio&&(e=l(e,16)),t.pushbutton&&(e=l(e,17)),t.combo&&(e=l(e,18)),t.edit&&(e=l(e,19)),t.sort&&(e=l(e,20)),t.fileSelect&&1.4<=n&&(e=l(e,21)),t.multiSelect&&1.4<=n&&(e=l(e,22)),t.doNotSpellCheck&&1.4<=n&&(e=l(e,23)),1==t.doNotScroll&&1.4<=n&&(e=l(e,24)),t.richText&&1.4<=n&&(e=l(e,25)),e},c=function(e){var t=e[0],n=e[1],a=e[2],i=e[3],s={};return Array.isArray(t)?(t[0]=o(t[0]),t[1]=o(t[1]),t[2]=o(t[2]),t[3]=o(t[3])):(t=o(t),n=o(n),a=o(a),i=o(i)),s.lowerLeft_X=t||0,s.lowerLeft_Y=o(r)-n-i||0,s.upperRight_X=t+a||0,s.upperRight_Y=o(r)-n||0,[s.lowerLeft_X.toFixed(2),s.lowerLeft_Y.toFixed(2),s.upperRight_X.toFixed(2),s.upperRight_Y.toFixed(2)]},d=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e.V||e.DV,r=f(e,n);t.push("/Tx BMC"),t.push("q"),t.push("/F1 "+r.fontSize.toFixed(2)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push("BT"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var a=new s(e);return a.stream=t.join("\n"),a}},f=function(e,t,n,r){r=r||12,n=n||"helvetica";var a={text:"",fontSize:""},i=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),o=r,s=R.internal.getHeight(e)||0;s=s<0?-s:s;var l=R.internal.getWidth(e)||0;l=l<0?-l:l;var u=function(e,t,r){if(e+1=i.length-1;if(!_||C){if(_||C){if(C)v=w;else if(e.multiline&&s<(c+2)*(y+2)+2)continue e}else{if(!e.multiline)continue e;if(s<(c+2)*(y+2)+2)continue e;v=w}for(var E="",x=m;x<=v;x++)E+=i[x]+" ";switch(E=" "==E.substr(E.length-1)?E.substr(0,E.length-1):E,g=h(E,o+"px",n).width,e.Q){case 2:f=l-g-2;break;case 1:f=(l-g)/2;break;case 0:default:f=2}t+=f.toFixed(2)+" "+p.toFixed(2)+" Td\n",t+="("+E+") Tj\n",t+=-f.toFixed(2)+" 0 Td\n",p=-(o+2),g=0,m=v+1,y++,A=""}else A+=" "}break}return a.text=t,a.fontSize=o,a},h=function(e,t,r){r=r||"helvetica";var a=n.internal.getFont(r),i=n.getStringUnitWidth(e,{font:a,fontSize:parseFloat(t),charSpace:0})*parseFloat(t);return{height:n.getStringUnitWidth("3",{font:a,fontSize:parseFloat(t),charSpace:0})*parseFloat(t)*1.5,width:i}},p={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},m=function(){for(var e in n.internal.acroformPlugin.acroFormDictionaryRoot.Fields){var t=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields[e];t.hasAnnotation&&g.call(n,t)}},v=function(e){n.internal.acroformPlugin.printedOut&&(n.internal.acroformPlugin.printedOut=!1,n.internal.acroformPlugin.acroFormDictionaryRoot=null),n.internal.acroformPlugin.acroFormDictionaryRoot||_.call(n),n.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e)},g=function(e){var t={type:"reference",object:e};n.annotationPlugin.annotations[n.internal.getPageInfo(e.page).pageNumber].push(t)},A=function(){void 0!==n.internal.acroformPlugin.acroFormDictionaryRoot?n.internal.write("/AcroForm "+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R"):console.log("Root missing...")},y=function(){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0},b=function(e){var t=!e;for(var r in e||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId),n.internal.out(n.internal.acroformPlugin.acroFormDictionaryRoot.getString())),e=e||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids){var a=e[r],i=a.Rect;a.Rect&&(a.Rect=c.call(this,a.Rect)),n.internal.newObjectDeferredBegin(a.objId);var o=a.objId+" 0 obj\n<<\n";if("object"===(void 0===a?"undefined":oe(a))&&"function"==typeof a.getContent&&(o+=a.getContent()),a.Rect=i,a.hasAppearanceStream&&!a.appearanceStreamContent){var s=d.call(this,a);o+="/AP << /N "+s+" >>\n",n.internal.acroformPlugin.xForms.push(s)}if(a.appearanceStreamContent){for(var l in o+="/AP << ",a.appearanceStreamContent){var u=a.appearanceStreamContent[l];if(o+="/"+l+" ",o+="<< ",1<=Object.keys(u).length||Array.isArray(u))for(var r in u){var f;"function"==typeof(f=u[r])&&(f=f.call(this,a)),o+="/"+r+" "+f+" ",0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f)}else"function"==typeof(f=u)&&(f=f.call(this,a)),o+="/"+r+" "+f+" \n",0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f);o+=" >>\n"}o+=">>\n"}o+=">>\nendobj\n",n.internal.out(o)}t&&w.call(this,n.internal.acroformPlugin.xForms)},w=function(e){for(var t in e){var r=t,a=e[t];n.internal.newObjectDeferredBegin(a&&a.objId);var i="";"object"===(void 0===a?"undefined":oe(a))&&"function"==typeof a.getString&&(i=a.getString()),n.internal.out(i),delete e[r]}},_=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(n=this,M.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(p)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");a=n.internal.scaleFactor,r=n.internal.pageSize.getHeight(),n.internal.acroformPlugin.acroFormDictionaryRoot=new k,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe("postPutResources",y),n.internal.events.subscribe("buildDocument",m),n.internal.events.subscribe("putCatalog",A),n.internal.events.subscribe("postPutPages",b),n.internal.acroformPlugin.isInitialized=!0}},C=function(e){if(Array.isArray(e)){var t=" [";for(var n in e)t+=e[n].toString(),t+=n>\n",this.stream&&(e+="stream\n",e+=this.stream,e+="\nendstream\n"),e+="endobj\n"},x.prototype.getContent=function(){var e="";return e+=function(e){var t="",n=Object.keys(e).filter(function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"_"!=e.substring(0,1)});for(var r in n){var a=n[r],i=e[a];i&&(Array.isArray(i)?t+="/"+a+" "+C(i)+"\n":t+=i instanceof x?"/"+a+" "+i.objId+" 0 R\n":"/"+a+" "+i+"\n")}return t}(this)};var S=function(){var e;x.call(this),this.Type="/XObject",this.Subtype="/Form",this.FormType=1,this.BBox,this.Matrix,this.Resources="2 0 R",this.PieceInfo,Object.defineProperty(this,"Length",{enumerable:!0,get:function(){return void 0!==e?e.length:0}}),Object.defineProperty(this,"stream",{enumerable:!1,set:function(t){e=t.trim()},get:function(){return e||null}})};i(S,x);var k=function(){x.call(this);var e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0>"},YesPushDown:function(e){var t=s(e),r=[],a=n.internal.getFont("zapfdingbats","normal").id;e.Q=1;var i=f(e,"3","ZapfDingbats",50);return r.push("0.749023 g"),r.push("0 0 "+R.internal.getWidth(e).toFixed(2)+" "+R.internal.getHeight(e).toFixed(2)+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+a+" "+i.fontSize.toFixed(2)+" Tf 0 g"),r.push("BT"),r.push(i.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(e){var t=s(e),r=n.internal.getFont("zapfdingbats","normal").id,a=[];e.Q=1;var i=R.internal.getHeight(e),o=R.internal.getWidth(e),l=f(e,"3","ZapfDingbats",.9*i);return a.push("1 g"),a.push("0 0 "+o.toFixed(2)+" "+i.toFixed(2)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+(o-1).toFixed(2)+" "+(i-1).toFixed(2)+" re"),a.push("W"),a.push("n"),a.push("0 g"),a.push("BT"),a.push("/"+r+" "+l.fontSize.toFixed(2)+" Tf 0 g"),a.push(l.text),a.push("ET"),a.push("Q"),t.stream=a.join("\n"),t},OffPushDown:function(e){var t=s(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+R.internal.getWidth(e).toFixed(2)+" "+R.internal.getHeight(e).toFixed(2)+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:R.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=R.RadioButton.Circle.YesNormal,t.D[e]=R.RadioButton.Circle.YesPushDown,t},createMK:function(){return"<< /CA (l)>>"},YesNormal:function(e){var t=s(e),n=[],r=R.internal.getWidth(e)<=R.internal.getHeight(e)?R.internal.getWidth(e)/4:R.internal.getHeight(e)/4;r*=.9;var a=R.internal.Bezier_C;return n.push("q"),n.push("1 0 0 1 "+R.internal.getWidth(e)/2+" "+R.internal.getHeight(e)/2+" cm"),n.push(r+" 0 m"),n.push(r+" "+r*a+" "+r*a+" "+r+" 0 "+r+" c"),n.push("-"+r*a+" "+r+" -"+r+" "+r*a+" -"+r+" 0 c"),n.push("-"+r+" -"+r*a+" -"+r*a+" -"+r+" 0 -"+r+" c"),n.push(r*a+" -"+r+" "+r+" -"+r*a+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=s(e),n=[],r=R.internal.getWidth(e)<=R.internal.getHeight(e)?R.internal.getWidth(e)/4:R.internal.getHeight(e)/4,a=2*(r*=.9),i=a*R.internal.Bezier_C,o=r*R.internal.Bezier_C;return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+(R.internal.getWidth(e)/2).toFixed(2)+" "+(R.internal.getHeight(e)/2).toFixed(2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+i+" "+i+" "+a+" 0 "+a+" c"),n.push("-"+i+" "+a+" -"+a+" "+i+" -"+a+" 0 c"),n.push("-"+a+" -"+i+" -"+i+" -"+a+" 0 -"+a+" c"),n.push(i+" -"+a+" "+a+" -"+i+" "+a+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+(R.internal.getWidth(e)/2).toFixed(2)+" "+(R.internal.getHeight(e)/2).toFixed(2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=s(e),n=[],r=R.internal.getWidth(e)<=R.internal.getHeight(e)?R.internal.getWidth(e)/4:R.internal.getHeight(e)/4,a=2*(r*=.9),i=a*R.internal.Bezier_C;return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+(R.internal.getWidth(e)/2).toFixed(2)+" "+(R.internal.getHeight(e)/2).toFixed(2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+i+" "+i+" "+a+" 0 "+a+" c"),n.push("-"+i+" "+a+" -"+a+" "+i+" -"+a+" 0 c"),n.push("-"+a+" -"+i+" -"+i+" -"+a+" 0 -"+a+" c"),n.push(i+" -"+a+" "+a+" -"+i+" "+a+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:R.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=R.RadioButton.Cross.YesNormal,t.D[e]=R.RadioButton.Cross.YesPushDown,t},createMK:function(){return"<< /CA (8)>>"},YesNormal:function(e){var t=s(e),n=[],r=R.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+(R.internal.getWidth(e)-2).toFixed(2)+" "+(R.internal.getHeight(e)-2).toFixed(2)+" re"),n.push("W"),n.push("n"),n.push(r.x1.x.toFixed(2)+" "+r.x1.y.toFixed(2)+" m"),n.push(r.x2.x.toFixed(2)+" "+r.x2.y.toFixed(2)+" l"),n.push(r.x4.x.toFixed(2)+" "+r.x4.y.toFixed(2)+" m"),n.push(r.x3.x.toFixed(2)+" "+r.x3.y.toFixed(2)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=s(e),n=R.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+R.internal.getWidth(e).toFixed(2)+" "+R.internal.getHeight(e).toFixed(2)+" re"),r.push("f"),r.push("q"),r.push("1 1 "+(R.internal.getWidth(e)-2).toFixed(2)+" "+(R.internal.getHeight(e)-2).toFixed(2)+" re"),r.push("W"),r.push("n"),r.push(n.x1.x.toFixed(2)+" "+n.x1.y.toFixed(2)+" m"),r.push(n.x2.x.toFixed(2)+" "+n.x2.y.toFixed(2)+" l"),r.push(n.x4.x.toFixed(2)+" "+n.x4.y.toFixed(2)+" m"),r.push(n.x3.x.toFixed(2)+" "+n.x3.y.toFixed(2)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=s(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+R.internal.getWidth(e).toFixed(2)+" "+R.internal.getHeight(e).toFixed(2)+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){return"/F1 0 Tf 0 g"}};R.internal={Bezier_C:.551915024494,calculateCross:function(e){var t,n,r=R.internal.getWidth(e),a=R.internal.getHeight(e),i=(n=a)<(t=r)?n:t;return{x1:{x:(r-i)/2,y:(a-i)/2+i},x2:{x:(r-i)/2+i,y:(a-i)/2},x3:{x:(r-i)/2,y:(a-i)/2},x4:{x:(r-i)/2+i,y:(a-i)/2+i}}}},R.internal.getWidth=function(e){var t=0;return"object"===(void 0===e?"undefined":oe(e))&&(t=o(e.Rect[2])),t},R.internal.getHeight=function(e){var t=0;return"object"===(void 0===e?"undefined":oe(e))&&(t=o(e.Rect[3])),t},e.addField=function(e){return _.call(this),e instanceof z?this.addTextField.call(this,e):e instanceof T?this.addChoiceField.call(this,e):e instanceof O?this.addButton.call(this,e):e instanceof D?v.call(this,e):e&&v.call(this,e),e.page=n.internal.getCurrentPageInfo().pageNumber,this},e.addButton=function(e){_.call(this);var t=e||new M;t.FT="/Btn",t.Ff=u(t.Ff,e,n.internal.getPDFVersion()),v.call(this,t)},e.addTextField=function(e){_.call(this);var t=e||new M;t.FT="/Tx",t.Ff=u(t.Ff,e,n.internal.getPDFVersion()),v.call(this,t)},e.addChoiceField=function(e){_.call(this);var t=e||new M;t.FT="/Ch",t.Ff=u(t.Ff,e,n.internal.getPDFVersion()),v.call(this,t)},"object"==(void 0===t?"undefined":oe(t))&&(t.ChoiceField=T,t.ListBox=B,t.ComboBox=N,t.EditBox=F,t.Button=O,t.PushButton=P,t.RadioButton=I,t.CheckBox=L,t.TextField=z,t.PasswordField=H,t.AcroForm={Appearance:R}),e.AcroFormChoiceField=T,e.AcroFormListBox=B,e.AcroFormComboBox=N,e.AcroFormEditBox=F,e.AcroFormButton=O,e.AcroFormPushButton=P,e.AcroFormRadioButton=I,e.AcroFormCheckBox=L,e.AcroFormTextField=z,e.AcroFormPasswordField=H,e.AcroForm={ChoiceField:T,ListBox:B,ComboBox:N,EditBox:F,Button:O,PushButton:P,RadioButton:I,CheckBox:L,TextField:z,PasswordField:H}}(se.API,"undefined"!=typeof window&&window||void 0!==r&&r),se.API.addHTML=function(e,t,n,r,a){if("undefined"==typeof html2canvas&&"undefined"==typeof rasterizeHTML)throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");"number"!=typeof t&&(r=t,a=n),"function"==typeof r&&(a=r,r=null),"function"!=typeof a&&(a=function(){});var i=this.internal,o=i.scaleFactor,s=i.pageSize.getWidth(),l=i.pageSize.getHeight();if((r=r||{}).onrendered=function(e){t=parseInt(t)||0,n=parseInt(n)||0;var i=r.dim||{},u=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},r.margin),c=i.h||Math.min(l,e.height/o),d=i.w||Math.min(s,e.width/o)-t,f=r.format||"JPEG",h=r.imageCompression||"SLOW";if(e.height>l-u.top-u.bottom&&r.pagesplit){var p=function(e,t,n,a,i){var o=document.createElement("canvas");o.height=i,o.width=a;var s=o.getContext("2d");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||"#ffffff",s.fillRect(0,0,a,i),s.drawImage(e,t,n,a,i,0,0,a,i),o},m=function(){for(var r,i,c=0,m=0,v={},g=!1;;){var A;if(m=0,v.top=0!==c?u.top:n,v.left=0!==c?u.left:t,g=(s-u.left-u.right)*o=e.width)break;this.addPage()}else y=[A=p(e,0,c,r,i),v.left,v.top,A.width/o,A.height/o,f,null,h],this.addImage.apply(this,y);if((c+=i)>=e.height)break;this.addPage()}a(d,c,null,y)}.bind(this);if("CANVAS"===e.nodeName){var v=new Image;v.onload=m,v.src=e.toDataURL("image/png"),e=v}else m()}else{var g=Math.random().toString(35),A=[e,t,n,d,c,f,g,h];this.addImage.apply(this,A),a(d,c,g,A)}}.bind(this),"undefined"!=typeof html2canvas&&!r.rstz)return html2canvas(e,r);if("undefined"!=typeof rasterizeHTML){var u="drawDocument";return"string"==typeof e&&(u=/^http/.test(e)?"drawURL":"drawHTML"),r.width=r.width||s*o,rasterizeHTML[u](e,void 0,r).then(function(e){r.onrendered(e.image)},function(e){a(null,e)})}return null},
/** @preserve
* jsPDF addImage plugin
* Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/
* 2013 Chris Dowling, https://github.com/gingerchris
* 2013 Trinh Ho, https://github.com/ineedfat
* 2013 Edwin Alejandro Perez, https://github.com/eaparango
* 2013 Norah Smith, https://github.com/burnburnrocket
* 2014 Diego Casorran, https://github.com/diegocr
* 2014 James Robb, https://github.com/jamesbrobb
*
*
*/
function(e){var t="addImage_",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]};e.getImageFileTypeByImageData=function(e,t){var r,a;t=t||"UNKNOWN";var i,o,s,l="UNKNOWN";for(s in n)for(i=n[s],r=0;r>"),"trns"in t&&t.trns.constructor==Array){for(var i="",o=0,s=t.trns.length;o>"),a(t.data),r("endobj"),"smask"in t){var l="/Predictor "+t.p+" /Colors 1 /BitsPerComponent "+t.bpc+" /Columns "+t.w,u={w:t.w,h:t.h,cs:"DeviceGray",bpc:t.bpc,dp:l,data:t.smask};"f"in t&&(u.f=t.f),e.call(this,u)}t.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),r("<< /Length "+t.pal.length+">>"),a(this.arrayBufferToBinaryString(new Uint8Array(t.pal))),r("endobj"))},i=function(){var e=this.internal.collections[t+"images"];for(var n in e)r.call(this,e[n])},o=function(){var e,n=this.internal.collections[t+"images"],r=this.internal.write;for(var a in n)r("/I"+(e=n[a]).i,e.n,"0","R")},s=function(t){return"function"==typeof e["process"+t.toUpperCase()]},l=function(e){return"object"===(void 0===e?"undefined":oe(e))&&1===e.nodeType},u=function(e,t){if("IMG"===e.nodeName&&e.hasAttribute("src")){var n=""+e.getAttribute("src");if(0===n.indexOf("data:image/"))return n;!t&&/\.png(?:[?#].*)?$/i.test(n)&&(t="png")}if("CANVAS"===e.nodeName)var r=e;else{(r=document.createElement("canvas")).width=e.clientWidth||e.width,r.height=e.clientHeight||e.height;var a=r.getContext("2d");if(!a)throw"addImage requires canvas to be supported by browser.";a.drawImage(e,0,0,r.width,r.height)}return r.toDataURL("png"==(""+t).toLowerCase()?"image/png":"image/jpeg")},c=function(e,t){var n;if(t)for(var r in t)if(e===t[r].alias){n=t[r];break}return n};e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},e.sHashCode=function(e){return e=e||"",Array.prototype.reduce&&e.split("").reduce(function(e,t){return(e=(e<<5)-e+t.charCodeAt(0))&e},0)},e.isString=function(e){return"string"==typeof e},e.validateStringAsBase64=function(e){var t=!0;return(e=e||"").length%4!=0&&(t=!1),!1===/[A-Za-z0-9\/]+/.test(e.substr(0,e.length-2))&&(t=!1),!1===/[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==/.test(e.substr(-2))&&(t=!1),t},e.extractInfoFromBase64DataURI=function(e){return/^data:([\w]+?\/([\w]+?));base64,(.+)$/g.exec(e)},e.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},e.isArrayBuffer=function(e){return!!this.supportsArrayBuffer()&&e instanceof ArrayBuffer},e.isArrayBufferView=function(e){return!!this.supportsArrayBuffer()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},e.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r>18]+r[(258048&t)>>12]+r[(4032&t)>>6]+r[63&t];return 1==o?n+=r[(252&(t=a[s]))>>2]+r[(3&t)<<4]+"==":2==o&&(n+=r[(64512&(t=a[s]<<8|a[s+1]))>>10]+r[(1008&t)>>4]+r[(15&t)<<2]+"="),n},e.createImageInfo=function(e,t,n,r,a,i,o,s,l,u,c,d,f){var h={alias:s,w:t,h:n,cs:r,bpc:a,i:o,data:e};return i&&(h.f=i),l&&(h.dp=l),u&&(h.trns=u),c&&(h.pal=c),d&&(h.smask=d),f&&(h.p=f),h},e.addImage=function(n,r,a,d,f,h,p,m,v){var g="";if("string"!=typeof r){var A=h;h=f,f=d,d=a,a=r,r=A}if("object"===(void 0===n?"undefined":oe(n))&&!l(n)&&"imageData"in n){var y=n;n=y.imageData,r=y.format||r,a=y.x||a||0,d=y.y||d||0,f=y.w||f,h=y.h||h,p=y.alias||p,m=y.compression||m,v=y.rotation||y.angle||v}if(isNaN(a)||isNaN(d))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var b,w,_,C,E,x,S,k=function(){var e=this.internal.collections[t+"images"];return e||(this.internal.collections[t+"images"]=e={},this.internal.events.subscribe("putResources",i),this.internal.events.subscribe("putXobjectDict",o)),e}.call(this);if(!((b=c(n,k))||(l(n)&&(n=u(n,r)),(null==(S=p)||0===S.length)&&(p="string"==typeof(x=n)&&e.sHashCode(x)),b=c(p,k)))){if(this.isString(n)&&(""!==(g=this.convertStringToImageData(n))?n=g:void 0!==(g=this.loadImageFile(n))&&(n=g)),r=this.getImageFileTypeByImageData(n,r),!s(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(this.supportsArrayBuffer()&&(n instanceof Uint8Array||(w=n,n=this.binaryStringToUint8Array(n))),!(b=this["process"+r.toUpperCase()](n,(E=0,(C=k)&&(E=Object.keys?Object.keys(C).length:function(e){var t=0;for(var n in e)e.hasOwnProperty(n)&&t++;return t}(C)),E),p,((_=m)&&"string"==typeof _&&(_=_.toUpperCase()),_ in e.image_compression?_:e.image_compression.NONE),w)))throw new Error("An unkwown error occurred whilst processing the image")}return function(e,t,n,r,a,i,o,s){var l=function(e,t,n){return e||t||(t=e=-96),e<0&&(e=-1*n.w*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.h*72/t/this.internal.scaleFactor),0===e&&(e=t*n.w/n.h),0===t&&(t=e*n.h/n.w),[e,t]}.call(this,n,r,a),u=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString;if(n=l[0],r=l[1],o[i]=a,s){s*=Math.PI/180;var d=Math.cos(s),f=Math.sin(s),h=function(e){return e.toFixed(4)},p=[h(d),h(f),h(-1*f),h(d),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,u(e),c(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([u(n),"0","0",u(r),"0","0","cm"].join(" "))):this.internal.write([u(n),"0","0",u(r),u(e),c(t+r),"cm"].join(" ")),this.internal.write("/I"+a.i+" Do"),this.internal.write("Q")}.call(this,a,d,f,h,b,b.i,k,v),this},e.convertStringToImageData=function(t){var n,r="";return this.isString(t)&&(null!==(n=this.extractInfoFromBase64DataURI(t))?e.validateStringAsBase64(n[3])&&(r=atob(n[3])):e.validateStringAsBase64(t)&&(r=atob(t))),r};var d=function(e,t){return e.subarray(t,t+5)};e.processJPEG=function(e,t,n,r,a,i){var o,s=this.decode.DCT_DECODE;if(!this.isString(e)&&!this.isArrayBuffer(e)&&!this.isArrayBufferView(e))return null;if(this.isString(e)&&(o=function(e){var t;if(255===!e.charCodeAt(0)||216===!e.charCodeAt(1)||255===!e.charCodeAt(2)||224===!e.charCodeAt(3)||!e.charCodeAt(6)==="J".charCodeAt(0)||!e.charCodeAt(7)==="F".charCodeAt(0)||!e.charCodeAt(8)==="I".charCodeAt(0)||!e.charCodeAt(9)==="F".charCodeAt(0)||0===!e.charCodeAt(10))throw new Error("getJpegSize requires a binary string jpeg file");for(var n=256*e.charCodeAt(4)+e.charCodeAt(5),r=4,a=e.length;r>",c.content=g;var h=c.objId+" 0 R";g="<>",d.content=g,this.internal.write(c.objId,"0 R",d.objId,"0 R");break;case"freetext":var p="/Rect ["+a(u.bounds.x*i)+" "+a((o-u.bounds.y)*i)+" "+a(u.bounds.x+u.bounds.w*i)+" "+a(o-(u.bounds.y+u.bounds.h)*i)+"] ",m=u.color||"#000000";g="<>",this.internal.write(g);break;case"link":if(u.options.name){var v=this.annotations._nameMap[u.options.name];u.options.pageNumber=v.page,u.options.top=v.y}else u.options.top||(u.options.top=0);p="/Rect ["+a(u.x*i)+" "+a((o-u.y)*i)+" "+a((u.x+u.w)*i)+" "+a((o-(u.y+u.h))*i)+"] ";var g="";if(u.options.url)g="<>";else if(u.options.pageNumber)switch(g="<>",this.internal.write(g))}}this.internal.write("]")}}]),s.createAnnotation=function(e){switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push(e)}},s.link=function(e,t,n,r,a){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:e,y:t,w:n,h:r,options:a,type:"link"})},s.textWithLink=function(e,t,n,r){var a=this.getTextWidth(e),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,n),n+=.2*i,this.link(t,n-i,a,i,r),a},s.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},s.getLineHeight=function(){return this.internal.getLineHeight()},function(e){var t=Object.keys({ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",fa:"Persian","fa-IR":"Persian/Iran",ur:"Urdu"}),n={1569:[65152],1570:[65153,65154,65153,65154],1571:[65155,65156,65155,65156],1572:[65157,65158],1573:[65159,65160,65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166,65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194,65193],1584:[65195,65196,65195],1585:[65197,65198,65197],1586:[65199,65200,65199],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262,65261],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395,64394],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={1570:[65269,65270,65269,65270],1571:[65271,65272,65271,65272],1573:[65273,65274,65273,65274],1575:[65275,65276,65275,65276]},a={1570:[65153,65154,65153,65154],1571:[65155,65156,65155,65156],1573:[65159,65160,65159,65160],1575:[65165,65166,65165,65166]},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575],s=[1569,1570,1571,1572,1573,1575,1577,1583,1584,1585,1586,1608,1688],l=0,u=1,c=2,d=3;function f(e){return void 0!==e&&void 0!==n[e.charCodeAt(0)]}function h(e){return void 0!==e&&0<=s.indexOf(e.charCodeAt(0))}function p(e){return void 0!==e&&0<=o.indexOf(e.charCodeAt(0))}function m(e){return f(e)&&2<=n[e.charCodeAt(0)].length}function v(e,t,r,i){return f(e)?(i=i||{},n=Object.assign(n,i),!m(e)||!f(t)&&!f(r)||!f(r)&&h(t)||h(e)&&!f(t)||h(e)&&p(t)||h(e)&&h(t)?(n=Object.assign(n,a),l):f(o=e)&&4==n[o.charCodeAt(0)].length&&f(t)&&!h(t)&&f(r)&&m(r)?(n=Object.assign(n,a),d):h(e)||!f(r)?(n=Object.assign(n,a),u):(n=Object.assign(n,a),c)):-1;var o}var g=e.processArabic=function(e,t){e=e||"",t=t||!1;var o,s,l,u="",c=0,d=0,h="",m="",g="";for(c=0;c>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})}return this},(u=se.API).events.push(["initialized",function(){this.canvas.pdf=this}]),u.canvas={getContext:function(e){return(this.pdf.context2d._canvas=this).pdf.context2d},childNodes:[]},Object.defineProperty(u.canvas,"width",{get:function(){return this._width},set:function(e){this._width=e,this.getContext("2d").pageWrapX=e+1}}),Object.defineProperty(u.canvas,"height",{get:function(){return this._height},set:function(e){this._height=e,this.getContext("2d").pageWrapY=e+1}}),c=se.API,m={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},v=1,g=function(e,t,n,r,a){m={x:e,y:t,w:n,h:r,ln:a}},A=function(){return m},y={left:0,top:0,bottom:0},c.setHeaderFunction=function(e){p=e},c.getTextDimensions=function(e){d=this.internal.getFont().fontName,f=this.table_font_size||this.internal.getFontSize(),h=this.internal.getFont().fontStyle;var t,n,r=19.049976/25.4;(n=document.createElement("font")).id="jsPDFCell";try{n.style.fontStyle=h}catch(t){n.style.fontWeight=h}n.style.fontSize=f+"pt",n.style.fontFamily=d;try{n.textContent=e}catch(t){n.innerText=e}return document.body.appendChild(n),t={w:(n.offsetWidth+1)*r,h:(n.offsetHeight+1)*r},document.body.removeChild(n),t},c.cellAddPage=function(){var e=this.margins||y;this.addPage(),g(e.left,e.top,void 0,void 0),v+=1},c.cellInitialize=function(){m={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},v=1},c.cell=function(e,t,n,r,a,i,o){var s=A(),l=!1;if(void 0!==s.ln)if(s.ln===i)e=s.x+s.w,t=s.y;else{var u=this.margins||y;s.y+s.h+r+13>=this.internal.pageSize.getHeight()-u.bottom&&(this.cellAddPage(),l=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),t=A().y+A().h,l&&(t=23)}if(void 0!==a[0])if(this.printingHeaderRow?this.rect(e,t,n,r,"FD"):this.rect(e,t,n,r),"right"===o){a instanceof Array||(a=[a]);for(var c=0;c=this.pageBreaks[r]){t++,0===this.lastBreak&&n++;var a=this.pageBreaks[r]-this.lastBreak;this.lastBreak=this.pageBreaks[r],n+=Math.floor(a/this.pageWrapY)}return 0===this.lastBreak&&(n+=Math.floor(e/this.pageWrapY)+1),n+t}return this.pdf.internal.getCurrentPageInfo().pageNumber},_gotoPage:function(e){},lineTo:function(e,t){e=this._wrapX(e),t=this._wrapY(t);var n=this._matrix_map_point(this.ctx._transform,[e,t]),r={type:"lt",x:e=n[0],y:t=n[1]};this.path.push(r)},bezierCurveTo:function(e,t,n,r,a,i){var o;e=this._wrapX(e),t=this._wrapY(t),n=this._wrapX(n),r=this._wrapY(r),a=this._wrapX(a),i=this._wrapY(i),a=(o=this._matrix_map_point(this.ctx._transform,[a,i]))[0],i=o[1];var s={type:"bct",x1:e=(o=this._matrix_map_point(this.ctx._transform,[e,t]))[0],y1:t=o[1],x2:n=(o=this._matrix_map_point(this.ctx._transform,[n,r]))[0],y2:r=o[1],x:a,y:i};this.path.push(s)},quadraticCurveTo:function(e,t,n,r){var a;e=this._wrapX(e),t=this._wrapY(t),n=this._wrapX(n),r=this._wrapY(r),n=(a=this._matrix_map_point(this.ctx._transform,[n,r]))[0],r=a[1];var i={type:"qct",x1:e=(a=this._matrix_map_point(this.ctx._transform,[e,t]))[0],y1:t=a[1],x:n,y:r};this.path.push(i)},arc:function(e,t,n,r,a,i){if(e=this._wrapX(e),t=this._wrapY(t),!this._matrix_is_identity(this.ctx._transform)){var o=this._matrix_map_point(this.ctx._transform,[e,t]);e=o[0],t=o[1];var s=this._matrix_map_point(this.ctx._transform,[0,0]),l=this._matrix_map_point(this.ctx._transform,[0,n]);n=Math.sqrt(Math.pow(l[0]-s[0],2)+Math.pow(l[1]-s[1],2))}var u={type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:a,anticlockwise:i};this.path.push(u)},drawImage:function(e,t,n,r,a,i,o,s,l){void 0!==i&&(t=i,n=o,r=s,a=l),t=this._wrapX(t),n=this._wrapY(n);var u,c=this._matrix_map_rect(this.ctx._transform,{x:t,y:n,w:r,h:a}),d=(this._matrix_map_rect(this.ctx._transform,{x:i,y:o,w:s,h:l}),/data:image\/(\w+).*/i.exec(e));u=null!=d?d[1]:"png",this.pdf.addImage(e,u,c.x,c.y,c.w,c.h)},_matrix_multiply:function(e,t){var n=t[0],r=t[1],a=t[2],i=t[3],o=t[4],s=t[5],l=n*e[0]+r*e[2],u=a*e[0]+i*e[2],c=o*e[0]+s*e[2]+e[4];return r=n*e[1]+r*e[3],i=a*e[1]+i*e[3],s=o*e[1]+s*e[3]+e[5],[n=l,r,a=u,i,o=c,s]},_matrix_rotation:function(e){return Math.atan2(e[2],e[0])},_matrix_decompose:function(e){var t=e[0],n=e[1],r=e[2],a=e[3],i=Math.sqrt(t*t+n*n),o=(t/=i)*r+(n/=i)*a;r-=t*o,a-=n*o;var s=Math.sqrt(r*r+a*a);return o/=s,t*(a/=s)>"),l.push(">>");var u="MASK"+l.objId;this.pdf.internal.addGraphicsState(u,l.objId);var c="/"+u+" gs";r.splice(0,0,"q"),r.splice(1,0,c),r.push("Q"),window.outIntercept=s;break;default:var d="/"+this.pdf.internal.blendModeMap[this.ctx.globalCompositeOperation.toUpperCase()];d&&this.pdf.internal.out(d+" gs")}var f=this.ctx.globalAlpha;if(this.ctx._fillOpacity<1&&(f=this.ctx._fillOpacity),a){var h=this.pdf.internal.newObject2();h.push("<>"),u="GS_O_"+h.objId,this.pdf.internal.addGraphicsState(u,h.objId),this.pdf.internal.out("/"+u+" gs")}for(var p=this.path,m=0;m>"),t.push(">>");var n="MASK"+t.objId;this.pdf.internal.addGraphicsState(n,t.objId);var r="/"+n+" gs";this.pdf.internal.out(r)}else console.log("jsPDF v2 not enabled")},clip:function(){if(0r.pdf.margins_doc.top&&(r.pdf.addPage(),r.y=r.pdf.margins_doc.top,r.executeWatchFunctions(i));var M=u(i),T=r.x,B=12/r.pdf.internal.scaleFactor,N=(M["margin-left"]+M["padding-left"])*B,F=(M["margin-right"]+M["padding-right"])*B,O=(M["margin-top"]+M["padding-top"])*B,P=(M["margin-bottom"]+M["padding-bottom"])*B;void 0!==M.float&&"right"===M.float?T+=r.settings.width-i.width-F:T+=N,r.pdf.addImage(S,T,r.y+O,i.width,i.height),S=void 0,"right"===M.float||"left"===M.float?(r.watchFunctions.push(function(e,t,n,a){return r.y>=t?(r.x+=e,r.settings.width+=n,!0):!!(a&&1===a.nodeType&&!w[a.nodeName]&&r.x+a.width>r.pdf.margins_doc.left+r.pdf.margins_doc.width)&&(r.x+=e,r.y=t,r.settings.width+=n,!0)}.bind(this,"left"===M.float?-i.width-N-F:0,r.y+i.height+O+P,i.width)),r.watchFunctions.push(function(e,t,n){return!(r.y]*?>/gi,""),c="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(u=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",u.innerHTML='',document.body.appendChild(u),(l=window.frames[c]).document.open(),l.document.writeln(s),l.document.close(),t=l.document.body);var f,h=new d(e,r,a,i);return g.call(this,t,h,i.elementHandlers,function(e){A(t,h,i.elementHandlers),n(t,h,i.elementHandlers),h.pdf.internal.events.publish("htmlRenderingFinished"),f=h.dispose(),"function"==typeof o?o(f):e&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),f||{x:h.x,y:h.y}},(d=function(e,t,n,r){return this.pdf=e,this.x=t,this.y=n,this.settings=r,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},d.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},d.prototype.executeWatchFunctions=function(e){var t=!1,n=[];if(0>16&255,n=o>>8&255,r=255&o}var s=this.f3;return 0===t&&0===n&&0===r||void 0===n?s(t/255)+" g":[s(t/255),s(n/255),s(r/255),"rg"].join(" ")},d.prototype.f3=function(e){return e.toFixed(3)},d.prototype.renderParagraph=function(e){var t,n,r,a,i,o,s,l,u,d,f,h,p;if(r=c(this.paragraph.text),h=this.paragraph.style,t=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:t},r.join("").trim()){s=this.splitFragmentsIntoLines(r,h),l=o=void 0,n=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,f=(Math.max((t["margin-top"]||0)-this.priorMarginBottom,0)+(t["padding-top"]||0))*n,d=((t["margin-bottom"]||0)+(t["padding-bottom"]||0))*n,this.priorMarginBottom=t["margin-bottom"]||0,"always"===t["page-break-before"]&&(this.pdf.addPage(),this.y=0,f=((t["margin-top"]||0)+(t["padding-top"]||0))*n),u=this.pdf.internal.write,i=a=void 0,this.y+=f,u("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var m=0;s.length;){for(a=l=0,i=(o=s.shift()).length;a!==i;)o[a][0].trim()&&(l=Math.max(l,o[a][1]["line-height"],o[a][1]["font-size"]),p=7*o[a][1]["font-size"]),a++;var v=0,g=0;for(void 0!==o[0][1]["margin-left"]&&0>"),this.internal.out("endobj"),w=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+_+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==b&&void 0!==w&&this.internal.out("/Names <>")}),this},(C=se.API).events.push(["postPutResources",function(){var e=this,t=/^(\d+) 0 obj$/;if(0> endobj")}var d=e.internal.newObject();for(e.internal.write("<< /Names [ "),r=0;r>","endobj"),e.internal.newObject(),e.internal.write("<< /Dests "+d+" 0 R"),e.internal.write(">>","endobj")}}]),C.events.push(["putCatalog",function(){0> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n>>24&255,f[d++]=s>>>16&255,f[d++]=s>>>8&255,f[d++]=255&s,E.arrayBufferToBinaryString(f)},k=function(e,t){var n=Math.LOG2E*Math.log(32768)-8<<4|8,r=n<<8;return r|=Math.min(3,(t-1&255)>>1)<<6,r|=0,[n,255&(r+=31-r%31)]},M=function(e,t){for(var n,r=1,a=0,i=e.length,o=0;0>>0},T=function(e,t,n,r){for(var a,i,o,s=e.length/t,l=new Uint8Array(e.length+s),u=D(),c=0;c>>1)&255;return i},P=function(e,t,n){var r,a,i,o,s=[],l=0,u=e.length;for(s[0]=4;l>>p&255,p+=i.bits;g[y]=w>>>p&255}if(16===i.bits){m=(T=new Uint32Array(i.decodePixels().buffer)).length,v=new Uint8Array(m*(32/i.pixelBitlength)*i.colors),g=new Uint8Array(m*(32/i.pixelBitlength));for(var w,_=1>>0&255,_&&(v[b++]=w>>>16&255,w=T[y++],v[b++]=w>>>0&255),g[C++]=w>>>16&255;h=8}r!==E.image_compression.NONE&&x()?(e=S(v,i.width*i.colors,i.colors,r),c=S(g,i.width,1,r)):(e=v,c=g,f=null)}if(3===i.colorType&&(d=this.color_spaces.INDEXED,u=i.palette,i.transparency.indexed)){var k=i.transparency.indexed,M=0;for(y=0,m=k.length;yr&&(a.push(e.slice(l,i)),s=0,l=i),s+=t[i],i++;return l!==i&&a.push(e.slice(l,i)),a},$=function(e,t,n){n||(n={});var r,a,i,o,s,l,u=[],c=[u],d=n.textIndent||0,f=0,h=0,p=e.split(" "),m=U.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?p[0].length+2:n.lineIndent||0){var v=Array(l).join(" "),g=[];p.map(function(e){1<(e=e.split(/\s*\n/)).length?g=g.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):g.push(e[0])}),p=g,l=W.apply(this,[v,n])}for(i=0,o=p.length;i>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},ee=se.API,re=ne=te="",ee.addMetadata=function(e,t){return ne=t||"http://jspdf.default.namespaceuri/",te=e,this.internal.events.subscribe("postPutResources",function(){if(te){var e='',t=unescape(encodeURIComponent('')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(te)),a=unescape(encodeURIComponent(" ")),i=unescape(encodeURIComponent("")),o=n.length+r.length+a.length+t.length+i.length;re=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+a+i),this.internal.write("endstream"),this.internal.write("endobj")}else re=""}),this.internal.events.subscribe("putCatalog",function(){re&&this.internal.write("/Metadata "+re+" 0 R")}),this},function(e,t){var n=e.API,r=[0];n.events.push(["putFont",function(t){!function(t,n,a){if(t.metadata instanceof e.API.TTFFont&&"Identity-H"===t.encoding){for(var i=t.metadata.Unicode.widths,o=t.metadata.subset.encode(r),s="",l=0;l>"),n("stream"),n(s),n("endstream"),n("endobj");var c=a();n("<<"),n("/Type /FontDescriptor"),n("/FontName /"+t.fontName),n("/FontFile2 "+u+" 0 R"),n("/FontBBox "+e.API.PDFObject.convert(t.metadata.bbox)),n("/Flags "+t.metadata.flags),n("/StemV "+t.metadata.stemV),n("/ItalicAngle "+t.metadata.italicAngle),n("/Ascent "+t.metadata.ascender),n("/Descent "+t.metadata.decender),n("/CapHeight "+t.metadata.capHeight),n(">>"),n("endobj");var d=a();n("<<"),n("/Type /Font"),n("/BaseFont /"+t.fontName),n("/FontDescriptor "+c+" 0 R"),n("/W "+e.API.PDFObject.convert(i)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+t.encoding+")"),n(">>"),n(">>"),n("endobj"),t.objectNumber=a(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/BaseFont /"+t.fontName),n("/Encoding /"+t.encoding),n("/DescendantFonts ["+d+" 0 R]"),n(">>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject)}]),n.events.push(["putFont",function(t){!function(t,n,r){if(t.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===t.encoding){t.metadata.Unicode.widths;for(var a=t.metadata.rawData,i="",o=0;o>"),n("stream"),n(i),n("endstream"),n("endobj");var l=r();for(n("<<"),n("/Descent "+t.metadata.decender),n("/CapHeight "+t.metadata.capHeight),n("/StemV "+t.metadata.stemV),n("/Type /FontDescriptor"),n("/FontFile2 "+s+" 0 R"),n("/Flags 96"),n("/FontBBox "+e.API.PDFObject.convert(t.metadata.bbox)),n("/FontName /"+t.fontName),n("/ItalicAngle "+t.metadata.italicAngle),n("/Ascent "+t.metadata.ascender),n(">>"),n("endobj"),t.objectNumber=r(),o=0;o>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject)}]);var a=function(e){var t,n,a=e.text||"",i=e.x,o=e.y,s=e.options||{},l=e.mutex||{},u=l.pdfEscape,c=l.activeFontKey,d=l.fonts,f=(l.activeFontSize,""),h=0,p="",m=d[n=c].encoding;if("Identity-H"!==d[n].encoding)return{text:a,x:i,y:o,options:s,mutex:l};for(p=a,n=c,"[object Array]"===Object.prototype.toString.call(a)&&(p=a[0]),h=0;h>7,o=1<<1+(7&a);e[t++],e[t++];var s=null;i&&(s=t,t+=3*o);var l=!0,u=[],c=0,d=null,f=0,h=null;for(this.width=n,this.height=r;l&&t>2&7,t++;break;case 254:for(;0!==(E=e[t++]);)t+=E;break;default:throw"Unknown graphic control label: 0x"+e[t-1].toString(16)}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,A=e[t++]|e[t++]<<8,y=e[t++],b=y>>6&1,w=s,_=!1;y>>7&&(_=!0,w=t,t+=3*(1<<1+(7&y)));var C=t;for(t++;;){var E;if(0===(E=e[t++]))break;t+=E}u.push({x:m,y:v,width:g,height:A,has_local_palette:_,palette_offset:w,data_offset:C,data_length:t-C,transparent_index:d,interlaced:!!b,delay:c,disposal:f});break;case 59:l=!1;break;default:throw"Unknown gif block: 0x"+e[t-1].toString(16)}this.numFrames=function(){return u.length},this.loopCount=function(){return h},this.frameInfo=function(e){if(e<0||e>=u.length)throw"Frame index out of range.";return u[e]},this.decodeAndBlitFrameBGRA=function(t,r){var a=this.frameInfo(t),i=a.width*a.height,o=new Uint8Array(i);Se(e,a.data_offset,o,i);var s=a.palette_offset,l=a.transparent_index;null===l&&(l=256);var u=a.width,c=n-u,d=u,f=4*(a.y*n+a.x),h=4*((a.y+a.height)*n+a.x),p=f,m=4*c;!0===a.interlaced&&(m+=4*(u+c)*7);for(var v=8,g=0,A=o.length;g>=1)),y===l)p+=4;else{var b=e[s+3*y],w=e[s+3*y+1],_=e[s+3*y+2];r[p++]=_,r[p++]=w,r[p++]=b,r[p++]=255}--d}},this.decodeAndBlitFrameRGBA=function(t,r){var a=this.frameInfo(t),i=a.width*a.height,o=new Uint8Array(i);Se(e,a.data_offset,o,i);var s=a.palette_offset,l=a.transparent_index;null===l&&(l=256);var u=a.width,c=n-u,d=u,f=4*(a.y*n+a.x),h=4*((a.y+a.height)*n+a.x),p=f,m=4*c;!0===a.interlaced&&(m+=4*(u+c)*7);for(var v=8,g=0,A=o.length;g>=1)),y===l)p+=4;else{var b=e[s+3*y],w=e[s+3*y+1],_=e[s+3*y+2];r[p++]=b,r[p++]=w,r[p++]=_,r[p++]=255}--d}}}function Se(e,t,n,r){for(var a=e[t++],i=1<>=l,c-=l,v!==i){if(v===o)break;for(var g=v>8,++A;var b=y;if(r>=8;null!==m&&s<4096&&(p[s++]=m<<8|b,u+1<=s&&l<12&&(++l,u=u<<1|1)),m=v}else s=o+1,u=(1<<(l=a+1))-1,m=null}return f!==r&&console.log("Warning, gif stream shorter than expected."),n}e.exports?e.exports.saveAs=Ee:null!==n(175)&&null!==n(1971)&&(void 0!==(i=function(){return Ee}.call(t,n,t,e))&&(e.exports=i)),se.API.adler32cs=(he="function"==typeof ArrayBuffer&&"function"==typeof Uint8Array,pe=null,me=function(){if(!he)return function(){return!1};try{var e={};"function"==typeof e.Buffer&&(pe=e.Buffer)}catch(e){}return function(e){return e instanceof ArrayBuffer||null!==pe&&e instanceof pe}}(),ve=null!==pe?function(e){return new pe(e,"utf8").toString("binary")}:function(e){return unescape(encodeURIComponent(e))},ge=65521,Ae=function(e,t){for(var n=65535&e,r=e>>>16,a=0,i=t.length;a>>0},ye=function(e,t){for(var n=65535&e,r=e>>>16,a=0,i=t.length;a>>0},we=(be={}).Adler32=(((fe=(de=function(e){if(!(this instanceof de))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(e=null==e?1:+e))throw new Error("First arguments needs to be a finite number.");this.checksum=e>>>0}).prototype={}).constructor=de).from=((le=function(e){if(!(this instanceof de))throw new TypeError("Constructor cannot called be as a function.");if(null==e)throw new Error("First argument needs to be a string.");this.checksum=Ae(1,e.toString())}).prototype=fe,le),de.fromUtf8=((ue=function(e){if(!(this instanceof de))throw new TypeError("Constructor cannot called be as a function.");if(null==e)throw new Error("First argument needs to be a string.");var t=ve(e.toString());this.checksum=Ae(1,t)}).prototype=fe,ue),he&&(de.fromBuffer=((ce=function(e){if(!(this instanceof de))throw new TypeError("Constructor cannot called be as a function.");if(!me(e))throw new Error("First argument needs to be ArrayBuffer.");var t=new Uint8Array(e);return this.checksum=ye(1,t)}).prototype=fe,ce)),fe.update=function(e){if(null==e)throw new Error("First argument needs to be a string.");return e=e.toString(),this.checksum=Ae(this.checksum,e)},fe.updateUtf8=function(e){if(null==e)throw new Error("First argument needs to be a string.");var t=ve(e.toString());return this.checksum=Ae(this.checksum,t)},he&&(fe.updateBuffer=function(e){if(!me(e))throw new Error("First argument needs to be ArrayBuffer.");var t=new Uint8Array(e);return this.checksum=ye(this.checksum,t)}),fe.clone=function(){return new we(this.checksum)},de),be.from=function(e){if(null==e)throw new Error("First argument needs to be a string.");return Ae(1,e.toString())},be.fromUtf8=function(e){if(null==e)throw new Error("First argument needs to be a string.");var t=ve(e.toString());return Ae(1,t)},he&&(be.fromBuffer=function(e){if(!me(e))throw new Error("First argument need to be ArrayBuffer.");var t=new Uint8Array(e);return ye(1,t)}),be);try{t.GifWriter=function(e,t,n,r){var a=0,i=void 0===(r=void 0===r?{}:r).loop?null:r.loop,o=void 0===r.palette?null:r.palette;if(t<=0||n<=0||65535>=1;)++l;if(c=1<>8&255,e[a++]=255&n,e[a++]=n>>8&255,e[a++]=(null!==o?128:0)|l,e[a++]=u,e[a++]=0,null!==o)for(var d=0,f=o.length;d>16&255,e[a++]=h>>8&255,e[a++]=255&h}if(null!==i){if(i<0||65535>8&255,e[a++]=0}var p=!1;this.addFrame=function(t,n,r,i,l,u){if(!0===p&&(--a,p=!1),u=void 0===u?{}:u,t<0||n<0||65535>=1;)++h;f=1<>8&255,e[a++]=A,e[a++]=0),e[a++]=44,e[a++]=255&t,e[a++]=t>>8&255,e[a++]=255&n,e[a++]=n>>8&255,e[a++]=255&r,e[a++]=r>>8&255,e[a++]=255&i,e[a++]=i>>8&255,e[a++]=!0===c?128|h-1:0,!0===c)for(var y=0,b=d.length;y>16&255,e[a++]=w>>8&255,e[a++]=255&w}a=function(e,t,n,r){e[t++]=n;var a=t++,i=1<>=8,c-=8,t===a+256&&(e[a]=255,a=t++)}function h(e){d|=e<>=8,c-=8,t===a+256&&(e[a]=255,a=t++);4096===l?(h(i),l=s+1,u=n+1,m={}):(1<>8&255),P(255&e)}function D(e,t,n,r,a){for(var i,o=a[0],s=a[240],l=function(e,t){var n,r,a,i,o,s,l,u,c,d,f=0;for(c=0;c<8;++c){n=e[f],r=e[f+1],a=e[f+2],i=e[f+3],o=e[f+4],s=e[f+5],l=e[f+6];var p=n+(u=e[f+7]),m=n-u,v=r+l,g=r-l,A=a+s,y=a-s,b=i+o,w=i-o,_=p+b,C=p-b,E=v+A,x=v-A;e[f]=_+E,e[f+4]=_-E;var S=.707106781*(x+C);e[f+2]=C+S,e[f+6]=C-S;var k=.382683433*((_=w+y)-(x=g+m)),M=.5411961*_+k,T=1.306562965*x+k,B=.707106781*(E=y+g),N=m+B,F=m-B;e[f+5]=F+M,e[f+3]=F-M,e[f+1]=N+T,e[f+7]=N-T,f+=8}for(c=f=0;c<8;++c){n=e[f],r=e[f+8],a=e[f+16],i=e[f+24],o=e[f+32],s=e[f+40],l=e[f+48];var O=n+(u=e[f+56]),P=n-u,I=r+l,D=r-l,L=a+s,z=a-s,H=i+o,R=i-o,j=O+H,U=O-H,V=I+L,W=I-L;e[f]=j+V,e[f+32]=j-V;var Q=.707106781*(W+U);e[f+16]=U+Q,e[f+48]=U-Q;var $=.382683433*((j=R+z)-(W=D+P)),K=.5411961*j+$,q=1.306562965*W+$,G=.707106781*(V=z+D),Y=P+G,X=P-G;e[f+40]=X+K,e[f+24]=X-K,e[f+8]=Y+q,e[f+56]=Y-q,f++}for(c=0;c<64;++c)d=e[c]*t[c],h[c]=0>4;for(var b=1;b<=v;++b)O(s);y&=15}i=32767+p[g],O(a[(y<<4)+f[i]]),O(d[i]),g++}return 63!=m&&O(o),n}function L(e){e<=0&&(e=1),100>3)*K+(j=4*(7&V)),$<=q+U&&(R-=K*(q+1+U-$)),K<=w+j&&(R-=w+j-K+4),C=W[R++],F=W[R++],z=W[R++],A[V]=(_[C]+_[F+256>>0]+_[z+512>>0]>>16)-128,y[V]=(_[C+768>>0]+_[F+1024>>0]+_[z+1280>>0]>>16)-128,b[V]=(_[C+1280>>0]+_[F+1536>>0]+_[z+1792>>0]>>16)-128;f=D(A,u,f,t,r),h=D(y,c,h,n,a),p=D(b,c,p,n,a),w+=32}q+=8}if(0<=g){var G=[];G[1]=g+1,G[0]=(1<>0]=38470*e,_[e+512>>0]=7471*e+32768,_[e+768>>0]=-11059*e,_[e+1024>>0]=-21709*e,_[e+1280>>0]=32768*e+8421375,_[e+1536>>0]=-27439*e,_[e+1792>>0]=-5329*e}(),L(e),(new Date).getTime()}try{e.exports=ke}catch(s){}function Me(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}Me.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<>7-s&1];this.data[o+4*s]=l.blue,this.data[o+4*s+1]=l.green,this.data[o+4*s+2]=l.red,this.data[o+4*s+3]=255}0!=t&&(this.pos+=4-t)}},Me.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;0<=n;n--){for(var r=this.bottom_up?n:this.height-1-n,a=0;a>4,l=15&i,u=this.palette[s];if(this.data[o]=u.blue,this.data[o+1]=u.green,this.data[o+2]=u.red,this.data[o+3]=255,2*a+1>=this.width)break;u=this.palette[l],this.data[o+4]=u.blue,this.data[o+4+1]=u.green,this.data[o+4+2]=u.red,this.data[o+4+3]=255}0!=t&&(this.pos+=4-t)}},Me.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;0<=t;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r>5&t)/t*255|0,l=(i>>10&t)/t*255|0,u=i>>15?255:0,c=r*this.width*4+4*a;this.data[c]=l,this.data[c+1]=s,this.data[c+2]=o,this.data[c+3]=u}this.pos+=e}},Me.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;0<=r;r--){for(var a=this.bottom_up?r:this.height-1-r,i=0;i>5&n)/n*255|0,u=(o>>11)/t*255|0,c=a*this.width*4+4*i;this.data[c]=u,this.data[c+1]=l,this.data[c+2]=s,this.data[c+3]=255}this.pos+=e}},Me.prototype.bit24=function(){for(var e=this.height-1;0<=e;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n>>=1,n<<=1,0<--t;);return n>>>1}e.build_tree=function(a){var i,o,s,l=e.dyn_tree,u=e.stat_desc.static_tree,c=e.stat_desc.elems,d=-1;for(a.heap_len=0,a.heap_max=n,i=0;ie.max_code||(r.bl_count[s]++,l=0,h<=i&&(l=f[i-h]),u=c[2*i],r.opt_len+=u*(s+l),d&&(r.static_len+=u*(d[2*i+1]+l)));if(0!==m){do{for(s=p-1;0===r.bl_count[s];)s--;r.bl_count[s]--,r.bl_count[s+1]+=2,r.bl_count[p]--,m-=2}while(0e.max_code||(c[2*o+1]!=s&&(r.opt_len+=(s-c[2*o+1])*c[2*o],c[2*o+1]=s),i--)}}(a),function(e,n,a){var i,o,s,l=[],u=0;for(i=1;i<=t;i++)l[i]=u=u+a[i-1]<<1;for(o=0;o<=n;o++)0!==(s=e[2*o+1])&&(e[2*o]=r(l[s]++,s))}(l,e.max_code,a.bl_count)}}function i(e,t,n,r,a){var i=this;i.static_tree=e,i.extra_bits=t,i.extra_base=n,i.elems=r,i.max_length=a}function o(e,t,n,r,a){var i=this;i.good_length=e,i.max_lazy=t,i.nice_length=n,i.max_chain=r,i.func=a}a._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],a.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],a.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],a.d_code=function(e){return e<256?r[e]:r[256+(e>>>7)]},a.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],a.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],a.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],i.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],i.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],i.static_l_desc=new i(i.static_ltree,a.extra_lbits,257,286,t),i.static_d_desc=new i(i.static_dtree,a.extra_dbits,0,30,t),i.static_bl_desc=new i(null,a.extra_blbits,0,19,7);var s=[new o(0,0,0,0,0),new o(4,4,8,4,1),new o(4,5,16,8,1),new o(4,6,32,32,1),new o(4,4,16,16,2),new o(8,16,32,32,2),new o(8,16,128,128,2),new o(8,32,128,256,2),new o(32,128,258,1024,2),new o(32,258,258,4096,2)],l=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],u=262;function c(e,t,n,r){var a=e[2*t],i=e[2*n];return a>>8&255)}function te(e,t){var n,r=t;16-r<$?(ee(Q|=(n=e)<<$&65535),Q=n>>>16-$,$+=r-16):(Q|=e<<$&65535,$+=r)}function ne(e,t){var n=2*e;te(65535&t[n],65535&t[n+1])}function re(e,t){var n,r,a=-1,i=e[1],o=0,s=7,l=4;for(0===i&&(s=138,l=3),n=0;n<=t;n++)if(r=i,i=e[2*(n+1)+1],!(++o>>=8,$-=8)}function ie(e,t){var n,r,i;if(K.pending_buf[U+2*j]=e>>>8&255,K.pending_buf[U+2*j+1]=255&e,K.pending_buf[H+j]=255&t,j++,0===e?D[2*t]++:(V++,e--,D[2*(a._length_code[t]+256+1)]++,L[2*a.d_code(e)]++),0==(8191&j)&&2>>=3,V>>3,(o=K.static_len+3+7>>>3)<=r&&(r=o)):r=o=t+5,t+4<=r&&-1!=e?le(e,t,n):o==r?(te(2+(n?1:0),3),oe(i.static_ltree,i.static_dtree)):(te(4+(n?1:0),3),function(e,t,n){var r;for(te(e-257,5),te(t-1,5),te(n-4,4),r=0;r>=2),Ms&&0!=--r);return i<=M?i:M}function fe(e){return e.total_in=e.total_out=0,e.msg=null,K.pending=0,K.pending_out=0,t=113,r=0,q.dyn_tree=D,q.stat_desc=i.static_l_desc,G.dyn_tree=L,G.stat_desc=i.static_d_desc,Y.dyn_tree=z,Y.stat_desc=i.static_bl_desc,$=Q=0,W=8,X(),function(){var e;for(p=2*o,e=v[A-1]=0;e>1)&&(B=3),y|=B<<6,0!==S&&(y|=32),t=113,Z((D=y+=31-y%31)>>8&255),Z(255&D)),0!==K.pending){if(e.flush_pending(),0===e.avail_out)return r=-1,0}else if(0===e.avail_in&&c<=P&&4!=c)return e.msg=l[7],-5;if(666==t&&0!==e.avail_in)return a.msg=l[7],-5;if(0!==e.avail_in||0!==M||0!=c&&666!=t){switch(I=-1,s[F].func){case 0:I=function(t){var r,a=65535;for(n-5e.avail_out&&(t=e.avail_out),0!==t&&(e.next_out.set(e.dstate.pending_buf.subarray(e.dstate.pending_out,e.dstate.pending_out+t),e.next_out_index),e.next_out_index+=t,e.dstate.pending_out+=t,e.total_out+=t,e.avail_out-=t,e.dstate.pending-=t,0===e.dstate.pending&&(e.dstate.pending_out=0))}};var h=e.zip||e;h.Deflater=h._jzlib_Deflater=function(e){var t=new f,n=new Uint8Array(512),r=e?e.level:-1;void 0===r&&(r=-1),t.deflateInit(r),t.next_out=n,this.append=function(e,r){var a,i=[],o=0,s=0,l=0;if(e.length){t.next_in_index=0,t.next_in=e,t.avail_in=e.length;do{if(t.next_out_index=0,t.avail_out=512,0!=t.deflate(0))throw new Error("deflating: "+t.msg);t.next_out_index&&(512==t.next_out_index?i.push(new Uint8Array(n)):i.push(new Uint8Array(n.subarray(0,t.next_out_index)))),l+=t.next_out_index,r&&0
* @link http://www.phpied.com/rgb-color-parser-in-javascript/
* @license Use it if you like it
*/
function(r){function a(e){var t;this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,"")).toLowerCase();var n={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var r in n)e==r&&(e=n[r]);for(var i=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],o=0;o "+c.toRGB()+" -> "+c.toHex());u.appendChild(d),u.appendChild(f),l.appendChild(u)}catch(e){}return l}}void 0!==(i=function(){return a}.call(t,n,t,e))&&(e.exports=i),r.RGBColor=a}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0!==r&&r||Function('return typeof this === "object" && this.content')()||Function("return this")()),e.exports=function e(t,n,r){function a(s,l){if(!n[s]){if(!t[s]){var u="function"==typeof o&&o;if(!l&&u)return o(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[s]={exports:{}};t[s][0].call(d.exports,function(e){var n=t[s][1][e];return a(n||e)},d,d.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof o&&o,s=0;s= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=c-d,C=Math.floor,E=String.fromCharCode;function x(e){throw RangeError(w[e])}function S(e,t){for(var n=e.length;n--;)e[n]=t(e[n]);return e}function k(e,t){return S(e.split(b),t).join(".")}function M(e){for(var t,n,r=[],a=0,i=e.length;a>>10&1023|55296),e=56320|1023&e),t+=E(e)}).join("")}function B(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function N(e,t,n){var r=0;for(e=n?C(e/p):e>>1,e+=C(e/t);_*f>>1C((u-w)/o))&&x("overflow"),w+=l*o,!(l<(h=s<=E?d:E+f<=s?f:s-E));s+=c)o>C(u/(p=c-h))&&x("overflow"),o*=p;E=N(w-i,t=y.length+1,0==i),C(w/t)>u-_&&x("overflow"),_+=C(w/t),w%=t,y.splice(w++,0,_)}return T(y)}function O(e){var t,n,r,a,i,o,s,l,h,p,A,y,b,w,_,S=[];for(y=(e=M(e)).length,t=v,i=m,o=n=0;oC((u-n)/(b=r+1))&&x("overflow"),n+=(s-t)*b,t=s,o=0;ou&&x("overflow"),A==t){for(l=n,h=c;!(l<(p=h<=i?d:i+f<=h?f:h-i));h+=c)_=l-p,w=c-p,S.push(E(B(p+_%w,0))),l=C(_/w);S.push(E(B(l,0))),i=N(n,b,r==a),n=0,++r}++n,++t}return S.join("")}if(s={version:"1.2.4",ucs2:{decode:M,encode:T},decode:F,encode:O,toASCII:function(e){return k(e,function(e){return y.test(e)?"xn--"+O(e):e})},toUnicode:function(e){return k(e,function(e){return A.test(e)?F(e.slice(4).toLowerCase()):e})}},a&&!a.nodeType)if(i)i.exports=s;else for(l in s)s.hasOwnProperty(l)&&(a[l]=s[l]);else r.punycode=s}(this)}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){var r=e("./log");t.exports=function(e,t,n,a,i,o,s){var l=function e(t,n){for(var a=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),i=t.firstChild;i;)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||a.appendChild(e(i,n)),i=i.nextSibling;return 1===t.nodeType&&(a._scrollTop=t.scrollTop,a._scrollLeft=t.scrollLeft,"CANVAS"===t.nodeName?function(e,t){try{t&&(t.width=e.width,t.height=e.height,t.getContext("2d").putImageData(e.getContext("2d").getImageData(0,0,e.width,e.height),0,0))}catch(t){r("Unable to copy canvas content from",e,t)}}(t,a):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(a.value=t.value)),a}(e.documentElement,i.javascriptEnabled),u=t.createElement("iframe");return u.className="html2canvas-container",u.style.visibility="hidden",u.style.position="fixed",u.style.left="-10000px",u.style.top="0px",u.style.border="0",u.width=n,u.height=a,u.scrolling="no",t.body.appendChild(u),new Promise(function(t){var n,r,a,c=u.contentWindow.document;u.contentWindow.onload=u.onload=function(){var e=setInterval(function(){0"),r=o,a=s,!(n=e).defaultView||r===n.defaultView.pageXOffset&&a===n.defaultView.pageYOffset||n.defaultView.scrollTo(r,a),c.replaceChild(c.adoptNode(l),c.documentElement),c.close()})}},{"./log":13}],3:[function(e,t,n){function r(e){this.r=0,this.g=0,this.b=0,this.a=null,this.fromArray(e)||this.namedColor(e)||this.rgb(e)||this.rgba(e)||this.hex6(e)||this.hex3(e)}r.prototype.darken=function(e){var t=1-e;return new r([Math.round(this.r*t),Math.round(this.g*t),Math.round(this.b*t),this.a])},r.prototype.isTransparent=function(){return 0===this.a},r.prototype.isBlack=function(){return 0===this.r&&0===this.g&&0===this.b},r.prototype.fromArray=function(e){return Array.isArray(e)&&(this.r=Math.min(e[0],255),this.g=Math.min(e[1],255),this.b=Math.min(e[2],255),3Date.now()?this.asyncRenderer(e,t,n):setTimeout(f(function(){this.asyncRenderer(e,t)},this),0)},v.prototype.createPseudoHideStyles=function(e){this.createStyles(e,"."+s.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+':before { content: "" !important; display: none !important; }.'+s.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER+':after { content: "" !important; display: none !important; }')},v.prototype.disableAnimations=function(e){this.createStyles(e,"* { -webkit-animation: none !important; -moz-animation: none !important; -o-animation: none !important; animation: none !important; -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important;}")},v.prototype.createStyles=function(e,t){var n=e.createElement("style");n.innerHTML=t,e.body.appendChild(n)},v.prototype.getPseudoElements=function(e){var t=[[e]];if(e.node.nodeType===Node.ELEMENT_NODE){var n=this.getPseudoElement(e,":before"),r=this.getPseudoElement(e,":after");n&&t.push(n),r&&t.push(r)}return U(t)},v.prototype.getPseudoElement=function(e,t){var n=e.computedStyle(t);if(!n||!n.content||"none"===n.content||"-moz-alt-content"===n.content||"none"===n.display)return null;for(var r,a,i=(r=n.content,(a=r.substr(0,1))===r.substr(r.length-1)&&a.match(/'|"/)?r.substr(1,r.length-2):r),l="url"===i.substr(0,3),u=document.createElement(l?"img":"html2canvaspseudoelement"),c=new s(u,e,t),d=n.length-1;0<=d;d--){var f=n.item(d).replace(/(\-[a-z])/g,function(e){return e.toUpperCase().replace("-","")});u.style[f]=n[f]}if(u.className=s.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+s.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER,l)return u.src=p(i)[0].args[0],[c];var h=document.createTextNode(i);return u.appendChild(h),[c,new o(h,c)]},v.prototype.getChildren=function(e){return U([].filter.call(e.node.childNodes,F).map(function(t){var n=[t.nodeType===Node.TEXT_NODE?new o(t,e):new i(t,e)].filter(j);return t.nodeType===Node.ELEMENT_NODE&&n.length&&"TEXTAREA"!==t.tagName?n[0].isElementVisible()?n.concat(this.getChildren(n[0])):[]:n},this))},v.prototype.newStackingContext=function(e,t){var n=new c(t,e.getOpacity(),e.node,e.parent);e.cloneTo(n),(t?n.getParentStack(this):n.parent.stack).contexts.push(n),e.stack=n},v.prototype.createStackingContexts=function(){this.nodes.forEach(function(e){var t,n;D(e)&&(this.isRootElement(e)||e.getOpacity()<1||(n=(t=e).css("position"),"auto"!==(-1!==["absolute","relative","fixed"].indexOf(n)?t.css("zIndex"):"auto"))||this.isBodyWithTransparentRoot(e)||e.hasTransform())?this.newStackingContext(e,!0):D(e)&&(O(e)&&M(e)||-1!==["inline-block","inline-table"].indexOf(e.css("display"))||P(e))?this.newStackingContext(e,!1):e.assignStack(e.parent.stack)},this)},v.prototype.isBodyWithTransparentRoot=function(e){return"BODY"===e.node.nodeName&&e.parent.color("backgroundColor").isTransparent()},v.prototype.isRootElement=function(e){return null===e.parent},v.prototype.sortStackingContexts=function(e){var t;e.contexts.sort((t=e.contexts.slice(0),function(e,n){return e.cssInt("zIndex")+t.indexOf(e)/t.length-(n.cssInt("zIndex")+t.indexOf(n)/t.length)})),e.contexts.forEach(this.sortStackingContexts,this)},v.prototype.parseTextBounds=function(e){return function(t,n,r){if("none"!==e.parent.css("textDecoration").substr(0,4)||0!==t.trim().length){if(this.support.rangeBounds&&!e.parent.hasTransform()){var a=r.slice(0,n).join("").length;return this.getRangeBounds(e.node,a,t.length)}if(e.node&&"string"==typeof e.node.data){var i=e.node.splitText(t.length),o=this.getWrapperBounds(e.node,e.parent.hasTransform());return e.node=i,o}}else this.support.rangeBounds&&!e.parent.hasTransform()||(e.node=e.node.splitText(t.length));return{}}},v.prototype.getWrapperBounds=function(e,t){var n=e.ownerDocument.createElement("html2canvaswrapper"),r=e.parentNode,a=e.cloneNode(!0);n.appendChild(e.cloneNode(!0)),r.replaceChild(n,e);var i=t?m(n):h(n);return r.replaceChild(a,n),i},v.prototype.getRangeBounds=function(e,t,n){var r=this.range||(this.range=e.ownerDocument.createRange());return r.setStart(e,t),r.setEnd(e,t+n),r.getBoundingClientRect()},v.prototype.parse=function(e){var t=e.contexts.filter(S),n=e.children.filter(D),r=n.filter(I(P)),a=r.filter(I(O)).filter(I(T)),i=n.filter(I(O)).filter(P),o=r.filter(I(O)).filter(T),s=e.contexts.concat(r.filter(O)).filter(M),l=e.children.filter(z).filter(N),u=e.contexts.filter(k);t.concat(a).concat(i).concat(o).concat(s).concat(l).concat(u).forEach(function(e){this.renderQueue.push(e),B(e)&&(this.parse(e),this.renderQueue.push(new A))},this)},v.prototype.paint=function(e){try{e instanceof A?this.renderer.ctx.restore():z(e)?(L(e.parent)&&e.parent.appendToDOM(),this.paintText(e),L(e.parent)&&e.parent.cleanDOM()):this.paintNode(e)}catch(e){if(r(e),this.options.strict)throw e}},v.prototype.paintNode=function(e){B(e)&&(this.renderer.setOpacity(e.opacity),this.renderer.ctx.save(),e.hasTransform()&&this.renderer.setTransform(e.parseTransform())),"INPUT"===e.node.nodeName&&"checkbox"===e.node.type?this.paintCheckbox(e):"INPUT"===e.node.nodeName&&"radio"===e.node.type?this.paintRadio(e):this.paintElement(e)},v.prototype.paintElement=function(e){var t=e.parseBounds();this.renderer.clip(e.backgroundClip,function(){this.renderer.renderBackground(e,t,e.borders.borders.map(R))},this),this.renderer.clip(e.clip,function(){this.renderer.renderBorders(e.borders.borders)},this),this.renderer.clip(e.backgroundClip,function(){switch(e.node.nodeName){case"svg":case"IFRAME":var n=this.images.get(e.node);n?this.renderer.renderImage(e,t,e.borders,n):r("Error loading <"+e.node.nodeName+">",e.node);break;case"IMG":var a=this.images.get(e.node.src);a?this.renderer.renderImage(e,t,e.borders,a):r("Error loading ",e.node.src);break;case"CANVAS":this.renderer.renderImage(e,t,e.borders,{image:e.node});break;case"SELECT":case"INPUT":case"TEXTAREA":this.paintFormValue(e)}},this)},v.prototype.paintCheckbox=function(e){var t=e.parseBounds(),n=Math.min(t.width,t.height),r={width:n-1,height:n-1,top:t.top,left:t.left},a=[3,3],i=[a,a,a,a],o=[1,1,1,1].map(function(e){return{color:new u("#A5A5A5"),width:e}}),s=_(r,i,o);this.renderer.clip(e.backgroundClip,function(){this.renderer.rectangle(r.left+1,r.top+1,r.width-2,r.height-2,new u("#DEDEDE")),this.renderer.renderBorders(b(o,r,s,i)),e.node.checked&&(this.renderer.font(new u("#424242"),"normal","normal","bold",n-3+"px","arial"),this.renderer.text("✔",r.left+n/6,r.top+n-1))},this)},v.prototype.paintRadio=function(e){var t=e.parseBounds(),n=Math.min(t.width,t.height)-2;this.renderer.clip(e.backgroundClip,function(){this.renderer.circleStroke(t.left+1,t.top+1,n,new u("#DEDEDE"),1,new u("#A5A5A5")),e.node.checked&&this.renderer.circle(Math.ceil(t.left+n/4)+1,Math.ceil(t.top+n/4)+1,Math.floor(n/2),new u("#424242"))},this)},v.prototype.paintFormValue=function(e){var t=e.getValue();if(0=e.length&&(t=e.splice(0,i)).length&&r.push(a.ucs2.encode(t));return r}(n),i=e.parent.fontWeight(),o=e.parent.css("fontSize"),s=e.parent.css("fontFamily"),l=e.parent.parseTextShadows();this.renderer.font(e.parent.color("color"),e.parent.css("fontStyle"),e.parent.css("fontVariant"),i,o,s),l.length?this.renderer.fontShadow(l[0].color,l[0].offsetX,l[0].offsetY,l[0].blur):this.renderer.clearShadow(),this.renderer.clip(e.parent.clip,function(){r.map(this.parseTextBounds(e),this).forEach(function(t,n){t&&!1===/^\s*$/.test(r[n])&&(this.renderer.text(r[n],t.left,t.bottom),this.renderTextDecoration(e.parent,t,this.fontMetrics.getMetrics(s,o)))},this)},this)},v.prototype.renderTextDecoration=function(e,t,n){switch(e.css("textDecoration").split(" ")[0]){case"underline":this.renderer.rectangle(t.left,Math.round(t.top+n.baseline+n.lineWidth),t.width,1,e.color("color"));break;case"overline":this.renderer.rectangle(t.left,Math.round(t.top),t.width,1,e.color("color"));break;case"line-through":this.renderer.rectangle(t.left,Math.ceil(t.top+n.middle+n.lineWidth),t.width,1,e.color("color"))}};var y={inset:[["darken",.6],["darken",.1],["darken",.1],["darken",.6]]};function b(e,t,n,r){return e.map(function(a,i){if(0i+n[3].width?0:u-n[3].width,c-n[0].width).topRight.subdivide(.5),bottomRightOuter:w(r+g,a+v,d,f).bottomRight.subdivide(.5),bottomRightInner:w(r+Math.min(g,i-n[3].width),a+Math.min(v,o+n[0].width),Math.max(0,d-n[1].width),f-n[2].width).bottomRight.subdivide(.5),bottomLeftOuter:w(r,a+A,h,p).bottomLeft.subdivide(.5),bottomLeftInner:w(r+n[3].width,a+A,Math.max(0,h-n[3].width),p-n[2].width).bottomLeft.subdivide(.5)}}function C(e,t,n,r){var a=function(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}};return{start:e,startControl:t,endControl:n,end:r,subdivide:function(i){var o=a(e,t,i),s=a(t,n,i),l=a(n,r,i),u=a(o,s,i),c=a(s,l,i),d=a(u,c,i);return[C(e,o,u,d),C(d,c,l,r)]},curveTo:function(e){e.push(["bezierCurve",t.x,t.y,n.x,n.y,r.x,r.y])},curveToReversed:function(r){r.push(["bezierCurve",n.x,n.y,t.x,t.y,e.x,e.y])}}}function E(e,t,n,r,a,i,o){var s=[];return 0";try{n.drawImage(e,0,0),t.toDataURL()}catch(e){return!1}return!0},t.exports=r},{}],23:[function(e,t,n){var r=e("./xhr"),a=e("./utils").decode64;function i(e){this.src=e,this.image=null;var t=this;this.promise=this.hasFabric().then(function(){return t.isInline(e)?Promise.resolve(t.inlineFormatting(e)):r(e)}).then(function(e){return new Promise(function(n){window.html2canvas.svg.fabric.loadSVGFromString(e,t.createCanvas.call(t,n))})})}i.prototype.hasFabric=function(){return window.html2canvas.svg&&window.html2canvas.svg.fabric?Promise.resolve():Promise.reject(new Error("html2canvas.svg.js is not loaded, cannot render svg"))},i.prototype.inlineFormatting=function(e){return/^data:image\/svg\+xml;base64,/.test(e)?this.decode64(this.removeContentType(e)):this.removeContentType(e)},i.prototype.removeContentType=function(e){return e.replace(/^data:image\/svg\+xml(;base64)?,/,"")},i.prototype.isInline=function(e){return/^data:image\/svg\+xml/i.test(e)},i.prototype.createCanvas=function(e){var t=this;return function(n,r){var a=new window.html2canvas.svg.fabric.StaticCanvas("c");t.image=a.lowerCanvasEl,a.setWidth(r.width).setHeight(r.height).add(window.html2canvas.svg.fabric.util.groupSVGElements(n,r)).renderAll(),e(a.lowerCanvasEl)}},i.prototype.decode64=function(e){return"function"==typeof window.atob?window.atob(e):a(e)},t.exports=i},{"./utils":26,"./xhr":28}],24:[function(e,t,n){var r=e("./svgcontainer");function a(e,t){this.src=e,this.image=null;var n=this;this.promise=t?new Promise(function(t,r){n.image=new Image,n.image.onload=t,n.image.onerror=r,n.image.src="data:image/svg+xml,"+(new XMLSerializer).serializeToString(e),!0===n.image.complete&&t(n.image)}):this.hasFabric().then(function(){return new Promise(function(t){window.html2canvas.svg.fabric.parseSVGDocument(e,n.createCanvas.call(n,t))})})}a.prototype=Object.create(r.prototype),t.exports=a},{"./svgcontainer":23}],25:[function(e,t,n){var r=e("./nodecontainer");function a(e,t){r.call(this,e,t)}function i(e,t,n){if(0>4,o=(15&n)<<4|(r=l.indexOf(e[t+2]))>>2,s=(3&r)<<6|(a=l.indexOf(e[t+3])),c+=64===r?String.fromCharCode(i):64===a||-1===a?String.fromCharCode(i,o):String.fromCharCode(i,o,s);return c},n.getBounds=function(e){if(e.getBoundingClientRect){var t=e.getBoundingClientRect(),n=null==e.offsetWidth?t.width:e.offsetWidth;return{top:t.top,bottom:t.bottom||t.top+t.height,right:t.left+n,left:t.left,width:n,height:null==e.offsetHeight?t.height:e.offsetHeight}}return{}},n.offsetBounds=function(e){var t=e.offsetParent?n.offsetBounds(e.offsetParent):{top:0,left:0};return{top:e.offsetTop+t.top,bottom:e.offsetTop+e.offsetHeight+t.top,right:e.offsetLeft+t.left+e.offsetWidth,left:e.offsetLeft+t.left,width:e.offsetWidth,height:e.offsetHeight}},n.parseBackgrounds=function(e){var t,n,r,a,i,o,s,l=[],u=0,c=0,d=function(){t&&('"'===n.substr(0,1)&&(n=n.substr(1,n.length-2)),n&&s.push(n),"-"===t.substr(0,1)&&0<(a=t.indexOf("-",1)+1)&&(r=t.substr(0,a),t=t.substr(a)),l.push({prefix:r,method:t.toLowerCase(),value:i,args:s,image:null})),s=[],t=r=n=i=""};return s=[],t=r=n=i="",e.split("").forEach(function(e){if(!(0===u&&-1<" \r\n\t".indexOf(e))){switch(e){case'"':o?o===e&&(o=null):o=e;break;case"(":if(o)break;if(0===u)return u=1,void(i+=e);c++;break;case")":if(o)break;if(1===u){if(0===c)return u=0,i+=e,void d();c--}break;case",":if(o)break;if(0===u)return void d();if(1===u&&0===c&&!t.match(/^url$/i))return s.push(n),n="",void(i+=e)}i+=e,0===u?t+=e:n+=e}}),d(),l}},{}],27:[function(e,t,n){var r=e("./gradientcontainer");function a(e){r.apply(this,arguments),this.type="linear"===e.args[0]?r.TYPES.LINEAR:r.TYPES.RADIAL}a.prototype=Object.create(r.prototype),t.exports=a},{"./gradientcontainer":9}],28:[function(e,t,n){t.exports=function(e){return new Promise(function(t,n){var r=new XMLHttpRequest;r.open("GET",e),r.onload=function(){200===r.status?t(r.responseText):n(new Error(r.statusText))},r.onerror=function(){n(new Error("Network Error"))},r.send()})}},{}]},{},[4])(4),function(e){var t="+".charCodeAt(0),n="/".charCodeAt(0),r="0".charCodeAt(0),a="a".charCodeAt(0),i="A".charCodeAt(0),o="-".charCodeAt(0),s="_".charCodeAt(0),l=function(e){var l=e.charCodeAt(0);return l===t||l===o?62:l===n||l===s?63:l>16),c((65280&a)>>8),c(255&a);return 2===i?c(255&(a=l(e.charAt(t))<<2|l(e.charAt(t+1))>>4)):1===i&&(c((a=l(e.charAt(t))<<10|l(e.charAt(t+1))<<4|l(e.charAt(t+2))>>2)>>8&255),c(255&a)),o}(r),n,a)},e.prototype.parse=function(){return this.directory=new d(this.contents),this.head=new p(this),this.name=new w(this),this.cmap=new v(this),this.hhea=new g(this),this.maxp=new _(this),this.hmtx=new C(this),this.post=new y(this),this.os2=new A(this),this.loca=new M(this),this.glyf=new x(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,a;for(a=[],t=0,n=(r=this.bbox).length;t>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(a=this.familyClass)||2===a||3===a||4===a||5===a||7===a,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,a,i,o,s;for(a=o=i=0,s=(e=""+e).length;0<=s?o>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return 2147483648<=(e=this.readUInt32())?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return 32768<=(e=this.readUInt16())?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n,r;for(n=[],t=r=0;0<=e?r>8,l[4*u+1]=(16711680&n[u])>>16,l[4*u]=(4278190080&n[u])>>24;return l},t}(),T=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,a;for(t in r=this.font.cmap.tables[0].codeMap,e={},a=this.subset)n=a[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,a,i,o,s;for(r={},i=0,o=e.length;i>"),i.join("\n")}return""+n},t}()}(se),_e="undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0!==r&&r||Function('return typeof this === "object" && this.content')()||Function("return this")(),Ce=function(){var e,t,n;function r(e){var t,n,r,a,i,o,s,l,u,c,d,f,h,p;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},o=null;;){switch(t=this.readUInt32(),u=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":o&&this.animation.frames.push(o),this.pos+=4,o={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},i=this.readUInt16(),a=this.readUInt16()||100,o.delay=1e3*i/a,o.disposeOp=this.data[this.pos++],o.blendOp=this.data[this.pos++],o.data=[];break;case"IDAT":case"fdAT":for("fdAT"===u&&(this.pos+=4,t-=4),e=(null!=o?o.data:void 0)||this.imgData,f=0;0<=t?fr)throw new Error("More transparent colors than palette size");if(0<(c=r-this.transparency.indexed.length))for(h=0;0<=c?hthis.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.load=function(e,t,n){var a;return"function"==typeof t&&(n=t),(a=new XMLHttpRequest).open("GET",e,!0),a.responseType="arraybuffer",a.onload=function(){var e;return e=new r(new Uint8Array(a.response||a.mozResponseArrayBuffer)),"function"==typeof(null!=t?t.getContext:void 0)&&e.render(t),"function"==typeof n?n(e):void 0},a.send(null)},r.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t>e,this.codeSize=n-=e,this.bytesPos=o,t},o.prototype.getCode=function(e){for(var t=e[0],n=e[1],r=this.codeSize,a=this.codeBuf,o=this.bytes,s=this.bytesPos;r>16,d=65535&u;return(0==r||r>c,this.codeSize=r-c,this.bytesPos=s,d},o.prototype.generateHuffmanTable=function(e){for(var t=e.length,n=0,r=0;rn&&(n=e[r]);for(var a=1<>=1;for(r=c;r>=1)){var l,u;if(1==s)l=r,u=a;else if(2==s){for(var c=this.getBits(5)+257,d=this.getBits(5)+1,f=this.getBits(4)+4,h=Array(e.length),p=0;p>16;0>16)&&(C=this.getBits(C));var E=(65535&_)+C;b<=w+v&&(b=(F=this.ensureBuffer(w+v)).length);for(var x=0;x>18&63,n=i>>12&63,r=i>>6&63,a=63&i,u[s++]=d.charAt(t)+d.charAt(n)+d.charAt(r)+d.charAt(a),o>16&255,n=o>>8&255,r=255&o,u[l++]=64==a?String.fromCharCode(t):64==i?String.fromCharCode(t,n):String.fromCharCode(t,n,r),s>>0,r=new Array(n),a=1>>0,a=0;a0?r:n)(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(48),a=n(738),i=n(205),o=n(204)("IE_PROTO"),s=function(){},l=function(){var e,t=n(201)("iframe"),r=i.length;for(t.style.display="none",n(322).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("