/*! * * SpreadJS Library 10.0.0 * * Copyright(c) GrapeCity, Inc. All rights reserved. * * Licensed under the SpreadJS Commercial License. * spread.sales@grapecity.com * http://spread.grapecity.com/Pages/Spread-JS-License/ * * */ !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Sparkline=n():(t.GC=t.GC||{},t.GC.Spread=t.GC.Spread||{},t.GC.Spread.Views=t.GC.Spread.Views||{},t.GC.Spread.Views.Plugins=t.GC.Spread.Views.Plugins||{},t.GC.Spread.Views.Plugins.Sparkline=n())}(this,function(){return function(t){function n(e){if(r[e])return r[e].exports;var i=r[e]={exports:{},id:e,loaded:!1};return t[e].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var r={};return n.m=t,n.c=r,n.p="/assets/",n(0)}([function(t,n,r){"use strict";!function(){function n(t){if(t instanceof w)return t;var n=0,r=0,i=0,o=0;if(t&&""!==t){var u=e(t);u&&(3===u.length?(n=255,r=u[0],i=u[1],o=u[2]):4===u.length&&(n=u[0],r=u[1],i=u[2],o=u[3]))}return new w(n,r,i,o)}function e(t){var n=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i,r=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i,e=/^rgb\(([\s\d]*),([\s\d]*),([\s\d]*)\)$/i,i=/^rgba\(([\s\d]*),([\s\d]*),([\s\d]*),([\s\d]*)\)$/i,o=function(){var t;return function(n){if(!t){var r=window.document.createElement("canvas");r&&r.getContext&&(t=r.getContext("2d"))}return t?(t.fillStyle=n,n=t.fillStyle):n}}(),u=function(t){return parseInt(t,16)},a=function(t){return parseInt(t+t,16)},f=function(t){return t.indexOf("%")>0?2.55*parseFloat(t):parseFloat(t)},c=o(t),s=RegExp;if(n.test(c))return l.map([s.$1,s.$2,s.$3],u);if(i.test(c)){var h=l.map([s.$1,s.$2,s.$3],f);return h.splice(0,0,255*parseFloat(s.$4)),h}return e.test(c)?l.map([s.$1,s.$2,s.$3],f):r.test(c)?l.map([s.$1,s.$2,s.$3],a):null}function i(t,n){var r,e=t;if(e instanceof GC.Spread.Views.DataView.CalcCommon.CalcColumnReference)r=e.getValue(n.getCurrentRow(),n.groupPath);else if(e instanceof GC.Spread.Views.DataView.CalcCommon.CalcFieldReference)r=e.getValue();else if(h.isString(e))if(-1!==e.indexOf(",")){var i=e.split(",");r=l.map(i,function(t){return n.calcSource.getValueBySourceIndex_(t,n.getCurrentRow())})}else r=e;else r=e;return h.isNil(r)||""===r?[]:h.isArray(r)?r:[r]}function o(t){var n={},r=!1,e=!0,i="",o="";if(t){t=t.substr(1,t.length-2);for(var u=0,a=t.length;a>u;u++){var f=t.charAt(u);":"===f?e=!1:","!==f||r?"'"===f||'"'===f||("("===f?r=!0:")"===f&&(r=!1),e?i+=f:o+=f):(n[i]=o,i="",o="",e=!0)}i&&(n[i]=o);for(var c in n){var l=n[c];h.isNil(l)||("TRUE"===l.toUpperCase()?n[c]=!0:"FALSE"===l.toUpperCase()?n[c]=!1:!isNaN(l)&&isFinite(l)&&(n[c]=parseFloat(l)))}}return n}function u(){return Math.round(100*window.devicePixelRatio)/100}function a(t,n){var r=i(t[1],n),e=i(t[2],n),o={values:r,dates:e,setting:t[3]};return"LINESPARKLINE"===this.name?new O(o):"COLUMNSPARKLINE"===this.name?new L(o):new T(o)}function f(t){var n=new A;if(t){var r,e,i=h.isString(t)?o(t):t,u={AXISCOLOR:"axisColor",FIRSTMARKERCOLOR:"firstMarkerColor",HIGHMARKERCOLOR:"highMarkerColor",LASTMARKERCOLOR:"lastMarkerColor",LOWMARKERCOLOR:"lowMarkerColor",MARKERSCOLOR:"markersColor",NEGATIVECOLOR:"negativeColor",SERIESCOLOR:"seriesColor",DISPLAYEMPTYCELLSAS:"displayEmptyCellsAs",RIGHTTOLEFT:"rightToLeft",DISPLAYXAXIS:"displayXAxis",SHOWFIRST:"showFirst",SHOWHIGH:"showHigh",SHOWLAST:"showLast",SHOWLOW:"showLow",SHOWNEGATIVE:"showNegative",SHOWMARKERS:"showMarkers",MANUALMAX:"manualMax",MANUALMIN:"manualMin",MAXAXISTYPE:"maxAxisType",MINAXISTYPE:"minAxisType",LINEWEIGHT:"lineWeight"};for(e in i)e&&(r=u[e.toUpperCase()],r&&(n[r]=i[e]));var a={AC:"axisColor",FMC:"firstMarkerColor",HMC:"highMarkerColor",LASTMC:"lastMarkerColor",LOWMC:"lowMarkerColor",MC:"markersColor",NC:"negativeColor",SC:"seriesColor",DECA:"displayEmptyCellsAs",RTL:"rightToLeft",DXA:"displayXAxis",SF:"showFirst",SH:"showHigh",SLAST:"showLast",SLOW:"showLow",SN:"showNegative",SM:"showMarkers",MMAX:"manualMax",MMIN:"manualMin",MAXAT:"maxAxisType",MINAT:"minAxisType",LW:"lineWeight"};for(e in i)e&&(r=a[e.toUpperCase()],r&&(n[r]=i[e]));n.maxAxisType===_.group&&(n.maxAxisType=_.individual),n.minAxisType===_.group&&(n.minAxisType=_.individual),n.rightToLeft=!!n.rightToLeft,n.displayXAxis=!!n.displayXAxis,n.showFirst=!!n.showFirst,n.showHigh=!!n.showHigh,n.showLast=!!n.showLast,n.showLow=!!n.showLow,n.showNegative=!!n.showNegative,n.showMarkers=!!n.showMarkers}return n}function c(t,n){return new C({values:i(t[1],n),colors:t.slice(2)})}var l=r(1),s=r(3),h=r(4),p=GC.Spread.Sparklines.SparklineRender,d=Math.floor,g=Math.PI,v=Math.sin,y=Math.cos,m=Math.min,w=(Math.max,Math.abs,function(){function t(t,n,r,e){var i=this;i.a=t,i.r=n,i.g=r,i.b=e}return t.prototype={toString:function(){var t=this;return 255===t.a?"#"+t.getColorUnitString(t.r)+t.getColorUnitString(t.g)+t.getColorUnitString(t.b):"rgba("+t.r+","+t.g+","+t.b+","+t.a+")"},getColorUnitString:function(t){var n=t.toString(16);return 1===n.length&&(n="0"+n),n}},t.hueToRGB=function(t,n,r){return 0>r&&(r+=240),r>240&&(r-=240),40>r?t+((n-t)*r+20)/40:120>r?n:160>r?t+((n-t)*(160-r)+20)/40:t},t.fromHLS=function(n,r,e){var i,o,u;if(0===e)i=o=u=parseInt(255*r/240,10);else{var a,f;f=120>=r?(r*(240+e)+120)/240:r+e-(r*e+120)/240,a=2*r-f,i=parseInt((255*t.hueToRGB(a,f,n+80)+120)/240,10),o=parseInt((255*t.hueToRGB(a,f,n)+120)/240,10),u=parseInt((255*t.hueToRGB(a,f,n-80)+120)/240,10)}return new t(255,i,o,u)},t.parse=function(t){return n(t)},t}()),b=(function(){function t(t,n,r,e){var i=this;i.X=t,i.Y=n,i.Width=r,i.Height=e,i.Left=i.X,i.Right=i.Left+i.Width,i.Top=i.Y,i.Bottom=i.Y+i.Height}return t}(),{Gaps:0,Zero:1,Connect:2}),_={individual:0,group:1,custom:2},S=function(){function t(){}return t.prototype={paint:function(t,n){var r=this;h.isNil(n)&&(n=s.gER(t));var e=n.width,i=n.height,o=s.getStyle(t),a=parseFloat(o.paddingLeft),f=parseFloat(o.paddingRight),c=parseFloat(o.paddingTop),l=parseFloat(o.paddingBottom),p=e-a-f,d=i-c-l,g=Math.round(p),v=Math.round(d),y=u(),m=s.createElement(''),w=m.getContext("2d");w.scale(y,y),r._paint(w,g,v),t.innerHTML="";var b=s.createElement('
');b.appendChild(m),t.appendChild(b)},valueOf:function(){return""}},t}(),C=function(t){function n(t){var n=this;n.args=t,n.name="PIESPARKLINE"}function r(t){var n,r=[];if(h.isNil(t))return r;for(var e=0,i=0,o=t.length;o>e;e++)n=t[e],h.isNil(n)||isNaN(n)||!isFinite(n)?r[i++]=0:(0>n&&(n=-n),r[i++]=n);return 1===t.length&&1===r.length&&(r[1]=1-r[0]),r}function e(t,n){var r,e=[],i=n.length;if(i>=t)e=n.slice(0,t);else{0===i?(e.push("darkgray"),i=1):e=n.slice(0);var o,u,a,f,c=[],l=t-i+1;for(r=0;i>r;r++)c[r]=w.parse(e[r]);for(r=i;t>r;r++)o=c[r%i],u=o.r,a=o.g,f=o.b,u-=u/l*(r/i),a-=a/l*(r/i),f-=f/l*(r/i),e[r]=new w(255,d(u),d(a),d(f)).toString()}return e}return h.extends_(n,t),n.prototype._paint=function(t,n,i){var o,u=this,a=n/2,f=i/2,c=5,l=m(n,i)/2-c,s=-.5*g,h=a+l*y(s),p=f+l*v(s),d=[],w=[];if(!(0>=l)){var b,_=u.args,S=r.call(u,_.values),C=S.length,A=e.call(u,C,_.colors),x=0;for(b=0;C>b;b++)x+=S[b];for(t.save(),b=0;C>b;b++)o=s+S[b]/x*2*g,t.beginPath(),t.moveTo(a,f),t.lineTo(h,p),t.arc(a,f,l,s,o,!1),t.lineTo(a,f),t.fillStyle=A[b],t.fill(),d.push(h),w.push(p),s=o,h=a+l*y(s),p=f+l*v(s);for(t.strokeStyle="white",b=0;C>b;b++)t.beginPath(),t.moveTo(a,f),t.lineTo(d[b],w[b]),t.stroke();t.restore()}},n}(S),A=function(){function t(t){var n=this;if(t)for(var r in t)r&&(n[r]=t[r]);else n.axisColor="black",n.firstMarkerColor="rgba(149, 179, 215, 255)",n.highMarkerColor="blue",n.lastMarkerColor="rgba(149, 179, 215, 255)",n.lowMarkerColor="blue",n.markersColor="rgba(36, 64, 98, 255)",n.negativeColor="brown",n.seriesColor="rgba(36, 64, 98, 255)",n.displayEmptyCellsAs=b.Gaps,n.rightToLeft=!1,n.displayXAxis=!1,n.lineWeight=1,n.showFirst=!1,n.showHigh=!1,n.showLast=!1,n.showLow=!1,n.showNegative=!1,n.showMarkers=!1,n.manualMax=0,n.manualMin=0,n.maxAxisType=_.individual,n.minAxisType=_.individual,n.groupMaxValue=0,n.groupMinValue=0}return t}(),x=function(t){function n(){}return h.extends_(n,t),n.prototype._paint=function(t,n,r){var e=this,i=e.args,o={settings:{options:f(i.setting)},values:i.values,dateValues:l.map(i.dates,function(t){return h.toDate(t).getTime()}),zoomFactor:1,sparklineType:e.sparklineType,displayDateAxis:i.dates&&i.dates.length>0,getColor:function(t){return t}};(new p).paint(t,o,0,0,n,r)},n}(S),O=function(t){function n(n){var r=this;r.sparklineType=0,r.args=n,t.call(r)}return h.extends_(n,t),n}(x),L=function(t){function n(n){var r=this;r.sparklineType=1,r.args=n,t.call(r)}return h.extends_(n,t),n}(x),T=function(t){function n(n){var r=this;r.sparklineType=2,r.args=n,t.call(r)}return h.extends_(n,t),n}(x),M=GC.Spread.Views.DataView.Functions.defineCustomFunction;M("PIESPARKLINE",c,{minArgs:1,tableArgIndex:GC.Spread.Views.DataView.Functions.firstTableArgIndex}),M("LINESPARKLINE",a,{minArgs:1,tableArgIndex:GC.Spread.Views.DataView.Functions.firstTableArgIndex}),M("COLUMNSPARKLINE",a,{minArgs:1,tableArgIndex:GC.Spread.Views.DataView.Functions.firstTableArgIndex}),M("WINLOSSSPARKLINE",a,{minArgs:1,tableArgIndex:GC.Spread.Views.DataView.Functions.firstTableArgIndex}),t.exports={BaseSparkline:S,PieSparkline:C,LineSparkline:O,ColumnSparkline:L,WinlossSparkline:T}}()},function(t,n,r){(function(t,r){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};(function(){function i(t,n){return t.set(n[0],n[1]),t}function o(t,n){return t.add(n),t}function u(t,n,r){var e=r.length;switch(e){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}function a(t,n){for(var r=-1,e=t?t.length:0;++r-1}function h(t,n,r){for(var e=-1,i=t?t.length:0;++e-1;);return r}function O(t,n){for(var r=t.length;r--&&m(n,t[r],0)>-1;);return r}function L(t){return t&&t.Object===Object?t:null}function T(t,n){for(var r=t.length,e=0;r--;)t[r]===n&&e++;return e}function M(t,n){return null==t?He:t[n]}function E(t,n,r){for(var e=t.length,i=n+(r?1:-1);r?i--:++ir)return!1;var e=n.length-1;return r==e?n.pop():Xo.call(n,r,1),!0}function Y(t){var n=this.__data__,r=vt(n,t);return 0>r?He:n[r][1]}function q(t){return vt(this.__data__,t)>-1}function Z(t,n){var r=this.__data__,e=vt(r,t);return 0>e?r.push([t,n]):r[e][1]=n,this}function J(t){var n=-1,r=t?t.length:0;for(this.clear();++n=t?t:r),n!==He&&(t=t>=n?t:n)),t}function bt(t,n,r,e,i,o,u){var f;if(e&&(f=o?e(t,i,o,u):e(t)),f!==He)return f;if(!oe(t))return t;var c=Wu(t);if(c){if(f=Qn(t),!n)return An(t,f)}else{var l=Zn(t),s=l==wi||l==bi;if(Pu(t))return hn(t,n);if(l==Ci||l==di||s&&!o){if(j(t))return o?t:{};if(f=tr(s?{}:t),!n)return On(t,yt(f,t))}else{if(!wo[l])return o?t:{};f=nr(t,l,bt,n)}}u||(u=new at);var h=u.get(t);if(h)return h;if(u.set(t,f),!c)var p=r?Vn(t):Ae(t);return a(p||t,function(i,o){p&&(o=i,i=t[o]),gt(f,o,bt(i,n,r,e,o,t,u))}),f}function _t(t){return oe(t)?$o(t):{}}function St(t,n,r,e){var i=-1,o=s,u=!0,a=t.length,f=[],c=n.length;if(!a)return f;r&&(n=p(n,S(r))),e?(o=h,u=!1):n.length>=Ge&&(o=A,u=!1,n=new it(n));t:for(;++ir&&(r=-r>i?0:i+r),e=e===He||e>i?i:ye(e),0>e&&(e+=i),e=r>e?0:me(e);e>r;)t[r++]=n;return t}function Ot(t,n){var r=[];return vu(t,function(t,e,i){n(t,e,i)&&r.push(t)}),r}function Lt(t,n,r,e,i){var o=-1,u=t.length;for(r||(r=er),i||(i=[]);++o0&&r(a)?n>1?Lt(a,n-1,r,e,i):d(i,a):e||(i[i.length]=a)}return i}function Tt(t,n){return t&&mu(t,n,Ae)}function Mt(t,n){return t&&wu(t,n,Ae)}function Et(t,n){n=ar(n,t)?[n]:ln(n);for(var r=0,e=n.length;null!=t&&e>r;)t=t[mr(n[r++])];return r&&r==e?t:He}function jt(t,n,r){var e=n(t);return Wu(t)?e:d(e,r(t))}function Rt(t,n){return t>n}function Nt(t,n){return null!=t&&(No.call(t,n)||"object"==("undefined"==typeof t?"undefined":e(t))&&n in t&&null===Yn(t))}function kt(t,n){return null!=t&&n in Object(t)}function It(t,n,r){for(var e=r?h:s,i=t[0].length,o=t.length,u=o,a=Array(o),f=1/0,c=[];u--;){var l=t[u];u&&n&&(l=p(l,S(n))),f=Jo(l.length,f),a[u]=!r&&(n||i>=120&&l.length>=120)?new it(u&&l):He}l=t[0];var d=-1,g=a[0];t:for(;++dt}function $t(t,n){var r=-1,e=qr(t)?Array(t.length):[];return vu(t,function(t,i,o){e[++r]=n(t,i,o)}),e}function Ut(t){var n=Kn(t);return 1==n.length&&n[0][2]?pr(n[0][0],n[0][1]):function(r){return r===t||Pt(r,t,n)}}function Xt(t,n){return ar(t)&&hr(n)?pr(mr(t),n):function(r){var e=Se(r,t);return e===He&&e===n?Ce(r,t):Ft(n,e,He,ei|ii)}}function Kt(t,n,r,e,i){if(t!==n){if(!Wu(n)&&!de(n))var o=xe(n);a(o||n,function(u,a){if(o&&(a=u,u=n[a]),oe(u))i||(i=new at),zt(t,n,a,r,Kt,e,i);else{var f=e?e(t[a],u,a+"",t,n,i):He;f===He&&(f=u),dt(t,a,f)}})}}function zt(t,n,r,e,i,o,u){var a=t[r],f=n[r],c=u.get(f);if(c)return void dt(t,r,c);var l=o?o(a,f,r+"",t,n,u):He,s=l===He;s&&(l=f,Wu(f)||de(f)?Wu(a)?l=a:Zr(a)?l=An(a):(s=!1,l=bt(f,!0)):se(f)||Yr(f)?Yr(a)?l=be(a):!oe(a)||e&&ee(a)?(s=!1,l=bt(f,!0)):l=a:s=!1),u.set(f,l),s&&i(l,f,e,o,u),u["delete"](f),dt(t,r,l)}function Yt(t,n,r){var e=-1;n=p(n.length?n:[je],S(Un()));var i=$t(t,function(t,r,i){var o=p(n,function(n){return n(t)});return{criteria:o,index:++e,value:t}});return b(i,function(t,n){return _n(t,n,r)})}function qt(t,n){return t=Object(t),g(n,function(n,r){return r in t&&(n[r]=t[r]),n},{})}function Zt(t){return function(n){return null==n?He:n[t]}}function Jt(t){return function(n){return Et(n,t)}}function Qt(t,n){for(var r=t?n.length:0,e=r-1;r--;){var i=n[r];if(r==e||i!==o){var o=i;if(or(i))Xo.call(t,i,1);else if(ar(i,t))delete t[mr(i)];else{var u=ln(i),a=vr(t,u);null!=a&&delete a[mr(Ar(u))]}}}return t}function tn(t,n,r,e){n=ar(n,t)?[n]:ln(n);for(var i=-1,o=n.length,u=o-1,a=t;null!=a&&++in&&(n=-n>i?0:i+n),r=r>i?i:r,0>r&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var o=Array(i);++e=i){for(;i>e;){var o=e+i>>>1,u=t[o];null!==u&&!pe(u)&&(r?n>=u:n>u)?e=o+1:i=o}return i}return on(t,n,je,r)}function on(t,n,r,e){n=r(n);for(var i=0,o=t?t.length:0,u=n!==n,a=null===n,f=pe(n),c=n===He;o>i;){var l=Ko((i+o)/2),s=r(t[l]),h=s!==He,p=null===s,d=s===s,g=pe(s);if(u)var v=e||d;else v=c?d&&(e||h):a?d&&h&&(e||!p):f?d&&h&&!p&&(e||!g):p||g?!1:e?n>=s:n>s;v?i=l+1:o=l}return Jo(o,hi)}function un(t){if("string"==typeof t)return t;if(pe(t))return gu?gu.call(t):"";var n=t+"";return"0"==n&&1/t==-ai?"-0":n}function an(t,n,r){var e=-1,i=s,o=t.length,u=!0,a=[],f=a;if(r)u=!1,i=h;else if(o>=Ge){var c=n?null:_u(t);if(c)return I(c);u=!1,i=A,f=new it}else f=n?[]:a;t:for(;++ee?n[e]:He;r(u,t[e],a)}return u}function cn(t){return Zr(t)?t:[]}function ln(t){return Wu(t)?t:xu(t)}function sn(t,n,r){var e=t.length;return r=r===He?e:r,!n&&r>=e?t:nn(t,n,r)}function hn(t,n){if(n)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}function pn(t){var n=new t.constructor(t.byteLength);return new Ho(n).set(new Ho(t)),n}function dn(t,n){var r=n?pn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}function gn(t,n,r){var e=n?r(N(t),!0):N(t);return g(e,i,new t.constructor)}function vn(t){var n=new t.constructor(t.source,Ki.exec(t));return n.lastIndex=t.lastIndex,n}function yn(t,n,r){var e=n?r(I(t),!0):I(t);return g(e,o,new t.constructor)}function mn(t){return du?Object(du.call(t)):{}}function wn(t,n){var r=n?pn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function bn(t,n){if(t!==n){var r=t!==He,e=null===t,i=t===t,o=pe(t),u=n!==He,a=null===n,f=n===n,c=pe(n);if(!a&&!c&&!o&&t>n||o&&u&&f&&!a&&!c||e&&u&&f||!r&&f||!i)return 1;if(!e&&!o&&!c&&n>t||c&&r&&i&&!e&&!o||a&&r&&i||!u&&i||!f)return-1}return 0}function _n(t,n,r){for(var e=-1,i=t.criteria,o=n.criteria,u=i.length,a=r.length;++e=a)return f;var c=r[e];return f*("desc"==c?-1:1)}}return t.index-n.index}function Sn(t,n,r,e){for(var i=-1,o=t.length,u=r.length,a=-1,f=n.length,c=Zo(o-u,0),l=Array(f+c),s=!e;++ai)&&(l[r[i]]=t[i]);for(;c--;)l[a++]=t[i++];return l}function Cn(t,n,r,e){for(var i=-1,o=t.length,u=-1,a=r.length,f=-1,c=n.length,l=Zo(o-a,0),s=Array(l+c),h=!e;++ii)&&(s[p+r[u]]=t[i++]);return s}function An(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r1?r[i-1]:He,u=i>2?r[2]:He;for(o=t.length>3&&"function"==typeof o?(i--,o):He,u&&ur(r[0],r[1],u)&&(o=3>i?He:o,i=1),n=Object(n);++eo&&a[0]!==c&&a[o-1]!==c?[]:k(a,c);if(o-=l.length,r>o)return Wn(t,n,kn,e.placeholder,He,a,l,He,He,r-o);var s=this&&this!==Lo&&this instanceof e?i:t;return u(s,this,a)}var i=jn(t);return e}function Nn(t){return function(n,r,e){var i=Object(n);if(r=Un(r,3),!qr(n))var o=Ae(n);var u=t(o||n,function(t,n){return o&&(n=t,t=i[n]),r(t,n,i)},e);return u>-1?n[o?o[u]:u]:He}}function kn(t,n,r,e,i,o,u,a,f,c){function l(){for(var y=arguments.length,m=Array(y),w=y;w--;)m[w]=arguments[w];if(d)var b=$n(l),_=T(m,b);if(e&&(m=Sn(m,e,i,d)),o&&(m=Cn(m,o,u,d)),y-=_,d&&c>y){var S=k(m,b);return Wn(t,n,kn,l.placeholder,r,m,S,a,f,c-y)}var C=h?r:this,A=p?C[t]:t;return y=m.length,a?m=yr(m,a):g&&y>1&&m.reverse(),s&&y>f&&(m.length=f),this&&this!==Lo&&this instanceof l&&(A=v||jn(A)),A.apply(C,m)}var s=n&ti,h=n&Ke,p=n&ze,d=n&(qe|Ze),g=n&ri,v=p?He:jn(t);return l}function In(t,n,r,e){function i(){for(var n=-1,f=arguments.length,c=-1,l=e.length,s=Array(l+f),h=this&&this!==Lo&&this instanceof i?a:t;++ca))return!1;var c=o.get(t);if(c)return c==n;var l=-1,s=!0,h=i&ei?new it:He;for(o.set(t,n);++l-1&&t%1==0&&n>t}function ur(t,n,r){if(!oe(r))return!1;var i="undefined"==typeof n?"undefined":e(n);return("number"==i?qr(r)&&or(n,r.length):"string"==i&&n in r)?zr(r[n],t):!1}function ar(t,n){if(Wu(t))return!1;var r="undefined"==typeof t?"undefined":e(t);return"number"==r||"symbol"==r||"boolean"==r||null==t||pe(t)?!0:Vi.test(t)||!Hi.test(t)||null!=n&&t in Object(n)}function fr(t){var n="undefined"==typeof t?"undefined":e(t);return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}function cr(t){var n=Gn(t),r=W[n];if("function"!=typeof r||!(n in D.prototype))return!1;if(t===r)return!0;var e=Su(r);return!!e&&t===e[0]}function lr(t){return!!jo&&jo in t}function sr(t){var n=t&&t.constructor,r="function"==typeof n&&n.prototype||Mo;return t===r}function hr(t){return t===t&&!oe(t)}function pr(t,n){return function(r){return null==r?!1:r[t]===n&&(n!==He||t in Object(r))}}function dr(t,n){var r=t[1],e=n[1],i=r|e,o=(Ke|ze|ti)>i,u=e==ti&&r==qe||e==ti&&r==ni&&t[7].length<=n[8]||e==(ti|ni)&&n[7].length<=n[8]&&r==qe;if(!o&&!u)return t;e&Ke&&(t[2]=n[2],i|=r&Ke?0:Ye);var a=n[3];if(a){var f=t[3];t[3]=f?Sn(f,a,n[4]):a,t[4]=f?k(t[3],Xe):n[4]}return a=n[5],a&&(f=t[5],t[5]=f?Cn(f,a,n[6]):a,t[6]=f?k(t[5],Xe):n[6]),a=n[7],a&&(t[7]=a),e&ti&&(t[8]=null==t[8]?n[8]:Jo(t[8],n[8])),null==t[9]&&(t[9]=n[9]),t[0]=n[0],t[1]=i,t}function gr(t,n,r,e,i,o){return oe(t)&&oe(n)&&Kt(t,n,He,gr,o.set(n,t)),t}function vr(t,n){return 1==n.length?t:Et(t,nn(n,0,-1))}function yr(t,n){for(var r=t.length,e=Jo(n.length,r),i=An(t);e--;){var o=n[e];t[e]=or(o,r)?i[o]:He}return t}function mr(t){if("string"==typeof t||pe(t))return t;var n=t+"";return"0"==n&&1/t==-ai?"-0":n}function wr(t){if(null!=t){try{return Ro.call(t)}catch(n){}try{return t+""}catch(n){}}return""}function br(t){for(var n=-1,r=t?t.length:0,e=0,i=[];++ni&&(i=Zo(e+i,0)),y(t,Un(n,3),i)}function Cr(t,n,r){var e=t?t.length:0;if(!e)return-1;var i=null==r?0:ye(r);return 0>i&&(i=Zo(e+i,0)),m(t,n,i)}function Ar(t){var n=t?t.length:0;return n?t[n-1]:He}function xr(t,n){var r=[];if(!t||!t.length)return r;var e=-1,i=[],o=t.length;for(n=Un(n,3);++en?0:n)):[]}function Mr(t){return t&&t.length?an(t):[]}function Er(t,n){return fn(t||[],n||[],gt)}function jr(t,n,r){var e=Wu(t)?c:Ct;return r&&ur(t,n,r)&&(n=He),e(t,Un(n,3))}function Rr(t,n){var r=Wu(t)?l:Ot;return r(t,Un(n,3))}function Nr(t,n){var r=Wu(t)?a:vu;return r(t,Un(n,3))}function kr(t,n){var r=Wu(t)?f:yu;return r(t,Un(n,3))}function Ir(t,n,r,e){t=qr(t)?t:Te(t),r=r&&!e?ye(r):0;var i=t.length;return 0>r&&(r=Zo(i+r,0)),he(t)?i>=r&&t.indexOf(n,r)>-1:!!i&&m(t,n,r)>-1; }function Fr(t,n){var r=Wu(t)?p:$t;return r(t,Un(n,3))}function Wr(t,n,r){var e=Wu(t)?g:w,i=arguments.length<3;return e(t,Un(n,4),r,i,vu)}function Pr(t,n,r){var e=Wu(t)?v:rn;return r&&ur(t,n,r)&&(n=He),e(t,Un(n,3))}function Dr(){return Date.now()}function Br(t,n,r){n=r?He:n;var e=Pn(t,qe,He,He,He,He,He,n);return e.placeholder=Br.placeholder,e}function Hr(t,n,r){n=r?He:n;var e=Pn(t,Ze,He,He,He,He,He,n);return e.placeholder=Hr.placeholder,e}function Vr(t,n,r){function e(n){var r=h,e=p;return h=p=He,m=n,g=t.apply(e,r)}function i(t){return m=t,v=setTimeout(a,n),w?e(t):g}function o(t){var r=t-y,e=t-m,i=n-r;return b?Jo(i,d-e):i}function u(t){var r=t-y,e=t-m;return y===He||r>=n||0>r||b&&e>=d}function a(){var t=Dr();return u(t)?f(t):void(v=setTimeout(a,o(t)))}function f(t){return v=He,_&&h?e(t):(h=p=He,g)}function c(){m=0,h=y=p=v=He}function l(){return v===He?g:f(Dr())}function s(){var t=Dr(),r=u(t);if(h=arguments,p=this,y=t,r){if(v===He)return i(y);if(b)return v=setTimeout(a,n),e(y)}return v===He&&(v=setTimeout(a,n)),g}var h,p,d,g,v,y,m=0,w=!1,b=!1,_=!0;if("function"!=typeof t)throw new TypeError($e);return n=we(n)||0,oe(r)&&(w=!!r.leading,b="maxWait"in r,d=b?Zo(we(r.maxWait)||0,n):d,_="trailing"in r?!!r.trailing:_),s.cancel=c,s.flush=l,s}function Gr(t,n){if("function"!=typeof t||n&&"function"!=typeof n)throw new TypeError($e);var r=function e(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var u=t.apply(this,r);return e.cache=o.set(i,u),u};return r.cache=new(Gr.Cache||J),r}function $r(t,n){if("function"!=typeof t)throw new TypeError($e);return n=Zo(n===He?t.length-1:ye(n),0),function(){for(var r=arguments,e=-1,i=Zo(r.length-n,0),o=Array(i);++e-1&&t%1==0&&fi>=t}function oe(t){var n="undefined"==typeof t?"undefined":e(t);return!!t&&("object"==n||"function"==n)}function ue(t){return!!t&&"object"==("undefined"==typeof t?"undefined":e(t))}function ae(t){return le(t)&&t!=+t}function fe(t){return null===t}function ce(t){return null==t}function le(t){return"number"==typeof t||ue(t)&&Fo.call(t)==Si}function se(t){if(!ue(t)||Fo.call(t)!=Ci||j(t))return!1;var n=Yn(t);if(null===n)return!0;var r=No.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&Ro.call(r)==Io}function he(t){return"string"==typeof t||!Wu(t)&&ue(t)&&Fo.call(t)==Li}function pe(t){return"symbol"==("undefined"==typeof t?"undefined":e(t))||ue(t)&&Fo.call(t)==Ti}function de(t){return ue(t)&&ie(t.length)&&!!mo[Fo.call(t)]}function ge(t){return t===He}function ve(t){if(!t)return 0===t?t:0;if(t=we(t),t===ai||t===-ai){var n=0>t?-1:1;return n*ci}return t===t?t:0}function ye(t){var n=ve(t),r=n%1;return n===n?r?n-r:n:0}function me(t){return t?wt(ye(t),0,si):0}function we(t){if("number"==typeof t)return t;if(pe(t))return li;if(oe(t)){var n=ee(t.valueOf)?t.valueOf():t;t=oe(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Ui,"");var r=Yi.test(t);return r||Zi.test(t)?bo(t.slice(2),r?2:8):zi.test(t)?li:+t}function be(t){return xn(t,xe(t))}function _e(t){return null==t?"":un(t)}function Se(t,n,r){var e=null==t?He:Et(t,n);return e===He?r:e}function Ce(t,n){return null!=t&&Jn(t,n,kt)}function Ae(t){var n=sr(t);if(!n&&!qr(t))return Ht(t);var r=rr(t),e=!!r,i=r||[],o=i.length;for(var u in t)!Nt(t,u)||e&&("length"==u||or(u,o))||n&&"constructor"==u||i.push(u);return i}function xe(t){for(var n=-1,r=sr(t),e=Vt(t),i=e.length,o=rr(t),u=!!o,a=o||[],f=a.length;++n>>1,di="[object Arguments]",gi="[object Array]",vi="[object Boolean]",yi="[object Date]",mi="[object Error]",wi="[object Function]",bi="[object GeneratorFunction]",_i="[object Map]",Si="[object Number]",Ci="[object Object]",Ai="[object Promise]",xi="[object RegExp]",Oi="[object Set]",Li="[object String]",Ti="[object Symbol]",Mi="[object WeakMap]",Ei="[object ArrayBuffer]",ji="[object DataView]",Ri="[object Float32Array]",Ni="[object Float64Array]",ki="[object Int8Array]",Ii="[object Int16Array]",Fi="[object Int32Array]",Wi="[object Uint8Array]",Pi="[object Uint8ClampedArray]",Di="[object Uint16Array]",Bi="[object Uint32Array]",Hi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vi=/^\w*$/,Gi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(\.|\[\])(?:\4|$))/g,$i=/[\\^$.*+?()[\]{}|]/g,Ui=/^\s+|\s+$/g,Xi=/\\(\\)?/g,Ki=/\w*$/,zi=/^[-+]0x[0-9a-f]+$/i,Yi=/^0b[01]+$/i,qi=/^\[object .+?Constructor\]$/,Zi=/^0o[0-7]+$/i,Ji=/^(?:0|[1-9]\d*)$/,Qi="\\ud800-\\udfff",to="\\u0300-\\u036f\\ufe20-\\ufe23",no="\\u20d0-\\u20f0",ro="\\ufe0e\\ufe0f",eo="["+Qi+"]",io="["+to+no+"]",oo="\\ud83c[\\udffb-\\udfff]",uo="(?:"+io+"|"+oo+")",ao="[^"+Qi+"]",fo="(?:\\ud83c[\\udde6-\\uddff]){2}",co="[\\ud800-\\udbff][\\udc00-\\udfff]",lo="\\u200d",so=uo+"?",ho="["+ro+"]?",po="(?:"+lo+"(?:"+[ao,fo,co].join("|")+")"+ho+so+")*",go=ho+so+po,vo="(?:"+[ao+io+"?",io,fo,co,eo].join("|")+")",yo=RegExp(oo+"(?="+oo+")|"+vo+go,"g"),mo={};mo[Ri]=mo[Ni]=mo[ki]=mo[Ii]=mo[Fi]=mo[Wi]=mo[Pi]=mo[Di]=mo[Bi]=!0,mo[di]=mo[gi]=mo[Ei]=mo[vi]=mo[ji]=mo[yi]=mo[mi]=mo[wi]=mo[_i]=mo[Si]=mo[Ci]=mo[xi]=mo[Oi]=mo[Li]=mo[Mi]=!1;var wo={};wo[di]=wo[gi]=wo[Ei]=wo[ji]=wo[vi]=wo[yi]=wo[Ri]=wo[Ni]=wo[ki]=wo[Ii]=wo[Fi]=wo[_i]=wo[Si]=wo[Ci]=wo[xi]=wo[Oi]=wo[Li]=wo[Ti]=wo[Wi]=wo[Pi]=wo[Di]=wo[Bi]=!0,wo[mi]=wo[wi]=wo[Mi]=!1;var bo=parseInt,_o="object"==e(n)&&n,So=_o&&"object"==e(t)&&t,Co=So&&So.exports===_o,Ao=L("object"==("undefined"==typeof r?"undefined":e(r))&&r),xo=L("object"==("undefined"==typeof self?"undefined":e(self))&&self),Oo=L("object"==e(this)&&this),Lo=Ao||xo||Oo||Function("return this")(),To=Array.prototype,Mo=Object.prototype,Eo=Lo["__core-js_shared__"],jo=function(){var t=/[^.]+$/.exec(Eo&&Eo.keys&&Eo.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ro=Function.prototype.toString,No=Mo.hasOwnProperty,ko=0,Io=Ro.call(Object),Fo=Mo.toString,Wo=RegExp("^"+Ro.call(No).replace($i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Po=Co?Lo.Buffer:He,Do=Lo.Reflect,Bo=Lo.Symbol,Ho=Lo.Uint8Array,Vo=Do?Do.enumerate:He,Go=Object.getOwnPropertySymbols,$o=Object.create,Uo=Mo.propertyIsEnumerable,Xo=To.splice,Ko=Math.floor,zo=Object.getPrototypeOf,Yo=Lo.isFinite,qo=Object.keys,Zo=Math.max,Jo=Math.min,Qo=zn(Lo,"DataView"),tu=zn(Lo,"Map"),nu=zn(Lo,"Promise"),ru=zn(Lo,"Set"),eu=zn(Lo,"WeakMap"),iu=zn(Object,"create"),ou=eu&&new eu,uu=!Uo.call({valueOf:1},"valueOf"),au={},fu=wr(Qo),cu=wr(tu),lu=wr(nu),su=wr(ru),hu=wr(eu),pu=Bo?Bo.prototype:He,du=pu?pu.valueOf:He,gu=pu?pu.toString:He;D.prototype=_t(P.prototype),D.prototype.constructor=D,B.prototype.clear=H,B.prototype["delete"]=V,B.prototype.get=G,B.prototype.has=$,B.prototype.set=U,X.prototype.clear=K,X.prototype["delete"]=z,X.prototype.get=Y,X.prototype.has=q,X.prototype.set=Z,J.prototype.clear=Q,J.prototype["delete"]=tt,J.prototype.get=nt,J.prototype.has=rt,J.prototype.set=et,it.prototype.add=it.prototype.push=ot,it.prototype.has=ut,at.prototype.clear=ft,at.prototype["delete"]=ct,at.prototype.get=lt,at.prototype.has=st,at.prototype.set=ht;var vu=Tn(Tt),yu=Tn(Mt,!0),mu=Mn(),wu=Mn(!0);Vo&&!Uo.call({valueOf:1},"valueOf")&&(Vt=function(t){return R(Vo(t))});var bu=ou?function(t,n){return ou.set(t,n),t}:je,_u=ru&&1/I(new ru([,-0]))[1]==ai?function(t){return new ru(t)}:ke,Su=ou?function(t){return ou.get(t)}:ke,Cu=Zt("length");Go||(qn=Fe),(Qo&&Zn(new Qo(new ArrayBuffer(1)))!=ji||tu&&Zn(new tu)!=_i||nu&&Zn(nu.resolve())!=Ai||ru&&Zn(new ru)!=Oi||eu&&Zn(new eu)!=Mi)&&(Zn=function(t){var n=Fo.call(t),r=n==Ci?t.constructor:He,e=r?wr(r):He;if(e)switch(e){case fu:return ji;case cu:return _i;case lu:return Ai;case su:return Oi;case hu:return Mi}return n});var Au=function(){var t=0,n=0;return function(r,e){var i=Dr(),o=ui-(i-n);if(n=i,o>0){if(++t>=oi)return r}else t=0;return bu(r,e)}}(),xu=Gr(function(t){var n=[];return _e(t).replace(Gi,function(t,r,e,i){n.push(e?i.replace(Xi,"$1"):r||t)}),n}),Ou=$r(function(t,n){return Zr(t)?St(t,Lt(n,1,Zr,!0)):[]}),Lu=$r(function(t){var n=p(t,cn);return n.length&&n[0]===t[0]?It(n):[]}),Tu=$r(function(t,n){n=Lt(n,1);var r=t?t.length:0,e=mt(t,n);return Qt(t,p(n,function(t){return or(t,r)?+t:t}).sort(bn)),e}),Mu=$r(function(t){return an(Lt(t,1,Zr,!0))}),Eu=Nn(Sr),ju=$r(function(t,n){if(null==t)return[];var r=n.length;return r>1&&ur(t,n[0],n[1])?n=[]:r>2&&ur(n[0],n[1],n[2])&&(n=[n[0]]),n=1==n.length&&Wu(n[0])?n[0]:Lt(n,1,ir),Yt(t,n,[])}),Ru=$r(function(t,n,r){var e=Ke;if(r.length){var i=k(r,$n(Ru));e|=Je}return Pn(t,e,n,r,i)}),Nu=$r(function(t,n,r){var e=Ke|ze;if(r.length){var i=k(r,$n(Nu));e|=Je}return Pn(n,e,t,r,i)});Gr.Cache=J;var ku=$r(function(t,n){var r=k(n,$n(ku));return Pn(t,Je,He,n,r)}),Iu=$r(function(t,n){var r=k(n,$n(Iu));return Pn(t,Qe,He,n,r)}),Fu=Fn(Rt),Wu=Array.isArray,Pu=Po?function(t){return t instanceof Po}:We,Du=Fn(Gt),Bu=Ln(function(t,n){if(uu||sr(n)||qr(n))return void xn(n,Ae(n),t);for(var r in n)No.call(n,r)&>(t,r,n[r])}),Hu=Ln(function(t,n){if(uu||sr(n)||qr(n))return void xn(n,xe(n),t);for(var r in n)gt(t,r,n[r])}),Vu=Ln(function(t,n,r,e){xn(n,xe(n),t,e)}),Gu=$r(function(t){return t.push(He,pt),u(Vu,He,t)}),$u=$r(function(t){return t.push(He,gr),u(Xu,He,t)}),Uu=Ln(function(t,n,r){Kt(t,n,r)}),Xu=Ln(function(t,n,r,e){Kt(t,n,r,e)}),Ku=$r(function(t,n){return null==t?{}:qt(t,p(Lt(n,1),mr))});W.assign=Bu,W.assignIn=Hu,W.assignInWith=Vu,W.bind=Ru,W.bindKey=Nu,W.compact=br,W.curry=Br,W.curryRight=Hr,W.debounce=Vr,W.defaults=Gu,W.defaultsDeep=$u,W.difference=Ou,W.fill=_r,W.filter=Rr,W.intersection=Lu,W.iteratee=Re,W.keys=Ae,W.keysIn=xe,W.map=Fr,W.mapValues=Oe,W.mP=Ne,W.memoize=Gr,W.merge=Uu,W.mergeWith=Xu,W.partial=ku,W.partialRight=Iu,W.pick=Ku,W.property=Ie,W.pullAt=Tu,W.remove=xr,W.rest=$r,W.set=Le,W.sortBy=ju,W.take=Tr,W.throttle=Ur,W.toPlainObject=be,W.union=Mu,W.uniq=Mr,W.values=Te,W.zipObject=Er,W.extend=Hu,W.extendWith=Vu,W.clone=Xr,W.cloneDeep=Kr,W.eq=zr,W.every=jr,W.find=Eu,W.findIndex=Sr,W.forEach=Nr,W.forEachRight=kr,W.get=Se,W.gt=Fu,W.hasIn=Ce,W.identity=je,W.includes=Ir,W.indexOf=Cr,W.isArguments=Yr,W.isArray=Wu,W.isArrayLike=qr,W.isArrayLikeObject=Zr,W.isBoolean=Jr,W.isBuffer=Pu,W.isDate=Qr,W.isEmpty=te,W.isEqual=ne,W.isFinite=re,W.isFunction=ee,W.isLength=ie,W.isNaN=ae,W.isNil=ce,W.isNull=fe,W.isNumber=le,W.isObject=oe,W.isObjectLike=ue,W.isPlainObject=se,W.isString=he,W.isSymbol=pe,W.isTypedArray=de,W.isUndefined=ge,W.last=Ar,W.lt=Du,W.max=De,W.min=Be,W.stubArray=Fe,W.stubFalse=We,W.noop=ke,W.now=Dr,W.reduce=Wr,W.some=Pr,W.sortedIndex=Or,W.sortedIndexBy=Lr,W.startsWith=Me,W.toFinite=ve,W.toInteger=ye,W.toLength=me,W.toNumber=we,W.toString=_e,W.trim=Ee,W.uniqueId=Pe,W.each=Nr,W.eachRight=kr,W.VERSION=Ve,a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){W[t].placeholder=W}),t.exports=W}).call(void 0)}).call(n,r(2)(t),function(){return this}())},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n,r){"use strict";function e(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n")},s.getElementOuterText=function(t){return t.outerHTML.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},s.hasClass=function(t,n){if(t&&t.getAttribute){var r=t.getAttribute("class");if(r)return r=r.replace(/[\t\r\n\f]/g," ").split(" "),r.indexOf(n)>=0}return!1},s.removeClass=function(t,n){if(t&&t.setAttribute&&s.hasClass(t,n)){var r=t.getAttribute("class").split(" "),e=[];a.each(r,function(t){t.toLowerCase()!==n.toLowerCase()&&e.push(t)}),t.setAttribute("class",e.join(" "))}},s.addClass=function(t,n){if(t&&t.setAttribute&&!s.hasClass(t,n)){var r=t.getAttribute("class");t.setAttribute("class",r?r+" "+n:n)}},s.toggleClass=function(t,n,r){r===!0?s.addClass(t,n):s.removeClass(t,n)},s.getElement=function(t){return t instanceof HTMLElement?t:f.isString(t)?document.querySelector(t):null},s.contains=function(t,n){for(var r=n;r;r=r.parentElement)if(r===t)return!0;return!1},s.offset=function(t){var n=t?t.getBoundingClientRect():h;return{top:n.top+window.pageYOffset,left:n.left+window.pageXOffset}},s.gER=function(t){var n=t?t.getBoundingClientRect():h;return{left:n.left+window.pageXOffset,top:n.top+window.pageYOffset,width:n.width,height:n.height}},s.gCoR=function(t){var n=t?t.getBoundingClientRect():h,r=i(t),e=r.paddingLeft+r.paddingRight,o=r.paddingTop+r.paddingBottom,u=r.borderLeftWidth+r.borderRightWidth,a=r.borderTopWidth+r.borderBottomWidth;return{left:n.left+window.pageXOffset+r.borderLeftWidth+r.paddingLeft,top:n.top+window.pageYOffset+r.borderTopWidth+r.paddingTop,width:Math.max(0,Math.floor(n.width-e-u)),height:Math.max(0,Math.floor(n.height-o-a))}},s.gCoRFn=function(t){var n=i(t),r=n.paddingLeft+n.paddingRight,e=n.paddingTop+n.paddingBottom,o=n.borderLeftWidth+n.borderRightWidth,u=n.borderTopWidth+n.borderBottomWidth;return function(){var i=t.getBoundingClientRect();return{left:i.left+window.pageXOffset+n.borderLeftWidth+n.paddingLeft,top:i.top+window.pageYOffset+n.borderTopWidth+n.paddingTop,width:Math.max(0,Math.floor(i.width-r-o)),height:Math.max(0,Math.floor(i.height-e-u))}}},s.getStyle=function(t){var n=getComputedStyle||window.getComputedStyle;return t&&n?n(t,null):null};var p=["paddingLeft","paddingRight","paddingTop","paddingBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","marginLeft","marginRight","marginTop","marginBottom"];s.gCSV=i,s.getBodyStyle=u,s.setCss=function(t,n){var r=t.style;for(var e in n){var i=n[e];f.isNumber(i)&&e.match(/width|height|left|top|right|bottom|size|padding|margin'/i)&&(i+="px"),r[e]=i.toString()}},s.gSS=function(t){if(t.scS_)return t.scS_;var n=s.createElement('
');return document.body.appendChild(n),t.scS_={width:n.offsetWidth-n.clientWidth,height:n.offsetHeight-n.clientHeight},n.parentNode.removeChild(n),t.scS_},s.gSCH=function(){if(s.mSCH)return s.mSCH;var t,n=1e6,r=6e9,e=s.createElement('
');for(document.body.appendChild(e);;){if(t=n+5e5,e.style.height=t+"px",t>r||e.offsetHeight!==t)break;n=t}return e.parentNode.removeChild(e),s.mSCH=n,s.mSCH},s.closest=function(t,n){for(;t;){if(t.matches?t.matches(n):t.msMatchesSelector(n))return t;if(t.parentNode===document)return null;t=t.parentNode}return null};var d=void 0;s.detectRTLMode=function(){if(d)return d;var t=s.createElement('
');document.body.appendChild(t);var n="normal";return 0===t.scrollLeft&&(t.scrollLeft=1e4,n=t.scrollLeft>0?"reverse":"negative"),document.body.removeChild(t),t=null,d=n,n},s.getRTLScrollLeft=function(t){var n=arguments.length<=1||void 0===arguments[1]?"normal":arguments[1];return s.isDomElement(t)?s.tRTLSL(t.scrollLeft,t.scrollWidth-t.clientWidth,s.detectRTLMode(),n):void 0},s.setRTLScrollLeft=function(t,n){var r=arguments.length<=2||void 0===arguments[2]?"normal":arguments[2];if(s.isDomElement(t)){var e=s.detectRTLMode();t.scrollLeft=r===e?n:s.tRTLSL(n,t.scrollWidth-t.clientWidth,r,e)}};var g={normal:0,reverse:1,negative:2};s.tRTLSL=function(t,n,r,i){if(r===i)return t;if(r=g[r],i=g[i],0>=n)return 0;var o=[[[1],[-1,n],[1,-n]],[[-1,n],[1],[-1]],[[1,n],[-1],[1]]];return function(t,n){var r=arguments.length<=2||void 0===arguments[2]?0:arguments[2];return(n>0?t:-t)+r}.apply(void 0,[t].concat(e(o[r][i])))},s.inverseToRTL=function(t){if(!s.isDomElement(t))return t;var n,r="[style]";n="TEMPLATE"===t.tagName?t.content.querySelectorAll(r):t.querySelectorAll(r);var e=function(t,n,r){var e=t.style[n];f.isNilOrWhiteSpace(e)||(t.style[n]="",t.style[r]=e)};return a.forEach(n,function(t){f.isNilOrWhiteSpace(t.style.right)?f.isNilOrWhiteSpace(t.style.left)||e(t,c,l):e(t,l,c),t.style["float"]===l?t.style["float"]=c:t.style["float"]===c&&(t.style["float"]=l)}),t},s.detectBrowserType=function(){if(s.duckTypingBrowserType)return s.duckTypingBrowserType;var t=navigator&&navigator.userAgent,n=!!window.opr&&!!window.opr.addons||!!window.opera||t.indexOf(" OPR/")>=0,r="undefined"!=typeof InstallTrigger,e=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,i=!!document.documentMode,o=!i&&!!window.StyleMedia,u=!!window.chrome&&!!window.chrome.webstore,a=(u||n)&&!!window.CSS,f=!!t.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop/i);return s.duckTypingBrowserType={isOpera:n,isFirefox:r,isSafari:e,isIE:i,isEdge:o,isChrome:u,isBlink:a,isMobileDevice:f}},t.exports=s}()},function(t,n,r){"use strict";!function(){function n(t){return M.isNil(t)?!0:M.isString(t)?t.replace(/\s/g,"").length<1:!1}function e(t,n,r){t&&t.removeEventListener(n,r)}function i(t,n,r){t&&t.addEventListener(n,r)}function o(t){}function u(t){return T.isNumber(t)?"number":T.isBoolean(t)?"boolean":T.isDate(t)?"date":T.isString(t)?"string":T.isArray(t)?"array":T.isObject(t)?"object":""}function a(t,n){var r=M.isNil(n)||"boolean"==typeof n||""===n;if(r)return"";var e=isNaN(n);return e||0===n||N.hasOwnProperty(t)&&N[t]?""+n:("string"==typeof n&&(n=n.trim()),n+"px")}function f(t){var n={};return function(r){return n.hasOwnProperty(r)?n[r]:(n[r]=t.call(this,r),n[r])}}function c(t){return t.replace(k,"-$1").toLowerCase()}function l(t){return c(t).replace(I,"-ms-")}function s(t){var n="";for(var r in t)if(t.hasOwnProperty(r)){var e=t[r];M.isNil(e)||(n+=F(r)+":",n+=a(r,e)+";")}return n||null}function h(t,n){var r=function(t){return"[object Object]"===Object.prototype.toString.call(t)};if(!r(t)||!r(n))return t;for(var e,i=[{level:-1,value:t,key:null}],o=[],u={};i.length>0;)if(e=i.pop(),T.isNil(e.key)||(o=M.take(o,e.level),o.push(e.key)),T.isObject(e.value)&&!T.isFunction(e.value))for(var a in e.value)i.push({level:e.level+1,value:e.value[a],key:a});else{var f=o.join("."),c=M.get(t,f);c!==M.get(n,f)&&M.set(u,f,c)}return M.isEmpty(u)?null:u}function p(t){var n=M.cloneDeep(t),r=[];n&&r.push(n);for(var e;r.length>0;)if(e=r.pop(),T.isObject(e))for(var i in e)r.push(e[i]),T.isFunction(e[i])&&(e[i]=g(e[i]));return n}function d(t){var n=M.clone(t),r=[];n&&r.push(n);for(var e,i;r.length>0;)if(e=r.pop(),T.isObject(e))for(var o in e)r.push(e[o]),T.isString(e[o])&&(i=v(e[o]),i&&(e[o]=i));return n}function g(t){return t.toString()}function v(t){if(T.isString(t)&&"function"===t.substr(0,8)&&(/\s/.test(t[8])||"("===t[8])){var n=t.indexOf("(")+1,r=t.indexOf(")"),e=t.substr(n,r-n).split(",").map(function(t){return t.replace(/\s+/,"")}),i=t.indexOf("{")+1,o=t.lastIndexOf("}");return new Function(e,t.substr(i,o-i))}return null}function y(t){var n;try{n=GC.Spread.Views.Plugins[t]}catch(r){}return n}function m(t){var n={},r=GC&&GC.Spread&&GC.Spread.Views&&GC.Spread.Views.LocaleResource&&GC.Spread.Views.LocaleResource.content;for(var e in t)n[e]=r&&r[e];return n}function w(t){var n=T.toDate(t);if(isNaN(n.getTime()))return t;var r=n.getFullYear().toString(),e=(n.getMonth()+1).toString(),i=n.getDate().toString();return b(r,4)+"-"+b(e,2)+"-"+b(i,2)}function b(t,n){var r=n-t.length+1;return r>=0?new Array(r).join("0")+t:t}function _(t,n){function r(){this.constructor=t}for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);r.prototype=n.prototype,t.prototype=new r}function S(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""}function C(t,n,r){var e=function(t){return M.isUndefined(t)?t:r?(t+"").trim().toLowerCase():(t+"").trim().toString()},i=e(n);return function(n){if(null==n)return!1;var e=A(n,t);return e=M.isUndefined(e)?e:r?(e+"").toLowerCase():(e+"").toString(),e===i?void 0!==i||t in n:M.isEqual(e,i)}}function A(){var t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1];if(!M.isNil(t)&&!M.isNil(n)){n=M.isArray(n)?n:M.isString(n)?n.split("."):[n];for(var r=0,e=n.length,i=arguments.length>2;t&&e>r;){if(i&&r===e-1)return void(t[n[r]]=arguments.length<=2?void 0:arguments[2]);t=t[n[r++]]}return t}}function x(t,n,r,e){M.isArray(t)||(t=[t]),M.isArray(n)||(n=[n]);var i=e?[]:{};M.forEach(t,function(t){i[t]||(i[t]=1)});var o=[],u=[],a=[],f=0,c=0,l=0;return M.forEach(n,function(t){i[t]?(i[t]=2,r&&(u[l++]=t)):(i[t]=3,r&&(o[f++]=t))}),r&&M.forEach(i,function(t,n){1===t&&(a[c++]=+n)}),r?{add:o,remove:a,keep:u}:{map:i}}function O(t){return T.isNumber(t)?L(t):new Date(t)}function L(t){var n=new Date(1899,11,30),r=864e5,e=t-Math.floor(t);return 0>t&&e&&(t=Math.floor(t)-e),new Date(t*r+ +n)}var T={},M=r(1);T.isString=M.isString,T.regist=i,T.unRegist=e,T.isNilOrWhiteSpace=n,T.isNumber=M.isNumber,T.isInt=M.isInteger,T.isBoolean=M.isBoolean,T.isFunction=M.isFunction,T.isUndefined=M.isUndefined,T.isDate=M.isDate,T.isArray=M.isArray,T.isObject=M.isObject,T.debugLog=o,T.getType=u,T.isNull=M.isNull,T.isNil=M.isNil;var E={Back:8,Tab:9,Enter:13,Escape:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,Left:37,Up:38,Right:39,Down:40,Delete:46,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123};T.Key=E;var j=function(t){var n=t.keyCode,r=n>47&&58>n||n>64&&91>n||n>95&&112>n||n>185&&193>n||n>218&&223>n;return r};T.isPrintableKey=j;var R={Text:"text",CheckBox:"checkbox",Date:"date",Color:"color",Number:"number"};T.EditorType=R;var N={columnCount:!0,flex:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeOpacity:!0},k=/([A-Z])/g,I=/^-ms-/,F=f(function(t){return l(t)});T.cMFS=s,T.extractObject=h,T.serializeObject=p,T.deserializeObject=d,T.serializeFunction=g,T.deserializeFunction=v,T.findPlugin=y,T.getResource=m,T.normalizeDate=w,T.extends_=_,T.caC=S,T.mP=C,T.sOP=function(t,n){return A(t,n)},T.gOP=function(t,n,r){return A(t,n,r)},T.compareArray=x,T.toDate=O,t.exports=T}()}])});