diff --git a/angular/3rdpartylicenses.txt b/angular/3rdpartylicenses.txt index 8b4e1fe9..024d5181 100644 --- a/angular/3rdpartylicenses.txt +++ b/angular/3rdpartylicenses.txt @@ -23,9 +23,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@angular/router -MIT - hammerjs MIT The MIT License (MIT) @@ -316,7 +313,7 @@ Apache-2.0 -@angular/common +@ngrx/store MIT @angular/material/dialog @@ -374,6 +371,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +@angular/common +MIT + @angular/platform-browser MIT @@ -622,6 +622,9 @@ MIT @angular/material/progress-spinner +@angular/router +MIT + @angular/material/form-field @angular/material/progress-bar @@ -634,6 +637,9 @@ MIT @angular/material/table +@ngrx/effects +MIT + @angular/material/select angular2-qrcode diff --git a/angular/index.html b/angular/index.html index 562205d6..cb60ccd7 100644 --- a/angular/index.html +++ b/angular/index.html @@ -6,8 +6,8 @@ - + - + diff --git a/angular/main.1f46d61aa2787c42811c.js b/angular/main.1f46d61aa2787c42811c.js new file mode 100644 index 00000000..cd3331dd --- /dev/null +++ b/angular/main.1f46d61aa2787c42811c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+1uz":function(t,e,n){"use strict";function i(t,e,n,i,r,o){var a=o[0],l=o[1],s=o[2],u=o[3],c="";return c="M"+[t+r,e],c+="h"+((n=0===(n=Math.floor(n))?1:n)-2*r),c+=l?"a"+[r,r]+" 0 0 1 "+[r,r]:"h"+r+"v"+r,c+="v"+((i=0===(i=Math.floor(i))?1:i)-2*r),c+=u?"a"+[r,r]+" 0 0 1 "+[-r,r]:"v"+r+"h"+-r,c+="h"+(2*r-n),c+=s?"a"+[r,r]+" 0 0 1 "+[-r,-r]:"h"+-r+"v"+-r,c+="v"+(2*r-i),(c+=a?"a"+[r,r]+" 0 0 1 "+[r,-r]:"v"+-r+"h"+r)+"z"}n.d(e,"a",function(){return i})},"+jfF":function(t,e,n){"use strict";e.styles=[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}"]},"+kuk":function(t,e,n){"use strict";var i=n("WpQw"),r=n("CcnG"),o=n("21Lb"),a=n("OzfB"),l=n("Mr+X"),s=n("SMsm"),u=n("dEYt"),c=n("Ip0R"),d=n("lzlj"),p=n("FVSy"),f=n("TtEo"),h=n("LC5p"),m=n("bujt"),v=n("UodH"),g=n("dWZg"),_=n("lLAP"),y=n("wFw1"),b=n("OCG0"),C=n("o3x0"),w=n("cpEJ"),x=n("yGQT"),M=r.\u0275crt({encapsulation:0,styles:[i.styles],data:{}});function E(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,3,"h4",[["class","title-message pb-1 pl-1"],["fxLayoutAlign","start center"]],null,null,null,null,null)),r.\u0275did(1,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[8,null],a.StyleUtils],{align:[0,"align"]},null),(t()(),r.\u0275ted(2,null,["",""])),r.\u0275ppd(3,1)],function(t,e){t(e,1,0,"start center")},function(t,e){var n=e.component,i=r.\u0275unv(e,2,0,t(e,3,0,r.\u0275nov(e.parent,0),n.data.titleMessage));t(e,2,0,i)})}function O(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),r.\u0275eld(1,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),r.\u0275ted(2,null,["",""])),r.\u0275ppd(3,2)],null,function(t,e){var n=r.\u0275unv(e,2,0,t(e,3,0,r.\u0275nov(e.parent.parent.parent,1),e.parent.context.$implicit[1],"1.0-3"));t(e,2,0,n)})}function S(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.\u0275ted(1,null,["",""]))],null,function(t,e){t(e,1,0,e.parent.context.$implicit[1])})}function T(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,3,"mat-icon",[["class","icon-small cursor-pointer pl-1 top-5px mat-icon"],["role","img"],["rtlClipboard",""]],[[2,"mat-icon-inline",null]],[[null,"copied"],[null,"click"]],function(t,e,n){var i=!0,o=t.component;return"click"===e&&(i=!1!==r.\u0275nov(t,2).onClick(n)&&i),"copied"===e&&(i=!1!==o.copiedText(n)&&i),i},l.View_MatIcon_0,l.RenderType_MatIcon)),r.\u0275did(1,638976,null,0,s.MatIcon,[r.ElementRef,s.MatIconRegistry,[8,null]],null,null),r.\u0275did(2,16384,null,0,u.ClipboardDirective,[],{payload:[0,"payload"]},{copied:"copied"}),(t()(),r.\u0275ted(-1,0,["file_copy"]))],function(t,e){t(e,1,0),t(e,2,0,e.parent.context.$implicit[1])},function(t,e){t(e,0,0,r.\u0275nov(e,1).inline)})}function A(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,1,"span",[],[[8,"hidden",0]],null,null,null,null)),(t()(),r.\u0275ted(-1,null,["Copied"]))],null,function(t,e){t(e,0,0,!e.component.flgCopied)})}function R(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,18,"div",[["fxLayout","row"],["fxLayoutAlign","center flex-start"]],null,null,null,null,null)),r.\u0275did(1,737280,null,0,o.LayoutDirective,[a.MediaMonitor,r.ElementRef,a.StyleUtils],{layout:[0,"layout"]},null),r.\u0275did(2,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[6,o.LayoutDirective],a.StyleUtils],{align:[0,"align"]},null),(t()(),r.\u0275eld(3,0,null,null,3,"div",[["fxFlex","20"]],null,null,null,null,null)),r.\u0275did(4,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),(t()(),r.\u0275ted(5,null,["",""])),r.\u0275ppd(6,1),(t()(),r.\u0275eld(7,0,null,null,2,"div",[["fxFlex","2"]],null,null,null,null,null)),r.\u0275did(8,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),(t()(),r.\u0275ted(-1,null,[":"])),(t()(),r.\u0275eld(10,0,null,null,8,"div",[["fxFlex","75"]],null,null,null,null,null)),r.\u0275did(11,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),(t()(),r.\u0275and(16777216,null,null,1,null,O)),r.\u0275did(13,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(t()(),r.\u0275and(0,[["notNumberTemplate",2]],null,0,null,S)),(t()(),r.\u0275and(16777216,null,null,1,null,T)),r.\u0275did(16,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r.\u0275and(16777216,null,null,1,null,A)),r.\u0275did(18,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,"row"),t(e,2,0,"center flex-start"),t(e,4,0,"20"),t(e,8,0,"2"),t(e,11,0,"75"),t(e,13,0,n.isNumber(e.context.$implicit[1],e.context.$implicit[0]),r.\u0275nov(e,14)),t(e,16,0,n.showCopyOption(e.context.$implicit[0])),t(e,18,0,n.showCopyOption(e.context.$implicit[0]))},function(t,e){var n=r.\u0275unv(e,5,0,t(e,6,0,r.\u0275nov(e.parent.parent,0),e.context.$implicit[0]));t(e,5,0,n)})}function D(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.\u0275and(16777216,null,null,1,null,R)),r.\u0275did(2,278528,null,0,c.NgForOf,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.component.messageObj)},null)}function I(t){return r.\u0275vid(0,[r.\u0275pid(0,c.TitleCasePipe,[]),r.\u0275pid(0,c.DecimalPipe,[r.LOCALE_ID]),(t()(),r.\u0275eld(2,0,null,null,33,"div",[["fxLayout","row"]],null,null,null,null,null)),r.\u0275did(3,737280,null,0,o.LayoutDirective,[a.MediaMonitor,r.ElementRef,a.StyleUtils],{layout:[0,"layout"]},null),(t()(),r.\u0275eld(4,0,null,null,31,"div",[["class","w-100"]],null,null,null,null,null)),(t()(),r.\u0275eld(5,0,null,null,11,"mat-card-header",[["class","mat-card-header"],["fxLayoutAlign","end"]],null,null,null,d.View_MatCardHeader_0,d.RenderType_MatCardHeader)),r.\u0275did(6,278528,null,0,c.NgClass,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,"ngClass"]},null),r.\u0275did(7,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[8,null],a.StyleUtils],{align:[0,"align"]},null),r.\u0275did(8,49152,null,0,p.MatCardHeader,[],null,null),(t()(),r.\u0275eld(9,0,null,2,2,"h2",[["fxFlex","91"]],null,null,null,null,null)),r.\u0275did(10,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),(t()(),r.\u0275ted(11,null,["",""])),(t()(),r.\u0275eld(12,0,null,2,4,"mat-icon",[["class","cursor-pointer mat-icon"],["fxFlex","7"],["fxLayoutAlign","end"],["role","img"],["type","button"]],[[2,"mat-icon-inline",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClose(!1)&&i),i},l.View_MatIcon_0,l.RenderType_MatIcon)),r.\u0275did(13,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[8,null],a.StyleUtils],{align:[0,"align"]},null),r.\u0275did(14,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),r.\u0275did(15,638976,null,0,s.MatIcon,[r.ElementRef,s.MatIconRegistry,[8,null]],null,null),(t()(),r.\u0275ted(-1,0,["close"])),(t()(),r.\u0275eld(17,0,null,null,18,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),r.\u0275did(18,16384,null,0,p.MatCardContent,[],null,null),(t()(),r.\u0275eld(19,0,null,null,4,"div",[["class","pb-2 p-2 wrap-text new-line"]],null,null,null,null,null)),(t()(),r.\u0275and(16777216,null,null,1,null,E)),r.\u0275did(21,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r.\u0275and(16777216,null,null,1,null,D)),r.\u0275did(23,16384,null,0,c.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),r.\u0275eld(24,0,null,null,1,"mat-divider",[["class","pb-1 mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,f.View_MatDivider_0,f.RenderType_MatDivider)),r.\u0275did(25,49152,null,0,h.MatDivider,[],null,null),(t()(),r.\u0275eld(26,0,null,null,9,"div",[["fxLayoutAlign","center"]],null,null,null,null,null)),r.\u0275did(27,737280,null,0,o.LayoutAlignDirective,[a.MediaMonitor,r.ElementRef,[8,null],a.StyleUtils],{align:[0,"align"]},null),(t()(),r.\u0275eld(28,0,null,null,3,"button",[["class","mb-1 mr-2"],["color","accent"],["default",""],["fxFlex","20"],["mat-raised-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClose(!1)&&i),i},m.View_MatButton_0,m.RenderType_MatButton)),r.\u0275did(29,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),r.\u0275did(30,180224,null,0,v.MatButton,[r.ElementRef,g.Platform,_.FocusMonitor,[2,y.ANIMATION_MODULE_TYPE]],{color:[0,"color"]},null),(t()(),r.\u0275ted(-1,0,["No"])),(t()(),r.\u0275eld(32,0,null,null,3,"button",[["class","mb-1 ml-2"],["fxFlex","20"],["mat-raised-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onClose(!0)&&i),i},m.View_MatButton_0,m.RenderType_MatButton)),r.\u0275did(33,737280,null,0,o.FlexDirective,[a.MediaMonitor,r.ElementRef,[3,o.LayoutDirective],a.StyleUtils,a.LAYOUT_CONFIG],{flex:[0,"flex"]},null),r.\u0275did(34,180224,null,0,v.MatButton,[r.ElementRef,g.Platform,_.FocusMonitor,[2,y.ANIMATION_MODULE_TYPE]],{color:[0,"color"]},null),(t()(),r.\u0275ted(-1,0,["Yes"]))],function(t,e){var n=e.component;t(e,3,0,"row"),t(e,6,0,n.msgTypeBackground),t(e,7,0,"end"),t(e,10,0,"91"),t(e,13,0,"end"),t(e,14,0,"7"),t(e,15,0),t(e,21,0,n.data.titleMessage),t(e,23,0,n.messageObj.length>0),t(e,27,0,"center"),t(e,29,0,"20"),t(e,30,0,"accent"),t(e,33,0,"20"),t(e,34,0,n.msgTypeForeground)},function(t,e){t(e,11,0,e.component.data.type),t(e,12,0,r.\u0275nov(e,15).inline),t(e,24,0,r.\u0275nov(e,25).vertical?"vertical":"horizontal",r.\u0275nov(e,25).vertical,!r.\u0275nov(e,25).vertical,r.\u0275nov(e,25).inset),t(e,28,0,r.\u0275nov(e,30).disabled||null,"NoopAnimations"===r.\u0275nov(e,30)._animationMode),t(e,32,0,r.\u0275nov(e,34).disabled||null,"NoopAnimations"===r.\u0275nov(e,34)._animationMode)})}function k(t){return r.\u0275vid(0,[(t()(),r.\u0275eld(0,0,null,null,1,"rtl-confirmation-message",[],null,null,null,I,M)),r.\u0275did(1,114688,null,0,b.ConfirmationMessageComponent,[C.MatDialogRef,C.MAT_DIALOG_DATA,w.LoggerService,x.Store],null,null)],function(t,e){t(e,1,0)},null)}e.RenderType_ConfirmationMessageComponent=M,e.View_ConfirmationMessageComponent_0=I,e.View_ConfirmationMessageComponent_Host_0=k,e.ConfirmationMessageComponentNgFactory=r.\u0275ccf("rtl-confirmation-message",b.ConfirmationMessageComponent,k,{},{},[])},"+nza":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("CcnG");var i=n("DtyJ"),r=n("ahDk"),o=(n("yGQT"),n("cpEJ"),n("QvMG"),n("iVvL"));e.WalletComponent=function(){function t(t,e,n){this.logger=t,this.store=e,this.rtlEffects=n,this.addressTypes=[],this.flgLoadingWallet=!0,this.selectedAddress={},this.blockchainBalance={},this.information={},this.newAddress="",this.transaction={},this.unsub=[new i.Subject,new i.Subject,new i.Subject]}return t.prototype.ngOnInit=function(){var t=this;this.store.select("rtlRoot").pipe(r.takeUntil(this.unsub[0])).subscribe(function(e){t.settings=e.settings,t.information=e.information,t.addressTypes=e.addressTypes,t.blockchainBalance=e.blockchainBalance,void 0===t.blockchainBalance.total_balance&&(t.blockchainBalance.total_balance="0"),void 0===t.blockchainBalance.confirmed_balance&&(t.blockchainBalance.confirmed_balance="0"),void 0===t.blockchainBalance.unconfirmed_balance&&(t.blockchainBalance.unconfirmed_balance="0"),t.flgLoadingWallet=!1,t.logger.info(e)})},t.prototype.onGenerateAddress=function(){var t=this;this.store.dispatch(new o.OpenSpinner("Getting New Address...")),this.store.dispatch(new o.GetNewAddress(this.selectedAddress)),this.rtlEffects.setNewAddress.pipe(r.takeUntil(this.unsub[1])).subscribe(function(e){t.newAddress=e})},t.prototype.onSendFunds=function(){var t=this,e={"BTC Address":this.transaction.address,"Target Confirmation Blocks":this.transaction.blocks};e["Amount ("+this.information.smaller_currency_unit+")"]=this.transaction.amount,e["Fee ("+this.information.smaller_currency_unit+"/Byte)"]=this.transaction.fees,this.store.dispatch(new o.OpenConfirmation({width:"70%",data:{type:"CONFIRM",message:JSON.stringify(e)}})),this.rtlEffects.closeConfirm.pipe(r.takeUntil(this.unsub[2])).subscribe(function(e){e&&(t.store.dispatch(new o.OpenSpinner("Sending Funds...")),t.store.dispatch(new o.SetTransaction(t.transaction)),t.transaction={address:"",amount:0,blocks:0,fees:0})})},Object.defineProperty(t.prototype,"invalidValues",{get:function(){return void 0===this.transaction.address||""===this.transaction.address||void 0===this.transaction.amount||this.transaction.amount<=0||void 0===this.transaction.blocks||this.transaction.blocks<=0||void 0===this.transaction.fees||this.transaction.fees<=0},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.unsub.forEach(function(t){t.next(),t.complete()})},t}()},"+tJ4":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){return function(e){for(var n=0,i=t.length;n=0}},"/FBu":function(t,e,n){"use strict";e.styles=[".p-2[_ngcontent-%COMP%]{padding:1rem}.pb-1[_ngcontent-%COMP%]{padding-bottom:.3rem}.pb-2[_ngcontent-%COMP%]{padding-bottom:1rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:.5rem}.wrap-text[_ngcontent-%COMP%]{word-break:break-word}.mat-icon[type=button][_ngcontent-%COMP%]{cursor:pointer}.new-line[_ngcontent-%COMP%]{white-space:pre-wrap}.title-message[_ngcontent-%COMP%]{font-size:110%}"]},"/FgC":function(t,e,n){"use strict";e.styles=[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend li,.chart-legend ul{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]},"/PH2":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("mrSG"),r=n("MGBS"),o=n("zotm");function a(){for(var t=[],e=0;e0){var a=o.indexOf(n);-1!==a&&o.splice(a,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(r.a)},"/TIM":function(t,e,n){"use strict";var i="http://www.w3.org/1999/xhtml",r={svg:"http://www.w3.org/2000/svg",xhtml:i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},o=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.hasOwnProperty(e)?{space:r[e],local:t}:t},a=function(t){var e=o(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i&&e.documentElement.namespaceURI===i?e.createElement(t):e.createElementNS(n,t)}})(e)};function l(){}var s=function(t){return null==t?l:function(){return this.querySelector(t)}};function u(){return[]}var c=function(t){return null==t?u:function(){return this.querySelectorAll(t)}},d=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var p=document.documentElement;if(!p.matches){var f=p.webkitMatchesSelector||p.msMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector;d=function(t){return function(){return f.call(this,t)}}}}var h=d,m=function(t){return new Array(t.length)};function v(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}v.prototype={constructor:v,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var g="$";function _(t,e,n,i,r,o){for(var a,l=0,s=e.length,u=o.length;le?1:t>=e?0:NaN}var C=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function w(t,e){return t.style.getPropertyValue(e)||C(t).getComputedStyle(t,null).getPropertyValue(e)}function x(t){return t.trim().split(/^|\s+/)}function M(t){return t.classList||new E(t)}function E(t){this._node=t,this._names=x(t.getAttribute("class")||"")}function O(t,e){for(var n=M(t),i=-1,r=e.length;++i=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var N={},F=null;function j(t,e,n){return t=V(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function V(t,e,n){return function(i){var r=F;F=i;try{t.call(this,this.__data__,e,n)}finally{F=r}}}function B(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,o=e.length;i=x&&(x=w+1);!(C=g[x])&&++x=0;)(i=r[o])&&(a&&a!==i.nextSibling&&a.parentNode.insertBefore(i,a),a=i);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=b);for(var n=this._groups,i=n.length,r=new Array(i),o=0;o1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):w(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=x(t+"");if(arguments.length<2){for(var i=M(this.node()),r=-1,o=n.length;++r=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),a=o.length;if(!(arguments.length<2)){for(l=e?H:B,null==n&&(n=!1),i=0;i0?this._keyManager.setPreviousItemActive():0===e&&this.options.length>1&&this._keyManager.setNextItemActive()}},e.prototype._keydown=function(t){var e=t.keyCode,n=this._keyManager,i=n.activeItemIndex;switch(e){case u.n:case u.f:this._toggleFocusedOption(),t.preventDefault();break;case u.h:case u.e:e===u.h?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault();break;case u.a:t.ctrlKey&&(this.options.find(function(t){return!t.selected})?this.selectAll():this.deselectAll(),t.preventDefault());break;default:n.onKeydown(t)}e!==u.p&&e!==u.d||!t.shiftKey||n.activeItemIndex===i||this._toggleFocusedOption()},e.prototype._reportValueChange=function(){this.options&&this._onChange(this._getSelectedOptionValues())},e.prototype._emitChangeEvent=function(t){this.selectionChange.emit(new S(this,t))},e.prototype.writeValue=function(t){this.options?this._setOptionsFromValues(t||[]):this._tempValues=t},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype._setOptionsFromValues=function(t){var e=this;this.options.forEach(function(t){return t._setSelected(!1)}),t.map(function(t){return e.options.find(function(n){return e.compareWith?e.compareWith(n.value,t):n.value===t})}).filter(Boolean).forEach(function(t){return t._setSelected(!0)})},e.prototype._getSelectedOptionValues=function(){return this.options.filter(function(t){return t.selected}).map(function(t){return t.value})},e.prototype._toggleFocusedOption=function(){var t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){var e=this.options.toArray()[t];e&&!e.disabled&&(e.toggle(),this._emitChangeEvent(e))}},e.prototype._setAllOptionsSelected=function(t){var e=!1;this.options.forEach(function(n){n._setSelected(t)&&(e=!0)}),e&&this._reportValueChange()},e.prototype._isValidIndex=function(t){return t>=0&&t-1}var c=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r._announcer=new o.a(1),r.layout$=r._announcer.asObservable(),r}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"layout",{set:function(t){this._cacheInput("layout",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutXs",{set:function(t){this._cacheInput("layoutXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutSm",{set:function(t){this._cacheInput("layoutSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutMd",{set:function(t){this._cacheInput("layoutMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLg",{set:function(t){this._cacheInput("layoutLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutXl",{set:function(t){this._cacheInput("layoutXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutGtXs",{set:function(t){this._cacheInput("layoutGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutGtSm",{set:function(t){this._cacheInput("layoutGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutGtMd",{set:function(t){this._cacheInput("layoutGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutGtLg",{set:function(t){this._cacheInput("layoutGtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLtSm",{set:function(t){this._cacheInput("layoutLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLtMd",{set:function(t){this._cacheInput("layoutLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLtLg",{set:function(t){this._cacheInput("layoutLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"layoutLtXl",{set:function(t){this._cacheInput("layoutLtXl",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.layout||this._mqActivation)&&this._updateWithDirection()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("layout","row",function(t){e._updateWithDirection(t.value)})},e.prototype._updateWithDirection=function(t){t=t||this._queryInput("layout")||"row",this._mqActivation&&(t=this._mqActivation.activatedInput);var e=function(t){var e=s(t);return function(t,n,i){return void 0===n&&(n=null),void 0===i&&(i=!1),{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e[0],"flex-wrap":n||null}}(0,e[1],e[2])}(t||"");this._applyStyleToElement(e),this._announcer.next({direction:e["flex-direction"],wrap:!!e["flex-wrap"]&&"nowrap"!==e["flex-wrap"]})},e}(r.BaseDirective),d=function(t){function e(e,n,i,r,o,a){var l=t.call(this,e,n,a)||this;return l._zone=r,l._directionality=o,l._layout="row",i&&(l._layoutWatcher=i.layout$.subscribe(l._onLayoutChange.bind(l))),l._directionWatcher=l._directionality.change.subscribe(l._updateWithValue.bind(l)),l}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"gap",{set:function(t){this._cacheInput("gap",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapXs",{set:function(t){this._cacheInput("gapXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapSm",{set:function(t){this._cacheInput("gapSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapMd",{set:function(t){this._cacheInput("gapMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLg",{set:function(t){this._cacheInput("gapLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapXl",{set:function(t){this._cacheInput("gapXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapGtXs",{set:function(t){this._cacheInput("gapGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapGtSm",{set:function(t){this._cacheInput("gapGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapGtMd",{set:function(t){this._cacheInput("gapGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapGtLg",{set:function(t){this._cacheInput("gapGtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLtSm",{set:function(t){this._cacheInput("gapLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLtMd",{set:function(t){this._cacheInput("gapLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLtLg",{set:function(t){this._cacheInput("gapLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gapLtXl",{set:function(t){this._cacheInput("gapLtXl",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.gap||this._mqActivation)&&this._updateWithValue()},e.prototype.ngAfterContentInit=function(){var t=this;this._watchContentChanges(),this._listenForMediaQueryChanges("gap","0",function(e){t._updateWithValue(e.value)}),this._updateWithValue()},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._layoutWatcher&&this._layoutWatcher.unsubscribe(),this._observer&&this._observer.disconnect(),this._directionWatcher&&this._directionWatcher.unsubscribe()},e.prototype._watchContentChanges=function(){var t=this;this._zone.runOutsideAngular(function(){"undefined"!=typeof MutationObserver&&(t._observer=new MutationObserver(function(e){e.some(function(t){return t.addedNodes&&t.addedNodes.length>0||t.removedNodes&&t.removedNodes.length>0})&&t._updateWithValue()}),t._observer.observe(t.nativeElement,{childList:!0}))})},e.prototype._onLayoutChange=function(t){var e=this;this._layout=(t.direction||"").toLowerCase(),l.find(function(t){return t===e._layout})||(this._layout="row"),this._updateWithValue()},e.prototype._updateWithValue=function(t){var e=this,n=t||this._queryInput("gap")||"0";this._mqActivation&&(n=this._mqActivation.activatedInput);var i=this.childrenNodes.filter(function(t){return 1===t.nodeType&&"none"!=e._getDisplayStyle(t)}).sort(function(t,n){var i=+e._styler.lookupStyle(t,"order"),r=+e._styler.lookupStyle(n,"order");return isNaN(i)||isNaN(r)||i===r?0:i>r?1:-1});if(i.length>0)if(n.endsWith(p))n=n.substring(0,n.indexOf(p)),this._applyStyleToElements(this._buildGridPadding(n),i),this._applyStyleToElement(this._buildGridMargin(n));else{var r=i.pop();this._applyStyleToElements(this._buildCSS(n),i),this._applyStyleToElements(this._buildCSS(),[r])}},e.prototype._buildGridPadding=function(t){var e="0px",n="0px";return"rtl"===this._directionality.value?n=t:e=t,{padding:"0px "+e+" "+t+" "+n}},e.prototype._buildGridMargin=function(t){var e="0px",n="0px";return"rtl"===this._directionality.value?n="-"+t:e="-"+t,{margin:"0px "+e+" -"+t+" "+n}},e.prototype._buildCSS=function(t){var e;void 0===t&&(t=null);var n={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};switch(this._layout){case"column":e="margin-bottom";break;case"column-reverse":e="margin-top";break;case"row":e="rtl"===this._directionality.value?"margin-left":"margin-right";break;case"row-reverse":e="rtl"===this._directionality.value?"margin-right":"margin-left";break;default:e="rtl"===this._directionality.value?"margin-left":"margin-right"}return n[e]=t,n},e}(r.BaseDirective),p=" grid";function f(t){for(var e=[],n=1;n-1?"column":"row",r=u(i)?"max-width":"max-height",o=u(i)?"min-width":"min-height",a=String(n).indexOf("calc")>-1,l=a||"auto"==n,s=String(n).indexOf("%")>-1&&!a,c=String(n).indexOf("px")>-1||String(n).indexOf("em")>-1||String(n).indexOf("vw")>-1||String(n).indexOf("vh")>-1,d=String(n).indexOf("px")>-1||l,p=a||c;e="0"==e?0:e;var h=!(t="0"==t?0:t)&&!e,m={},v={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(n||""){case"":n="row"===i?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":t=0,n="auto";break;case"grow":n="100%";break;case"noshrink":e=0,n="auto";break;case"auto":break;case"none":t=0,e=0,n="auto";break;default:p||s||isNaN(n)||(n+="%"),"0%"===n&&(p=!0),"0px"===n&&(n="0%"),m=f(v,a?{"flex-grow":t,"flex-shrink":e,"flex-basis":p?n:"100%"}:{flex:t+" "+e+" "+(p?n:"100%")})}return m.flex||m["flex-grow"]||(m=f(v,a?{"flex-grow":t,"flex-shrink":e,"flex-basis":n}:{flex:t+" "+e+" "+n})),"0%"!==n&&"0px"!==n&&"0.000000001px"!==n&&"auto"!==n&&(m[o]=h||d&&t?n:null,m[r]=h||!l&&e?n:null),m[o]||m[r]?this._layout&&this._layout.wrap&&(m[a?"flex-basis":"flex"]=m[r]?a?m[r]:t+" "+e+" "+m[r]:a?m[o]:t+" "+e+" "+m[o]):m=f(v,a?{"flex-grow":t,"flex-shrink":e,"flex-basis":n}:{flex:t+" "+e+" "+n}),f(m,{"box-sizing":"border-box"})},e}(r.BaseDirective),m=function(t){function e(e,n,i){return t.call(this,e,n,i)||this}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"order",{set:function(t){this._cacheInput("order",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderXs",{set:function(t){this._cacheInput("orderXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderSm",{set:function(t){this._cacheInput("orderSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderMd",{set:function(t){this._cacheInput("orderMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLg",{set:function(t){this._cacheInput("orderLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderXl",{set:function(t){this._cacheInput("orderXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderGtXs",{set:function(t){this._cacheInput("orderGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderGtSm",{set:function(t){this._cacheInput("orderGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderGtMd",{set:function(t){this._cacheInput("orderGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderGtLg",{set:function(t){this._cacheInput("orderGtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLtSm",{set:function(t){this._cacheInput("orderLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLtMd",{set:function(t){this._cacheInput("orderLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLtLg",{set:function(t){this._cacheInput("orderLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orderLtXl",{set:function(t){this._cacheInput("orderLtXl",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.order||this._mqActivation)&&this._updateWithValue()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("order","0",function(t){e._updateWithValue(t.value)})},e.prototype._updateWithValue=function(t){t=t||this._queryInput("order")||"0",this._mqActivation&&(t=this._mqActivation.activatedInput),this._applyStyleToElement(this._buildCSS(t))},e.prototype._buildCSS=function(t){void 0===t&&(t="");var e=parseInt(t,10);return{order:isNaN(e)?0:e}},e}(r.BaseDirective),v=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,o)||this;return a._container=i,a._directionality=r,a._layout={direction:"row",wrap:!1},a._directionWatcher=a._directionality.change.subscribe(a._updateWithValue.bind(a)),a.watchParentFlow(),a}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"offset",{set:function(t){this._cacheInput("offset",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetXs",{set:function(t){this._cacheInput("offsetXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetSm",{set:function(t){this._cacheInput("offsetSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetMd",{set:function(t){this._cacheInput("offsetMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLg",{set:function(t){this._cacheInput("offsetLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetXl",{set:function(t){this._cacheInput("offsetXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLtSm",{set:function(t){this._cacheInput("offsetLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLtMd",{set:function(t){this._cacheInput("offsetLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLtLg",{set:function(t){this._cacheInput("offsetLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetLtXl",{set:function(t){this._cacheInput("offsetLtXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetGtXs",{set:function(t){this._cacheInput("offsetGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetGtSm",{set:function(t){this._cacheInput("offsetGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetGtMd",{set:function(t){this._cacheInput("offsetGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetGtLg",{set:function(t){this._cacheInput("offsetGtLg",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.offset||this._mqActivation)&&this._updateWithValue()},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._layoutWatcher&&this._layoutWatcher.unsubscribe(),this._directionWatcher&&this._directionWatcher.unsubscribe()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("offset",0,function(t){e._updateWithValue(t.value)})},e.prototype.watchParentFlow=function(){var t=this;this._container&&(this._layoutWatcher=this._container.layout$.subscribe(function(e){t._onLayoutChange(e)}))},e.prototype._onLayoutChange=function(t){this._layout=t||this._layout||{direction:"row",wrap:!1},this._updateWithValue()},e.prototype._updateWithValue=function(t){t=t||this._queryInput("offset")||0,this._mqActivation&&(t=this._mqActivation.activatedInput),this._applyStyleToElement(this._buildCSS(t))},e.prototype._buildCSS=function(t){var e;void 0===t&&(t="");var n=String(t).indexOf("%")>-1;String(t).indexOf("px")>-1||n||isNaN(+t)||(t+="%");var i="rtl"===this._directionality.value?"margin-right":"margin-left";return u(this._getFlexFlowDirection(this.parentElement,!0))?((e={})[i]=""+t,e):{"margin-top":""+t}},e}(r.BaseDirective),g=function(t){function e(e,n,i){return t.call(this,e,n,i)||this}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"align",{set:function(t){this._cacheInput("align",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignXs",{set:function(t){this._cacheInput("alignXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignSm",{set:function(t){this._cacheInput("alignSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignMd",{set:function(t){this._cacheInput("alignMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLg",{set:function(t){this._cacheInput("alignLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignXl",{set:function(t){this._cacheInput("alignXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtSm",{set:function(t){this._cacheInput("alignLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtMd",{set:function(t){this._cacheInput("alignLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtLg",{set:function(t){this._cacheInput("alignLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtXl",{set:function(t){this._cacheInput("alignLtXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtXs",{set:function(t){this._cacheInput("alignGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtSm",{set:function(t){this._cacheInput("alignGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtMd",{set:function(t){this._cacheInput("alignGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtLg",{set:function(t){this._cacheInput("alignGtLg",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.align||this._mqActivation)&&this._updateWithValue()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("align","stretch",function(t){e._updateWithValue(t.value)})},e.prototype._updateWithValue=function(t){t=t||this._queryInput("align")||"stretch",this._mqActivation&&(t=this._mqActivation.activatedInput),this._applyStyleToElement(this._buildCSS(t))},e.prototype._buildCSS=function(t){void 0===t&&(t="");var e={};switch(t){case"start":e["align-self"]="flex-start";break;case"end":e["align-self"]="flex-end";break;default:e["align-self"]=t}return e},e}(r.BaseDirective),_={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"},y=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.elRef=n,r._applyStyleToElement(_),r}return Object(i.__extends)(e,t),e}(r.BaseDirective),b=function(t){function e(e,n,i,r){var o=t.call(this,e,n,r)||this;return o._layout="row",i&&(o._layoutWatcher=i.layout$.subscribe(o._onLayoutChange.bind(o))),o}return Object(i.__extends)(e,t),Object.defineProperty(e.prototype,"align",{set:function(t){this._cacheInput("align",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignXs",{set:function(t){this._cacheInput("alignXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignSm",{set:function(t){this._cacheInput("alignSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignMd",{set:function(t){this._cacheInput("alignMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLg",{set:function(t){this._cacheInput("alignLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignXl",{set:function(t){this._cacheInput("alignXl",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtXs",{set:function(t){this._cacheInput("alignGtXs",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtSm",{set:function(t){this._cacheInput("alignGtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtMd",{set:function(t){this._cacheInput("alignGtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignGtLg",{set:function(t){this._cacheInput("alignGtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtSm",{set:function(t){this._cacheInput("alignLtSm",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtMd",{set:function(t){this._cacheInput("alignLtMd",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtLg",{set:function(t){this._cacheInput("alignLtLg",t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alignLtXl",{set:function(t){this._cacheInput("alignLtXl",t)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(null!=t.align||this._mqActivation)&&this._updateWithValue()},e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._listenForMediaQueryChanges("align","start stretch",function(t){e._updateWithValue(t.value)})},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._layoutWatcher&&this._layoutWatcher.unsubscribe()},e.prototype._updateWithValue=function(t){t=t||this._queryInput("align")||"start stretch",this._mqActivation&&(t=this._mqActivation.activatedInput),this._applyStyleToElement(this._buildCSS(t)),this._allowStretching(t,this._layout?this._layout:"row")},e.prototype._onLayoutChange=function(t){var e=this;this._layout=(t.direction||"").toLowerCase(),l.find(function(t){return t===e._layout})||(this._layout="row");var n=this._queryInput("align")||"start stretch";this._mqActivation&&(n=this._mqActivation.activatedInput),this._allowStretching(n,this._layout||"row")},e.prototype._buildCSS=function(t){void 0===t&&(t="");var e={},n=t.split(" "),i=n[1];switch(n[0]){case"center":e["justify-content"]="center";break;case"space-around":e["justify-content"]="space-around";break;case"space-between":e["justify-content"]="space-between";break;case"space-evenly":e["justify-content"]="space-evenly";break;case"end":case"flex-end":e["justify-content"]="flex-end";break;case"start":case"flex-start":default:e["justify-content"]="flex-start"}switch(i){case"start":case"flex-start":e["align-items"]=e["align-content"]="flex-start";break;case"baseline":e["align-items"]="baseline";break;case"center":e["align-items"]=e["align-content"]="center";break;case"end":case"flex-end":e["align-items"]=e["align-content"]="flex-end";break;case"stretch":default:e["align-items"]=e["align-content"]="stretch"}return f(e,{display:"flex","flex-direction":this._layout||"row","box-sizing":"border-box"})},e.prototype._allowStretching=function(t,e){void 0===t&&(t=""),void 0===e&&(e=""),"stretch"==t.split(" ")[1]&&this._applyStyleToElement({"box-sizing":"border-box","max-width":u(e)?null:"100%","max-height":u(e)?"100%":null})},e}(r.BaseDirective),C=function(){return function(){}}()},"26FU":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("mrSG"),r=n("K9Ia"),o=n("8g8A"),a=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return i.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(r.a)},"2Bdj":function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},"2Q+G":function(t,e,n){"use strict";var i=n("CcnG"),r=n("mVsa"),o=n("Ip0R"),a=n("eDkP"),l=n("Fzqc"),s=n("Wf4p"),u=n("dWZg"),c=n("4c35"),d=n("qAlS"),p=n("wFw1"),f=n("lLAP");e.MatMenuModuleNgFactory=i.\u0275cmf(r.MatMenuModule,[],function(t){return i.\u0275mod([i.\u0275mpd(512,i.ComponentFactoryResolver,i.\u0275CodegenComponentFactoryResolver,[[8,[]],[3,i.ComponentFactoryResolver],i.NgModuleRef]),i.\u0275mpd(4608,o.NgLocalization,o.NgLocaleLocalization,[i.LOCALE_ID,[2,o.\u0275angular_packages_common_common_a]]),i.\u0275mpd(4608,a.Overlay,a.Overlay,[a.ScrollStrategyOptions,a.OverlayContainer,i.ComponentFactoryResolver,a.OverlayPositionBuilder,a.OverlayKeyboardDispatcher,i.Injector,i.NgZone,o.DOCUMENT,l.Directionality]),i.\u0275mpd(5120,a.\u0275c,a.\u0275d,[a.Overlay]),i.\u0275mpd(5120,r.MAT_MENU_SCROLL_STRATEGY,r.\u0275d23,[a.Overlay]),i.\u0275mpd(1073742336,o.CommonModule,o.CommonModule,[]),i.\u0275mpd(1073742336,l.BidiModule,l.BidiModule,[]),i.\u0275mpd(1073742336,s.MatCommonModule,s.MatCommonModule,[[2,s.MATERIAL_SANITY_CHECKS]]),i.\u0275mpd(1073742336,u.PlatformModule,u.PlatformModule,[]),i.\u0275mpd(1073742336,s.MatRippleModule,s.MatRippleModule,[]),i.\u0275mpd(1073742336,c.PortalModule,c.PortalModule,[]),i.\u0275mpd(1073742336,d.ScrollDispatchModule,d.ScrollDispatchModule,[]),i.\u0275mpd(1073742336,a.OverlayModule,a.OverlayModule,[]),i.\u0275mpd(1073742336,r.MatMenuModule,r.MatMenuModule,[])])});var h=i.\u0275crt({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:2px;outline:0}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}@media screen and (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}.mat-menu-panel.ng-animating .mat-menu-item-submenu-trigger{pointer-events:none}button.mat-menu-item{width:100%}.mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.01, 0.01)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:2,steps:[{type:11,selector:".mat-menu-content",animation:{type:6,styles:{opacity:0},offset:null},options:null},{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1, 0.5)"},offset:null},timings:"100ms linear"},{type:3,steps:[{type:11,selector:".mat-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"400ms cubic-bezier(0.55, 0, 0.55, 0.2)"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1, 1)"},offset:null},timings:"300ms cubic-bezier(0.25, 0.8, 0.25, 1)"}],options:null}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"150ms 50ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function m(t){return i.\u0275vid(0,[(t()(),i.\u0275eld(0,0,null,null,3,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),"click"===e&&(i=!1!==r.closed.emit("click")&&i),"@transformMenu.start"===e&&(i=0!=(r._isAnimating=!0)&&i),"@transformMenu.done"===e&&(i=!1!==r._onAnimationDone(n)&&i),i},null,null)),i.\u0275did(1,278528,null,0,o.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer2],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i.\u0275eld(2,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),i.\u0275ncd(null,0)],function(t,e){t(e,1,0,"mat-menu-panel",e.component._classList)},function(t,e){t(e,0,0,e.component._panelAnimationState)})}function v(t){return i.\u0275vid(2,[i.\u0275qud(402653184,1,{templateRef:0}),(t()(),i.\u0275and(0,[[1,2]],null,0,null,m))],null,null)}function g(t){return i.\u0275vid(0,[(t()(),i.\u0275eld(0,0,null,null,4,"mat-menu",[],null,null,null,v,h)),i.\u0275prd(6144,null,r.\u0275f23,null,[r.MatMenu]),i.\u0275did(2,1294336,null,2,r.MatMenu,[i.ElementRef,i.NgZone,r.MAT_MENU_DEFAULT_OPTIONS],null,null),i.\u0275qud(603979776,1,{items:1}),i.\u0275qud(335544320,2,{lazyContent:0})],function(t,e){t(e,2,0)},null)}e.RenderType_MatMenu=h,e.View_MatMenu_0=v,e.View_MatMenu_Host_0=g,e.MatMenuNgFactory=i.\u0275ccf("mat-menu",r.MatMenu,g,{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:"class",classList:"classList"},{closed:"closed",close:"close"},["*"]);var _=i.\u0275crt({encapsulation:2,styles:[],data:{}});function y(t){return i.\u0275vid(2,[i.\u0275ncd(null,0),(t()(),i.\u0275eld(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),i.\u0275did(2,212992,null,0,s.MatRipple,[i.ElementRef,i.NgZone,u.Platform,[2,s.MAT_RIPPLE_GLOBAL_OPTIONS],[2,p.ANIMATION_MODULE_TYPE]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,2,0,n.disableRipple||n.disabled,n._getHostElement())},function(t,e){t(e,1,0,i.\u0275nov(e,2).unbounded)})}function b(t){return i.\u0275vid(0,[(t()(),i.\u0275eld(0,0,null,null,1,"div",[["class","mat-menu-item"],["mat-menu-item",""],["role","menuitem"]],[[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==i.\u0275nov(t,1)._checkDisabled(n)&&r),"mouseenter"===e&&(r=!1!==i.\u0275nov(t,1)._handleMouseEnter()&&r),r},y,_)),i.\u0275did(1,180224,null,0,r.MatMenuItem,[i.ElementRef,o.DOCUMENT,f.FocusMonitor,[2,r.\u0275f23]],null,null)],null,function(t,e){t(e,0,0,i.\u0275nov(e,1)._highlighted,i.\u0275nov(e,1)._triggersSubmenu,i.\u0275nov(e,1)._getTabIndex(),i.\u0275nov(e,1).disabled.toString(),i.\u0275nov(e,1).disabled||null)})}e.RenderType_MatMenuItem=_,e.View_MatMenuItem_0=y,e.View_MatMenuItem_Host_0=b,e.MatMenuItemNgFactory=i.\u0275ccf("[mat-menu-item]",r.MatMenuItem,b,{disabled:"disabled",disableRipple:"disableRipple"},{},["*"])},"2UC5":function(t,e,n){"use strict";function i(){}function r(t,e){var n=new i;if(t instanceof i)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,o=-1,a=t.length;if(null==e)for(;++o2?_:g,i=r=null,f}function f(e){return(i||(i=n(o,s,c?function(t){return function(e,n){var i=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:i(t)}}}(t):t,u)))(+e)}return f.invert=function(t){return(r||(r=n(s,o,v,c?function(t){return function(e,n){var i=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:i(t)}}}(e):e)))(+t)},f.domain=function(t){return arguments.length?(o=a.call(t,h),d()):o.slice()},f.range=function(t){return arguments.length?(s=l.call(t),d()):s.slice()},f.rangeRound=function(t){return s=l.call(t),u=p.e,d()},f.clamp=function(t){return arguments.length?(c=!!t,d()):c},f.interpolate=function(t){return arguments.length?(u=t,d()):u},d()}var C=n("rWgG"),w=function(t,e,n){var r,o=t[0],a=t[t.length-1],l=Object(i.i)(o,a,null==e?10:e);switch((n=Object(C.c)(null==n?",f":n)).type){case"s":var s=Math.max(Math.abs(o),Math.abs(a));return null!=n.precision||isNaN(r=Object(C.e)(l,s))||(n.precision=r),Object(C.b)(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=Object(C.f)(l,Math.max(Math.abs(o),Math.abs(a))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=Object(C.d)(l))||(n.precision=r-2*("%"===n.type))}return Object(C.a)(n)};function x(){var t=b(v,p.c);return t.copy=function(){return y(t,x())},function(t){var e=t.domain;return t.ticks=function(t){var n=e();return Object(i.j)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return w(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,o=e(),a=0,l=o.length-1,s=o[a],u=o[l];return u0?(s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r,r=Object(i.h)(s,u,n)):r<0&&(s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r,r=Object(i.h)(s,u,n)),r>0?(o[a]=Math.floor(s/r)*r,o[l]=Math.ceil(u/r)*r,e(o)):r<0&&(o[a]=Math.ceil(s*r)/r,o[l]=Math.floor(u*r)/r,e(o)),t},t}(t)}function M(){var t=[],e=[],n=[];function r(){var r=0,a=Math.max(1,e.length);for(n=new Array(a-1);++r0?n[r-1]:t[0],r0))return l;do{l.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););})},n&&(r.count=function(e,i){return E.setTime(+e),O.setTime(+i),t(E),t(O),Math.floor(n(E,O))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(e){return i(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var T=S(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});T.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?S(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):T:null};var A=T,R=6e4,D=6048e5,I=S(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),k=S(function(t){t.setTime(Math.floor(t/R)*R)},function(t,e){t.setTime(+t+e*R)},function(t,e){return(e-t)/R},function(t){return t.getMinutes()}),P=S(function(t){var e=t.getTimezoneOffset()*R%36e5;e<0&&(e+=36e5),t.setTime(36e5*Math.floor((+t-e)/36e5)+e)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),L=S(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*R)/864e5},function(t){return t.getDate()-1});function N(t){return S(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*R)/D})}var F=N(0),j=N(1),V=(N(2),N(3),N(4)),B=(N(5),N(6),S(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),H=S(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});H.every=function(t){return isFinite(t=Math.floor(t))&&t>0?S(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var U=H,G=(S(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*R)},function(t,e){return(e-t)/R},function(t){return t.getUTCMinutes()}),S(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),S(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}));function z(t){return S(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/D})}var q=z(0),Y=z(1),W=(z(2),z(3),z(4)),X=(z(5),z(6),S(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),S(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}));X.every=function(t){return isFinite(t=Math.floor(t))&&t>0?S(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var K=X;function Z(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Q(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var J,tt,et,nt={"-":"",_:" ",0:"0"},it=/^\s*\d+/,rt=/^%/,ot=/[\\^$*+?|[\]().{}]/g;function at(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o68?1900:2e3),n+i[0].length):-1}function gt(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function _t(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function yt(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function bt(t,e,n){var i=it.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function Ct(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function wt(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function xt(t,e,n){var i=it.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function Mt(t,e,n){var i=it.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function Et(t,e,n){var i=it.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function Ot(t,e,n){var i=rt.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function St(t,e,n){var i=it.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function Tt(t,e,n){var i=it.exec(e.slice(n));return i?(t.Q=1e3*+i[0],n+i[0].length):-1}function At(t,e){return at(t.getDate(),e,2)}function Rt(t,e){return at(t.getHours(),e,2)}function Dt(t,e){return at(t.getHours()%12||12,e,2)}function It(t,e){return at(1+L.count(U(t),t),e,3)}function kt(t,e){return at(t.getMilliseconds(),e,3)}function Pt(t,e){return kt(t,e)+"000"}function Lt(t,e){return at(t.getMonth()+1,e,2)}function Nt(t,e){return at(t.getMinutes(),e,2)}function Ft(t,e){return at(t.getSeconds(),e,2)}function jt(t){var e=t.getDay();return 0===e?7:e}function Vt(t,e){return at(F.count(U(t),t),e,2)}function Bt(t,e){var n=t.getDay();return t=n>=4||0===n?V(t):V.ceil(t),at(V.count(U(t),t)+(4===U(t).getDay()),e,2)}function Ht(t){return t.getDay()}function Ut(t,e){return at(j.count(U(t),t),e,2)}function Gt(t,e){return at(t.getFullYear()%100,e,2)}function zt(t,e){return at(t.getFullYear()%1e4,e,4)}function qt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+at(e/60|0,"0",2)+at(e%60,"0",2)}function Yt(t,e){return at(t.getUTCDate(),e,2)}function Wt(t,e){return at(t.getUTCHours(),e,2)}function Xt(t,e){return at(t.getUTCHours()%12||12,e,2)}function Kt(t,e){return at(1+G.count(K(t),t),e,3)}function Zt(t,e){return at(t.getUTCMilliseconds(),e,3)}function Qt(t,e){return Zt(t,e)+"000"}function $t(t,e){return at(t.getUTCMonth()+1,e,2)}function Jt(t,e){return at(t.getUTCMinutes(),e,2)}function te(t,e){return at(t.getUTCSeconds(),e,2)}function ee(t){var e=t.getUTCDay();return 0===e?7:e}function ne(t,e){return at(q.count(K(t),t),e,2)}function ie(t,e){var n=t.getUTCDay();return t=n>=4||0===n?W(t):W.ceil(t),at(W.count(K(t),t)+(4===K(t).getUTCDay()),e,2)}function re(t){return t.getUTCDay()}function oe(t,e){return at(Y.count(K(t),t),e,2)}function ae(t,e){return at(t.getUTCFullYear()%100,e,2)}function le(t,e){return at(t.getUTCFullYear()%1e4,e,4)}function se(){return"+0000"}function ue(){return"%"}function ce(t){return+t}function de(t){return Math.floor(+t/1e3)}J=function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,o=t.days,a=t.shortDays,l=t.months,s=t.shortMonths,u=st(r),c=ut(r),d=st(o),p=ut(o),f=st(a),h=ut(a),m=st(l),v=ut(l),g=st(s),_=ut(s),y={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return l[t.getMonth()]},c:null,d:At,e:At,f:Pt,H:Rt,I:Dt,j:It,L:kt,m:Lt,M:Nt,p:function(t){return r[+(t.getHours()>=12)]},Q:ce,s:de,S:Ft,u:jt,U:Vt,V:Bt,w:Ht,W:Ut,x:null,X:null,y:Gt,Y:zt,Z:qt,"%":ue},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return l[t.getUTCMonth()]},c:null,d:Yt,e:Yt,f:Qt,H:Wt,I:Xt,j:Kt,L:Zt,m:$t,M:Jt,p:function(t){return r[+(t.getUTCHours()>=12)]},Q:ce,s:de,S:te,u:ee,U:ne,V:ie,w:re,W:oe,x:null,X:null,y:ae,Y:le,Z:se,"%":ue},C={a:function(t,e,n){var i=f.exec(e.slice(n));return i?(t.w=h[i[0].toLowerCase()],n+i[0].length):-1},A:function(t,e,n){var i=d.exec(e.slice(n));return i?(t.w=p[i[0].toLowerCase()],n+i[0].length):-1},b:function(t,e,n){var i=g.exec(e.slice(n));return i?(t.m=_[i[0].toLowerCase()],n+i[0].length):-1},B:function(t,e,n){var i=m.exec(e.slice(n));return i?(t.m=v[i[0].toLowerCase()],n+i[0].length):-1},c:function(t,n,i){return M(t,e,n,i)},d:yt,e:yt,f:Et,H:Ct,I:Ct,j:bt,L:Mt,m:_t,M:wt,p:function(t,e,n){var i=u.exec(e.slice(n));return i?(t.p=c[i[0].toLowerCase()],n+i[0].length):-1},Q:St,s:Tt,S:xt,u:dt,U:pt,V:ft,w:ct,W:ht,x:function(t,e,i){return M(t,n,e,i)},X:function(t,e,n){return M(t,i,e,n)},y:vt,Y:mt,Z:gt,"%":Ot};function w(t,e){return function(n){var i,r,o,a=[],l=-1,s=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++l53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=Q($(o.y))).getUTCDay(),i=r>4||0===r?Y.ceil(i):Y(i),i=G.offset(i,7*(o.V-1)),o.y=i.getUTCFullYear(),o.m=i.getUTCMonth(),o.d=i.getUTCDate()+(o.w+6)%7):(r=(i=e($(o.y))).getDay(),i=r>4||0===r?j.ceil(i):j(i),i=L.offset(i,7*(o.V-1)),o.y=i.getFullYear(),o.m=i.getMonth(),o.d=i.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),r="Z"in o?Q($(o.y)).getUTCDay():e($(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(r+5)%7:o.w+7*o.U-(r+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Q(o)):e(o)}}function M(t,e,n,i){for(var r,o,a=0,l=e.length,s=n.length;a=s)return-1;if(37===(r=e.charCodeAt(a++))){if(r=e.charAt(a++),!(o=C[r in nt?e.charAt(a++):r])||(i=o(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return y.x=w(n,y),y.X=w(i,y),y.c=w(e,y),b.x=w(n,b),b.X=w(i,b),b.c=w(e,b),{format:function(t){var e=w(t+="",y);return e.toString=function(){return t},e},parse:function(t){var e=x(t+="",Z);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=x(t,Q);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),tt=J.format,et=J.utcParse,Date.prototype.toISOString||(0,J.utcFormat)("%Y-%m-%dT%H:%M:%S.%LZ"),+new Date("2000-01-01T00:00:00.000Z")||et("%Y-%m-%dT%H:%M:%S.%LZ");var pe=31536e6;function fe(t){return new Date(t)}function he(t){return t instanceof Date?+t:+new Date(+t)}var me=function(){return function t(e,n,r,o,l,s,u,c,d){var f=b(v,p.c),h=f.invert,m=f.domain,g=d(".%L"),_=d(":%S"),C=d("%I:%M"),w=d("%I %p"),x=d("%a %d"),M=d("%b %d"),E=d("%B"),O=d("%Y"),S=[[u,1,1e3],[u,5,5e3],[u,15,15e3],[u,30,3e4],[s,1,6e4],[s,5,3e5],[s,15,9e5],[s,30,18e5],[l,1,36e5],[l,3,108e5],[l,6,216e5],[l,12,432e5],[o,1,864e5],[o,2,1728e5],[r,1,6048e5],[n,1,2592e6],[n,3,7776e6],[e,1,pe]];function T(t){return(u(t)0?q:z)(t)},W=D,X={},K={}.toString,Z=function(t){return K.call(t).slice(8,-1)},Q=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==Z(t)?t.split(""):Object(t)},$=function(t){return Q(n(t))},J=Math.min,tt=Math.max,et=Math.min,nt=function(t,e,n){for(var i,r=$(t),o=(i=r.length)>0?J(Y(i),9007199254740991):0,a=function(t,e){return(t=Y(t))<0?tt(t+e,0):et(t,e)}(n,o);o>a;a++)if(a in r&&r[a]===e)return a||0;return-1},it=f("IE_PROTO"),rt=function(t,e){var n,i=$(t),r=0,a=[];for(n in i)n!=it&&o(i,n)&&a.push(n);for(;e.length>r;)o(i,n=e[r++])&&(~nt(a,n)||a.push(n));return a},ot="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),at=Object.keys||function(t){return rt(t,ot)},lt=w?Object.defineProperties:function(t,e){b(t);for(var n,i=at(e),r=i.length,o=0;r>o;)A.f(t,n=i[o++],e[n]);return t},st=a.document&&document.documentElement,ut=f("IE_PROTO"),ct=function(){},dt=function(){var t,e=E("iframe"),n=ot.length;for(e.style.display="none",st.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("