@progress/kendo-react-sortable
Advanced tools
Comparing version 3.5.0-dev.201910141119 to 3.5.0-dev.201910141223
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-react-sortable",["react","prop-types","@progress/kendo-react-common","react-dom"],function(u){var i,o,s,l;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){i=t(e)},function(e){o=t(e)},function(e){s=t(e)},function(e){l=t(e)}],execute:function(){function a(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}var r,n;n={},a.m=r=[function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t,r){"use strict";var n,a=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,o=(i=r(10).PreventableEvent,a(s,i),s);function s(e,t,r){var n=i.call(this)||this;return n.target=e,n.prevIndex=t,n.element=r,n}t.SortableOnDragStartEvent=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SortableOnDragOverEvent=function(e,t,r,n){this.target=e,this.prevIndex=t,this.nextIndex=r,this.newState=n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SortableOnDragEndEvent=function(e,t,r,n){this.target=e,this.prevIndex=t,this.nextIndex=r,this.newState=n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SortableOnNavigateEvent=function(e,t,r,n){this.target=e,this.prevIndex=t,this.nextIndex=r,this.newState=n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7);t.Sortable=n.Sortable;var a=r(2);t.SortableOnDragStartEvent=a.SortableOnDragStartEvent;var i=r(3);t.SortableOnDragOverEvent=i.SortableOnDragOverEvent;var o=r(4);t.SortableOnDragEndEvent=o.SortableOnDragEndEvent;var s=r(5);t.SortableOnNavigateEvent=s.SortableOnNavigateEvent,function(e){for(var t in e)u(t,e[t])}(t)},function(e,t,r){"use strict";var n,a,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s,u=r(1),l=r(8),c=r(0),b=r(9),d=r(2),m=r(3),f=r(4),S=r(5),p=r(13),v=r(11),w=r(12),y="data-sortable-id",g="data-sortable-component",h=((a={})[g]=!0,a),M=(s=u.Component,i(D,s),Object.defineProperty(D.prototype,"container",{get:function(){return this.draggableRef&&this.draggableRef.element},enumerable:!0,configurable:!0}),D.prototype.getSnapshotBeforeUpdate=function(){var a=this,e=this.props,i=e.idField,t=e.animation;return this.oldSizesMap={},t&&this.props.data.forEach(function(e){var t=e[i],r=a.itemRefsMap[t],n=l.findDOMNode(r);n&&(a.oldSizesMap[t]=n.getBoundingClientRect())}),null},D.prototype.componentDidUpdate=function(e){var s=this,t=this.props,u=t.idField,r=t.animation;this.focusActiveId&&(this.focusActiveId=!1,this.itemRefsMap[this.state.activeId].focus()),r&&(this.state.isDragging||this.isKeyboardNavigated)&&(this.isKeyboardNavigated=!1,e.data.forEach(function(e){var t=e[u],r=s.itemRefsMap[t],n=r.getBoundingClientRect(),a=s.oldSizesMap[t],i=a.left-n.left,o=a.top-n.top;0==i&&0==o||requestAnimationFrame(function(){s.animatingItemMap[t]=!0,r.style.transform="translate("+i+"px, "+o+"px)",r.style.transition="transform 0s",requestAnimationFrame(function(){r.style.transform="",r.style.transition="transform 200ms cubic-bezier(0.2, 0, 0, 1) 0s",setTimeout(function(){return s.animatingItemMap[t]=!1},200)})})}))},D.prototype.componentDidMount=function(){this.isRtl=this.container&&"rtl"===getComputedStyle(this.container).direction||!1},D.prototype.componentWillUnmount=function(){this.isUnmounted=!0},D.prototype.parentOffset=function(){var e=this.container,t=e&&e.offsetParent;if(t&&t.ownerDocument&&t!==t.ownerDocument.body){var r=t.getBoundingClientRect();return{left:r.left-t.scrollLeft,top:r.top-t.scrollTop}}return{left:0,top:0}},D.prototype.render=function(){var e=this.props,t=e.data,r=e.style,n=e.className;return u.createElement(b.Draggable,{onPress:this.onDragStart,onDrag:this.onDragOver,onRelease:this.onDragEnd,ref:this.draggableRefAssign},u.createElement("div",o({},h,{className:n,style:o({touchAction:"none"},r),onKeyDown:this.onKeyDown}),t&&t.length?this.renderData():this.renderNoData(),this.renderDragCue()))},D.defaultProps={tabIndex:0,navigation:!0,animation:!0,emptyItemUI:function(e){return u.createElement("div",null,e.message)}},D.propTypes={idField:c.string.isRequired,disabledField:c.string,data:c.array.isRequired,tabIndex:c.number,navigation:c.bool,animation:c.bool,itemUI:c.func.isRequired,emptyItemUI:c.func,style:c.object,className:c.string,onDragStart:c.func,onDragOver:c.func,onDragEnd:c.func,onNavigate:c.func},D);function D(){var M=null!==s&&s.apply(this,arguments)||this;return M.state={clientX:0,clientY:0,isDragging:!1,isDragPrevented:!1,activeId:"",dragCueWidth:0,dragCueHeight:0},M.itemRefsMap={},M.oldSizesMap={},M.animatingItemMap={},M.isUnmounted=!1,M.focusActiveId=!1,M.isKeyboardNavigated=!1,M.swapItems=function(e,t,r){var n=e[t];return e[t]=e[r],e[r]=n,r},M.generateNewState=function(e,t){var r=M.props.data,n=r.slice();if(t<e)for(var a=e-1;t<=a;a--){var i=r[a];M.isItemDisabled(i)||(e=M.swapItems(n,e,a))}else for(a=e+1;a<=t;a++)i=r[a],M.isItemDisabled(i)||(e=M.swapItems(n,e,a));return n},M.closestSortableItem=function(e){for(var t=e;t;){var r=t.getAttribute(y);if(r&&M.itemRefsMap[r]===t)return{id:r,element:t};t=t.parentElement}return{id:"",element:null}},M.isSortable=function(e){return Boolean(e.hasAttribute(g))},M.closestSortable=function(e){for(var t=e;t;){if(M.isSortable(t))return t;t=t.parentElement}return null},M.isSameSortable=function(e){return M.closestSortable(e)===M.container},M.idComparer=function(e,t){return e+""==t+""},M.findItem=function(t){var e=M.props,r=e.data,n=e.idField;if(t+"")return w.find(r,function(e){return M.idComparer(e[n],t)})},M.findIndex=function(t){var e=M.props,r=e.data,n=e.idField;return t+""?w.findIndex(r,function(e){return M.idComparer(e[n],t)}):-1},M.isItemDisabled=function(e){return e&&!0===e[M.props.disabledField||""]},M.isActiveElementSortableItem=function(){return document.activeElement instanceof HTMLElement&&M.closestSortableItem(document.activeElement).element!==document.activeElement},M.widgetTarget=function(e){var t=w.closest(e,function(e){return w.hasClasses(e,"k-widget")||M.isSortable(e)});return t&&!M.isSortable(t)},M.allowDrag=function(e){return e.hasAttribute(y)||!(w.isFocusable(e)||M.widgetTarget(e))},M.onDragStart=function(e){var t=e.event,r=M.props.onDragStart,n=document.elementFromPoint(t.clientX,t.clientY),a=M.closestSortableItem(n),i=a.id,o=a.element,s=M.findItem(i);if(!i||s&&M.isItemDisabled(s)||!M.allowDrag(n)||!M.isSameSortable(n))M.setState({isDragPrevented:!0});else{t.isTouch&&t.originalEvent.preventDefault();var u=new d.SortableOnDragStartEvent(M,M.findIndex(i),n);r&&r.call(void 0,u),M.setState({isDragPrevented:u.isDefaultPrevented(),activeId:i,dragCueWidth:o&&o.clientWidth||0,dragCueHeight:o&&o.clientHeight||0})}},M.onDragOver=function(e){var t=e.event,r=M.props,n=r.onDragOver,a=r.data;if(t.originalEvent.preventDefault(),!M.state.isDragPrevented){var i=M.findIndex(M.state.activeId);if(-1!==i){var o=document.elementFromPoint(t.clientX,t.clientY),s=M.closestSortableItem(o),u=M.findIndex(s.id),l=a[u];if(n&&-1<u&&i!==u&&!M.isItemDisabled(l)&&!M.animatingItemMap[s.id]){var c=new m.SortableOnDragOverEvent(M,i,u,M.generateNewState(i,u));n.call(void 0,c)}var d=M.parentOffset();M.setState({clientX:t.clientX-d.left,clientY:t.clientY-d.top,isDragging:!0})}else M.resetState()}},M.onDragEnd=function(e){var t=M.isActiveElementSortableItem();if(M.state.isDragPrevented)M.resetState(t);else{var r=e.event,n=M.props,a=n.onDragEnd,i=n.data,o=document.elementFromPoint(r.clientX,r.clientY),s=M.closestSortableItem(o),u=M.findIndex(s.id),l=M.findIndex(M.state.activeId),c=M.isItemDisabled(i[u]);if(-1!==u&&!c||(u=l),a){var d=new f.SortableOnDragEndEvent(M,l,u,M.generateNewState(l,u));a.call(void 0,d)}M.resetState(t)}},M.onItemBlur=function(){setTimeout(function(){M.isUnmounted||M.isActiveElementSortableItem()&&!M.state.isDragging&&M.setState({activeId:""})})},M.onItemFocus=function(e){var t=M.closestSortableItem(e.currentTarget),r=t.id,n=t.element;!M.idComparer(r,M.state.activeId)&&M.isSameSortable(e.target)&&n===e.target&&M.setState({activeId:r})},M.onKeyDown=function(e){var t=M.props,r=t.data,n=t.idField,a=t.onNavigate,i=t.navigation,o=M.state.activeId;if(i&&o&&M.isSameSortable(e.target)){var s=M.isRtl,u=r.filter(function(e){return!M.isItemDisabled(e)}),l=w.findIndex(u,function(e){return M.idComparer(e[n],o)}),c=u.length-1,d=l;switch(e.keyCode===b.Keys.left&&(e.keyCode=s?b.Keys.down:b.Keys.up),e.keyCode===b.Keys.right&&(e.keyCode=s?b.Keys.up:b.Keys.down),e.keyCode){case b.Keys.up:0<l&&(d=l-1);break;case b.Keys.down:l<c&&(d=l+1)}if(d!==l){e.stopPropagation(),e.preventDefault();var m=u[d],f=m?m[n]:"",p=u[l],v=p?p[n]:"";if(e.ctrlKey){if(a){var y=M.findIndex(v),g=M.findIndex(f),h=new S.SortableOnNavigateEvent(M,y,g,M.generateNewState(y,g));M.isKeyboardNavigated=!0,a.call(void 0,h)}}else M.focusActiveId=!0,M.setState({activeId:f+""})}}},M.resetState=function(e){M.setState({clientX:0,clientY:0,isDragging:!1,isDragPrevented:!1,dragCueWidth:0,dragCueHeight:0,activeId:e?"":M.state.activeId})},M.renderData=function(){var e=M.props,t=e.data,i=e.itemUI,o=e.idField,s=e.tabIndex;return t.map(function(e){var t,r=e[o],n=M.isItemDisabled(e),a=M.idComparer(M.state.activeId,r);return u.createElement(i,{key:r,forwardRef:function(e){return M.refAssign(e,r)},dataItem:e,isDisabled:n,isActive:a,isDragged:a&&M.state.isDragging,isDragCue:!1,attributes:(t={},t[y]=r,t["aria-disabled"]=n,t["aria-grabbed"]=a&&M.state.isDragging&&!M.state.isDragPrevented,t["aria-dropeffect"]=n?"none":"move",t.tabIndex=n?-1:s,t.onFocus=M.onItemFocus,t.onBlur=M.onItemBlur,t),style:{cursor:n?"auto":"move",MozUserSelect:"none",msUserSelect:"none",WebkitUserSelect:"none",userSelect:"none"}})})},M.renderNoData=function(){var e=M.props.emptyItemUI,t=p.provideLocalizationService(M).toLanguageString(v.noData,v.messages[v.noData]);if(e)return u.createElement(e,{message:t})},M.renderDragCue=function(){var e=M.props.itemUI,t=M.state,r=t.isDragging,n=t.activeId,a=t.clientX,i=t.clientY,o=M.findItem(n);if(r&&o)return u.createElement(e,{dataItem:o,isDisabled:!1,isActive:!0,isDragged:!0,isDragCue:!0,style:{position:"fixed",top:i+10,left:a+10,width:M.state.dragCueWidth,height:M.state.dragCueHeight},attributes:{}})},M.refAssign=function(e,t){e?M.itemRefsMap[t]=e:delete M.itemRefsMap[t]},M.draggableRefAssign=function(e){M.draggableRef=e},M}t.Sortable=M,p.registerForLocalization(M)},function(e,t){e.exports=l},function(e,t){e.exports=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(a.prototype.preventDefault=function(){this.prevented=!0},a.prototype.isDefaultPrevented=function(){return this.prevented},a);function a(){this.prevented=!1}t.PreventableEvent=n},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.noData="sortable.noData",t.messages=((n={})[t.noData]="No Data",n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]},t.findIndex=function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1};function n(e){return String(e).trim().split(" ")}t.toClassList=n,t.hasClasses=function(e,t){var r=n(t);return Boolean(n(e.className).find(function(e){return 0<=r.indexOf(e)}))};var i=/^(?:a|input|select|option|textarea|button|object)$/i;t.isFocusable=function(e){if(e.tagName){var t=e.tagName.toLowerCase(),r=e.getAttribute("tabIndex"),n="-1"===r,a=null!==r&&!n;return i.test(t)&&(a=!e.disabled&&!n),a}return!1},t.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e}},function(e,t,r){"use strict";r.r(t);var n=r(1),a=r(0);function i(e){return"string"==typeof e}function o(e){var t=e.name,r=e.message;if(!t||!r)throw new Error("{ name: string, message: string } object is required!");this.name=t,this.message=r}var s=/\{(\d+)}?\}/g;o.prototype.formatMessage=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=l(e),n=this.message.replace(s,function(e,t){return r[parseInt(t,10)]});return this.name+": "+n},o.prototype.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new Error(this.formatMessage(e))};var u,l=function(e){return e.reduce(function(e,t){return e.concat(t)},[])},p=(u={NoLocale:"Missing locale info for '{0}'",NoCurrency:"Cannot determine currency information. Please load the locale currencies data.",NoSupplementalCurrency:"Cannot determine currency. Please load the supplemental currencyData.",NoCurrencyRegion:"No currency data for region '{0}'",NoCurrencyDisplay:"Cannot determine currency display information. Please load the locale currencies data. The default culture does not include the all currencies data.",NoGMTInfo:"Cannot determine locale GMT format. Please load the locale timeZoneNames data.",NoWeekData:"Cannot determine locale first day of week. Please load the supplemental weekData.",NoFirstDay:"Cannot determine locale first day of week. Please load the supplemental weekData. The default culture includes only the 'en-US' first day info.",NoValidCurrency:"Cannot determine a default currency for the {0} locale. Please specify explicitly the currency with the format options.",NoDateFieldNames:"Cannot determine the locale date field names. Please load the locale dateFields data."},Object.keys(u).reduce(function(e,t){return e[t]=new o({name:t,message:u[t]}),e},{})),b={en:{name:"en",identity:{version:{_number:"$Revision: 12418 $",_cldrVersion:"29"},language:"en"},territory:"US",numbers:{symbols:{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},decimal:{patterns:["n"],groupSize:[3]},scientific:{patterns:["nEn"],groupSize:[]},percent:{patterns:["n%"],groupSize:[3]},currency:{patterns:["$n"],groupSize:[3],"unitPattern-count-one":"n $","unitPattern-count-other":"n $"},currencies:{BGN:{displayName:"Bulgarian Lev","displayName-count-one":"Bulgarian lev","displayName-count-other":"Bulgarian leva",symbol:"BGN"},EUR:{displayName:"Euro","displayName-count-one":"euro","displayName-count-other":"euros",symbol:"€","symbol-alt-narrow":"€"},USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}},localeCurrency:"USD",accounting:{patterns:["$n","($n)"],groupSize:[3]}},calendar:{gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",patterns:{d:"M/d/y",D:"EEEE, MMMM d, y",m:"MMM d",M:"MMMM d",y:"MMM y",Y:"MMMM y",F:"EEEE, MMMM d, y h:mm:ss a",g:"M/d/y h:mm a",G:"M/d/y h:mm:ss a",t:"h:mm a",T:"h:mm:ss a",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d","MMMMW-count-one":"'week' W 'of' MMMM","MMMMW-count-other":"'week' W 'of' MMMM",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y","yw-count-one":"'week' w 'of' Y","yw-count-other":"'week' w 'of' Y"}},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},days:{format:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},months:{format:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},quarters:{format:{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{format:{wide:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},abbreviated:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},narrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}}},dateFields:{era:{wide:"era"},year:{wide:"year",short:"yr.",narrow:"yr."},quarter:{wide:"quarter",short:"qtr.",narrow:"qtr."},month:{wide:"month",short:"mo.",narrow:"mo."},week:{wide:"week",short:"wk.",narrow:"wk."},day:{wide:"day",short:"day",narrow:"day"},weekday:{wide:"day of the week"},dayperiod:{wide:"AM/PM"},hour:{wide:"hour",short:"hr.",narrow:"hr."},minute:{wide:"minute",short:"min.",narrow:"min."},second:{wide:"second",short:"sec.",narrow:"sec."},zone:{wide:"time zone"}}}},supplemental:{likelySubtags:{en:"en-Latn-US"},currencyData:{region:{US:[{USD:{_from:"1792-01-01"}}]}},weekData:{firstDay:{US:"sun"},weekendStart:{"001":"sat"},weekendEnd:{"001":"sun"}}}};function m(e){return i(e)?v(e):e}function v(e){if(b[e])return b[e];if(b.supplemental.likelySubtags){var t=e.split("-"),r=t[0],n=t.slice(1),a=function(e,t){for(var r=b.supplemental.likelySubtags,n=0;n<t.length;n++){var a=r[e+"-"+t[n]];if(a)return a}if(r[e])return r[e]}(r,n),i=a?(s=n,u=(o=a).split("-"),l=u[0],c=u[1],d=u[2],b[o]||-1!==s.indexOf(d)&&b[l+"-"+d]||-1!==s.indexOf(c)&&b[l+"-"+c]||b[l]):null;if(i)return i}var o,s,u,l,c,d;throw p.NoLocale.error(e)}var c="decimal",y="currency",d="accounting",S="percent",w="scientific",D="$",x="%",I="n",g=";",h=",",F=".",O="",M="en",f="Formats-numberSystem-latn",E="symbols-numberSystem-latn",N=/([#,0.]+)/g,H=/¤/g;function T(e){return N.lastIndex=0,e.replace(H,D).replace(N,I).split(g)}function C(e){return N.lastIndex=0,N.exec(e.split(g)[0])[0].split(F)[0].split(h).slice(1).map(function(e){return e.length}).reverse()}function k(e,t){for(var r in t)r.startsWith("unitPattern")&&(e[r]=t[r].replace("{0}",I).replace("{1}",D))}function _(e,t){var r=b[e],n=r.numbers=r.numbers||{};for(var a in n.symbols=n.symbols||{},t)if(a===E)Object.assign(n.symbols,t[a]);else if(a.includes(f)){var i=a.substr(0,a.indexOf(f)),o=t[a].standard;n[i]={patterns:T(o)},i===y?(n[i].groupSize=C((t[c+f]||t[a]).standard),k(n[i],t[a]),n[d]={patterns:T(t[a][d]),groupSize:n[i].groupSize}):n[i].groupSize=C(o)}else"currencies"===a&&(n.currencies=t[a])}var P={s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},A={d:[["dateTimeFormats","availableFormats","yMd"]],D:[["dateFormats","full"]],m:[["dateTimeFormats","availableFormats","MMMd"]],M:[["dateTimeFormats","availableFormats","MMMMd"]],y:[["dateTimeFormats","availableFormats","yMMM"]],Y:[["dateTimeFormats","availableFormats","yMMMM"]],F:[["dateFormats","full"],["timeFormats","medium"]],g:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","short"]],G:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","medium"]],t:[["timeFormats","short"]],T:[["timeFormats","medium"]]};function z(e){for(var t=[],r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var a=e[r[n]];t.push(a)}return t}function L(e,t){var r={};for(var n in e){var a=r[n]={};for(var i in e[n]){var o=e[n][i];a[i]=t?o:z(o)}}return r}function j(e,t){var r=b[e].calendar,n={};for(var a in t){var i=a.split("-"),o=i[0],s=i[1];void 0===s&&(s="wide");var u=n[o]||{},l=t[a].displayName;l&&(u[s]=l,n[o]=u)}r.dateFields=n}function U(e,t){for(var r=[],n=0;n<e.length;n++){for(var a=e[n],i=t,o=0;o<a.length;o++)i=i[a[o]];r.push(i)}return r.join(" ")}function X(e,t){var r=b[e].calendar,n=r.patterns={};for(var a in A)n[a]=U(A[a],t);for(var i in P)n[i]=P[i];var o=t.dateTimeFormats;r.dateTimeFormats={full:o.full,long:o.long,medium:o.medium,short:o.short,availableFormats:o.availableFormats},r.timeFormats=t.timeFormats,r.dateFormats=t.dateFormats}function q(e,t){var r,n,a,i=b[e].calendar=b[e].calendar||{};for(var o in t)"timeZoneNames"===o?(i.gmtFormat=t[o].gmtFormat,i.gmtZeroFormat=t[o].gmtZeroFormat):"calendars"===o&&t[o].gregorian?(X(e,t[o].gregorian),r=e,n=t[o].gregorian,a=void 0,(a=b[r].calendar).days=L(n.days),a.months=L(n.months),a.quarters=L(n.quarters),a.dayPeriods=L(n.dayPeriods,!0),a.eras=function(e){var t={},r=t.format={},n={eraAbbr:"abbreviated",eraNames:"wide",eraNarrow:"narrow"};for(var a in e)r[n[a]]=e[a];return t}(n.eras)):"fields"===o&&j(e,t.fields)}function B(e){if(e.territory)return e.territory;var t,r=e.name,n=e.identity;return t=n&&n.territory?n.territory:function(e,t){var r=b.supplemental.likelySubtags,n=e.split("-");if(r){var a=r[e]||r[n[0]];a&&(n=a.split("-"))}if(t)for(var i=n.length-1;1<=i;i--){var o=n[i];o!==t.variant&&o!==t.script||n.splice(i,1)}var s=n.length;if(1<s)return n[s-1].toUpperCase()}(r,n),e.territory=t}function R(e,t){for(var r in t)"numbers"===r?_(e,t[r]):"dates"===r&&q(e,t[r])}function G(){for(var e=arguments,t=arguments.length,r=0;r<t;r++){var n=e[r];if(n.main){var a=Object.keys(n.main)[0],i=n.main[a],o=b[a]=b[a]||{};o.name=o.name||a,o.identity=o.identity||i.identity,B(o),R(a,i)}else n.supplemental&&(n.supplemental.weekData?b.supplemental.weekData={firstDay:n.supplemental.weekData.firstDay,weekendStart:n.supplemental.weekData.weekendStart,weekendEnd:n.supplemental.weekData.weekendEnd}:Object.assign(b.supplemental,n.supplemental))}}function Q(e,t){var r,n=t.type,a=t.nameType,i=t.standAlone,o=t.lower,s=m(e),u=i?"stand-alone":"format",l=(o?"lower-":O)+a,c=s.calendar[n][u],d=c[l];return!d&&o&&(d=c[l]=(r=c[a],Array.isArray(r)?function(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r].toLowerCase());return t}(r):function(e){var t={};for(var r in e)t[r]=e[r].toLowerCase();return t}(r))),d}function W(e){var t=e.split("-"),r=parseInt(t[0],10),n=parseInt(t[1],10)-1,a=parseInt(t[2],10);return new Date(r,n,a)}var Z=p.NoCurrency,K=p.NoCurrencyDisplay,Y=p.NoSupplementalCurrency,J=p.NoCurrencyRegion,$=p.NoValidCurrency,V=2,ee="symbol",te="XXX",re={"001":"USD",150:"EUR"};function ne(e,t,r){var n=m(e).numbers.currencies;if(n){var a=n[t];if(a)return a;if(r)throw K.error()}else if(r)throw Z.error()}function ae(e,t){return t.length-e.length}function ie(e,t){var r=m(e),n=r.numbers;if(!n.localeCurrency){var a=function(e,t){if(void 0===t&&(t=!0),re[e])return re[e];var r=b.supplemental.currencyData;if(r){var n=r.region[e];if(n)return function(e){for(var t,r,n,a,i=0;i<e.length;i++){var o=e[i],s=Object.keys(o)[0],u=o[s];if(s!==te&&"false"!==u._tender&&u._from)if(u._to){if(!n){var l=W(u._from),c=W(u._to);(!r||r.to<c||r.from<l)&&(t=s,r={from:l,to:c})}}else{var d=W(u._from);(!a||a<d)&&(n=s,a=d)}}return n||t}(n);if(t)throw J.error(e)}else if(t)throw Y.error()}(B(r),t);if(!a&&t)throw $.error(r.name);n.localeCurrency=a}return n.localeCurrency}var oe=["sun","mon","tue","wed","thu","fri","sat"],se="001",ue=p.NoWeekData,le=p.NoFirstDay;function ce(e){var t=m(e);if(!isNaN(t.firstDay))return t.firstDay;var r=b.supplemental.weekData;if(!r)throw ue.error();var n=r.firstDay[B(t)]||r.firstDay[se];if(!n)throw le.error();return t.firstDay=oe.indexOf(n),t.firstDay}function de(e,t){return void 0===t&&(t={}),t.currency||(t.currency=ie(e,!0)),function(e,t){var r=t.value,n=t.currency,a=t.currencyDisplay;if(void 0===a&&(a=ee),"code"===a)return n;var i=ne(e,n,!0);return a===ee?i["symbol-alt-narrow"]||i[ee]:1!==r?i["displayName-count-other"]:i["displayName-count-one"]}(e,t)}function me(e,t,r,n,a){var i=a.numbers.symbols,o=e.indexOf(i.decimal),s=n.groupSize.slice(),u=s.shift(),l=-1!==o?o:r+1,c=e.substring(t,l),d=e,m=c.length;if(u<=m){for(var f=m,p=[];-1<f;){var v=c.substring(f-u,f);v&&p.push(v),f-=u;var y=s.shift();if(0===(u=void 0!==y?y:u)){(v=c.substring(0,f))&&p.push(v);break}}c=p.reverse().join(i.group),d=e.substring(0,t)+c+e.substring(l)}return d}function fe(e){return e===y||e===d}function pe(e,t,r){void 0===t&&(t=2),void 0===r&&(r=!1);var n=t-String(e).length,a=e;if(0<n){var i=new Array(1+n).join("0");a=r?e+i:i+e}return a}p.NoWeekData;var ve=20;function ye(e,t){var r=e,n=t||0;return r=r.toString().split("e"),r=(r=Math.round(Number(r[0]+"e"+(r[1]?Number(r[1])+n:n)))).toString().split("e"),(r=Number(r[0]+"e"+(r[1]?Number(r[1])-n:-n))).toFixed(Math.min(n,ve))}var ge=3,he=0,Me=/0+$/;function be(e,t,r){var n=r.numbers.symbols,a=t.style,i=fe(a);if(a===w)return(void 0!==t.minimumFractionDigits?e.toExponential(t.minimumFractionDigits):e.toExponential()).replace(F,n.decimal);var o,s=e;i&&(t.value=s,o=de(r,t)),a===S&&(s*=100,o=n.percentSign);var u=function(e){var t,r,n,a,i,o=e.minimumFractionDigits,s=e.maximumFractionDigits,u=e.style,l=fe(u);return l&&(r=e.currency,a=n=V,(i=((b.supplemental.currencyData||{}).fractions||{})[r])&&i._digits&&(a=n=parseInt(i._digits,10)),t={minimumFractionDigits:n,maximumFractionDigits:a}),void 0===o&&(o=l?t.minimumFractionDigits:0),void 0===s&&(s=u===S?Math.max(o,he):l?Math.max(o,t.maximumFractionDigits):Math.max(o,ge)),{minimumFractionDigits:o,maximumFractionDigits:s}}(t),l=u.minimumFractionDigits,c=(s=ye(s,u.maximumFractionDigits))<0,d=s.split(F),m=d[0],f=pe(d[1]?d[1].replace(Me,O):O,l,!0);c&&(m=m.substring(1)),t.minimumIntegerDigits&&(m=pe(m,t.minimumIntegerDigits));var p,v,y,g,h=!1!==t.useGrouping?me(m,0,m.length,t,r):m;if(f&&(h+=n.decimal+f),i&&"name"===t.currencyDisplay)v=e,y=r.numbers.currency,g=1!==v?y["unitPattern-count-other"]:y["unitPattern-count-one"],v<0&&(g=g.replace(I,"-"+I)),p=g;else{var M=t.patterns;p=c?M[1]||"-"+M[0]:M[0]}return p!==I||c?function(e,t,r){for(var n=O,a=0,i=t.length;a<i;a++){var o=t.charAt(a);n+=o===I?e:o===D||o===x?r:o}return n}(h,p,o):h}var Se="__??__",we="#",De="0",xe=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,Ie=/(\.(?:[0-9]*[1-9])?)0+$/g,Fe=/\.$/,Oe=/\,/g;function Ee(e,t,r){return-1===e&&-1!==t?t:-1!==e&&-1===t?e:r?Math.min(e,t):Math.max(e,t)}function Ne(e,t,r){var n,a,i,o,s,u,l,c,d,m,f={negative:e<0,number:Math.abs(e),format:t};return function(e){var t,r=e.number,n=e.format;if(n=n.split(g),e.negative&&n[1])n=n[1],e.hasNegativeFormat=!0;else if(0===r){var a=n[2];n=a||n[0],a&&(-1===(t=a).indexOf(we)&&-1===t.indexOf(De))&&(e.constant=a)}else n=n[0];e.format=n}(f),f.constant?f.constant:(function(e){var t=e.format;if(-1<t.indexOf("'")||-1<t.indexOf('"')||-1<t.indexOf("\\")){var n=e.literals=[];e.format=t.replace(xe,function(e){var t=e.charAt(0).replace("\\",O),r=e.slice(1).replace(t,O);return n.push(r),Se})}}(f),d=r,-1!==(m=(c=f).format).indexOf(x)&&(c.style=S,c.symbol=d.numbers.symbols.percentSign,c.number*=100),-1!==m.indexOf(D)&&(c.style=y,c.symbol=de(d)),(l=f).hasGroup=-1<l.format.indexOf(h),l.hasGroup&&(l.format=l.format.replace(Oe,O)),function(e){var t,r,n,a=e.number,i=e.format,o=i.indexOf(F);if(-1!==o){var s=i.lastIndexOf(De)-o,u=i.lastIndexOf(we)-o,l=-1<s,c=-1<u,d=a.toString().split("e"),m=(d=(d=d[1]?ye(a,Math.abs(d[1])):d[0]).split(F)[1]||O).length,f=-1;l||c?l&&u<s?m=s:s<u&&(c&&u<m?m=u:l&&m<s&&(m=s),f=l?s:0):(e.format=i.substring(0,o)+i.substring(o+1),o=-1,m=0),-1<m&&(a=ye(a,m),-1<f&&(t=a,n=0===(r=f)?Ie:new RegExp("(\\.[0-9]{"+r+"}[1-9]*)0+$","g"),a=t.replace(n,"$1").replace(Fe,O)))}else a=ye(a);e.negative&&0<=-1*a&&(e.negative=!1),e.number=a,e.decimalIndex=o}(f),a=(n=f).format,i=a.indexOf(we),o=a.indexOf(De),s=Ee(i,o,!0),u=Ee(i=a.lastIndexOf(we),o=a.lastIndexOf(De)),s===a.length&&(u=s),n.start=s,n.end=u,n.lastZeroIndex=o,function(e,t){var r=e.number;return-1!==e.start&&(r=function(e,t){var r=e;if(t)for(var n=t.length,a=0;a<n;a++)r=r.replace(Se,t[a]);return r}(r=function(e,t,r){var n=e;if(t===y||t===S){n=O;for(var a=0,i=e.length;a<i;a++){var o=e.charAt(a);n+=o===D||o===x?r:o}}return n}(r=function(e,t){var r=e.start,n=e.end,a=e.negative,i=e.format,o=e.decimalIndex,s=e.lastZeroIndex,u=e.hasNegativeFormat,l=e.hasGroup,c=e.number,d=c.toString().split(F),m=i.length,f=d[0],p=d[1]||O,v=f.length,y=O;c=i.substring(0,r),a&&!u&&(c+="-");for(var g=r;g<m;g++){var h=i.charAt(g);if(-1===o){if(n-g<v){c+=f;break}}else if(-1!==s&&s<g&&(y=O),o-g<=v&&-1<o-g&&(c+=f,g=o),o===g){c+=(p?t.numbers.symbols.decimal:O)+p,g+=n-o+1;continue}h===De?(c+=h,y=h):h===we&&(c+=y)}return l&&(c=me(c,r+(a&&!u?1:0),Math.max(n,v+r),t.numbers.decimal,t)),r<=n&&(c+=i.substring(n+1)),c}(e,t),e.style,e.symbol),e.literals)),r}(f,r))}var He=/^(n|c|p|e|a)(\d*)$/i;function Te(e){return i(e)?function(e){var t=He.exec(e);if(t){var r={style:c},n=t[1].toLowerCase();return"c"===n?r.style=y:"a"===n?r.style=d:"p"===n?r.style=S:"e"===n&&(r.style=w),t[2]&&(r.minimumFractionDigits=r.maximumFractionDigits=parseInt(t[2],10)),r}}(e):e}function Ce(e,t,r){if(void 0===t&&(t=I),void 0===r&&(r=M),null==e)return O;if(!isFinite(e))return String(e);var n,a=v(r),i=Te(t);if(i){var o=i.style||c;n=be(e,Object.assign({},a.numbers[o],i),a)}else n=Ne(e,t,a);return n}function ke(e){return"number"==typeof e}var _e=/[eE][\-+]?[0-9]+/,Pe=/\u00A0/g;function Ae(e,t){if(1<t.length){var r=(t[1]||O).replace(D,O).split(I);if(-1<e.indexOf(r[0])&&-1<e.indexOf(r[1]))return e.replace(r[0],O).replace(r[1],O)}}var ze=/\{(\d+)}/g;function Le(e){var r=arguments;return e.replace(ze,function(e,t){return r[parseInt(t,10)+1]})}var je=120,Ue=20,Xe=[2,1,5,3,4],qe={};qe[(-2).toString()]=8,qe[(-1).toString()]=6,qe[2..toString()]=6;var Be={numeric:1,"2-digit":2,short:qe[1..toString()]=3,long:4,narrow:5},Re=/[hHmsSzZoOvVxX]/,Ge=[{key:"era",specifier:"G"},{key:"year",specifier:"y"},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:function(e){return e.hour12?"h":"H"}},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],Qe={e:"c",E:"c",M:"L",Q:"q"},We={},Ze={};function Ke(e){return We[e]||(We[e]=new RegExp(e+"+")),We[e]}function Ye(e){for(var t=[],r=e.charAt(0),n=r,a=1;a<e.length;a++){var i=e.charAt(a);i===n?r+=i:(t.push(r),r=n=i)}return t.push(r),t}function Je(e,t){var r,n,a=e.length,i=-Number.MAX_VALUE;for(var o in t){for(var s=[],u=o.replace("v","z"),l=0,c=0;c<a;c++){var d=e[c],m=(Ke(d[0]).exec(u)||[])[0];if(m){if(u=u.replace(m,O),m.length!==d.length){var f=Math.max(Math.min(Xe[m.length]-Xe[d.length],2),-2);l-=qe[f]}}else l-=je;if(s.push(m),l<i)break}u.length&&(l-=Ye(u).length*Ue),i<l&&(i=l,r=s,n=t[o])}n=n.replace("v","z");for(var p=0;p<a;p++){var v=r[p];if(v&&v!==e[p]){var y=r[p][0];n=n.replace(Ke(y),e[p]),Qe[y]&&(n=n.replace(Ke(Qe[y]),e[p]))}}return n}function $e(e,t){var r,n=t.calendar;if(i(e))r=n.patterns[e]?n.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var a=e.skeleton;a||(e.datetime?r=Le(n.dateTimeFormats[e.datetime],n.timeFormats[e.datetime],n.dateFormats[e.datetime]):e.date?r=n.dateFormats[e.date]:e.time?r=n.timeFormats[e.time]:a=function(e){for(var t=[],r=0;r<Ge.length;r++){var n=Ge[r],a=e[n.key];if(a){var i=n.specifier||n.getSpecifier(e);t.push(i.repeat(Be[a]))}}return t.join(O)}(e)),a&&(r=function(e,t){var r=t.calendar.dateTimeFormats.availableFormats;if(r[e])return r[e];if(Ze[t.name]&&Ze[t.name][e])return Ze[t.name][e];var n,a,i,o,s=e.search(Re);if(0<s){var u=e.substr(0,s),l=e.substr(s);n=Le(t.calendar.dateTimeFormats.short,r[l]||Je(Ye(l),r),r[u]||Je(Ye(u),r))}else n=Je(Ye(e),r);return a=e,i=n,o=t.name,Ze[o]||(Ze[o]={}),Ze[o][a]=i,n}(a,t))}return r=r||n.patterns.d}function Ve(e){var t;return e<=3?t="abbreviated":4===e?t="wide":5===e?t="narrow":6===e&&(t="short"),t}function et(e,t,r,n,a){return Q(e,{type:t,nameType:Ve(r),standAlone:n,lower:a})}function tt(e){return"function"==typeof e}function rt(e){return Boolean(e)&&tt(e.getTime)&&tt(e.getMonth)}var nt={G:"era",y:"year",q:"quarter",Q:"quarter",M:"month",L:"month",d:"day",E:"weekday",c:"weekday",e:"weekday",h:"hour",H:"hour",k:"hour",K:"hour",m:"minute",s:"second",a:"dayperiod",x:"zone",X:"zone",z:"zone",Z:"zone"},at=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g;function it(e,t,r,n){return t<=2?pe(e+1,t):et(r,"months",t,n)[e]}function ot(e,t,r,n){var a=Math.floor(e.getMonth()/3);return t<3?a+1:et(r,"quarters",t,n)[a]}function st(e,t,r){var n=r.shortHours,a=r.optionalMinutes,i=r.separator,o=r.localizedName,s=r.zZeroOffset,u=e.getTimezoneOffset()/60;if(0==u&&s)return"Z";var l=u<=0?"+":"-",c=Math.abs(u).toString().split("."),d=c[1]||0,m=l+(n?c[0]:pe(c[0],2));return!d&&a||(m+=(i?":":O)+pe(d,2)),o&&(m=Le(0==u?t.calendar.gmtZeroFormat:t.calendar.gmtFormat,m)),m}function ut(e,t,r,n){var a,i;return t<3?((a=e.getDay())<(i=ce(r))?7-i+a:a-i)+1:et(r,"days",t,n)[e.getDay()]}var lt={};function ct(r,e,t){if(void 0===t&&(t=M),!rt(r))return null==r?O:r;var n=v(t);return $e(e,n).replace(at,function(e){var t=e.length;return e.includes("'")||e.includes('"')?e.slice(1,t-1):lt[e[0]](r,t,n)})}function dt(e,t,r){var n=e.getTimezoneOffset(),a=new Date(e.getTime()+6e4*(t-r)),i=a.getTimezoneOffset();return new Date(a.getTime()+6e4*(i-n))}lt.d=function(e,t){return pe(e.getDate(),t)},lt.E=function(e,t,r){return et(r,"days",t)[e.getDay()]},lt.M=function(e,t,r){return it(e.getMonth(),t,r,!1)},lt.L=function(e,t,r){return it(e.getMonth(),t,r,!0)},lt.y=function(e,t){var r=e.getFullYear();return 2===t&&(r%=100),pe(r,t)},lt.h=function(e,t){return pe(e.getHours()%12||12,t)},lt.H=function(e,t){return pe(e.getHours(),t)},lt.k=function(e,t){return pe(e.getHours()||24,t)},lt.K=function(e,t){return pe(e.getHours()%12,t)},lt.m=function(e,t){return pe(e.getMinutes(),t)},lt.s=function(e,t){return pe(e.getSeconds(),t)},lt.S=function(e,t){return 0!==e.getMilliseconds()?String(e.getMilliseconds()/1e3).split(".")[1].substr(0,t):pe(O,t)},lt.a=function(e,t,r){return et(r,"dayPeriods",t)[e.getHours()<12?"am":"pm"]},lt.z=function(e,t,r){return st(e,r,{shortHours:t<4,optionalMinutes:t<4,separator:!0,localizedName:!0})},lt.Z=function(e,t,r){return st(e,r,{separator:3<t,localizedName:4===t,zZeroOffset:5===t})},lt.x=function(e,t,r){return st(e,r,{optionalMinutes:1===t,separator:3===t||5===t})},lt.X=function(e,t,r){return st(e,r,{optionalMinutes:1===t,separator:3===t||5===t,zZeroOffset:!0})},lt.G=function(e,t,r){var n=0<=e.getFullYear()?1:0;return et(r,"eras",t)[n]},lt.e=ut,lt.c=function(e,t,r){return ut(e,t,r,!0)},lt.q=function(e,t,r){return ot(e,t,r,!0)},lt.Q=ot;var mt=/([+|\-]\d{1,2})(:?)(\d{2})?/,ft=/^\/Date\((.*?)\)\/$/,pt=/[+-]\d*/,vt={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},yt=/\d+/,gt=["yyyy/MM/dd HH:mm:ss","yyyy/MM/dd HH:mm","yyyy/MM/dd","E MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:ss.SSSSSSSXXX","yyyy-MM-ddTHH:mm:ss.SSSXXX","yyyy-MM-ddTHH:mm:ss.SSXXX","yyyy-MM-ddTHH:mm:ssXXX","yyyy-MM-ddTHH:mm:ss.SSSSSSS","yyyy-MM-ddTHH:mm:ss.SSS","yyyy-MM-ddTHH:mmXXX","yyyy-MM-ddTHH:mmX","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","yyyy-MM-dd","HH:mm:ss","HH:mm"],ht=["G","g","F","Y","y","M","m","D","d","y","T","t"];function Mt(e,t,r){return!(t<=e&&e<=r)}function bt(e,t){for(var r=t.format,n=t.idx,a=0;r[n]===e;)a++,n++;return 0<a&&(n-=1),t.idx=n,a}function St(e,t){var r=e?vt[e]||new RegExp("^\\d{1,"+e+"}"):yt,n=t.value.substr(t.valueIdx,e).match(r);return n?(n=n[0],t.valueIdx+=n.length,parseInt(n,10)):null}function wt(e,t,r){for(var n,a,i,o=0,s=e.length,u=0,l=0;o<s;o++)a=(n=e[o]).length,i=t.value.substr(t.valueIdx,a),r&&(i=i.toLowerCase()),i===n&&u<a&&(u=a,l=o);return u?(t.valueIdx+=u,l+1):null}function Dt(e){var t=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,t=!0),t}function xt(e,t,r){var n=r.shortHours,a=r.noSeparator,i=r.optionalMinutes,o=r.localizedName,s=r.zLiteral;if(e.UTC=!0,s&&"Z"===e.value.charAt(e.valueIdx))return e.valueIdx++,!1;if(o&&!wt(function(e){var t=e.gmtFormat,r=e.gmtZeroFormat;if(!t)throw p.NoGMTInfo.error();return[t.replace("{0}",O).toLowerCase(),r.replace("{0}",O).toLowerCase()]}(t.calendar),e,!0))return!0;var u=mt.exec(e.value.substr(e.valueIdx,6));if(!u)return!o;var l=u[1],c=u[3],d=parseInt(l,10),m=u[2],f=parseInt(c,10);return!!(isNaN(d)||!n&&3!==l.length||!i&&isNaN(f)||a&&m)||(isNaN(f)&&(f=null),!!(Mt(d,-12,13)||f&&Mt(f,0,59))||(e.valueIdx+=u[0].length,e.hoursOffset=d,void(e.minutesOffset=f)))}function It(e,t,r){var n=bt(e,t),a=et(r,"months",n,"L"===e,!0),i=n<3?St(2,t):wt(a,t,!0);if(null===i||Mt(i,1,12))return!0;t.month=i-1}function Ft(e,t,r){var n=bt(e,t),a=et(r,"days",n,"c"===e,!0),i=n<3?St(1,t):wt(a,t,!0);if(!i&&0!==i||Mt(i,1,7))return!0}var Ot={};function Et(e,t,r){for(var n=$e(t,r).split(O),a={format:n,idx:0,value:e,valueIdx:0,year:null,month:null,day:null,hours:null,minutes:null,seconds:null,milliseconds:null},i=n.length,o=!1;a.idx<i;a.idx++){var s=n[a.idx];if(o)"'"===s&&(o=!1),Dt(a);else if(Ot[s]){if(Ot[s](a,r))return null}else if("'"===s)o=!0,Dt(a);else if(!Dt(a))return null}return a.valueIdx<e.length?null:(d=(u=a).year,m=u.month,f=u.day,p=u.hours,v=u.minutes,y=u.seconds,g=u.milliseconds,h=u.pmHour,M=u.UTC,b=u.hoursOffset,S=u.minutesOffset,w=null!==p||null!==v||y||null,D=new Date,null===d&&null===m&&null===f&&w?(d=D.getFullYear(),m=D.getMonth(),f=D.getDate()):(null===d&&(d=D.getFullYear()),null===f&&(f=1)),h&&p<12&&(p+=12),M?(b&&(p+=-b),S&&(v+=-S*(b<0?-1:1)),l=new Date(Date.UTC(d,m,f,p,v,y,g))):(c=l=new Date(d,m,f,p,v,y,g),p||23!==c.getHours()||c.setHours(c.getHours()+2)),d<100&&l.setFullYear(d),(l.getDate()!==f&&void 0===M?null:l)||null);var u,l,c,d,m,f,p,v,y,g,h,M,b,S,w,D}function Nt(e,t,r){if(void 0===r&&(r=M),!e)return null;if(rt(e))return e;var n=String(e).trim(),a=function(e){if(e&&0===e.indexOf("/D")){var t=ft.exec(e);if(t){t=t[1];var r=pt.exec(t.substring(1));return t=new Date(parseInt(t,10)),r&&(a="-"===(n=r[0]).substr(0,1)?-1:1,i=n.substring(1),r=a*(i=60*parseInt(i.substr(0,2),10)+parseInt(i.substring(2),10)),t=dt(t=dt(t,t.getTimezoneOffset(),0),0,-1*r)),t}}var n,a,i}(n);if(a)return a;for(var i=v(r),o=t||function(){for(var e=[],t=i.calendar.patterns,r=ht.length,n=0;n<r;n++)e.push(t[ht[n]]);return e.concat(gt)}(),s=(o=Array.isArray(o)?o:[o]).length,u=0;u<s;u++)if(a=Et(n,o[u],i))return a;return a}Ot.d=function(e){bt("d",e);var t=St(2,e);if(null===t||Mt(t,1,31))return!0;null===e.day&&(e.day=t)},Ot.E=function(e,t){if(null===wt(et(t,"days",bt("E",e),!1,!0),e,!0))return!0},Ot.M=function(e,t){return It("M",e,t)},Ot.L=function(e,t){return It("L",e,t)},Ot.y=function(e){var t=bt("y",e),r=St(1===t?void 0:t,e);if(null===r)return!0;if(2===t){var n=(new Date).getFullYear();2029<(r=n-n%100+r)&&(r-=100)}e.year=r},Ot.h=function(e){bt("h",e);var t=St(2,e);if(12===t&&(t=0),null===t||Mt(t,0,11))return!0;e.hours=t},Ot.K=function(e){bt("K",e);var t=St(2,e);if(null===t||Mt(t,0,11))return!0;e.hours=t},Ot.a=function(e,t){var r=et(t,"dayPeriods",bt("a",e),!1,!0),n=wt([r.pm],e,!0);if(!n&&!wt([r.am],e,!0))return!0;e.pmHour=n},Ot.H=function(e){bt("H",e);var t=St(2,e);if(null===t||Mt(t,0,23))return!0;e.hours=t},Ot.k=function(e){bt("k",e);var t=St(2,e);if(null===t||Mt(t,1,24))return!0;e.hours=24===t?0:t},Ot.m=function(e){bt("m",e);var t=St(2,e);if(null===t||Mt(t,0,59))return!0;e.minutes=t},Ot.s=function(e){bt("s",e);var t=St(2,e);if(null===t||Mt(t,0,59))return!0;e.seconds=t},Ot.S=function(e){var t=bt("S",e),r=e.value.substr(e.valueIdx,t),n=null;if(isNaN(parseInt(r,10))||(n=ye(n=parseFloat("0."+r,10),3),n*=1e3,e.valueIdx+=t),null===n||Mt(n,0,999))return!0;e.milliseconds=n},Ot.z=function(e,t){var r=bt("z",e)<4,n=xt(e,t,{shortHours:r,optionalMinutes:r,localizedName:!0});if(n)return n},Ot.Z=function(e,t){var r=bt("Z",e),n=xt(e,t,{noSeparator:r<4,zLiteral:5===r,localizedName:4===r});if(n)return n},Ot.x=function(e,t){var r=bt("x",e),n=xt(e,t,{noSeparator:3!==r&&5!==r,optionalMinutes:1===r});if(n)return n},Ot.X=function(e,t){var r=bt("X",e),n=xt(e,t,{noSeparator:3!==r&&5!==r,optionalMinutes:1===r,zLiteral:!0});if(n)return n},Ot.G=function(e,t){var r=et(t,"eras",bt("G",e),!1,!0);if(null===wt([r[0],r[1]],e,!0))return!0},Ot.e=function(e,t){return Ft("e",e,t)},Ot.c=function(e,t){return Ft("c",e,t)};var Ht={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}},Tt="literal";function Ct(e,t){var r=e[e.length-1];r&&r.type===Tt?r.pattern+=t:e.push({type:Tt,pattern:t})}var kt=/\{(\d+)(:[^\}]+)?\}/g;function _t(e,t,r){if(t){if(rt(e))return ct(e,t,r);if(ke(e))return Ce(e,t,r)}return null!=e?e:O}function Pt(e,n,a){return e.replace(kt,function(e,t,r){return _t(n[parseInt(t,10)],r?r.substring(1):O,a)})}var At,zt,Lt=(Rt.prototype.format=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return 1===t.length&&Array.isArray(t[0])?Pt(e,t[0],this.locale):Pt(e,t,this.locale)},Rt.prototype.formatDate=function(e,t){return ct(e,t,this.locale)},Rt.prototype.toString=function(e,t){return _t(e,t,this.locale)},Rt.prototype.parseNumber=function(e,t){return function(e,t,r){if(void 0===t&&(t=M),void 0===r&&(r={}),!e&&0!==e)return null;if(ke(e))return e;var n,a=v(t),i=a.numbers.symbols,o=e.toString();if(_e.test(o))return o=parseFloat(o.replace(i.decimal,F)),isNaN(o)?null:o;var s=o.indexOf("-");if(0<s)return null;var u=-1<s,l=function(e,o,t){var r,n=Te(t)||{},a=fe(n.style),i=e,s=n.currency||ie(o,a);if(s){var u=function(e,t,r){void 0===r&&(r=!0);var n=ne(o,t,r);if(n){if(!n.displays){var a=[t];for(var i in n)a.push(n[i]);a.sort(ae),n.displays=a}return n.displays}}(0,s,a);if(u)for(var l=0;l<u.length;l++){var c=u[l];if(i.includes(c)){i=i.replace(c,O),a=!0;break}}if(a){var d=Ae(i,o.numbers.currency.patterns)||Ae(i,o.numbers.accounting.patterns);d&&(r=!0,i=d)}}return{number:i,negative:r}}(o,a,r),c=l.negative;return o=l.number,u=void 0!==c?c:u,(r.style===S||-1<o.indexOf(i.percentSign))&&(o=o.replace(i.percentSign,O),n=!0),o=o.replace("-",O).replace(Pe," ").split(i.group.replace(Pe," ")).join(O).replace(i.decimal,F),o=parseFloat(o),isNaN(o)?o=null:u&&(o*=-1),o&&n&&(o/=100),o}(e,this.locale,t)},Rt.prototype.parseDate=function(e,t){return Nt(e,t,this.locale)},Rt.prototype.formatNumber=function(e,t){return Ce(e,t,this.locale)},Rt.prototype.dateFieldName=function(e){return function(e,t){void 0===t&&(t=M);var r=v(t).calendar.dateFields;if(!r)throw p.NoDateFieldNames.error();var n=r[e.type]||{};return n[e.nameType]||n.wide}(e,this.locale)},Rt.prototype.dateFormatNames=function(e){return Q(this.locale,e)},Rt.prototype.splitDateFormat=function(e){return function(e,t){void 0===t&&(t=M);for(var r=$e(e,v(t)),n=[],a=at.lastIndex=0,i=at.exec(r);i;){var o=i[0];if(a<i.index&&Ct(n,r.substring(a,i.index)),o.startsWith('"')||o.startsWith("'"))Ct(n,o);else{var s=o[0],u=nt[s],l={type:u,pattern:o};"hour"===u&&(l.hour12="h"===(f=o)||"K"===f);var c=Ht[u];if(c){var d=ke(c.minLength)?c.minLength:c.minLength[s],m=o.length;d<=m&&(l.names={type:c.type,nameType:Ve(m),standAlone:c.standAlone===s})}n.push(l)}a=at.lastIndex,i=at.exec(r)}var f;return a<r.length&&Ct(n,r.substring(a)),n}(e,this.locale)},Rt.prototype.numberSymbols=function(){return m(this.locale).numbers.symbols},Rt.prototype.firstDay=function(){return ce(this.locale)},Rt),jt=(At=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}At(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Ut=(zt=n.Component,jt(Bt,zt),Bt.prototype.getIntlService=function(){return new Lt(this.props.locale)},Bt.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},Bt.prototype.render=function(){return n.Children.only(this.props.children)},Bt.propTypes={locale:a.string},Bt.childContextTypes={kendoIntlService:a.object},Bt),Xt=Object.create({}),qt=function(e,t,r){for(var n in e)if(e.hasOwnProperty(n)){var a=r.slice();if(a.push(n),"string"!=typeof e[n])qt(e[n],t,a);else{var i=e[n];Object.defineProperty(t,a.join("."),{value:i})}}};function Bt(){return null!==zt&&zt.apply(this,arguments)||this}function Rt(e){this.locale=e}function Gt(e,t){var r=Xt[t]=Xt[t]||{};qt(e,r,[])}var Qt,Wt,Zt=($t.prototype.toLanguageString=function(e,t){return this.language&&Xt[this.language]&&Xt[this.language].hasOwnProperty(e)?Xt[this.language][e]:t},$t),Kt=(Wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}Wt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Yt=(Qt=n.Component,Kt(Jt,Qt),Jt.prototype.getLocalizationService=function(){return new Zt(this.props.language)},Jt.prototype.getChildContext=function(){return{kendoLocalizationService:this.getLocalizationService()}},Jt.prototype.render=function(){return n.Children.only(this.props.children)},Jt.propTypes={language:a.string},Jt.childContextTypes={kendoLocalizationService:a.object},Jt);function Jt(){return null!==Qt&&Qt.apply(this,arguments)||this}function $t(e){this.language=e}function Vt(e){return e.context&&e.context.kendoIntlService||new Lt("en")}function er(e){return e.context&&e.context.kendoLocalizationService||new Zt}function tr(e){var t={kendoIntlService:a.object};e.contextTypes?Object.assign(e.contextTypes,t):e.contextTypes=t}function rr(e){var t={kendoLocalizationService:a.object};e.contextTypes?Object.assign(e.contextTypes,t):e.contextTypes=t}r.d(t,"IntlProvider",function(){return Ut}),r.d(t,"IntlService",function(){return Lt}),r.d(t,"loadMessages",function(){return Gt}),r.d(t,"LocalizationProvider",function(){return Yt}),r.d(t,"LocalizationService",function(){return Zt}),r.d(t,"load",function(){return G}),r.d(t,"provideIntlService",function(){return Vt}),r.d(t,"provideLocalizationService",function(){return er}),r.d(t,"registerForIntl",function(){return tr}),r.d(t,"registerForLocalization",function(){return rr})}],a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(r,n,function(e){return t[e]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=6)}}}); | ||
System.register("@progress/kendo-react-sortable",["react","react-dom","prop-types","@progress/kendo-react-common"],function(u){var i,o,s,l;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){i=t(e)},function(e){o=t(e)},function(e){s=t(e)},function(e){l=t(e)}],execute:function(){function a(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}var r,n;n={},a.m=r=[function(e,t){e.exports=s},function(e,t){e.exports=i},function(e,t,r){"use strict";var n,a=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i,o=(i=r(10).PreventableEvent,a(s,i),s);function s(e,t,r){var n=i.call(this)||this;return n.target=e,n.prevIndex=t,n.element=r,n}t.SortableOnDragStartEvent=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SortableOnDragOverEvent=function(e,t,r,n){this.target=e,this.prevIndex=t,this.nextIndex=r,this.newState=n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SortableOnDragEndEvent=function(e,t,r,n){this.target=e,this.prevIndex=t,this.nextIndex=r,this.newState=n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SortableOnNavigateEvent=function(e,t,r,n){this.target=e,this.prevIndex=t,this.nextIndex=r,this.newState=n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7);t.Sortable=n.Sortable;var a=r(2);t.SortableOnDragStartEvent=a.SortableOnDragStartEvent;var i=r(3);t.SortableOnDragOverEvent=i.SortableOnDragOverEvent;var o=r(4);t.SortableOnDragEndEvent=o.SortableOnDragEndEvent;var s=r(5);t.SortableOnNavigateEvent=s.SortableOnNavigateEvent,function(e){for(var t in e)u(t,e[t])}(t)},function(e,t,r){"use strict";var n,a,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var s,u=r(1),l=r(8),c=r(0),b=r(9),d=r(2),m=r(3),f=r(4),S=r(5),p=r(13),v=r(11),w=r(12),y="data-sortable-id",g="data-sortable-component",h=((a={})[g]=!0,a),M=(s=u.Component,i(D,s),Object.defineProperty(D.prototype,"container",{get:function(){return this.draggableRef&&this.draggableRef.element},enumerable:!0,configurable:!0}),D.prototype.getSnapshotBeforeUpdate=function(){var a=this,e=this.props,i=e.idField,t=e.animation;return this.oldSizesMap={},t&&this.props.data.forEach(function(e){var t=e[i],r=a.itemRefsMap[t],n=l.findDOMNode(r);n&&(a.oldSizesMap[t]=n.getBoundingClientRect())}),null},D.prototype.componentDidUpdate=function(e){var s=this,t=this.props,u=t.idField,r=t.animation;this.focusActiveId&&(this.focusActiveId=!1,this.itemRefsMap[this.state.activeId].focus()),r&&(this.state.isDragging||this.isKeyboardNavigated)&&(this.isKeyboardNavigated=!1,e.data.forEach(function(e){var t=e[u],r=s.itemRefsMap[t],n=r.getBoundingClientRect(),a=s.oldSizesMap[t],i=a.left-n.left,o=a.top-n.top;0==i&&0==o||requestAnimationFrame(function(){s.animatingItemMap[t]=!0,r.style.transform="translate("+i+"px, "+o+"px)",r.style.transition="transform 0s",requestAnimationFrame(function(){r.style.transform="",r.style.transition="transform 200ms cubic-bezier(0.2, 0, 0, 1) 0s",setTimeout(function(){return s.animatingItemMap[t]=!1},200)})})}))},D.prototype.componentDidMount=function(){this.isRtl=this.container&&"rtl"===getComputedStyle(this.container).direction||!1},D.prototype.componentWillUnmount=function(){this.isUnmounted=!0},D.prototype.parentOffset=function(){var e=this.container,t=e&&e.offsetParent;if(t&&t.ownerDocument&&t!==t.ownerDocument.body){var r=t.getBoundingClientRect();return{left:r.left-t.scrollLeft,top:r.top-t.scrollTop}}return{left:0,top:0}},D.prototype.render=function(){var e=this.props,t=e.data,r=e.style,n=e.className;return u.createElement(b.Draggable,{onPress:this.onDragStart,onDrag:this.onDragOver,onRelease:this.onDragEnd,ref:this.draggableRefAssign},u.createElement("div",o({},h,{className:n,style:o({touchAction:"none"},r),onKeyDown:this.onKeyDown}),t&&t.length?this.renderData():this.renderNoData(),this.renderDragCue()))},D.defaultProps={tabIndex:0,navigation:!0,animation:!0,emptyItemUI:function(e){return u.createElement("div",null,e.message)}},D.propTypes={idField:c.string.isRequired,disabledField:c.string,data:c.array.isRequired,tabIndex:c.number,navigation:c.bool,animation:c.bool,itemUI:c.func.isRequired,emptyItemUI:c.func,style:c.object,className:c.string,onDragStart:c.func,onDragOver:c.func,onDragEnd:c.func,onNavigate:c.func},D);function D(){var M=null!==s&&s.apply(this,arguments)||this;return M.state={clientX:0,clientY:0,isDragging:!1,isDragPrevented:!1,activeId:"",dragCueWidth:0,dragCueHeight:0},M.itemRefsMap={},M.oldSizesMap={},M.animatingItemMap={},M.isUnmounted=!1,M.focusActiveId=!1,M.isKeyboardNavigated=!1,M.swapItems=function(e,t,r){var n=e[t];return e[t]=e[r],e[r]=n,r},M.generateNewState=function(e,t){var r=M.props.data,n=r.slice();if(t<e)for(var a=e-1;t<=a;a--){var i=r[a];M.isItemDisabled(i)||(e=M.swapItems(n,e,a))}else for(a=e+1;a<=t;a++)i=r[a],M.isItemDisabled(i)||(e=M.swapItems(n,e,a));return n},M.closestSortableItem=function(e){for(var t=e;t;){var r=t.getAttribute(y);if(r&&M.itemRefsMap[r]===t)return{id:r,element:t};t=t.parentElement}return{id:"",element:null}},M.isSortable=function(e){return Boolean(e.hasAttribute(g))},M.closestSortable=function(e){for(var t=e;t;){if(M.isSortable(t))return t;t=t.parentElement}return null},M.isSameSortable=function(e){return M.closestSortable(e)===M.container},M.idComparer=function(e,t){return e+""==t+""},M.findItem=function(t){var e=M.props,r=e.data,n=e.idField;if(t+"")return w.find(r,function(e){return M.idComparer(e[n],t)})},M.findIndex=function(t){var e=M.props,r=e.data,n=e.idField;return t+""?w.findIndex(r,function(e){return M.idComparer(e[n],t)}):-1},M.isItemDisabled=function(e){return e&&!0===e[M.props.disabledField||""]},M.isActiveElementSortableItem=function(){return document.activeElement instanceof HTMLElement&&M.closestSortableItem(document.activeElement).element!==document.activeElement},M.widgetTarget=function(e){var t=w.closest(e,function(e){return w.hasClasses(e,"k-widget")||M.isSortable(e)});return t&&!M.isSortable(t)},M.allowDrag=function(e){return e.hasAttribute(y)||!(w.isFocusable(e)||M.widgetTarget(e))},M.onDragStart=function(e){var t=e.event,r=M.props.onDragStart,n=document.elementFromPoint(t.clientX,t.clientY),a=M.closestSortableItem(n),i=a.id,o=a.element,s=M.findItem(i);if(!i||s&&M.isItemDisabled(s)||!M.allowDrag(n)||!M.isSameSortable(n))M.setState({isDragPrevented:!0});else{t.isTouch&&t.originalEvent.preventDefault();var u=new d.SortableOnDragStartEvent(M,M.findIndex(i),n);r&&r.call(void 0,u),M.setState({isDragPrevented:u.isDefaultPrevented(),activeId:i,dragCueWidth:o&&o.clientWidth||0,dragCueHeight:o&&o.clientHeight||0})}},M.onDragOver=function(e){var t=e.event,r=M.props,n=r.onDragOver,a=r.data;if(t.originalEvent.preventDefault(),!M.state.isDragPrevented){var i=M.findIndex(M.state.activeId);if(-1!==i){var o=document.elementFromPoint(t.clientX,t.clientY),s=M.closestSortableItem(o),u=M.findIndex(s.id),l=a[u];if(n&&-1<u&&i!==u&&!M.isItemDisabled(l)&&!M.animatingItemMap[s.id]){var c=new m.SortableOnDragOverEvent(M,i,u,M.generateNewState(i,u));n.call(void 0,c)}var d=M.parentOffset();M.setState({clientX:t.clientX-d.left,clientY:t.clientY-d.top,isDragging:!0})}else M.resetState()}},M.onDragEnd=function(e){var t=M.isActiveElementSortableItem();if(M.state.isDragPrevented)M.resetState(t);else{var r=e.event,n=M.props,a=n.onDragEnd,i=n.data,o=document.elementFromPoint(r.clientX,r.clientY),s=M.closestSortableItem(o),u=M.findIndex(s.id),l=M.findIndex(M.state.activeId),c=M.isItemDisabled(i[u]);if(-1!==u&&!c||(u=l),a){var d=new f.SortableOnDragEndEvent(M,l,u,M.generateNewState(l,u));a.call(void 0,d)}M.resetState(t)}},M.onItemBlur=function(){setTimeout(function(){M.isUnmounted||M.isActiveElementSortableItem()&&!M.state.isDragging&&M.setState({activeId:""})})},M.onItemFocus=function(e){var t=M.closestSortableItem(e.currentTarget),r=t.id,n=t.element;!M.idComparer(r,M.state.activeId)&&M.isSameSortable(e.target)&&n===e.target&&M.setState({activeId:r})},M.onKeyDown=function(e){var t=M.props,r=t.data,n=t.idField,a=t.onNavigate,i=t.navigation,o=M.state.activeId;if(i&&o&&M.isSameSortable(e.target)){var s=M.isRtl,u=r.filter(function(e){return!M.isItemDisabled(e)}),l=w.findIndex(u,function(e){return M.idComparer(e[n],o)}),c=u.length-1,d=l;switch(e.keyCode===b.Keys.left&&(e.keyCode=s?b.Keys.down:b.Keys.up),e.keyCode===b.Keys.right&&(e.keyCode=s?b.Keys.up:b.Keys.down),e.keyCode){case b.Keys.up:0<l&&(d=l-1);break;case b.Keys.down:l<c&&(d=l+1)}if(d!==l){e.stopPropagation(),e.preventDefault();var m=u[d],f=m?m[n]:"",p=u[l],v=p?p[n]:"";if(e.ctrlKey){if(a){var y=M.findIndex(v),g=M.findIndex(f),h=new S.SortableOnNavigateEvent(M,y,g,M.generateNewState(y,g));M.isKeyboardNavigated=!0,a.call(void 0,h)}}else M.focusActiveId=!0,M.setState({activeId:f+""})}}},M.resetState=function(e){M.setState({clientX:0,clientY:0,isDragging:!1,isDragPrevented:!1,dragCueWidth:0,dragCueHeight:0,activeId:e?"":M.state.activeId})},M.renderData=function(){var e=M.props,t=e.data,i=e.itemUI,o=e.idField,s=e.tabIndex;return t.map(function(e){var t,r=e[o],n=M.isItemDisabled(e),a=M.idComparer(M.state.activeId,r);return u.createElement(i,{key:r,forwardRef:function(e){return M.refAssign(e,r)},dataItem:e,isDisabled:n,isActive:a,isDragged:a&&M.state.isDragging,isDragCue:!1,attributes:(t={},t[y]=r,t["aria-disabled"]=n,t["aria-grabbed"]=a&&M.state.isDragging&&!M.state.isDragPrevented,t["aria-dropeffect"]=n?"none":"move",t.tabIndex=n?-1:s,t.onFocus=M.onItemFocus,t.onBlur=M.onItemBlur,t),style:{cursor:n?"auto":"move",MozUserSelect:"none",msUserSelect:"none",WebkitUserSelect:"none",userSelect:"none"}})})},M.renderNoData=function(){var e=M.props.emptyItemUI,t=p.provideLocalizationService(M).toLanguageString(v.noData,v.messages[v.noData]);if(e)return u.createElement(e,{message:t})},M.renderDragCue=function(){var e=M.props.itemUI,t=M.state,r=t.isDragging,n=t.activeId,a=t.clientX,i=t.clientY,o=M.findItem(n);if(r&&o)return u.createElement(e,{dataItem:o,isDisabled:!1,isActive:!0,isDragged:!0,isDragCue:!0,style:{position:"fixed",top:i+10,left:a+10,width:M.state.dragCueWidth,height:M.state.dragCueHeight},attributes:{}})},M.refAssign=function(e,t){e?M.itemRefsMap[t]=e:delete M.itemRefsMap[t]},M.draggableRefAssign=function(e){M.draggableRef=e},M}t.Sortable=M,p.registerForLocalization(M)},function(e,t){e.exports=o},function(e,t){e.exports=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(a.prototype.preventDefault=function(){this.prevented=!0},a.prototype.isDefaultPrevented=function(){return this.prevented},a);function a(){this.prevented=!1}t.PreventableEvent=n},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.noData="sortable.noData",t.messages=((n={})[t.noData]="No Data",n)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]},t.findIndex=function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1};function n(e){return String(e).trim().split(" ")}t.toClassList=n,t.hasClasses=function(e,t){var r=n(t);return Boolean(n(e.className).find(function(e){return 0<=r.indexOf(e)}))};var i=/^(?:a|input|select|option|textarea|button|object)$/i;t.isFocusable=function(e){if(e.tagName){var t=e.tagName.toLowerCase(),r=e.getAttribute("tabIndex"),n="-1"===r,a=null!==r&&!n;return i.test(t)&&(a=!e.disabled&&!n),a}return!1},t.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e}},function(e,t,r){"use strict";r.r(t);var n=r(1),a=r(0);function i(e){return"string"==typeof e}function o(e){var t=e.name,r=e.message;if(!t||!r)throw new Error("{ name: string, message: string } object is required!");this.name=t,this.message=r}var s=/\{(\d+)}?\}/g;o.prototype.formatMessage=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=l(e),n=this.message.replace(s,function(e,t){return r[parseInt(t,10)]});return this.name+": "+n},o.prototype.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new Error(this.formatMessage(e))};var u,l=function(e){return e.reduce(function(e,t){return e.concat(t)},[])},p=(u={NoLocale:"Missing locale info for '{0}'",NoCurrency:"Cannot determine currency information. Please load the locale currencies data.",NoSupplementalCurrency:"Cannot determine currency. Please load the supplemental currencyData.",NoCurrencyRegion:"No currency data for region '{0}'",NoCurrencyDisplay:"Cannot determine currency display information. Please load the locale currencies data. The default culture does not include the all currencies data.",NoGMTInfo:"Cannot determine locale GMT format. Please load the locale timeZoneNames data.",NoWeekData:"Cannot determine locale first day of week. Please load the supplemental weekData.",NoFirstDay:"Cannot determine locale first day of week. Please load the supplemental weekData. The default culture includes only the 'en-US' first day info.",NoValidCurrency:"Cannot determine a default currency for the {0} locale. Please specify explicitly the currency with the format options.",NoDateFieldNames:"Cannot determine the locale date field names. Please load the locale dateFields data."},Object.keys(u).reduce(function(e,t){return e[t]=new o({name:t,message:u[t]}),e},{})),b={en:{name:"en",identity:{version:{_number:"$Revision: 12418 $",_cldrVersion:"29"},language:"en"},territory:"US",numbers:{symbols:{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},decimal:{patterns:["n"],groupSize:[3]},scientific:{patterns:["nEn"],groupSize:[]},percent:{patterns:["n%"],groupSize:[3]},currency:{patterns:["$n"],groupSize:[3],"unitPattern-count-one":"n $","unitPattern-count-other":"n $"},currencies:{BGN:{displayName:"Bulgarian Lev","displayName-count-one":"Bulgarian lev","displayName-count-other":"Bulgarian leva",symbol:"BGN"},EUR:{displayName:"Euro","displayName-count-one":"euro","displayName-count-other":"euros",symbol:"€","symbol-alt-narrow":"€"},USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}},localeCurrency:"USD",accounting:{patterns:["$n","($n)"],groupSize:[3]}},calendar:{gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",patterns:{d:"M/d/y",D:"EEEE, MMMM d, y",m:"MMM d",M:"MMMM d",y:"MMM y",Y:"MMMM y",F:"EEEE, MMMM d, y h:mm:ss a",g:"M/d/y h:mm a",G:"M/d/y h:mm:ss a",t:"h:mm a",T:"h:mm:ss a",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d","MMMMW-count-one":"'week' W 'of' MMMM","MMMMW-count-other":"'week' W 'of' MMMM",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y","yw-count-one":"'week' w 'of' Y","yw-count-other":"'week' w 'of' Y"}},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},days:{format:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},months:{format:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},quarters:{format:{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{format:{wide:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},abbreviated:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},narrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}}},dateFields:{era:{wide:"era"},year:{wide:"year",short:"yr.",narrow:"yr."},quarter:{wide:"quarter",short:"qtr.",narrow:"qtr."},month:{wide:"month",short:"mo.",narrow:"mo."},week:{wide:"week",short:"wk.",narrow:"wk."},day:{wide:"day",short:"day",narrow:"day"},weekday:{wide:"day of the week"},dayperiod:{wide:"AM/PM"},hour:{wide:"hour",short:"hr.",narrow:"hr."},minute:{wide:"minute",short:"min.",narrow:"min."},second:{wide:"second",short:"sec.",narrow:"sec."},zone:{wide:"time zone"}}}},supplemental:{likelySubtags:{en:"en-Latn-US"},currencyData:{region:{US:[{USD:{_from:"1792-01-01"}}]}},weekData:{firstDay:{US:"sun"},weekendStart:{"001":"sat"},weekendEnd:{"001":"sun"}}}};function m(e){return i(e)?v(e):e}function v(e){if(b[e])return b[e];if(b.supplemental.likelySubtags){var t=e.split("-"),r=t[0],n=t.slice(1),a=function(e,t){for(var r=b.supplemental.likelySubtags,n=0;n<t.length;n++){var a=r[e+"-"+t[n]];if(a)return a}if(r[e])return r[e]}(r,n),i=a?(s=n,u=(o=a).split("-"),l=u[0],c=u[1],d=u[2],b[o]||-1!==s.indexOf(d)&&b[l+"-"+d]||-1!==s.indexOf(c)&&b[l+"-"+c]||b[l]):null;if(i)return i}var o,s,u,l,c,d;throw p.NoLocale.error(e)}var c="decimal",y="currency",d="accounting",S="percent",w="scientific",D="$",x="%",I="n",g=";",h=",",F=".",O="",M="en",f="Formats-numberSystem-latn",E="symbols-numberSystem-latn",N=/([#,0.]+)/g,H=/¤/g;function T(e){return N.lastIndex=0,e.replace(H,D).replace(N,I).split(g)}function C(e){return N.lastIndex=0,N.exec(e.split(g)[0])[0].split(F)[0].split(h).slice(1).map(function(e){return e.length}).reverse()}function k(e,t){for(var r in t)r.startsWith("unitPattern")&&(e[r]=t[r].replace("{0}",I).replace("{1}",D))}function _(e,t){var r=b[e],n=r.numbers=r.numbers||{};for(var a in n.symbols=n.symbols||{},t)if(a===E)Object.assign(n.symbols,t[a]);else if(a.includes(f)){var i=a.substr(0,a.indexOf(f)),o=t[a].standard;n[i]={patterns:T(o)},i===y?(n[i].groupSize=C((t[c+f]||t[a]).standard),k(n[i],t[a]),n[d]={patterns:T(t[a][d]),groupSize:n[i].groupSize}):n[i].groupSize=C(o)}else"currencies"===a&&(n.currencies=t[a])}var P={s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},A={d:[["dateTimeFormats","availableFormats","yMd"]],D:[["dateFormats","full"]],m:[["dateTimeFormats","availableFormats","MMMd"]],M:[["dateTimeFormats","availableFormats","MMMMd"]],y:[["dateTimeFormats","availableFormats","yMMM"]],Y:[["dateTimeFormats","availableFormats","yMMMM"]],F:[["dateFormats","full"],["timeFormats","medium"]],g:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","short"]],G:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","medium"]],t:[["timeFormats","short"]],T:[["timeFormats","medium"]]};function z(e){for(var t=[],r=Object.getOwnPropertyNames(e),n=0;n<r.length;n++){var a=e[r[n]];t.push(a)}return t}function L(e,t){var r={};for(var n in e){var a=r[n]={};for(var i in e[n]){var o=e[n][i];a[i]=t?o:z(o)}}return r}function j(e,t){var r=b[e].calendar,n={};for(var a in t){var i=a.split("-"),o=i[0],s=i[1];void 0===s&&(s="wide");var u=n[o]||{},l=t[a].displayName;l&&(u[s]=l,n[o]=u)}r.dateFields=n}function U(e,t){for(var r=[],n=0;n<e.length;n++){for(var a=e[n],i=t,o=0;o<a.length;o++)i=i[a[o]];r.push(i)}return r.join(" ")}function X(e,t){var r=b[e].calendar,n=r.patterns={};for(var a in A)n[a]=U(A[a],t);for(var i in P)n[i]=P[i];var o=t.dateTimeFormats;r.dateTimeFormats={full:o.full,long:o.long,medium:o.medium,short:o.short,availableFormats:o.availableFormats},r.timeFormats=t.timeFormats,r.dateFormats=t.dateFormats}function q(e,t){var r,n,a,i=b[e].calendar=b[e].calendar||{};for(var o in t)"timeZoneNames"===o?(i.gmtFormat=t[o].gmtFormat,i.gmtZeroFormat=t[o].gmtZeroFormat):"calendars"===o&&t[o].gregorian?(X(e,t[o].gregorian),r=e,n=t[o].gregorian,a=void 0,(a=b[r].calendar).days=L(n.days),a.months=L(n.months),a.quarters=L(n.quarters),a.dayPeriods=L(n.dayPeriods,!0),a.eras=function(e){var t={},r=t.format={},n={eraAbbr:"abbreviated",eraNames:"wide",eraNarrow:"narrow"};for(var a in e)r[n[a]]=e[a];return t}(n.eras)):"fields"===o&&j(e,t.fields)}function B(e){if(e.territory)return e.territory;var t,r=e.name,n=e.identity;return t=n&&n.territory?n.territory:function(e,t){var r=b.supplemental.likelySubtags,n=e.split("-");if(r){var a=r[e]||r[n[0]];a&&(n=a.split("-"))}if(t)for(var i=n.length-1;1<=i;i--){var o=n[i];o!==t.variant&&o!==t.script||n.splice(i,1)}var s=n.length;if(1<s)return n[s-1].toUpperCase()}(r,n),e.territory=t}function R(e,t){for(var r in t)"numbers"===r?_(e,t[r]):"dates"===r&&q(e,t[r])}function G(){for(var e=arguments,t=arguments.length,r=0;r<t;r++){var n=e[r];if(n.main){var a=Object.keys(n.main)[0],i=n.main[a],o=b[a]=b[a]||{};o.name=o.name||a,o.identity=o.identity||i.identity,B(o),R(a,i)}else n.supplemental&&(n.supplemental.weekData?b.supplemental.weekData={firstDay:n.supplemental.weekData.firstDay,weekendStart:n.supplemental.weekData.weekendStart,weekendEnd:n.supplemental.weekData.weekendEnd}:Object.assign(b.supplemental,n.supplemental))}}function Q(e,t){var r,n=t.type,a=t.nameType,i=t.standAlone,o=t.lower,s=m(e),u=i?"stand-alone":"format",l=(o?"lower-":O)+a,c=s.calendar[n][u],d=c[l];return!d&&o&&(d=c[l]=(r=c[a],Array.isArray(r)?function(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r].toLowerCase());return t}(r):function(e){var t={};for(var r in e)t[r]=e[r].toLowerCase();return t}(r))),d}function W(e){var t=e.split("-"),r=parseInt(t[0],10),n=parseInt(t[1],10)-1,a=parseInt(t[2],10);return new Date(r,n,a)}var Z=p.NoCurrency,K=p.NoCurrencyDisplay,Y=p.NoSupplementalCurrency,J=p.NoCurrencyRegion,$=p.NoValidCurrency,V=2,ee="symbol",te="XXX",re={"001":"USD",150:"EUR"};function ne(e,t,r){var n=m(e).numbers.currencies;if(n){var a=n[t];if(a)return a;if(r)throw K.error()}else if(r)throw Z.error()}function ae(e,t){return t.length-e.length}function ie(e,t){var r=m(e),n=r.numbers;if(!n.localeCurrency){var a=function(e,t){if(void 0===t&&(t=!0),re[e])return re[e];var r=b.supplemental.currencyData;if(r){var n=r.region[e];if(n)return function(e){for(var t,r,n,a,i=0;i<e.length;i++){var o=e[i],s=Object.keys(o)[0],u=o[s];if(s!==te&&"false"!==u._tender&&u._from)if(u._to){if(!n){var l=W(u._from),c=W(u._to);(!r||r.to<c||r.from<l)&&(t=s,r={from:l,to:c})}}else{var d=W(u._from);(!a||a<d)&&(n=s,a=d)}}return n||t}(n);if(t)throw J.error(e)}else if(t)throw Y.error()}(B(r),t);if(!a&&t)throw $.error(r.name);n.localeCurrency=a}return n.localeCurrency}var oe=["sun","mon","tue","wed","thu","fri","sat"],se="001",ue=p.NoWeekData,le=p.NoFirstDay;function ce(e){var t=m(e);if(!isNaN(t.firstDay))return t.firstDay;var r=b.supplemental.weekData;if(!r)throw ue.error();var n=r.firstDay[B(t)]||r.firstDay[se];if(!n)throw le.error();return t.firstDay=oe.indexOf(n),t.firstDay}function de(e,t){return void 0===t&&(t={}),t.currency||(t.currency=ie(e,!0)),function(e,t){var r=t.value,n=t.currency,a=t.currencyDisplay;if(void 0===a&&(a=ee),"code"===a)return n;var i=ne(e,n,!0);return a===ee?i["symbol-alt-narrow"]||i[ee]:1!==r?i["displayName-count-other"]:i["displayName-count-one"]}(e,t)}function me(e,t,r,n,a){var i=a.numbers.symbols,o=e.indexOf(i.decimal),s=n.groupSize.slice(),u=s.shift(),l=-1!==o?o:r+1,c=e.substring(t,l),d=e,m=c.length;if(u<=m){for(var f=m,p=[];-1<f;){var v=c.substring(f-u,f);v&&p.push(v),f-=u;var y=s.shift();if(0===(u=void 0!==y?y:u)){(v=c.substring(0,f))&&p.push(v);break}}c=p.reverse().join(i.group),d=e.substring(0,t)+c+e.substring(l)}return d}function fe(e){return e===y||e===d}function pe(e,t,r){void 0===t&&(t=2),void 0===r&&(r=!1);var n=t-String(e).length,a=e;if(0<n){var i=new Array(1+n).join("0");a=r?e+i:i+e}return a}p.NoWeekData;var ve=20;function ye(e,t){var r=e,n=t||0;return r=r.toString().split("e"),r=(r=Math.round(Number(r[0]+"e"+(r[1]?Number(r[1])+n:n)))).toString().split("e"),(r=Number(r[0]+"e"+(r[1]?Number(r[1])-n:-n))).toFixed(Math.min(n,ve))}var ge=3,he=0,Me=/0+$/;function be(e,t,r){var n=r.numbers.symbols,a=t.style,i=fe(a);if(a===w)return(void 0!==t.minimumFractionDigits?e.toExponential(t.minimumFractionDigits):e.toExponential()).replace(F,n.decimal);var o,s=e;i&&(t.value=s,o=de(r,t)),a===S&&(s*=100,o=n.percentSign);var u=function(e){var t,r,n,a,i,o=e.minimumFractionDigits,s=e.maximumFractionDigits,u=e.style,l=fe(u);return l&&(r=e.currency,a=n=V,(i=((b.supplemental.currencyData||{}).fractions||{})[r])&&i._digits&&(a=n=parseInt(i._digits,10)),t={minimumFractionDigits:n,maximumFractionDigits:a}),void 0===o&&(o=l?t.minimumFractionDigits:0),void 0===s&&(s=u===S?Math.max(o,he):l?Math.max(o,t.maximumFractionDigits):Math.max(o,ge)),{minimumFractionDigits:o,maximumFractionDigits:s}}(t),l=u.minimumFractionDigits,c=(s=ye(s,u.maximumFractionDigits))<0,d=s.split(F),m=d[0],f=pe(d[1]?d[1].replace(Me,O):O,l,!0);c&&(m=m.substring(1)),t.minimumIntegerDigits&&(m=pe(m,t.minimumIntegerDigits));var p,v,y,g,h=!1!==t.useGrouping?me(m,0,m.length,t,r):m;if(f&&(h+=n.decimal+f),i&&"name"===t.currencyDisplay)v=e,y=r.numbers.currency,g=1!==v?y["unitPattern-count-other"]:y["unitPattern-count-one"],v<0&&(g=g.replace(I,"-"+I)),p=g;else{var M=t.patterns;p=c?M[1]||"-"+M[0]:M[0]}return p!==I||c?function(e,t,r){for(var n=O,a=0,i=t.length;a<i;a++){var o=t.charAt(a);n+=o===I?e:o===D||o===x?r:o}return n}(h,p,o):h}var Se="__??__",we="#",De="0",xe=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,Ie=/(\.(?:[0-9]*[1-9])?)0+$/g,Fe=/\.$/,Oe=/\,/g;function Ee(e,t,r){return-1===e&&-1!==t?t:-1!==e&&-1===t?e:r?Math.min(e,t):Math.max(e,t)}function Ne(e,t,r){var n,a,i,o,s,u,l,c,d,m,f={negative:e<0,number:Math.abs(e),format:t};return function(e){var t,r=e.number,n=e.format;if(n=n.split(g),e.negative&&n[1])n=n[1],e.hasNegativeFormat=!0;else if(0===r){var a=n[2];n=a||n[0],a&&(-1===(t=a).indexOf(we)&&-1===t.indexOf(De))&&(e.constant=a)}else n=n[0];e.format=n}(f),f.constant?f.constant:(function(e){var t=e.format;if(-1<t.indexOf("'")||-1<t.indexOf('"')||-1<t.indexOf("\\")){var n=e.literals=[];e.format=t.replace(xe,function(e){var t=e.charAt(0).replace("\\",O),r=e.slice(1).replace(t,O);return n.push(r),Se})}}(f),d=r,-1!==(m=(c=f).format).indexOf(x)&&(c.style=S,c.symbol=d.numbers.symbols.percentSign,c.number*=100),-1!==m.indexOf(D)&&(c.style=y,c.symbol=de(d)),(l=f).hasGroup=-1<l.format.indexOf(h),l.hasGroup&&(l.format=l.format.replace(Oe,O)),function(e){var t,r,n,a=e.number,i=e.format,o=i.indexOf(F);if(-1!==o){var s=i.lastIndexOf(De)-o,u=i.lastIndexOf(we)-o,l=-1<s,c=-1<u,d=a.toString().split("e"),m=(d=(d=d[1]?ye(a,Math.abs(d[1])):d[0]).split(F)[1]||O).length,f=-1;l||c?l&&u<s?m=s:s<u&&(c&&u<m?m=u:l&&m<s&&(m=s),f=l?s:0):(e.format=i.substring(0,o)+i.substring(o+1),o=-1,m=0),-1<m&&(a=ye(a,m),-1<f&&(t=a,n=0===(r=f)?Ie:new RegExp("(\\.[0-9]{"+r+"}[1-9]*)0+$","g"),a=t.replace(n,"$1").replace(Fe,O)))}else a=ye(a);e.negative&&0<=-1*a&&(e.negative=!1),e.number=a,e.decimalIndex=o}(f),a=(n=f).format,i=a.indexOf(we),o=a.indexOf(De),s=Ee(i,o,!0),u=Ee(i=a.lastIndexOf(we),o=a.lastIndexOf(De)),s===a.length&&(u=s),n.start=s,n.end=u,n.lastZeroIndex=o,function(e,t){var r=e.number;return-1!==e.start&&(r=function(e,t){var r=e;if(t)for(var n=t.length,a=0;a<n;a++)r=r.replace(Se,t[a]);return r}(r=function(e,t,r){var n=e;if(t===y||t===S){n=O;for(var a=0,i=e.length;a<i;a++){var o=e.charAt(a);n+=o===D||o===x?r:o}}return n}(r=function(e,t){var r=e.start,n=e.end,a=e.negative,i=e.format,o=e.decimalIndex,s=e.lastZeroIndex,u=e.hasNegativeFormat,l=e.hasGroup,c=e.number,d=c.toString().split(F),m=i.length,f=d[0],p=d[1]||O,v=f.length,y=O;c=i.substring(0,r),a&&!u&&(c+="-");for(var g=r;g<m;g++){var h=i.charAt(g);if(-1===o){if(n-g<v){c+=f;break}}else if(-1!==s&&s<g&&(y=O),o-g<=v&&-1<o-g&&(c+=f,g=o),o===g){c+=(p?t.numbers.symbols.decimal:O)+p,g+=n-o+1;continue}h===De?(c+=h,y=h):h===we&&(c+=y)}return l&&(c=me(c,r+(a&&!u?1:0),Math.max(n,v+r),t.numbers.decimal,t)),r<=n&&(c+=i.substring(n+1)),c}(e,t),e.style,e.symbol),e.literals)),r}(f,r))}var He=/^(n|c|p|e|a)(\d*)$/i;function Te(e){return i(e)?function(e){var t=He.exec(e);if(t){var r={style:c},n=t[1].toLowerCase();return"c"===n?r.style=y:"a"===n?r.style=d:"p"===n?r.style=S:"e"===n&&(r.style=w),t[2]&&(r.minimumFractionDigits=r.maximumFractionDigits=parseInt(t[2],10)),r}}(e):e}function Ce(e,t,r){if(void 0===t&&(t=I),void 0===r&&(r=M),null==e)return O;if(!isFinite(e))return String(e);var n,a=v(r),i=Te(t);if(i){var o=i.style||c;n=be(e,Object.assign({},a.numbers[o],i),a)}else n=Ne(e,t,a);return n}function ke(e){return"number"==typeof e}var _e=/[eE][\-+]?[0-9]+/,Pe=/\u00A0/g;function Ae(e,t){if(1<t.length){var r=(t[1]||O).replace(D,O).split(I);if(-1<e.indexOf(r[0])&&-1<e.indexOf(r[1]))return e.replace(r[0],O).replace(r[1],O)}}var ze=/\{(\d+)}/g;function Le(e){var r=arguments;return e.replace(ze,function(e,t){return r[parseInt(t,10)+1]})}var je=120,Ue=20,Xe=[2,1,5,3,4],qe={};qe[(-2).toString()]=8,qe[(-1).toString()]=6,qe[2..toString()]=6;var Be={numeric:1,"2-digit":2,short:qe[1..toString()]=3,long:4,narrow:5},Re=/[hHmsSzZoOvVxX]/,Ge=[{key:"era",specifier:"G"},{key:"year",specifier:"y"},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:function(e){return e.hour12?"h":"H"}},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],Qe={e:"c",E:"c",M:"L",Q:"q"},We={},Ze={};function Ke(e){return We[e]||(We[e]=new RegExp(e+"+")),We[e]}function Ye(e){for(var t=[],r=e.charAt(0),n=r,a=1;a<e.length;a++){var i=e.charAt(a);i===n?r+=i:(t.push(r),r=n=i)}return t.push(r),t}function Je(e,t){var r,n,a=e.length,i=-Number.MAX_VALUE;for(var o in t){for(var s=[],u=o.replace("v","z"),l=0,c=0;c<a;c++){var d=e[c],m=(Ke(d[0]).exec(u)||[])[0];if(m){if(u=u.replace(m,O),m.length!==d.length){var f=Math.max(Math.min(Xe[m.length]-Xe[d.length],2),-2);l-=qe[f]}}else l-=je;if(s.push(m),l<i)break}u.length&&(l-=Ye(u).length*Ue),i<l&&(i=l,r=s,n=t[o])}n=n.replace("v","z");for(var p=0;p<a;p++){var v=r[p];if(v&&v!==e[p]){var y=r[p][0];n=n.replace(Ke(y),e[p]),Qe[y]&&(n=n.replace(Ke(Qe[y]),e[p]))}}return n}function $e(e,t){var r,n=t.calendar;if(i(e))r=n.patterns[e]?n.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var a=e.skeleton;a||(e.datetime?r=Le(n.dateTimeFormats[e.datetime],n.timeFormats[e.datetime],n.dateFormats[e.datetime]):e.date?r=n.dateFormats[e.date]:e.time?r=n.timeFormats[e.time]:a=function(e){for(var t=[],r=0;r<Ge.length;r++){var n=Ge[r],a=e[n.key];if(a){var i=n.specifier||n.getSpecifier(e);t.push(i.repeat(Be[a]))}}return t.join(O)}(e)),a&&(r=function(e,t){var r=t.calendar.dateTimeFormats.availableFormats;if(r[e])return r[e];if(Ze[t.name]&&Ze[t.name][e])return Ze[t.name][e];var n,a,i,o,s=e.search(Re);if(0<s){var u=e.substr(0,s),l=e.substr(s);n=Le(t.calendar.dateTimeFormats.short,r[l]||Je(Ye(l),r),r[u]||Je(Ye(u),r))}else n=Je(Ye(e),r);return a=e,i=n,o=t.name,Ze[o]||(Ze[o]={}),Ze[o][a]=i,n}(a,t))}return r=r||n.patterns.d}function Ve(e){var t;return e<=3?t="abbreviated":4===e?t="wide":5===e?t="narrow":6===e&&(t="short"),t}function et(e,t,r,n,a){return Q(e,{type:t,nameType:Ve(r),standAlone:n,lower:a})}function tt(e){return"function"==typeof e}function rt(e){return Boolean(e)&&tt(e.getTime)&&tt(e.getMonth)}var nt={G:"era",y:"year",q:"quarter",Q:"quarter",M:"month",L:"month",d:"day",E:"weekday",c:"weekday",e:"weekday",h:"hour",H:"hour",k:"hour",K:"hour",m:"minute",s:"second",a:"dayperiod",x:"zone",X:"zone",z:"zone",Z:"zone"},at=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g;function it(e,t,r,n){return t<=2?pe(e+1,t):et(r,"months",t,n)[e]}function ot(e,t,r,n){var a=Math.floor(e.getMonth()/3);return t<3?a+1:et(r,"quarters",t,n)[a]}function st(e,t,r){var n=r.shortHours,a=r.optionalMinutes,i=r.separator,o=r.localizedName,s=r.zZeroOffset,u=e.getTimezoneOffset()/60;if(0==u&&s)return"Z";var l=u<=0?"+":"-",c=Math.abs(u).toString().split("."),d=c[1]||0,m=l+(n?c[0]:pe(c[0],2));return!d&&a||(m+=(i?":":O)+pe(d,2)),o&&(m=Le(0==u?t.calendar.gmtZeroFormat:t.calendar.gmtFormat,m)),m}function ut(e,t,r,n){var a,i;return t<3?((a=e.getDay())<(i=ce(r))?7-i+a:a-i)+1:et(r,"days",t,n)[e.getDay()]}var lt={};function ct(r,e,t){if(void 0===t&&(t=M),!rt(r))return null==r?O:r;var n=v(t);return $e(e,n).replace(at,function(e){var t=e.length;return e.includes("'")||e.includes('"')?e.slice(1,t-1):lt[e[0]](r,t,n)})}function dt(e,t,r){var n=e.getTimezoneOffset(),a=new Date(e.getTime()+6e4*(t-r)),i=a.getTimezoneOffset();return new Date(a.getTime()+6e4*(i-n))}lt.d=function(e,t){return pe(e.getDate(),t)},lt.E=function(e,t,r){return et(r,"days",t)[e.getDay()]},lt.M=function(e,t,r){return it(e.getMonth(),t,r,!1)},lt.L=function(e,t,r){return it(e.getMonth(),t,r,!0)},lt.y=function(e,t){var r=e.getFullYear();return 2===t&&(r%=100),pe(r,t)},lt.h=function(e,t){return pe(e.getHours()%12||12,t)},lt.H=function(e,t){return pe(e.getHours(),t)},lt.k=function(e,t){return pe(e.getHours()||24,t)},lt.K=function(e,t){return pe(e.getHours()%12,t)},lt.m=function(e,t){return pe(e.getMinutes(),t)},lt.s=function(e,t){return pe(e.getSeconds(),t)},lt.S=function(e,t){return 0!==e.getMilliseconds()?String(e.getMilliseconds()/1e3).split(".")[1].substr(0,t):pe(O,t)},lt.a=function(e,t,r){return et(r,"dayPeriods",t)[e.getHours()<12?"am":"pm"]},lt.z=function(e,t,r){return st(e,r,{shortHours:t<4,optionalMinutes:t<4,separator:!0,localizedName:!0})},lt.Z=function(e,t,r){return st(e,r,{separator:3<t,localizedName:4===t,zZeroOffset:5===t})},lt.x=function(e,t,r){return st(e,r,{optionalMinutes:1===t,separator:3===t||5===t})},lt.X=function(e,t,r){return st(e,r,{optionalMinutes:1===t,separator:3===t||5===t,zZeroOffset:!0})},lt.G=function(e,t,r){var n=0<=e.getFullYear()?1:0;return et(r,"eras",t)[n]},lt.e=ut,lt.c=function(e,t,r){return ut(e,t,r,!0)},lt.q=function(e,t,r){return ot(e,t,r,!0)},lt.Q=ot;var mt=/([+|\-]\d{1,2})(:?)(\d{2})?/,ft=/^\/Date\((.*?)\)\/$/,pt=/[+-]\d*/,vt={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},yt=/\d+/,gt=["yyyy/MM/dd HH:mm:ss","yyyy/MM/dd HH:mm","yyyy/MM/dd","E MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:ss.SSSSSSSXXX","yyyy-MM-ddTHH:mm:ss.SSSXXX","yyyy-MM-ddTHH:mm:ss.SSXXX","yyyy-MM-ddTHH:mm:ssXXX","yyyy-MM-ddTHH:mm:ss.SSSSSSS","yyyy-MM-ddTHH:mm:ss.SSS","yyyy-MM-ddTHH:mmXXX","yyyy-MM-ddTHH:mmX","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","yyyy-MM-dd","HH:mm:ss","HH:mm"],ht=["G","g","F","Y","y","M","m","D","d","y","T","t"];function Mt(e,t,r){return!(t<=e&&e<=r)}function bt(e,t){for(var r=t.format,n=t.idx,a=0;r[n]===e;)a++,n++;return 0<a&&(n-=1),t.idx=n,a}function St(e,t){var r=e?vt[e]||new RegExp("^\\d{1,"+e+"}"):yt,n=t.value.substr(t.valueIdx,e).match(r);return n?(n=n[0],t.valueIdx+=n.length,parseInt(n,10)):null}function wt(e,t,r){for(var n,a,i,o=0,s=e.length,u=0,l=0;o<s;o++)a=(n=e[o]).length,i=t.value.substr(t.valueIdx,a),r&&(i=i.toLowerCase()),i===n&&u<a&&(u=a,l=o);return u?(t.valueIdx+=u,l+1):null}function Dt(e){var t=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,t=!0),t}function xt(e,t,r){var n=r.shortHours,a=r.noSeparator,i=r.optionalMinutes,o=r.localizedName,s=r.zLiteral;if(e.UTC=!0,s&&"Z"===e.value.charAt(e.valueIdx))return e.valueIdx++,!1;if(o&&!wt(function(e){var t=e.gmtFormat,r=e.gmtZeroFormat;if(!t)throw p.NoGMTInfo.error();return[t.replace("{0}",O).toLowerCase(),r.replace("{0}",O).toLowerCase()]}(t.calendar),e,!0))return!0;var u=mt.exec(e.value.substr(e.valueIdx,6));if(!u)return!o;var l=u[1],c=u[3],d=parseInt(l,10),m=u[2],f=parseInt(c,10);return!!(isNaN(d)||!n&&3!==l.length||!i&&isNaN(f)||a&&m)||(isNaN(f)&&(f=null),!!(Mt(d,-12,13)||f&&Mt(f,0,59))||(e.valueIdx+=u[0].length,e.hoursOffset=d,void(e.minutesOffset=f)))}function It(e,t,r){var n=bt(e,t),a=et(r,"months",n,"L"===e,!0),i=n<3?St(2,t):wt(a,t,!0);if(null===i||Mt(i,1,12))return!0;t.month=i-1}function Ft(e,t,r){var n=bt(e,t),a=et(r,"days",n,"c"===e,!0),i=n<3?St(1,t):wt(a,t,!0);if(!i&&0!==i||Mt(i,1,7))return!0}var Ot={};function Et(e,t,r){for(var n=$e(t,r).split(O),a={format:n,idx:0,value:e,valueIdx:0,year:null,month:null,day:null,hours:null,minutes:null,seconds:null,milliseconds:null},i=n.length,o=!1;a.idx<i;a.idx++){var s=n[a.idx];if(o)"'"===s&&(o=!1),Dt(a);else if(Ot[s]){if(Ot[s](a,r))return null}else if("'"===s)o=!0,Dt(a);else if(!Dt(a))return null}return a.valueIdx<e.length?null:(d=(u=a).year,m=u.month,f=u.day,p=u.hours,v=u.minutes,y=u.seconds,g=u.milliseconds,h=u.pmHour,M=u.UTC,b=u.hoursOffset,S=u.minutesOffset,w=null!==p||null!==v||y||null,D=new Date,null===d&&null===m&&null===f&&w?(d=D.getFullYear(),m=D.getMonth(),f=D.getDate()):(null===d&&(d=D.getFullYear()),null===f&&(f=1)),h&&p<12&&(p+=12),M?(b&&(p+=-b),S&&(v+=-S*(b<0?-1:1)),l=new Date(Date.UTC(d,m,f,p,v,y,g))):(c=l=new Date(d,m,f,p,v,y,g),p||23!==c.getHours()||c.setHours(c.getHours()+2)),d<100&&l.setFullYear(d),(l.getDate()!==f&&void 0===M?null:l)||null);var u,l,c,d,m,f,p,v,y,g,h,M,b,S,w,D}function Nt(e,t,r){if(void 0===r&&(r=M),!e)return null;if(rt(e))return e;var n=String(e).trim(),a=function(e){if(e&&0===e.indexOf("/D")){var t=ft.exec(e);if(t){t=t[1];var r=pt.exec(t.substring(1));return t=new Date(parseInt(t,10)),r&&(a="-"===(n=r[0]).substr(0,1)?-1:1,i=n.substring(1),r=a*(i=60*parseInt(i.substr(0,2),10)+parseInt(i.substring(2),10)),t=dt(t=dt(t,t.getTimezoneOffset(),0),0,-1*r)),t}}var n,a,i}(n);if(a)return a;for(var i=v(r),o=t||function(){for(var e=[],t=i.calendar.patterns,r=ht.length,n=0;n<r;n++)e.push(t[ht[n]]);return e.concat(gt)}(),s=(o=Array.isArray(o)?o:[o]).length,u=0;u<s;u++)if(a=Et(n,o[u],i))return a;return a}Ot.d=function(e){bt("d",e);var t=St(2,e);if(null===t||Mt(t,1,31))return!0;null===e.day&&(e.day=t)},Ot.E=function(e,t){if(null===wt(et(t,"days",bt("E",e),!1,!0),e,!0))return!0},Ot.M=function(e,t){return It("M",e,t)},Ot.L=function(e,t){return It("L",e,t)},Ot.y=function(e){var t=bt("y",e),r=St(1===t?void 0:t,e);if(null===r)return!0;if(2===t){var n=(new Date).getFullYear();2029<(r=n-n%100+r)&&(r-=100)}e.year=r},Ot.h=function(e){bt("h",e);var t=St(2,e);if(12===t&&(t=0),null===t||Mt(t,0,11))return!0;e.hours=t},Ot.K=function(e){bt("K",e);var t=St(2,e);if(null===t||Mt(t,0,11))return!0;e.hours=t},Ot.a=function(e,t){var r=et(t,"dayPeriods",bt("a",e),!1,!0),n=wt([r.pm],e,!0);if(!n&&!wt([r.am],e,!0))return!0;e.pmHour=n},Ot.H=function(e){bt("H",e);var t=St(2,e);if(null===t||Mt(t,0,23))return!0;e.hours=t},Ot.k=function(e){bt("k",e);var t=St(2,e);if(null===t||Mt(t,1,24))return!0;e.hours=24===t?0:t},Ot.m=function(e){bt("m",e);var t=St(2,e);if(null===t||Mt(t,0,59))return!0;e.minutes=t},Ot.s=function(e){bt("s",e);var t=St(2,e);if(null===t||Mt(t,0,59))return!0;e.seconds=t},Ot.S=function(e){var t=bt("S",e),r=e.value.substr(e.valueIdx,t),n=null;if(isNaN(parseInt(r,10))||(n=ye(n=parseFloat("0."+r,10),3),n*=1e3,e.valueIdx+=t),null===n||Mt(n,0,999))return!0;e.milliseconds=n},Ot.z=function(e,t){var r=bt("z",e)<4,n=xt(e,t,{shortHours:r,optionalMinutes:r,localizedName:!0});if(n)return n},Ot.Z=function(e,t){var r=bt("Z",e),n=xt(e,t,{noSeparator:r<4,zLiteral:5===r,localizedName:4===r});if(n)return n},Ot.x=function(e,t){var r=bt("x",e),n=xt(e,t,{noSeparator:3!==r&&5!==r,optionalMinutes:1===r});if(n)return n},Ot.X=function(e,t){var r=bt("X",e),n=xt(e,t,{noSeparator:3!==r&&5!==r,optionalMinutes:1===r,zLiteral:!0});if(n)return n},Ot.G=function(e,t){var r=et(t,"eras",bt("G",e),!1,!0);if(null===wt([r[0],r[1]],e,!0))return!0},Ot.e=function(e,t){return Ft("e",e,t)},Ot.c=function(e,t){return Ft("c",e,t)};var Ht={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}},Tt="literal";function Ct(e,t){var r=e[e.length-1];r&&r.type===Tt?r.pattern+=t:e.push({type:Tt,pattern:t})}var kt=/\{(\d+)(:[^\}]+)?\}/g;function _t(e,t,r){if(t){if(rt(e))return ct(e,t,r);if(ke(e))return Ce(e,t,r)}return null!=e?e:O}function Pt(e,n,a){return e.replace(kt,function(e,t,r){return _t(n[parseInt(t,10)],r?r.substring(1):O,a)})}var At,zt,Lt=(Rt.prototype.format=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return 1===t.length&&Array.isArray(t[0])?Pt(e,t[0],this.locale):Pt(e,t,this.locale)},Rt.prototype.formatDate=function(e,t){return ct(e,t,this.locale)},Rt.prototype.toString=function(e,t){return _t(e,t,this.locale)},Rt.prototype.parseNumber=function(e,t){return function(e,t,r){if(void 0===t&&(t=M),void 0===r&&(r={}),!e&&0!==e)return null;if(ke(e))return e;var n,a=v(t),i=a.numbers.symbols,o=e.toString();if(_e.test(o))return o=parseFloat(o.replace(i.decimal,F)),isNaN(o)?null:o;var s=o.indexOf("-");if(0<s)return null;var u=-1<s,l=function(e,o,t){var r,n=Te(t)||{},a=fe(n.style),i=e,s=n.currency||ie(o,a);if(s){var u=function(e,t,r){void 0===r&&(r=!0);var n=ne(o,t,r);if(n){if(!n.displays){var a=[t];for(var i in n)a.push(n[i]);a.sort(ae),n.displays=a}return n.displays}}(0,s,a);if(u)for(var l=0;l<u.length;l++){var c=u[l];if(i.includes(c)){i=i.replace(c,O),a=!0;break}}if(a){var d=Ae(i,o.numbers.currency.patterns)||Ae(i,o.numbers.accounting.patterns);d&&(r=!0,i=d)}}return{number:i,negative:r}}(o,a,r),c=l.negative;return o=l.number,u=void 0!==c?c:u,(r.style===S||-1<o.indexOf(i.percentSign))&&(o=o.replace(i.percentSign,O),n=!0),o=o.replace("-",O).replace(Pe," ").split(i.group.replace(Pe," ")).join(O).replace(i.decimal,F),o=parseFloat(o),isNaN(o)?o=null:u&&(o*=-1),o&&n&&(o/=100),o}(e,this.locale,t)},Rt.prototype.parseDate=function(e,t){return Nt(e,t,this.locale)},Rt.prototype.formatNumber=function(e,t){return Ce(e,t,this.locale)},Rt.prototype.dateFieldName=function(e){return function(e,t){void 0===t&&(t=M);var r=v(t).calendar.dateFields;if(!r)throw p.NoDateFieldNames.error();var n=r[e.type]||{};return n[e.nameType]||n.wide}(e,this.locale)},Rt.prototype.dateFormatNames=function(e){return Q(this.locale,e)},Rt.prototype.splitDateFormat=function(e){return function(e,t){void 0===t&&(t=M);for(var r=$e(e,v(t)),n=[],a=at.lastIndex=0,i=at.exec(r);i;){var o=i[0];if(a<i.index&&Ct(n,r.substring(a,i.index)),o.startsWith('"')||o.startsWith("'"))Ct(n,o);else{var s=o[0],u=nt[s],l={type:u,pattern:o};"hour"===u&&(l.hour12="h"===(f=o)||"K"===f);var c=Ht[u];if(c){var d=ke(c.minLength)?c.minLength:c.minLength[s],m=o.length;d<=m&&(l.names={type:c.type,nameType:Ve(m),standAlone:c.standAlone===s})}n.push(l)}a=at.lastIndex,i=at.exec(r)}var f;return a<r.length&&Ct(n,r.substring(a)),n}(e,this.locale)},Rt.prototype.numberSymbols=function(){return m(this.locale).numbers.symbols},Rt.prototype.firstDay=function(){return ce(this.locale)},Rt),jt=(At=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}At(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Ut=(zt=n.Component,jt(Bt,zt),Bt.prototype.getIntlService=function(){return new Lt(this.props.locale)},Bt.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},Bt.prototype.render=function(){return n.Children.only(this.props.children)},Bt.propTypes={locale:a.string},Bt.childContextTypes={kendoIntlService:a.object},Bt),Xt=Object.create({}),qt=function(e,t,r){for(var n in e)if(e.hasOwnProperty(n)){var a=r.slice();if(a.push(n),"string"!=typeof e[n])qt(e[n],t,a);else{var i=e[n];Object.defineProperty(t,a.join("."),{value:i})}}};function Bt(){return null!==zt&&zt.apply(this,arguments)||this}function Rt(e){this.locale=e}function Gt(e,t){var r=Xt[t]=Xt[t]||{};qt(e,r,[])}var Qt,Wt,Zt=($t.prototype.toLanguageString=function(e,t){return this.language&&Xt[this.language]&&Xt[this.language].hasOwnProperty(e)?Xt[this.language][e]:t},$t),Kt=(Wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}Wt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Yt=(Qt=n.Component,Kt(Jt,Qt),Jt.prototype.getLocalizationService=function(){return new Zt(this.props.language)},Jt.prototype.getChildContext=function(){return{kendoLocalizationService:this.getLocalizationService()}},Jt.prototype.render=function(){return n.Children.only(this.props.children)},Jt.propTypes={language:a.string},Jt.childContextTypes={kendoLocalizationService:a.object},Jt);function Jt(){return null!==Qt&&Qt.apply(this,arguments)||this}function $t(e){this.language=e}function Vt(e){return e.context&&e.context.kendoIntlService||new Lt("en")}function er(e){return e.context&&e.context.kendoLocalizationService||new Zt}function tr(e){var t={kendoIntlService:a.object};e.contextTypes?Object.assign(e.contextTypes,t):e.contextTypes=t}function rr(e){var t={kendoLocalizationService:a.object};e.contextTypes?Object.assign(e.contextTypes,t):e.contextTypes=t}r.d(t,"IntlProvider",function(){return Ut}),r.d(t,"IntlService",function(){return Lt}),r.d(t,"loadMessages",function(){return Gt}),r.d(t,"LocalizationProvider",function(){return Yt}),r.d(t,"LocalizationService",function(){return Zt}),r.d(t,"load",function(){return G}),r.d(t,"provideIntlService",function(){return Vt}),r.d(t,"provideLocalizationService",function(){return er}),r.d(t,"registerForIntl",function(){return tr}),r.d(t,"registerForLocalization",function(){return rr})}],a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(r,n,function(e){return t[e]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=6)}}}); |
{ | ||
"name": "@progress/kendo-react-sortable", | ||
"version": "3.5.0-dev.201910141119", | ||
"version": "3.5.0-dev.201910141223", | ||
"description": "KendoReact Sortable package", | ||
@@ -37,3 +37,3 @@ "repository": { | ||
"dependencies": { | ||
"@progress/kendo-react-common": "3.5.0-dev.201910141119", | ||
"@progress/kendo-react-common": "3.5.0-dev.201910141223", | ||
"prop-types": "^15.6.0" | ||
@@ -40,0 +40,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
+ Added@progress/kendo-react-common@3.5.0-dev.201910141223(transitive)
- Removed@progress/kendo-react-common@3.5.0-dev.201910141119(transitive)