mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
refactor: replace beacon vendor css with tokenized components
This commit is contained in:
1 parent
2ab3923585
commit
d0c8cec290
8 files changed
+441
-193
No files matched your search
@@ -1,3 +1,3 @@
|
||||
:root{--color-page:#fff;--color-page-alt:#f9fafb;--color-surface:#0f172a;--color-surface-alt:#111827;--color-bg:var(--color-surface);--color-card:#1e293b;--color-card-private:#3b1d74;--color-card-critical:#3f0b13;--color-panel:#1f2937;--color-panel-hover:#334155;--color-border:#374151;--color-border-subtle:#d1d5db;--color-primary:#fe0032;--color-secondary:#ff93a5;--color-logo-accent:var(--color-primary);--color-logo-wordmark:var(--color-neutral-700);--color-logo-wordmark-inverse:var(--color-white);--color-logo-background:var(--color-neutral-700);--color-logo-background-inverse:var(--color-white);--color-info:#60a5fa;--color-info-strong:#2563eb;--color-info-pressed:#1d4ed8;--color-info-glass:rgba(37,99,235,.18);--color-muted-strong:#6b7280;--color-text:#f8fafc;--color-text-strong:#0f172a;--color-text-muted:var(--color-muted);--color-muted:#94a3b8;--color-muted-alt:#9ca3af;--color-subtle-text:#e2e8f0;--color-subtle:#e5e7eb;--color-critical:#7f1d1d;--color-critical-strong:#991b1b;--color-warning:#facc15;--color-warning-strong:#d97706;--color-warning-surface:rgba(146,64,14,.24);--color-warning-glass:rgba(250,204,21,.18);--color-neutral-700:#3f3f46;--color-neutral-600:#52525b;--color-white:#fff;--color-black:#000;--color-overlay:#1a2234;--color-overlay-black:rgba(0,0,0,.9);--color-overlay-muted:rgba(15,23,42,.55);--color-overlay-strong:rgba(15,23,42,.75);--color-overlay-darker:rgba(15,23,42,.88);--color-overlay-panel:rgba(26,34,52,.82);--color-overlay-panel-soft:rgba(26,34,52,.65);--color-overlay-panel-tint:rgba(31,41,55,.5);--color-overlay-panel-glass:rgba(28,37,58,.72);--color-overlay-panel-glass-soft:rgba(31,41,55,.55);--color-modal-backdrop:rgba(8,12,24,.58);--color-modal-surface:rgba(20,28,46,.78);--color-overlay-veil:rgba(11,17,32,.96);--color-overlay-banner:rgba(51,65,85,.95);--color-sidebar-surface:rgba(17,24,39,.94);--color-sidebar-surface-alt:rgba(11,22,48,.78);--color-sidebar-border:rgba(148,163,184,.28);--color-sidebar-border-strong:rgba(148,163,184,.42);--color-sidebar-hover:rgba(56,189,248,.18);--color-sidebar-hover-strong:rgba(129,140,248,.28);--color-sidebar-glow:rgba(56,189,248,.35);--color-sidebar-accent-start:rgba(56,189,248,.9);--color-sidebar-accent-end:rgba(129,140,248,.85);--color-sidebar-text-muted:rgba(203,213,225,.75);--color-overlay-panel-gradient-start:rgba(30,41,59,.92);--color-overlay-panel-gradient-end:rgba(15,23,42,.92);--color-surface-tint-subtle:rgba(148,163,184,.08);--color-border-translucent:rgba(148,163,184,.18);--color-border-translucent-strong:rgba(148,163,184,.25);--color-border-translucent-bright:rgba(148,163,184,.32);--color-border-translucent-stronger:rgba(148,163,184,.35);--color-border-translucent-strongest:rgba(148,163,184,.4);--color-border-translucent-glow:rgba(148,163,184,.55);--color-border-translucent-medium:rgba(148,163,184,.2);--color-border-neutral-soft:rgba(229,231,235,.35);--color-border-info-soft:rgba(96,165,250,.35);--color-border-sidebar-strong:rgba(55,65,81,.9);--color-ring-private:rgba(168,85,247,.55);--color-ring-private-hover:rgba(192,132,252,.65);--color-ring-critical:rgba(239,68,68,.4);--color-ring-critical-soft:rgba(239,68,68,.35);--color-ring-critical-hover:rgba(239,68,68,.45);--color-ring-critical-strong:rgba(239,68,68,.55);--color-ring-alert:rgba(220,38,38,.6);--color-gradient-visibility-start:rgba(129,140,248,.4);--color-gradient-visibility-end:rgba(192,132,252,.32);--color-white-soft:hsla(0,0%,100%,.1);--color-white-softer:hsla(0,0%,100%,.3);--color-white-softest:hsla(0,0%,100%,.4);--color-shadow-floating:rgba(8,11,30,.55);--color-shadow-elevated:rgba(8,11,30,.45);--color-shadow-panel:rgba(15,23,42,.35);--color-shadow-notification:rgba(15,23,42,.3);--color-shadow-sidebar:rgba(0,0,0,.45);--color-divider-strong:rgba(15,23,42,.35);--color-text-frosted-strong:rgba(226,232,240,.94);--color-text-frosted:rgba(226,232,240,.9);--color-text-frosted-soft:rgba(226,232,240,.82);--scrollbar-width:0.5rem;--scrollbar-track:var(--color-white-soft);--scrollbar-thumb:var(--color-white-softer);--scrollbar-thumb-hover:var(--color-white-softest);--z-sidebar-overlay:10;--z-sidebar:20;--z-modal-root:100;--z-modal-overlay:110;--z-modal-content:120;--z-modal-player:130;--sidebar-width-expanded:16rem;--sidebar-width-collapsed:4rem;--sidebar-width:var(--sidebar-width-expanded);--sidebar-control-size:2.75rem;--sidebar-content-gap:1rem;--space-sidebar-shell-inline:var(--space-lg);--space-sidebar-shell-block-start:var(--space-lg);--space-sidebar-shell-block-end:1.75rem;--space-sidebar-scroll-gap:1.75rem;--space-sidebar-panel-gap:1.35rem;--space-sidebar-panel-padding-block:1.35rem;--space-sidebar-panel-padding-inline:1.1rem;--space-sidebar-footer-gap:0.85rem;--space-sidebar-trigger-padding-block:0.78rem;--space-sidebar-popover-offset:0.85rem;--space-sidebar-popover-padding-block:0.85rem;--space-sidebar-popover-padding-inline:0.65rem;--space-sidebar-popover-gap:0.45rem;--space-sidebar-nav-padding-block:0.7rem;--space-sidebar-subnav-padding-block:0.55rem;--blog-embed-height:Line truncated
|
||||
:root{--color-page:#fff;--color-page-alt:#f9fafb;--color-surface:#0f172a;--color-surface-alt:#111827;--color-bg:var(--color-surface);--color-card:#1e293b;--color-card-private:#3b1d74;--color-card-critical:#3f0b13;--color-panel:#1f2937;--color-panel-hover:#334155;--color-border:#374151;--color-border-subtle:#d1d5db;--color-primary:#fe0032;--color-secondary:#ff93a5;--color-logo-accent:var(--color-primary);--color-logo-wordmark:var(--color-neutral-700);--color-logo-wordmark-inverse:var(--color-white);--color-logo-background:var(--color-neutral-700);--color-logo-background-inverse:var(--color-white);--color-info:#60a5fa;--color-info-strong:#2563eb;--color-info-pressed:#1d4ed8;--color-info-glass:rgba(37,99,235,.18);--color-muted-strong:#6b7280;--color-text:#f8fafc;--color-text-strong:#0f172a;--color-text-muted:var(--color-muted);--color-muted:#94a3b8;--color-muted-alt:#9ca3af;--color-subtle-text:#e2e8f0;--color-subtle:#e5e7eb;--color-critical:#7f1d1d;--color-critical-strong:#991b1b;--color-warning:#facc15;--color-warning-strong:#d97706;--color-warning-surface:rgba(146,64,14,.24);--color-warning-glass:rgba(250,204,21,.18);--color-neutral-700:#3f3f46;--color-neutral-600:#52525b;--color-white:#fff;--color-black:#000;--color-overlay:#1a2234;--color-overlay-black:rgba(0,0,0,.9);--color-overlay-muted:rgba(15,23,42,.55);--color-overlay-strong:rgba(15,23,42,.75);--color-overlay-darker:rgba(15,23,42,.88);--color-overlay-panel:rgba(26,34,52,.82);--color-overlay-panel-soft:rgba(26,34,52,.65);--color-overlay-panel-tint:rgba(31,41,55,.5);--color-overlay-panel-glass:rgba(28,37,58,.72);--color-overlay-panel-glass-soft:rgba(31,41,55,.55);--color-modal-backdrop:rgba(8,12,24,.58);--color-modal-surface:rgba(20,28,46,.78);--color-overlay-veil:rgba(11,17,32,.96);--color-overlay-banner:rgba(51,65,85,.95);--color-sidebar-surface:rgba(17,24,39,.94);--color-sidebar-surface-alt:rgba(11,22,48,.78);--color-sidebar-border:rgba(148,163,184,.28);--color-sidebar-border-strong:rgba(148,163,184,.42);--color-sidebar-hover:rgba(56,189,248,.18);--color-sidebar-hover-strong:rgba(129,140,248,.28);--color-sidebar-glow:rgba(56,189,248,.35);--color-sidebar-accent-start:rgba(56,189,248,.9);--color-sidebar-accent-end:rgba(129,140,248,.85);--color-sidebar-text-muted:rgba(203,213,225,.75);--color-overlay-panel-gradient-start:rgba(30,41,59,.92);--color-overlay-panel-gradient-end:rgba(15,23,42,.92);--color-surface-tint-subtle:rgba(148,163,184,.08);--color-border-translucent:rgba(148,163,184,.18);--color-border-translucent-strong:rgba(148,163,184,.25);--color-border-translucent-bright:rgba(148,163,184,.32);--color-border-translucent-stronger:rgba(148,163,184,.35);--color-border-translucent-strongest:rgba(148,163,184,.4);--color-border-translucent-glow:rgba(148,163,184,.55);--color-border-translucent-medium:rgba(148,163,184,.2);--color-border-neutral-soft:rgba(229,231,235,.35);--color-border-info-soft:rgba(96,165,250,.35);--color-border-sidebar-strong:rgba(55,65,81,.9);--color-ring-private:rgba(168,85,247,.55);--color-ring-private-hover:rgba(192,132,252,.65);--color-ring-critical:rgba(239,68,68,.4);--color-ring-critical-soft:rgba(239,68,68,.35);--color-ring-critical-hover:rgba(239,68,68,.45);--color-ring-critical-strong:rgba(239,68,68,.55);--color-ring-alert:rgba(220,38,38,.6);--color-gradient-visibility-start:rgba(129,140,248,.4);--color-gradient-visibility-end:rgba(192,132,252,.32);--color-white-soft:hsla(0,0%,100%,.1);--color-white-softer:hsla(0,0%,100%,.3);--color-white-softest:hsla(0,0%,100%,.4);--color-shadow-floating:rgba(8,11,30,.55);--color-shadow-elevated:rgba(8,11,30,.45);--color-shadow-panel:rgba(15,23,42,.35);--color-shadow-notification:rgba(15,23,42,.3);--color-shadow-sidebar:rgba(0,0,0,.45);--color-divider-strong:rgba(15,23,42,.35);--color-text-frosted-strong:rgba(226,232,240,.94);--color-text-frosted:rgba(226,232,240,.9);--color-text-frosted-soft:rgba(226,232,240,.82);--scrollbar-width:0.5rem;--scrollbar-track:var(--color-white-soft);--scrollbar-thumb:var(--color-white-softer);--scrollbar-thumb-hover:var(--color-white-softest);--z-sidebar-overlay:10;--z-sidebar:20;--z-modal-root:100;--z-modal-overlay:110;--z-modal-content:120;--z-modal-player:130;--sidebar-width-expanded:16rem;--sidebar-width-collapsed:4rem;--sidebar-width:var(--sidebar-width-expanded);--sidebar-control-size:2.75rem;--sidebar-content-gap:1rem;--space-sidebar-shell-inline:var(--space-lg);--space-sidebar-shell-block-start:var(--space-lg);--space-sidebar-shell-block-end:1.75rem;--space-sidebar-scroll-gap:1.75rem;--space-sidebar-panel-gap:1.35rem;--space-sidebar-panel-padding-block:1.35rem;--space-sidebar-panel-padding-inline:1.1rem;--space-sidebar-footer-gap:0.85rem;--space-sidebar-trigger-padding-block:0.78rem;--space-sidebar-popover-offset:0.85rem;--space-sidebar-popover-padding-block:0.85rem;--space-sidebar-popover-padding-inline:0.65rem;--space-sidebar-popover-gap:0.45rem;--space-sidebar-nav-padding-block:0.7rem;--space-sidebar-subnav-padding-block:0.55rem;--blog-embed-height:Line truncated
|
||||
|
||||
/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-family-sans);font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--font-family-mono);font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}html{font-size:100%}@media (min-width:1024px){html{font-size:75%}}*,:after,:before{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}::-webkit-scrollbar-track{background:var(--scrollbar-track)}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:.25rem}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}body{font-family:var(--font-family-sans);background-color:var(--color-page);color:var(--color-text-strong);line-height:1.5;margin:0;padding:0;overflow-x:hidden}#editNip71TagsFieldset>legend,#nip71TagsFieldset>legend{margin-left:0;padding:0}#app{background-color:var(--color-page);color:inherit}body.modal-open,html.modal-open{overflow:hidden;height:100%}body.modal-open #app{overflow:hidden}body.modal-open #sidebar,body.modal-open #sidebarOverlay{pointer-events:none;opacity:0;visibility:hidden}body.modal-open #sidebar{z-index:var(--z-sidebar-overlay)}body.modal-open #sidebarOverlay{z-index:calc(var(--z-sidebar-overlay) - 1)}.ng-cloak,.ng-hide:not(.ng-hide-animate),.x-ng-cloak,[data-ng-cloak],[ng-cloak],[ng\:cloak],[x-ng-cloak]{display:none!important}ng\:form{display:block}.ng-animate-shim{visibility:hidden}.ng-anchor{position:absolute}.\!container{width:100%!important}.container{width:100%}@media (min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}#playerModal.ds-header{display:flex}.ds-header{display:flex;align-items:center;justify-content:flex-start;padding-top:var(--space-md);padding-bottom:var(--space-md)}.focus-ring{outline:2px solid transparent;outline-offset:2px}.focus-ring:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);--tw-ring-color:var(--color-info);--tw-ring-opacity:0.7;--tw-ring-offset-width:2px;--tw-ring-offset-color:var(--color-surface);transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:Line truncated
|
||||
/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:var(--font-family-sans);font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--font-family-mono);font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}html{font-size:100%}@media (min-width:1024px){html{font-size:75%}}*,:after,:before{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}::-webkit-scrollbar-track{background:var(--scrollbar-track)}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:.25rem}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}body{font-family:var(--font-family-sans);background-color:var(--color-page);color:var(--color-text-strong);line-height:1.5;margin:0;padding:0;overflow-x:hidden}#editNip71TagsFieldset>legend,#nip71TagsFieldset>legend{margin-left:0;padding:0}#app{background-color:var(--color-page);color:inherit}body.modal-open,html.modal-open{overflow:hidden;height:100%}body.modal-open #app{overflow:hidden}body.modal-open #sidebar,body.modal-open #sidebarOverlay{pointer-events:none;opacity:0;visibility:hidden}body.modal-open #sidebar{z-index:var(--z-sidebar-overlay)}body.modal-open #sidebarOverlay{z-index:calc(var(--z-sidebar-overlay) - 1)}.ng-cloak,.ng-hide:not(.ng-hide-animate),.x-ng-cloak,[data-ng-cloak],[ng-cloak],[ng\:cloak],[x-ng-cloak]{display:none!important}ng\:form{display:block}.ng-animate-shim{visibility:hidden}.ng-anchor{position:absolute}.\!container{width:100%!important}.container{width:100%}@media (min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}#playerModal.ds-header{display:flex}.ds-header{display:flex;align-items:center;justify-content:flex-start;padding-top:var(--space-md);padding-bottom:var(--space-md)}.focus-ring{outline:2px solid transparent;outline-offset:2px}.focus-ring:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);--tw-ring-color:var(--color-info);--tw-ring-opacity:0.7;--tw-ring-offset-width:2px;--tw-ring-offset-color:var(--color-surface);transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:Line truncated
|
||||
+336
-40
@@ -1160,6 +1160,16 @@
|
||||
@apply relative w-full rounded-xl border border-border-translucent bg-surface text-sm text-text shadow-sm;
|
||||
box-sizing: content-box;
|
||||
transform: translateZ(0);
|
||||
border-width: var(--grid-border-width);
|
||||
}
|
||||
|
||||
.ui-grid-render-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ui-grid-render-container:focus,
|
||||
.ui-grid-viewport:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.ui-grid-vertical-bar {
|
||||
@@ -1170,7 +1180,7 @@
|
||||
|
||||
.ui-grid-header-cell:not(:last-child) .ui-grid-vertical-bar,
|
||||
.ui-grid-cell:not(:last-child) .ui-grid-vertical-bar {
|
||||
width: 1px;
|
||||
width: var(--grid-border-width);
|
||||
background-color: var(--color-border-translucent-medium);
|
||||
}
|
||||
|
||||
@@ -1186,7 +1196,7 @@
|
||||
}
|
||||
|
||||
.ui-grid-header {
|
||||
border-bottom: 1px solid var(--color-border-translucent-medium);
|
||||
border-bottom: var(--grid-border-width) solid var(--color-border-translucent-medium);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -1228,12 +1238,20 @@
|
||||
position: relative;
|
||||
display: table-cell;
|
||||
box-sizing: border-box;
|
||||
border-right: 1px solid var(--color-border-translucent-medium);
|
||||
border-right: var(--grid-border-width) solid var(--color-border-translucent-medium);
|
||||
background-color: inherit;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.08em;
|
||||
font-size: var(--grid-header-font-size);
|
||||
letter-spacing: var(--grid-header-letter-spacing);
|
||||
text-transform: uppercase;
|
||||
padding: 0.75rem 1rem;
|
||||
padding-block: var(--grid-cell-padding-block);
|
||||
}
|
||||
|
||||
.ui-grid-header-cell {
|
||||
padding-inline: calc(var(--grid-cell-padding-inline) + var(--grid-sort-indicator-size));
|
||||
}
|
||||
|
||||
.ui-grid-footer-cell {
|
||||
padding-inline: var(--grid-cell-padding-inline);
|
||||
}
|
||||
|
||||
.ui-grid-header-cell:last-child,
|
||||
@@ -1245,8 +1263,37 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ui-grid-header-cell .ui-grid-sort-priority-number {
|
||||
margin-left: calc(var(--space-xs) * -1);
|
||||
}
|
||||
|
||||
.ui-grid-sortarrow {
|
||||
position: absolute;
|
||||
inset-block: 0;
|
||||
inset-inline-end: var(--grid-sort-indicator-offset);
|
||||
width: var(--grid-sort-indicator-size);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.ui-grid-sortarrow::before {
|
||||
content: "";
|
||||
border-style: solid;
|
||||
border-width: 0 var(--grid-sort-indicator-stroke) var(--grid-sort-indicator-stroke)
|
||||
var(--grid-sort-indicator-stroke);
|
||||
border-color: transparent transparent var(--color-muted-strong) transparent;
|
||||
transition: transform var(--motion-duration-base) var(--motion-ease-out);
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
.ui-grid-sortarrow.down::before {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.ui-grid-viewport {
|
||||
min-height: 20px;
|
||||
min-height: var(--grid-viewport-min-height);
|
||||
position: relative;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
@@ -1254,11 +1301,11 @@
|
||||
|
||||
.ui-grid-canvas {
|
||||
position: relative;
|
||||
padding-top: 1px;
|
||||
padding-top: var(--grid-canvas-padding-top);
|
||||
}
|
||||
|
||||
.ui-grid-row {
|
||||
border-bottom: 1px solid var(--color-border-translucent);
|
||||
border-bottom: var(--grid-border-width) solid var(--color-border-translucent);
|
||||
}
|
||||
|
||||
.ui-grid-row:nth-child(odd) .ui-grid-cell {
|
||||
@@ -1270,8 +1317,7 @@
|
||||
}
|
||||
|
||||
.ui-grid-row:last-child .ui-grid-cell {
|
||||
border-bottom-color: var(--color-border-translucent-medium);
|
||||
border-bottom-style: solid;
|
||||
border-bottom: var(--grid-border-width) solid var(--color-border-translucent-medium);
|
||||
}
|
||||
|
||||
.ui-grid-row:hover .ui-grid-cell {
|
||||
@@ -1287,7 +1333,7 @@
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
border-right: 1px solid var(--color-border-translucent-medium);
|
||||
border-right: var(--grid-border-width) solid var(--color-border-translucent-medium);
|
||||
}
|
||||
|
||||
.ui-grid-cell:last-child {
|
||||
@@ -1296,51 +1342,160 @@
|
||||
|
||||
.ui-grid-cell-contents {
|
||||
box-sizing: border-box;
|
||||
padding: 0.75rem 1rem;
|
||||
padding: var(--grid-cell-padding-block) var(--grid-cell-padding-inline);
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.ui-grid-cell-contents-hidden {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.ui-grid-cell-focus {
|
||||
outline: none;
|
||||
background-color: var(--color-info-glass);
|
||||
}
|
||||
|
||||
.ui-grid-focuser {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.ui-grid-focuser:focus {
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 var(--grid-border-width) var(--color-info-glass);
|
||||
}
|
||||
|
||||
.ui-grid-offscreen {
|
||||
position: absolute;
|
||||
width: var(--grid-border-width);
|
||||
height: var(--grid-border-width);
|
||||
margin: calc(var(--grid-border-width) * -1);
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ui-grid-no-row-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
margin: var(--grid-overlay-margin);
|
||||
padding: var(--grid-overlay-padding-block) var(--grid-overlay-padding-inline);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background-color: var(--color-surface-alt);
|
||||
border-radius: var(--grid-overlay-radius);
|
||||
border: var(--grid-border-width) solid var(--color-border-translucent-medium);
|
||||
font-size: var(--grid-overlay-font-size);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ui-grid-no-row-overlay > * {
|
||||
opacity: var(--grid-overlay-text-opacity);
|
||||
}
|
||||
|
||||
.ui-grid-menu-button {
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
inset-inline-end: 0;
|
||||
inset-block-start: 0;
|
||||
background-color: var(--color-surface-alt);
|
||||
border: 1px solid var(--color-border-translucent-medium);
|
||||
border: var(--grid-border-width) solid var(--color-border-translucent-medium);
|
||||
cursor: pointer;
|
||||
height: 2.5rem;
|
||||
height: calc(var(--space-xl) + var(--space-xs));
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.ui-grid-menu {
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
padding: 0.5rem 0.75rem 1rem;
|
||||
padding: var(--space-xs) var(--space-sm) var(--space-md);
|
||||
box-sizing: border-box;
|
||||
background-color: var(--color-surface-alt);
|
||||
border: 1px solid var(--color-border-translucent-medium);
|
||||
border: var(--grid-border-width) solid var(--color-border-translucent-medium);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: 0 22px 48px -18px var(--color-shadow-elevated);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.ui-grid-column-resizer {
|
||||
position: absolute;
|
||||
inset-block: 0;
|
||||
width: var(--grid-resizer-width);
|
||||
cursor: col-resize;
|
||||
}
|
||||
|
||||
.ui-grid-column-resizer.left {
|
||||
inset-inline-start: 0;
|
||||
}
|
||||
|
||||
.ui-grid-column-resizer.right {
|
||||
inset-inline-end: 0;
|
||||
}
|
||||
|
||||
.ui-grid.column-resizing {
|
||||
cursor: col-resize;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.ui-grid.column-resizing .ui-grid-resize-overlay {
|
||||
position: absolute;
|
||||
inset-block: 0;
|
||||
width: var(--grid-resize-overlay-width);
|
||||
background-color: var(--color-border-translucent-bright);
|
||||
}
|
||||
|
||||
.ui-grid-row-saving .ui-grid-cell {
|
||||
color: var(--color-muted-strong);
|
||||
}
|
||||
|
||||
.ui-grid-row-dirty .ui-grid-cell {
|
||||
color: var(--color-warning-strong);
|
||||
}
|
||||
|
||||
.ui-grid-row-error .ui-grid-cell {
|
||||
color: var(--color-critical-strong);
|
||||
}
|
||||
|
||||
.ui-grid-disable-selection {
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ui-grid-animate-spin {
|
||||
display: inline-block;
|
||||
animation: ui-grid-spin var(--motion-duration-slow) linear infinite;
|
||||
}
|
||||
|
||||
@keyframes ui-grid-spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* ng-notify overrides */
|
||||
.ngn {
|
||||
pointer-events: none;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset-inline: 0;
|
||||
display: none;
|
||||
z-index: 1200;
|
||||
padding: var(--space-md) var(--space-2xl);
|
||||
z-index: var(--z-notify);
|
||||
padding: var(--notify-padding-block) var(--notify-padding-inline);
|
||||
text-align: center;
|
||||
font-size: var(--font-size-base);
|
||||
font-size: var(--notify-font-size);
|
||||
font-weight: 600;
|
||||
color: var(--color-text);
|
||||
text-shadow: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ngn.ngn-visible,
|
||||
@@ -1354,11 +1509,11 @@
|
||||
}
|
||||
|
||||
.ngn-top {
|
||||
top: 0;
|
||||
inset-block-start: 0;
|
||||
}
|
||||
|
||||
.ngn-bottom {
|
||||
bottom: 0;
|
||||
inset-block-end: 0;
|
||||
}
|
||||
|
||||
.ngn-dismiss {
|
||||
@@ -1366,25 +1521,34 @@
|
||||
display: none;
|
||||
margin-left: auto;
|
||||
margin-right: var(--space-md);
|
||||
border-radius: 9999px;
|
||||
border: 1px solid transparent;
|
||||
background-color: var(--color-overlay-panel);
|
||||
color: var(--color-subtle);
|
||||
font-size: 0.875rem;
|
||||
border-radius: var(--notify-dismiss-radius);
|
||||
border: 0;
|
||||
background-color: var(--notify-dismiss-background);
|
||||
color: var(--notify-dismiss-color);
|
||||
font-size: var(--notify-dismiss-font-size);
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
width: var(--notify-dismiss-size);
|
||||
height: var(--notify-dismiss-size);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background-color var(--motion-duration-base) var(--motion-ease-out);
|
||||
}
|
||||
|
||||
.ngn-sticky .ngn-dismiss {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.ngn-dismiss:hover {
|
||||
background-color: var(--color-overlay-panel-soft);
|
||||
background-color: var(--notify-dismiss-background-hover);
|
||||
}
|
||||
|
||||
.ngn-dismiss:active {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--notify-dismiss-background-hover) 80%,
|
||||
var(--color-panel) 20%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-info {
|
||||
@@ -1408,6 +1572,138 @@
|
||||
background-color: var(--color-secondary);
|
||||
}
|
||||
|
||||
.ngn-prime {
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.ngn-prime.ngn-info {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-info-strong) 85%,
|
||||
var(--color-surface-alt) 15%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-prime.ngn-error {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-critical-strong) 85%,
|
||||
var(--color-surface-alt) 15%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-prime.ngn-success {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-info) 85%,
|
||||
var(--color-surface-alt) 15%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-prime.ngn-warn {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-warning-strong) 85%,
|
||||
var(--color-surface-alt) 15%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-prime.ngn-grimace {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-secondary) 85%,
|
||||
var(--color-surface-alt) 15%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pastel {
|
||||
color: var(--color-text-strong);
|
||||
}
|
||||
|
||||
.ngn-pastel.ngn-info {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-info) 45%,
|
||||
var(--color-surface) 55%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pastel.ngn-error {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-critical-strong) 45%,
|
||||
var(--color-surface) 55%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pastel.ngn-success {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-info) 45%,
|
||||
var(--color-surface) 55%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pastel.ngn-warn {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-warning-strong) 45%,
|
||||
var(--color-surface) 55%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pastel.ngn-grimace {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-secondary) 45%,
|
||||
var(--color-surface) 55%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pitchy {
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.ngn-pitchy.ngn-info {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-info-pressed) 75%,
|
||||
var(--color-surface-alt) 25%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pitchy.ngn-error {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-critical-strong) 75%,
|
||||
var(--color-surface-alt) 25%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pitchy.ngn-success {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-info) 75%,
|
||||
var(--color-surface-alt) 25%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pitchy.ngn-warn {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-warning-strong) 75%,
|
||||
var(--color-surface-alt) 25%
|
||||
);
|
||||
}
|
||||
|
||||
.ngn-pitchy.ngn-grimace {
|
||||
background-color: color-mix(
|
||||
in srgb,
|
||||
var(--color-secondary) 75%,
|
||||
var(--color-surface-alt) 25%
|
||||
);
|
||||
}
|
||||
|
||||
@media (max-width: 30rem) {
|
||||
.ngn {
|
||||
font-size: var(--font-size-sm);
|
||||
@@ -1415,9 +1711,9 @@
|
||||
}
|
||||
|
||||
.ngn-dismiss {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
font-size: 0.75rem;
|
||||
width: var(--notify-dismiss-size-compact);
|
||||
height: var(--notify-dismiss-size-compact);
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -274,6 +274,38 @@
|
||||
--line-height-base: 1.5;
|
||||
--line-height-relaxed: 1.75;
|
||||
|
||||
/* Beacon UI tokens */
|
||||
--grid-border-width: calc(var(--space-2xs) / 4);
|
||||
--grid-canvas-padding-top: var(--grid-border-width);
|
||||
--grid-viewport-min-height: calc(var(--space-xl) - var(--space-sm));
|
||||
--grid-cell-padding-block: var(--space-sm);
|
||||
--grid-cell-padding-inline: var(--space-md);
|
||||
--grid-header-font-size: var(--font-size-xs);
|
||||
--grid-header-letter-spacing: 0.08em;
|
||||
--grid-overlay-margin: 10%;
|
||||
--grid-overlay-padding-block: var(--space-md);
|
||||
--grid-overlay-padding-inline: var(--space-xl);
|
||||
--grid-overlay-radius: var(--radius-lg);
|
||||
--grid-overlay-font-size: var(--font-size-lg);
|
||||
--grid-overlay-text-opacity: 0.66;
|
||||
--grid-resizer-width: calc(var(--space-2xs) * 1.25);
|
||||
--grid-resize-overlay-width: var(--grid-border-width);
|
||||
--grid-sort-indicator-size: calc(var(--space-lg) - var(--space-2xs));
|
||||
--grid-sort-indicator-offset: var(--space-xs);
|
||||
--grid-sort-indicator-stroke: calc(var(--space-2xs) / 2);
|
||||
--grid-sort-indicator-thickness: var(--grid-border-width);
|
||||
--notify-padding-block: var(--space-md);
|
||||
--notify-padding-inline: var(--space-2xl);
|
||||
--notify-font-size: var(--font-size-base);
|
||||
--notify-dismiss-size: calc(var(--space-xl) + var(--space-xs));
|
||||
--notify-dismiss-size-compact: calc(var(--space-lg) + var(--space-2xs));
|
||||
--notify-dismiss-font-size: var(--font-size-sm);
|
||||
--notify-dismiss-radius: var(--radius-full);
|
||||
--notify-dismiss-color: var(--color-subtle);
|
||||
--notify-dismiss-background: var(--color-overlay-panel);
|
||||
--notify-dismiss-background-hover: var(--color-overlay-panel-soft);
|
||||
--z-notify: 1200;
|
||||
|
||||
/* Motion */
|
||||
--motion-duration-fast: 120ms;
|
||||
--motion-duration-base: 160ms;
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
# Beacon vendor CSS migration
|
||||
|
||||
This inventory captures the selectors that mattered in `torrent/dist/beacon.vendor.css` and how they now map to design-system driven rules. The goal is to keep future tweaks aligned with shared tokens rather than re-introducing ad-hoc styles or vendor bundles.
|
||||
|
||||
## Angular UI Grid
|
||||
|
||||
| Legacy selector(s) | Tailwind component mapping | Notes |
|
||||
| --- | --- | --- |
|
||||
| `.ui-grid`, `.ui-grid-render-container`, `.ui-grid-contents-wrapper` | `.ui-grid` block in `css/tailwind.source.css` | Uses shared border/box styling via `--grid-border-width`, preserving the translated container shell. |
|
||||
| `.ui-grid-top-panel-background`, `.ui-grid-footer-panel-background`, `.ui-grid-header`, `.ui-grid-top-panel` | Same block | Backgrounds and dividers now pull from `var(--color-surface-alt)` and `var(--color-border-translucent-medium)`. |
|
||||
| `.ui-grid-header-viewport`, `.ui-grid-footer-viewport`, `.ui-grid-header-canvas`, `.ui-grid-footer-canvas`, `.ui-grid-header-cell-wrapper`, `.ui-grid-footer-cell-wrapper`, `.ui-grid-header-cell-row`, `.ui-grid-footer-cell-row` | Same block | Table layout and overflow behaviour carried over verbatim. |
|
||||
| `.ui-grid-header-cell`, `.ui-grid-footer-cell`, `.ui-grid-header-cell .sortable`, `.ui-grid-header-cell .ui-grid-sort-priority-number` | Same block | Header typography now keyed off `--grid-header-font-size` and `--grid-header-letter-spacing`; sortable affordances reference spacing tokens. |
|
||||
| `.ui-grid-sortarrow`, `.ui-grid-sortarrow.down`, (icon font triangle) | `.ui-grid-sortarrow` + pseudo-element | Arrow is now rendered with CSS borders driven by `--grid-sort-indicator-*` tokens, eliminating the ui-grid icon font. |
|
||||
| `.ui-grid-vertical-bar` + child selectors | Same block | Divider widths reuse the shared border width token. |
|
||||
| `.ui-grid-viewport`, `.ui-grid-canvas` | Same block | Min heights and padding resolve through grid tokens instead of literal px. |
|
||||
| `.ui-grid-row`, row parity/hover/last-child selectors, `.ui-grid-row-selected > [ui-grid-row] > .ui-grid-cell` | Same block | Alternating row fills reference surface tokens and preserve selection colours. |
|
||||
| `.ui-grid-cell`, `.ui-grid-cell:last-child`, `.ui-grid-cell-contents`, `.ui-grid-cell-contents-hidden` | Same block | Cell padding now uses `--grid-cell-padding-*`; hidden content helper retained. |
|
||||
| `.ui-grid-cell-focus`, `.ui-grid-focuser`, `.ui-grid-offscreen` | Same block | Focus handling switches to tokenised shadows while keeping accessibility helpers. |
|
||||
| `.ui-grid-no-row-overlay`, `.ui-grid-no-row-overlay > *` | Same block | Empty-state panel adopts design-system surface/background tokens. |
|
||||
| `.ui-grid-menu-button`, `.ui-grid-menu` | Same block | Menu chrome now uses shared spacing, shadows, and border tokens. |
|
||||
| `.ui-grid-column-resizer`, `.ui-grid.column-resizing`, `.ui-grid.column-resizing .ui-grid-resize-overlay` | Same block | Resizer hit boxes use `--grid-resizer-width`; overlay colour references translucent border tokens. |
|
||||
| `.ui-grid-row-saving .ui-grid-cell`, `.ui-grid-row-dirty .ui-grid-cell`, `.ui-grid-row-error .ui-grid-cell` | Same block | Status colours mapped to `var(--color-muted-strong)`, `var(--color-warning-strong)`, and `var(--color-critical-strong)`. |
|
||||
| `.ui-grid-disable-selection` | Same block | Still prevents text selection with consistent cursor feedback. |
|
||||
| `.ui-grid-animate-spin`, `@keyframes ui-grid-spin` | Same block | Animation now hooks into the global motion duration token. |
|
||||
|
||||
> **Omitted vendor selectors:** Column menus, tree, filter icons, and other ui-grid extension classes remain unused in the beacon routes, so the icon font `@font-face` payload was intentionally dropped.
|
||||
|
||||
## ng-notify
|
||||
|
||||
| Legacy selector(s) | Tailwind component mapping | Notes |
|
||||
| --- | --- | --- |
|
||||
| `.ngn`, `.ngn.ngn-visible`, `.ngn.ngn-enter-active`, `.ngn.ngn-leave-active` | `.ngn` block in `css/tailwind.source.css` | Layout, typography, and z-index now rely on `--notify-*` and `--z-notify`. Pointer-events handling mirrors vendor behaviour. |
|
||||
| `.ngn-top`, `.ngn-bottom`, `.ngn-component` | Same block | Placement helpers rewritten with logical properties (`inset-block-*`). |
|
||||
| `.ngn-dismiss`, `.ngn-sticky .ngn-dismiss`, `.ngn-dismiss:hover`, `.ngn-dismiss:active` | Same block | Close button sizing derives from tokens; hover/active states use `color-mix` against overlay tokens. |
|
||||
| `.ngn-info`, `.ngn-error`, `.ngn-success`, `.ngn-warn`, `.ngn-grimace` | Same block | Severity palettes tie directly into existing info/warning/critical tokens. |
|
||||
| `.ngn-prime.*`, `.ngn-pastel.*`, `.ngn-pitchy.*` | Same block | Theme variants blend design-system colours via `color-mix`, preserving tonal differences without hard-coded hex values. |
|
||||
| `@media (max-width: 30rem)` overrides | Same block | Compact sizing switches to shared spacing and font-size tokens. |
|
||||
|
||||
## Font faces
|
||||
|
||||
The legacy bundle shipped three `@font-face` blocks for the `ui-grid` icon font. Sort indicators and menu affordances now render through CSS borders and shared tokens, so the icon font is no longer required or embedded in the Tailwind build.
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
<!-- Local styles -->
|
||||
<link rel="stylesheet" href="../css/tailwind.generated.css" />
|
||||
<link rel="stylesheet" href="dist/beacon.vendor.css" />
|
||||
</head>
|
||||
|
||||
<body class="bg-surface font-sans text-text" ng-controller="BTorrentCtrl" ng-cloak="">
|
||||
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
@font-face{font-family:ui-grid;src:url(data:application/vnd.ms-fontobject;base64,UCgAAKwnAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAg6LAIgAAAAAAAAAAAAAAAAAAAAAAAA4AdQBpAC0AZwByAGkAZAAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAADgB1AGkALQBnAHIAaQBkAAAAAAAAAQAAAA8AgAADAHBHU1VCIIwleQAAAPwAAABUT1MvMhlwSxMAAAFQAAAAVmNtYXCXxZgGAAABqAAAArRjdnQgBtX/BAAAG5QAAAAgZnBnbYqRkFkAABu0AAALcGdhc3AAAAAQAAAbjAAAAAhnbHlmEagYowAABFwAABIuaGVhZAvafo0AABaMAAAANmhoZWEHNwNkAAAWxAAAACRobXR4S1T/8gAAFugAAABgbG9jYS61KWIAABdIAAAAMm1heHABdAyBAAAXfAAAACBuYW1lnKAPXgAAF5wAAALBcG9zdEefNeEAABpgAAABLHByZXDlQSu8AAAnJAAAAIYAAQAAAAoAMAA+AAJsYXRuAA5ERkxUABoABAAAAAAAAAABAAAABAAAAAAAAAABAAAAAWxpZ2EACAAAAAEAAAABAAQABAAAAAEACAABAAYAAAABAAAAAQMjAZAABQAAAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABAw1DqYQNS/2oAWgNSAJYAAAABAAAAAAAAAAAABQAAAAMAAAAsAAAABAAAAZAAAQAAAAAAigADAAEAAAAsAAMACgAAAZAABABeAAAACAAIAAIAAMNj6AHqYf//AADDUOgA6mH//wAAAAAAAAABAAgALgAwAAAAAQACAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAEkAAAAAAAAABcAAMNQAADDUAAAAAEAAMNRAADDUQAAAAIAAMNSAADDUgAAAAMAAMNTAADDUwAAAAQAAMNUAADDVAAAAAUAAMNVAADDVQAAAAYAAMNWAADDVgAAAAcAAMNXAADDVwAAAAgAAMNYAADDWAAAAAkAAMNZAADDWQAAAAoAAMNaAADDWgAAAAsAAMNbAADDWwAAAAwAAMNcAADDXAAAAA0AAMNdAADDXQAAAA4AAMNeAADDXgAAAA8AAMNfAADDXwAAABAAAMNgAADDYAAAABEAAMNhAADDYQAAABIAAMNiAADDYgAAABMAAMNjAADDYwAAABQAAOgAAADoAAAAABUAAOgBAADoAQAAABYAAOphAADqYQAAABcAAgAA/7EDWQMLACMAMwBBQD4NAQABHwEEAwJHAgEAAQMBAANtBQEDBAEDBGsABwABAAcBYAAEBgYEVAAEBAZYAAYEBkw1NSMzFiMkIwgFHCsBNTQmByM1NCYnIyIGBxUjIgYHFRQWNzMVFBY7ATI2NzUzMjYTERQGByEiJjURNDY3ITIWAsoUD7MWDkcPFAGyDxQBFg6yFg5HDxQBsw4Wjl5D/elDXl5DAhdDXgE6SA4WAbMPFAEWDrMUD0gOFgGzDhYWDrMUAT/96EJeAWBBAhhCXgFgAAAAAgAA/7EDWQMLAA8AHwAdQBoAAwADbwAAAQBvAAECAW8AAgJmNTUmMwQFGCsBNTQmByEiBgcVFBY3ITI2ExEUBgchIiY1ETQ2NyEyFgLKFA/+DA8UARYOAfQOFo5eQ/3pQ15eQwIXQ14BOkgOFgEUD0gOFgEUAT/96EJeAWBBAhhCXgFgAAAAAAL///9qA6EDDQAIACEAK0AoHwEBAA4BAwECRwAEAAABBABgAAEAAwIBA2AAAgINAkkXIxQTEgUFGSsBNC4BBhQWPgEBFAYiLwEGIyIuAj4EHgIXFAcXFgKDktCSktCSAR4sOhS/ZHtQkmhAAjxsjqSObDwBRb8VAYJnkgKWypgGjP6aHSoVv0U+apCijm46BEJmlk17ZL8VAAAAAAEAAP/vAtQChgAkAB5AGyIZEAcEAAIBRwMBAgACbwEBAABmFBwUFAQFGCslFA8BBiIvAQcGIi8BJjQ/AScmND8BNjIfATc2Mh8BFhQPARcWAtQPTBAsEKSkECwQTBAQpKQQEEwQLBCkpBAsEEwPD6SkD3AWEEwPD6WlDw9MECwQpKQQLBBMEBCkpBAQTA8uD6SkDwAD//3/sQNfAwsAHgAuADsASUBGKCACBgUOBgICARgBAgQAA0cACAAFBggFYAAGAAECBgFgAAIDAQAEAgBgAAQHBwRUAAQEB1gABwQHTBUWJiYmESYjIwkFHSslNTQmKwERNCYrASIGHQEUFjsBFSMiBh0BFBY7ATI2AzU0JisBIgYdARQWOwEyNgUUDgEiLgI+ATIeAQI7Cgc2CgiyCAoKCDU1CAoKCPoHCkcKCGsICgoIawgKAWVyxujIbgZ6vPS6flJZCAoBHggKCghZCAqzCghZCAoKAfxZCAoKCFkICgrgdcR0dMTqxHR0xAAAAAACAAD/+QKDAwsABwAfACpAJwUDAgABAgEAAm0AAgJuAAQBAQRUAAQEAVgAAQQBTCMTJTYTEAYFGisTITU0Jg4BFwURFAYHISImJxE0NhczNTQ2MhYHFTMyFrMBHVR2VAEB0CAW/ekXHgEgFhGUzJYCEhceAaVsO1QCUD2h/r4WHgEgFQFCFiABbGaUlGZsHgABAAD/+QOhAwwAJQAwQC0EAQIBAAECAG0AAAMBAANrAAMDbgAFAQEFVAAFBQFYAAEFAUwTJTUjFSQGBRorARUUBgcjIiY9ATQmDgEHFTMyFhcRFAYHISImJxE0NhchNTQ+ARYDoRYOJA4WUnhSATUXHgEgFv3pFx4BIBYBd5LQkAIRjw8UARYOjztUAlA9bB4X/r4WHgEgFQFCFiABbGeSApYAAAQAAP+xA00C/wAGABQAGQAkAIZAFx4BAgUdFg4HBAMCGQMCAwADAQEBAARHS7ASUFhAJwAFAgVvAAIDAm8AAwADbwAAAQEAYwYBAQQEAVIGAQEBBFcABAEESxtAJgAFAgVvAAIDAm8AAwADbwAAAQBvBgEBBAQBUgYBAQEEVwAEAQRLWUASAAAhIBgXEA8JCAAGAAYUBwUVKxc3JwcVMxUBNCMiBwEGFRQzMjcBNicXASM1ARQPASc3NjIfARbLMoMzSAFfDAUE/tEEDQUEAS8DHuj+MOgDTRRd6F0UOxaDFAczgzM8RwIGDAT+0gQGDAQBLgRx6P4v6QGaHRVd6VwVFYMWAAAAAAEAAAAAAjwB7QAOABdAFAABAAEBRwABAAFvAAAAZjUUAgUWKwEUDwEGIi8BJjQ2MyEyFgI7CvoLHAv6CxYOAfQOFgHJDgv6Cwv6CxwWFgAAAf//AAACOwHJAA4AEUAOAAEAAW8AAABmFTICBRYrJRQGJyEiLgE/ATYyHwEWAjsUD/4MDxQCDPoKHgr6CqsOFgEUHgv6Cgr6CwAAAAEAAAAAAWcCfAANABdAFAABAAEBRwABAAFvAAAAZhcTAgUWKwERFAYiLwEmND8BNjIWAWUUIAn6Cgr6CxwYAlj+DA4WC/oLHAv6CxYAAAAAAQAAAAABQQJ9AA4ACrcAAABmFAEFFSsBFA8BBiImNRE0PgEfARYBQQr6CxwWFhwL+goBXg4L+gsWDgH0DxQCDPoKAAABAAD/wAKYA0QAFAAttQEBAAEBR0uwJFBYQAsAAAEAcAABAQwBSRtACQABAAFvAAAAZlm0FxcCBRYrCQIWFA8BBiInASY0NwE2Mh8BFhQCjv7XASkKCl0LHAv+YgsLAZ4KHgpdCgKq/tj+1woeCl0KCgGfCh4KAZ4LC10KHgAAAAEAAP/AAnQDRAAUAC21CQEAAQFHS7AkUFhACwAAAQBwAAEBDAFJG0AJAAEAAW8AAABmWbQcEgIFFisJAQYiLwEmNDcJASY0PwE2MhcBFhQCav5iCxwLXQsLASj+2AsLXQoeCgGeCgFp/mEKCl0LHAsBKQEoCxwLXQsL/mILHAAAAQAAAAACWAHmABUAGUAWDwEAAQFHAgEBAAFvAAAAZhQXFAMFFysBFAcBBiInASY0PwE2Mh8BNzYyHwEWAlgG/vwFEAT+/AYGHAUOBtvcBRAEHAYBtwcF/vsFBQEFBQ4GHAYG29sGBhwFAAAAAf/5/7EDGALDABQAGEAVDgMCAAEBRwABAAFvAAAAZjgnAgUWKwEWBwERFAcGIyIvASY1EQEmNjMhMgMPCRH+7RYHBw8Kjwr+7RITGALKFwKtFhH+7f5iFwoDC48LDgEPARMRLAAAAAAFAAD/agPoA1IAFwAnADcARwBXAFxAWVFJDAMKAkE5AggJMSkCBgchGQIABQRHAwEBBgUGAQVtAAkACAcJCF4ABwAGAQcGYAAKCgJYCwECAgxIAAUFAFgEAQAADQBJVVNNS0VDFyYmJiYUIyQUDAUdKyUUDwEGIi8BJjY7ARE0NjsBMhYVETMyFgUVFAYjISImPQE0NjMhMhYDFRQGIyEiJj0BNDYzITLine truncated
|
||||
/*! Bundled license information:
|
||||
|
||||
angular-ui-grid/ui-grid.min.css:
|
||||
(*!
|
||||
* ui-grid - v4.12.7 - 2024-04-12
|
||||
* http://ui-grid.info/
|
||||
* Copyright (c) 2024 ; License: MIT
|
||||
*)
|
||||
*/
|
||||
Vendored
+30
-138
@@ -1,138 +1,30 @@
|
||||
(()=>{var gd=Object.create;var zu=Object.defineProperty;var md=Object.getOwnPropertyDescriptor;var vd=Object.getOwnPropertyNames;var bd=Object.getPrototypeOf,yd=Object.prototype.hasOwnProperty;var Bi=(we=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(we,{get:(Q,A)=>(typeof require!="undefined"?require:Q)[A]}):we)(function(we){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+we+'" is not supported')});var wi=(we,Q)=>()=>(Q||we((Q={exports:{}}).exports,Q),Q.exports);var wd=(we,Q,A,O)=>{if(Q&&typeof Q=="object"||typeof Q=="function")for(let I of vd(Q))!yd.call(we,I)&&I!==A&&zu(we,I,{get:()=>Q[I],enumerable:!(O=md(Q,I))||O.enumerable});return we};var ta=(we,Q,A)=>(A=we!=null?gd(bd(we)):{},wd(Q||!we||!we.__esModule?zu(A,"default",{value:we,enumerable:!0}):A,we));var ju=wi(()=>{(function(we){"use strict";var Q={objectMaxDepth:5,urlErrorParamsEnabled:!0};function A(r){if(q(r))L(r.objectMaxDepth)&&(Q.objectMaxDepth=O(r.objectMaxDepth)?r.objectMaxDepth:NaN),L(r.urlErrorParamsEnabled)&&le(r.urlErrorParamsEnabled)&&(Q.urlErrorParamsEnabled=r.urlErrorParamsEnabled);else return Q}function O(r){return fe(r)&&r>0}function I(r,y){y=y||Error;var P="https://errors.angularjs.org/1.8.3/",H=P.replace(".","\\.")+"[\\s\\S]*",X=new RegExp(H,"g");return function(){var ce=arguments[0],ie=arguments[1],ne="["+(r?r+":":"")+ce+"] ",re=de(arguments,2).map(function(xe){return qe(xe,Q.objectMaxDepth)}),me,be;if(ne+=ie.replace(/\{\d+\}/g,function(xe){var ke=+xe.slice(1,-1);return ke<re.length?re[ke].replace(X,""):xe}),ne+=`
|
||||
`+P+(r?r+"/":"")+ce,Q.urlErrorParamsEnabled)for(be=0,me="?";be<re.length;be++,me="&")ne+=me+"p"+be+"="+encodeURIComponent(re[be]);return new y(ne)}}var D=/^\/(.+)\/([a-z]*)$/,T="validity",_=Object.prototype.hasOwnProperty,E=function(r){return ae(r)?r.toLowerCase():r},d=function(r){return ae(r)?r.toUpperCase():r},M,g,F,N=[].slice,J=[].splice,pe=[].push,m=Object.prototype.toString,U=Object.getPrototypeOf,k=I("ng"),p=we.angular||(we.angular={}),w,v=0;M=we.document.documentMode;function h(r){if(r==null||x(r))return!1;if(se(r)||ae(r)||g&&r instanceof g)return!0;var y="length"in Object(r)&&r.length;return fe(y)&&(y>=0&&y-1 in r||typeof r.item=="function")}function e(r,y,P){var H,X;if(r)if(K(r))for(H in r)H!=="prototype"&&H!=="length"&&H!=="name"&&r.hasOwnProperty(H)&&y.call(P,r[H],H,r);else if(se(r)||h(r)){var ce=typeof r!="object";for(H=0,X=r.length;H<X;H++)(ce||H in r)&&y.call(P,r[H],H,r)}else if(r.forEach&&r.forEach!==e)r.forEach(y,P,r);else if(ee(r))for(H in r)y.call(P,r[H],H,r);else if(typeof r.hasOwnProperty=="function")for(H in r)r.hasOwnProperty(H)&&y.call(P,r[H],H,r);else for(H in r)_.call(r,H)&&y.call(P,r[H],H,r);return r}function o(r,y,P){for(var H=Object.keys(r).sort(),X=0;X<H.length;X++)y.call(P,r[H[X]],H[X]);return H}function i(r){return function(y,P){r(P,y)}}function u(){return++v}function c(r,y){y?r.$$hashKey=y:delete r.$$hashKey}function s(r,y,P){for(var H=r.$$hashKey,X=0,ce=y.length;X<ce;++X){var ie=y[X];if(!(!q(ie)&&!K(ie)))for(var ne=Object.keys(ie),re=0,me=ne.length;re<me;re++){var be=ne[re],xe=ie[be];P&&q(xe)?Ee(xe)?r[be]=new Date(xe.valueOf()):j(xe)?r[be]=new RegExp(xe):xe.nodeName?r[be]=xe.cloneNode(!0):rt(xe)?r[be]=xe.clone():be!=="__proto__"&&(q(r[be])||(r[be]=se(xe)?[]:{}),s(r[be],[xe],!0)):r[be]=xe}}return c(r,H),r}function t(r){return s(r,N.call(arguments,1),!1)}function n(r){return s(r,N.call(arguments,1),!0)}function a(r){return parseInt(r,10)}var l=Number.isNaN||function(y){return y!==y};function f(r,y){return t(Object.create(r),y)}function b(){}b.$inject=[];function C(r){return r}C.$inject=[];function $(r){return function(){return r}}function W(r){return K(r.toString)&&r.toString!==m}function R(r){return typeof r=="undefined"}function L(r){return typeof r!="undefined"}function q(r){return r!==null&&typeof r=="object"}function ee(r){return r!==null&&typeof r=="object"&&!U(r)}function ae(r){return typeof r=="string"}function fe(r){return typeof r=="number"}function Ee(r){return m.call(r)==="[object Date]"}function se(r){return Array.isArray(r)||r instanceof Array}function B(r){var y=m.call(r);switch(y){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return r instanceof Error}}function K(r){return typeof r=="function"}function j(r){return m.call(r)==="[object RegExp]"}function x(r){return r&&r.window===r}function z(r){return r&&r.$evalAsync&&r.$watch}function Z(r){return m.call(r)==="[object File]"}function oe(r){return m.call(r)==="[object FormData]"}function Y(r){return m.call(r)==="[object Blob]"}function le(r){return typeof r=="boolean"}function ge(r){return r&&K(r.then)}var Re=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;function Ae(r){return r&&fe(r.length)&&Re.test(m.call(r))}function De(r){return m.call(r)==="[object ArrayBuffer]"}var $e=function(r){return ae(r)?r.trim():r},Ye=function(r){return r.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function rt(r){return!!(r&&(r.nodeName||r.prop&&r.attr&&r.find))}function bt(r){var y={},P=r.split(","),H;for(H=0;H<P.length;H++)y[P[H]]=!0;return y}function ut(r){return E(r.nodeName||r[0]&&r[0].nodeName)}function Me(r,y){return Array.prototype.indexOf.call(r,y)!==-1}function Ge(r,y){var P=r.indexOf(y);return P>=0&&r.splice(P,1),P}function Ze(r,y,P){var H=[],X=[];if(P=O(P)?P:NaN,y){if(Ae(y)||De(y))throw k("cpta","Can't copy! TypedArray destination cannot be mutated.");if(r===y)throw k("cpi","Can't copy! Source and destination are identical.");return se(y)?y.length=0:e(y,function(re,me){me!=="$$hashKey"&&delete y[me]}),H.push(r),X.push(y),ce(r,y,P)}return ie(r,P);function ce(re,me,be){if(be--,be<0)return"...";var xe=me.$$hashKey,ke;if(se(re))for(var Fe=0,Oe=re.length;Fe<Oe;Fe++)me.push(ie(re[Fe],be));else if(ee(re))for(ke in re)me[ke]=ie(re[ke],be);else if(re&&typeof re.hasOwnProperty=="function")for(ke in re)re.hasOwnProperty(ke)&&(me[ke]=ie(re[ke],be));else for(ke in re)_.call(re,ke)&&(me[ke]=ie(re[ke],be));return c(me,xe),me}function ie(re,me){if(!q(re))return re;var be=H.indexOf(re);if(be!==-1)return X[be];if(x(re)||z(re))throw k("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var xe=!1,ke=ne(re);return ke===void 0&&(ke=se(re)?[]:Object.create(U(re)),xe=!0),H.push(re),X.push(ke),xe?ce(re,ke,me):ke}function ne(re){switch(m.call(re)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[o
Line truncated
|
||||
`+tt.stack),Bn("modulerr",`Failed to instantiate module {0} due to:
|
||||
{1}`,Ne,tt.stack||tt.message||tt)}}),Le}function ze(Xe,Le){function Ie(nt,gt){if(Xe.hasOwnProperty(nt)){if(Xe[nt]===P)throw Bn("cdep","Circular dependency found: {0}",nt+" <- "+X.join(" <- "));return Xe[nt]}else try{return X.unshift(nt),Xe[nt]=P,Xe[nt]=Le(nt,gt),Xe[nt]}catch(Et){throw Xe[nt]===P&&delete Xe[nt],Et}finally{X.shift()}}function Ne(nt,gt,Et){for(var Rt=[],_t=fi.$$annotate(nt,y,Et),Pt=0,Zt=_t.length;Pt<Zt;Pt++){var Gt=_t[Pt];if(typeof Gt!="string")throw Bn("itkn","Incorrect injection token! Expected service name as string, got {0}",Gt);Rt.push(gt&>.hasOwnProperty(Gt)?gt[Gt]:Ie(Gt,Et))}return Rt}function Be(nt){if(M||typeof nt!="function")return!1;var gt=nt.$$ngIsClass;return le(gt)||(gt=nt.$$ngIsClass=/^class\b/.test(Ji(nt))),gt}function tt(nt,gt,Et,Rt){typeof Et=="string"&&(Rt=Et,Et=null);var _t=Ne(nt,Et,Rt);return se(nt)&&(nt=nt[nt.length-1]),Be(nt)?(_t.unshift(null),new(Function.prototype.bind.apply(nt,_t))):nt.apply(gt,_t)}function dt(nt,gt,Et){var Rt=se(nt)?nt[nt.length-1]:nt,_t=Ne(nt,gt,Et);return _t.unshift(null),new(Function.prototype.bind.apply(Rt,_t))}return{invoke:tt,instantiate:dt,get:Ie,annotate:fi.$$annotate,has:function(nt){return ie.hasOwnProperty(nt+H)||Xe.hasOwnProperty(nt)}}}}fi.$$annotate=ys;function ws(){var r=!0;this.disableAutoScrolling=function(){r=!1},this.$get=["$window","$location","$rootScope",function(y,P,H){var X=y.document;function ce(me){var be=null;return Array.prototype.some.call(me,function(xe){if(ut(xe)==="a")return be=xe,!0}),be}function ie(){var me=re.yOffset;if(K(me))me=me();else if(rt(me)){var be=me[0],xe=y.getComputedStyle(be);xe.position!=="fixed"?me=0:me=be.getBoundingClientRect().bottom}else fe(me)||(me=0);return me}function ne(me){if(me){me.scrollIntoView();var be=ie();if(be){var xe=me.getBoundingClientRect().top;y.scrollBy(0,xe-be)}}else y.scrollTo(0,0)}function re(me){me=ae(me)?me:fe(me)?me.toString():P.hash();var be;me?(be=X.getElementById(me))||(be=ce(X.getElementsByName(me)))?ne(be):me==="top"&&ne(null):ne(null)}return r&&H.$watch(function(){return P.hash()},function(be,xe){be===xe&&be===""||cs(function(){H.$evalAsync(re)})}),re}]}var ua=I("$animate"),_s=1,ca="ng-animate";function Ci(r,y){return!r&&!y?"":r?y?(se(r)&&(r=r.join(" ")),se(y)&&(y=y.join(" ")),r+" "+y):r:y}function da(r){for(var y=0;y<r.length;y++){var P=r[y];if(P.nodeType===_s)return P}}function Ss(r){ae(r)&&(r=r.split(" "));var y=Ht();return e(r,function(P){P.length&&(y[P]=!0)}),y}function Dn(r){return q(r)?r:{}}var xs=function(){this.$get=b},Ro=function(){var r=new Ki,y=[];this.$get=["$$AnimateRunner","$rootScope",function(P,H){return{enabled:b,on:b,off:b,pin:b,push:function(ne,re,me,be){be&&be(),me=me||{},me.from&&ne.css(me.from),me.to&&ne.css(me.to),(me.addClass||me.removeClass)&&ie(ne,me.addClass,me.removeClass);var xe=new P;return xe.complete(),xe}};function X(ne,re,me){var be=!1;return re&&(re=ae(re)?re.split(" "):se(re)?re:[],e(re,function(xe){xe&&(be=!0,ne[xe]=me)})),be}function ce(){e(y,function(ne){var re=r.get(ne);if(re){var me=Ss(ne.attr("class")),be="",xe="";e(re,function(ke,Fe){var Oe=!!me[Fe];ke!==Oe&&(ke?be+=(be.length?" ":"")+Fe:xe+=(xe.length?" ":"")+Fe)}),e(ne,function(ke){be&&Vi(ke,be),xe&&ji(ke,xe)}),r.delete(ne)}}),y.length=0}function ie(ne,re,me){var be=r.get(ne)||{},xe=X(be,re,!0),ke=X(be,me,!1);(xe||ke)&&(r.set(ne,be),y.push(ne),y.length===1&&H.$$postDigest(ce))}}]},Es=["$provide",function(r){var y=this,P=null,H=null;this.$$registeredAnimations=Object.create(null),this.register=function(X,ce){if(X&&X.charAt(0)!==".")throw ua("notcsel","Expecting class selector starting with '.' got '{0}'.",X);var ie=X+"-animation";y.$$registeredAnimations[X.substr(1)]=ie,r.factory(ie,ce)},this.customFilter=function(X){return arguments.length===1&&(H=K(X)?X:null),H},this.classNameFilter=function(X){if(arguments.length===1&&(P=X instanceof RegExp?X:null,P)){var ce=new RegExp("[(\\s|\\/)]"+ca+"[(\\s|\\/)]");if(ce.test(P.toString()))throw P=null,ua("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',ca)}return P},this.$get=["$$animateQueue",function(X){function ce(ie,ne,re){if(re){var me=da(re);me&&!me.parentNode&&!me.previousElementSibling&&(re=null)}re?re.after(ie):ne.prepend(ie)}return{on:X.on,off:X.off,pin:X.pin,enabled:X.enabled,cancel:function(ie){ie.cancel&&ie.cancel()},enter:function(ie,ne,re,me){return ne=ne&&g(ne),re=re&&g(re),ne=ne||re.parent(),ce(ie,ne,re),X.push(ie,"enter",Dn(me))},move:function(ie,ne,re,me){return ne=ne&&g(ne),re=re&&g(re),ne=ne||re.parent(),ce(ie,ne,re),X.push(ie,"move",Dn(me))},leave:function(ie,ne){return X.push(ie,"leave",Dn(ne),function(){ie.remove()})},addClass:function(ie,ne,re){return re=Dn(re),re.addClass=Ci(re.addclass,ne),X.push(ie,"addClass",re)},removeClass:function(ie,ne,re){return re=Dn(re),re.removeClass=Ci(re.removeClass,ne),X.push(ie,"removeClass",re)},setClass:function(ie,ne,re,me){return me=Dn(me),me.addClass=Ci(me.addClass,ne),me.removeClass=Ci(me.re
Line truncated
|
||||
`,st);tt.$apply(function(){for(var We=0,Qe=Zt.length;We<Qe;++We)try{Zt[We]()}catch(lt){Le(lt)}Zt=void 0})}finally{Pt++}}function cr(We,Qe){if(!We)return We;if(!ae(We))throw Wr("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',Qe,We.toString());for(var lt="",pt=$e(We),Ct=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,At=/\s/.test(pt)?Ct:/(,)/,$t=pt.split(At),ar=Math.floor($t.length/2),Ft=0;Ft<ar;Ft++){var Ot=Ft*2;lt+=dt.getTrustedMediaUrl($e($t[Ot])),lt+=" "+$e($t[Ot+1])}var Nt=$e($t[Ft*2]).split(/\s/);return lt+=dt.getTrustedMediaUrl($e(Nt[0])),Nt.length===2&&(lt+=" "+$e(Nt[1])),lt}function _r(We,Qe){if(Qe){var lt=Object.keys(Qe),pt,Ct,At;for(pt=0,Ct=lt.length;pt<Ct;pt++)At=lt[pt],this[At]=Qe[At]}else this.$attr={};this.$$element=We}_r.prototype={$normalize:On,$addClass:function(We){We&&We.length>0&&nt.addClass(this.$$element,We)},$removeClass:function(We){We&&We.length>0&&nt.removeClass(this.$$element,We)},$updateClass:function(We,Qe){var lt=Ai(We,Qe);lt&<.length&&nt.addClass(this.$$element,lt);var pt=Ai(Qe,We);pt&&pt.length&&nt.removeClass(this.$$element,pt)},$set:function(We,Qe,lt,pt){var Ct=this.$$element[0],At=di(Ct,We),$t=Ei(We),ar=We,Ft;At?(this.$$element.prop(We,Qe),pt=At):$t&&(this[$t]=Qe,ar=$t),this[We]=Qe,pt?this.$attr[We]=pt:(pt=this.$attr[We],pt||(this.$attr[We]=pt=ir(We,"-"))),Ft=ut(this.$$element),Ft==="img"&&We==="srcset"&&(this[We]=Qe=cr(Qe,"$set('srcset', value)")),lt!==!1&&(Qe===null||R(Qe)?this.$$element.removeAttr(pt):gt.test(pt)?At&&Qe===!1?this.$$element.removeAttr(pt):this.$$element.attr(pt,Qe):kr(this.$$element[0],pt,Qe));var Ot=this.$$observers;Ot&&e(Ot[ar],function(Nt){try{Nt(Qe)}catch(jt){Le(jt)}})},$observe:function(We,Qe){var lt=this,pt=lt.$$observers||(lt.$$observers=Ht()),Ct=pt[We]||(pt[We]=[]);return Ct.push(Qe),tt.$evalAsync(function(){!Ct.$$inter&<.hasOwnProperty(We)&&!R(lt[We])&&Qe(lt[We])}),function(){Ge(Ct,Qe)}}};function kr(We,Qe,lt){Et.innerHTML="<span "+Qe+">";var pt=Et.firstChild.attributes,Ct=pt[0];pt.removeNamedItem(Ct.name),Ct.value=lt,We.attributes.setNamedItem(Ct)}function Pr(We,Qe){try{We.addClass(Qe)}catch{}}var Gr=Xe.startSymbol(),Hr=Xe.endSymbol(),pn=Gr==="{{"&&Hr==="}}"?C:function(Qe){return Qe.replace(/\{\{/g,Gr).replace(/}}/g,Hr)},tn=/^ng(Attr|Prop|On)([A-Z].*)$/,cn=/^(.+)Start$/;return jr.$$addBindingInfo=at?function(Qe,lt){var pt=Qe.data("$binding")||[];se(lt)?pt=pt.concat(lt):pt.push(lt),Qe.data("$binding",pt)}:b,jr.$$addBindingClass=at?function(Qe){Pr(Qe,"ng-binding")}:b,jr.$$addScopeInfo=at?function(Qe,lt,pt,Ct){var At=pt?Ct?"$isolateScopeNoTemplate":"$isolateScope":"$scope";Qe.data(At,lt)}:b,jr.$$addScopeClass=at?function(Qe,lt){Pr(Qe,lt?"ng-isolate-scope":"ng-scope")}:b,jr.$$createComment=function(We,Qe){var lt="";return at&&(lt=" "+(We||"")+": ",Qe&&(lt+=Qe+" ")),we.document.createComment(lt)},jr;function jr(We,Qe,lt,pt,Ct){We instanceof g||(We=g(We));var At=Fi(We,Qe,We,lt,pt,Ct);jr.$$addScopeClass(We);var $t=null;return function(Ft,Ot,Nt){if(!We)throw Wr("multilink","This element has already been linked.");or(Ft,"scope"),Ct&&Ct.needsNewScope&&(Ft=Ft.$parent.$new()),Nt=Nt||{};var jt=Nt.parentBoundTranscludeFn,Tt=Nt.transcludeControllers,Qt=Nt.futureParentElement;jt&&jt.$$boundTransclude&&(jt=jt.$$boundTransclude),$t||($t=$i(Qt));var br;if($t!=="html"?br=g(Kl($t,g("<div></div>").append(We).html())):Ot?br=ci.clone.call(We):br=We,Tt)for(var Dr in Tt)br.data("$"+Dr+"Controller",Tt[Dr].instance);return jr.$$addScopeInfo(br,Ft),Ot&&Ot(br,Ft),At&&At(Ft,br,br,jt),Ot||(We=At=null),br}}function $i(We){var Qe=We&&We[0];return Qe&&ut(Qe)!=="foreignobject"&&m.call(Qe).match(/SVG/)?"svg":"html"}function Fi(We,Qe,lt,pt,Ct,At){for(var $t=[],ar=se(We)||We instanceof g,Ft,Ot,Nt,jt,Tt,Qt,br,Dr=0;Dr<We.length;Dr++)Ft=new _r,M===11&&Gl(We,Dr,ar),Ot=bi(We[Dr],[],Ft,Dr===0?pt:void 0,Ct),Nt=Ot.length?Iu(Ot,We[Dr],Ft,Qe,lt,null,[],[],At):null,Nt&&Nt.scope&&jr.$$addScopeClass(Ft.$$element),Tt=Nt&&Nt.terminal||!(jt=We[Dr].childNodes)||!jt.length?null:Fi(jt,Nt?(Nt.transcludeOnThisElement||!Nt.templateOnThisElement)&&Nt.transclude:Qe),(Nt||Tt)&&($t.push(Dr,Nt,Tt),Qt=!0,br=br||Nt),At=null;return Qt?Tr:null;function Tr(yr,wr,Bt,Rr){var Ar,qr,Kr,Yr,Lr,gn,nn,En,ei;if(br){var mo=wr.length;for(ei=new Array(mo),Lr=0;Lr<$t.length;Lr+=3)nn=$t[Lr],ei[nn]=wr[nn]}else ei=wr;for(Lr=0,gn=$t.length;Lr<gn;)Kr=ei[$t[Lr++]],Ar=$t[Lr++],qr=$t[Lr++],Ar?(Ar.scope?(Yr=yr.$new(),jr.$$addScopeInfo(g(Kr),Yr)):Yr=yr,Ar.transcludeOnThisElement?En=qn(yr,Ar.transclude,Rr):!Ar.templateOnThisElement&&Rr?En=Rr:!Rr&&Qe?En=qn(yr,Qe):En=null,Ar(qr,Yr,Kr,Bt,En)):qr&&qr(yr,Kr.childNodes,void 0,Rr)}}function Gl(We,Qe,lt){var pt=We[Qe],Ct=pt.parentNode,At;if(pt.nodeType===rr)for(;At=Ct?pt.nextSibling:We[Qe+1],!(!At||At.nodeType!==rr);)pt.nodeValue=pt.nodeValue+At.nodeValue,At.parentNode&&At.parentNode.removeChild(At),lt&&At===We[Qe+1]&&We.splice(Qe+1,1)}function qn(We,Qe,lt){function pt($t,ar,Ft,Ot,Nt){return $t||($t=We.$new(!1,Nt),$t.$$transcluded=!0),Qe($t,ar,{parentBoundTranscludeFn:lt,transcludeControllers:Ft
Line truncated
|
||||
`),function(X){P=X.indexOf(":"),H(E($e(X.substr(0,P))),$e(X.substr(P+1)))}):q(r)&&e(r,function(X,ce){H(E(ce),$e(X))}),y}function Ln(r){var y;return function(P){if(y||(y=ya(r)),P){var H=y[E(P)];return H===void 0&&(H=null),H}return y}}function Zn(r,y,P,H){return K(H)?H(r,y,P):(e(H,function(X){r=X(r,y,P)}),r)}function ro(r){return 200<=r&&r<300}function Bs(){var r=this.defaults={transformResponse:[to],transformRequest:[function(X){return q(X)&&!Z(X)&&!Y(X)&&!oe(X)?je(X):X}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ye(Lo),put:ye(Lo),patch:ye(Lo)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},y=!1;this.useApplyAsync=function(X){return L(X)?(y=!!X,this):y};var P=this.interceptors=[],H=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(X){this.xsrfTrustedOrigins=X}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(X,ce,ie,ne,re,me,be,xe){var ke=ne("$http");r.paramSerializer=ae(r.paramSerializer)?be.get(r.paramSerializer):r.paramSerializer;var Fe=[];e(P,function(ze){Fe.unshift(ae(ze)?be.get(ze):be.invoke(ze))});var Oe=za(H);function at(ze){if(!q(ze))throw I("$http")("badreq","Http request configuration must be an object. Received: {0}",ze);if(!ae(xe.valueOf(ze.url)))throw I("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",ze.url);var Xe=t({method:"get",transformRequest:r.transformRequest,transformResponse:r.transformResponse,paramSerializer:r.paramSerializer,jsonpCallbackParam:r.jsonpCallbackParam},ze);Xe.headers=nt(ze),Xe.method=d(Xe.method),Xe.paramSerializer=ae(Xe.paramSerializer)?be.get(Xe.paramSerializer):Xe.paramSerializer,X.$$incOutstandingRequestCount("$http");var Le=[],Ie=[],Ne=me.resolve(Xe);return e(Fe,function(Rt){(Rt.request||Rt.requestError)&&Le.unshift(Rt.request,Rt.requestError),(Rt.response||Rt.responseError)&&Ie.push(Rt.response,Rt.responseError)}),Ne=Be(Ne,Le),Ne=Ne.then(gt),Ne=Be(Ne,Ie),Ne=Ne.finally(tt),Ne;function Be(Rt,_t){for(var Pt=0,Zt=_t.length;Pt<Zt;){var Gt=_t[Pt++],cr=_t[Pt++];Rt=Rt.then(Gt,cr)}return _t.length=0,Rt}function tt(){X.$$completeOutstandingRequest(b,"$http")}function dt(Rt,_t){var Pt,Zt={};return e(Rt,function(Gt,cr){K(Gt)?(Pt=Gt(_t),Pt!=null&&(Zt[cr]=Pt)):Zt[cr]=Gt}),Zt}function nt(Rt){var _t=r.headers,Pt=t({},Rt.headers),Zt,Gt,cr;_t=t({},_t.common,_t[E(Rt.method)]);e:for(Zt in _t){Gt=E(Zt);for(cr in Pt)if(E(cr)===Gt)continue e;Pt[Zt]=_t[Zt]}return dt(Pt,ye(Rt))}function gt(Rt){var _t=Rt.headers,Pt=Zn(Rt.data,Ln(_t),void 0,Rt.transformRequest);return R(Pt)&&e(_t,function(Zt,Gt){E(Gt)==="content-type"&&delete _t[Gt]}),R(Rt.withCredentials)&&!R(r.withCredentials)&&(Rt.withCredentials=r.withCredentials),ot(Rt,Pt).then(Et,Et)}function Et(Rt){var _t=t({},Rt);return _t.data=Zn(Rt.data,Rt.headers,Rt.status,Xe.transformResponse),ro(Rt.status)?_t:me.reject(_t)}}return at.pendingRequests=[],vt("get","delete","head","jsonp"),st("post","put","patch"),at.defaults=r,at;function vt(ze){e(arguments,function(Xe){at[Xe]=function(Le,Ie){return at(t({},Ie||{},{method:Xe,url:Le}))}})}function st(ze){e(arguments,function(Xe){at[Xe]=function(Le,Ie,Ne){return at(t({},Ne||{},{method:Xe,url:Le,data:Ie}))}})}function ot(ze,Xe){var Le=me.defer(),Ie=Le.promise,Ne,Be,tt=ze.headers,dt=E(ze.method)==="jsonp",nt=ze.url;if(dt?nt=xe.getTrustedResourceUrl(nt):ae(nt)||(nt=xe.valueOf(nt)),nt=it(nt,ze.paramSerializer(ze.params)),dt&&(nt=ct(nt,ze.jsonpCallbackParam)),at.pendingRequests.push(ze),Ie.then(Zt,Zt),(ze.cache||r.cache)&&ze.cache!==!1&&(ze.method==="GET"||ze.method==="JSONP")&&(Ne=q(ze.cache)?ze.cache:q(r.cache)?r.cache:ke),Ne&&(Be=Ne.get(nt),L(Be)?ge(Be)?Be.then(Pt,Pt):se(Be)?_t(Be[1],Be[0],ye(Be[2]),Be[3],Be[4]):_t(Be,200,{},"OK","complete"):Ne.put(nt,Ie)),R(Be)){var gt=Oe(ze.url)?ie()[ze.xsrfCookieName||r.xsrfCookieName]:void 0;gt&&(tt[ze.xsrfHeaderName||r.xsrfHeaderName]=gt),ce(ze.method,nt,Xe,Rt,tt,ze.timeout,ze.withCredentials,ze.responseType,Et(ze.eventHandlers),Et(ze.uploadEventHandlers))}return Ie;function Et(Gt){if(Gt){var cr={};return e(Gt,function(_r,kr){cr[kr]=function(Pr){y?re.$applyAsync(Gr):re.$$phase?Gr():re.$apply(Gr);function Gr(){_r(Pr)}}}),cr}}function Rt(Gt,cr,_r,kr,Pr){Ne&&(ro(Gt)?Ne.put(nt,[Gt,cr,ya(_r),kr,Pr]):Ne.remove(nt));function Gr(){_t(cr,Gt,_r,kr,Pr)}y?re.$applyAsync(Gr):(Gr(),re.$$phase||re.$apply())}function _t(Gt,cr,_r,kr,Pr){cr=cr>=-1?cr:0,(ro(cr)?Le.resolve:Le.reject)({data:Gt,status:cr,headers:Ln(_r),config:ze,statusText:kr,xhrStatus:Pr})}function Pt(Gt){_t(Gt.data,Gt.status,ye(Gt.headers()),Gt.statusText,Gt.xhrStatus)}function Zt(){var Gt=at.pendingRequests.indexOf(ze);Gt!==-1&&at.pendingRequests.splice(Gt,1)}}function it(ze,Xe){return Xe.length>0&&(ze+=(ze.indexOf("?")===-1?"?":"&")+Xe),ze}function ct(ze,Xe){var Le=ze.split("?");if(Le.length>2
Line truncated
|
||||
Strict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce`,r)},ni.interr=function(r,y){return ni("interr",`Can't interpolate: {0}
|
||||
{1}`,r,y.toString())};function Sa(){var r="{{",y="}}";this.startSymbol=function(P){return P?(r=P,this):r},this.endSymbol=function(P){return P?(y=P,this):y},this.$get=["$parse","$exceptionHandler","$sce",function(P,H,X){var ce=r.length,ie=y.length,ne=new RegExp(r.replace(/./g,me),"g"),re=new RegExp(y.replace(/./g,me),"g");function me(Fe){return"\\\\\\"+Fe}function be(Fe){return Fe.replace(ne,r).replace(re,y)}function xe(Fe,Oe,at,vt){var st=Fe.$watch(function(it){return st(),vt(it)},Oe,at);return st}function ke(Fe,Oe,at,vt){var st=at===X.URL||at===X.MEDIA_URL;if(!Fe.length||Fe.indexOf(r)===-1){if(Oe)return;var ot=be(Fe);st&&(ot=X.getTrusted(at,ot));var it=$(ot);return it.exp=Fe,it.expressions=[],it.$$watchDelegate=xe,it}vt=!!vt;for(var ct,ze,Xe=0,Le=[],Ie,Ne=Fe.length,Be,tt=[],dt=[],nt;Xe<Ne;)if((ct=Fe.indexOf(r,Xe))!==-1&&(ze=Fe.indexOf(y,ct+ce))!==-1)Xe!==ct&&tt.push(be(Fe.substring(Xe,ct))),Be=Fe.substring(ct+ce,ze),Le.push(Be),Xe=ze+ie,dt.push(tt.length),tt.push("");else{Xe!==Ne&&tt.push(be(Fe.substring(Xe)));break}nt=tt.length===1&&dt.length===1;var gt=st&&nt?void 0:Rt;if(Ie=Le.map(function(_t){return P(_t,gt)}),!Oe||Le.length){var Et=function(_t){for(var Pt=0,Zt=Le.length;Pt<Zt;Pt++){if(vt&&R(_t[Pt]))return;tt[dt[Pt]]=_t[Pt]}return st?X.getTrusted(at,nt?tt[0]:tt.join("")):(at&&tt.length>1&&ni.throwNoconcat(Fe),tt.join(""))};return t(function(Pt){var Zt=0,Gt=Le.length,cr=new Array(Gt);try{for(;Zt<Gt;Zt++)cr[Zt]=Ie[Zt](Pt);return Et(cr)}catch(_r){H(ni.interr(Fe,_r))}},{exp:Fe,expressions:Le,$$watchDelegate:function(_t,Pt){var Zt;return _t.$watchGroup(Ie,function(cr,_r){var kr=Et(cr);Pt.call(this,kr,cr!==_r?Zt:kr,_t),Zt=kr})}})}function Rt(_t){try{return _t=at&&!st?X.getTrusted(at,_t):X.valueOf(_t),vt&&!L(_t)?_t:fr(_t)}catch(Pt){H(ni.interr(Fe,Pt))}}}return ke.startSymbol=function(){return r},ke.endSymbol=function(){return y},ke}]}var Us=I("$interval");function zs(){this.$get=["$$intervalFactory","$window",function(r,y){var P={},H=function(ie,ne,re){var me=y.setInterval(ie,ne);return P[me]=re,me},X=function(ie){y.clearInterval(ie),delete P[ie]},ce=r(H,X);return ce.cancel=function(ie){if(!ie)return!1;if(!ie.hasOwnProperty("$$intervalId"))throw Us("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!P.hasOwnProperty(ie.$$intervalId))return!1;var ne=ie.$$intervalId,re=P[ne];return oo(re.promise),re.reject("canceled"),X(ne),!0},ce}]}function js(){this.$get=["$browser","$q","$$q","$rootScope",function(r,y,P,H){return function(ce,ie){return function(re,me,be,xe){var ke=arguments.length>4,Fe=ke?de(arguments,4):[],Oe=0,at=L(xe)&&!xe,vt=(at?P:y).defer(),st=vt.promise;be=L(be)?be:0;function ot(){ke?re.apply(null,Fe):re(Oe)}function it(){at?r.defer(ot):H.$evalAsync(ot),vt.notify(Oe++),be>0&&Oe>=be&&(vt.resolve(Oe),ie(st.$$intervalId)),at||H.$apply()}return st.$$intervalId=ce(it,me,vt,at),st}}}]}var Vs=function(){this.$get=function(){var r=p.callbacks,y={};function P(H){var X=function(ce){X.data=ce,X.called=!0};return X.id=H,X}return{createCallback:function(H){var X="_"+(r.$$counter++).toString(36),ce="angular.callbacks."+X,ie=P(X);return y[ce]=r[X]=ie,ce},wasCalled:function(H){return y[H].called},getResponse:function(H){return y[H].data},removeCallback:function(H){var X=y[H];delete r[X.id],delete y[H]}}}},Ws=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Gs={http:80,https:443,ftp:21},Ti=I("$location");function Ys(r){for(var y=r.split("/"),P=y.length;P--;)y[P]=Wt(y[P].replace(/%2F/g,"/"));return y.join("/")}function qs(r,y){for(var P=r.split("/"),H=P.length;H--;)P[H]=decodeURIComponent(P[H]),y&&(P[H]=P[H].replace(/\//g,"%2F"));return P.join("/")}function Ks(r,y,P){var H=St(y),X=P?"#"+Wt(P):"",ce=Ys(r);return ce+(H?"?"+H:"")+X}function xa(r,y){var P=xt(r);y.$$protocol=P.protocol,y.$$host=P.hostname,y.$$port=a(P.port)||Gs[P.protocol]||null}var Js=/^\s*[\\/]{2,}/;function Ea(r,y,P){if(Js.test(r))throw Ti("badpath",'Invalid url "{0}".',r);var H=r.charAt(0)!=="/";H&&(r="/"+r);var X=xt(r),ce=H&&X.pathname.charAt(0)==="/"?X.pathname.substring(1):X.pathname;y.$$path=qs(ce,P),y.$$search=mr(X.search),y.$$hash=decodeURIComponent(X.hash),y.$$path&&y.$$path.charAt(0)!=="/"&&(y.$$path="/"+y.$$path)}function $o(r,y){return r.slice(0,y.length)===y}function Mn(r,y){if($o(y,r))return y.substr(r.length)}function ii(r){var y=r.indexOf("#");return y===-1?r:r.substr(0,y)}function Xs(r){return r.substr(0,ii(r).lastIndexOf("/")+1)}function Zs(r){return r.substring(0,r.indexOf("/",r.indexOf("//")+2))}function Fo(r,y,P){this.$$html5=!0,P=P||"",xa(r,this),this.$$parse=function(H){var X=Mn(y,H);if(!ae(X))throw Ti("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',H,y);Ea(X,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(H){return y+H.substr(1)},this.$$parseLinkUrl=function(H,X){if(X&&X[0]==="#")return this.hash(X.slice(1)),!0;var ce,ie,ne;return L(ce=Mn(r,H))?(ie=ce,P&&L(ce=Mn(P,ce))?ne=y+(Mn("/",ce)||ce):ne=r+ie):L(ce=Mn(y,H))?ne=y+ce:y===H+"/"&&(ne=y),ne&&this.$$Line truncated
|
||||
`+ie.stack:ie.stack:ie.sourceURL&&(ie=ie.message+`
|
||||
`+ie.sourceURL+":"+ie.line)),ie}function ce(ie){var ne=P.console||{},re=ne[ie]||ne.log||b;return function(){var me=[];return e(arguments,function(be){me.push(X(be))}),Function.prototype.apply.call(re,ne,me)}}}]}var Yn=I("$parse"),hi={}.constructor.prototype.valueOf;function Ii(r){return r+""}var Pi=Ht();e("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(r){Pi[r]=!0});var pi={n:`
|
||||
`,f:"\f",r:"\r",t:" ",v:"\v","'":"'",'"':'"'},Di=function(y){this.options=y};Di.prototype={constructor:Di,lex:function(r){for(this.text=r,this.index=0,this.tokens=[];this.index<this.text.length;){var y=this.text.charAt(this.index);if(y==='"'||y==="'")this.readString(y);else if(this.isNumber(y)||y==="."&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(y,"(){}[].,;:?"))this.tokens.push({index:this.index,text:y}),this.index++;else if(this.isWhitespace(y))this.index++;else{var P=y+this.peek(),H=P+this.peek(2),X=Pi[y],ce=Pi[P],ie=Pi[H];if(X||ce||ie){var ne=ie?H:ce?P:y;this.tokens.push({index:this.index,text:ne,operator:!0}),this.index+=ne.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(r,y){return y.indexOf(r)!==-1},peek:function(r){var y=r||1;return this.index+y<this.text.length?this.text.charAt(this.index+y):!1},isNumber:function(r){return"0"<=r&&r<="9"&&typeof r=="string"},isWhitespace:function(r){return r===" "||r==="\r"||r===" "||r===`
|
||||
`||r==="\v"||r==="\xA0"},isIdentifierStart:function(r){return this.options.isIdentifierStart?this.options.isIdentifierStart(r,this.codePointAt(r)):this.isValidIdentifierStart(r)},isValidIdentifierStart:function(r){return"a"<=r&&r<="z"||"A"<=r&&r<="Z"||r==="_"||r==="$"},isIdentifierContinue:function(r){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(r,this.codePointAt(r)):this.isValidIdentifierContinue(r)},isValidIdentifierContinue:function(r,y){return this.isValidIdentifierStart(r,y)||this.isNumber(r)},codePointAt:function(r){return r.length===1?r.charCodeAt(0):(r.charCodeAt(0)<<10)+r.charCodeAt(1)-56613888},peekMultichar:function(){var r=this.text.charAt(this.index),y=this.peek();if(!y)return r;var P=r.charCodeAt(0),H=y.charCodeAt(0);return P>=55296&&P<=56319&&H>=56320&&H<=57343?r+y:r},isExpOperator:function(r){return r==="-"||r==="+"||this.isNumber(r)},throwError:function(r,y,P){P=P||this.index;var H=L(y)?"s "+y+"-"+this.index+" ["+this.text.substring(y,P)+"]":" "+P;throw Yn("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",r,H,this.text)},readNumber:function(){for(var r="",y=this.index;this.index<this.text.length;){var P=E(this.text.charAt(this.index));if(P==="."||this.isNumber(P))r+=P;else{var H=this.peek();if(P==="e"&&this.isExpOperator(H))r+=P;else if(this.isExpOperator(P)&&H&&this.isNumber(H)&&r.charAt(r.length-1)==="e")r+=P;else if(this.isExpOperator(P)&&(!H||!this.isNumber(H))&&r.charAt(r.length-1)==="e")this.throwError("Invalid exponent");else break}this.index++}this.tokens.push({index:y,text:r,constant:!0,value:Number(r)})},readIdent:function(){var r=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var y=this.peekMultichar();if(!this.isIdentifierContinue(y))break;this.index+=y.length}this.tokens.push({index:r,text:this.text.slice(r,this.index),identifier:!0})},readString:function(r){var y=this.index;this.index++;for(var P="",H=r,X=!1;this.index<this.text.length;){var ce=this.text.charAt(this.index);if(H+=ce,X){if(ce==="u"){var ie=this.text.substring(this.index+1,this.index+5);ie.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+ie+"]"),this.index+=4,P+=String.fromCharCode(parseInt(ie,16))}else{var ne=pi[ce];P=P+(ne||ce)}X=!1}else if(ce==="\\")X=!0;else if(ce===r){this.index++,this.tokens.push({index:y,text:H,constant:!0,value:P});return}else P+=ce;this.index++}this.throwError("Unterminated quote",y)}};var kt=function(y,P){this.lexer=y,this.options=P};kt.Program="Program",kt.ExpressionStatement="ExpressionStatement",kt.AssignmentExpression="AssignmentExpression",kt.ConditionalExpression="ConditionalExpression",kt.LogicalExpression="LogicalExpression",kt.BinaryExpression="BinaryExpression",kt.UnaryExpression="UnaryExpression",kt.CallExpression="CallExpression",kt.MemberExpression="MemberExpression",kt.Identifier="Identifier",kt.Literal="Literal",kt.ArrayExpression="ArrayExpression",kt.Property="Property",kt.ObjectExpression="ObjectExpression",kt.ThisExpression="ThisExpression",kt.LocalsExpression="LocalsExpression",kt.NGValueParameter="NGValueParameter",kt.prototype={ast:function(r){this.text=r,this.tokens=this.lexer.lex(r);var y=this.program();return this.tokens.length!==0&&this.throwError("is an unexpected token",this.tokens[0]),y},program:function(){for(var r=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&r.push(this.expressionStatement()),!this.expect(";"))return{type:kt.Program,body:r}},expressionStatement:function(){return{type:kt.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var r=this.expression();this.expect("|");)r=this.filter(r);return r},expression:function(){return this.assignment()},assignment:function(){var r=this.ternary();if(this.expect("=")){if(!Da(r))throw Yn("lval","Trying to assign a value to a non l-value");r={type:kt.AssignmentExpression,left:r,right:this.assignment(),operator:"="}}return r},ternary:function(){var r=this.logicalOR(),y,P;return this.expect("?")&&(y=this.expression(),this.consume(":"))?(P=this.expression(),{type:kt.ConditionalExpression,test:r,alternate:y,consequent:P}):r},logicalOR:function(){for(var r=this.logicalAND();this.expect("||");)r={type:kt.LogicalExpression,operator:"||",left:r,right:this.logicalAND()};return r},logicalAND:function(){for(var r=this.equality();this.expect("&&");)r={type:kt.LogicalExpression,operator:"&&",left:r,right:this.equality()};return r},equality:function(){for(var r=this.relational(),y;y=this.expect("==","!=","===","!==");)r={type:kt.BinaryExpression,operator:y.text,left:r,right:this.relational()};return r},relational:function(){for(var r=this.additive(),y;y=this.expect("<",">","<=",">=");)r={type:kt.BinaryExpression,operator:y.text,left:r,right:this.additive()};return r},additive:function(){for(var r=this.multiplicative(),y;y=this.expect("+","-");)r={type:kt.BinaryExpression,operator:y.text,left:r,right:this.multiplicative()};return r},multiplicative:function(){for(var r=this.unary(),y;y=th
Line truncated
|
||||
`+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+P+this.watchFns()+"return fn;",ne=new Function("$filter","getStringValue","ifDefined","plus",ie)(this.$filter,Ii,el,Ra);return this.state=this.stage=void 0,ne},USE:"use",STRICT:"strict",watchFns:function(){var r=[],y=this.state.inputs,P=this;return e(y,function(H){r.push("var "+H.name+"="+P.generateFunction(H.name,"s")),H.isPure&&r.push(H.name,".isPure="+JSON.stringify(H.isPure)+";")}),y.length&&r.push("fn.inputs=["+y.map(function(H){return H.name}).join(",")+"];"),r.join("")},generateFunction:function(r,y){return"function("+y+"){"+this.varsPrefix(r)+this.body(r)+"};"},filterPrefix:function(){var r=[],y=this;return e(this.state.filters,function(P,H){r.push(P+"=$filter("+y.escape(H)+")")}),r.length?"var "+r.join(",")+";":""},varsPrefix:function(r){return this.state[r].vars.length?"var "+this.state[r].vars.join(",")+";":""},body:function(r){return this.state[r].body.join("")},recurse:function(r,y,P,H,X,ce){var ie,ne,re=this,me,be,xe;if(H=H||b,!ce&&L(r.watchId)){y=y||this.nextId(),this.if_("i",this.lazyAssign(y,this.computedMember("i",r.watchId)),this.lazyRecurse(r,y,P,H,X,!0));return}switch(r.type){case kt.Program:e(r.body,function(ke,Fe){re.recurse(ke.expression,void 0,void 0,function(Oe){ne=Oe}),Fe!==r.body.length-1?re.current().body.push(ne,";"):re.return_(ne)});break;case kt.Literal:be=this.escape(r.value),this.assign(y,be),H(y||be);break;case kt.UnaryExpression:this.recurse(r.argument,void 0,void 0,function(ke){ne=ke}),be=r.operator+"("+this.ifDefined(ne,0)+")",this.assign(y,be),H(be);break;case kt.BinaryExpression:this.recurse(r.left,void 0,void 0,function(ke){ie=ke}),this.recurse(r.right,void 0,void 0,function(ke){ne=ke}),r.operator==="+"?be=this.plus(ie,ne):r.operator==="-"?be=this.ifDefined(ie,0)+r.operator+this.ifDefined(ne,0):be="("+ie+")"+r.operator+"("+ne+")",this.assign(y,be),H(be);break;case kt.LogicalExpression:y=y||this.nextId(),re.recurse(r.left,y),re.if_(r.operator==="&&"?y:re.not(y),re.lazyRecurse(r.right,y)),H(y);break;case kt.ConditionalExpression:y=y||this.nextId(),re.recurse(r.test,y),re.if_(y,re.lazyRecurse(r.alternate,y),re.lazyRecurse(r.consequent,y)),H(y);break;case kt.Identifier:y=y||this.nextId(),P&&(P.context=re.stage==="inputs"?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",r.name)+"?l:s"),P.computed=!1,P.name=r.name),re.if_(re.stage==="inputs"||re.not(re.getHasOwnProperty("l",r.name)),function(){re.if_(re.stage==="inputs"||"s",function(){X&&X!==1&&re.if_(re.isNull(re.nonComputedMember("s",r.name)),re.lazyAssign(re.nonComputedMember("s",r.name),"{}")),re.assign(y,re.nonComputedMember("s",r.name))})},y&&re.lazyAssign(y,re.nonComputedMember("l",r.name))),H(y);break;case kt.MemberExpression:ie=P&&(P.context=this.nextId())||this.nextId(),y=y||this.nextId(),re.recurse(r.object,ie,void 0,function(){re.if_(re.notNull(ie),function(){r.computed?(ne=re.nextId(),re.recurse(r.property,ne),re.getStringValue(ne),X&&X!==1&&re.if_(re.not(re.computedMember(ie,ne)),re.lazyAssign(re.computedMember(ie,ne),"{}")),be=re.computedMember(ie,ne),re.assign(y,be),P&&(P.computed=!0,P.name=ne)):(X&&X!==1&&re.if_(re.isNull(re.nonComputedMember(ie,r.property.name)),re.lazyAssign(re.nonComputedMember(ie,r.property.name),"{}")),be=re.nonComputedMember(ie,r.property.name),re.assign(y,be),P&&(P.computed=!1,P.name=r.property.name))},function(){re.assign(y,"undefined")}),H(y)},!!X);break;case kt.CallExpression:y=y||this.nextId(),r.filter?(ne=re.filter(r.callee.name),me=[],e(r.arguments,function(ke){var Fe=re.nextId();re.recurse(ke,Fe),me.push(Fe)}),be=ne+"("+me.join(",")+")",re.assign(y,be),H(y)):(ne=re.nextId(),ie={},me=[],re.recurse(r.callee,ne,ie,function(){re.if_(re.notNull(ne),function(){e(r.arguments,function(ke){re.recurse(ke,r.constant?void 0:re.nextId(),void 0,function(Fe){me.push(Fe)})}),ie.name?be=re.member(ie.context,ie.name,ie.computed)+"("+me.join(",")+")":be=ne+"("+me.join(",")+")",re.assign(y,be)},function(){re.assign(y,"undefined")}),H(y)}));break;case kt.AssignmentExpression:ne=this.nextId(),ie={},this.recurse(r.left,void 0,ie,function(){re.if_(re.notNull(ie.context),function(){re.recurse(r.right,ne),be=re.member(ie.context,ie.name,ie.computed)+r.operator+ne,re.assign(y,be),H(y||be)})},1);break;case kt.ArrayExpression:me=[],e(r.elements,function(ke){re.recurse(ke,r.constant?void 0:re.nextId(),void 0,function(Fe){me.push(Fe)})}),be="["+me.join(",")+"]",this.assign(y,be),H(y||be);break;case kt.ObjectExpression:me=[],xe=!1,e(r.properties,function(ke){ke.computed&&(xe=!0)}),xe?(y=y||this.nextId(),this.assign(y,"{}"),e(r.properties,function(ke){ke.computed?(ie=re.nextId(),re.recurse(ke.key,ie)):ie=ke.key.type===kt.Identifier?ke.key.name:""+ke.key.value,ne=re.nextId(),re.recurse(ke.value,ne),re.assign(re.member(y,ie,ke.computed),ne)})):(e(r.properties,function(ke){re.recurse(ke.value,r.constant?void 0:re.nextId(),void 0,function(Fe){me.push(re.escape(ke.key.type===kt.Identifier?ke.key.name:""+ke.key.value)+":"+Fe)})}),be="{
Line truncated
|
||||
Watchers fired in the last 5 iterations: {1}`,r,Pt)}while(nt||ke.length);for(st();at<Fe.length;)try{Fe[at++]()}catch(_r){ce(_r)}Fe.length=at=0,ne.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var Le=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===xe&&ne.$$applicationDestroyed(),ot(this,-this.$$watchersCount);for(var Ie in this.$$listenerCount)it(this,this.$$listenerCount[Ie],Ie);Le&&Le.$$childHead===this&&(Le.$$childHead=this.$$nextSibling),Le&&Le.$$childTail===this&&(Le.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=b,this.$on=this.$watch=this.$watchGroup=function(){return b},this.$$listeners={},this.$$nextSibling=null,me(this)}},$eval:function(Le,Ie){return ie(Le)(this,Ie)},$evalAsync:function(Le,Ie){!xe.$$phase&&!ke.length&&ne.defer(function(){ke.length&&xe.$digest()},null,"$evalAsync"),ke.push({scope:this,fn:ie(Le),locals:Ie})},$$postDigest:function(Le){Fe.push(Le)},$apply:function(Le){try{vt("$apply");try{return this.$eval(Le)}finally{st()}}catch(Ie){ce(Ie)}finally{try{xe.$digest()}catch(Ie){throw ce(Ie),Ie}}},$applyAsync:function(Le){var Ie=this;Le&&Oe.push(Ne),Le=ie(Le),Xe();function Ne(){Ie.$eval(Le)}},$on:function(Le,Ie){var Ne=this.$$listeners[Le];Ne||(this.$$listeners[Le]=Ne=[]),Ne.push(Ie);var Be=this;do Be.$$listenerCount[Le]||(Be.$$listenerCount[Le]=0),Be.$$listenerCount[Le]++;while(Be=Be.$parent);var tt=this;return function(){var dt=Ne.indexOf(Ie);dt!==-1&&(delete Ne[dt],it(tt,1,Le))}},$emit:function(Le,Ie){var Ne=[],Be,tt=this,dt=!1,nt={name:Le,targetScope:tt,stopPropagation:function(){dt=!0},preventDefault:function(){nt.defaultPrevented=!0},defaultPrevented:!1},gt=te([nt],arguments,1),Et,Rt;do{for(Be=tt.$$listeners[Le]||Ne,nt.currentScope=tt,Et=0,Rt=Be.length;Et<Rt;Et++){if(!Be[Et]){Be.splice(Et,1),Et--,Rt--;continue}try{Be[Et].apply(null,gt)}catch(_t){ce(_t)}}if(dt)break;tt=tt.$parent}while(tt);return nt.currentScope=null,nt},$broadcast:function(Le,Ie){var Ne=this,Be=Ne,tt=Ne,dt={name:Le,targetScope:Ne,preventDefault:function(){dt.defaultPrevented=!0},defaultPrevented:!1};if(!Ne.$$listenerCount[Le])return dt;for(var nt=te([dt],arguments,1),gt,Et,Rt;Be=tt;){for(dt.currentScope=Be,gt=Be.$$listeners[Le]||[],Et=0,Rt=gt.length;Et<Rt;Et++){if(!gt[Et]){gt.splice(Et,1),Et--,Rt--;continue}try{gt[Et].apply(null,nt)}catch(_t){ce(_t)}}if(!(tt=Be.$$listenerCount[Le]&&Be.$$childHead||Be!==Ne&&Be.$$nextSibling))for(;Be!==Ne&&!(tt=Be.$$nextSibling);)Be=Be.$parent}return dt.currentScope=null,dt}};var xe=new be,ke=xe.$$asyncQueue=[],Fe=xe.$$postDigestQueue=[],Oe=xe.$$applyAsyncQueue=[],at=0;return xe;function vt(Le){if(xe.$$phase)throw y("inprog","{0} already in progress",xe.$$phase);xe.$$phase=Le}function st(){xe.$$phase=null}function ot(Le,Ie){do Le.$$watchersCount+=Ie;while(Le=Le.$parent)}function it(Le,Ie,Ne){do Le.$$listenerCount[Ne]-=Ie,Le.$$listenerCount[Ne]===0&&delete Le.$$listenerCount[Ne];while(Le=Le.$parent)}function ct(){}function ze(){for(;Oe.length;)try{Oe.shift()()}catch(Le){ce(Le)}H=null}function Xe(){H===null&&(H=ne.defer(function(){xe.$apply(ze)},null,"$applyAsync"))}}]}function cl(){var r=/^\s*(https?|s?ftp|mailto|tel|file):/,y=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(P){return L(P)?(r=P,this):r},this.imgSrcSanitizationTrustedUrlList=function(P){return L(P)?(y=P,this):y},this.$get=function(){return function(H,X){var ce=X?y:r,ie=xt(H&&H.trim()).href;return ie!==""&&!ie.match(ce)?"unsafe:"+ie:H}}}var Hn=I("$sce"),Nr={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},dl=/_([a-z])/g;function Uo(r){return r.replace(dl,yn)}function fl(r){if(r==="self")return r;if(ae(r)){if(r.indexOf("***")>-1)throw Hn("iwcard","Illegal sequence *** in string matcher. String: {0}",r);return r=Ye(r).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+r+"$")}else{if(j(r))return new RegExp("^"+r.source+"$");throw Hn("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}}function Na(r){var y=[];return L(r)&&e(r,function(P){y.push(fl(P))}),y}function hl(){this.SCE_CONTEXTS=Nr;var r=["self"],y=[];this.trustedResourceUrlList=function(P){return arguments.length&&(r=Na(P)),r},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(P){this.trustedResourceUrlList=P}}),this.bannedResourceUrlList=function(P){return arguments.length&&(y=Na(P)),y},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(P){this.bannedResourceUrlList=P}}),this.$get=["$injector","$$sanitizeUri",function(P,H){var X=function(Oe){throw Hn(
Line truncated
|
||||
[`+Ve+"] ";for(ht in arguments[0])D(arguments[0],ht)&&(Ce+=ht+": "+arguments[0][ht]+", ");Ce=Ce.slice(0,-2)}else Ce=arguments[Ve];ve.push(Ce)}e(S+`
|
||||
Arguments: `+Array.prototype.slice.call(ve).join("")+`
|
||||
`+new Error().stack),he=!1}return V.apply(this,arguments)},V)}var i={};function u(S,V){Q.deprecationHandler!=null&&Q.deprecationHandler(S,V),i[S]||(e(V),i[S]=!0)}Q.suppressDeprecationWarnings=!1,Q.deprecationHandler=null;function c(S){return typeof Function!="undefined"&&S instanceof Function||Object.prototype.toString.call(S)==="[object Function]"}function s(S){var V,he;for(he in S)D(S,he)&&(V=S[he],c(V)?this[he]=V:this["_"+he]=V);this._config=S,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function t(S,V){var he=g({},S),ve;for(ve in V)D(V,ve)&&(I(S[ve])&&I(V[ve])?(he[ve]={},g(he[ve],S[ve]),g(he[ve],V[ve])):V[ve]!=null?he[ve]=V[ve]:delete he[ve]);for(ve in S)D(S,ve)&&!D(V,ve)&&I(S[ve])&&(he[ve]=g({},he[ve]));return he}function n(S){S!=null&&this.set(S)}var a;Object.keys?a=Object.keys:a=function(S){var V,he=[];for(V in S)D(S,V)&&he.push(V);return he};var l={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function f(S,V,he){var ve=this._calendar[S]||this._calendar.sameElse;return c(ve)?ve.call(V,he):ve}function b(S,V,he){var ve=""+Math.abs(S),Ce=V-ve.length,Ve=S>=0;return(Ve?he?"+":"":"-")+Math.pow(10,Math.max(0,Ce)).toString().substr(1)+ve}var C=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,$=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},R={};function L(S,V,he,ve){var Ce=ve;typeof ve=="string"&&(Ce=function(){return this[ve]()}),S&&(R[S]=Ce),V&&(R[V[0]]=function(){return b(Ce.apply(this,arguments),V[1],V[2])}),he&&(R[he]=function(){return this.localeData().ordinal(Ce.apply(this,arguments),S)})}function q(S){return S.match(/\[[\s\S]/)?S.replace(/^\[|\]$/g,""):S.replace(/\\/g,"")}function ee(S){var V=S.match(C),he,ve;for(he=0,ve=V.length;he<ve;he++)R[V[he]]?V[he]=R[V[he]]:V[he]=q(V[he]);return function(Ce){var Ve="",ht;for(ht=0;ht<ve;ht++)Ve+=c(V[ht])?V[ht].call(Ce,S):V[ht];return Ve}}function ae(S,V){return S.isValid()?(V=fe(V,S.localeData()),W[V]=W[V]||ee(V),W[V](S)):S.localeData().invalidDate()}function fe(S,V){var he=5;function ve(Ce){return V.longDateFormat(Ce)||Ce}for($.lastIndex=0;he>=0&&$.test(S);)S=S.replace($,ve),$.lastIndex=0,he-=1;return S}var Ee={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function se(S){var V=this._longDateFormat[S],he=this._longDateFormat[S.toUpperCase()];return V||!he?V:(this._longDateFormat[S]=he.match(C).map(function(ve){return ve==="MMMM"||ve==="MM"||ve==="DD"||ve==="dddd"?ve.slice(1):ve}).join(""),this._longDateFormat[S])}var B="Invalid date";function K(){return this._invalidDate}var j="%d",x=/\d{1,2}/;function z(S){return this._ordinal.replace("%d",S)}var Z={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function oe(S,V,he,ve){var Ce=this._relativeTime[he];return c(Ce)?Ce(S,V,he,ve):Ce.replace(/%d/i,S)}function Y(S,V){var he=this._relativeTime[S>0?"future":"past"];return c(he)?he(V):he.replace(/%s/i,V)}var le={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ge(S){return typeof S=="string"?le[S]||le[S.toLowerCase()]:void 0}function Re(S){var V={},he,ve;for(ve in S)D(S,ve)&&(he=ge(ve),he&&(V[he]=S[ve]));return V}var Ae={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function De(S){var V=[],he;for(he in S)D(S,he)&&V.push({unit:he,priority:Ae[he]});return V.sort(function(ve,Ce){return ve.priority-Ce.priority}),V}var $e=/\d/,Ye=/\d\d/,rt=/\d{3}/,bt=/\d{4}/,ut=/[+-]?\d{6}/,Me=/\d\d?/,Ge=/\d\d\d\d?/,Ze=/\d\d\d\d\d\d?/,ft=/\d{1,3}/,Mt=/\d{1,4}/,ue=/[+-]?\d{1,6}/,G=/\d+/,te=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,Pe=/[+-]?\d+(\.\d{1,3})?/,je=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,
Line truncated
|
||||
`)}},{"./der":19,inherits:147}],22:[function(m,U,k){(function(p,w){"use strict";function v(se,B){if(!se)throw new Error(B||"Assertion failed")}function h(se,B){se.super_=B;var K=function(){};K.prototype=B.prototype,se.prototype=new K,se.prototype.constructor=se}function e(se,B,K){return e.isBN(se)?se:(this.negative=0,this.words=null,this.length=0,this.red=null,void(se!==null&&((B==="le"||B==="be")&&(K=B,B=10),this._init(se||0,B||10,K||"be"))))}function o(se,B){var K=se.charCodeAt(B);return 65<=K&&70>=K?K-55:97<=K&&102>=K?K-87:15&K-48}function i(se,B,K){var j=o(se,K);return K-1>=B&&(j|=o(se,K-1)<<4),j}function u(se,B,K,j){for(var x=0,z=J(se.length,K),Z=B,oe;Z<z;Z++)oe=se.charCodeAt(Z)-48,x*=j,x+=49<=oe?oe-49+10:17<=oe?oe-17+10:oe;return x}function c(se){for(var B=Array(se.bitLength()),K=0;K<B.length;K++){var j=0|K/26,x=K%26;B[K]=(se.words[j]&1<<x)>>>x}return B}function s(se,B,K){K.negative=B.negative^se.negative;var j=0|se.length+B.length;K.length=j,j=0|j-1;var x=0|se.words[0],z=0|B.words[0],Z=x*z,oe=67108863&Z,Y=0|Z/67108864;K.words[0]=oe;for(var le=1;le<j;le++){for(var ge=Y>>>26,Re=67108863&Y,Ae=J(le,B.length-1),De=F(0,le-se.length+1),$e;De<=Ae;De++)$e=0|le-De,x=0|se.words[$e],z=0|B.words[De],Z=x*z+Re,ge+=0|Z/67108864,Re=67108863&Z;K.words[le]=0|Re,Y=0|ge}return Y===0?K.length--:K.words[le]=0|Y,K.strip()}function t(se,B,K){K.negative=B.negative^se.negative,K.length=se.length+B.length;for(var j=0,x=0,z=0,Z;z<K.length-1;z++){Z=x,x=0;for(var oe=67108863&j,Y=J(z,B.length-1),le=F(0,z-se.length+1);le<=Y;le++){var ge=z-le,Re=0|se.words[ge],Ae=0|B.words[le],De=Re*Ae,$e=67108863&De;Z=0|Z+(0|De/67108864),$e=0|$e+oe,oe=67108863&$e,Z=0|Z+($e>>>26),x+=Z>>>26,Z&=67108863}K.words[z]=oe,j=Z,Z=x}return j===0?K.length--:K.words[z]=j,K.strip()}function n(se,B,K){var j=new a;return j.mulp(se,B,K)}function a(se,B){this.x=se,this.y=B}function l(se,B){this.name=se,this.p=new e(B,16),this.n=this.p.bitLength(),this.k=new e(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function f(){l.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){l.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){l.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function $(){l.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function W(se){if(typeof se=="string"){var B=e._prime(se);this.m=B.p,this.prime=B}else v(se.gtn(1),"modulus must be greater than 1"),this.m=se,this.prime=null}function R(se){W.call(this,se),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new e(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}typeof p=="object"?p.exports=e:w.BN=e,e.BN=e,e.wordSize=26;var L;try{L=typeof window!="undefined"&&typeof window.Buffer!="undefined"?window.Buffer:m("buffer").Buffer}catch{}e.isBN=function(B){return B instanceof e||B!==null&&typeof B=="object"&&B.constructor.wordSize===e.wordSize&&Array.isArray(B.words)},e.max=function(B,K){return 0<B.cmp(K)?B:K},e.min=function(B,K){return 0>B.cmp(K)?B:K},e.prototype._init=function(B,K,j){if(typeof B=="number")return this._initNumber(B,K,j);if(typeof B=="object")return this._initArray(B,K,j);K==="hex"&&(K=16),v(K===(0|K)&&2<=K&&36>=K),B=B.toString().replace(/\s+/g,"");var x=0;B[0]==="-"&&(x++,this.negative=1),x<B.length&&(K===16?this._parseHex(B,x,j):(this._parseBase(B,K,x),j==="le"&&this._initArray(this.toArray(),K,j)))},e.prototype._initNumber=function(B,K,j){0>B&&(this.negative=1,B=-B),67108864>B?(this.words=[67108863&B],this.length=1):4503599627370496>B?(this.words=[67108863&B,67108863&B/67108864],this.length=2):(v(9007199254740992>B),this.words=[67108863&B,67108863&B/67108864,1],this.length=3),j!=="le"||this._initArray(this.toArray(),K,j)},e.prototype._initArray=function(B,K,j){if(v(typeof B.length=="number"),0>=B.length)return this.words=[0],this.length=1,this;this.length=N(B.length/3),this.words=Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var z=0,Z,oe;if(j==="be")for(x=B.length-1,Z=0;0<=x;x-=3)oe=B[x]|B[x-1]<<8|B[x-2]<<16,this.words[Z]|=67108863&oe<<z,this.words[Z+1]=67108863&oe>>>26-z,z+=24,26<=z&&(z-=26,Z++);else if(j==="le")for(x=0,Z=0;x<B.length;x+=3)oe=B[x]|B[x+1]<<8|B[x+2]<<16,this.words[Z]|=67108863&oe<<z,this.words[Z+1]=67108863&oe>>>26-z,z+=24,26<=z&&(z-=26,Z++);return this.strip()},e.prototype._parseHex=function(B,K,j){this.length=N((B.length-K)/6),this.words=Array(this.length);for(var x=0;x<this.length;x++)this.words[x]=0;var z=0,Z=0,oe;if(j==="be")for(x=B.length-1;x>=K;x-=2)oe=i(B,K,x)<<z,this.words[Z]|=67108863&oe,18<=z?(z-=18,Z+=1,this.words[Z]|=oe>>>26):z+=8;else{var Y=B.length-K;for(x=Y%2==0?K+1:K;x<B.length;x+=2)oe=i(B,K,x)<<z,this.words[Z]|=67108863&oe,18<=z?(z-=18,Z+=1,this.words[Z]|=oe>>>26):z+=8}this.strip()},e.
Line truncated
|
||||
we accept pull requests
|
||||
https://github.com/crypto-browserify/crypto-browserify`)},k.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":60,"browserify-sign":67,"browserify-sign/algos":64,"create-ecdh":83,"create-hash":85,"create-hmac":87,"diffie-hellman":99,pbkdf2:186,"public-encrypt":194,randombytes:209,randomfill:210}],91:[function(m,U,k){(function(p){(function(){function w(){return!!(typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))||!(typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function v(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+U.exports.humanize(this.diff),!this.useColors)return;let c="color: "+this.color;u.splice(1,0,c,"color: inherit");let s=0,t=0;u[0].replace(/%[a-zA-Z%]/g,n=>{n==="%%"||(s++,n==="%c"&&(t=s))}),u.splice(t,0,c)}function h(u){try{u?k.storage.setItem("debug",u):k.storage.removeItem("debug")}catch{}}function e(){let u;try{u=k.storage.getItem("debug")}catch{}return!u&&typeof p!="undefined"&&"env"in p&&(u=p.env.DEBUG),u}function o(){try{return localStorage}catch{}}k.formatArgs=v,k.save=h,k.load=e,k.useColors=w,k.storage=o(),k.destroy=(()=>{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),k.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],k.log=console.debug||console.log||(()=>{}),U.exports=m("./common")(k);let{formatters:i}=U.exports;i.j=function(u){try{return JSON.stringify(u)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}}).call(this)}).call(this,m("_process"))},{"./common":92,_process:193}],92:[function(m,U,k){function p(w){function v(n){let a=0;for(let l=0;l<n.length;l++)a=(a<<5)-a+n.charCodeAt(l),a|=0;return h.colors[O(a)%h.colors.length]}function h(n){function a(...$){if(!a.enabled)return;let W=a,R=+new Date,L=R-(f||R);W.diff=L,W.prev=f,W.curr=R,f=R,$[0]=h.coerce($[0]),typeof $[0]!="string"&&$.unshift("%O");let q=0;$[0]=$[0].replace(/%([a-zA-Z%])/g,(ae,fe)=>{if(ae==="%%")return"%";q++;let Ee=h.formatters[fe];if(typeof Ee=="function"){let se=$[q];ae=Ee.call(W,se),$.splice(q,1),q--}return ae}),h.formatArgs.call(W,$),(W.log||h.log).apply(W,$)}let l=null,f,b,C;return a.namespace=n,a.useColors=h.useColors(),a.color=h.selectColor(n),a.extend=e,a.destroy=h.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>l===null?(b!==h.namespaces&&(b=h.namespaces,C=h.enabled(n)),C):l,set:$=>{l=$}}),typeof h.init=="function"&&h.init(a),a}function e(n,a){let l=h(this.namespace+(typeof a=="undefined"?":":a)+n);return l.log=this.log,l}function o(n){h.save(n),h.namespaces=n,h.names=[],h.skips=[];let a,l=(typeof n=="string"?n:"").split(/[\s,]+/),f=l.length;for(a=0;a<f;a++)l[a]&&(n=l[a].replace(/\*/g,".*?"),n[0]==="-"?h.skips.push(new RegExp("^"+n.slice(1)+"$")):h.names.push(new RegExp("^"+n+"$")))}function i(){let n=[...h.names.map(c),...h.skips.map(c).map(a=>"-"+a)].join(",");return h.enable(""),n}function u(n){if(n[n.length-1]==="*")return!0;let a,l;for(a=0,l=h.skips.length;a<l;a++)if(h.skips[a].test(n))return!1;for(a=0,l=h.names.length;a<l;a++)if(h.names[a].test(n))return!0;return!1}function c(n){return n.toString().substring(2,n.toString().length-2).replace(/\.\*\?$/,"*")}function s(n){return n instanceof Error?n.stack||n.
Line truncated
|
||||
Use Chrome, Firefox or Internet Explorer 11`)}function h(c,s){if(c>4294967295)throw new RangeError("requested too many random bytes");var t=i.allocUnsafe(c);if(0<c)if(65536<c)for(var n=0;n<c;n+=65536)u.getRandomValues(t.slice(n,n+65536));else u.getRandomValues(t);return typeof s=="function"?p.nextTick(function(){s(null,t)}):t}var e=65536,o=4294967295,i=m("safe-buffer").Buffer,u=w.crypto||w.msCrypto;U.exports=u&&u.getRandomValues?h:v}).call(this)}).call(this,m("_process"),typeof global=="undefined"?typeof self=="undefined"?typeof window=="undefined"?{}:window:self:global)},{_process:193,"safe-buffer":235}],210:[function(m,U,k){(function(p,w){(function(){"use strict";function v(){throw new Error(`secure random number generation not supported by this browser
|
||||
use chrome, FireFox or Internet Explorer 11`)}function h(f,b){if(typeof f!="number"||f!==f)throw new TypeError("offset must be a number");if(4294967295<f||0>f)throw new TypeError("offset must be a uint32");if(f>n||f>b)throw new RangeError("offset out of range")}function e(f,b,C){if(typeof f!="number"||f!==f)throw new TypeError("size must be a number");if(4294967295<f||0>f)throw new TypeError("size must be a uint32");if(f+b>C||f>n)throw new RangeError("buffer too small")}function o(f,b,C,$){if(!t.isBuffer(f)&&!(f instanceof w.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof b=="function")$=b,b=0,C=f.length;else if(typeof C=="function")$=C,C=f.length-b;else if(typeof $!="function")throw new TypeError('"cb" argument must be a function');return h(b,f.length),e(C,b,f.length),i(f,b,C,$)}function i(f,b,C,$){if(p.browser){var W=f.buffer,R=new Uint8Array(W,b,C);return a.getRandomValues(R),$?void p.nextTick(function(){$(null,f)}):f}if($)return void s(C,function(q,ee){return q?$(q):(ee.copy(f,b),void $(null,f))});var L=s(C);return L.copy(f,b),f}function u(f,b,C){if(typeof b=="undefined"&&(b=0),!t.isBuffer(f)&&!(f instanceof w.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return h(b,f.length),C===void 0&&(C=f.length-b),e(C,b,f.length),i(f,b,C)}var c=m("safe-buffer"),s=m("randombytes"),t=c.Buffer,n=c.kMaxLength,a=w.crypto||w.msCrypto,l=A(2,32)-1;a&&a.getRandomValues||!p.browser?(k.randomFill=o,k.randomFillSync=u):(k.randomFill=v,k.randomFillSync=v)}).call(this)}).call(this,m("_process"),typeof global=="undefined"?typeof self=="undefined"?typeof window=="undefined"?{}:window:self:global)},{_process:193,randombytes:209,"safe-buffer":235}],211:[function(m,U,k){"use strict";function p(i,u,c){if(typeof u!="string")throw new TypeError("argument str must be a string");var s=u.indexOf("=");if(s===-1)return-2;var t=u.slice(s+1).split(","),n=[];n.type=u.slice(0,s);for(var a=0;a<t.length;a++){var l=t[a].split("-"),f=parseInt(l[0],10),b=parseInt(l[1],10);isNaN(f)?(f=i-b,b=i-1):isNaN(b)&&(b=i-1),b>i-1&&(b=i-1),!(isNaN(f)||isNaN(b)||f>b||0>f)&&n.push({start:f,end:b})}return 1>n.length?-1:c&&c.combine?w(n):n}function w(i){for(var u=i.map(v).sort(o),c=0,s=1;s<u.length;s++){var t=u[s],n=u[c];t.start>n.end+1?u[++c]=t:t.end>n.end&&(n.end=t.end,n.index=J(n.index,t.index))}u.length=c+1;var a=u.sort(e).map(h);return a.type=i.type,a}function v(i,u){return{start:i.start,end:i.end,index:u}}function h(i){return{start:i.start,end:i.end}}function e(i,u){return i.index-u.index}function o(i,u){return i.start-u.start}U.exports=p},{}],212:[function(m,U,k){let{Writable:p,PassThrough:w}=m("readable-stream");class v extends p{constructor(e,o={}){super(o),this.destroyed=!1,this._queue=[],this._position=e||0,this._cb=null,this._buffer=null,this._out=null}_write(e,o,i){let u=!0;for(;;){if(this.destroyed)return;if(this._queue.length===0)return this._buffer=e,void(this._cb=i);this._buffer=null;var c=this._queue[0];let s=F(c.start-this._position,0),t=c.end-this._position;if(s>=e.length)return this._position+=e.length,i(null);let n;if(t>e.length){this._position+=e.length,n=s===0?e:e.slice(s),u=c.stream.write(n)&&u;break}this._position+=t,n=s===0&&t===e.length?e:e.slice(s,t),u=c.stream.write(n)&&u,c.last&&c.stream.end(),e=e.slice(t),this._queue.shift()}u?i(null):c.stream.once("drain",i.bind(null,null))}slice(e){if(this.destroyed)return null;Array.isArray(e)||(e=[e]);let o=new w;return e.forEach((i,u)=>{this._queue.push({start:i.start,end:i.end,stream:o,last:u===e.length-1})}),this._buffer&&this._write(this._buffer,null,this._cb),o}destroy(e){this.destroyed||(this.destroyed=!0,e&&this.emit("error",e))}}U.exports=v},{"readable-stream":228}],213:[function(m,U,k){"use strict";function p(c){return parseInt(c,10)===c}function w(c){function s(){for(var a=Array(c),l=0;l<c;l++)a[l]=l;return a}function t(a){if(a===void 0){a=Array(c);for(var l=0;l<c;l++)a[l]=I(Math.random()*c)}else if(typeof a=="string")a=""+a,a=a.split("").map(function(R){return R.charCodeAt(0)%c});else if(Array.isArray(a)){if(!a.every(function(R){return typeof R=="number"&&R===(0|R)}))throw new TypeError("invalid seed key specified: not array of integers")}else throw new TypeError("invalid seed key specified");for(var f=a.length,b=s(),C=0,$=0;$<c;$++){C=(C+b[$]+a[$%f])%c;var W=b[$];b[$]=b[C],b[C]=W}return b}function n(a){this.s=t(a),this.i=0,this.j=0}return n.prototype.randomNative=function(){this.i=(this.i+1)%c,this.j=(this.j+this.s[this.i])%c;var a=this.s[this.i];this.s[this.i]=this.s[this.j],this.s[this.j]=a;var l=this.s[(this.s[this.i]+this.s[this.j])%c];return l},n.prototype.randomUInt32=function(){var a=this.randomByte(),l=this.randomByte(),f=this.randomByte(),b=this.randomByte();return 256*(256*(256*a+l)+f)+b},n.prototype.randomFloat=function(){return this.randomUInt32()/4294967296},n.prototype.random=function(){var a,l;if(arguments.length===1)a=0,l=arguments[0];else if(arguments.length===2)a=arguments[0],l=arguments[1];
Line truncated
|
||||
`}),f=f+"("+h.toString().replace("ENTRY_MODULE",JSON.stringify(t))+")({"+l.main.map(function(R){return""+JSON.stringify(R)+": "+a.main[R].toString()}).join(",")+"})(self);";var b=new window.Blob([f],{type:"text/javascript"});if(n.bare)return b;var C=window.URL||window.webkitURL||window.mozURL||window.msURL,$=C.createObjectURL(b),W=new window.Worker($);return W.objectURL=$,W}},function(p,w){p.exports=function(h,e,o){function i(c,s){c|=0,s|=0;var t=0,n=0,a=0,l=0,f=0,b=0,C=0,$=0,W=0,R=0,L=0,q=0,ee=0,ae=0;for(a=0|u[s+320>>2],f=0|u[s+324>>2],C=0|u[s+328>>2],W=0|u[s+332>>2],L=0|u[s+336>>2],t=0;(0|t)<(0|c);t=0|t+64){for(l=a,b=f,$=C,R=W,q=L,n=0;64>(0|n);n=0|n+4)ae=0|u[t+n>>2],ee=0|(0|(a<<5|a>>>27)+(f&C|~f&W))+(0|(0|ae+L)+1518500249),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,u[c+n>>2]=ae;for(n=0|c+64;(0|n)<(0|c+80);n=0|n+4)ae=(u[n-12>>2]^u[n-32>>2]^u[n-56>>2]^u[n-64>>2])<<1|(u[n-12>>2]^u[n-32>>2]^u[n-56>>2]^u[n-64>>2])>>>31,ee=0|(0|(a<<5|a>>>27)+(f&C|~f&W))+(0|(0|ae+L)+1518500249),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,u[n>>2]=ae;for(n=0|c+80;(0|n)<(0|c+160);n=0|n+4)ae=(u[n-12>>2]^u[n-32>>2]^u[n-56>>2]^u[n-64>>2])<<1|(u[n-12>>2]^u[n-32>>2]^u[n-56>>2]^u[n-64>>2])>>>31,ee=0|(0|(a<<5|a>>>27)+(f^C^W))+(0|(0|ae+L)+1859775393),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,u[n>>2]=ae;for(n=0|c+160;(0|n)<(0|c+240);n=0|n+4)ae=(u[n-12>>2]^u[n-32>>2]^u[n-56>>2]^u[n-64>>2])<<1|(u[n-12>>2]^u[n-32>>2]^u[n-56>>2]^u[n-64>>2])>>>31,ee=0|(0|(a<<5|a>>>27)+(f&C|f&W|C&W))+(0|(0|ae+L)-1894007588),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,u[n>>2]=ae;for(n=0|c+240;(0|n)<(0|c+320);n=0|n+4)ae=(u[n-12>>2]^u[n-32>>2]^u[n-56>>2]^u[n-64>>2])<<1|(u[n-12>>2]^u[n-32>>2]^u[n-56>>2]^u[n-64>>2])>>>31,ee=0|(0|(a<<5|a>>>27)+(f^C^W))+(0|(0|ae+L)-899497514),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,u[n>>2]=ae;a=0|a+l,f=0|f+b,C=0|C+$,W=0|W+R,L=0|L+q}u[s+320>>2]=a,u[s+324>>2]=f,u[s+328>>2]=C,u[s+332>>2]=W,u[s+336>>2]=L}var u=new h.Int32Array(o);return{hash:i}}},function(p,w){var v=this,h=void 0;typeof self!="undefined"&&typeof self.FileReaderSync!="undefined"&&(h=new self.FileReaderSync);var e=function(u,c,s,t,n,a){var l=a%4,f=(n+l)%4,b=n-f,C;switch(l){case 0:c[a]=u.charCodeAt(t+3);case 1:c[0|a+1-(l<<1)]=u.charCodeAt(t+2);case 2:c[0|a+2-(l<<1)]=u.charCodeAt(t+1);case 3:c[0|a+3-(l<<1)]=u.charCodeAt(t)}if(!(n<f+(4-l))){for(C=4-l;C<b;C=0|C+4)s[a+C>>2]=u.charCodeAt(t+C)<<24|u.charCodeAt(t+C+1)<<16|u.charCodeAt(t+C+2)<<8|u.charCodeAt(t+C+3);switch(f){case 3:c[0|a+b+1]=u.charCodeAt(t+b+2);case 2:c[0|a+b+2]=u.charCodeAt(t+b+1);case 1:c[0|a+b+3]=u.charCodeAt(t+b)}}},o=function(u,c,s,t,n,a){var l=a%4,f=(n+l)%4,b=n-f,C;switch(l){case 0:c[a]=u[t+3];case 1:c[0|a+1-(l<<1)]=u[t+2];case 2:c[0|a+2-(l<<1)]=u[t+1];case 3:c[0|a+3-(l<<1)]=u[t]}if(!(n<f+(4-l))){for(C=4-l;C<b;C=0|C+4)s[0|a+C>>2]=u[t+C]<<24|u[t+C+1]<<16|u[t+C+2]<<8|u[t+C+3];switch(f){case 3:c[0|a+b+1]=u[t+b+2];case 2:c[0|a+b+2]=u[t+b+1];case 1:c[0|a+b+3]=u[t+b]}}},i=function(u,c,s,t,n,a){var l=void 0,f=a%4,b=(n+f)%4,C=n-b,$=new Uint8Array(h.readAsArrayBuffer(u.slice(t,t+n)));switch(f){case 0:c[a]=$[3];case 1:c[0|a+1-(f<<1)]=$[2];case 2:c[0|a+2-(f<<1)]=$[1];case 3:c[0|a+3-(f<<1)]=$[0]}if(!(n<b+(4-f))){for(l=4-f;l<C;l=0|l+4)s[0|a+l>>2]=$[l]<<24|$[l+1]<<16|$[l+2]<<8|$[l+3];switch(b){case 3:c[0|a+C+1]=$[C+2];case 2:c[0|a+C+2]=$[C+1];case 1:c[0|a+C+3]=$[C]}}};p.exports=function(u,c,s,t,n,a){if(typeof u=="string")return e(u,c,s,t,n,a);if(u instanceof Array||v&&v.Buffer&&v.Buffer.isBuffer(u))return o(u,c,s,t,n,a);if(u instanceof ArrayBuffer)return o(new Uint8Array(u),c,s,t,n,a);if(u.buffer instanceof ArrayBuffer)return o(new Uint8Array(u.buffer,u.byteOffset,u.byteLength),c,s,t,n,a);if(u instanceof Blob)return i(u,c,s,t,n,a);throw new Error("Unsupported data type.")}},function(p,w,v){function h(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}var e=(function(){function s(t,n){for(var a=0,l;a<n.length;a++)l=n[a],l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}return function(t,n,a){return n&&s(t.prototype,n),a&&s(t,a),t}})(),o=v(0),i=v(1),u=i.toHex,c=(function(){function s(){h(this,s),this._rusha=new o,this._rusha.resetState()}return s.prototype.update=function(n){return this._rusha.append(n),this},s.prototype.digest=function(n){var a=this._rusha.rawEnd().buffer;if(!n)return a;if(n==="hex")return u(a);throw new Error("unsupported digest encoding")},e(s,[{key:"state",get:function(){return this._rusha.getState()},set:function(t){this._rusha.setState(t)}}]),s})();p.exports=function(){return new c}}])})},{}],235:[function(m,U,k){function p(e,o){for(var i in e)o[i]=e[i]}function w(e,o,i){return h(e,o,i)}var v=m("buffer"),h=v.Buffer;h.from&&h.alloc&&h.allocUnsafe&&h.allocUnsafeSlow?U.exports=v:(p(v,k),k.Buffer=w),w.prototype=Object.create(h.prototype),p(h,w),w.from=function(e,o,i){if(typeof e=="number")throw new TypeError("Argument must not be a number");return h(e,o,i)},w.alloc=function(e,o,i){if(typeof e!="number")throw new TypeError("Argument must be a number");var u=h(e);return o===v
Line truncated
|
||||
`," "],n=["{","}","|","\\","^","`"].concat(t),a=["'"].concat(n),l=["%","/","?",";","#"].concat(a),f=["/","?","#"],b=255,C=/^[+a-z0-9A-Z_-]{0,63}$/,$=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,W={javascript:!0,"javascript:":!0},R={javascript:!0,"javascript:":!0},L={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},q=m("querystring");p.prototype.parse=function(ee,ae,fe){if(!i.isString(ee))throw new TypeError("Parameter 'url' must be a string, not "+typeof ee);var Ee=ee.indexOf("?"),se=Ee!==-1&&Ee<ee.indexOf("#")?"?":"#",B=ee.split(se),K=/\\/g;B[0]=B[0].replace(K,"/"),ee=B.join(se);var j=ee;if(j=j.trim(),!fe&&ee.split("#").length===1){var x=s.exec(j);if(x)return this.path=j,this.href=j,this.pathname=x[1],x[2]?(this.search=x[2],this.query=ae?q.parse(this.search.substr(1)):this.search.substr(1)):ae&&(this.search="",this.query={}),this}var z=u.exec(j);if(z){z=z[0];var Z=z.toLowerCase();this.protocol=Z,j=j.substr(z.length)}if(fe||z||j.match(/^\/\/[^@\/]+@[^@\/]+/)){var oe=j.substr(0,2)==="//";oe&&!(z&&R[z])&&(j=j.substr(2),this.slashes=!0)}if(!R[z]&&(oe||z&&!L[z])){for(var Y=-1,le=0,ge;le<f.length;le++)ge=j.indexOf(f[le]),ge!==-1&&(Y===-1||ge<Y)&&(Y=ge);var Re,Ae;Ae=Y===-1?j.lastIndexOf("@"):j.lastIndexOf("@",Y),Ae!==-1&&(Re=j.slice(0,Ae),j=j.slice(Ae+1),this.auth=decodeURIComponent(Re)),Y=-1;for(var le=0,ge;le<l.length;le++)ge=j.indexOf(l[le]),ge!==-1&&(Y===-1||ge<Y)&&(Y=ge);Y===-1&&(Y=j.length),this.host=j.slice(0,Y),j=j.slice(Y),this.parseHost(),this.hostname=this.hostname||"";var De=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!De){for(var $e=this.hostname.split(/\./),le=0,Ye=$e.length,rt;le<Ye;le++)if(rt=$e[le],rt&&!rt.match(C)){for(var bt="",ut=0,Me=rt.length;ut<Me;ut++)bt+=127<rt.charCodeAt(ut)?"x":rt[ut];if(!bt.match(C)){var Ge=$e.slice(0,le),Ze=$e.slice(le+1),ft=rt.match($);ft&&(Ge.push(ft[1]),Ze.unshift(ft[2])),Ze.length&&(j="/"+Ze.join(".")+j),this.hostname=Ge.join(".");break}}}this.hostname=255<this.hostname.length?"":this.hostname.toLowerCase(),De||(this.hostname=o.toASCII(this.hostname));var Mt=this.port?":"+this.port:"",ue=this.hostname||"";this.host=ue+Mt,this.href+=this.host,De&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),j[0]!=="/"&&(j="/"+j))}if(!W[Z]){for(var le=0,Ye=a.length,G;le<Ye;le++)if(G=a[le],j.indexOf(G)!==-1){var te=encodeURIComponent(G);te===G&&(te=escape(G)),j=j.split(G).join(te)}}var de=j.indexOf("#");de!==-1&&(this.hash=j.substr(de),j=j.slice(0,de));var _e=j.indexOf("?");if(_e===-1?ae&&(this.search="",this.query={}):(this.search=j.substr(_e),this.query=j.substr(_e+1),ae&&(this.query=q.parse(this.query)),j=j.slice(0,_e)),j&&(this.pathname=j),L[Z]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Mt=this.pathname||"",Pe=this.search||"";this.path=Mt+Pe}return this.href=this.format(),this},p.prototype.format=function(){var ee=this.auth||"";ee&&(ee=encodeURIComponent(ee),ee=ee.replace(/%3A/i,":"),ee+="@");var ae=this.protocol||"",fe=this.pathname||"",Ee=this.hash||"",se=!1,B="";this.host?se=ee+this.host:this.hostname&&(se=ee+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(se+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(B=q.stringify(this.query));var K=this.search||B&&"?"+B||"";return ae&&ae.substr(-1)!==":"&&(ae+=":"),this.slashes||(!ae||L[ae])&&se!==!1?(se="//"+(se||""),fe&&fe.charAt(0)!=="/"&&(fe="/"+fe)):!se&&(se=""),Ee&&Ee.charAt(0)!=="#"&&(Ee="#"+Ee),K&&K.charAt(0)!=="?"&&(K="?"+K),fe=fe.replace(/[?#]/g,function(j){return encodeURIComponent(j)}),K=K.replace("#","%23"),ae+se+fe+K+Ee},p.prototype.resolve=function(ee){return this.resolveObject(w(ee,!1,!0)).format()},p.prototype.resolveObject=function(ee){if(i.isString(ee)){var ae=new p;ae.parse(ee,!1,!0),ee=ae}for(var fe=new p,Ee=Object.keys(this),se=0,B;se<Ee.length;se++)B=Ee[se],fe[B]=this[B];if(fe.hash=ee.hash,ee.href==="")return fe.href=fe.format(),fe;if(ee.slashes&&!ee.protocol){for(var K=Object.keys(ee),j=0,x;j<K.length;j++)x=K[j],x!=="protocol"&&(fe[x]=ee[x]);return L[fe.protocol]&&fe.hostname&&!fe.pathname&&(fe.path=fe.pathname="/"),fe.href=fe.format(),fe}if(ee.protocol&&ee.protocol!==fe.protocol){if(!L[ee.protocol]){for(var z=Object.keys(ee),Z=0,oe;Z<z.length;Z++)oe=z[Z],fe[oe]=ee[oe];return fe.href=fe.format(),fe}if(fe.protocol=ee.protocol,!ee.host&&!R[ee.protocol]){for(var Ye=(ee.pathname||"").split("/");Ye.length&&!(ee.host=Ye.shift()););ee.host||(ee.host=""),ee.hostname||(ee.hostname=""),Ye[0]!==""&&Ye.unshift(""),2>Ye.length&&Ye.unshift(""),fe.pathname=Ye.join("/")}else fe.pathname=ee.pathname;if(fe.search=ee.search,fe.query=ee.query,fe.host=ee.host||"",fe.auth=ee.auth,fe.hostname=ee.hostname||ee.host,fe.port=ee.port,fe.pathname||fe.search){var Y=fe.pathname||"",le=fe.search||"";fe.path=Y+le}return fe.slashes=fe.slashes||ee.slashes,fe.href=fe.format(),fe}var ge=fe.pathname&&fe.pathname.charAt(0)==="/",Re=ee.host||ee.pathname&&ee.pat
Line truncated
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-canvas { width: "+v+"px; height: "+e+"px; }",w+=`
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-header-canvas { width: "+(v+N.scrollbarWidth)+"px; }",k.explicitHeaderCanvasHeight){var c=document.querySelector(".grid"+g.grid.id+" .ui-grid-render-container-body .ui-grid-header-canvas");c&&(k.explicitHeaderCanvasHeight=c.offsetHeight),w+=`
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-header-canvas { height: "+k.explicitHeaderCanvasHeight+"px; }"}else w+=`
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-header-canvas { height: inherit; }";return w+=`
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-viewport { width: "+h+"px; height: "+o+"px; }",w+=`
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-header-viewport { width: "+i+"px; }",w+=`
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-footer-canvas { width: "+(v+N.scrollbarWidth)+"px; }",w+=`
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-footer-viewport { width: "+u+"px; }",w}g.grid.registerStyleComputation({priority:6,func:p})}}}}}]),we.controller("uiGridRenderContainer",["$scope","gridUtil",function(Q,A){}])})();(function(){"use strict";angular.module("ui.grid").directive("uiGridRow",function(){return{replace:!0,require:["^uiGrid","^uiGridRenderContainer"],scope:{row:"=uiGridRow",rowRenderIndex:"="},compile:function(){return{pre:function(we,Q,A,O){var I=O[0],D=O[1];we.grid=I.grid,we.colContainer=D.colContainer;var T,_;function E(){we.row.getRowTemplateFn.then(function(d){var M=we.$new();d(M,function(g,F){T&&(T.remove(),_.$destroy()),Q.empty().append(g),T=g,_=M})}).catch(angular.noop)}E(),we.$watch("row.getRowTemplateFn",function(d,M){d!==M&&E()})},post:function(we,Q){we.row.element=Q}}}}})})();(function(){angular.module("ui.grid").directive("uiGridStyle",["gridUtil","$interpolate",function(we,Q){return{link:function(A,O){var I=Q(O.text(),!0);I&&A.$watch(I,function(D){for(var T=0;T<O.length;T++)O[T].textContent=D})}}}])})();(function(){"use strict";angular.module("ui.grid").directive("uiGridViewport",["gridUtil","ScrollEvent",function(we,Q){return{replace:!0,scope:{},controllerAs:"Viewport",templateUrl:"ui-grid/uiGridViewport",require:["^uiGrid","^uiGridRenderContainer"],link:function(A,O,I,D){var T=D[0],_=D[1];A.containerCtrl=_;var E=_.rowContainer,d=_.colContainer,M=T.grid;A.grid=T.grid,A.rowContainer=_.rowContainer,A.colContainer=_.colContainer,_.viewport=O,M&&M.options&&M.options.customScroller?M.options.customScroller(O,F):O.on("scroll",F);var g=!1;function F(){var U=O[0].scrollTop,k=we.normalizeScrollLeft(O,M),p=E.scrollVertical(U),w=d.scrollHorizontal(k),v=new Q(M,E,d,Q.Sources.ViewPortScroll);v.newScrollLeft=k,v.newScrollTop=U,w>-1&&(v.x={percentage:w}),p>-1&&(v.y={percentage:p}),M.scrollContainers(A.$parent.containerId,v)}A.$parent.bindScrollVertical&&M.addVerticalScrollSync(A.$parent.containerId,N),A.$parent.bindScrollHorizontal&&(M.addHorizontalScrollSync(A.$parent.containerId,J),M.addHorizontalScrollSync(A.$parent.containerId+"header",pe),M.addHorizontalScrollSync(A.$parent.containerId+"footer",m));function N(U){_.prevScrollArgs=U,O[0].scrollTop=U.getNewScrollTop(E,_.viewport)}function J(U){_.prevScrollArgs=U;var k=U.getNewScrollLeft(d,_.viewport);O[0].scrollLeft=we.denormalizeScrollLeft(_.viewport,k,M)}function pe(U){var k=U.getNewScrollLeft(d,_.viewport);_.headerViewport&&(_.headerViewport.scrollLeft=we.denormalizeScrollLeft(_.viewport,k,M))}function m(U){var k=U.getNewScrollLeft(d,_.viewport);_.footerViewport&&(_.footerViewport.scrollLeft=we.denormalizeScrollLeft(_.viewport,k,M))}A.$on("$destroy",function(){O.off()})},controller:["$scope",function(A){this.rowStyle=function(){var O=A.rowContainer,I=A.colContainer,D={};if(O.currentTopRow!==0){var T="translateY("+O.currentTopRow*O.grid.options.rowHeight+"px)";D.transform=T,D["-webkit-transform"]=T,D["-ms-transform"]=T}return I.currentFirstColumn!==0&&(I.grid.isRTL()?D["margin-right"]=I.columnOffset+"px":D["margin-left"]=I.columnOffset+"px"),D}}]}}])})();(function(){angular.module("ui.grid").directive("uiGridVisible",function(){return function(Q,A,O){Q.$watch(O.uiGridVisible,function(I){A[I?"removeClass":"addClass"]("ui-grid-invisible")})}})})();(function(){"use strict";angular.module("ui.grid").controller("uiGridController",["$scope","$element","$attrs","gridUtil","$q","uiGridConstants","gridClassFactory","$parse","$compile",function(Q,A,O,I,D,T,_,E,d){var M=this,g=[];M.grid=_.createGrid(Q.uiGrid),M.grid.appScope=M.grid.appScope||Q.$parent,A.addClass("grid"+M.grid.id),M.grid.rtl=I.getStyles(A[0]).direction==="rtl",Q.grid=M.grid,O.uiGridColumns&&g.push(O.$observe("uiGridColumns",function(U){M.grid.options.columnDefs=angular.isString(U)?angular.fromJson(U):U,M.grid.buildColumns().then(function(){M.grid.preCompileCellTemplates(),M.grid.refreshCanvas(!0)}).catch(angular.noop)}));function F(U){return U?U.length:0}M.grid.options.fastWatch?(M.uiGrid=Q.uiGrid,angular.isString(Q.uiGrid.data)?(g.push(Q.$parent.$watch(Q.uiGrid.data,pe)),g.push(Q.$parent.$watch(function(){if(M.grid.appScope[Q.uiGrid.data])return M.grid.appScope[Q.uiGrid.data].length},pe))):(g.push(Q.$parent.$watch(function(){return Q.uiGrid.data},pe)),g.push(Q.$parent.$watch(function(){return F(Q.uiGrid.data)},function(){pe(Q.uiGrid.data)}))),g.push(Q.$parent.$watch(function(){return Q.uiGrid.columnDefs},N)),g.push(Q.$parent.$watch(function(){return F(Q.uiGrid.columnDefs)},function(){N(Q.uiGrid.columnDefs)}))):(angular.isString(Q.uiGrid.data)?g.push(Q.$parent.$watchCollection(Q.uiGrid.data,pe)):g.push(Q.$parent.$watchCollection(function(){return Q.uiGrid.data},pe)),g.push(Q.$parent.$watchCollection(function(){return Q.uiGrid.columnDefs},N)));function N(U,k){U&&U!==k&&(M.grid.options.columnDefs=Q.uiGrid.columnDefs,M.grid.callDataChangeCallbacks(T.dataChange.COLUMN,{orderByColumnDefs:!0,preCompileCellTemplates:!0}))}var J;function pe(U){var k=[];if(M.g
Line truncated
|
||||
`+i)})},J.prototype.minColumnsToRender=function(){var e=this,o=this.getViewportWidth(),i=0,u=0;return e.columns.forEach(function(c,s){if(u<o)u+=c.drawnWidth,i++;else{for(var t=0,n=s;n>=s-i;n--)t+=e.columns[n].drawnWidth;t<o&&i++}}),i},J.prototype.getBodyHeight=function(){return this.getViewportHeight()},J.prototype.getViewportHeight=function(){var e=this,o=this.gridHeight-this.headerHeight-this.footerHeight,i=e.getViewportAdjustment();return o=o+i.height,o>0?o:0},J.prototype.getViewportWidth=function(){var e=this,o=this.gridWidth,i=e.getViewportAdjustment();return o=o+i.width,o},J.prototype.getHeaderViewportWidth=function(){return this.getViewportWidth()},J.prototype.addVerticalScrollSync=function(h,e){this.verticalScrollSyncCallBackFns[h]=e},J.prototype.addHorizontalScrollSync=function(h,e){this.horizontalScrollSyncCallBackFns[h]=e},J.prototype.scrollContainers=function(h,e){if(e.y){var o=["body","left","right"];this.flagScrollingVertically(e),h==="body"?o=["left","right"]:h==="left"?o=["body","right"]:h==="right"&&(o=["body","left"]);for(var i=0;i<o.length;i++){var u=o[i];this.verticalScrollSyncCallBackFns[u]&&this.verticalScrollSyncCallBackFns[u](e)}}if(e.x){var c=["body","bodyheader","bodyfooter"];this.flagScrollingHorizontally(e),h==="body"&&(c=["bodyheader","bodyfooter"]);for(var s=0;s<c.length;s++){var t=c[s];this.horizontalScrollSyncCallBackFns[t]&&this.horizontalScrollSyncCallBackFns[t](e)}}},J.prototype.registerViewportAdjuster=function(e){this.viewportAdjusters.push(e)},J.prototype.removeViewportAdjuster=function(e){var o=this.viewportAdjusters.indexOf(e);typeof o!="undefined"&&o!==void 0&&this.viewportAdjusters.splice(o,1)},J.prototype.getViewportAdjustment=function(){var e=this,o={height:0,width:0};return e.viewportAdjusters.forEach(function(i){o=i.call(this,o)}),o},J.prototype.getVisibleRowCount=function(){return this.renderContainers.body.visibleRowCache.length},J.prototype.getVisibleRows=function(){return this.renderContainers.body.visibleRowCache},J.prototype.getVisibleColumnCount=function(){return this.renderContainers.body.visibleColumnCache.length},J.prototype.searchRows=function(e){return M.search(this,e,this.columns)},J.prototype.sortByColumn=function(e){return d.sort(this,e,this.columns)},J.prototype.getCellValue=function(e,o){return typeof e.entity["$$"+o.uid]!="undefined"?e.entity["$$"+o.uid].rendered:this.options.flatEntityAccess&&typeof o.field!="undefined"?e.entity[o.field]:(o.cellValueGetterCache||(o.cellValueGetterCache=A(e.getEntityQualifiedColField(o))),o.cellValueGetterCache(e))},J.prototype.getCellDisplayValue=function(e,o){if(!o.cellDisplayGetterCache){var i=o.cellFilter?" | "+o.cellFilter:"";if(typeof e.entity["$$"+o.uid]!="undefined")o.cellDisplayGetterCache=A(e.entity["$$"+o.uid].rendered+i);else if(this.options.flatEntityAccess&&typeof o.field!="undefined"){var u=o.field.replace(/(')|(\\)/g,"\\$&");o.cellDisplayGetterCache=A("entity['"+u+"']"+i)}else o.cellDisplayGetterCache=A(e.getEntityQualifiedColField(o)+i)}var c=angular.extend({},e,{col:o});return o.cellDisplayGetterCache(c)},J.prototype.getNextColumnSortPriority=function(){var e=this,o=0;return e.columns.forEach(function(i){i.sort&&i.sort.priority!==void 0&&i.sort.priority>=o&&(o=i.sort.priority+1)}),o},J.prototype.resetColumnSorting=function(e){var o=this;o.columns.forEach(function(i){i!==e&&!i.suppressRemoveSort&&(i.sort={})})},J.prototype.getColumnSorting=function(){var e=this,o=[],i;return i=e.columns.slice(0),i.sort(d.prioritySort).forEach(function(u){u.sort&&typeof u.sort.direction!="undefined"&&u.sort.direction&&(u.sort.direction===I.ASC||u.sort.direction===I.DESC)&&o.push(u)}),o},J.prototype.sortColumn=function(e,o,i){var u=this,c=null;if(typeof e=="undefined"||!e)throw new Error("No column parameter provided");if(typeof o=="boolean"?i=o:c=o,!i||u.options&&u.options.suppressMultiSort?(u.resetColumnSorting(e),e.sort.priority=void 0,e.sort.priority=u.getNextColumnSortPriority()):e.sort.priority===void 0&&(e.sort.priority=u.getNextColumnSortPriority()),c)e.sort.direction=c;else{var s=e.sortDirectionCycle.indexOf(e.sort&&e.sort.direction?e.sort.direction:null);s=(s+1)%e.sortDirectionCycle.length,e.colDef&&e.suppressRemoveSort&&!e.sortDirectionCycle[s]&&(s=(s+1)%e.sortDirectionCycle.length),e.sortDirectionCycle[s]?e.sort.direction=e.sortDirectionCycle[s]:m(e,u)}return u.api.core.raise.sortChanged(u,u.getColumnSorting()),we.when(e)};var m=function(e,o){o.columns.forEach(function(i){i.sort&&i.sort.priority!==void 0&&i.sort.priority>e.sort.priority&&(i.sort.priority-=1)}),e.sort={}};J.prototype.renderingComplete=function(){angular.isFunction(this.options.onRegisterApi)&&this.options.onRegisterApi(this.api),this.api.core.raise.renderingComplete(this.api)},J.prototype.createRowHashMap=function(){var e=this,o=new v;return o.grid=e,o},J.prototype.refresh=function(e){var o=this,i=o.processRowsProcessors(o.rows).then(function(c){o.setVisibleRows(c)}).catch(angular.noop),u=o.processColumnsProcessors(o.columns).then(fun
Line truncated
|
||||
`:"";return m+=F.map(this.formatRowAsCsv(this,N)).join(`
|
||||
`),m},formatRowAsCsv:function(g,F){return function(N){return N.map(g.formatFieldAsCsv).join(F)}},formatFieldAsCsv:function(g){return g.value==null?"":typeof g.value=="number"?g.value:typeof g.value=="boolean"?g.value?"TRUE":"FALSE":typeof g.value=="string"?'"'+g.value.replace(/"/g,'""')+'"':typeof g.value=="object"&&!(g.value instanceof Date)?'"'+JSON.stringify(g.value).replace(/"/g,'""')+'"':JSON.stringify(g.value)},isIE:function(){var g=navigator.userAgent.search(/(?:Edge|MSIE|Trident\/.*; rv:)/),F=!1;return g!==-1&&(F=!0),F},downloadFile:function(g,F,N,J,pe){var m=document,U=m.createElement("a"),k="application/octet-stream;charset=utf-8",p,w=this.isIE();if(pe&&(F="sep="+N+`\r
|
||||
`+F),navigator.msSaveBlob)return navigator.msSaveOrOpenBlob(new Blob([J?"\uFEFF":"",F],{type:k}),g);if(w){var v=m.createElement("iframe");return document.body.appendChild(v),v.contentWindow.document.open("text/html","replace"),v.contentWindow.document.write(F),v.contentWindow.document.close(),v.contentWindow.focus(),v.contentWindow.document.execCommand("SaveAs",!0,g),document.body.removeChild(v),!0}if("download"in U){var h=new Blob([J?"\uFEFF":"",F],{type:k});p=URL.createObjectURL(h),U.setAttribute("download",g)}else p="data: "+k+","+encodeURIComponent(F),U.setAttribute("target","_blank");U.href=p,U.setAttribute("style","display:none;"),m.body.appendChild(U),setTimeout(function(){if(U.click)U.click();else if(document.createEvent){var e=document.createEvent("MouseEvents");e.initEvent("click",!0,!0),U.dispatchEvent(e)}m.body.removeChild(U)},this.delay)},pdfExport:function(g,F,N){var J=this;J.type="pdf",this.loadAllDataIfNeeded(g,F,N).then(function(){var pe=J.getColumnHeaders(g,N),m=J.getData(g,F,N),U=J.prepareAsPdf(g,pe,m);if(J.isIE()||navigator.appVersion.indexOf("Edge")!==-1){var k=angular.isFunction(g.options.exporterPdfFilename)?g.options.exporterPdfFilename(g,F,N):g.options.exporterPdfFilename;J.downloadPDF(k,U)}else pdfMake.createPdf(U).open()})},downloadPDF:function(g,F){var N=document,J=N.createElement("a"),pe;pe=this.isIE();var m=pdfMake.createPdf(F),U;m.getBuffer(function(k){if(U=new Blob([k]),navigator.msSaveBlob)return navigator.msSaveBlob(U,g);if(pe){var p=N.createElement("iframe");return document.body.appendChild(p),p.contentWindow.document.open("text/html","replace"),p.contentWindow.document.write(U),p.contentWindow.document.close(),p.contentWindow.focus(),p.contentWindow.document.execCommand("SaveAs",!0,g),document.body.removeChild(p),!0}})},prepareAsPdf:function(g,F,N){var J=this.calculatePdfHeaderWidths(g,F),pe=F.map(function(p){return{text:p.displayName,style:"tableHeader"}}),m=N.map(this.formatRowAsPdf(this)),U=[pe].concat(m),k={pageOrientation:g.options.exporterPdfOrientation,pageSize:g.options.exporterPdfPageSize,content:[{style:"tableStyle",table:{headerRows:1,widths:J,body:U}}],styles:{tableStyle:g.options.exporterPdfTableStyle,tableHeader:g.options.exporterPdfTableHeaderStyle},defaultStyle:g.options.exporterPdfDefaultStyle};return g.options.exporterPdfLayout&&(k.layout=g.options.exporterPdfLayout),g.options.exporterPdfHeader&&(k.header=g.options.exporterPdfHeader),g.options.exporterPdfFooter&&(k.footer=g.options.exporterPdfFooter),g.options.exporterPdfCustomFormatter&&(k=g.options.exporterPdfCustomFormatter(k)),k},calculatePdfHeaderWidths:function(g,F){var N=0;F.forEach(function(m){typeof m.width=="number"&&(N+=m.width)});var J=0;F.forEach(function(m){if(m.width==="*"&&(J+=100),typeof m.width=="string"&&m.width.match(/(\d)*%/)){var U=parseInt(m.width.match(/(\d)*%/)[0]);m.width=N*U/100,J+=m.width}});var pe=N+J;return F.map(function(m){return m.width==="*"?m.width:m.width*g.options.exporterPdfMaxGridWidth/pe})},formatRowAsPdf:function(g){return function(F){return F.map(g.formatFieldAsPdfString)}},formatFieldAsPdfString:function(g){var F;return g.value==null?F="":typeof g.value=="number"?F=g.value.toString():typeof g.value=="boolean"?F=g.value?"TRUE":"FALSE":typeof g.value=="string"?F=g.value.replace(/"/g,'""'):g.value instanceof Date?F=JSON.stringify(g.value).replace(/^"/,"").replace(/"$/,""):typeof g.value=="object"?F=g.value:F=JSON.stringify(g.value).replace(/^"/,"").replace(/"$/,""),g.alignment&&typeof g.alignment=="string"&&(F={text:F,alignment:g.alignment}),F},formatAsExcel:function(g,F,N,J,pe){for(var m=g.map(function(o){return{value:o.displayName}}),U=[],k=[],p=0;p<m.length;p++){var w="header";switch(g[p].align){case"center":w="headerCenter";break;case"right":w="headerRight";break}var v=pe.styles&&pe.styles[w]?{style:pe.styles[w].id}:null;k.push({value:m[p].value,metadata:v})}U.push(k);for(var h=F.map(this.formatRowAsExcel(this,N,J)),e=0;e<h.length;e++)U.push(h[e]);return U},formatRowAsExcel:function(g,F,N){return function(J){for(var pe=[],m=0;m<J.length;m++){var U=g.formatFieldAsExcel(J[m],F,N);pe.push({value:U,metadata:J[m].metadata})}return pe}},formatFieldAsExcel:function(g,F,N,J){return g.value==null?"":typeof g.value=="number"||typeof g.value=="string"?g.value:typeof g.value=="boolean"?g.value?"TRUE":"FALSE":JSON.stringify(g.value)},prepareAsExcel:function(g,F,N){var J={styles:{}};if(g.options.exporterExcelCustomFormatters&&(J=g.options.exporterExcelCustomFormatters(g,F,J)),g.options.exporterExcelHeader)if(angular.isFunction(g.options.exporterExcelHeader))g.options.exporterExcelHeader(g,F,N,J);else{var pe=g.options.exporterExcelHeader.text,m=g.options.exporterExcelHeader.style;N.data.push([{value:pe,metadata:{style:J.styles[m].id}}])}return J},excelExport:function(g,F,N){var J=this;J.type="excel",this.loadAllDataIfNeeded(g,F,N).then(function(){var pe=g.options.showHeader?J.getColumnHeaders(g,N):[],m="Sheet1";g.options.exporterExcelSheetName&&(m=angular.isFunction(g.option
Line truncated
|
||||
`,M="",g=T.getErrorMessages(_,E);if(g.length)return g.forEach(function(F){M+=F+d}),Q.trustAsHtml(I.getSafeText("validate.error")+d+M)},runValidators:function(_,E,d,M,g){if(d!==M){if(typeof E.name=="undefined"||!E.name)throw new Error("colDef.name is required to perform validation");T.setValid(_,E);var F=function(U,k,p){return function(w){w||(T.setInvalid(U,k),T.setError(U,k,p),g&&g.api.validate.raise.validationFailed(U,k,d,M))}},N=[];for(var J in E.validators){T.clearError(_,E,J);var pe=T.getValidator(J,E.validators[J]),m=A.when(pe(M,d,_,E)).then(F(_,E,J));N.push(m)}return A.all(N)}},createDefaultValidators:function(){T.setValidator("minLength",function(_){return function(E,d){return d==null||d===""?!0:d.length>=_}},function(_){return I.getSafeText("validate.minLength").replace("THRESHOLD",_)}),T.setValidator("maxLength",function(_){return function(E,d){return d==null||d===""?!0:d.length<=_}},function(_){return I.getSafeText("validate.maxLength").replace("THRESHOLD",_)}),T.setValidator("required",function(_){return function(E,d){return _?!(d==null||d===""):!0}},function(){return I.getSafeText("validate.required")})},initializeGrid:function(_,E){E.validate={isInvalid:T.isInvalid,getErrorMessages:T.getErrorMessages,getFormattedErrors:T.getFormattedErrors,getTitleFormattedErrors:T.getTitleFormattedErrors,runValidators:T.runValidators};var d={events:{validate:{validationFailed:function(M,g,F,N){}}},methods:{validate:{isInvalid:function(M,g){return E.validate.isInvalid(M,g)},getErrorMessages:function(M,g){return E.validate.getErrorMessages(M,g)},getFormattedErrors:function(M,g){return E.validate.getFormattedErrors(M,g)},getTitleFormattedErrors:function(M,g){return E.validate.getTitleFormattedErrors(M,g)}}}};E.api.registerEventsFromObject(d.events),E.api.registerMethodsFromObject(d.methods),E.edit&&E.api.edit.on.afterCellEdit(_,function(M,g,F,N){E.validate.runValidators(M,g,F,N,E)}),T.createDefaultValidators()}};return T}]),we.directive("uiGridValidate",["gridUtil","uiGridValidateService",function(Q,A){return{priority:0,replace:!0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(O,I,D,T){A.initializeGrid(O,T.grid)},post:function(O,I,D,T){}}}}}])})();angular.module("ui.grid").run(["$templateCache",function(we){"use strict";we.put("ui-grid/ui-grid-filter",`<div class="ui-grid-filter-container" ng-style="col.extraStyle" ng-repeat="colFilter in col.filters" ng-class="{'ui-grid-filter-cancel-button-hidden' : colFilter.disableCancelFilterButton === true }"><div ng-if="colFilter.type !== 'select'"><input type="text" class="ui-grid-filter-input ui-grid-filter-input-{{$index}}" ng-model="colFilter.term" ng-attr-placeholder="{{colFilter.placeholder || ''}}" aria-label="{{colFilter.ariaLabel || aria.defaultFilterLabel}}"><div role="button" class="ui-grid-filter-button" ng-click="removeFilter(colFilter, $index)" ng-if="!colFilter.disableCancelFilterButton" ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === ''" ng-show="colFilter.term !== undefined && colFilter.term !== null && colFilter.term !== ''"><i class="ui-grid-icon-cancel" ui-grid-one-bind-aria-label="aria.removeFilter"> </i></div></div><div ng-if="colFilter.type === 'select'"><select class="ui-grid-filter-select ui-grid-filter-input-{{$index}}" ng-model="colFilter.term" ng-show="colFilter.selectOptions.length > 0" ng-attr-placeholder="{{colFilter.placeholder || aria.defaultFilterLabel}}" aria-label="{{colFilter.ariaLabel || ''}}" ng-options="option.value as option.label for option in colFilter.selectOptions"><option value=""></option></select><div role="button" class="ui-grid-filter-button-select" ng-click="removeFilter(colFilter, $index)" ng-if="!colFilter.disableCancelFilterButton" ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === ''" ng-show="colFilter.term !== undefined && colFilter.term != null"><i class="ui-grid-icon-cancel" ui-grid-one-bind-aria-label="aria.removeFilter"> </i></div></div></div>`),we.put("ui-grid/ui-grid-footer",'<div class="ui-grid-footer-panel ui-grid-footer-aggregates-row"><!-- tfooter --><div class="ui-grid-footer ui-grid-footer-viewport"><div class="ui-grid-footer-canvas"><div class="ui-grid-footer-cell-wrapper" ng-style="colContainer.headerCellWrapperStyle()"><div role="row" class="ui-grid-footer-cell-row"><div ui-grid-footer-cell role="gridcell" ng-repeat="col in colContainer.renderedColumns track by col.uid" col="col" render-index="$index" class="ui-grid-footer-cell ui-grid-clearfix"></div></div></div></div></div></div>'),we.put("ui-grid/ui-grid-grid-footer",`<div class="ui-grid-footer-info ui-grid-grid-footer"><span>{{'search.totalItems' | t}} {{grid.rows.length}}</span> <span ng-if="grid.renderContainers.body.visibleRowCache.length !== grid.rows.length" class="ngLabel">({{"search.showingItems" | t}} {{grid.renderContainers.body.visibleRowCache.length}})</span></div>`),we.put("ui-grid/ui-grid-header",'<div role="rowgroup" class=Line truncated
|
||||
/* Styles for the grid */
|
||||
}
|
||||
|
||||
.grid{{ grid.id }} .ui-grid-row, .grid{{ grid.id }} .ui-grid-cell, .grid{{ grid.id }} .ui-grid-cell .ui-grid-vertical-bar {
|
||||
height: {{ grid.options.rowHeight }}px;
|
||||
}
|
||||
|
||||
.grid{{ grid.id }} .ui-grid-row:last-child .ui-grid-cell {
|
||||
border-bottom-width: {{ (((grid.getVisibleRowCount() * grid.options.rowHeight) < grid.getViewportHeight()) && '1') || '0' }}px;
|
||||
}
|
||||
|
||||
{{ grid.verticalScrollbarStyles }}
|
||||
{{ grid.horizontalScrollbarStyles }}
|
||||
|
||||
/*
|
||||
.ui-grid[dir=rtl] .ui-grid-viewport {
|
||||
padding-left: {{ grid.verticalScrollbarWidth }}px;
|
||||
}
|
||||
*/
|
||||
|
||||
{{ grid.customStyles }}</style><div class="ui-grid-contents-wrapper" role="grid"><div ui-grid-menu-button ng-if="grid.options.enableGridMenu"></div><div ng-if="grid.hasLeftContainer()" style="width: 0" ui-grid-pinned-container="'left'"></div><div ui-grid-render-container container-id="'body'" col-container-name="'body'" row-container-name="'body'" bind-scroll-horizontal="true" bind-scroll-vertical="true" enable-horizontal-scrollbar="grid.options.enableHorizontalScrollbar" enable-vertical-scrollbar="grid.options.enableVerticalScrollbar"></div><div ng-if="grid.hasRightContainer()" style="width: 0" ui-grid-pinned-container="'right'"></div><div ui-grid-grid-footer ng-if="grid.options.showGridFooter"></div><div ui-grid-column-menu ng-if="grid.options.enableColumnMenus"></div><div ng-transclude></div></div></div>`),we.put("ui-grid/uiGridCell",'<div class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div>'),we.put("ui-grid/uiGridColumnMenu",`<div class="ui-grid-column-menu"><div ui-grid-menu menu-items="menuItems" col="col"><!-- <div class="ui-grid-column-menu">
|
||||
<div class="inner" ng-show="menuShown">
|
||||
<ul>
|
||||
<div ng-show="grid.options.enableSorting">
|
||||
<li ng-click="sortColumn($event, asc)" ng-class="{ 'selected' : col.sort.direction == asc }"><i class="ui-grid-icon-sort-alt-up"></i> Sort Ascending</li>
|
||||
<li ng-click="sortColumn($event, desc)" ng-class="{ 'selected' : col.sort.direction == desc }"><i class="ui-grid-icon-sort-alt-down"></i> Sort Descending</li>
|
||||
<li ng-show="col.sort.direction" ng-click="unsortColumn()"><i class="ui-grid-icon-cancel"></i> Remove Sort</li>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div> --></div></div>`),we.put("ui-grid/uiGridFooterCell",'<div class="ui-grid-cell-contents" col-index="renderIndex"><div>{{ col.getAggregationText() + ( col.getAggregationValue() CUSTOM_FILTERS ) }}</div></div>'),we.put("ui-grid/uiGridHeaderCell",`<div role="columnheader" ng-class="{ 'sortable': sortable, 'ui-grid-header-cell-last-col': isLastCol }" ui-grid-one-bind-aria-labelledby-grid="col.uid + '-header-text ' + col.uid + '-sortdir-text'" aria-sort="{{col.sort.direction == asc ? 'ascending' : ( col.sort.direction == desc ? 'descending' : (!col.sort.direction ? 'none' : 'other'))}}"><div role="button" tabindex="0" ng-keydown="handleKeyDown($event)" class="ui-grid-cell-contents ui-grid-header-cell-primary-focus" col-index="renderIndex" title="TOOLTIP"><span class="ui-grid-header-cell-label" ui-grid-one-bind-id-grid="col.uid + '-header-text'">{{ col.displayName CUSTOM_FILTERS }}</span> <span ui-grid-one-bind-id-grid="col.uid + '-sortdir-text'" ui-grid-visible="col.sort.direction" aria-label="{{getSortDirectionAriaLabel()}}"><i ng-class="{ 'ui-grid-icon-up-dir': col.sort.direction == asc, 'ui-grid-icon-down-dir': col.sort.direction == desc, 'ui-grid-icon-blank': !col.sort.direction }" title="{{isSortPriorityVisible() ? i18n.headerCell.priority + ' ' + ( col.sort.priority + 1 ) : null}}" aria-hidden="true"></i> <sub ui-grid-visible="isSortPriorityVisible()" class="ui-grid-sort-priority-number">{{col.sort.priority + 1}}</sub></span></div><div role="button" tabindex="0" ui-grid-one-bind-id-grid="col.uid + '-menu-button'" class="ui-grid-column-menu-button" ng-if="grid.options.enableColumnMenus && !col.isRowHeader && col.colDef.enableColumnMenu !== false" ng-click="toggleMenu($event)" ng-keydown="headerCellArrowKeyDown($event)" ui-grid-one-bind-aria-label="i18n.headerCell.aria.columnMenuButtonLabel" aria-expanded="{{col.menuShown}}" aria-haspopup="true"><i class="ui-grid-icon-angle-down" aria-hidden="true"> </i></div><div ui-grid-filter ng-hide="col.filterContainer === 'columnMenu'"></div></div>`),we.put("ui-grid/uiGridMenu",`<div class="ui-grid-menu" ng-keydown="checkKeyDown($event)" ng-show="shown"><style ui-grid-style>{{dynamicStyles}}</style><div class="ui-grid-menu-mid" ng-show="shownMid"><div class="ui-grid-menu-inner" ng-if="shown"><ul role="menu" class="ui-grid-menu-items"><li ng-repeat="item in menuItems" role="menuitem" ui-grid-menu-item ui-grid-one-bind-id="'menuitem-'+$index" action="item.action" name="item.title" active="item.active" icon="item.icon" shown="item.shown" context="item.context" template-url="item.templateUrl" leave-open="item.leaveOpen" screen-reader-only="item.screenReaderOnly"></li><li ng-if="col.filterable && col.filterContainer === 'columnMenu'"><div ui-grid-filter></div></li></ul></div></div></div>`),we.put("ui-grid/uiGridMenuItem",`<button type="button" class="ui-grid-menu-item" ng-click="itemAction($event, title)" ng-show="itemShown()" ng-class="{ 'ui-grid-menu-item-active': active(), 'ui-grid-sr-only': (!focus && screenReaderOnly) }" aria-pressed="{{active()}}" tabindex="0" ng-focus="focus=true" ng-blur="focus=false"><i ng-class="icon" aria-hidden="true"> </i>{{ label() }}</button>`),we.put("ui-grid/uiGridRenderContainer",`<div role="presentation" ui-grid-one-bind-id-grid="containerId + '-grid-container'" class="ui-grid-render-container" ng-style="{ 'margin-left': colContainer.getMargin('left') + 'px', 'margin-right': colContainer.getMargin('right') + 'px' }"><!-- All of these dom elements are replaced in place --><div ui-grid-header></div><div ui-grid-viewport></div><div ng-if="colContainer.needsHScrollbarPlaceholder()" class="ui-grid-scrollbar-placeholder" ng-style="{height: colContainer.grid.scrollbarHeight + 'px'}"></div><ui-grid-footer ng-if="grid.options.showColumnFooter"></ui-grid-footer></div>`),we.put("ui-grid/uiGridViewport",'<div role="rowgroup" class="ui-grid-viewport" ng-style="colContainer.getViewportStyle()"><!-- tbody --><div class="ui-grid-canvas"><div ng-repeat="(rowRenderIndex, row) in rowContainer.renderedRows track by $index" class="ui-grid-row" ng-style="Viewport.rowStyle(rowRenderIndex)"><div role="row" ui-grid-row="row" row-render-index="rowRenderIndex"></div></div></div></div>'),we.put("ui-grid/cellEditor",`<div><form name="inputForm"><input type="INPUT_TYPE" ng-class="'colt' + col.uid" ui-grid-editor ng-model="MODEL_COL_FIELD"></form></div>`),we.put("ui-grid/dropdownEditor",`<div><form name="inputForm"><select ng-class="'colt' + col.uid" ui-grid-edit-dropdown ng-model="MODEL_COL_FIELD" ng-options="field[editDropdownIdLabel] as field[editDropdownValueLabel] CUSTOM_FILTERS for field in editDropdownOptionsArray"></select></form></div>`),we.put("ui-grid/fileChooserEditor",`<div><form name="inputForm"><input ng-class="'colt' + col.uid" ui-grid-edit-file-chooser type="file" id="files" name="files[]" ng-model="MODEL_COL_FIELD"></form></div>`),we.put("ui-grid/emptyBaseLayerContainer",'<div class="ui-grid-empty-base-layer-container ui-grid-canLine truncated
|
||||
Valid base64 characters are A-Z, a-z, 0-9, `+", "/`,and "="
|
||||
`+"Expect errors in decoding."),E=E.replace(/[^A-Za-z0-9\+\/\=]/g,"");do F=this.KEY_STR.indexOf(E.charAt(m++)),N=this.KEY_STR.indexOf(E.charAt(m++)),J=this.KEY_STR.indexOf(E.charAt(m++)),pe=this.KEY_STR.indexOf(E.charAt(m++)),d=F<<2|N>>4,M=(N&15)<<4|J>>2,g=(J&3)<<6|pe,U.push(d),J!==64&&U.push(M),pe!==64&&U.push(g),d=M=g="",F=N=J=pe="";while(m<E.length);return U},_.restore(D,T)},A}]);(function(){"use strict";var we=angular.module("ngNotify",[]),Q=!1;try{angular.module("ngSanitize")&&(angular.module("ngNotify").requires.push("ngSanitize"),Q=!0)}catch{}var A='<div class="ngn" ng-class="ngNotify.notifyClass" ng-style="ngNotify.notifyStyle"><span ng-show="ngNotify.notifyButton" class="ngn-dismiss" ng-click="dismiss()">×</span><span ng-if="ngNotify.notifyHtml" ng-bind-html="ngNotify.notifyMessage"></span><span ng-if="!ngNotify.notifyHtml" ng-bind="ngNotify.notifyMessage"></span></div>';we.run(["$templateCache",function(O){O.put("templates/ng-notify/ng-notify.html",A)}]),we.provider("ngNotify",function(){this.$get=["$document","$compile","$log","$rootScope","$timeout","$interval","$templateCache",function(O,I,D,T,_,E,d){var M,g,F="",N=" ",J=3e3,pe="ngn-sticky",m=1,U=-1,k=200,p=500,w=25,v=0,h=1,e={theme:"pure",position:"bottom",duration:J,type:"info",sticky:!1,button:!0,html:!1},o={notifyClass:"",notifyMessage:"",notifyStyle:{display:"none",opacity:v}},i={pure:F,prime:"ngn-prime",pastel:"ngn-pastel",pitchy:"ngn-pitchy"},u={info:"ngn-info",error:"ngn-error",success:"ngn-success",warn:"ngn-warn",grimace:"ngn-grimace"},c={bottom:"ngn-bottom",top:"ngn-top"},s=T.$new(),t=I(d.get("templates/ng-notify/ng-notify.html"))(s);s.ngNotify=angular.extend({},o),_(function(){O.find("body").append(t)});var n=function(ae){var fe=ae.type||e.type;return(u[fe]||u.info)+N},a=function(ae){var fe=ae.theme||e.theme;return(i[fe]||i.pure)+N},l=function(ae){var fe=ae.position||e.position;return(c[fe]||c.bottom)+N},f=function(ae){var fe=ae.duration||e.duration;return angular.isNumber(fe)?fe:J},b=function(ae){var fe=ae.sticky!==void 0?ae.sticky:e.sticky;return!!fe},C=function(ae,fe){var Ee=ae.button!==void 0?ae.button:e.button;return Ee&&fe},$=function(ae){if((ae.html||e.html)&&!Q)return D.debug(`ngNotify warning:
|
||||
gSanitize couldn't be located. In order to use the 'html' option, be sure the ngSanitize source is included in your project.`),!1;var fe=ae.html!==void 0?ae.html:e.html;return!!fe},W=function(ae,fe){var Ee=n(ae)+a(ae)+l(ae);return Ee+=fe?pe:F},R=function(){s.ngNotify=angular.extend({},o)},L=function(ae,fe,Ee,se){var B=w/Ee;s.ngNotify.notifyStyle={display:"block",opacity:fe};var K=function(){fe+=ae*B,s.ngNotify.notifyStyle.opacity=fe,(v>=fe||fe>=h)&&(E.cancel(g),g=!1,se())};g||(g=E(K,w))},q=function(ae,fe){L(U,h,ae,fe)},ee=function(ae,fe){L(m,v,ae,fe)};return s.dismiss=function(){q(p,function(){R()})},{config:function(ae){ae=ae||{},angular.extend(e,ae)},set:function(ae,fe){if(ae){E.cancel(g),g=!1,_.cancel(M);var Ee={};typeof fe=="object"?Ee=fe:Ee.type=fe;var se=b(Ee),B=f(Ee);angular.extend(s.ngNotify,{notifyHtml:$(Ee),notifyClass:W(Ee,se),notifyButton:C(Ee,se),notifyMessage:ae}),ee(k,function(){se||(M=_(function(){s.dismiss()},B))})}},dismiss:function(){s.dismiss()},addTheme:function(ae,fe){ae&&fe&&(i[ae]=fe)},addType:function(ae,fe){ae&&fe&&(u[ae]=fe)}}}]})})();var rc=ta(Zu(),1),ra=ta(ec(),1),su=typeof window!="undefined"?window:globalThis,_d=ra.default&&ra.default.default?ra.default.default:ra.default;su.angular=tc.default;su.moment=rc.default;su.WebTorrent=_d;})();
|
||||
/*! Bundled license information:
|
||||
|
||||
angular/angular.js:
|
||||
angular-route/angular-route.js:
|
||||
angular-sanitize/angular-sanitize.js:
|
||||
(**
|
||||
* @license AngularJS v1.8.3
|
||||
* (c) 2010-2020 Google LLC. http://angularjs.org
|
||||
* License: MIT
|
||||
*)
|
||||
|
||||
moment/moment.js:
|
||||
(*! moment.js *)
|
||||
(*! version : 2.30.1 *)
|
||||
(*! authors : Tim Wood, Iskren Chernev, Moment.js contributors *)
|
||||
(*! license : MIT *)
|
||||
(*! momentjs.com *)
|
||||
|
||||
webtorrent/webtorrent.min.js:
|
||||
(*! bittorrent-protocol. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> *)
|
||||
(*! blob-to-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*)
|
||||
(*! cache-chunk-store. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*! create-torrent. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> *)
|
||||
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*! immediate-chunk-store. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*!
|
||||
* Determine if an object is a Buffer
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*)
|
||||
(*! lt_donthave. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> *)
|
||||
(*! parse-torrent. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> *)
|
||||
(*! https://mths.be/punycode v1.4.1 by @mathias *)
|
||||
(*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*!
|
||||
* range-parser
|
||||
* Copyright(c) 2012-2014 TJ Holowaychuk
|
||||
* Copyright(c) 2015-2016 Douglas Christopher Wilson
|
||||
* MIT Licensed
|
||||
*)
|
||||
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*! simple-concat. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*! simple-peer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*! simple-websocket. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*! stream-to-blob. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*! stream-with-known-length-to-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
||||
(*! torrent-discovery. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> *)
|
||||
(*! torrent-piece. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> *)
|
||||
(*! ut_metadata. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> *)
|
||||
(*! webtorrent. MIT License. WebTorrent LLC <https://webtorrent.io/opensource> *)
|
||||
|
||||
angular-ui-grid/ui-grid.js:
|
||||
angular-ui-grid/ui-grid.resize-columns.js:
|
||||
angular-ui-grid/ui-grid.selection.js:
|
||||
(*!
|
||||
* ui-grid - v4.12.7 - 2024-04-12
|
||||
* http://ui-grid.info/
|
||||
* Copyright (c) 2024 ; License: MIT
|
||||
*)
|
||||
*/
|
||||
(()=>{var gd=Object.create;var jc=Object.defineProperty;var md=Object.getOwnPropertyDescriptor;var vd=Object.getOwnPropertyNames;var bd=Object.getPrototypeOf,yd=Object.prototype.hasOwnProperty;var Bi=(we=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(we,{get:(Q,k)=>(typeof require!="undefined"?require:Q)[k]}):we)(function(we){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+we+'" is not supported')});var wi=(we,Q)=>()=>(Q||we((Q={exports:{}}).exports,Q),Q.exports);var wd=(we,Q,k,O)=>{if(Q&&typeof Q=="object"||typeof Q=="function")for(let I of vd(Q))!yd.call(we,I)&&I!==k&&jc(we,I,{get:()=>Q[I],enumerable:!(O=md(Q,I))||O.enumerable});return we};var ta=(we,Q,k)=>(k=we!=null?gd(bd(we)):{},wd(Q||!we||!we.__esModule?jc(k,"default",{value:we,enumerable:!0}):k,we));var zc=wi(()=>{(function(we){"use strict";var Q={objectMaxDepth:5,urlErrorParamsEnabled:!0};function k(n){if(Y(n))L(n.objectMaxDepth)&&(Q.objectMaxDepth=O(n.objectMaxDepth)?n.objectMaxDepth:NaN),L(n.urlErrorParamsEnabled)&&le(n.urlErrorParamsEnabled)&&(Q.urlErrorParamsEnabled=n.urlErrorParamsEnabled);else return Q}function O(n){return fe(n)&&n>0}function I(n,y){y=y||Error;var P="https://errors.angularjs.org/1.8.3/",H=P.replace(".","\\.")+"[\\s\\S]*",X=new RegExp(H,"g");return function(){var ue=arguments[0],ie=arguments[1],re="["+(n?n+":":"")+ue+"] ",ne=de(arguments,2).map(function(Ee){return Ye(Ee,Q.objectMaxDepth)}),me,be;if(re+=ie.replace(/\{\d+\}/g,function(Ee){var Ae=+Ee.slice(1,-1);return Ae<ne.length?ne[Ae].replace(X,""):Ee}),re+=`
|
||||
`+P+(n?n+"/":"")+ue,Q.urlErrorParamsEnabled)for(be=0,me="?";be<ne.length;be++,me="&")re+=me+"p"+be+"="+encodeURIComponent(ne[be]);return new y(re)}}var D=/^\/(.+)\/([a-z]*)$/,T="validity",_=Object.prototype.hasOwnProperty,x=function(n){return ae(n)?n.toLowerCase():n},d=function(n){return ae(n)?n.toUpperCase():n},M,g,F,N=[].slice,J=[].splice,pe=[].push,m=Object.prototype.toString,U=Object.getPrototypeOf,A=I("ng"),p=we.angular||(we.angular={}),w,v=0;M=we.document.documentMode;function h(n){if(n==null||E(n))return!1;if(se(n)||ae(n)||g&&n instanceof g)return!0;var y="length"in Object(n)&&n.length;return fe(y)&&(y>=0&&y-1 in n||typeof n.item=="function")}function e(n,y,P){var H,X;if(n)if(K(n))for(H in n)H!=="prototype"&&H!=="length"&&H!=="name"&&n.hasOwnProperty(H)&&y.call(P,n[H],H,n);else if(se(n)||h(n)){var ue=typeof n!="object";for(H=0,X=n.length;H<X;H++)(ue||H in n)&&y.call(P,n[H],H,n)}else if(n.forEach&&n.forEach!==e)n.forEach(y,P,n);else if(ee(n))for(H in n)y.call(P,n[H],H,n);else if(typeof n.hasOwnProperty=="function")for(H in n)n.hasOwnProperty(H)&&y.call(P,n[H],H,n);else for(H in n)_.call(n,H)&&y.call(P,n[H],H,n);return n}function o(n,y,P){for(var H=Object.keys(n).sort(),X=0;X<H.length;X++)y.call(P,n[H[X]],H[X]);return H}function i(n){return function(y,P){n(P,y)}}function c(){return++v}function u(n,y){y?n.$$hashKey=y:delete n.$$hashKey}function s(n,y,P){for(var H=n.$$hashKey,X=0,ue=y.length;X<ue;++X){var ie=y[X];if(!(!Y(ie)&&!K(ie)))for(var re=Object.keys(ie),ne=0,me=re.length;ne<me;ne++){var be=re[ne],Ee=ie[be];P&&Y(Ee)?xe(Ee)?n[be]=new Date(Ee.valueOf()):z(Ee)?n[be]=new RegExp(Ee):Ee.nodeName?n[be]=Ee.cloneNode(!0):nt(Ee)?n[be]=Ee.clone():be!=="__proto__"&&(Y(n[be])||(n[be]=se(Ee)?[]:{}),s(n[be],[Ee],!0)):n[be]=Ee}}return u(n,H),n}function t(n){return s(n,N.call(arguments,1),!1)}function r(n){return s(n,N.call(arguments,1),!0)}function a(n){return parseInt(n,10)}var l=Number.isNaN||function(y){return y!==y};function f(n,y){return t(Object.create(n),y)}function b(){}b.$inject=[];function C(n){return n}C.$inject=[];function $(n){return function(){return n}}function W(n){return K(n.toString)&&n.toString!==m}function R(n){return typeof n=="undefined"}function L(n){return typeof n!="undefined"}function Y(n){return n!==null&&typeof n=="object"}function ee(n){return n!==null&&typeof n=="object"&&!U(n)}function ae(n){return typeof n=="string"}function fe(n){return typeof n=="number"}function xe(n){return m.call(n)==="[object Date]"}function se(n){return Array.isArray(n)||n instanceof Array}function B(n){var y=m.call(n);switch(y){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return n instanceof Error}}function K(n){return typeof n=="function"}function z(n){return m.call(n)==="[object RegExp]"}function E(n){return n&&n.window===n}function j(n){return n&&n.$evalAsync&&n.$watch}function Z(n){return m.call(n)==="[object File]"}function oe(n){return m.call(n)==="[object FormData]"}function q(n){return m.call(n)==="[object Blob]"}function le(n){return typeof n=="boolean"}function ge(n){return n&&K(n.then)}var Re=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;function ke(n){return n&&fe(n.length)&&Re.test(m.call(n))}function De(n){return m.call(n)==="[object ArrayBuffer]"}var $e=function(n){return ae(n)?n.trim():n},qe=function(n){return n.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function nt(n){return!!(n&&(n.nodeName||n.prop&&n.attr&&n.find))}function bt(n){var y={},P=n.split(","),H;for(H=0;H<P.length;H++)y[P[H]]=!0;return y}function ct(n){return x(n.nodeName||n[0]&&n[0].nodeName)}function Me(n,y){return Array.prototype.indexOf.call(n,y)!==-1}function Ge(n,y){var P=n.indexOf(y);return P>=0&&n.splice(P,1),P}function Ze(n,y,P){var H=[],X=[];if(P=O(P)?P:NaN,y){if(ke(y)||De(y))throw A("cpta","Can't copy! TypedArray destination cannot be mutated.");if(n===y)throw A("cpi","Can't copy! Source and destination are identical.");return se(y)?y.length=0:e(y,function(ne,me){me!=="$$hashKey"&&delete y[me]}),H.push(n),X.push(y),ue(n,y,P)}return ie(n,P);function ue(ne,me,be){if(be--,be<0)return"...";var Ee=me.$$hashKey,Ae;if(se(ne))for(var Fe=0,Oe=ne.length;Fe<Oe;Fe++)me.push(ie(ne[Fe],be));else if(ee(ne))for(Ae in ne)me[Ae]=ie(ne[Ae],be);else if(ne&&typeof ne.hasOwnProperty=="function")for(Ae in ne)ne.hasOwnProperty(Ae)&&(me[Ae]=ie(ne[Ae],be));else for(Ae in ne)_.call(ne,Ae)&&(me[Ae]=ie(ne[Ae],be));return u(me,Ee),me}function ie(ne,me){if(!Y(ne))return ne;var be=H.indexOf(ne);if(be!==-1)return X[be];if(E(ne)||j(ne))throw A("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var Ee=!1,Ae=re(ne);return Ae===void 0&&(Ae=se(ne)?[]:Object.create(U(ne)),Ee=!0),H.push(ne),X.push(Ae),Ee?ue(ne,Ae,me):Ae}function re(ne){switch(m.call(ne)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[o
Line truncated
|
||||
`+tt.stack),Br("modulerr",`Failed to instantiate module {0} due to:
|
||||
{1}`,Ne,tt.stack||tt.message||tt)}}),Le}function je(Xe,Le){function Ie(rt,gt){if(Xe.hasOwnProperty(rt)){if(Xe[rt]===P)throw Br("cdep","Circular dependency found: {0}",rt+" <- "+X.join(" <- "));return Xe[rt]}else try{return X.unshift(rt),Xe[rt]=P,Xe[rt]=Le(rt,gt),Xe[rt]}catch(xt){throw Xe[rt]===P&&delete Xe[rt],xt}finally{X.shift()}}function Ne(rt,gt,xt){for(var Rt=[],_t=fi.$$annotate(rt,y,xt),Pt=0,Zt=_t.length;Pt<Zt;Pt++){var Gt=_t[Pt];if(typeof Gt!="string")throw Br("itkn","Incorrect injection token! Expected service name as string, got {0}",Gt);Rt.push(gt&>.hasOwnProperty(Gt)?gt[Gt]:Ie(Gt,xt))}return Rt}function Be(rt){if(M||typeof rt!="function")return!1;var gt=rt.$$ngIsClass;return le(gt)||(gt=rt.$$ngIsClass=/^class\b/.test(Ji(rt))),gt}function tt(rt,gt,xt,Rt){typeof xt=="string"&&(Rt=xt,xt=null);var _t=Ne(rt,xt,Rt);return se(rt)&&(rt=rt[rt.length-1]),Be(rt)?(_t.unshift(null),new(Function.prototype.bind.apply(rt,_t))):rt.apply(gt,_t)}function dt(rt,gt,xt){var Rt=se(rt)?rt[rt.length-1]:rt,_t=Ne(rt,gt,xt);return _t.unshift(null),new(Function.prototype.bind.apply(Rt,_t))}return{invoke:tt,instantiate:dt,get:Ie,annotate:fi.$$annotate,has:function(rt){return ie.hasOwnProperty(rt+H)||Xe.hasOwnProperty(rt)}}}}fi.$$annotate=ys;function ws(){var n=!0;this.disableAutoScrolling=function(){n=!1},this.$get=["$window","$location","$rootScope",function(y,P,H){var X=y.document;function ue(me){var be=null;return Array.prototype.some.call(me,function(Ee){if(ct(Ee)==="a")return be=Ee,!0}),be}function ie(){var me=ne.yOffset;if(K(me))me=me();else if(nt(me)){var be=me[0],Ee=y.getComputedStyle(be);Ee.position!=="fixed"?me=0:me=be.getBoundingClientRect().bottom}else fe(me)||(me=0);return me}function re(me){if(me){me.scrollIntoView();var be=ie();if(be){var Ee=me.getBoundingClientRect().top;y.scrollBy(0,Ee-be)}}else y.scrollTo(0,0)}function ne(me){me=ae(me)?me:fe(me)?me.toString():P.hash();var be;me?(be=X.getElementById(me))||(be=ue(X.getElementsByName(me)))?re(be):me==="top"&&re(null):re(null)}return n&&H.$watch(function(){return P.hash()},function(be,Ee){be===Ee&&be===""||us(function(){H.$evalAsync(ne)})}),ne}]}var ca=I("$animate"),_s=1,ua="ng-animate";function Ci(n,y){return!n&&!y?"":n?y?(se(n)&&(n=n.join(" ")),se(y)&&(y=y.join(" ")),n+" "+y):n:y}function da(n){for(var y=0;y<n.length;y++){var P=n[y];if(P.nodeType===_s)return P}}function Ss(n){ae(n)&&(n=n.split(" "));var y=Ht();return e(n,function(P){P.length&&(y[P]=!0)}),y}function Dr(n){return Y(n)?n:{}}var Es=function(){this.$get=b},Ro=function(){var n=new Ki,y=[];this.$get=["$$AnimateRunner","$rootScope",function(P,H){return{enabled:b,on:b,off:b,pin:b,push:function(re,ne,me,be){be&&be(),me=me||{},me.from&&re.css(me.from),me.to&&re.css(me.to),(me.addClass||me.removeClass)&&ie(re,me.addClass,me.removeClass);var Ee=new P;return Ee.complete(),Ee}};function X(re,ne,me){var be=!1;return ne&&(ne=ae(ne)?ne.split(" "):se(ne)?ne:[],e(ne,function(Ee){Ee&&(be=!0,re[Ee]=me)})),be}function ue(){e(y,function(re){var ne=n.get(re);if(ne){var me=Ss(re.attr("class")),be="",Ee="";e(ne,function(Ae,Fe){var Oe=!!me[Fe];Ae!==Oe&&(Ae?be+=(be.length?" ":"")+Fe:Ee+=(Ee.length?" ":"")+Fe)}),e(re,function(Ae){be&&Vi(Ae,be),Ee&&zi(Ae,Ee)}),n.delete(re)}}),y.length=0}function ie(re,ne,me){var be=n.get(re)||{},Ee=X(be,ne,!0),Ae=X(be,me,!1);(Ee||Ae)&&(n.set(re,be),y.push(re),y.length===1&&H.$$postDigest(ue))}}]},xs=["$provide",function(n){var y=this,P=null,H=null;this.$$registeredAnimations=Object.create(null),this.register=function(X,ue){if(X&&X.charAt(0)!==".")throw ca("notcsel","Expecting class selector starting with '.' got '{0}'.",X);var ie=X+"-animation";y.$$registeredAnimations[X.substr(1)]=ie,n.factory(ie,ue)},this.customFilter=function(X){return arguments.length===1&&(H=K(X)?X:null),H},this.classNameFilter=function(X){if(arguments.length===1&&(P=X instanceof RegExp?X:null,P)){var ue=new RegExp("[(\\s|\\/)]"+ua+"[(\\s|\\/)]");if(ue.test(P.toString()))throw P=null,ca("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',ua)}return P},this.$get=["$$animateQueue",function(X){function ue(ie,re,ne){if(ne){var me=da(ne);me&&!me.parentNode&&!me.previousElementSibling&&(ne=null)}ne?ne.after(ie):re.prepend(ie)}return{on:X.on,off:X.off,pin:X.pin,enabled:X.enabled,cancel:function(ie){ie.cancel&&ie.cancel()},enter:function(ie,re,ne,me){return re=re&&g(re),ne=ne&&g(ne),re=re||ne.parent(),ue(ie,re,ne),X.push(ie,"enter",Dr(me))},move:function(ie,re,ne,me){return re=re&&g(re),ne=ne&&g(ne),re=re||ne.parent(),ue(ie,re,ne),X.push(ie,"move",Dr(me))},leave:function(ie,re){return X.push(ie,"leave",Dr(re),function(){ie.remove()})},addClass:function(ie,re,ne){return ne=Dr(ne),ne.addClass=Ci(ne.addclass,re),X.push(ie,"addClass",ne)},removeClass:function(ie,re,ne){return ne=Dr(ne),ne.removeClass=Ci(ne.removeClass,re),X.push(ie,"removeClass",ne)},setClass:function(ie,re,ne,me){return me=Dr(me),me.addClass=Ci(me.addClass,re),me.removeClass=Ci(me.re
Line truncated
|
||||
`,st);tt.$apply(function(){for(var We=0,Qe=Zt.length;We<Qe;++We)try{Zt[We]()}catch(lt){Le(lt)}Zt=void 0})}finally{Pt++}}function dn(We,Qe){if(!We)return We;if(!ae(We))throw Gn("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',Qe,We.toString());for(var lt="",pt=$e(We),Ct=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,kt=/\s/.test(pt)?Ct:/(,)/,$t=pt.split(kt),sn=Math.floor($t.length/2),Ft=0;Ft<sn;Ft++){var Ot=Ft*2;lt+=dt.getTrustedMediaUrl($e($t[Ot])),lt+=" "+$e($t[Ot+1])}var Nt=$e($t[Ft*2]).split(/\s/);return lt+=dt.getTrustedMediaUrl($e(Nt[0])),Nt.length===2&&(lt+=" "+$e(Nt[1])),lt}function Sn(We,Qe){if(Qe){var lt=Object.keys(Qe),pt,Ct,kt;for(pt=0,Ct=lt.length;pt<Ct;pt++)kt=lt[pt],this[kt]=Qe[kt]}else this.$attr={};this.$$element=We}Sn.prototype={$normalize:Or,$addClass:function(We){We&&We.length>0&&rt.addClass(this.$$element,We)},$removeClass:function(We){We&&We.length>0&&rt.removeClass(this.$$element,We)},$updateClass:function(We,Qe){var lt=ki(We,Qe);lt&<.length&&rt.addClass(this.$$element,lt);var pt=ki(Qe,We);pt&&pt.length&&rt.removeClass(this.$$element,pt)},$set:function(We,Qe,lt,pt){var Ct=this.$$element[0],kt=di(Ct,We),$t=xi(We),sn=We,Ft;kt?(this.$$element.prop(We,Qe),pt=kt):$t&&(this[$t]=Qe,sn=$t),this[We]=Qe,pt?this.$attr[We]=pt:(pt=this.$attr[We],pt||(this.$attr[We]=pt=on(We,"-"))),Ft=ct(this.$$element),Ft==="img"&&We==="srcset"&&(this[We]=Qe=dn(Qe,"$set('srcset', value)")),lt!==!1&&(Qe===null||R(Qe)?this.$$element.removeAttr(pt):gt.test(pt)?kt&&Qe===!1?this.$$element.removeAttr(pt):this.$$element.attr(pt,Qe):kn(this.$$element[0],pt,Qe));var Ot=this.$$observers;Ot&&e(Ot[sn],function(Nt){try{Nt(Qe)}catch(zt){Le(zt)}})},$observe:function(We,Qe){var lt=this,pt=lt.$$observers||(lt.$$observers=Ht()),Ct=pt[We]||(pt[We]=[]);return Ct.push(Qe),tt.$evalAsync(function(){!Ct.$$inter&<.hasOwnProperty(We)&&!R(lt[We])&&Qe(lt[We])}),function(){Ge(Ct,Qe)}}};function kn(We,Qe,lt){xt.innerHTML="<span "+Qe+">";var pt=xt.firstChild.attributes,Ct=pt[0];pt.removeNamedItem(Ct.name),Ct.value=lt,We.attributes.setNamedItem(Ct)}function Dn(We,Qe){try{We.addClass(Qe)}catch{}}var qn=Xe.startSymbol(),Un=Xe.endSymbol(),pr=qn==="{{"&&Un==="}}"?C:function(Qe){return Qe.replace(/\{\{/g,qn).replace(/}}/g,Un)},nr=/^ng(Attr|Prop|On)([A-Z].*)$/,ur=/^(.+)Start$/;return Vn.$$addBindingInfo=at?function(Qe,lt){var pt=Qe.data("$binding")||[];se(lt)?pt=pt.concat(lt):pt.push(lt),Qe.data("$binding",pt)}:b,Vn.$$addBindingClass=at?function(Qe){Dn(Qe,"ng-binding")}:b,Vn.$$addScopeInfo=at?function(Qe,lt,pt,Ct){var kt=pt?Ct?"$isolateScopeNoTemplate":"$isolateScope":"$scope";Qe.data(kt,lt)}:b,Vn.$$addScopeClass=at?function(Qe,lt){Dn(Qe,lt?"ng-isolate-scope":"ng-scope")}:b,Vn.$$createComment=function(We,Qe){var lt="";return at&&(lt=" "+(We||"")+": ",Qe&&(lt+=Qe+" ")),we.document.createComment(lt)},Vn;function Vn(We,Qe,lt,pt,Ct){We instanceof g||(We=g(We));var kt=Fi(We,Qe,We,lt,pt,Ct);Vn.$$addScopeClass(We);var $t=null;return function(Ft,Ot,Nt){if(!We)throw Gn("multilink","This element has already been linked.");an(Ft,"scope"),Ct&&Ct.needsNewScope&&(Ft=Ft.$parent.$new()),Nt=Nt||{};var zt=Nt.parentBoundTranscludeFn,Tt=Nt.transcludeControllers,Qt=Nt.futureParentElement;zt&&zt.$$boundTransclude&&(zt=zt.$$boundTransclude),$t||($t=$i(Qt));var yn;if($t!=="html"?yn=g(Kl($t,g("<div></div>").append(We).html())):Ot?yn=ui.clone.call(We):yn=We,Tt)for(var Ln in Tt)yn.data("$"+Ln+"Controller",Tt[Ln].instance);return Vn.$$addScopeInfo(yn,Ft),Ot&&Ot(yn,Ft),kt&&kt(Ft,yn,yn,zt),Ot||(We=kt=null),yn}}function $i(We){var Qe=We&&We[0];return Qe&&ct(Qe)!=="foreignobject"&&m.call(Qe).match(/SVG/)?"svg":"html"}function Fi(We,Qe,lt,pt,Ct,kt){for(var $t=[],sn=se(We)||We instanceof g,Ft,Ot,Nt,zt,Tt,Qt,yn,Ln=0;Ln<We.length;Ln++)Ft=new Sn,M===11&&Gl(We,Ln,sn),Ot=bi(We[Ln],[],Ft,Ln===0?pt:void 0,Ct),Nt=Ot.length?Ic(Ot,We[Ln],Ft,Qe,lt,null,[],[],kt):null,Nt&&Nt.scope&&Vn.$$addScopeClass(Ft.$$element),Tt=Nt&&Nt.terminal||!(zt=We[Ln].childNodes)||!zt.length?null:Fi(zt,Nt?(Nt.transcludeOnThisElement||!Nt.templateOnThisElement)&&Nt.transclude:Qe),(Nt||Tt)&&($t.push(Ln,Nt,Tt),Qt=!0,yn=yn||Nt),kt=null;return Qt?In:null;function In(wn,_n,Bt,Tn){var Rn,Kn,Jn,Yn,Mn,gr,ir,xr,ei;if(yn){var mo=_n.length;for(ei=new Array(mo),Mn=0;Mn<$t.length;Mn+=3)ir=$t[Mn],ei[ir]=_n[ir]}else ei=_n;for(Mn=0,gr=$t.length;Mn<gr;)Jn=ei[$t[Mn++]],Rn=$t[Mn++],Kn=$t[Mn++],Rn?(Rn.scope?(Yn=wn.$new(),Vn.$$addScopeInfo(g(Jn),Yn)):Yn=wn,Rn.transcludeOnThisElement?xr=Yr(wn,Rn.transclude,Tn):!Rn.templateOnThisElement&&Tn?xr=Tn:!Tn&&Qe?xr=Yr(wn,Qe):xr=null,Rn(Kn,Yn,Jn,Bt,xr)):Kn&&Kn(wn,Jn.childNodes,void 0,Tn)}}function Gl(We,Qe,lt){var pt=We[Qe],Ct=pt.parentNode,kt;if(pt.nodeType===nn)for(;kt=Ct?pt.nextSibling:We[Qe+1],!(!kt||kt.nodeType!==nn);)pt.nodeValue=pt.nodeValue+kt.nodeValue,kt.parentNode&&kt.parentNode.removeChild(kt),lt&&kt===We[Qe+1]&&We.splice(Qe+1,1)}function Yr(We,Qe,lt){function pt($t,sn,Ft,Ot,Nt){return $t||($t=We.$new(!1,Nt),$t.$$transcluded=!0),Qe($t,sn,{parentBoundTranscludeFn:lt,transcludeControllers:Ft
Line truncated
|
||||
`),function(X){P=X.indexOf(":"),H(x($e(X.substr(0,P))),$e(X.substr(P+1)))}):Y(n)&&e(n,function(X,ue){H(x(ue),$e(X))}),y}function Lr(n){var y;return function(P){if(y||(y=ya(n)),P){var H=y[x(P)];return H===void 0&&(H=null),H}return y}}function Zr(n,y,P,H){return K(H)?H(n,y,P):(e(H,function(X){n=X(n,y,P)}),n)}function no(n){return 200<=n&&n<300}function Bs(){var n=this.defaults={transformResponse:[to],transformRequest:[function(X){return Y(X)&&!Z(X)&&!q(X)&&!oe(X)?ze(X):X}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ye(Lo),put:ye(Lo),patch:ye(Lo)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},y=!1;this.useApplyAsync=function(X){return L(X)?(y=!!X,this):y};var P=this.interceptors=[],H=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(X){this.xsrfTrustedOrigins=X}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(X,ue,ie,re,ne,me,be,Ee){var Ae=re("$http");n.paramSerializer=ae(n.paramSerializer)?be.get(n.paramSerializer):n.paramSerializer;var Fe=[];e(P,function(je){Fe.unshift(ae(je)?be.get(je):be.invoke(je))});var Oe=ja(H);function at(je){if(!Y(je))throw I("$http")("badreq","Http request configuration must be an object. Received: {0}",je);if(!ae(Ee.valueOf(je.url)))throw I("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",je.url);var Xe=t({method:"get",transformRequest:n.transformRequest,transformResponse:n.transformResponse,paramSerializer:n.paramSerializer,jsonpCallbackParam:n.jsonpCallbackParam},je);Xe.headers=rt(je),Xe.method=d(Xe.method),Xe.paramSerializer=ae(Xe.paramSerializer)?be.get(Xe.paramSerializer):Xe.paramSerializer,X.$$incOutstandingRequestCount("$http");var Le=[],Ie=[],Ne=me.resolve(Xe);return e(Fe,function(Rt){(Rt.request||Rt.requestError)&&Le.unshift(Rt.request,Rt.requestError),(Rt.response||Rt.responseError)&&Ie.push(Rt.response,Rt.responseError)}),Ne=Be(Ne,Le),Ne=Ne.then(gt),Ne=Be(Ne,Ie),Ne=Ne.finally(tt),Ne;function Be(Rt,_t){for(var Pt=0,Zt=_t.length;Pt<Zt;){var Gt=_t[Pt++],dn=_t[Pt++];Rt=Rt.then(Gt,dn)}return _t.length=0,Rt}function tt(){X.$$completeOutstandingRequest(b,"$http")}function dt(Rt,_t){var Pt,Zt={};return e(Rt,function(Gt,dn){K(Gt)?(Pt=Gt(_t),Pt!=null&&(Zt[dn]=Pt)):Zt[dn]=Gt}),Zt}function rt(Rt){var _t=n.headers,Pt=t({},Rt.headers),Zt,Gt,dn;_t=t({},_t.common,_t[x(Rt.method)]);e:for(Zt in _t){Gt=x(Zt);for(dn in Pt)if(x(dn)===Gt)continue e;Pt[Zt]=_t[Zt]}return dt(Pt,ye(Rt))}function gt(Rt){var _t=Rt.headers,Pt=Zr(Rt.data,Lr(_t),void 0,Rt.transformRequest);return R(Pt)&&e(_t,function(Zt,Gt){x(Gt)==="content-type"&&delete _t[Gt]}),R(Rt.withCredentials)&&!R(n.withCredentials)&&(Rt.withCredentials=n.withCredentials),ot(Rt,Pt).then(xt,xt)}function xt(Rt){var _t=t({},Rt);return _t.data=Zr(Rt.data,Rt.headers,Rt.status,Xe.transformResponse),no(Rt.status)?_t:me.reject(_t)}}return at.pendingRequests=[],vt("get","delete","head","jsonp"),st("post","put","patch"),at.defaults=n,at;function vt(je){e(arguments,function(Xe){at[Xe]=function(Le,Ie){return at(t({},Ie||{},{method:Xe,url:Le}))}})}function st(je){e(arguments,function(Xe){at[Xe]=function(Le,Ie,Ne){return at(t({},Ne||{},{method:Xe,url:Le,data:Ie}))}})}function ot(je,Xe){var Le=me.defer(),Ie=Le.promise,Ne,Be,tt=je.headers,dt=x(je.method)==="jsonp",rt=je.url;if(dt?rt=Ee.getTrustedResourceUrl(rt):ae(rt)||(rt=Ee.valueOf(rt)),rt=it(rt,je.paramSerializer(je.params)),dt&&(rt=ut(rt,je.jsonpCallbackParam)),at.pendingRequests.push(je),Ie.then(Zt,Zt),(je.cache||n.cache)&&je.cache!==!1&&(je.method==="GET"||je.method==="JSONP")&&(Ne=Y(je.cache)?je.cache:Y(n.cache)?n.cache:Ae),Ne&&(Be=Ne.get(rt),L(Be)?ge(Be)?Be.then(Pt,Pt):se(Be)?_t(Be[1],Be[0],ye(Be[2]),Be[3],Be[4]):_t(Be,200,{},"OK","complete"):Ne.put(rt,Ie)),R(Be)){var gt=Oe(je.url)?ie()[je.xsrfCookieName||n.xsrfCookieName]:void 0;gt&&(tt[je.xsrfHeaderName||n.xsrfHeaderName]=gt),ue(je.method,rt,Xe,Rt,tt,je.timeout,je.withCredentials,je.responseType,xt(je.eventHandlers),xt(je.uploadEventHandlers))}return Ie;function xt(Gt){if(Gt){var dn={};return e(Gt,function(Sn,kn){dn[kn]=function(Dn){y?ne.$applyAsync(qn):ne.$$phase?qn():ne.$apply(qn);function qn(){Sn(Dn)}}}),dn}}function Rt(Gt,dn,Sn,kn,Dn){Ne&&(no(Gt)?Ne.put(rt,[Gt,dn,ya(Sn),kn,Dn]):Ne.remove(rt));function qn(){_t(dn,Gt,Sn,kn,Dn)}y?ne.$applyAsync(qn):(qn(),ne.$$phase||ne.$apply())}function _t(Gt,dn,Sn,kn,Dn){dn=dn>=-1?dn:0,(no(dn)?Le.resolve:Le.reject)({data:Gt,status:dn,headers:Lr(Sn),config:je,statusText:kn,xhrStatus:Dn})}function Pt(Gt){_t(Gt.data,Gt.status,ye(Gt.headers()),Gt.statusText,Gt.xhrStatus)}function Zt(){var Gt=at.pendingRequests.indexOf(je);Gt!==-1&&at.pendingRequests.splice(Gt,1)}}function it(je,Xe){return Xe.length>0&&(je+=(je.indexOf("?")===-1?"?":"&")+Xe),je}function ut(je,Xe){var Le=je.split("?");if(Le.length>2
Line truncated
|
||||
Strict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce`,n)},ri.interr=function(n,y){return ri("interr",`Can't interpolate: {0}
|
||||
{1}`,n,y.toString())};function Sa(){var n="{{",y="}}";this.startSymbol=function(P){return P?(n=P,this):n},this.endSymbol=function(P){return P?(y=P,this):y},this.$get=["$parse","$exceptionHandler","$sce",function(P,H,X){var ue=n.length,ie=y.length,re=new RegExp(n.replace(/./g,me),"g"),ne=new RegExp(y.replace(/./g,me),"g");function me(Fe){return"\\\\\\"+Fe}function be(Fe){return Fe.replace(re,n).replace(ne,y)}function Ee(Fe,Oe,at,vt){var st=Fe.$watch(function(it){return st(),vt(it)},Oe,at);return st}function Ae(Fe,Oe,at,vt){var st=at===X.URL||at===X.MEDIA_URL;if(!Fe.length||Fe.indexOf(n)===-1){if(Oe)return;var ot=be(Fe);st&&(ot=X.getTrusted(at,ot));var it=$(ot);return it.exp=Fe,it.expressions=[],it.$$watchDelegate=Ee,it}vt=!!vt;for(var ut,je,Xe=0,Le=[],Ie,Ne=Fe.length,Be,tt=[],dt=[],rt;Xe<Ne;)if((ut=Fe.indexOf(n,Xe))!==-1&&(je=Fe.indexOf(y,ut+ue))!==-1)Xe!==ut&&tt.push(be(Fe.substring(Xe,ut))),Be=Fe.substring(ut+ue,je),Le.push(Be),Xe=je+ie,dt.push(tt.length),tt.push("");else{Xe!==Ne&&tt.push(be(Fe.substring(Xe)));break}rt=tt.length===1&&dt.length===1;var gt=st&&rt?void 0:Rt;if(Ie=Le.map(function(_t){return P(_t,gt)}),!Oe||Le.length){var xt=function(_t){for(var Pt=0,Zt=Le.length;Pt<Zt;Pt++){if(vt&&R(_t[Pt]))return;tt[dt[Pt]]=_t[Pt]}return st?X.getTrusted(at,rt?tt[0]:tt.join("")):(at&&tt.length>1&&ri.throwNoconcat(Fe),tt.join(""))};return t(function(Pt){var Zt=0,Gt=Le.length,dn=new Array(Gt);try{for(;Zt<Gt;Zt++)dn[Zt]=Ie[Zt](Pt);return xt(dn)}catch(Sn){H(ri.interr(Fe,Sn))}},{exp:Fe,expressions:Le,$$watchDelegate:function(_t,Pt){var Zt;return _t.$watchGroup(Ie,function(dn,Sn){var kn=xt(dn);Pt.call(this,kn,dn!==Sn?Zt:kn,_t),Zt=kn})}})}function Rt(_t){try{return _t=at&&!st?X.getTrusted(at,_t):X.valueOf(_t),vt&&!L(_t)?_t:hn(_t)}catch(Pt){H(ri.interr(Fe,Pt))}}}return Ae.startSymbol=function(){return n},Ae.endSymbol=function(){return y},Ae}]}var Us=I("$interval");function js(){this.$get=["$$intervalFactory","$window",function(n,y){var P={},H=function(ie,re,ne){var me=y.setInterval(ie,re);return P[me]=ne,me},X=function(ie){y.clearInterval(ie),delete P[ie]},ue=n(H,X);return ue.cancel=function(ie){if(!ie)return!1;if(!ie.hasOwnProperty("$$intervalId"))throw Us("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!P.hasOwnProperty(ie.$$intervalId))return!1;var re=ie.$$intervalId,ne=P[re];return oo(ne.promise),ne.reject("canceled"),X(re),!0},ue}]}function zs(){this.$get=["$browser","$q","$$q","$rootScope",function(n,y,P,H){return function(ue,ie){return function(ne,me,be,Ee){var Ae=arguments.length>4,Fe=Ae?de(arguments,4):[],Oe=0,at=L(Ee)&&!Ee,vt=(at?P:y).defer(),st=vt.promise;be=L(be)?be:0;function ot(){Ae?ne.apply(null,Fe):ne(Oe)}function it(){at?n.defer(ot):H.$evalAsync(ot),vt.notify(Oe++),be>0&&Oe>=be&&(vt.resolve(Oe),ie(st.$$intervalId)),at||H.$apply()}return st.$$intervalId=ue(it,me,vt,at),st}}}]}var Vs=function(){this.$get=function(){var n=p.callbacks,y={};function P(H){var X=function(ue){X.data=ue,X.called=!0};return X.id=H,X}return{createCallback:function(H){var X="_"+(n.$$counter++).toString(36),ue="angular.callbacks."+X,ie=P(X);return y[ue]=n[X]=ie,ue},wasCalled:function(H){return y[H].called},getResponse:function(H){return y[H].data},removeCallback:function(H){var X=y[H];delete n[X.id],delete y[H]}}}},Ws=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Gs={http:80,https:443,ftp:21},Ti=I("$location");function qs(n){for(var y=n.split("/"),P=y.length;P--;)y[P]=Wt(y[P].replace(/%2F/g,"/"));return y.join("/")}function Ys(n,y){for(var P=n.split("/"),H=P.length;H--;)P[H]=decodeURIComponent(P[H]),y&&(P[H]=P[H].replace(/\//g,"%2F"));return P.join("/")}function Ks(n,y,P){var H=St(y),X=P?"#"+Wt(P):"",ue=qs(n);return ue+(H?"?"+H:"")+X}function Ea(n,y){var P=Et(n);y.$$protocol=P.protocol,y.$$host=P.hostname,y.$$port=a(P.port)||Gs[P.protocol]||null}var Js=/^\s*[\\/]{2,}/;function xa(n,y,P){if(Js.test(n))throw Ti("badpath",'Invalid url "{0}".',n);var H=n.charAt(0)!=="/";H&&(n="/"+n);var X=Et(n),ue=H&&X.pathname.charAt(0)==="/"?X.pathname.substring(1):X.pathname;y.$$path=Ys(ue,P),y.$$search=vn(X.search),y.$$hash=decodeURIComponent(X.hash),y.$$path&&y.$$path.charAt(0)!=="/"&&(y.$$path="/"+y.$$path)}function $o(n,y){return n.slice(0,y.length)===y}function Mr(n,y){if($o(y,n))return y.substr(n.length)}function ii(n){var y=n.indexOf("#");return y===-1?n:n.substr(0,y)}function Xs(n){return n.substr(0,ii(n).lastIndexOf("/")+1)}function Zs(n){return n.substring(0,n.indexOf("/",n.indexOf("//")+2))}function Fo(n,y,P){this.$$html5=!0,P=P||"",Ea(n,this),this.$$parse=function(H){var X=Mr(y,H);if(!ae(X))throw Ti("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',H,y);xa(X,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(H){return y+H.substr(1)},this.$$parseLinkUrl=function(H,X){if(X&&X[0]==="#")return this.hash(X.slice(1)),!0;var ue,ie,re;return L(ue=Mr(n,H))?(ie=ue,P&&L(ue=Mr(P,ue))?re=y+(Mr("/",ue)||ue):re=n+ie):L(ue=Mr(y,H))?re=y+ue:y===H+"/"&&(re=y),re&&this.$$Line truncated
|
||||
`+ie.sourceURL+":"+ie.line)),ie}function ue(ie){var re=P.console||{},ne=re[ie]||re.log||b;return function(){var me=[];return e(arguments,function(be){me.push(X(be))}),Function.prototype.apply.call(ne,re,me)}}}]}var qr=I("$parse"),hi={}.constructor.prototype.valueOf;function Ii(n){return n+""}var Pi=Ht();e("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(n){Pi[n]=!0});var pi={n:`
|
||||
`,f:"\f",r:"\r",t:" ",v:"\v","'":"'",'"':'"'},Di=function(y){this.options=y};Di.prototype={constructor:Di,lex:function(n){for(this.text=n,this.index=0,this.tokens=[];this.index<this.text.length;){var y=this.text.charAt(this.index);if(y==='"'||y==="'")this.readString(y);else if(this.isNumber(y)||y==="."&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(y,"(){}[].,;:?"))this.tokens.push({index:this.index,text:y}),this.index++;else if(this.isWhitespace(y))this.index++;else{var P=y+this.peek(),H=P+this.peek(2),X=Pi[y],ue=Pi[P],ie=Pi[H];if(X||ue||ie){var re=ie?H:ue?P:y;this.tokens.push({index:this.index,text:re,operator:!0}),this.index+=re.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(n,y){return y.indexOf(n)!==-1},peek:function(n){var y=n||1;return this.index+y<this.text.length?this.text.charAt(this.index+y):!1},isNumber:function(n){return"0"<=n&&n<="9"&&typeof n=="string"},isWhitespace:function(n){return n===" "||n==="\r"||n===" "||n===`
|
||||
`||n==="\v"||n==="\xA0"},isIdentifierStart:function(n){return this.options.isIdentifierStart?this.options.isIdentifierStart(n,this.codePointAt(n)):this.isValidIdentifierStart(n)},isValidIdentifierStart:function(n){return"a"<=n&&n<="z"||"A"<=n&&n<="Z"||n==="_"||n==="$"},isIdentifierContinue:function(n){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(n,this.codePointAt(n)):this.isValidIdentifierContinue(n)},isValidIdentifierContinue:function(n,y){return this.isValidIdentifierStart(n,y)||this.isNumber(n)},codePointAt:function(n){return n.length===1?n.charCodeAt(0):(n.charCodeAt(0)<<10)+n.charCodeAt(1)-56613888},peekMultichar:function(){var n=this.text.charAt(this.index),y=this.peek();if(!y)return n;var P=n.charCodeAt(0),H=y.charCodeAt(0);return P>=55296&&P<=56319&&H>=56320&&H<=57343?n+y:n},isExpOperator:function(n){return n==="-"||n==="+"||this.isNumber(n)},throwError:function(n,y,P){P=P||this.index;var H=L(y)?"s "+y+"-"+this.index+" ["+this.text.substring(y,P)+"]":" "+P;throw qr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",n,H,this.text)},readNumber:function(){for(var n="",y=this.index;this.index<this.text.length;){var P=x(this.text.charAt(this.index));if(P==="."||this.isNumber(P))n+=P;else{var H=this.peek();if(P==="e"&&this.isExpOperator(H))n+=P;else if(this.isExpOperator(P)&&H&&this.isNumber(H)&&n.charAt(n.length-1)==="e")n+=P;else if(this.isExpOperator(P)&&(!H||!this.isNumber(H))&&n.charAt(n.length-1)==="e")this.throwError("Invalid exponent");else break}this.index++}this.tokens.push({index:y,text:n,constant:!0,value:Number(n)})},readIdent:function(){var n=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var y=this.peekMultichar();if(!this.isIdentifierContinue(y))break;this.index+=y.length}this.tokens.push({index:n,text:this.text.slice(n,this.index),identifier:!0})},readString:function(n){var y=this.index;this.index++;for(var P="",H=n,X=!1;this.index<this.text.length;){var ue=this.text.charAt(this.index);if(H+=ue,X){if(ue==="u"){var ie=this.text.substring(this.index+1,this.index+5);ie.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+ie+"]"),this.index+=4,P+=String.fromCharCode(parseInt(ie,16))}else{var re=pi[ue];P=P+(re||ue)}X=!1}else if(ue==="\\")X=!0;else if(ue===n){this.index++,this.tokens.push({index:y,text:H,constant:!0,value:P});return}else P+=ue;this.index++}this.throwError("Unterminated quote",y)}};var At=function(y,P){this.lexer=y,this.options=P};At.Program="Program",At.ExpressionStatement="ExpressionStatement",At.AssignmentExpression="AssignmentExpression",At.ConditionalExpression="ConditionalExpression",At.LogicalExpression="LogicalExpression",At.BinaryExpression="BinaryExpression",At.UnaryExpression="UnaryExpression",At.CallExpression="CallExpression",At.MemberExpression="MemberExpression",At.Identifier="Identifier",At.Literal="Literal",At.ArrayExpression="ArrayExpression",At.Property="Property",At.ObjectExpression="ObjectExpression",At.ThisExpression="ThisExpression",At.LocalsExpression="LocalsExpression",At.NGValueParameter="NGValueParameter",At.prototype={ast:function(n){this.text=n,this.tokens=this.lexer.lex(n);var y=this.program();return this.tokens.length!==0&&this.throwError("is an unexpected token",this.tokens[0]),y},program:function(){for(var n=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&n.push(this.expressionStatement()),!this.expect(";"))return{type:At.Program,body:n}},expressionStatement:function(){return{type:At.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var n=this.expression();this.expect("|");)n=this.filter(n);return n},expression:function(){return this.assignment()},assignment:function(){var n=this.ternary();if(this.expect("=")){if(!Da(n))throw qr("lval","Trying to assign a value to a non l-value");n={type:At.AssignmentExpression,left:n,right:this.assignment(),operator:"="}}return n},ternary:function(){var n=this.logicalOR(),y,P;return this.expect("?")&&(y=this.expression(),this.consume(":"))?(P=this.expression(),{type:At.ConditionalExpression,test:n,alternate:y,consequent:P}):n},logicalOR:function(){for(var n=this.logicalAND();this.expect("||");)n={type:At.LogicalExpression,operator:"||",left:n,right:this.logicalAND()};return n},logicalAND:function(){for(var n=this.equality();this.expect("&&");)n={type:At.LogicalExpression,operator:"&&",left:n,right:this.equality()};return n},equality:function(){for(var n=this.relational(),y;y=this.expect("==","!=","===","!==");)n={type:At.BinaryExpression,operator:y.text,left:n,right:this.relational()};return n},relational:function(){for(var n=this.additive(),y;y=this.expect("<",">","<=",">=");)n={type:At.BinaryExpression,operator:y.text,left:n,right:this.additive()};return n},additive:function(){for(var n=this.multiplicative(),y;y=this.expect("+","-");)n={type:At.BinaryExpression,operator:y.text,left:n,right:this.multiplicative()};return n},multiplicative:function(){for(var n=this.unary(),y;y=th
Line truncated
|
||||
`+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+P+this.watchFns()+"return fn;",re=new Function("$filter","getStringValue","ifDefined","plus",ie)(this.$filter,Ii,el,Ra);return this.state=this.stage=void 0,re},USE:"use",STRICT:"strict",watchFns:function(){var n=[],y=this.state.inputs,P=this;return e(y,function(H){n.push("var "+H.name+"="+P.generateFunction(H.name,"s")),H.isPure&&n.push(H.name,".isPure="+JSON.stringify(H.isPure)+";")}),y.length&&n.push("fn.inputs=["+y.map(function(H){return H.name}).join(",")+"];"),n.join("")},generateFunction:function(n,y){return"function("+y+"){"+this.varsPrefix(n)+this.body(n)+"};"},filterPrefix:function(){var n=[],y=this;return e(this.state.filters,function(P,H){n.push(P+"=$filter("+y.escape(H)+")")}),n.length?"var "+n.join(",")+";":""},varsPrefix:function(n){return this.state[n].vars.length?"var "+this.state[n].vars.join(",")+";":""},body:function(n){return this.state[n].body.join("")},recurse:function(n,y,P,H,X,ue){var ie,re,ne=this,me,be,Ee;if(H=H||b,!ue&&L(n.watchId)){y=y||this.nextId(),this.if_("i",this.lazyAssign(y,this.computedMember("i",n.watchId)),this.lazyRecurse(n,y,P,H,X,!0));return}switch(n.type){case At.Program:e(n.body,function(Ae,Fe){ne.recurse(Ae.expression,void 0,void 0,function(Oe){re=Oe}),Fe!==n.body.length-1?ne.current().body.push(re,";"):ne.return_(re)});break;case At.Literal:be=this.escape(n.value),this.assign(y,be),H(y||be);break;case At.UnaryExpression:this.recurse(n.argument,void 0,void 0,function(Ae){re=Ae}),be=n.operator+"("+this.ifDefined(re,0)+")",this.assign(y,be),H(be);break;case At.BinaryExpression:this.recurse(n.left,void 0,void 0,function(Ae){ie=Ae}),this.recurse(n.right,void 0,void 0,function(Ae){re=Ae}),n.operator==="+"?be=this.plus(ie,re):n.operator==="-"?be=this.ifDefined(ie,0)+n.operator+this.ifDefined(re,0):be="("+ie+")"+n.operator+"("+re+")",this.assign(y,be),H(be);break;case At.LogicalExpression:y=y||this.nextId(),ne.recurse(n.left,y),ne.if_(n.operator==="&&"?y:ne.not(y),ne.lazyRecurse(n.right,y)),H(y);break;case At.ConditionalExpression:y=y||this.nextId(),ne.recurse(n.test,y),ne.if_(y,ne.lazyRecurse(n.alternate,y),ne.lazyRecurse(n.consequent,y)),H(y);break;case At.Identifier:y=y||this.nextId(),P&&(P.context=ne.stage==="inputs"?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",n.name)+"?l:s"),P.computed=!1,P.name=n.name),ne.if_(ne.stage==="inputs"||ne.not(ne.getHasOwnProperty("l",n.name)),function(){ne.if_(ne.stage==="inputs"||"s",function(){X&&X!==1&&ne.if_(ne.isNull(ne.nonComputedMember("s",n.name)),ne.lazyAssign(ne.nonComputedMember("s",n.name),"{}")),ne.assign(y,ne.nonComputedMember("s",n.name))})},y&&ne.lazyAssign(y,ne.nonComputedMember("l",n.name))),H(y);break;case At.MemberExpression:ie=P&&(P.context=this.nextId())||this.nextId(),y=y||this.nextId(),ne.recurse(n.object,ie,void 0,function(){ne.if_(ne.notNull(ie),function(){n.computed?(re=ne.nextId(),ne.recurse(n.property,re),ne.getStringValue(re),X&&X!==1&&ne.if_(ne.not(ne.computedMember(ie,re)),ne.lazyAssign(ne.computedMember(ie,re),"{}")),be=ne.computedMember(ie,re),ne.assign(y,be),P&&(P.computed=!0,P.name=re)):(X&&X!==1&&ne.if_(ne.isNull(ne.nonComputedMember(ie,n.property.name)),ne.lazyAssign(ne.nonComputedMember(ie,n.property.name),"{}")),be=ne.nonComputedMember(ie,n.property.name),ne.assign(y,be),P&&(P.computed=!1,P.name=n.property.name))},function(){ne.assign(y,"undefined")}),H(y)},!!X);break;case At.CallExpression:y=y||this.nextId(),n.filter?(re=ne.filter(n.callee.name),me=[],e(n.arguments,function(Ae){var Fe=ne.nextId();ne.recurse(Ae,Fe),me.push(Fe)}),be=re+"("+me.join(",")+")",ne.assign(y,be),H(y)):(re=ne.nextId(),ie={},me=[],ne.recurse(n.callee,re,ie,function(){ne.if_(ne.notNull(re),function(){e(n.arguments,function(Ae){ne.recurse(Ae,n.constant?void 0:ne.nextId(),void 0,function(Fe){me.push(Fe)})}),ie.name?be=ne.member(ie.context,ie.name,ie.computed)+"("+me.join(",")+")":be=re+"("+me.join(",")+")",ne.assign(y,be)},function(){ne.assign(y,"undefined")}),H(y)}));break;case At.AssignmentExpression:re=this.nextId(),ie={},this.recurse(n.left,void 0,ie,function(){ne.if_(ne.notNull(ie.context),function(){ne.recurse(n.right,re),be=ne.member(ie.context,ie.name,ie.computed)+n.operator+re,ne.assign(y,be),H(y||be)})},1);break;case At.ArrayExpression:me=[],e(n.elements,function(Ae){ne.recurse(Ae,n.constant?void 0:ne.nextId(),void 0,function(Fe){me.push(Fe)})}),be="["+me.join(",")+"]",this.assign(y,be),H(y||be);break;case At.ObjectExpression:me=[],Ee=!1,e(n.properties,function(Ae){Ae.computed&&(Ee=!0)}),Ee?(y=y||this.nextId(),this.assign(y,"{}"),e(n.properties,function(Ae){Ae.computed?(ie=ne.nextId(),ne.recurse(Ae.key,ie)):ie=Ae.key.type===At.Identifier?Ae.key.name:""+Ae.key.value,re=ne.nextId(),ne.recurse(Ae.value,re),ne.assign(ne.member(y,ie,Ae.computed),re)})):(e(n.properties,function(Ae){ne.recurse(Ae.value,n.constant?void 0:ne.nextId(),void 0,function(Fe){me.push(ne.escape(Ae.key.type===At.Identifier?Ae.key.name:""+Ae.key.value)+":"+Fe)})}),be="{
Line truncated
|
||||
Watchers fired in the last 5 iterations: {1}`,n,Pt)}while(rt||Ae.length);for(st();at<Fe.length;)try{Fe[at++]()}catch(Sn){ue(Sn)}Fe.length=at=0,re.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var Le=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===Ee&&re.$$applicationDestroyed(),ot(this,-this.$$watchersCount);for(var Ie in this.$$listenerCount)it(this,this.$$listenerCount[Ie],Ie);Le&&Le.$$childHead===this&&(Le.$$childHead=this.$$nextSibling),Le&&Le.$$childTail===this&&(Le.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=b,this.$on=this.$watch=this.$watchGroup=function(){return b},this.$$listeners={},this.$$nextSibling=null,me(this)}},$eval:function(Le,Ie){return ie(Le)(this,Ie)},$evalAsync:function(Le,Ie){!Ee.$$phase&&!Ae.length&&re.defer(function(){Ae.length&&Ee.$digest()},null,"$evalAsync"),Ae.push({scope:this,fn:ie(Le),locals:Ie})},$$postDigest:function(Le){Fe.push(Le)},$apply:function(Le){try{vt("$apply");try{return this.$eval(Le)}finally{st()}}catch(Ie){ue(Ie)}finally{try{Ee.$digest()}catch(Ie){throw ue(Ie),Ie}}},$applyAsync:function(Le){var Ie=this;Le&&Oe.push(Ne),Le=ie(Le),Xe();function Ne(){Ie.$eval(Le)}},$on:function(Le,Ie){var Ne=this.$$listeners[Le];Ne||(this.$$listeners[Le]=Ne=[]),Ne.push(Ie);var Be=this;do Be.$$listenerCount[Le]||(Be.$$listenerCount[Le]=0),Be.$$listenerCount[Le]++;while(Be=Be.$parent);var tt=this;return function(){var dt=Ne.indexOf(Ie);dt!==-1&&(delete Ne[dt],it(tt,1,Le))}},$emit:function(Le,Ie){var Ne=[],Be,tt=this,dt=!1,rt={name:Le,targetScope:tt,stopPropagation:function(){dt=!0},preventDefault:function(){rt.defaultPrevented=!0},defaultPrevented:!1},gt=te([rt],arguments,1),xt,Rt;do{for(Be=tt.$$listeners[Le]||Ne,rt.currentScope=tt,xt=0,Rt=Be.length;xt<Rt;xt++){if(!Be[xt]){Be.splice(xt,1),xt--,Rt--;continue}try{Be[xt].apply(null,gt)}catch(_t){ue(_t)}}if(dt)break;tt=tt.$parent}while(tt);return rt.currentScope=null,rt},$broadcast:function(Le,Ie){var Ne=this,Be=Ne,tt=Ne,dt={name:Le,targetScope:Ne,preventDefault:function(){dt.defaultPrevented=!0},defaultPrevented:!1};if(!Ne.$$listenerCount[Le])return dt;for(var rt=te([dt],arguments,1),gt,xt,Rt;Be=tt;){for(dt.currentScope=Be,gt=Be.$$listeners[Le]||[],xt=0,Rt=gt.length;xt<Rt;xt++){if(!gt[xt]){gt.splice(xt,1),xt--,Rt--;continue}try{gt[xt].apply(null,rt)}catch(_t){ue(_t)}}if(!(tt=Be.$$listenerCount[Le]&&Be.$$childHead||Be!==Ne&&Be.$$nextSibling))for(;Be!==Ne&&!(tt=Be.$$nextSibling);)Be=Be.$parent}return dt.currentScope=null,dt}};var Ee=new be,Ae=Ee.$$asyncQueue=[],Fe=Ee.$$postDigestQueue=[],Oe=Ee.$$applyAsyncQueue=[],at=0;return Ee;function vt(Le){if(Ee.$$phase)throw y("inprog","{0} already in progress",Ee.$$phase);Ee.$$phase=Le}function st(){Ee.$$phase=null}function ot(Le,Ie){do Le.$$watchersCount+=Ie;while(Le=Le.$parent)}function it(Le,Ie,Ne){do Le.$$listenerCount[Ne]-=Ie,Le.$$listenerCount[Ne]===0&&delete Le.$$listenerCount[Ne];while(Le=Le.$parent)}function ut(){}function je(){for(;Oe.length;)try{Oe.shift()()}catch(Le){ue(Le)}H=null}function Xe(){H===null&&(H=re.defer(function(){Ee.$apply(je)},null,"$applyAsync"))}}]}function ul(){var n=/^\s*(https?|s?ftp|mailto|tel|file):/,y=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(P){return L(P)?(n=P,this):n},this.imgSrcSanitizationTrustedUrlList=function(P){return L(P)?(y=P,this):y},this.$get=function(){return function(H,X){var ue=X?y:n,ie=Et(H&&H.trim()).href;return ie!==""&&!ie.match(ue)?"unsafe:"+ie:H}}}var Hr=I("$sce"),Bn={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},dl=/_([a-z])/g;function Uo(n){return n.replace(dl,yr)}function fl(n){if(n==="self")return n;if(ae(n)){if(n.indexOf("***")>-1)throw Hr("iwcard","Illegal sequence *** in string matcher. String: {0}",n);return n=qe(n).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+n+"$")}else{if(z(n))return new RegExp("^"+n.source+"$");throw Hr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}}function Na(n){var y=[];return L(n)&&e(n,function(P){y.push(fl(P))}),y}function hl(){this.SCE_CONTEXTS=Bn;var n=["self"],y=[];this.trustedResourceUrlList=function(P){return arguments.length&&(n=Na(P)),n},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(P){this.trustedResourceUrlList=P}}),this.bannedResourceUrlList=function(P){return arguments.length&&(y=Na(P)),y},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(P){this.bannedResourceUrlList=P}}),this.$get=["$injector","$$sanitizeUri",function(P,H){var X=function(Oe){throw Hr(
Line truncated
|
||||
`+new Error().stack),he=!1}return V.apply(this,arguments)},V)}var i={};function c(S,V){Q.deprecationHandler!=null&&Q.deprecationHandler(S,V),i[S]||(e(V),i[S]=!0)}Q.suppressDeprecationWarnings=!1,Q.deprecationHandler=null;function u(S){return typeof Function!="undefined"&&S instanceof Function||Object.prototype.toString.call(S)==="[object Function]"}function s(S){var V,he;for(he in S)D(S,he)&&(V=S[he],u(V)?this[he]=V:this["_"+he]=V);this._config=S,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function t(S,V){var he=g({},S),ve;for(ve in V)D(V,ve)&&(I(S[ve])&&I(V[ve])?(he[ve]={},g(he[ve],S[ve]),g(he[ve],V[ve])):V[ve]!=null?he[ve]=V[ve]:delete he[ve]);for(ve in S)D(S,ve)&&!D(V,ve)&&I(S[ve])&&(he[ve]=g({},he[ve]));return he}function r(S){S!=null&&this.set(S)}var a;Object.keys?a=Object.keys:a=function(S){var V,he=[];for(V in S)D(S,V)&&he.push(V);return he};var l={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function f(S,V,he){var ve=this._calendar[S]||this._calendar.sameElse;return u(ve)?ve.call(V,he):ve}function b(S,V,he){var ve=""+Math.abs(S),Ce=V-ve.length,Ve=S>=0;return(Ve?he?"+":"":"-")+Math.pow(10,Math.max(0,Ce)).toString().substr(1)+ve}var C=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,$=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},R={};function L(S,V,he,ve){var Ce=ve;typeof ve=="string"&&(Ce=function(){return this[ve]()}),S&&(R[S]=Ce),V&&(R[V[0]]=function(){return b(Ce.apply(this,arguments),V[1],V[2])}),he&&(R[he]=function(){return this.localeData().ordinal(Ce.apply(this,arguments),S)})}function Y(S){return S.match(/\[[\s\S]/)?S.replace(/^\[|\]$/g,""):S.replace(/\\/g,"")}function ee(S){var V=S.match(C),he,ve;for(he=0,ve=V.length;he<ve;he++)R[V[he]]?V[he]=R[V[he]]:V[he]=Y(V[he]);return function(Ce){var Ve="",ht;for(ht=0;ht<ve;ht++)Ve+=u(V[ht])?V[ht].call(Ce,S):V[ht];return Ve}}function ae(S,V){return S.isValid()?(V=fe(V,S.localeData()),W[V]=W[V]||ee(V),W[V](S)):S.localeData().invalidDate()}function fe(S,V){var he=5;function ve(Ce){return V.longDateFormat(Ce)||Ce}for($.lastIndex=0;he>=0&&$.test(S);)S=S.replace($,ve),$.lastIndex=0,he-=1;return S}var xe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function se(S){var V=this._longDateFormat[S],he=this._longDateFormat[S.toUpperCase()];return V||!he?V:(this._longDateFormat[S]=he.match(C).map(function(ve){return ve==="MMMM"||ve==="MM"||ve==="DD"||ve==="dddd"?ve.slice(1):ve}).join(""),this._longDateFormat[S])}var B="Invalid date";function K(){return this._invalidDate}var z="%d",E=/\d{1,2}/;function j(S){return this._ordinal.replace("%d",S)}var Z={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function oe(S,V,he,ve){var Ce=this._relativeTime[he];return u(Ce)?Ce(S,V,he,ve):Ce.replace(/%d/i,S)}function q(S,V){var he=this._relativeTime[S>0?"future":"past"];return u(he)?he(V):he.replace(/%s/i,V)}var le={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ge(S){return typeof S=="string"?le[S]||le[S.toLowerCase()]:void 0}function Re(S){var V={},he,ve;for(ve in S)D(S,ve)&&(he=ge(ve),he&&(V[he]=S[ve]));return V}var ke={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function De(S){var V=[],he;for(he in S)D(S,he)&&V.push({unit:he,priority:ke[he]});return V.sort(function(ve,Ce){return ve.priority-Ce.priority}),V}var $e=/\d/,qe=/\d\d/,nt=/\d{3}/,bt=/\d{4}/,ct=/[+-]?\d{6}/,Me=/\d\d?/,Ge=/\d\d\d\d?/,Ze=/\d\d\d\d\d\d?/,ft=/\d{1,3}/,Mt=/\d{1,4}/,ce=/[+-]?\d{1,6}/,G=/\d+/,te=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,Pe=/[+-]?\d+(\.\d{1,3})?/,ze=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,
Line truncated
|
||||
`)}},{"./der":19,inherits:147}],22:[function(m,U,A){(function(p,w){"use strict";function v(se,B){if(!se)throw new Error(B||"Assertion failed")}function h(se,B){se.super_=B;var K=function(){};K.prototype=B.prototype,se.prototype=new K,se.prototype.constructor=se}function e(se,B,K){return e.isBN(se)?se:(this.negative=0,this.words=null,this.length=0,this.red=null,void(se!==null&&((B==="le"||B==="be")&&(K=B,B=10),this._init(se||0,B||10,K||"be"))))}function o(se,B){var K=se.charCodeAt(B);return 65<=K&&70>=K?K-55:97<=K&&102>=K?K-87:15&K-48}function i(se,B,K){var z=o(se,K);return K-1>=B&&(z|=o(se,K-1)<<4),z}function c(se,B,K,z){for(var E=0,j=J(se.length,K),Z=B,oe;Z<j;Z++)oe=se.charCodeAt(Z)-48,E*=z,E+=49<=oe?oe-49+10:17<=oe?oe-17+10:oe;return E}function u(se){for(var B=Array(se.bitLength()),K=0;K<B.length;K++){var z=0|K/26,E=K%26;B[K]=(se.words[z]&1<<E)>>>E}return B}function s(se,B,K){K.negative=B.negative^se.negative;var z=0|se.length+B.length;K.length=z,z=0|z-1;var E=0|se.words[0],j=0|B.words[0],Z=E*j,oe=67108863&Z,q=0|Z/67108864;K.words[0]=oe;for(var le=1;le<z;le++){for(var ge=q>>>26,Re=67108863&q,ke=J(le,B.length-1),De=F(0,le-se.length+1),$e;De<=ke;De++)$e=0|le-De,E=0|se.words[$e],j=0|B.words[De],Z=E*j+Re,ge+=0|Z/67108864,Re=67108863&Z;K.words[le]=0|Re,q=0|ge}return q===0?K.length--:K.words[le]=0|q,K.strip()}function t(se,B,K){K.negative=B.negative^se.negative,K.length=se.length+B.length;for(var z=0,E=0,j=0,Z;j<K.length-1;j++){Z=E,E=0;for(var oe=67108863&z,q=J(j,B.length-1),le=F(0,j-se.length+1);le<=q;le++){var ge=j-le,Re=0|se.words[ge],ke=0|B.words[le],De=Re*ke,$e=67108863&De;Z=0|Z+(0|De/67108864),$e=0|$e+oe,oe=67108863&$e,Z=0|Z+($e>>>26),E+=Z>>>26,Z&=67108863}K.words[j]=oe,z=Z,Z=E}return z===0?K.length--:K.words[j]=z,K.strip()}function r(se,B,K){var z=new a;return z.mulp(se,B,K)}function a(se,B){this.x=se,this.y=B}function l(se,B){this.name=se,this.p=new e(B,16),this.n=this.p.bitLength(),this.k=new e(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function f(){l.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){l.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function C(){l.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function $(){l.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function W(se){if(typeof se=="string"){var B=e._prime(se);this.m=B.p,this.prime=B}else v(se.gtn(1),"modulus must be greater than 1"),this.m=se,this.prime=null}function R(se){W.call(this,se),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new e(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}typeof p=="object"?p.exports=e:w.BN=e,e.BN=e,e.wordSize=26;var L;try{L=typeof window!="undefined"&&typeof window.Buffer!="undefined"?window.Buffer:m("buffer").Buffer}catch{}e.isBN=function(B){return B instanceof e||B!==null&&typeof B=="object"&&B.constructor.wordSize===e.wordSize&&Array.isArray(B.words)},e.max=function(B,K){return 0<B.cmp(K)?B:K},e.min=function(B,K){return 0>B.cmp(K)?B:K},e.prototype._init=function(B,K,z){if(typeof B=="number")return this._initNumber(B,K,z);if(typeof B=="object")return this._initArray(B,K,z);K==="hex"&&(K=16),v(K===(0|K)&&2<=K&&36>=K),B=B.toString().replace(/\s+/g,"");var E=0;B[0]==="-"&&(E++,this.negative=1),E<B.length&&(K===16?this._parseHex(B,E,z):(this._parseBase(B,K,E),z==="le"&&this._initArray(this.toArray(),K,z)))},e.prototype._initNumber=function(B,K,z){0>B&&(this.negative=1,B=-B),67108864>B?(this.words=[67108863&B],this.length=1):4503599627370496>B?(this.words=[67108863&B,67108863&B/67108864],this.length=2):(v(9007199254740992>B),this.words=[67108863&B,67108863&B/67108864,1],this.length=3),z!=="le"||this._initArray(this.toArray(),K,z)},e.prototype._initArray=function(B,K,z){if(v(typeof B.length=="number"),0>=B.length)return this.words=[0],this.length=1,this;this.length=N(B.length/3),this.words=Array(this.length);for(var E=0;E<this.length;E++)this.words[E]=0;var j=0,Z,oe;if(z==="be")for(E=B.length-1,Z=0;0<=E;E-=3)oe=B[E]|B[E-1]<<8|B[E-2]<<16,this.words[Z]|=67108863&oe<<j,this.words[Z+1]=67108863&oe>>>26-j,j+=24,26<=j&&(j-=26,Z++);else if(z==="le")for(E=0,Z=0;E<B.length;E+=3)oe=B[E]|B[E+1]<<8|B[E+2]<<16,this.words[Z]|=67108863&oe<<j,this.words[Z+1]=67108863&oe>>>26-j,j+=24,26<=j&&(j-=26,Z++);return this.strip()},e.prototype._parseHex=function(B,K,z){this.length=N((B.length-K)/6),this.words=Array(this.length);for(var E=0;E<this.length;E++)this.words[E]=0;var j=0,Z=0,oe;if(z==="be")for(E=B.length-1;E>=K;E-=2)oe=i(B,K,E)<<j,this.words[Z]|=67108863&oe,18<=j?(j-=18,Z+=1,this.words[Z]|=oe>>>26):j+=8;else{var q=B.length-K;for(E=q%2==0?K+1:K;E<B.length;E+=2)oe=i(B,K,E)<<j,this.words[Z]|=67108863&oe,18<=j?(j-=18,Z+=1,this.words[Z]|=oe>>>26):j+=8}this.strip()},e.
Line truncated
|
||||
https://github.com/crypto-browserify/crypto-browserify`)},A.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":60,"browserify-sign":67,"browserify-sign/algos":64,"create-ecdh":83,"create-hash":85,"create-hmac":87,"diffie-hellman":99,pbkdf2:186,"public-encrypt":194,randombytes:209,randomfill:210}],91:[function(m,U,A){(function(p){(function(){function w(){return!!(typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))||!(typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function v(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+U.exports.humanize(this.diff),!this.useColors)return;let u="color: "+this.color;c.splice(1,0,u,"color: inherit");let s=0,t=0;c[0].replace(/%[a-zA-Z%]/g,r=>{r==="%%"||(s++,r==="%c"&&(t=s))}),c.splice(t,0,u)}function h(c){try{c?A.storage.setItem("debug",c):A.storage.removeItem("debug")}catch{}}function e(){let c;try{c=A.storage.getItem("debug")}catch{}return!c&&typeof p!="undefined"&&"env"in p&&(c=p.env.DEBUG),c}function o(){try{return localStorage}catch{}}A.formatArgs=v,A.save=h,A.load=e,A.useColors=w,A.storage=o(),A.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),A.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],A.log=console.debug||console.log||(()=>{}),U.exports=m("./common")(A);let{formatters:i}=U.exports;i.j=function(c){try{return JSON.stringify(c)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}}).call(this)}).call(this,m("_process"))},{"./common":92,_process:193}],92:[function(m,U,A){function p(w){function v(r){let a=0;for(let l=0;l<r.length;l++)a=(a<<5)-a+r.charCodeAt(l),a|=0;return h.colors[O(a)%h.colors.length]}function h(r){function a(...$){if(!a.enabled)return;let W=a,R=+new Date,L=R-(f||R);W.diff=L,W.prev=f,W.curr=R,f=R,$[0]=h.coerce($[0]),typeof $[0]!="string"&&$.unshift("%O");let Y=0;$[0]=$[0].replace(/%([a-zA-Z%])/g,(ae,fe)=>{if(ae==="%%")return"%";Y++;let xe=h.formatters[fe];if(typeof xe=="function"){let se=$[Y];ae=xe.call(W,se),$.splice(Y,1),Y--}return ae}),h.formatArgs.call(W,$),(W.log||h.log).apply(W,$)}let l=null,f,b,C;return a.namespace=r,a.useColors=h.useColors(),a.color=h.selectColor(r),a.extend=e,a.destroy=h.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>l===null?(b!==h.namespaces&&(b=h.namespaces,C=h.enabled(r)),C):l,set:$=>{l=$}}),typeof h.init=="function"&&h.init(a),a}function e(r,a){let l=h(this.namespace+(typeof a=="undefined"?":":a)+r);return l.log=this.log,l}function o(r){h.save(r),h.namespaces=r,h.names=[],h.skips=[];let a,l=(typeof r=="string"?r:"").split(/[\s,]+/),f=l.length;for(a=0;a<f;a++)l[a]&&(r=l[a].replace(/\*/g,".*?"),r[0]==="-"?h.skips.push(new RegExp("^"+r.slice(1)+"$")):h.names.push(new RegExp("^"+r+"$")))}function i(){let r=[...h.names.map(u),...h.skips.map(u).map(a=>"-"+a)].join(",");return h.enable(""),r}function c(r){if(r[r.length-1]==="*")return!0;let a,l;for(a=0,l=h.skips.length;a<l;a++)if(h.skips[a].test(r))return!1;for(a=0,l=h.names.length;a<l;a++)if(h.names[a].test(r))return!0;return!1}function u(r){return r.toString().substring(2,r.toString().length-2).replace(/\.\*\?$/,"*")}function s(r){return r instanceof Error?r.stack||r.
Line truncated
|
||||
Use Chrome, Firefox or Internet Explorer 11`)}function h(u,s){if(u>4294967295)throw new RangeError("requested too many random bytes");var t=i.allocUnsafe(u);if(0<u)if(65536<u)for(var r=0;r<u;r+=65536)c.getRandomValues(t.slice(r,r+65536));else c.getRandomValues(t);return typeof s=="function"?p.nextTick(function(){s(null,t)}):t}var e=65536,o=4294967295,i=m("safe-buffer").Buffer,c=w.crypto||w.msCrypto;U.exports=c&&c.getRandomValues?h:v}).call(this)}).call(this,m("_process"),typeof global=="undefined"?typeof self=="undefined"?typeof window=="undefined"?{}:window:self:global)},{_process:193,"safe-buffer":235}],210:[function(m,U,A){(function(p,w){(function(){"use strict";function v(){throw new Error(`secure random number generation not supported by this browser
|
||||
use chrome, FireFox or Internet Explorer 11`)}function h(f,b){if(typeof f!="number"||f!==f)throw new TypeError("offset must be a number");if(4294967295<f||0>f)throw new TypeError("offset must be a uint32");if(f>r||f>b)throw new RangeError("offset out of range")}function e(f,b,C){if(typeof f!="number"||f!==f)throw new TypeError("size must be a number");if(4294967295<f||0>f)throw new TypeError("size must be a uint32");if(f+b>C||f>r)throw new RangeError("buffer too small")}function o(f,b,C,$){if(!t.isBuffer(f)&&!(f instanceof w.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof b=="function")$=b,b=0,C=f.length;else if(typeof C=="function")$=C,C=f.length-b;else if(typeof $!="function")throw new TypeError('"cb" argument must be a function');return h(b,f.length),e(C,b,f.length),i(f,b,C,$)}function i(f,b,C,$){if(p.browser){var W=f.buffer,R=new Uint8Array(W,b,C);return a.getRandomValues(R),$?void p.nextTick(function(){$(null,f)}):f}if($)return void s(C,function(Y,ee){return Y?$(Y):(ee.copy(f,b),void $(null,f))});var L=s(C);return L.copy(f,b),f}function c(f,b,C){if(typeof b=="undefined"&&(b=0),!t.isBuffer(f)&&!(f instanceof w.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return h(b,f.length),C===void 0&&(C=f.length-b),e(C,b,f.length),i(f,b,C)}var u=m("safe-buffer"),s=m("randombytes"),t=u.Buffer,r=u.kMaxLength,a=w.crypto||w.msCrypto,l=k(2,32)-1;a&&a.getRandomValues||!p.browser?(A.randomFill=o,A.randomFillSync=c):(A.randomFill=v,A.randomFillSync=v)}).call(this)}).call(this,m("_process"),typeof global=="undefined"?typeof self=="undefined"?typeof window=="undefined"?{}:window:self:global)},{_process:193,randombytes:209,"safe-buffer":235}],211:[function(m,U,A){"use strict";function p(i,c,u){if(typeof c!="string")throw new TypeError("argument str must be a string");var s=c.indexOf("=");if(s===-1)return-2;var t=c.slice(s+1).split(","),r=[];r.type=c.slice(0,s);for(var a=0;a<t.length;a++){var l=t[a].split("-"),f=parseInt(l[0],10),b=parseInt(l[1],10);isNaN(f)?(f=i-b,b=i-1):isNaN(b)&&(b=i-1),b>i-1&&(b=i-1),!(isNaN(f)||isNaN(b)||f>b||0>f)&&r.push({start:f,end:b})}return 1>r.length?-1:u&&u.combine?w(r):r}function w(i){for(var c=i.map(v).sort(o),u=0,s=1;s<c.length;s++){var t=c[s],r=c[u];t.start>r.end+1?c[++u]=t:t.end>r.end&&(r.end=t.end,r.index=J(r.index,t.index))}c.length=u+1;var a=c.sort(e).map(h);return a.type=i.type,a}function v(i,c){return{start:i.start,end:i.end,index:c}}function h(i){return{start:i.start,end:i.end}}function e(i,c){return i.index-c.index}function o(i,c){return i.start-c.start}U.exports=p},{}],212:[function(m,U,A){let{Writable:p,PassThrough:w}=m("readable-stream");class v extends p{constructor(e,o={}){super(o),this.destroyed=!1,this._queue=[],this._position=e||0,this._cb=null,this._buffer=null,this._out=null}_write(e,o,i){let c=!0;for(;;){if(this.destroyed)return;if(this._queue.length===0)return this._buffer=e,void(this._cb=i);this._buffer=null;var u=this._queue[0];let s=F(u.start-this._position,0),t=u.end-this._position;if(s>=e.length)return this._position+=e.length,i(null);let r;if(t>e.length){this._position+=e.length,r=s===0?e:e.slice(s),c=u.stream.write(r)&&c;break}this._position+=t,r=s===0&&t===e.length?e:e.slice(s,t),c=u.stream.write(r)&&c,u.last&&u.stream.end(),e=e.slice(t),this._queue.shift()}c?i(null):u.stream.once("drain",i.bind(null,null))}slice(e){if(this.destroyed)return null;Array.isArray(e)||(e=[e]);let o=new w;return e.forEach((i,c)=>{this._queue.push({start:i.start,end:i.end,stream:o,last:c===e.length-1})}),this._buffer&&this._write(this._buffer,null,this._cb),o}destroy(e){this.destroyed||(this.destroyed=!0,e&&this.emit("error",e))}}U.exports=v},{"readable-stream":228}],213:[function(m,U,A){"use strict";function p(u){return parseInt(u,10)===u}function w(u){function s(){for(var a=Array(u),l=0;l<u;l++)a[l]=l;return a}function t(a){if(a===void 0){a=Array(u);for(var l=0;l<u;l++)a[l]=I(Math.random()*u)}else if(typeof a=="string")a=""+a,a=a.split("").map(function(R){return R.charCodeAt(0)%u});else if(Array.isArray(a)){if(!a.every(function(R){return typeof R=="number"&&R===(0|R)}))throw new TypeError("invalid seed key specified: not array of integers")}else throw new TypeError("invalid seed key specified");for(var f=a.length,b=s(),C=0,$=0;$<u;$++){C=(C+b[$]+a[$%f])%u;var W=b[$];b[$]=b[C],b[C]=W}return b}function r(a){this.s=t(a),this.i=0,this.j=0}return r.prototype.randomNative=function(){this.i=(this.i+1)%u,this.j=(this.j+this.s[this.i])%u;var a=this.s[this.i];this.s[this.i]=this.s[this.j],this.s[this.j]=a;var l=this.s[(this.s[this.i]+this.s[this.j])%u];return l},r.prototype.randomUInt32=function(){var a=this.randomByte(),l=this.randomByte(),f=this.randomByte(),b=this.randomByte();return 256*(256*(256*a+l)+f)+b},r.prototype.randomFloat=function(){return this.randomUInt32()/4294967296},r.prototype.random=function(){var a,l;if(arguments.length===1)a=0,l=arguments[0];else if(arguments.length===2)a=arguments[0],l=arguments[1];
Line truncated
|
||||
`}),f=f+"("+h.toString().replace("ENTRY_MODULE",JSON.stringify(t))+")({"+l.main.map(function(R){return""+JSON.stringify(R)+": "+a.main[R].toString()}).join(",")+"})(self);";var b=new window.Blob([f],{type:"text/javascript"});if(r.bare)return b;var C=window.URL||window.webkitURL||window.mozURL||window.msURL,$=C.createObjectURL(b),W=new window.Worker($);return W.objectURL=$,W}},function(p,w){p.exports=function(h,e,o){function i(u,s){u|=0,s|=0;var t=0,r=0,a=0,l=0,f=0,b=0,C=0,$=0,W=0,R=0,L=0,Y=0,ee=0,ae=0;for(a=0|c[s+320>>2],f=0|c[s+324>>2],C=0|c[s+328>>2],W=0|c[s+332>>2],L=0|c[s+336>>2],t=0;(0|t)<(0|u);t=0|t+64){for(l=a,b=f,$=C,R=W,Y=L,r=0;64>(0|r);r=0|r+4)ae=0|c[t+r>>2],ee=0|(0|(a<<5|a>>>27)+(f&C|~f&W))+(0|(0|ae+L)+1518500249),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,c[u+r>>2]=ae;for(r=0|u+64;(0|r)<(0|u+80);r=0|r+4)ae=(c[r-12>>2]^c[r-32>>2]^c[r-56>>2]^c[r-64>>2])<<1|(c[r-12>>2]^c[r-32>>2]^c[r-56>>2]^c[r-64>>2])>>>31,ee=0|(0|(a<<5|a>>>27)+(f&C|~f&W))+(0|(0|ae+L)+1518500249),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,c[r>>2]=ae;for(r=0|u+80;(0|r)<(0|u+160);r=0|r+4)ae=(c[r-12>>2]^c[r-32>>2]^c[r-56>>2]^c[r-64>>2])<<1|(c[r-12>>2]^c[r-32>>2]^c[r-56>>2]^c[r-64>>2])>>>31,ee=0|(0|(a<<5|a>>>27)+(f^C^W))+(0|(0|ae+L)+1859775393),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,c[r>>2]=ae;for(r=0|u+160;(0|r)<(0|u+240);r=0|r+4)ae=(c[r-12>>2]^c[r-32>>2]^c[r-56>>2]^c[r-64>>2])<<1|(c[r-12>>2]^c[r-32>>2]^c[r-56>>2]^c[r-64>>2])>>>31,ee=0|(0|(a<<5|a>>>27)+(f&C|f&W|C&W))+(0|(0|ae+L)-1894007588),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,c[r>>2]=ae;for(r=0|u+240;(0|r)<(0|u+320);r=0|r+4)ae=(c[r-12>>2]^c[r-32>>2]^c[r-56>>2]^c[r-64>>2])<<1|(c[r-12>>2]^c[r-32>>2]^c[r-56>>2]^c[r-64>>2])>>>31,ee=0|(0|(a<<5|a>>>27)+(f^C^W))+(0|(0|ae+L)-899497514),L=W,W=C,C=f<<30|f>>>2,f=a,a=ee,c[r>>2]=ae;a=0|a+l,f=0|f+b,C=0|C+$,W=0|W+R,L=0|L+Y}c[s+320>>2]=a,c[s+324>>2]=f,c[s+328>>2]=C,c[s+332>>2]=W,c[s+336>>2]=L}var c=new h.Int32Array(o);return{hash:i}}},function(p,w){var v=this,h=void 0;typeof self!="undefined"&&typeof self.FileReaderSync!="undefined"&&(h=new self.FileReaderSync);var e=function(c,u,s,t,r,a){var l=a%4,f=(r+l)%4,b=r-f,C;switch(l){case 0:u[a]=c.charCodeAt(t+3);case 1:u[0|a+1-(l<<1)]=c.charCodeAt(t+2);case 2:u[0|a+2-(l<<1)]=c.charCodeAt(t+1);case 3:u[0|a+3-(l<<1)]=c.charCodeAt(t)}if(!(r<f+(4-l))){for(C=4-l;C<b;C=0|C+4)s[a+C>>2]=c.charCodeAt(t+C)<<24|c.charCodeAt(t+C+1)<<16|c.charCodeAt(t+C+2)<<8|c.charCodeAt(t+C+3);switch(f){case 3:u[0|a+b+1]=c.charCodeAt(t+b+2);case 2:u[0|a+b+2]=c.charCodeAt(t+b+1);case 1:u[0|a+b+3]=c.charCodeAt(t+b)}}},o=function(c,u,s,t,r,a){var l=a%4,f=(r+l)%4,b=r-f,C;switch(l){case 0:u[a]=c[t+3];case 1:u[0|a+1-(l<<1)]=c[t+2];case 2:u[0|a+2-(l<<1)]=c[t+1];case 3:u[0|a+3-(l<<1)]=c[t]}if(!(r<f+(4-l))){for(C=4-l;C<b;C=0|C+4)s[0|a+C>>2]=c[t+C]<<24|c[t+C+1]<<16|c[t+C+2]<<8|c[t+C+3];switch(f){case 3:u[0|a+b+1]=c[t+b+2];case 2:u[0|a+b+2]=c[t+b+1];case 1:u[0|a+b+3]=c[t+b]}}},i=function(c,u,s,t,r,a){var l=void 0,f=a%4,b=(r+f)%4,C=r-b,$=new Uint8Array(h.readAsArrayBuffer(c.slice(t,t+r)));switch(f){case 0:u[a]=$[3];case 1:u[0|a+1-(f<<1)]=$[2];case 2:u[0|a+2-(f<<1)]=$[1];case 3:u[0|a+3-(f<<1)]=$[0]}if(!(r<b+(4-f))){for(l=4-f;l<C;l=0|l+4)s[0|a+l>>2]=$[l]<<24|$[l+1]<<16|$[l+2]<<8|$[l+3];switch(b){case 3:u[0|a+C+1]=$[C+2];case 2:u[0|a+C+2]=$[C+1];case 1:u[0|a+C+3]=$[C]}}};p.exports=function(c,u,s,t,r,a){if(typeof c=="string")return e(c,u,s,t,r,a);if(c instanceof Array||v&&v.Buffer&&v.Buffer.isBuffer(c))return o(c,u,s,t,r,a);if(c instanceof ArrayBuffer)return o(new Uint8Array(c),u,s,t,r,a);if(c.buffer instanceof ArrayBuffer)return o(new Uint8Array(c.buffer,c.byteOffset,c.byteLength),u,s,t,r,a);if(c instanceof Blob)return i(c,u,s,t,r,a);throw new Error("Unsupported data type.")}},function(p,w,v){function h(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}var e=(function(){function s(t,r){for(var a=0,l;a<r.length;a++)l=r[a],l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(t,l.key,l)}return function(t,r,a){return r&&s(t.prototype,r),a&&s(t,a),t}})(),o=v(0),i=v(1),c=i.toHex,u=(function(){function s(){h(this,s),this._rusha=new o,this._rusha.resetState()}return s.prototype.update=function(r){return this._rusha.append(r),this},s.prototype.digest=function(r){var a=this._rusha.rawEnd().buffer;if(!r)return a;if(r==="hex")return c(a);throw new Error("unsupported digest encoding")},e(s,[{key:"state",get:function(){return this._rusha.getState()},set:function(t){this._rusha.setState(t)}}]),s})();p.exports=function(){return new u}}])})},{}],235:[function(m,U,A){function p(e,o){for(var i in e)o[i]=e[i]}function w(e,o,i){return h(e,o,i)}var v=m("buffer"),h=v.Buffer;h.from&&h.alloc&&h.allocUnsafe&&h.allocUnsafeSlow?U.exports=v:(p(v,A),A.Buffer=w),w.prototype=Object.create(h.prototype),p(h,w),w.from=function(e,o,i){if(typeof e=="number")throw new TypeError("Argument must not be a number");return h(e,o,i)},w.alloc=function(e,o,i){if(typeof e!="number")throw new TypeError("Argument must be a number");var c=h(e);return o===v
Line truncated
|
||||
`," "],r=["{","}","|","\\","^","`"].concat(t),a=["'"].concat(r),l=["%","/","?",";","#"].concat(a),f=["/","?","#"],b=255,C=/^[+a-z0-9A-Z_-]{0,63}$/,$=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,W={javascript:!0,"javascript:":!0},R={javascript:!0,"javascript:":!0},L={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Y=m("querystring");p.prototype.parse=function(ee,ae,fe){if(!i.isString(ee))throw new TypeError("Parameter 'url' must be a string, not "+typeof ee);var xe=ee.indexOf("?"),se=xe!==-1&&xe<ee.indexOf("#")?"?":"#",B=ee.split(se),K=/\\/g;B[0]=B[0].replace(K,"/"),ee=B.join(se);var z=ee;if(z=z.trim(),!fe&&ee.split("#").length===1){var E=s.exec(z);if(E)return this.path=z,this.href=z,this.pathname=E[1],E[2]?(this.search=E[2],this.query=ae?Y.parse(this.search.substr(1)):this.search.substr(1)):ae&&(this.search="",this.query={}),this}var j=c.exec(z);if(j){j=j[0];var Z=j.toLowerCase();this.protocol=Z,z=z.substr(j.length)}if(fe||j||z.match(/^\/\/[^@\/]+@[^@\/]+/)){var oe=z.substr(0,2)==="//";oe&&!(j&&R[j])&&(z=z.substr(2),this.slashes=!0)}if(!R[j]&&(oe||j&&!L[j])){for(var q=-1,le=0,ge;le<f.length;le++)ge=z.indexOf(f[le]),ge!==-1&&(q===-1||ge<q)&&(q=ge);var Re,ke;ke=q===-1?z.lastIndexOf("@"):z.lastIndexOf("@",q),ke!==-1&&(Re=z.slice(0,ke),z=z.slice(ke+1),this.auth=decodeURIComponent(Re)),q=-1;for(var le=0,ge;le<l.length;le++)ge=z.indexOf(l[le]),ge!==-1&&(q===-1||ge<q)&&(q=ge);q===-1&&(q=z.length),this.host=z.slice(0,q),z=z.slice(q),this.parseHost(),this.hostname=this.hostname||"";var De=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!De){for(var $e=this.hostname.split(/\./),le=0,qe=$e.length,nt;le<qe;le++)if(nt=$e[le],nt&&!nt.match(C)){for(var bt="",ct=0,Me=nt.length;ct<Me;ct++)bt+=127<nt.charCodeAt(ct)?"x":nt[ct];if(!bt.match(C)){var Ge=$e.slice(0,le),Ze=$e.slice(le+1),ft=nt.match($);ft&&(Ge.push(ft[1]),Ze.unshift(ft[2])),Ze.length&&(z="/"+Ze.join(".")+z),this.hostname=Ge.join(".");break}}}this.hostname=255<this.hostname.length?"":this.hostname.toLowerCase(),De||(this.hostname=o.toASCII(this.hostname));var Mt=this.port?":"+this.port:"",ce=this.hostname||"";this.host=ce+Mt,this.href+=this.host,De&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),z[0]!=="/"&&(z="/"+z))}if(!W[Z]){for(var le=0,qe=a.length,G;le<qe;le++)if(G=a[le],z.indexOf(G)!==-1){var te=encodeURIComponent(G);te===G&&(te=escape(G)),z=z.split(G).join(te)}}var de=z.indexOf("#");de!==-1&&(this.hash=z.substr(de),z=z.slice(0,de));var _e=z.indexOf("?");if(_e===-1?ae&&(this.search="",this.query={}):(this.search=z.substr(_e),this.query=z.substr(_e+1),ae&&(this.query=Y.parse(this.query)),z=z.slice(0,_e)),z&&(this.pathname=z),L[Z]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Mt=this.pathname||"",Pe=this.search||"";this.path=Mt+Pe}return this.href=this.format(),this},p.prototype.format=function(){var ee=this.auth||"";ee&&(ee=encodeURIComponent(ee),ee=ee.replace(/%3A/i,":"),ee+="@");var ae=this.protocol||"",fe=this.pathname||"",xe=this.hash||"",se=!1,B="";this.host?se=ee+this.host:this.hostname&&(se=ee+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(se+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(B=Y.stringify(this.query));var K=this.search||B&&"?"+B||"";return ae&&ae.substr(-1)!==":"&&(ae+=":"),this.slashes||(!ae||L[ae])&&se!==!1?(se="//"+(se||""),fe&&fe.charAt(0)!=="/"&&(fe="/"+fe)):!se&&(se=""),xe&&xe.charAt(0)!=="#"&&(xe="#"+xe),K&&K.charAt(0)!=="?"&&(K="?"+K),fe=fe.replace(/[?#]/g,function(z){return encodeURIComponent(z)}),K=K.replace("#","%23"),ae+se+fe+K+xe},p.prototype.resolve=function(ee){return this.resolveObject(w(ee,!1,!0)).format()},p.prototype.resolveObject=function(ee){if(i.isString(ee)){var ae=new p;ae.parse(ee,!1,!0),ee=ae}for(var fe=new p,xe=Object.keys(this),se=0,B;se<xe.length;se++)B=xe[se],fe[B]=this[B];if(fe.hash=ee.hash,ee.href==="")return fe.href=fe.format(),fe;if(ee.slashes&&!ee.protocol){for(var K=Object.keys(ee),z=0,E;z<K.length;z++)E=K[z],E!=="protocol"&&(fe[E]=ee[E]);return L[fe.protocol]&&fe.hostname&&!fe.pathname&&(fe.path=fe.pathname="/"),fe.href=fe.format(),fe}if(ee.protocol&&ee.protocol!==fe.protocol){if(!L[ee.protocol]){for(var j=Object.keys(ee),Z=0,oe;Z<j.length;Z++)oe=j[Z],fe[oe]=ee[oe];return fe.href=fe.format(),fe}if(fe.protocol=ee.protocol,!ee.host&&!R[ee.protocol]){for(var qe=(ee.pathname||"").split("/");qe.length&&!(ee.host=qe.shift()););ee.host||(ee.host=""),ee.hostname||(ee.hostname=""),qe[0]!==""&&qe.unshift(""),2>qe.length&&qe.unshift(""),fe.pathname=qe.join("/")}else fe.pathname=ee.pathname;if(fe.search=ee.search,fe.query=ee.query,fe.host=ee.host||"",fe.auth=ee.auth,fe.hostname=ee.hostname||ee.host,fe.port=ee.port,fe.pathname||fe.search){var q=fe.pathname||"",le=fe.search||"";fe.path=q+le}return fe.slashes=fe.slashes||ee.slashes,fe.href=fe.format(),fe}var ge=fe.pathname&&fe.pathname.charAt(0)==="/",Re=ee.host||ee.pathname&&ee.pat
Line truncated
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-header-canvas { width: "+(v+N.scrollbarWidth)+"px; }",A.explicitHeaderCanvasHeight){var u=document.querySelector(".grid"+g.grid.id+" .ui-grid-render-container-body .ui-grid-header-canvas");u&&(A.explicitHeaderCanvasHeight=u.offsetHeight),w+=`
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-header-canvas { height: "+A.explicitHeaderCanvasHeight+"px; }"}else w+=`
|
||||
.grid`+g.grid.id+" .ui-grid-render-container-"+_.containerId+" .ui-grid-footer-viewport { width: "+c+"px; }",w}g.grid.registerStyleComputation({priority:6,func:p})}}}}}]),we.controller("uiGridRenderContainer",["$scope","gridUtil",function(Q,k){}])})();(function(){"use strict";angular.module("ui.grid").directive("uiGridRow",function(){return{replace:!0,require:["^uiGrid","^uiGridRenderContainer"],scope:{row:"=uiGridRow",rowRenderIndex:"="},compile:function(){return{pre:function(we,Q,k,O){var I=O[0],D=O[1];we.grid=I.grid,we.colContainer=D.colContainer;var T,_;function x(){we.row.getRowTemplateFn.then(function(d){var M=we.$new();d(M,function(g,F){T&&(T.remove(),_.$destroy()),Q.empty().append(g),T=g,_=M})}).catch(angular.noop)}x(),we.$watch("row.getRowTemplateFn",function(d,M){d!==M&&x()})},post:function(we,Q){we.row.element=Q}}}}})})();(function(){angular.module("ui.grid").directive("uiGridStyle",["gridUtil","$interpolate",function(we,Q){return{link:function(k,O){var I=Q(O.text(),!0);I&&k.$watch(I,function(D){for(var T=0;T<O.length;T++)O[T].textContent=D})}}}])})();(function(){"use strict";angular.module("ui.grid").directive("uiGridViewport",["gridUtil","ScrollEvent",function(we,Q){return{replace:!0,scope:{},controllerAs:"Viewport",templateUrl:"ui-grid/uiGridViewport",require:["^uiGrid","^uiGridRenderContainer"],link:function(k,O,I,D){var T=D[0],_=D[1];k.containerCtrl=_;var x=_.rowContainer,d=_.colContainer,M=T.grid;k.grid=T.grid,k.rowContainer=_.rowContainer,k.colContainer=_.colContainer,_.viewport=O,M&&M.options&&M.options.customScroller?M.options.customScroller(O,F):O.on("scroll",F);var g=!1;function F(){var U=O[0].scrollTop,A=we.normalizeScrollLeft(O,M),p=x.scrollVertical(U),w=d.scrollHorizontal(A),v=new Q(M,x,d,Q.Sources.ViewPortScroll);v.newScrollLeft=A,v.newScrollTop=U,w>-1&&(v.x={percentage:w}),p>-1&&(v.y={percentage:p}),M.scrollContainers(k.$parent.containerId,v)}k.$parent.bindScrollVertical&&M.addVerticalScrollSync(k.$parent.containerId,N),k.$parent.bindScrollHorizontal&&(M.addHorizontalScrollSync(k.$parent.containerId,J),M.addHorizontalScrollSync(k.$parent.containerId+"header",pe),M.addHorizontalScrollSync(k.$parent.containerId+"footer",m));function N(U){_.prevScrollArgs=U,O[0].scrollTop=U.getNewScrollTop(x,_.viewport)}function J(U){_.prevScrollArgs=U;var A=U.getNewScrollLeft(d,_.viewport);O[0].scrollLeft=we.denormalizeScrollLeft(_.viewport,A,M)}function pe(U){var A=U.getNewScrollLeft(d,_.viewport);_.headerViewport&&(_.headerViewport.scrollLeft=we.denormalizeScrollLeft(_.viewport,A,M))}function m(U){var A=U.getNewScrollLeft(d,_.viewport);_.footerViewport&&(_.footerViewport.scrollLeft=we.denormalizeScrollLeft(_.viewport,A,M))}k.$on("$destroy",function(){O.off()})},controller:["$scope",function(k){this.rowStyle=function(){var O=k.rowContainer,I=k.colContainer,D={};if(O.currentTopRow!==0){var T="translateY("+O.currentTopRow*O.grid.options.rowHeight+"px)";D.transform=T,D["-webkit-transform"]=T,D["-ms-transform"]=T}return I.currentFirstColumn!==0&&(I.grid.isRTL()?D["margin-right"]=I.columnOffset+"px":D["margin-left"]=I.columnOffset+"px"),D}}]}}])})();(function(){angular.module("ui.grid").directive("uiGridVisible",function(){return function(Q,k,O){Q.$watch(O.uiGridVisible,function(I){k[I?"removeClass":"addClass"]("ui-grid-invisible")})}})})();(function(){"use strict";angular.module("ui.grid").controller("uiGridController",["$scope","$element","$attrs","gridUtil","$q","uiGridConstants","gridClassFactory","$parse","$compile",function(Q,k,O,I,D,T,_,x,d){var M=this,g=[];M.grid=_.createGrid(Q.uiGrid),M.grid.appScope=M.grid.appScope||Q.$parent,k.addClass("grid"+M.grid.id),M.grid.rtl=I.getStyles(k[0]).direction==="rtl",Q.grid=M.grid,O.uiGridColumns&&g.push(O.$observe("uiGridColumns",function(U){M.grid.options.columnDefs=angular.isString(U)?angular.fromJson(U):U,M.grid.buildColumns().then(function(){M.grid.preCompileCellTemplates(),M.grid.refreshCanvas(!0)}).catch(angular.noop)}));function F(U){return U?U.length:0}M.grid.options.fastWatch?(M.uiGrid=Q.uiGrid,angular.isString(Q.uiGrid.data)?(g.push(Q.$parent.$watch(Q.uiGrid.data,pe)),g.push(Q.$parent.$watch(function(){if(M.grid.appScope[Q.uiGrid.data])return M.grid.appScope[Q.uiGrid.data].length},pe))):(g.push(Q.$parent.$watch(function(){return Q.uiGrid.data},pe)),g.push(Q.$parent.$watch(function(){return F(Q.uiGrid.data)},function(){pe(Q.uiGrid.data)}))),g.push(Q.$parent.$watch(function(){return Q.uiGrid.columnDefs},N)),g.push(Q.$parent.$watch(function(){return F(Q.uiGrid.columnDefs)},function(){N(Q.uiGrid.columnDefs)}))):(angular.isString(Q.uiGrid.data)?g.push(Q.$parent.$watchCollection(Q.uiGrid.data,pe)):g.push(Q.$parent.$watchCollection(function(){return Q.uiGrid.data},pe)),g.push(Q.$parent.$watchCollection(function(){return Q.uiGrid.columnDefs},N)));function N(U,A){U&&U!==A&&(M.grid.options.columnDefs=Q.uiGrid.columnDefs,M.grid.callDataChangeCallbacks(T.dataChange.COLUMN,{orderByColumnDefs:!0,preCompileCellTemplates:!0}))}var J;function pe(U){var A=[];if(M.g
Line truncated
|
||||
`+i)})},J.prototype.minColumnsToRender=function(){var e=this,o=this.getViewportWidth(),i=0,c=0;return e.columns.forEach(function(u,s){if(c<o)c+=u.drawnWidth,i++;else{for(var t=0,r=s;r>=s-i;r--)t+=e.columns[r].drawnWidth;t<o&&i++}}),i},J.prototype.getBodyHeight=function(){return this.getViewportHeight()},J.prototype.getViewportHeight=function(){var e=this,o=this.gridHeight-this.headerHeight-this.footerHeight,i=e.getViewportAdjustment();return o=o+i.height,o>0?o:0},J.prototype.getViewportWidth=function(){var e=this,o=this.gridWidth,i=e.getViewportAdjustment();return o=o+i.width,o},J.prototype.getHeaderViewportWidth=function(){return this.getViewportWidth()},J.prototype.addVerticalScrollSync=function(h,e){this.verticalScrollSyncCallBackFns[h]=e},J.prototype.addHorizontalScrollSync=function(h,e){this.horizontalScrollSyncCallBackFns[h]=e},J.prototype.scrollContainers=function(h,e){if(e.y){var o=["body","left","right"];this.flagScrollingVertically(e),h==="body"?o=["left","right"]:h==="left"?o=["body","right"]:h==="right"&&(o=["body","left"]);for(var i=0;i<o.length;i++){var c=o[i];this.verticalScrollSyncCallBackFns[c]&&this.verticalScrollSyncCallBackFns[c](e)}}if(e.x){var u=["body","bodyheader","bodyfooter"];this.flagScrollingHorizontally(e),h==="body"&&(u=["bodyheader","bodyfooter"]);for(var s=0;s<u.length;s++){var t=u[s];this.horizontalScrollSyncCallBackFns[t]&&this.horizontalScrollSyncCallBackFns[t](e)}}},J.prototype.registerViewportAdjuster=function(e){this.viewportAdjusters.push(e)},J.prototype.removeViewportAdjuster=function(e){var o=this.viewportAdjusters.indexOf(e);typeof o!="undefined"&&o!==void 0&&this.viewportAdjusters.splice(o,1)},J.prototype.getViewportAdjustment=function(){var e=this,o={height:0,width:0};return e.viewportAdjusters.forEach(function(i){o=i.call(this,o)}),o},J.prototype.getVisibleRowCount=function(){return this.renderContainers.body.visibleRowCache.length},J.prototype.getVisibleRows=function(){return this.renderContainers.body.visibleRowCache},J.prototype.getVisibleColumnCount=function(){return this.renderContainers.body.visibleColumnCache.length},J.prototype.searchRows=function(e){return M.search(this,e,this.columns)},J.prototype.sortByColumn=function(e){return d.sort(this,e,this.columns)},J.prototype.getCellValue=function(e,o){return typeof e.entity["$$"+o.uid]!="undefined"?e.entity["$$"+o.uid].rendered:this.options.flatEntityAccess&&typeof o.field!="undefined"?e.entity[o.field]:(o.cellValueGetterCache||(o.cellValueGetterCache=k(e.getEntityQualifiedColField(o))),o.cellValueGetterCache(e))},J.prototype.getCellDisplayValue=function(e,o){if(!o.cellDisplayGetterCache){var i=o.cellFilter?" | "+o.cellFilter:"";if(typeof e.entity["$$"+o.uid]!="undefined")o.cellDisplayGetterCache=k(e.entity["$$"+o.uid].rendered+i);else if(this.options.flatEntityAccess&&typeof o.field!="undefined"){var c=o.field.replace(/(')|(\\)/g,"\\$&");o.cellDisplayGetterCache=k("entity['"+c+"']"+i)}else o.cellDisplayGetterCache=k(e.getEntityQualifiedColField(o)+i)}var u=angular.extend({},e,{col:o});return o.cellDisplayGetterCache(u)},J.prototype.getNextColumnSortPriority=function(){var e=this,o=0;return e.columns.forEach(function(i){i.sort&&i.sort.priority!==void 0&&i.sort.priority>=o&&(o=i.sort.priority+1)}),o},J.prototype.resetColumnSorting=function(e){var o=this;o.columns.forEach(function(i){i!==e&&!i.suppressRemoveSort&&(i.sort={})})},J.prototype.getColumnSorting=function(){var e=this,o=[],i;return i=e.columns.slice(0),i.sort(d.prioritySort).forEach(function(c){c.sort&&typeof c.sort.direction!="undefined"&&c.sort.direction&&(c.sort.direction===I.ASC||c.sort.direction===I.DESC)&&o.push(c)}),o},J.prototype.sortColumn=function(e,o,i){var c=this,u=null;if(typeof e=="undefined"||!e)throw new Error("No column parameter provided");if(typeof o=="boolean"?i=o:u=o,!i||c.options&&c.options.suppressMultiSort?(c.resetColumnSorting(e),e.sort.priority=void 0,e.sort.priority=c.getNextColumnSortPriority()):e.sort.priority===void 0&&(e.sort.priority=c.getNextColumnSortPriority()),u)e.sort.direction=u;else{var s=e.sortDirectionCycle.indexOf(e.sort&&e.sort.direction?e.sort.direction:null);s=(s+1)%e.sortDirectionCycle.length,e.colDef&&e.suppressRemoveSort&&!e.sortDirectionCycle[s]&&(s=(s+1)%e.sortDirectionCycle.length),e.sortDirectionCycle[s]?e.sort.direction=e.sortDirectionCycle[s]:m(e,c)}return c.api.core.raise.sortChanged(c,c.getColumnSorting()),we.when(e)};var m=function(e,o){o.columns.forEach(function(i){i.sort&&i.sort.priority!==void 0&&i.sort.priority>e.sort.priority&&(i.sort.priority-=1)}),e.sort={}};J.prototype.renderingComplete=function(){angular.isFunction(this.options.onRegisterApi)&&this.options.onRegisterApi(this.api),this.api.core.raise.renderingComplete(this.api)},J.prototype.createRowHashMap=function(){var e=this,o=new v;return o.grid=e,o},J.prototype.refresh=function(e){var o=this,i=o.processRowsProcessors(o.rows).then(function(u){o.setVisibleRows(u)}).catch(angular.noop),c=o.processColumnsProcessors(o.columns).then(fun
Line truncated
|
||||
`),m},formatRowAsCsv:function(g,F){return function(N){return N.map(g.formatFieldAsCsv).join(F)}},formatFieldAsCsv:function(g){return g.value==null?"":typeof g.value=="number"?g.value:typeof g.value=="boolean"?g.value?"TRUE":"FALSE":typeof g.value=="string"?'"'+g.value.replace(/"/g,'""')+'"':typeof g.value=="object"&&!(g.value instanceof Date)?'"'+JSON.stringify(g.value).replace(/"/g,'""')+'"':JSON.stringify(g.value)},isIE:function(){var g=navigator.userAgent.search(/(?:Edge|MSIE|Trident\/.*; rv:)/),F=!1;return g!==-1&&(F=!0),F},downloadFile:function(g,F,N,J,pe){var m=document,U=m.createElement("a"),A="application/octet-stream;charset=utf-8",p,w=this.isIE();if(pe&&(F="sep="+N+`\r
|
||||
`+F),navigator.msSaveBlob)return navigator.msSaveOrOpenBlob(new Blob([J?"\uFEFF":"",F],{type:A}),g);if(w){var v=m.createElement("iframe");return document.body.appendChild(v),v.contentWindow.document.open("text/html","replace"),v.contentWindow.document.write(F),v.contentWindow.document.close(),v.contentWindow.focus(),v.contentWindow.document.execCommand("SaveAs",!0,g),document.body.removeChild(v),!0}if("download"in U){var h=new Blob([J?"\uFEFF":"",F],{type:A});p=URL.createObjectURL(h),U.setAttribute("download",g)}else p="data: "+A+","+encodeURIComponent(F),U.setAttribute("target","_blank");U.href=p,U.setAttribute("style","display:none;"),m.body.appendChild(U),setTimeout(function(){if(U.click)U.click();else if(document.createEvent){var e=document.createEvent("MouseEvents");e.initEvent("click",!0,!0),U.dispatchEvent(e)}m.body.removeChild(U)},this.delay)},pdfExport:function(g,F,N){var J=this;J.type="pdf",this.loadAllDataIfNeeded(g,F,N).then(function(){var pe=J.getColumnHeaders(g,N),m=J.getData(g,F,N),U=J.prepareAsPdf(g,pe,m);if(J.isIE()||navigator.appVersion.indexOf("Edge")!==-1){var A=angular.isFunction(g.options.exporterPdfFilename)?g.options.exporterPdfFilename(g,F,N):g.options.exporterPdfFilename;J.downloadPDF(A,U)}else pdfMake.createPdf(U).open()})},downloadPDF:function(g,F){var N=document,J=N.createElement("a"),pe;pe=this.isIE();var m=pdfMake.createPdf(F),U;m.getBuffer(function(A){if(U=new Blob([A]),navigator.msSaveBlob)return navigator.msSaveBlob(U,g);if(pe){var p=N.createElement("iframe");return document.body.appendChild(p),p.contentWindow.document.open("text/html","replace"),p.contentWindow.document.write(U),p.contentWindow.document.close(),p.contentWindow.focus(),p.contentWindow.document.execCommand("SaveAs",!0,g),document.body.removeChild(p),!0}})},prepareAsPdf:function(g,F,N){var J=this.calculatePdfHeaderWidths(g,F),pe=F.map(function(p){return{text:p.displayName,style:"tableHeader"}}),m=N.map(this.formatRowAsPdf(this)),U=[pe].concat(m),A={pageOrientation:g.options.exporterPdfOrientation,pageSize:g.options.exporterPdfPageSize,content:[{style:"tableStyle",table:{headerRows:1,widths:J,body:U}}],styles:{tableStyle:g.options.exporterPdfTableStyle,tableHeader:g.options.exporterPdfTableHeaderStyle},defaultStyle:g.options.exporterPdfDefaultStyle};return g.options.exporterPdfLayout&&(A.layout=g.options.exporterPdfLayout),g.options.exporterPdfHeader&&(A.header=g.options.exporterPdfHeader),g.options.exporterPdfFooter&&(A.footer=g.options.exporterPdfFooter),g.options.exporterPdfCustomFormatter&&(A=g.options.exporterPdfCustomFormatter(A)),A},calculatePdfHeaderWidths:function(g,F){var N=0;F.forEach(function(m){typeof m.width=="number"&&(N+=m.width)});var J=0;F.forEach(function(m){if(m.width==="*"&&(J+=100),typeof m.width=="string"&&m.width.match(/(\d)*%/)){var U=parseInt(m.width.match(/(\d)*%/)[0]);m.width=N*U/100,J+=m.width}});var pe=N+J;return F.map(function(m){return m.width==="*"?m.width:m.width*g.options.exporterPdfMaxGridWidth/pe})},formatRowAsPdf:function(g){return function(F){return F.map(g.formatFieldAsPdfString)}},formatFieldAsPdfString:function(g){var F;return g.value==null?F="":typeof g.value=="number"?F=g.value.toString():typeof g.value=="boolean"?F=g.value?"TRUE":"FALSE":typeof g.value=="string"?F=g.value.replace(/"/g,'""'):g.value instanceof Date?F=JSON.stringify(g.value).replace(/^"/,"").replace(/"$/,""):typeof g.value=="object"?F=g.value:F=JSON.stringify(g.value).replace(/^"/,"").replace(/"$/,""),g.alignment&&typeof g.alignment=="string"&&(F={text:F,alignment:g.alignment}),F},formatAsExcel:function(g,F,N,J,pe){for(var m=g.map(function(o){return{value:o.displayName}}),U=[],A=[],p=0;p<m.length;p++){var w="header";switch(g[p].align){case"center":w="headerCenter";break;case"right":w="headerRight";break}var v=pe.styles&&pe.styles[w]?{style:pe.styles[w].id}:null;A.push({value:m[p].value,metadata:v})}U.push(A);for(var h=F.map(this.formatRowAsExcel(this,N,J)),e=0;e<h.length;e++)U.push(h[e]);return U},formatRowAsExcel:function(g,F,N){return function(J){for(var pe=[],m=0;m<J.length;m++){var U=g.formatFieldAsExcel(J[m],F,N);pe.push({value:U,metadata:J[m].metadata})}return pe}},formatFieldAsExcel:function(g,F,N,J){return g.value==null?"":typeof g.value=="number"||typeof g.value=="string"?g.value:typeof g.value=="boolean"?g.value?"TRUE":"FALSE":JSON.stringify(g.value)},prepareAsExcel:function(g,F,N){var J={styles:{}};if(g.options.exporterExcelCustomFormatters&&(J=g.options.exporterExcelCustomFormatters(g,F,J)),g.options.exporterExcelHeader)if(angular.isFunction(g.options.exporterExcelHeader))g.options.exporterExcelHeader(g,F,N,J);else{var pe=g.options.exporterExcelHeader.text,m=g.options.exporterExcelHeader.style;N.data.push([{value:pe,metadata:{style:J.styles[m].id}}])}return J},excelExport:function(g,F,N){var J=this;J.type="excel",this.loadAllDataIfNeeded(g,F,N).then(function(){var pe=g.options.showHeader?J.getColumnHeaders(g,N):[],m="Sheet1";g.options.exporterExcelSheetName&&(m=angular.isFunction(g.option
Line truncated
|
||||
`,M="",g=T.getErrorMessages(_,x);if(g.length)return g.forEach(function(F){M+=F+d}),Q.trustAsHtml(I.getSafeText("validate.error")+d+M)},runValidators:function(_,x,d,M,g){if(d!==M){if(typeof x.name=="undefined"||!x.name)throw new Error("colDef.name is required to perform validation");T.setValid(_,x);var F=function(U,A,p){return function(w){w||(T.setInvalid(U,A),T.setError(U,A,p),g&&g.api.validate.raise.validationFailed(U,A,d,M))}},N=[];for(var J in x.validators){T.clearError(_,x,J);var pe=T.getValidator(J,x.validators[J]),m=k.when(pe(M,d,_,x)).then(F(_,x,J));N.push(m)}return k.all(N)}},createDefaultValidators:function(){T.setValidator("minLength",function(_){return function(x,d){return d==null||d===""?!0:d.length>=_}},function(_){return I.getSafeText("validate.minLength").replace("THRESHOLD",_)}),T.setValidator("maxLength",function(_){return function(x,d){return d==null||d===""?!0:d.length<=_}},function(_){return I.getSafeText("validate.maxLength").replace("THRESHOLD",_)}),T.setValidator("required",function(_){return function(x,d){return _?!(d==null||d===""):!0}},function(){return I.getSafeText("validate.required")})},initializeGrid:function(_,x){x.validate={isInvalid:T.isInvalid,getErrorMessages:T.getErrorMessages,getFormattedErrors:T.getFormattedErrors,getTitleFormattedErrors:T.getTitleFormattedErrors,runValidators:T.runValidators};var d={events:{validate:{validationFailed:function(M,g,F,N){}}},methods:{validate:{isInvalid:function(M,g){return x.validate.isInvalid(M,g)},getErrorMessages:function(M,g){return x.validate.getErrorMessages(M,g)},getFormattedErrors:function(M,g){return x.validate.getFormattedErrors(M,g)},getTitleFormattedErrors:function(M,g){return x.validate.getTitleFormattedErrors(M,g)}}}};x.api.registerEventsFromObject(d.events),x.api.registerMethodsFromObject(d.methods),x.edit&&x.api.edit.on.afterCellEdit(_,function(M,g,F,N){x.validate.runValidators(M,g,F,N,x)}),T.createDefaultValidators()}};return T}]),we.directive("uiGridValidate",["gridUtil","uiGridValidateService",function(Q,k){return{priority:0,replace:!0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(O,I,D,T){k.initializeGrid(O,T.grid)},post:function(O,I,D,T){}}}}}])})();angular.module("ui.grid").run(["$templateCache",function(we){"use strict";we.put("ui-grid/ui-grid-filter",`<div class="ui-grid-filter-container" ng-style="col.extraStyle" ng-repeat="colFilter in col.filters" ng-class="{'ui-grid-filter-cancel-button-hidden' : colFilter.disableCancelFilterButton === true }"><div ng-if="colFilter.type !== 'select'"><input type="text" class="ui-grid-filter-input ui-grid-filter-input-{{$index}}" ng-model="colFilter.term" ng-attr-placeholder="{{colFilter.placeholder || ''}}" aria-label="{{colFilter.ariaLabel || aria.defaultFilterLabel}}"><div role="button" class="ui-grid-filter-button" ng-click="removeFilter(colFilter, $index)" ng-if="!colFilter.disableCancelFilterButton" ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === ''" ng-show="colFilter.term !== undefined && colFilter.term !== null && colFilter.term !== ''"><i class="ui-grid-icon-cancel" ui-grid-one-bind-aria-label="aria.removeFilter"> </i></div></div><div ng-if="colFilter.type === 'select'"><select class="ui-grid-filter-select ui-grid-filter-input-{{$index}}" ng-model="colFilter.term" ng-show="colFilter.selectOptions.length > 0" ng-attr-placeholder="{{colFilter.placeholder || aria.defaultFilterLabel}}" aria-label="{{colFilter.ariaLabel || ''}}" ng-options="option.value as option.label for option in colFilter.selectOptions"><option value=""></option></select><div role="button" class="ui-grid-filter-button-select" ng-click="removeFilter(colFilter, $index)" ng-if="!colFilter.disableCancelFilterButton" ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === ''" ng-show="colFilter.term !== undefined && colFilter.term != null"><i class="ui-grid-icon-cancel" ui-grid-one-bind-aria-label="aria.removeFilter"> </i></div></div></div>`),we.put("ui-grid/ui-grid-footer",'<div class="ui-grid-footer-panel ui-grid-footer-aggregates-row"><!-- tfooter --><div class="ui-grid-footer ui-grid-footer-viewport"><div class="ui-grid-footer-canvas"><div class="ui-grid-footer-cell-wrapper" ng-style="colContainer.headerCellWrapperStyle()"><div role="row" class="ui-grid-footer-cell-row"><div ui-grid-footer-cell role="gridcell" ng-repeat="col in colContainer.renderedColumns track by col.uid" col="col" render-index="$index" class="ui-grid-footer-cell ui-grid-clearfix"></div></div></div></div></div></div>'),we.put("ui-grid/ui-grid-grid-footer",`<div class="ui-grid-footer-info ui-grid-grid-footer"><span>{{'search.totalItems' | t}} {{grid.rows.length}}</span> <span ng-if="grid.renderContainers.body.visibleRowCache.length !== grid.rows.length" class="ngLabel">({{"search.showingItems" | t}} {{grid.renderContainers.body.visibleRowCache.length}})</span></div>`),we.put("ui-grid/ui-grid-header",'<div role="rowgroup" class=Line truncated
|
||||
</div> --></div></div>`),we.put("ui-grid/uiGridFooterCell",'<div class="ui-grid-cell-contents" col-index="renderIndex"><div>{{ col.getAggregationText() + ( col.getAggregationValue() CUSTOM_FILTERS ) }}</div></div>'),we.put("ui-grid/uiGridHeaderCell",`<div role="columnheader" ng-class="{ 'sortable': sortable, 'ui-grid-header-cell-last-col': isLastCol }" ui-grid-one-bind-aria-labelledby-grid="col.uid + '-header-text ' + col.uid + '-sortdir-text'" aria-sort="{{col.sort.direction == asc ? 'ascending' : ( col.sort.direction == desc ? 'descending' : (!col.sort.direction ? 'none' : 'other'))}}"><div role="button" tabindex="0" ng-keydown="handleKeyDown($event)" class="ui-grid-cell-contents ui-grid-header-cell-primary-focus" col-index="renderIndex" title="TOOLTIP"><span class="ui-grid-header-cell-label" ui-grid-one-bind-id-grid="col.uid + '-header-text'">{{ col.displayName CUSTOM_FILTERS }}</span> <span ui-grid-one-bind-id-grid="col.uid + '-sortdir-text'" ui-grid-visible="col.sort.direction" aria-label="{{getSortDirectionAriaLabel()}}"><i ng-class="{ 'ui-grid-icon-up-dir': col.sort.direction == asc, 'ui-grid-icon-down-dir': col.sort.direction == desc, 'ui-grid-icon-blank': !col.sort.direction }" title="{{isSortPriorityVisible() ? i18n.headerCell.priority + ' ' + ( col.sort.priority + 1 ) : null}}" aria-hidden="true"></i> <sub ui-grid-visible="isSortPriorityVisible()" class="ui-grid-sort-priority-number">{{col.sort.priority + 1}}</sub></span></div><div role="button" tabindex="0" ui-grid-one-bind-id-grid="col.uid + '-menu-button'" class="ui-grid-column-menu-button" ng-if="grid.options.enableColumnMenus && !col.isRowHeader && col.colDef.enableColumnMenu !== false" ng-click="toggleMenu($event)" ng-keydown="headerCellArrowKeyDown($event)" ui-grid-one-bind-aria-label="i18n.headerCell.aria.columnMenuButtonLabel" aria-expanded="{{col.menuShown}}" aria-haspopup="true"><i class="ui-grid-icon-angle-down" aria-hidden="true"> </i></div><div ui-grid-filter ng-hide="col.filterContainer === 'columnMenu'"></div></div>`),we.put("ui-grid/uiGridMenu",`<div class="ui-grid-menu" ng-keydown="checkKeyDown($event)" ng-show="shown"><style ui-grid-style>{{dynamicStyles}}</style><div class="ui-grid-menu-mid" ng-show="shownMid"><div class="ui-grid-menu-inner" ng-if="shown"><ul role="menu" class="ui-grid-menu-items"><li ng-repeat="item in menuItems" role="menuitem" ui-grid-menu-item ui-grid-one-bind-id="'menuitem-'+$index" action="item.action" name="item.title" active="item.active" icon="item.icon" shown="item.shown" context="item.context" template-url="item.templateUrl" leave-open="item.leaveOpen" screen-reader-only="item.screenReaderOnly"></li><li ng-if="col.filterable && col.filterContainer === 'columnMenu'"><div ui-grid-filter></div></li></ul></div></div></div>`),we.put("ui-grid/uiGridMenuItem",`<button type="button" class="ui-grid-menu-item" ng-click="itemAction($event, title)" ng-show="itemShown()" ng-class="{ 'ui-grid-menu-item-active': active(), 'ui-grid-sr-only': (!focus && screenReaderOnly) }" aria-pressed="{{active()}}" tabindex="0" ng-focus="focus=true" ng-blur="focus=false"><i ng-class="icon" aria-hidden="true"> </i>{{ label() }}</button>`),we.put("ui-grid/uiGridRenderContainer",`<div role="presentation" ui-grid-one-bind-id-grid="containerId + '-grid-container'" class="ui-grid-render-container" ng-style="{ 'margin-left': colContainer.getMargin('left') + 'px', 'margin-right': colContainer.getMargin('right') + 'px' }"><!-- All of these dom elements are replaced in place --><div ui-grid-header></div><div ui-grid-viewport></div><div ng-if="colContainer.needsHScrollbarPlaceholder()" class="ui-grid-scrollbar-placeholder" ng-style="{height: colContainer.grid.scrollbarHeight + 'px'}"></div><ui-grid-footer ng-if="grid.options.showColumnFooter"></ui-grid-footer></div>`),we.put("ui-grid/uiGridViewport",'<div role="rowgroup" class="ui-grid-viewport" ng-style="colContainer.getViewportStyle()"><!-- tbody --><div class="ui-grid-canvas"><div ng-repeat="(rowRenderIndex, row) in rowContainer.renderedRows track by $index" class="ui-grid-row" ng-style="Viewport.rowStyle(rowRenderIndex)"><div role="row" ui-grid-row="row" row-render-index="rowRenderIndex"></div></div></div></div>'),we.put("ui-grid/cellEditor",`<div><form name="inputForm"><input type="INPUT_TYPE" ng-class="'colt' + col.uid" ui-grid-editor ng-model="MODEL_COL_FIELD"></form></div>`),we.put("ui-grid/dropdownEditor",`<div><form name="inputForm"><select ng-class="'colt' + col.uid" ui-grid-edit-dropdown ng-model="MODEL_COL_FIELD" ng-options="field[editDropdownIdLabel] as field[editDropdownValueLabel] CUSTOM_FILTERS for field in editDropdownOptionsArray"></select></form></div>`),we.put("ui-grid/fileChooserEditor",`<div><form name="inputForm"><input ng-class="'colt' + col.uid" ui-grid-edit-file-chooser type="file" id="files" name="files[]" ng-model="MODEL_COL_FIELD"></form></div>`),we.put("ui-grid/emptyBaseLayerContainer",'<div class="ui-grid-empty-base-layer-container ui-grid-canLine truncated
|
||||
`+"Expect errors in decoding."),x=x.replace(/[^A-Za-z0-9\+\/\=]/g,"");do F=this.KEY_STR.indexOf(x.charAt(m++)),N=this.KEY_STR.indexOf(x.charAt(m++)),J=this.KEY_STR.indexOf(x.charAt(m++)),pe=this.KEY_STR.indexOf(x.charAt(m++)),d=F<<2|N>>4,M=(N&15)<<4|J>>2,g=(J&3)<<6|pe,U.push(d),J!==64&&U.push(M),pe!==64&&U.push(g),d=M=g="",F=N=J=pe="";while(m<x.length);return U},_.restore(D,T)},k}]);(function(){"use strict";var we=angular.module("ngNotify",[]),Q=!1;try{angular.module("ngSanitize")&&(angular.module("ngNotify").requires.push("ngSanitize"),Q=!0)}catch{}var k='<div class="ngn" ng-class="ngNotify.notifyClass" ng-style="ngNotify.notifyStyle"><span ng-show="ngNotify.notifyButton" class="ngn-dismiss" ng-click="dismiss()">×</span><span ng-if="ngNotify.notifyHtml" ng-bind-html="ngNotify.notifyMessage"></span><span ng-if="!ngNotify.notifyHtml" ng-bind="ngNotify.notifyMessage"></span></div>';we.run(["$templateCache",function(O){O.put("templates/ng-notify/ng-notify.html",k)}]),we.provider("ngNotify",function(){this.$get=["$document","$compile","$log","$rootScope","$timeout","$interval","$templateCache",function(O,I,D,T,_,x,d){var M,g,F="",N=" ",J=3e3,pe="ngn-sticky",m=1,U=-1,A=200,p=500,w=25,v=0,h=1,e={theme:"pure",position:"bottom",duration:J,type:"info",sticky:!1,button:!0,html:!1},o={notifyClass:"",notifyMessage:"",notifyStyle:{display:"none",opacity:v}},i={pure:F,prime:"ngn-prime",pastel:"ngn-pastel",pitchy:"ngn-pitchy"},c={info:"ngn-info",error:"ngn-error",success:"ngn-success",warn:"ngn-warn",grimace:"ngn-grimace"},u={bottom:"ngn-bottom",top:"ngn-top"},s=T.$new(),t=I(d.get("templates/ng-notify/ng-notify.html"))(s);s.ngNotify=angular.extend({},o),_(function(){O.find("body").append(t)});var r=function(ae){var fe=ae.type||e.type;return(c[fe]||c.info)+N},a=function(ae){var fe=ae.theme||e.theme;return(i[fe]||i.pure)+N},l=function(ae){var fe=ae.position||e.position;return(u[fe]||u.bottom)+N},f=function(ae){var fe=ae.duration||e.duration;return angular.isNumber(fe)?fe:J},b=function(ae){var fe=ae.sticky!==void 0?ae.sticky:e.sticky;return!!fe},C=function(ae,fe){var xe=ae.button!==void 0?ae.button:e.button;return xe&&fe},$=function(ae){if((ae.html||e.html)&&!Q)return D.debug(`ngNotify warning:
|
||||
gSanitize couldn't be located. In order to use the 'html' option, be sure the ngSanitize source is included in your project.`),!1;var fe=ae.html!==void 0?ae.html:e.html;return!!fe},W=function(ae,fe){var xe=r(ae)+a(ae)+l(ae);return xe+=fe?pe:F},R=function(){s.ngNotify=angular.extend({},o)},L=function(ae,fe,xe,se){var B=w/xe;s.ngNotify.notifyStyle={display:"block",opacity:fe};var K=function(){fe+=ae*B,s.ngNotify.notifyStyle.opacity=fe,(v>=fe||fe>=h)&&(x.cancel(g),g=!1,se())};g||(g=x(K,w))},Y=function(ae,fe){L(U,h,ae,fe)},ee=function(ae,fe){L(m,v,ae,fe)};return s.dismiss=function(){Y(p,function(){R()})},{config:function(ae){ae=ae||{},angular.extend(e,ae)},set:function(ae,fe){if(ae){x.cancel(g),g=!1,_.cancel(M);var xe={};typeof fe=="object"?xe=fe:xe.type=fe;var se=b(xe),B=f(xe);angular.extend(s.ngNotify,{notifyHtml:$(xe),notifyClass:W(xe,se),notifyButton:C(xe,se),notifyMessage:ae}),ee(A,function(){se||(M=_(function(){s.dismiss()},B))})}},dismiss:function(){s.dismiss()},addTheme:function(ae,fe){ae&&fe&&(i[ae]=fe)},addType:function(ae,fe){ae&&fe&&(c[ae]=fe)}}}]})})();var nu=ta(Zc(),1),na=ta(eu(),1),sc=typeof window!="undefined"?window:globalThis,_d=na.default&&na.default.default?na.default.default:na.default;sc.angular=tu.default;sc.moment=nu.default;sc.WebTorrent=_d;})();
|
||||
@@ -4,10 +4,8 @@ import "angular-sanitize";
|
||||
import "angular-ui-grid/ui-grid.js";
|
||||
import "angular-ui-grid/ui-grid.resize-columns.js";
|
||||
import "angular-ui-grid/ui-grid.selection.js";
|
||||
import "angular-ui-grid/ui-grid.min.css";
|
||||
import "ng-file-upload/dist/ng-file-upload.js";
|
||||
import "ng-notify/dist/ng-notify.min.js";
|
||||
import "ng-notify/dist/ng-notify.min.css";
|
||||
import moment from "moment";
|
||||
import WebTorrent from "webtorrent/webtorrent.min.js";
|
||||
|
||||
|
||||
Reference in new issue
Block a user