@riab/vendor-due-diligence 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vendor-due-diligence.js +361 -341
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document!="undefined"){var l=document.createElement("style");l.appendChild(document.createTextNode(':root,:host,.sl-theme-light{color-scheme:light;--sl-color-gray-50: hsl(0 0% 97.5%);--sl-color-gray-100: hsl(240 4.8% 95.9%);--sl-color-gray-200: hsl(240 5.9% 90%);--sl-color-gray-300: hsl(240 4.9% 83.9%);--sl-color-gray-400: hsl(240 5% 64.9%);--sl-color-gray-500: hsl(240 3.8% 46.1%);--sl-color-gray-600: hsl(240 5.2% 33.9%);--sl-color-gray-700: hsl(240 5.3% 26.1%);--sl-color-gray-800: hsl(240 3.7% 15.9%);--sl-color-gray-900: hsl(240 5.9% 10%);--sl-color-gray-950: hsl(240 7.3% 8%);--sl-color-red-50: hsl(0 85.7% 97.3%);--sl-color-red-100: hsl(0 93.3% 94.1%);--sl-color-red-200: hsl(0 96.3% 89.4%);--sl-color-red-300: hsl(0 93.5% 81.8%);--sl-color-red-400: hsl(0 90.6% 70.8%);--sl-color-red-500: hsl(0 84.2% 60.2%);--sl-color-red-600: hsl(0 72.2% 50.6%);--sl-color-red-700: hsl(0 73.7% 41.8%);--sl-color-red-800: hsl(0 70% 35.3%);--sl-color-red-900: hsl(0 62.8% 30.6%);--sl-color-red-950: hsl(0 60% 19.6%);--sl-color-orange-50: hsl(33.3 100% 96.5%);--sl-color-orange-100: hsl(34.3 100% 91.8%);--sl-color-orange-200: hsl(32.1 97.7% 83.1%);--sl-color-orange-300: hsl(30.7 97.2% 72.4%);--sl-color-orange-400: hsl(27 96% 61%);--sl-color-orange-500: hsl(24.6 95% 53.1%);--sl-color-orange-600: hsl(20.5 90.2% 48.2%);--sl-color-orange-700: hsl(17.5 88.3% 40.4%);--sl-color-orange-800: hsl(15 79.1% 33.7%);--sl-color-orange-900: hsl(15.3 74.6% 27.8%);--sl-color-orange-950: hsl(15.2 69.1% 19%);--sl-color-amber-50: hsl(48 100% 96.1%);--sl-color-amber-100: hsl(48 96.5% 88.8%);--sl-color-amber-200: hsl(48 96.6% 76.7%);--sl-color-amber-300: hsl(45.9 96.7% 64.5%);--sl-color-amber-400: hsl(43.3 96.4% 56.3%);--sl-color-amber-500: hsl(37.7 92.1% 50.2%);--sl-color-amber-600: hsl(32.1 94.6% 43.7%);--sl-color-amber-700: hsl(26 90.5% 37.1%);--sl-color-amber-800: hsl(22.7 82.5% 31.4%);--sl-color-amber-900: hsl(21.7 77.8% 26.5%);--sl-color-amber-950: hsl(22.9 74.1% 16.7%);--sl-color-yellow-50: hsl(54.5 91.7% 95.3%);--sl-color-yellow-100: hsl(54.9 96.7% 88%);--sl-color-yellow-200: hsl(52.8 98.3% 76.9%);--sl-color-yellow-300: hsl(50.4 97.8% 63.5%);--sl-color-yellow-400: hsl(47.9 95.8% 53.1%);--sl-color-yellow-500: hsl(45.4 93.4% 47.5%);--sl-color-yellow-600: hsl(40.6 96.1% 40.4%);--sl-color-yellow-700: hsl(35.5 91.7% 32.9%);--sl-color-yellow-800: hsl(31.8 81% 28.8%);--sl-color-yellow-900: hsl(28.4 72.5% 25.7%);--sl-color-yellow-950: hsl(33.1 69% 13.9%);--sl-color-lime-50: hsl(78.3 92% 95.1%);--sl-color-lime-100: hsl(79.6 89.1% 89.2%);--sl-color-lime-200: hsl(80.9 88.5% 79.6%);--sl-color-lime-300: hsl(82 84.5% 67.1%);--sl-color-lime-400: hsl(82.7 78% 55.5%);--sl-color-lime-500: hsl(83.7 80.5% 44.3%);--sl-color-lime-600: hsl(84.8 85.2% 34.5%);--sl-color-lime-700: hsl(85.9 78.4% 27.3%);--sl-color-lime-800: hsl(86.3 69% 22.7%);--sl-color-lime-900: hsl(87.6 61.2% 20.2%);--sl-color-lime-950: hsl(86.5 60.6% 13.9%);--sl-color-green-50: hsl(138.5 76.5% 96.7%);--sl-color-green-100: hsl(140.6 84.2% 92.5%);--sl-color-green-200: hsl(141 78.9% 85.1%);--sl-color-green-300: hsl(141.7 76.6% 73.1%);--sl-color-green-400: hsl(141.9 69.2% 58%);--sl-color-green-500: hsl(142.1 70.6% 45.3%);--sl-color-green-600: hsl(142.1 76.2% 36.3%);--sl-color-green-700: hsl(142.4 71.8% 29.2%);--sl-color-green-800: hsl(142.8 64.2% 24.1%);--sl-color-green-900: hsl(143.8 61.2% 20.2%);--sl-color-green-950: hsl(144.3 60.7% 12%);--sl-color-emerald-50: hsl(151.8 81% 95.9%);--sl-color-emerald-100: hsl(149.3 80.4% 90%);--sl-color-emerald-200: hsl(152.4 76% 80.4%);--sl-color-emerald-300: hsl(156.2 71.6% 66.9%);--sl-color-emerald-400: hsl(158.1 64.4% 51.6%);--sl-color-emerald-500: hsl(160.1 84.1% 39.4%);--sl-color-emerald-600: hsl(161.4 93.5% 30.4%);--sl-color-emerald-700: hsl(162.9 93.5% 24.3%);--sl-color-emerald-800: hsl(163.1 88.1% 19.8%);--sl-color-emerald-900: hsl(164.2 85.7% 16.5%);--sl-color-emerald-950: hsl(164.3 87.5% 9.4%);--sl-color-teal-50: hsl(166.2 76.5% 96.7%);--sl-color-teal-100: hsl(167.2 85.5% 89.2%);--sl-color-teal-200: hsl(168.4 83.8% 78.2%);--sl-color-teal-300: hsl(170.6 76.9% 64.3%);--sl-color-teal-400: hsl(172.5 66% 50.4%);--sl-color-teal-500: hsl(173.4 80.4% 40%);--sl-color-teal-600: hsl(174.7 83.9% 31.6%);--sl-color-teal-700: hsl(175.3 77.4% 26.1%);--sl-color-teal-800: hsl(176.1 69.4% 21.8%);--sl-color-teal-900: hsl(175.9 60.8% 19%);--sl-color-teal-950: hsl(176.5 58.6% 11.4%);--sl-color-cyan-50: hsl(183.2 100% 96.3%);--sl-color-cyan-100: hsl(185.1 95.9% 90.4%);--sl-color-cyan-200: hsl(186.2 93.5% 81.8%);--sl-color-cyan-300: hsl(187 92.4% 69%);--sl-color-cyan-400: hsl(187.9 85.7% 53.3%);--sl-color-cyan-500: hsl(188.7 94.5% 42.7%);--sl-color-cyan-600: hsl(191.6 91.4% 36.5%);--sl-color-cyan-700: hsl(192.9 82.3% 31%);--sl-color-cyan-800: hsl(194.4 69.6% 27.1%);--sl-color-cyan-900: hsl(196.4 63.6% 23.7%);--sl-color-cyan-950: hsl(196.8 61% 16.1%);--sl-color-sky-50: hsl(204 100% 97.1%);--sl-color-sky-100: hsl(204 93.8% 93.7%);--sl-color-sky-200: hsl(200.6 94.4% 86.1%);--sl-color-sky-300: hsl(199.4 95.5% 73.9%);--sl-color-sky-400: hsl(198.4 93.2% 59.6%);--sl-color-sky-500: hsl(198.6 88.7% 48.4%);--sl-color-sky-600: hsl(200.4 98% 39.4%);--sl-color-sky-700: hsl(201.3 96.3% 32.2%);--sl-color-sky-800: hsl(201 90% 27.5%);--sl-color-sky-900: hsl(202 80.3% 23.9%);--sl-color-sky-950: hsl(202.3 73.8% 16.5%);--sl-color-blue-50: hsl(213.8 100% 96.9%);--sl-color-blue-100: hsl(214.3 94.6% 92.7%);--sl-color-blue-200: hsl(213.3 96.9% 87.3%);--sl-color-blue-300: hsl(211.7 96.4% 78.4%);--sl-color-blue-400: hsl(213.1 93.9% 67.8%);--sl-color-blue-500: hsl(217.2 91.2% 59.8%);--sl-color-blue-600: hsl(221.2 83.2% 53.3%);--sl-color-blue-700: hsl(224.3 76.3% 48%);--sl-color-blue-800: hsl(225.9 70.7% 40.2%);--sl-color-blue-900: hsl(224.4 64.3% 32.9%);--sl-color-blue-950: hsl(226.2 55.3% 18.4%);--sl-color-indigo-50: hsl(225.9 100% 96.7%);--sl-color-indigo-100: hsl(226.5 100% 93.9%);--sl-color-indigo-200: hsl(228 96.5% 88.8%);--sl-color-indigo-300: hsl(229.7 93.5% 81.8%);--sl-color-indigo-400: hsl(234.5 89.5% 73.9%);--sl-color-indigo-500: hsl(238.7 83.5% 66.7%);--sl-color-indigo-600: hsl(243.4 75.4% 58.6%);--sl-color-indigo-700: hsl(244.5 57.9% 50.6%);--sl-color-indigo-800: hsl(243.7 54.5% 41.4%);--sl-color-indigo-900: hsl(242.2 47.4% 34.3%);--sl-color-indigo-950: hsl(243.5 43.6% 22.9%);--sl-color-violet-50: hsl(250 100% 97.6%);--sl-color-violet-100: hsl(251.4 91.3% 95.5%);--sl-color-violet-200: hsl(250.5 95.2% 91.8%);--sl-color-violet-300: hsl(252.5 94.7% 85.1%);--sl-color-violet-400: hsl(255.1 91.7% 76.3%);--sl-color-violet-500: hsl(258.3 89.5% 66.3%);--sl-color-violet-600: hsl(262.1 83.3% 57.8%);--sl-color-violet-700: hsl(263.4 70% 50.4%);--sl-color-violet-800: hsl(263.4 69.3% 42.2%);--sl-color-violet-900: hsl(263.5 67.4% 34.9%);--sl-color-violet-950: hsl(265.1 61.5% 21.4%);--sl-color-purple-50: hsl(270 100% 98%);--sl-color-purple-100: hsl(268.7 100% 95.5%);--sl-color-purple-200: hsl(268.6 100% 91.8%);--sl-color-purple-300: hsl(269.2 97.4% 85.1%);--sl-color-purple-400: hsl(270 95.2% 75.3%);--sl-color-purple-500: hsl(270.7 91% 65.1%);--sl-color-purple-600: hsl(271.5 81.3% 55.9%);--sl-color-purple-700: hsl(272.1 71.7% 47.1%);--sl-color-purple-800: hsl(272.9 67.2% 39.4%);--sl-color-purple-900: hsl(273.6 65.6% 32%);--sl-color-purple-950: hsl(276 59.5% 16.5%);--sl-color-fuchsia-50: hsl(289.1 100% 97.8%);--sl-color-fuchsia-100: hsl(287 100% 95.5%);--sl-color-fuchsia-200: hsl(288.3 95.8% 90.6%);--sl-color-fuchsia-300: hsl(291.1 93.1% 82.9%);--sl-color-fuchsia-400: hsl(292 91.4% 72.5%);--sl-color-fuchsia-500: hsl(292.2 84.1% 60.6%);--sl-color-fuchsia-600: hsl(293.4 69.5% 48.8%);--sl-color-fuchsia-700: hsl(294.7 72.4% 39.8%);--sl-color-fuchsia-800: hsl(295.4 70.2% 32.9%);--sl-color-fuchsia-900: hsl(296.7 63.6% 28%);--sl-color-fuchsia-950: hsl(297.1 56.8% 14.5%);--sl-color-pink-50: hsl(327.3 73.3% 97.1%);--sl-color-pink-100: hsl(325.7 77.8% 94.7%);--sl-color-pink-200: hsl(325.9 84.6% 89.8%);--sl-color-pink-300: hsl(327.4 87.1% 81.8%);--sl-color-pink-400: hsl(328.6 85.5% 70.2%);--sl-color-pink-500: hsl(330.4 81.2% 60.4%);--sl-color-pink-600: hsl(333.3 71.4% 50.6%);--sl-color-pink-700: hsl(335.1 77.6% 42%);--sl-color-pink-800: hsl(335.8 74.4% 35.3%);--sl-color-pink-900: hsl(335.9 69% 30.4%);--sl-color-pink-950: hsl(336.2 65.4% 15.9%);--sl-color-rose-50: hsl(355.7 100% 97.3%);--sl-color-rose-100: hsl(355.6 100% 94.7%);--sl-color-rose-200: hsl(352.7 96.1% 90%);--sl-color-rose-300: hsl(352.6 95.7% 81.8%);--sl-color-rose-400: hsl(351.3 94.5% 71.4%);--sl-color-rose-500: hsl(349.7 89.2% 60.2%);--sl-color-rose-600: hsl(346.8 77.2% 49.8%);--sl-color-rose-700: hsl(345.3 82.7% 40.8%);--sl-color-rose-800: hsl(343.4 79.7% 34.7%);--sl-color-rose-900: hsl(341.5 75.5% 30.4%);--sl-color-rose-950: hsl(341.3 70.1% 17.1%);--sl-color-primary-50: var(--sl-color-sky-50);--sl-color-primary-100: var(--sl-color-sky-100);--sl-color-primary-200: var(--sl-color-sky-200);--sl-color-primary-300: var(--sl-color-sky-300);--sl-color-primary-400: var(--sl-color-sky-400);--sl-color-primary-500: var(--sl-color-sky-500);--sl-color-primary-600: var(--sl-color-sky-600);--sl-color-primary-700: var(--sl-color-sky-700);--sl-color-primary-800: var(--sl-color-sky-800);--sl-color-primary-900: var(--sl-color-sky-900);--sl-color-primary-950: var(--sl-color-sky-950);--sl-color-success-50: var(--sl-color-green-50);--sl-color-success-100: var(--sl-color-green-100);--sl-color-success-200: var(--sl-color-green-200);--sl-color-success-300: var(--sl-color-green-300);--sl-color-success-400: var(--sl-color-green-400);--sl-color-success-500: var(--sl-color-green-500);--sl-color-success-600: var(--sl-color-green-600);--sl-color-success-700: var(--sl-color-green-700);--sl-color-success-800: var(--sl-color-green-800);--sl-color-success-900: var(--sl-color-green-900);--sl-color-success-950: var(--sl-color-green-950);--sl-color-warning-50: var(--sl-color-amber-50);--sl-color-warning-100: var(--sl-color-amber-100);--sl-color-warning-200: var(--sl-color-amber-200);--sl-color-warning-300: var(--sl-color-amber-300);--sl-color-warning-400: var(--sl-color-amber-400);--sl-color-warning-500: var(--sl-color-amber-500);--sl-color-warning-600: var(--sl-color-amber-600);--sl-color-warning-700: var(--sl-color-amber-700);--sl-color-warning-800: var(--sl-color-amber-800);--sl-color-warning-900: var(--sl-color-amber-900);--sl-color-warning-950: var(--sl-color-amber-950);--sl-color-danger-50: var(--sl-color-red-50);--sl-color-danger-100: var(--sl-color-red-100);--sl-color-danger-200: var(--sl-color-red-200);--sl-color-danger-300: var(--sl-color-red-300);--sl-color-danger-400: var(--sl-color-red-400);--sl-color-danger-500: var(--sl-color-red-500);--sl-color-danger-600: var(--sl-color-red-600);--sl-color-danger-700: var(--sl-color-red-700);--sl-color-danger-800: var(--sl-color-red-800);--sl-color-danger-900: var(--sl-color-red-900);--sl-color-danger-950: var(--sl-color-red-950);--sl-color-neutral-50: var(--sl-color-gray-50);--sl-color-neutral-100: var(--sl-color-gray-100);--sl-color-neutral-200: var(--sl-color-gray-200);--sl-color-neutral-300: var(--sl-color-gray-300);--sl-color-neutral-400: var(--sl-color-gray-400);--sl-color-neutral-500: var(--sl-color-gray-500);--sl-color-neutral-600: var(--sl-color-gray-600);--sl-color-neutral-700: var(--sl-color-gray-700);--sl-color-neutral-800: var(--sl-color-gray-800);--sl-color-neutral-900: var(--sl-color-gray-900);--sl-color-neutral-950: var(--sl-color-gray-950);--sl-color-neutral-0: hsl(0, 0%, 100%);--sl-color-neutral-1000: hsl(0, 0%, 0%);--sl-border-radius-small: .1875rem;--sl-border-radius-medium: .25rem;--sl-border-radius-large: .5rem;--sl-border-radius-x-large: 1rem;--sl-border-radius-circle: 50%;--sl-border-radius-pill: 9999px;--sl-shadow-x-small: 0 1px 2px hsl(240 3.8% 46.1% / 6%);--sl-shadow-small: 0 1px 2px hsl(240 3.8% 46.1% / 12%);--sl-shadow-medium: 0 2px 4px hsl(240 3.8% 46.1% / 12%);--sl-shadow-large: 0 2px 8px hsl(240 3.8% 46.1% / 12%);--sl-shadow-x-large: 0 4px 16px hsl(240 3.8% 46.1% / 12%);--sl-spacing-3x-small: .125rem;--sl-spacing-2x-small: .25rem;--sl-spacing-x-small: .5rem;--sl-spacing-small: .75rem;--sl-spacing-medium: 1rem;--sl-spacing-large: 1.25rem;--sl-spacing-x-large: 1.75rem;--sl-spacing-2x-large: 2.25rem;--sl-spacing-3x-large: 3rem;--sl-spacing-4x-large: 4.5rem;--sl-transition-x-slow: 1s;--sl-transition-slow: .5s;--sl-transition-medium: .25s;--sl-transition-fast: .15s;--sl-transition-x-fast: 50ms;--sl-font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;--sl-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--sl-font-serif: Georgia, "Times New Roman", serif;--sl-font-size-2x-small: .625rem;--sl-font-size-x-small: .75rem;--sl-font-size-small: .875rem;--sl-font-size-medium: 1rem;--sl-font-size-large: 1.25rem;--sl-font-size-x-large: 1.5rem;--sl-font-size-2x-large: 2.25rem;--sl-font-size-3x-large: 3rem;--sl-font-size-4x-large: 4.5rem;--sl-font-weight-light: 300;--sl-font-weight-normal: 400;--sl-font-weight-semibold: 500;--sl-font-weight-bold: 700;--sl-letter-spacing-denser: -.03em;--sl-letter-spacing-dense: -.015em;--sl-letter-spacing-normal: normal;--sl-letter-spacing-loose: .075em;--sl-letter-spacing-looser: .15em;--sl-line-height-denser: 1;--sl-line-height-dense: 1.4;--sl-line-height-normal: 1.8;--sl-line-height-loose: 2.2;--sl-line-height-looser: 2.6;--sl-focus-ring-color: var(--sl-color-primary-600);--sl-focus-ring-style: solid;--sl-focus-ring-width: 3px;--sl-focus-ring: var(--sl-focus-ring-style) var(--sl-focus-ring-width) var(--sl-focus-ring-color);--sl-focus-ring-offset: 1px;--sl-button-font-size-small: var(--sl-font-size-x-small);--sl-button-font-size-medium: var(--sl-font-size-small);--sl-button-font-size-large: var(--sl-font-size-medium);--sl-input-height-small: 1.875rem;--sl-input-height-medium: 2.5rem;--sl-input-height-large: 3.125rem;--sl-input-background-color: var(--sl-color-neutral-0);--sl-input-background-color-hover: var(--sl-input-background-color);--sl-input-background-color-focus: var(--sl-input-background-color);--sl-input-background-color-disabled: var(--sl-color-neutral-100);--sl-input-border-color: var(--sl-color-neutral-300);--sl-input-border-color-hover: var(--sl-color-neutral-400);--sl-input-border-color-focus: var(--sl-color-primary-500);--sl-input-border-color-disabled: var(--sl-color-neutral-300);--sl-input-border-width: 1px;--sl-input-required-content: "*";--sl-input-required-content-offset: -2px;--sl-input-required-content-color: var(--sl-input-label-color);--sl-input-border-radius-small: var(--sl-border-radius-medium);--sl-input-border-radius-medium: var(--sl-border-radius-medium);--sl-input-border-radius-large: var(--sl-border-radius-medium);--sl-input-font-family: var(--sl-font-sans);--sl-input-font-weight: var(--sl-font-weight-normal);--sl-input-font-size-small: var(--sl-font-size-small);--sl-input-font-size-medium: var(--sl-font-size-medium);--sl-input-font-size-large: var(--sl-font-size-large);--sl-input-letter-spacing: var(--sl-letter-spacing-normal);--sl-input-color: var(--sl-color-neutral-700);--sl-input-color-hover: var(--sl-color-neutral-700);--sl-input-color-focus: var(--sl-color-neutral-700);--sl-input-color-disabled: var(--sl-color-neutral-900);--sl-input-icon-color: var(--sl-color-neutral-500);--sl-input-icon-color-hover: var(--sl-color-neutral-600);--sl-input-icon-color-focus: var(--sl-color-neutral-600);--sl-input-placeholder-color: var(--sl-color-neutral-500);--sl-input-placeholder-color-disabled: var(--sl-color-neutral-600);--sl-input-spacing-small: var(--sl-spacing-small);--sl-input-spacing-medium: var(--sl-spacing-medium);--sl-input-spacing-large: var(--sl-spacing-large);--sl-input-focus-ring-color: hsl(198.6 88.7% 48.4% / 40%);--sl-input-focus-ring-offset: 0;--sl-input-filled-background-color: var(--sl-color-neutral-100);--sl-input-filled-background-color-hover: var(--sl-color-neutral-100);--sl-input-filled-background-color-focus: var(--sl-color-neutral-100);--sl-input-filled-background-color-disabled: var(--sl-color-neutral-100);--sl-input-filled-color: var(--sl-color-neutral-800);--sl-input-filled-color-hover: var(--sl-color-neutral-800);--sl-input-filled-color-focus: var(--sl-color-neutral-700);--sl-input-filled-color-disabled: var(--sl-color-neutral-800);--sl-input-label-font-size-small: var(--sl-font-size-small);--sl-input-label-font-size-medium: var(--sl-font-size-medium);--sl-input-label-font-size-large: var(--sl-font-size-large);--sl-input-label-color: inherit;--sl-input-help-text-font-size-small: var(--sl-font-size-x-small);--sl-input-help-text-font-size-medium: var(--sl-font-size-small);--sl-input-help-text-font-size-large: var(--sl-font-size-medium);--sl-input-help-text-color: var(--sl-color-neutral-500);--sl-toggle-size-small: .875rem;--sl-toggle-size-medium: 1.125rem;--sl-toggle-size-large: 1.375rem;--sl-overlay-background-color: hsl(240 3.8% 46.1% / 33%);--sl-panel-background-color: var(--sl-color-neutral-0);--sl-panel-border-color: var(--sl-color-neutral-200);--sl-panel-border-width: 1px;--sl-tooltip-border-radius: var(--sl-border-radius-medium);--sl-tooltip-background-color: var(--sl-color-neutral-800);--sl-tooltip-color: var(--sl-color-neutral-0);--sl-tooltip-font-family: var(--sl-font-sans);--sl-tooltip-font-weight: var(--sl-font-weight-normal);--sl-tooltip-font-size: var(--sl-font-size-small);--sl-tooltip-line-height: var(--sl-line-height-dense);--sl-tooltip-padding: var(--sl-spacing-2x-small) var(--sl-spacing-x-small);--sl-tooltip-arrow-size: 6px;--sl-z-index-drawer: 700;--sl-z-index-dialog: 800;--sl-z-index-dropdown: 900;--sl-z-index-toast: 950;--sl-z-index-tooltip: 1000}.sl-scroll-lock{padding-right:var(--sl-scroll-lock-size)!important;overflow:hidden!important}.sl-toast-stack{position:fixed;top:0;inset-inline-end:0;z-index:var(--sl-z-index-toast);width:28rem;max-width:100%;max-height:100%;overflow:auto}.sl-toast-stack sl-alert{margin:var(--sl-spacing-medium)}.sl-toast-stack sl-alert::part(base){box-shadow:var(--sl-shadow-large)}')),document.head.appendChild(l)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
var Xr = Object.defineProperty, Qr = Object.defineProperties;
|
|
3
3
|
var ei = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var
|
|
4
|
+
var wt = Object.getOwnPropertySymbols, ti = Object.getPrototypeOf, ts = Object.prototype.hasOwnProperty, ns = Object.prototype.propertyIsEnumerable, ni = Reflect.get;
|
|
5
5
|
var en = (t, e) => {
|
|
6
6
|
if (e = Symbol[t])
|
|
7
7
|
return e;
|
|
@@ -10,8 +10,8 @@ var en = (t, e) => {
|
|
|
10
10
|
var es = (t, e, n) => e in t ? Xr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, h = (t, e) => {
|
|
11
11
|
for (var n in e || (e = {}))
|
|
12
12
|
ts.call(e, n) && es(t, n, e[n]);
|
|
13
|
-
if (
|
|
14
|
-
for (var n of
|
|
13
|
+
if (wt)
|
|
14
|
+
for (var n of wt(e))
|
|
15
15
|
ns.call(e, n) && es(t, n, e[n]);
|
|
16
16
|
return t;
|
|
17
17
|
}, y = (t, e) => Qr(t, ei(e));
|
|
@@ -19,12 +19,12 @@ var ss = (t, e) => {
|
|
|
19
19
|
var n = {};
|
|
20
20
|
for (var s in t)
|
|
21
21
|
ts.call(t, s) && e.indexOf(s) < 0 && (n[s] = t[s]);
|
|
22
|
-
if (t != null &&
|
|
23
|
-
for (var s of
|
|
22
|
+
if (t != null && wt)
|
|
23
|
+
for (var s of wt(t))
|
|
24
24
|
e.indexOf(s) < 0 && ns.call(t, s) && (n[s] = t[s]);
|
|
25
25
|
return n;
|
|
26
26
|
};
|
|
27
|
-
var
|
|
27
|
+
var Ae = (t, e, n) => ni(ti(t), n, e);
|
|
28
28
|
var g = (t, e, n) => new Promise((s, r) => {
|
|
29
29
|
var i = (d) => {
|
|
30
30
|
try {
|
|
@@ -89,7 +89,7 @@ let tr = class {
|
|
|
89
89
|
return this.cssText;
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
|
-
const ri = (t) => new tr(typeof t == "string" ? t : t + "", void 0, Hn),
|
|
92
|
+
const ri = (t) => new tr(typeof t == "string" ? t : t + "", void 0, Hn), S = (t, ...e) => {
|
|
93
93
|
const n = t.length === 1 ? t[0] : e.reduce((s, r, i) => s + ((o) => {
|
|
94
94
|
if (o._$cssResult$ === !0)
|
|
95
95
|
return o.cssText;
|
|
@@ -334,7 +334,7 @@ He[bn] = !0, He.elementProperties = /* @__PURE__ */ new Map(), He.elementStyles
|
|
|
334
334
|
var sn;
|
|
335
335
|
const $t = window, ze = $t.trustedTypes, cs = ze ? ze.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, yn = "$lit$", fe = `lit$${(Math.random() + "").slice(9)}$`, sr = "?" + fe, ai = `<${sr}>`, De = document, dt = () => De.createComment(""), ct = (t) => t === null || typeof t != "object" && typeof t != "function", rr = Array.isArray, di = (t) => rr(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", rn = `[
|
|
336
336
|
\f\r]`, tt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ls = /-->/g, us = />/g, Te = RegExp(`>|${rn}(?:([^\\s"'>=/]+)(${rn}*=${rn}*(?:[^
|
|
337
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), hs = /'/g, ps = /"/g, ir = /^(?:script|style|textarea|title)$/i, ci = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), u = ci(1), $e = Symbol.for("lit-noChange"),
|
|
337
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), hs = /'/g, ps = /"/g, ir = /^(?:script|style|textarea|title)$/i, ci = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), u = ci(1), $e = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), fs = /* @__PURE__ */ new WeakMap(), Re = De.createTreeWalker(De, 129, null, !1);
|
|
338
338
|
function or(t, e) {
|
|
339
339
|
if (!Array.isArray(t) || !t.hasOwnProperty("raw"))
|
|
340
340
|
throw Error("invalid template strings array");
|
|
@@ -371,8 +371,8 @@ class lt {
|
|
|
371
371
|
if (m.endsWith(yn) || m.startsWith(fe)) {
|
|
372
372
|
const b = f[o++];
|
|
373
373
|
if (p.push(m), b !== void 0) {
|
|
374
|
-
const
|
|
375
|
-
d.push({ type: 1, index: i, name: Et[2], strings:
|
|
374
|
+
const oe = r.getAttribute(b.toLowerCase() + yn).split(fe), Et = /([.?@])?(.*)/.exec(b);
|
|
375
|
+
d.push({ type: 1, index: i, name: Et[2], strings: oe, ctor: Et[1] === "." ? hi : Et[1] === "?" ? fi : Et[1] === "@" ? gi : Ut });
|
|
376
376
|
} else
|
|
377
377
|
d.push({ type: 6, index: i });
|
|
378
378
|
}
|
|
@@ -445,7 +445,7 @@ class ui {
|
|
|
445
445
|
class gt {
|
|
446
446
|
constructor(e, n, s, r) {
|
|
447
447
|
var i;
|
|
448
|
-
this.type = 2, this._$AH =
|
|
448
|
+
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = e, this._$AB = n, this._$AM = s, this.options = r, this._$Cp = (i = r == null ? void 0 : r.isConnected) === null || i === void 0 || i;
|
|
449
449
|
}
|
|
450
450
|
get _$AU() {
|
|
451
451
|
var e, n;
|
|
@@ -463,7 +463,7 @@ class gt {
|
|
|
463
463
|
return this._$AB;
|
|
464
464
|
}
|
|
465
465
|
_$AI(e, n = this) {
|
|
466
|
-
e = Ge(this, e, n), ct(e) ? e ===
|
|
466
|
+
e = Ge(this, e, n), ct(e) ? e === A || e == null || e === "" ? (this._$AH !== A && this._$AR(), this._$AH = A) : e !== this._$AH && e !== $e && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : di(e) ? this.T(e) : this._(e);
|
|
467
467
|
}
|
|
468
468
|
k(e) {
|
|
469
469
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -472,7 +472,7 @@ class gt {
|
|
|
472
472
|
this._$AH !== e && (this._$AR(), this._$AH = this.k(e));
|
|
473
473
|
}
|
|
474
474
|
_(e) {
|
|
475
|
-
this._$AH !==
|
|
475
|
+
this._$AH !== A && ct(this._$AH) ? this._$AA.nextSibling.data = e : this.$(De.createTextNode(e)), this._$AH = e;
|
|
476
476
|
}
|
|
477
477
|
g(e) {
|
|
478
478
|
var n;
|
|
@@ -510,7 +510,7 @@ class gt {
|
|
|
510
510
|
}
|
|
511
511
|
class Ut {
|
|
512
512
|
constructor(e, n, s, r, i) {
|
|
513
|
-
this.type = 1, this._$AH =
|
|
513
|
+
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = e, this.name = n, this._$AM = r, this.options = i, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
|
|
514
514
|
}
|
|
515
515
|
get tagName() {
|
|
516
516
|
return this.element.tagName;
|
|
@@ -527,12 +527,12 @@ class Ut {
|
|
|
527
527
|
const a = e;
|
|
528
528
|
let d, c;
|
|
529
529
|
for (e = i[0], d = 0; d < i.length - 1; d++)
|
|
530
|
-
c = Ge(this, a[s + d], n, d), c === $e && (c = this._$AH[d]), o || (o = !ct(c) || c !== this._$AH[d]), c ===
|
|
530
|
+
c = Ge(this, a[s + d], n, d), c === $e && (c = this._$AH[d]), o || (o = !ct(c) || c !== this._$AH[d]), c === A ? e = A : e !== A && (e += (c != null ? c : "") + i[d + 1]), this._$AH[d] = c;
|
|
531
531
|
}
|
|
532
532
|
o && !r && this.j(e);
|
|
533
533
|
}
|
|
534
534
|
j(e) {
|
|
535
|
-
e ===
|
|
535
|
+
e === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
class hi extends Ut {
|
|
@@ -540,7 +540,7 @@ class hi extends Ut {
|
|
|
540
540
|
super(...arguments), this.type = 3;
|
|
541
541
|
}
|
|
542
542
|
j(e) {
|
|
543
|
-
this.element[this.name] = e ===
|
|
543
|
+
this.element[this.name] = e === A ? void 0 : e;
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
546
|
const pi = ze ? ze.emptyScript : "";
|
|
@@ -549,7 +549,7 @@ class fi extends Ut {
|
|
|
549
549
|
super(...arguments), this.type = 4;
|
|
550
550
|
}
|
|
551
551
|
j(e) {
|
|
552
|
-
e && e !==
|
|
552
|
+
e && e !== A ? this.element.setAttribute(this.name, pi) : this.element.removeAttribute(this.name);
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
class gi extends Ut {
|
|
@@ -558,9 +558,9 @@ class gi extends Ut {
|
|
|
558
558
|
}
|
|
559
559
|
_$AI(e, n = this) {
|
|
560
560
|
var s;
|
|
561
|
-
if ((e = (s = Ge(this, e, n, 0)) !== null && s !== void 0 ? s :
|
|
561
|
+
if ((e = (s = Ge(this, e, n, 0)) !== null && s !== void 0 ? s : A) === $e)
|
|
562
562
|
return;
|
|
563
|
-
const r = this._$AH, i = e ===
|
|
563
|
+
const r = this._$AH, i = e === A && r !== A || e.capture !== r.capture || e.once !== r.once || e.passive !== r.passive, o = e !== A && (r === A || i);
|
|
564
564
|
i && this.element.removeEventListener(this.name, this, r), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
565
565
|
}
|
|
566
566
|
handleEvent(e) {
|
|
@@ -631,7 +631,7 @@ ms == null || ms({ LitElement: E });
|
|
|
631
631
|
* Copyright 2017 Google LLC
|
|
632
632
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
633
633
|
*/
|
|
634
|
-
const
|
|
634
|
+
const w = (t) => (e) => typeof e == "function" ? ((n, s) => (customElements.define(n, s), s))(t, e) : ((n, s) => {
|
|
635
635
|
const { kind: r, elements: i } = s;
|
|
636
636
|
return { kind: r, elements: i, finisher(o) {
|
|
637
637
|
customElements.define(n, o);
|
|
@@ -714,7 +714,7 @@ function yi(t) {
|
|
|
714
714
|
});
|
|
715
715
|
}, enumerable: !0, configurable: !0 }) });
|
|
716
716
|
}
|
|
717
|
-
const C =
|
|
717
|
+
const C = S`.button--primary{display:flex;justify-content:center;align-items:center;padding:12px 16px;color:#fff;font-size:14px;font-weight:500;letter-spacing:1.25px;text-transform:uppercase;border-radius:4px;border:1px dashed var(--primary,#0051ca);background:var(--primary,#0051ca);box-shadow:0 1px 5px 0 rgba(0,0,0,.12),0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2);transition:all .3s;cursor:pointer;text-decoration:none;transition:background .3s}.button--default{display:inline-block;justify-content:center;align-items:center;padding:12px 16px;color:#000;font-size:14px;font-weight:500;letter-spacing:1.25px;text-transform:uppercase;border-radius:4px;border:1px dashed #e4e4e4;background:#e4e4e4;box-shadow:0 1px 5px 0 rgba(0,0,0,.12),0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2);transition:all .3s;cursor:pointer;text-decoration:none;transition:background .3s}.button--clear{display:inline-block;justify-content:center;align-items:center;padding:12px 16px;font-size:14px;font-weight:500;letter-spacing:1.25px;text-transform:uppercase;border-radius:4px;background:#e4e4e4;cursor:pointer;text-decoration:none;transition:background .3s;background:0 0;border:0;outline:0;box-shadow:none;color:#0051ca}.button--primary:disabled{opacity:.6;background:var(--on-surface-black-overlay-black-12,linear-gradient(0deg,rgba(1,35,48,.12) 0,rgba(1,35,48,.12) 100%),#fff);color:grey;cursor:initial;border:1px solid var(--on-surface-black-overlay-black-12,linear-gradient(0deg,rgba(1,35,48,.12) 0,rgba(1,35,48,.12) 100%),#fff)}.button--primary:active:not([disabled]),.button--primary:focus:not([disabled]),.button--primary:hover:not([disabled]){background:var(--on-primary-white-overlay-white-overlay-24,linear-gradient(0deg,rgba(255,255,255,.24) 0,rgba(255,255,255,.24) 100%),#0051ca)}.button--default:active:not([disabled]),.button--default:focus:not([disabled]),.button--default:hover:not([disabled]){background:#d1d1d1}.close-dialog-button{width:120px;box-sizing:border-box;height:36px;position:absolute;top:25px;right:15px;display:flex;padding:8px 16px;justify-content:center;align-items:center;border-radius:4px;background-color:transparent;border:none;text-transform:uppercase;color:rgba(1,35,48,.87);font-size:14px;line-height:20px;letter-spacing:1.25px;cursor:pointer;font-weight:500;z-index:2}.close-dialog-button-icon{font-size:20px;color:rgba(1,35,48,.87)}.form-control{padding:10px;border-bottom:2px solid #b1b1b1;border-top:none;border-right:none;border-left:none;outline:0;background:#f7f7f7;width:100%;box-sizing:border-box;border-radius:0;font-size:14px;outline:0;box-shadow:none}.actions-wrapper{margin:20px 0 0 0;display:flex;text-align:right;justify-content:right;align-items:center;width:100%}.actions-wrapper button:not(:last-child){margin-right:10px}`;
|
|
718
718
|
/**
|
|
719
719
|
* @license
|
|
720
720
|
* Copyright 2021 Google LLC
|
|
@@ -762,7 +762,7 @@ let Ei = class {
|
|
|
762
762
|
* Copyright 2021 Google LLC
|
|
763
763
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
764
764
|
*/
|
|
765
|
-
let
|
|
765
|
+
let wi = class {
|
|
766
766
|
constructor(e) {
|
|
767
767
|
this.subscriptions = /* @__PURE__ */ new Map(), this.updateObservers = () => {
|
|
768
768
|
for (const [n, { disposer: s }] of this.subscriptions)
|
|
@@ -797,11 +797,11 @@ let Ai = class {
|
|
|
797
797
|
* Copyright 2021 Google LLC
|
|
798
798
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
799
799
|
*/
|
|
800
|
-
let
|
|
800
|
+
let Ai = class extends Event {
|
|
801
801
|
constructor(e) {
|
|
802
802
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = e;
|
|
803
803
|
}
|
|
804
|
-
}, Ti = class extends
|
|
804
|
+
}, Ti = class extends wi {
|
|
805
805
|
constructor(e, n, s) {
|
|
806
806
|
super(n.context !== void 0 ? n.initialValue : s), this.onContextRequest = (r) => {
|
|
807
807
|
const i = r.composedPath()[0];
|
|
@@ -819,7 +819,7 @@ let wi = class extends Event {
|
|
|
819
819
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
|
820
820
|
}
|
|
821
821
|
hostConnected() {
|
|
822
|
-
this.host.dispatchEvent(new
|
|
822
|
+
this.host.dispatchEvent(new Ai(this.context));
|
|
823
823
|
}
|
|
824
824
|
};
|
|
825
825
|
/**
|
|
@@ -827,7 +827,7 @@ let wi = class extends Event {
|
|
|
827
827
|
* Copyright 2017 Google LLC
|
|
828
828
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
829
829
|
*/
|
|
830
|
-
function
|
|
830
|
+
function Y({ context: t }) {
|
|
831
831
|
return Vt({ finisher: (e, n) => {
|
|
832
832
|
const s = /* @__PURE__ */ new WeakMap();
|
|
833
833
|
e.addInitializer((a) => {
|
|
@@ -998,11 +998,11 @@ function ys(t, e, n, s) {
|
|
|
998
998
|
function Ni(t, e) {
|
|
999
999
|
return t.map((n) => (n.value && (n.value = Ye(n.value, e)), n));
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function At(t) {
|
|
1002
1002
|
return t && t.Math == Math ? t : void 0;
|
|
1003
1003
|
}
|
|
1004
|
-
const I = typeof globalThis == "object" &&
|
|
1005
|
-
typeof window == "object" &&
|
|
1004
|
+
const I = typeof globalThis == "object" && At(globalThis) || // eslint-disable-next-line no-restricted-globals
|
|
1005
|
+
typeof window == "object" && At(window) || typeof self == "object" && At(self) || typeof global == "object" && At(global) || function() {
|
|
1006
1006
|
return this;
|
|
1007
1007
|
}() || {};
|
|
1008
1008
|
function vt() {
|
|
@@ -1013,7 +1013,7 @@ function pr(t, e, n) {
|
|
|
1013
1013
|
return r[t] || (r[t] = e());
|
|
1014
1014
|
}
|
|
1015
1015
|
const Di = vt(), $i = 80;
|
|
1016
|
-
function
|
|
1016
|
+
function wn(t, e = {}) {
|
|
1017
1017
|
if (!t)
|
|
1018
1018
|
return "<unknown>";
|
|
1019
1019
|
try {
|
|
@@ -1151,25 +1151,25 @@ function gr(t) {
|
|
|
1151
1151
|
message: t.message,
|
|
1152
1152
|
name: t.name,
|
|
1153
1153
|
stack: t.stack
|
|
1154
|
-
},
|
|
1154
|
+
}, ws(t));
|
|
1155
1155
|
if (Ht(t)) {
|
|
1156
1156
|
const e = h({
|
|
1157
1157
|
type: t.type,
|
|
1158
1158
|
target: Es(t.target),
|
|
1159
1159
|
currentTarget: Es(t.currentTarget)
|
|
1160
|
-
},
|
|
1160
|
+
}, ws(t));
|
|
1161
1161
|
return typeof CustomEvent != "undefined" && Ce(t, CustomEvent) && (e.detail = t.detail), e;
|
|
1162
1162
|
} else
|
|
1163
1163
|
return t;
|
|
1164
1164
|
}
|
|
1165
1165
|
function Es(t) {
|
|
1166
1166
|
try {
|
|
1167
|
-
return xi(t) ?
|
|
1167
|
+
return xi(t) ? wn(t) : Object.prototype.toString.call(t);
|
|
1168
1168
|
} catch (e) {
|
|
1169
1169
|
return "<unknown>";
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1172
|
+
function ws(t) {
|
|
1173
1173
|
if (typeof t == "object" && t !== null) {
|
|
1174
1174
|
const e = {};
|
|
1175
1175
|
for (const n in t)
|
|
@@ -1192,9 +1192,9 @@ function Yi(t, e = 40) {
|
|
|
1192
1192
|
return "";
|
|
1193
1193
|
}
|
|
1194
1194
|
function jt(t) {
|
|
1195
|
-
return
|
|
1195
|
+
return An(t, /* @__PURE__ */ new Map());
|
|
1196
1196
|
}
|
|
1197
|
-
function
|
|
1197
|
+
function An(t, e) {
|
|
1198
1198
|
if (qe(t)) {
|
|
1199
1199
|
const n = e.get(t);
|
|
1200
1200
|
if (n !== void 0)
|
|
@@ -1202,7 +1202,7 @@ function wn(t, e) {
|
|
|
1202
1202
|
const s = {};
|
|
1203
1203
|
e.set(t, s);
|
|
1204
1204
|
for (const r of Object.keys(t))
|
|
1205
|
-
typeof t[r] != "undefined" && (s[r] =
|
|
1205
|
+
typeof t[r] != "undefined" && (s[r] = An(t[r], e));
|
|
1206
1206
|
return s;
|
|
1207
1207
|
}
|
|
1208
1208
|
if (Array.isArray(t)) {
|
|
@@ -1211,12 +1211,12 @@ function wn(t, e) {
|
|
|
1211
1211
|
return n;
|
|
1212
1212
|
const s = [];
|
|
1213
1213
|
return e.set(t, s), t.forEach((r) => {
|
|
1214
|
-
s.push(
|
|
1214
|
+
s.push(An(r, e));
|
|
1215
1215
|
}), s;
|
|
1216
1216
|
}
|
|
1217
1217
|
return t;
|
|
1218
1218
|
}
|
|
1219
|
-
function
|
|
1219
|
+
function de() {
|
|
1220
1220
|
const t = I, e = t.crypto || t.msCrypto;
|
|
1221
1221
|
let n = () => Math.random() * 16;
|
|
1222
1222
|
try {
|
|
@@ -1243,7 +1243,7 @@ function Bi(t) {
|
|
|
1243
1243
|
const s = mr(t);
|
|
1244
1244
|
return s ? s.type && s.value ? `${s.type}: ${s.value}` : s.type || s.value || n || "<unknown>" : n || "<unknown>";
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1246
|
+
function As(t, e, n) {
|
|
1247
1247
|
const s = t.exception = t.exception || {}, r = s.values = s.values || [], i = r[0] = r[0] || {};
|
|
1248
1248
|
i.value || (i.value = e || ""), i.type || (i.type = n || "Error");
|
|
1249
1249
|
}
|
|
@@ -1345,7 +1345,7 @@ function Ji() {
|
|
|
1345
1345
|
const t = Tt.chrome, e = t && t.app && t.app.runtime, n = "history" in Tt && !!Tt.history.pushState && !!Tt.history.replaceState;
|
|
1346
1346
|
return !e && n;
|
|
1347
1347
|
}
|
|
1348
|
-
const
|
|
1348
|
+
const x = vt(), rt = "__sentry_xhr_v2__", at = {}, Is = {};
|
|
1349
1349
|
function Xi(t) {
|
|
1350
1350
|
if (!Is[t])
|
|
1351
1351
|
switch (Is[t] = !0, t) {
|
|
@@ -1377,7 +1377,7 @@ function Xi(t) {
|
|
|
1377
1377
|
function Se(t, e) {
|
|
1378
1378
|
at[t] = at[t] || [], at[t].push(e), Xi(t);
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1380
|
+
function z(t, e) {
|
|
1381
1381
|
if (!(!t || !at[t]))
|
|
1382
1382
|
for (const n of at[t] || [])
|
|
1383
1383
|
try {
|
|
@@ -1389,7 +1389,7 @@ function Qi() {
|
|
|
1389
1389
|
"console" in I && Pi.forEach(function(t) {
|
|
1390
1390
|
t in I.console && J(I.console, t, function(e) {
|
|
1391
1391
|
return Ct[t] = e, function(...n) {
|
|
1392
|
-
|
|
1392
|
+
z("console", { args: n, level: t });
|
|
1393
1393
|
const s = Ct[t];
|
|
1394
1394
|
s && s.apply(I.console, n);
|
|
1395
1395
|
};
|
|
@@ -1407,13 +1407,13 @@ function eo() {
|
|
|
1407
1407
|
},
|
|
1408
1408
|
startTimestamp: Date.now()
|
|
1409
1409
|
};
|
|
1410
|
-
return
|
|
1411
|
-
(i) => (
|
|
1410
|
+
return z("fetch", h({}, r)), t.apply(I, e).then(
|
|
1411
|
+
(i) => (z("fetch", y(h({}, r), {
|
|
1412
1412
|
endTimestamp: Date.now(),
|
|
1413
1413
|
response: i
|
|
1414
1414
|
})), i),
|
|
1415
1415
|
(i) => {
|
|
1416
|
-
throw
|
|
1416
|
+
throw z("fetch", y(h({}, r), {
|
|
1417
1417
|
endTimestamp: Date.now(),
|
|
1418
1418
|
error: i
|
|
1419
1419
|
})), i;
|
|
@@ -1445,7 +1445,7 @@ function to(t) {
|
|
|
1445
1445
|
};
|
|
1446
1446
|
}
|
|
1447
1447
|
function no() {
|
|
1448
|
-
if (!
|
|
1448
|
+
if (!x.XMLHttpRequest)
|
|
1449
1449
|
return;
|
|
1450
1450
|
const t = XMLHttpRequest.prototype;
|
|
1451
1451
|
J(t, "open", function(e) {
|
|
@@ -1464,7 +1464,7 @@ function no() {
|
|
|
1464
1464
|
a.status_code = this.status;
|
|
1465
1465
|
} catch (d) {
|
|
1466
1466
|
}
|
|
1467
|
-
|
|
1467
|
+
z("xhr", {
|
|
1468
1468
|
args: n,
|
|
1469
1469
|
endTimestamp: Date.now(),
|
|
1470
1470
|
startTimestamp: s,
|
|
@@ -1486,7 +1486,7 @@ function no() {
|
|
|
1486
1486
|
}), J(t, "send", function(e) {
|
|
1487
1487
|
return function(...n) {
|
|
1488
1488
|
const s = this[rt];
|
|
1489
|
-
return s && n[0] !== void 0 && (s.body = n[0]),
|
|
1489
|
+
return s && n[0] !== void 0 && (s.body = n[0]), z("xhr", {
|
|
1490
1490
|
args: n,
|
|
1491
1491
|
startTimestamp: Date.now(),
|
|
1492
1492
|
xhr: this
|
|
@@ -1498,10 +1498,10 @@ let St;
|
|
|
1498
1498
|
function so() {
|
|
1499
1499
|
if (!Ji())
|
|
1500
1500
|
return;
|
|
1501
|
-
const t =
|
|
1502
|
-
|
|
1503
|
-
const s =
|
|
1504
|
-
if (St = s,
|
|
1501
|
+
const t = x.onpopstate;
|
|
1502
|
+
x.onpopstate = function(...n) {
|
|
1503
|
+
const s = x.location.href, r = St;
|
|
1504
|
+
if (St = s, z("history", {
|
|
1505
1505
|
from: r,
|
|
1506
1506
|
to: s
|
|
1507
1507
|
}), t)
|
|
@@ -1515,7 +1515,7 @@ function so() {
|
|
|
1515
1515
|
const r = s.length > 2 ? s[2] : void 0;
|
|
1516
1516
|
if (r) {
|
|
1517
1517
|
const i = St, o = String(r);
|
|
1518
|
-
St = o,
|
|
1518
|
+
St = o, z("history", {
|
|
1519
1519
|
from: i,
|
|
1520
1520
|
to: o
|
|
1521
1521
|
});
|
|
@@ -1523,7 +1523,7 @@ function so() {
|
|
|
1523
1523
|
return n.apply(this, s);
|
|
1524
1524
|
};
|
|
1525
1525
|
}
|
|
1526
|
-
J(
|
|
1526
|
+
J(x.history, "pushState", e), J(x.history, "replaceState", e);
|
|
1527
1527
|
}
|
|
1528
1528
|
const ro = 1e3;
|
|
1529
1529
|
let Rs, In, On;
|
|
@@ -1554,23 +1554,23 @@ function Ns(t, e = !1) {
|
|
|
1554
1554
|
const s = ao(n);
|
|
1555
1555
|
if (oo(n.type, s))
|
|
1556
1556
|
return;
|
|
1557
|
-
Lt(n, "_sentryCaptured", !0), s && !s._sentryId && Lt(s, "_sentryId",
|
|
1557
|
+
Lt(n, "_sentryCaptured", !0), s && !s._sentryId && Lt(s, "_sentryId", de());
|
|
1558
1558
|
const r = n.type === "keypress" ? "input" : n.type;
|
|
1559
1559
|
io(n) || (t({
|
|
1560
1560
|
event: n,
|
|
1561
1561
|
name: r,
|
|
1562
1562
|
global: e
|
|
1563
|
-
}), In = n.type, On = s ? s._sentryId : void 0), clearTimeout(Rs), Rs =
|
|
1563
|
+
}), In = n.type, On = s ? s._sentryId : void 0), clearTimeout(Rs), Rs = x.setTimeout(() => {
|
|
1564
1564
|
On = void 0, In = void 0;
|
|
1565
1565
|
}, ro);
|
|
1566
1566
|
};
|
|
1567
1567
|
}
|
|
1568
1568
|
function co() {
|
|
1569
|
-
if (!
|
|
1569
|
+
if (!x.document)
|
|
1570
1570
|
return;
|
|
1571
|
-
const t =
|
|
1572
|
-
|
|
1573
|
-
const s =
|
|
1571
|
+
const t = z.bind(null, "dom"), e = Ns(t, !0);
|
|
1572
|
+
x.document.addEventListener("click", e, !1), x.document.addEventListener("keypress", e, !1), ["EventTarget", "Node"].forEach((n) => {
|
|
1573
|
+
const s = x[n] && x[n].prototype;
|
|
1574
1574
|
!s || !s.hasOwnProperty || !s.hasOwnProperty("addEventListener") || (J(s, "addEventListener", function(r) {
|
|
1575
1575
|
return function(i, o, a) {
|
|
1576
1576
|
if (i === "click" || i == "keypress")
|
|
@@ -1604,21 +1604,21 @@ function co() {
|
|
|
1604
1604
|
}
|
|
1605
1605
|
let xt = null;
|
|
1606
1606
|
function lo() {
|
|
1607
|
-
xt =
|
|
1608
|
-
return
|
|
1607
|
+
xt = x.onerror, x.onerror = function(t, e, n, s, r) {
|
|
1608
|
+
return z("error", {
|
|
1609
1609
|
column: s,
|
|
1610
1610
|
error: r,
|
|
1611
1611
|
line: n,
|
|
1612
1612
|
msg: t,
|
|
1613
1613
|
url: e
|
|
1614
1614
|
}), xt && !xt.__SENTRY_LOADER__ ? xt.apply(this, arguments) : !1;
|
|
1615
|
-
},
|
|
1615
|
+
}, x.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
1616
1616
|
}
|
|
1617
1617
|
let It = null;
|
|
1618
1618
|
function uo() {
|
|
1619
|
-
It =
|
|
1620
|
-
return
|
|
1621
|
-
},
|
|
1619
|
+
It = x.onunhandledrejection, x.onunhandledrejection = function(t) {
|
|
1620
|
+
return z("unhandledrejection", t), It && !It.__SENTRY_LOADER__ ? It.apply(this, arguments) : !0;
|
|
1621
|
+
}, x.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
1622
1622
|
}
|
|
1623
1623
|
function ho() {
|
|
1624
1624
|
return typeof __SENTRY_BROWSER_BUNDLE__ != "undefined" && !!__SENTRY_BROWSER_BUNDLE__;
|
|
@@ -1697,8 +1697,8 @@ function Rn(t, e, n = 1 / 0, s = 1 / 0, r = mo()) {
|
|
|
1697
1697
|
f[b] = "[MaxProperties ~]";
|
|
1698
1698
|
break;
|
|
1699
1699
|
}
|
|
1700
|
-
const
|
|
1701
|
-
f[b] = Rn(b,
|
|
1700
|
+
const oe = m[b];
|
|
1701
|
+
f[b] = Rn(b, oe, d - 1, s, r), p++;
|
|
1702
1702
|
}
|
|
1703
1703
|
return o(e), f;
|
|
1704
1704
|
}
|
|
@@ -1742,14 +1742,14 @@ function bo(t) {
|
|
|
1742
1742
|
function yo(t) {
|
|
1743
1743
|
return bo(JSON.stringify(t));
|
|
1744
1744
|
}
|
|
1745
|
-
var
|
|
1745
|
+
var ae;
|
|
1746
1746
|
(function(t) {
|
|
1747
1747
|
t[t.PENDING = 0] = "PENDING";
|
|
1748
1748
|
const n = 1;
|
|
1749
1749
|
t[t.RESOLVED = n] = "RESOLVED";
|
|
1750
1750
|
const s = 2;
|
|
1751
1751
|
t[t.REJECTED = s] = "REJECTED";
|
|
1752
|
-
})(
|
|
1752
|
+
})(ae || (ae = {}));
|
|
1753
1753
|
function Le(t) {
|
|
1754
1754
|
return new H((e) => {
|
|
1755
1755
|
e(t);
|
|
@@ -1762,7 +1762,7 @@ function Yn(t) {
|
|
|
1762
1762
|
}
|
|
1763
1763
|
class H {
|
|
1764
1764
|
constructor(e) {
|
|
1765
|
-
H.prototype.__init.call(this), H.prototype.__init2.call(this), H.prototype.__init3.call(this), H.prototype.__init4.call(this), this._state =
|
|
1765
|
+
H.prototype.__init.call(this), H.prototype.__init2.call(this), H.prototype.__init3.call(this), H.prototype.__init4.call(this), this._state = ae.PENDING, this._handlers = [];
|
|
1766
1766
|
try {
|
|
1767
1767
|
e(this._resolve, this._reject);
|
|
1768
1768
|
} catch (n) {
|
|
@@ -1824,19 +1824,19 @@ class H {
|
|
|
1824
1824
|
/** JSDoc */
|
|
1825
1825
|
__init() {
|
|
1826
1826
|
this._resolve = (e) => {
|
|
1827
|
-
this._setResult(
|
|
1827
|
+
this._setResult(ae.RESOLVED, e);
|
|
1828
1828
|
};
|
|
1829
1829
|
}
|
|
1830
1830
|
/** JSDoc */
|
|
1831
1831
|
__init2() {
|
|
1832
1832
|
this._reject = (e) => {
|
|
1833
|
-
this._setResult(
|
|
1833
|
+
this._setResult(ae.REJECTED, e);
|
|
1834
1834
|
};
|
|
1835
1835
|
}
|
|
1836
1836
|
/** JSDoc */
|
|
1837
1837
|
__init3() {
|
|
1838
1838
|
this._setResult = (e, n) => {
|
|
1839
|
-
if (this._state ===
|
|
1839
|
+
if (this._state === ae.PENDING) {
|
|
1840
1840
|
if (jn(n)) {
|
|
1841
1841
|
n.then(this._resolve, this._reject);
|
|
1842
1842
|
return;
|
|
@@ -1848,11 +1848,11 @@ class H {
|
|
|
1848
1848
|
/** JSDoc */
|
|
1849
1849
|
__init4() {
|
|
1850
1850
|
this._executeHandlers = () => {
|
|
1851
|
-
if (this._state ===
|
|
1851
|
+
if (this._state === ae.PENDING)
|
|
1852
1852
|
return;
|
|
1853
1853
|
const e = this._handlers.slice();
|
|
1854
1854
|
this._handlers = [], e.forEach((n) => {
|
|
1855
|
-
n[0] || (this._state ===
|
|
1855
|
+
n[0] || (this._state === ae.RESOLVED && n[1](this._value), this._state === ae.REJECTED && n[2](this._value), n[0] = !0);
|
|
1856
1856
|
});
|
|
1857
1857
|
};
|
|
1858
1858
|
}
|
|
@@ -1913,9 +1913,9 @@ function cn(t) {
|
|
|
1913
1913
|
// everything minus origin
|
|
1914
1914
|
};
|
|
1915
1915
|
}
|
|
1916
|
-
const
|
|
1917
|
-
function
|
|
1918
|
-
return t === "warn" ? "warning" :
|
|
1916
|
+
const wo = ["fatal", "error", "warning", "log", "info", "debug"];
|
|
1917
|
+
function Ao(t) {
|
|
1918
|
+
return t === "warn" ? "warning" : wo.includes(t) ? t : "log";
|
|
1919
1919
|
}
|
|
1920
1920
|
const br = vt(), Nn = {
|
|
1921
1921
|
nowSeconds: () => Date.now() / 1e3
|
|
@@ -2102,7 +2102,7 @@ function kt(t, e, n, s = 0) {
|
|
|
2102
2102
|
}
|
|
2103
2103
|
function Vo(t) {
|
|
2104
2104
|
const e = yr(), n = {
|
|
2105
|
-
sid:
|
|
2105
|
+
sid: de(),
|
|
2106
2106
|
init: !0,
|
|
2107
2107
|
timestamp: e,
|
|
2108
2108
|
started: e,
|
|
@@ -2115,7 +2115,7 @@ function Vo(t) {
|
|
|
2115
2115
|
return t && We(n, t), n;
|
|
2116
2116
|
}
|
|
2117
2117
|
function We(t, e = {}) {
|
|
2118
|
-
if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || yr(), e.abnormal_mechanism && (t.abnormal_mechanism = e.abnormal_mechanism), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid :
|
|
2118
|
+
if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || yr(), e.abnormal_mechanism && (t.abnormal_mechanism = e.abnormal_mechanism), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : de()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration)
|
|
2119
2119
|
t.duration = void 0;
|
|
2120
2120
|
else if (typeof e.duration == "number")
|
|
2121
2121
|
t.duration = e.duration;
|
|
@@ -2431,12 +2431,12 @@ class Ne {
|
|
|
2431
2431
|
}
|
|
2432
2432
|
function Ls() {
|
|
2433
2433
|
return {
|
|
2434
|
-
traceId:
|
|
2435
|
-
spanId:
|
|
2434
|
+
traceId: de(),
|
|
2435
|
+
spanId: de().substring(16)
|
|
2436
2436
|
};
|
|
2437
2437
|
}
|
|
2438
|
-
const
|
|
2439
|
-
class
|
|
2438
|
+
const wr = 4, Yo = 100;
|
|
2439
|
+
class Ar {
|
|
2440
2440
|
/** Is a {@link Layer}[] containing the client and scope */
|
|
2441
2441
|
/** Contains the last event id of a captured event. */
|
|
2442
2442
|
/**
|
|
@@ -2447,7 +2447,7 @@ class wr {
|
|
|
2447
2447
|
* @param scope bound to the hub.
|
|
2448
2448
|
* @param version number, higher number means higher priority.
|
|
2449
2449
|
*/
|
|
2450
|
-
constructor(e, n = new Ne(), s =
|
|
2450
|
+
constructor(e, n = new Ne(), s = wr) {
|
|
2451
2451
|
this._version = s, this._stack = [{ scope: n }], e && this.bindClient(e);
|
|
2452
2452
|
}
|
|
2453
2453
|
/**
|
|
@@ -2512,7 +2512,7 @@ class wr {
|
|
|
2512
2512
|
* @inheritDoc
|
|
2513
2513
|
*/
|
|
2514
2514
|
captureException(e, n) {
|
|
2515
|
-
const s = this._lastEventId = n && n.event_id ? n.event_id :
|
|
2515
|
+
const s = this._lastEventId = n && n.event_id ? n.event_id : de(), r = new Error("Sentry syntheticException");
|
|
2516
2516
|
return this._withClient((i, o) => {
|
|
2517
2517
|
i.captureException(
|
|
2518
2518
|
e,
|
|
@@ -2530,7 +2530,7 @@ class wr {
|
|
|
2530
2530
|
* @inheritDoc
|
|
2531
2531
|
*/
|
|
2532
2532
|
captureMessage(e, n, s) {
|
|
2533
|
-
const r = this._lastEventId = s && s.event_id ? s.event_id :
|
|
2533
|
+
const r = this._lastEventId = s && s.event_id ? s.event_id : de(), i = new Error(e);
|
|
2534
2534
|
return this._withClient((o, a) => {
|
|
2535
2535
|
o.captureMessage(
|
|
2536
2536
|
e,
|
|
@@ -2549,7 +2549,7 @@ class wr {
|
|
|
2549
2549
|
* @inheritDoc
|
|
2550
2550
|
*/
|
|
2551
2551
|
captureEvent(e, n) {
|
|
2552
|
-
const s = n && n.event_id ? n.event_id :
|
|
2552
|
+
const s = n && n.event_id ? n.event_id : de();
|
|
2553
2553
|
return e.type || (this._lastEventId = s), this._withClient((r, i) => {
|
|
2554
2554
|
r.captureEvent(e, y(h({}, n), { event_id: s }), i);
|
|
2555
2555
|
}), s;
|
|
@@ -2735,13 +2735,13 @@ function D() {
|
|
|
2735
2735
|
return Bo(t);
|
|
2736
2736
|
}
|
|
2737
2737
|
function Bo(t = Bt()) {
|
|
2738
|
-
return (!zo(t) || $n(t).isOlderThan(
|
|
2738
|
+
return (!zo(t) || $n(t).isOlderThan(wr)) && Tr(t, new Ar()), $n(t);
|
|
2739
2739
|
}
|
|
2740
2740
|
function zo(t) {
|
|
2741
2741
|
return !!(t && t.__SENTRY__ && t.__SENTRY__.hub);
|
|
2742
2742
|
}
|
|
2743
2743
|
function $n(t) {
|
|
2744
|
-
return pr("hub", () => new
|
|
2744
|
+
return pr("hub", () => new Ar(), t);
|
|
2745
2745
|
}
|
|
2746
2746
|
function Tr(t, e) {
|
|
2747
2747
|
if (!t)
|
|
@@ -2824,7 +2824,7 @@ function Sr(t, e, n) {
|
|
|
2824
2824
|
}
|
|
2825
2825
|
function na(t, e, n, s, r) {
|
|
2826
2826
|
const { normalizeDepth: i = 3, normalizeMaxBreadth: o = 1e3 } = t, a = y(h({}, e), {
|
|
2827
|
-
event_id: e.event_id || n.event_id ||
|
|
2827
|
+
event_id: e.event_id || n.event_id || de(),
|
|
2828
2828
|
timestamp: e.timestamp || Yt()
|
|
2829
2829
|
}), d = n.integrations || t.integrations.map((m) => m.name);
|
|
2830
2830
|
sa(a, t), oa(a, d), e.type === void 0 && ra(a, t.stackParser);
|
|
@@ -3240,9 +3240,9 @@ class da {
|
|
|
3240
3240
|
!o && m && this._updateSessionFromEvent(m, p);
|
|
3241
3241
|
const b = p.transaction_info;
|
|
3242
3242
|
if (o && b && p.transaction !== e.transaction) {
|
|
3243
|
-
const
|
|
3243
|
+
const oe = "custom";
|
|
3244
3244
|
p.transaction_info = y(h({}, b), {
|
|
3245
|
-
source:
|
|
3245
|
+
source: oe
|
|
3246
3246
|
});
|
|
3247
3247
|
}
|
|
3248
3248
|
return this.sendEvent(p, n), p;
|
|
@@ -3332,16 +3332,16 @@ function ha(t, e, n = Eo(
|
|
|
3332
3332
|
if ($s(o, (p, m) => {
|
|
3333
3333
|
const b = Cs(m);
|
|
3334
3334
|
if (ko(s, b)) {
|
|
3335
|
-
const
|
|
3336
|
-
t.recordDroppedEvent("ratelimit_backoff", b,
|
|
3335
|
+
const oe = Hs(p, m);
|
|
3336
|
+
t.recordDroppedEvent("ratelimit_backoff", b, oe);
|
|
3337
3337
|
} else
|
|
3338
3338
|
a.push(p);
|
|
3339
3339
|
}), a.length === 0)
|
|
3340
3340
|
return Le();
|
|
3341
3341
|
const d = _t(o[0], a), c = (p) => {
|
|
3342
3342
|
$s(d, (m, b) => {
|
|
3343
|
-
const
|
|
3344
|
-
t.recordDroppedEvent(p, Cs(b),
|
|
3343
|
+
const oe = Hs(m, b);
|
|
3344
|
+
t.recordDroppedEvent(p, Cs(b), oe);
|
|
3345
3345
|
});
|
|
3346
3346
|
}, f = () => e({ body: Io(d, t.textEncoder) }).then(
|
|
3347
3347
|
(p) => (s = Mo(s, p), p),
|
|
@@ -3367,7 +3367,7 @@ function Hs(t, e) {
|
|
|
3367
3367
|
if (!(e !== "event" && e !== "transaction"))
|
|
3368
3368
|
return Array.isArray(t) ? t[1] : void 0;
|
|
3369
3369
|
}
|
|
3370
|
-
const Fs = "7.77.0",
|
|
3370
|
+
const Fs = "7.77.0", B = I;
|
|
3371
3371
|
function Or(t, e) {
|
|
3372
3372
|
const n = Gn(t, e), s = {
|
|
3373
3373
|
type: e && e.name,
|
|
@@ -3442,13 +3442,13 @@ function qn(t, e, n, s, r) {
|
|
|
3442
3442
|
i = un(t, e);
|
|
3443
3443
|
else {
|
|
3444
3444
|
const a = o.name || (vs(o) ? "DOMError" : "DOMException"), d = o.message ? `${a}: ${o.message}` : a;
|
|
3445
|
-
i = Ln(t, d, n, s),
|
|
3445
|
+
i = Ln(t, d, n, s), As(i, d);
|
|
3446
3446
|
}
|
|
3447
3447
|
return "code" in o && (i.tags = y(h({}, i.tags), { "DOMException.code": `${o.code}` })), i;
|
|
3448
3448
|
}
|
|
3449
3449
|
return lr(e) ? un(t, e) : qe(e) || Ht(e) ? (i = pa(t, e, n, r), Pt(i, {
|
|
3450
3450
|
synthetic: !0
|
|
3451
|
-
}), i) : (i = Ln(t, e, n, s),
|
|
3451
|
+
}), i) : (i = Ln(t, e, n, s), As(i, `${e}`, void 0), Pt(i, {
|
|
3452
3452
|
synthetic: !0
|
|
3453
3453
|
}), i);
|
|
3454
3454
|
}
|
|
@@ -3488,22 +3488,22 @@ function Ea(t, {
|
|
|
3488
3488
|
name: e.sdk.name,
|
|
3489
3489
|
version: e.sdk.version
|
|
3490
3490
|
}
|
|
3491
|
-
}), !!n && !!s && { dsn: Ft(s) }), i =
|
|
3491
|
+
}), !!n && !!s && { dsn: Ft(s) }), i = wa(t);
|
|
3492
3492
|
return _t(r, [i]);
|
|
3493
3493
|
}
|
|
3494
|
-
function
|
|
3494
|
+
function wa(t) {
|
|
3495
3495
|
return [{
|
|
3496
3496
|
type: "user_report"
|
|
3497
3497
|
}, t];
|
|
3498
3498
|
}
|
|
3499
|
-
class
|
|
3499
|
+
class Aa extends da {
|
|
3500
3500
|
/**
|
|
3501
3501
|
* Creates a new Browser SDK instance.
|
|
3502
3502
|
*
|
|
3503
3503
|
* @param options Configuration options for this SDK.
|
|
3504
3504
|
*/
|
|
3505
3505
|
constructor(e) {
|
|
3506
|
-
const n =
|
|
3506
|
+
const n = B.SENTRY_SDK_SOURCE || po();
|
|
3507
3507
|
e._metadata = e._metadata || {}, e._metadata.sdk = e._metadata.sdk || {
|
|
3508
3508
|
name: "sentry.javascript.browser",
|
|
3509
3509
|
packages: [
|
|
@@ -3513,8 +3513,8 @@ class wa extends da {
|
|
|
3513
3513
|
}
|
|
3514
3514
|
],
|
|
3515
3515
|
version: Fs
|
|
3516
|
-
}, super(e), e.sendClientReports &&
|
|
3517
|
-
|
|
3516
|
+
}, super(e), e.sendClientReports && B.document && B.document.addEventListener("visibilitychange", () => {
|
|
3517
|
+
B.document.visibilityState === "hidden" && this._flushOutcomes();
|
|
3518
3518
|
});
|
|
3519
3519
|
}
|
|
3520
3520
|
/**
|
|
@@ -3563,10 +3563,10 @@ let it;
|
|
|
3563
3563
|
function Ta() {
|
|
3564
3564
|
if (it)
|
|
3565
3565
|
return it;
|
|
3566
|
-
if (Sn(
|
|
3567
|
-
return it =
|
|
3568
|
-
const t =
|
|
3569
|
-
let e =
|
|
3566
|
+
if (Sn(B.fetch))
|
|
3567
|
+
return it = B.fetch.bind(B);
|
|
3568
|
+
const t = B.document;
|
|
3569
|
+
let e = B.fetch;
|
|
3570
3570
|
if (t && typeof t.createElement == "function")
|
|
3571
3571
|
try {
|
|
3572
3572
|
const n = t.createElement("iframe");
|
|
@@ -3575,7 +3575,7 @@ function Ta() {
|
|
|
3575
3575
|
s && s.fetch && (e = s.fetch), t.head.removeChild(n);
|
|
3576
3576
|
} catch (n) {
|
|
3577
3577
|
}
|
|
3578
|
-
return it = e.bind(
|
|
3578
|
+
return it = e.bind(B);
|
|
3579
3579
|
}
|
|
3580
3580
|
function Sa() {
|
|
3581
3581
|
it = void 0;
|
|
@@ -3852,7 +3852,7 @@ function Wa(t) {
|
|
|
3852
3852
|
i && i > js && (i = js), typeof r == "string" && (r = [r]);
|
|
3853
3853
|
try {
|
|
3854
3854
|
const o = n.event;
|
|
3855
|
-
s = Qa(o) ?
|
|
3855
|
+
s = Qa(o) ? wn(o.target, { keyAttrs: r, maxStringLength: i }) : wn(o, { keyAttrs: r, maxStringLength: i });
|
|
3856
3856
|
} catch (o) {
|
|
3857
3857
|
s = "<unknown>";
|
|
3858
3858
|
}
|
|
@@ -3877,7 +3877,7 @@ function Za(t) {
|
|
|
3877
3877
|
arguments: t.args,
|
|
3878
3878
|
logger: "console"
|
|
3879
3879
|
},
|
|
3880
|
-
level:
|
|
3880
|
+
level: Ao(t.level),
|
|
3881
3881
|
message: _s(t.args, " ")
|
|
3882
3882
|
};
|
|
3883
3883
|
if (t.level === "assert")
|
|
@@ -3953,7 +3953,7 @@ function Ja(t) {
|
|
|
3953
3953
|
}
|
|
3954
3954
|
function Xa(t) {
|
|
3955
3955
|
let e = t.from, n = t.to;
|
|
3956
|
-
const s = cn(
|
|
3956
|
+
const s = cn(B.location.href);
|
|
3957
3957
|
let r = cn(e);
|
|
3958
3958
|
const i = cn(n);
|
|
3959
3959
|
r.path || (r = s), s.protocol === i.protocol && s.host === i.host && (n = i.relative), s.protocol === r.protocol && s.host === r.host && (e = r.relative), D().addBreadcrumb({
|
|
@@ -4100,7 +4100,7 @@ class Pr extends Error {
|
|
|
4100
4100
|
}
|
|
4101
4101
|
const id = (t, e) => {
|
|
4102
4102
|
if (["uat", "production"].includes(t)) {
|
|
4103
|
-
const n = new
|
|
4103
|
+
const n = new Aa({
|
|
4104
4104
|
// all options you normally pass to Sentry.init
|
|
4105
4105
|
dsn: "https://26ed528c0727a1a2adb22c381ca4111a@o414861.ingest.sentry.io/4506220268355584",
|
|
4106
4106
|
release: "0.3.0",
|
|
@@ -4425,12 +4425,12 @@ function vd(t) {
|
|
|
4425
4425
|
function qs(t) {
|
|
4426
4426
|
return gd.find((e) => e.name === t);
|
|
4427
4427
|
}
|
|
4428
|
-
var Zt =
|
|
4428
|
+
var Zt = S`:host{box-sizing:border-box}:host *,:host ::after,:host ::before{box-sizing:inherit}[hidden]{display:none!important}`, _d = S`${Zt}:host{display:inline-block;width:1em;height:1em;box-sizing:content-box!important}svg{display:block;height:100%;width:100%}`, kr = Object.defineProperty, bd = Object.defineProperties, yd = Object.getOwnPropertyDescriptor, Ed = Object.getOwnPropertyDescriptors, Ws = Object.getOwnPropertySymbols, wd = Object.prototype.hasOwnProperty, Ad = Object.prototype.propertyIsEnumerable, Zs = (t, e, n) => e in t ? kr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Zn = (t, e) => {
|
|
4429
4429
|
for (var n in e || (e = {}))
|
|
4430
|
-
|
|
4430
|
+
wd.call(e, n) && Zs(t, n, e[n]);
|
|
4431
4431
|
if (Ws)
|
|
4432
4432
|
for (var n of Ws(e))
|
|
4433
|
-
|
|
4433
|
+
Ad.call(e, n) && Zs(t, n, e[n]);
|
|
4434
4434
|
return t;
|
|
4435
4435
|
}, Td = (t, e) => bd(t, Ed(e)), _ = (t, e, n, s) => {
|
|
4436
4436
|
for (var r = s > 1 ? void 0 : s ? yd(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
@@ -4605,8 +4605,8 @@ _([
|
|
|
4605
4605
|
bt(["name", "src", "library"])
|
|
4606
4606
|
], te.prototype, "setIcon", 1);
|
|
4607
4607
|
te.define("sl-icon");
|
|
4608
|
-
const
|
|
4609
|
-
const q =
|
|
4608
|
+
const L = "api", he = "environment", Mr = "isLoading", Ur = "isLoadingMRCVendors", Vr = "allVendors", G = "currnetVendor", Hr = "currentPage", Fr = "mrcVendors", jr = "removeVendor", xd = "userVddFreeDetails", Kt = "vendorDataContext", Yr = "paginationPageContext";
|
|
4609
|
+
const q = S`:host{max-width:1200px;margin:0 auto;display:block;font-family:Poppins,sans-serif}label,p,span,td,th{font-size:14px}.text-right{text-align:right}.text-left{text-align:left}.text-center{text-align:center}.main_page_container{font-family:Poppins,sans-serif}.vdd_subtitle_container{display:flex;justify-content:space-between;align-items:center;font-size:20px;font-weight:700;width:100%}.page_title{width:100%}.settings_icon{margin-right:30px}.blue_container{min-height:30px;width:100%;border:1px solid #dee2e6;background-color:#1675ff;border-radius:6px 6px 0 0}.tos_container{margin:0 auto;width:100%;font-family:Poppins;font-style:normal;font-weight:400;font-size:18px;line-height:32px;color:#012330}.tos_headers{width:596px;height:32px;font-family:Poppins;font-style:normal;font-weight:600;font-size:20px;line-height:32px;color:#012330;margin:20px 0}.tos_submit_container{display:flex;flex-direction:row-reverse}.add_vendor_container{min-height:45px;border:1px solid #dee2e6;background-color:#f3f9ff;display:flex;flex-direction:row-reverse;align-items:center;padding:3px 0}.back_to_vendor_container{min-height:45px;border:1px solid #dee2e6;background-color:#f3f9ff;display:flex;flex-direction:row;align-items:center;padding:3px 0}.vendors_back_btn{margin-left:30px;cursor:pointer;font-size:14px;display:flex;align-items:center;line-height:1}.vendors_back_btn sl-icon{margin-right:8px;width:18px;height:18px}.tier_lvl_1{color:#c2280a}.tier_lvl_2{color:#f8991d}.tier_lvl_3{color:#0087db}.tier_lvl_4{color:#34aa44}.tier_lvl_none{color:#1c61c9 text-decoration: underline}#vdd_add_vendor_btn{font-weight:600;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:3px 16px;gap:8px;box-shadow:rgba(0,0,0,.12) 0 1px 5px 0;background:#fff;border:1px solid #fff;box-shadow:0 1px 2px rgba(16,24,40,.05);border-radius:8px;flex:none;order:0;flex-grow:0;margin-right:25px}.vendor-info-wrapper{margin:20px 0 50px 0;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:50px}.vendor-info-wrapper vendor-activity,.vendor-info-wrapper vendor-details{width:100%}.info-section{display:grid;grid-template-columns:1fr 1fr;margin:20px 0;grid-gap:20px}.add_vendor_popup{width:100%;display:flex;flex-direction:column}.add_vendor_popup select{width:100%;padding:.5rem;font-size:14px}.add_vendor_content{width:100%;font-size:14px;color:: #333}.vdd_partnered_desc{margin:1em 0}.spr_label{margin:1em 0}.info_doc_links{margin-bottom:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.vendor_info_doc{text-decoration:underline;color:#333}.vdd_textarea{background:#fafafa;min-width:100%;max-width:100%;width:100%;height:138px;max-height:100px;margin-bottom:40px;font-family:Poppins;padding:20px;box-shadow:0 3px 4px 0 #ced4DA33 inset;border-radius:6px;box-sizing:border-box;border:.5px solid #dee2e6;outline:0}.no_nda_text{margin:1em 0}.other_vendor_notice p{margin:0}#nda_contract_yes_wrapper,.nda-file-input,.spr_vendor_nda_url_item,.vdd_textarea{margin:1em 0}.remove{display:none}.block{display:block}#invite_vendor_name,.vdd_invite_content input{margin:1em 0}.file-container,.file-container-other{display:flex;align-items:flex-start;justify-content:flex-start;width:100%}.nda-file-label{position:absolute;z-index:-1;top:10px;left:40px;font-size:17px;color:#b8b8b8}.button-wrap{position:relative}.nda-file-input{display:inline-block;padding:0 18px;cursor:pointer;border-radius:5px;font-size:14px;font-weight:700}.spr_vendor_upload_file{display:flex}.nda-document-container{padding-bottom:20px}.vdd_ovd_ad_upload_outer_wrapper{padding:10px;border:1px solid #0000001F}h4{font-weight:700;font-size:18px;margin-bottom:0}.send_invite_header{margin-top:35px}input[type=email],input[type=number],input[type=search],input[type=text]{border:1px solid #dee2e6;outline:0;padding:12px;width:100%;border-radius:6px;margin:5px 0;box-sizing:border-box}#invite_vendor_contact,#recipient_email{max-width:349px}.actions-wrapper{margin:20px 0;display:flex;justify-content:end}.actions-wrapper button{margin-right:10px}.remove-doc-btn{margin-right:10px}.no-margin{margin:0!important}`;
|
|
4610
4610
|
var Id = Object.defineProperty, Od = Object.getOwnPropertyDescriptor, Xe = (t, e, n, s) => {
|
|
4611
4611
|
for (var r = s > 1 ? void 0 : s ? Od(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
4612
4612
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
@@ -4618,7 +4618,7 @@ let ge = class t extends E {
|
|
|
4618
4618
|
}
|
|
4619
4619
|
connectedCallback() {
|
|
4620
4620
|
return g(this, null, function* () {
|
|
4621
|
-
|
|
4621
|
+
Ae(t.prototype, this, "connectedCallback").call(this);
|
|
4622
4622
|
});
|
|
4623
4623
|
}
|
|
4624
4624
|
disconnectedCallback() {
|
|
@@ -4642,11 +4642,11 @@ let ge = class t extends E {
|
|
|
4642
4642
|
};
|
|
4643
4643
|
ge.styles = [C, q];
|
|
4644
4644
|
Xe([
|
|
4645
|
-
v({ context:
|
|
4645
|
+
v({ context: L }),
|
|
4646
4646
|
l()
|
|
4647
4647
|
], ge.prototype, "api", 2);
|
|
4648
4648
|
Xe([
|
|
4649
|
-
v({ context:
|
|
4649
|
+
v({ context: he }),
|
|
4650
4650
|
l()
|
|
4651
4651
|
], ge.prototype, "environment", 2);
|
|
4652
4652
|
Xe([
|
|
@@ -4659,9 +4659,9 @@ Xe([
|
|
|
4659
4659
|
l()
|
|
4660
4660
|
], ge.prototype, "isLoading", 2);
|
|
4661
4661
|
ge = Xe([
|
|
4662
|
-
|
|
4662
|
+
w("vendor-due-diligence-tos-page")
|
|
4663
4663
|
], ge);
|
|
4664
|
-
const Rd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hlY2syLWNpcmNsZSIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNMi41IDhhNS41IDUuNSAwIDAgMSA4LjI1LTQuNzY0LjUuNSAwIDAgMCAuNS0uODY2QTYuNSA2LjUgMCAxIDAgMTQuNSA4YS41LjUgMCAwIDAtMSAwIDUuNSA1LjUgMCAxIDEtMTEgMHoiLz4KICA8cGF0aCBkPSJNMTUuMzU0IDMuMzU0YS41LjUgMCAwIDAtLjcwOC0uNzA4TDggOS4yOTMgNS4zNTQgNi42NDZhLjUuNSAwIDEgMC0uNzA4LjcwOGwzIDNhLjUuNSAwIDAgMCAuNzA4IDBsNy03eiIvPgo8L3N2Zz4=", Nd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktZXhjbGFtYXRpb24tb2N0YWdvbiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNNC41NC4xNDZBLjUuNSAwIDAgMSA0Ljg5MyAwaDYuMjE0YS41LjUgMCAwIDEgLjM1My4xNDZsNC4zOTQgNC4zOTRhLjUuNSAwIDAgMSAuMTQ2LjM1M3Y2LjIxNGEuNS41IDAgMCAxLS4xNDYuMzUzbC00LjM5NCA0LjM5NGEuNS41IDAgMCAxLS4zNTMuMTQ2SDQuODkzYS41LjUgMCAwIDEtLjM1My0uMTQ2TC4xNDYgMTEuNDZBLjUuNSAwIDAgMSAwIDExLjEwN1Y0Ljg5M2EuNS41IDAgMCAxIC4xNDYtLjM1M0w0LjU0LjE0NnpNNS4xIDEgMSA1LjF2NS44TDUuMSAxNWg1LjhsNC4xLTQuMVY1LjFMMTAuOSAxSDUuMXoiLz4KICA8cGF0aCBkPSJNNy4wMDIgMTFhMSAxIDAgMSAxIDIgMCAxIDEgMCAwIDEtMiAwek03LjEgNC45OTVhLjkwNS45MDUgMCAxIDEgMS44IDBsLS4zNSAzLjUwN2EuNTUyLjU1MiAwIDAgMS0xLjEgMEw3LjEgNC45OTV6Ii8+Cjwvc3ZnPg==", Rt = "vendor", fn = "other_vendor", ot = "client_vendor_docs",
|
|
4664
|
+
const Rd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hlY2syLWNpcmNsZSIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNMi41IDhhNS41IDUuNSAwIDAgMSA4LjI1LTQuNzY0LjUuNSAwIDAgMCAuNS0uODY2QTYuNSA2LjUgMCAxIDAgMTQuNSA4YS41LjUgMCAwIDAtMSAwIDUuNSA1LjUgMCAxIDEtMTEgMHoiLz4KICA8cGF0aCBkPSJNMTUuMzU0IDMuMzU0YS41LjUgMCAwIDAtLjcwOC0uNzA4TDggOS4yOTMgNS4zNTQgNi42NDZhLjUuNSAwIDEgMC0uNzA4LjcwOGwzIDNhLjUuNSAwIDAgMCAuNzA4IDBsNy03eiIvPgo8L3N2Zz4=", Nd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktZXhjbGFtYXRpb24tb2N0YWdvbiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBkPSJNNC41NC4xNDZBLjUuNSAwIDAgMSA0Ljg5MyAwaDYuMjE0YS41LjUgMCAwIDEgLjM1My4xNDZsNC4zOTQgNC4zOTRhLjUuNSAwIDAgMSAuMTQ2LjM1M3Y2LjIxNGEuNS41IDAgMCAxLS4xNDYuMzUzbC00LjM5NCA0LjM5NGEuNS41IDAgMCAxLS4zNTMuMTQ2SDQuODkzYS41LjUgMCAwIDEtLjM1My0uMTQ2TC4xNDYgMTEuNDZBLjUuNSAwIDAgMSAwIDExLjEwN1Y0Ljg5M2EuNS41IDAgMCAxIC4xNDYtLjM1M0w0LjU0LjE0NnpNNS4xIDEgMSA1LjF2NS44TDUuMSAxNWg1LjhsNC4xLTQuMVY1LjFMMTAuOSAxSDUuMXoiLz4KICA8cGF0aCBkPSJNNy4wMDIgMTFhMSAxIDAgMSAxIDIgMCAxIDEgMCAwIDEtMiAwek03LjEgNC45OTVhLjkwNS45MDUgMCAxIDEgMS44IDBsLS4zNSAzLjUwN2EuNTUyLjU1MiAwIDAgMS0xLjEgMEw3LjEgNC45OTV6Ii8+Cjwvc3ZnPg==", Rt = "vendor", fn = "other_vendor", ot = "client_vendor_docs", ce = "non_partnered", me = "partnered", Dd = {
|
|
4665
4665
|
"check2-circle": Rd,
|
|
4666
4666
|
"exclamation-octagon": Nd
|
|
4667
4667
|
}, Be = (t) => new Intl.DateTimeFormat("en-US", {
|
|
@@ -4696,7 +4696,7 @@ const Rd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMj
|
|
|
4696
4696
|
icon: "exclamation-octagon"
|
|
4697
4697
|
});
|
|
4698
4698
|
return e.append(n), n.toast();
|
|
4699
|
-
}, Cd = (t, e, n = !1) => n ? `${t.BASE_URL}/vendor_due_diligence/get_nonpartnered_doc/${e.request_vendor_id}/${e.id}/${encodeURIComponent(e.name)}?download=1&user=${encodeURIComponent(t.user)}` : `${t.BASE_URL}/vendor_due_diligence/get_partnered_doc/${ot}/${e.vendor_account_id}/${e.id}/${encodeURIComponent(e.name)}?download=1&user=${encodeURIComponent(t.user)}`, Ld =
|
|
4699
|
+
}, Cd = (t, e, n = !1) => n ? `${t.BASE_URL}/vendor_due_diligence/get_nonpartnered_doc/${e.request_vendor_id}/${e.id}/${encodeURIComponent(e.name)}?download=1&user=${encodeURIComponent(t.user)}` : `${t.BASE_URL}/vendor_due_diligence/get_partnered_doc/${ot}/${e.vendor_account_id}/${e.id}/${encodeURIComponent(e.name)}?download=1&user=${encodeURIComponent(t.user)}`, Ld = S`.vendor-documents-wrapper h3{font-size:16px;font-weight:700;margin:5px 0}.vendor-documents-header{background:#0123300A;padding:10px 16px}#addDocument{display:flex;box-shadow:rgba(0,0,0,.12) 0 1px 5px 0;border:0;background:0 0;padding:11px;border-radius:4px;cursor:pointer;margin-left:auto}#addDocument sl-icon{margin-right:5px}.vendor-documents-table{border-collapse:collapse;border:1px solid #0123300A;width:100%}.vendor-documents-table th{text-align:left;padding:16px 24px;font-size:12px;font-weght:700;color:#0000008A}.vendor-documents-table td{font-size:14px;padding:10px 24px}.vendor-documents-table td:last-child,.vendor-documents-table th:last-child{text-align:center}.vendor-documents-table td a{color:#0051ca}.vendor-documents-table td,.vendor-documents-table th{margin:0;border-bottom:1px solid #0123300A}.document-name{cursor:pointer}.vendor-docs-spinner{display:block;margin:20px;text-align:center}.subscribedVendorsTable{width:100%;font-size:14px;color:#0069b2}.vendorsHeader{color:#012330;border-bottom:1px solid #999b9d;border-top:1px solid #999b9d;line-height:12px;font-weight:400;height:40px}table{width:100%;border-collapse:collapse}td,th{padding:8px;text-align:left}th{background-color:#fff;font-weight:400}.actions-th{text-align:center}tbody tr{border-bottom:1px solid #e3e4e5}.vdd_tier_column{font-weight:700}.vdd_ra_column{color:#333}.vdd_vendor_column{color:#012330}.vdd_chip{font-weight:700;font-size:12px;font-style:normal;color:#fff;padding:5px;border-radius:4px;line-height:13px}.vdd_chip_pending{background-color:#d37070}.vdd_chip_subscribed{background-color:#789dc2}.vdd_chip_invited{background-color:#d38e70}.vdd_chip_review{background-color:#d37070}.go_to_vendor_button{cursor:pointer;color:#0d57c5;text-decoration:underline}.remove_vendor_button{color:#0048b2;cursor:pointer;background:rgba(0,72,178,.04);text-align:center;padding:5px;border-radius:4px;font-weight:700}`;
|
|
4700
4700
|
class Pd {
|
|
4701
4701
|
/**
|
|
4702
4702
|
* @param parent
|
|
@@ -4747,13 +4747,13 @@ class Pd {
|
|
|
4747
4747
|
document.dispatchEvent(s);
|
|
4748
4748
|
}
|
|
4749
4749
|
}
|
|
4750
|
-
const kd =
|
|
4750
|
+
const kd = S`:root{--color-radial-inside:#ff2200;--color-radial-outside:#343232}#pagination{margin:20px 0;text-align:right;display:inline-block;vertical-align:middle;border-radius:.25rem}#pagination a,#pagination i{display:inline-block;vertical-align:middle;width:35px;color:#000;text-align:center;font-size:14px;font-weight:700;padding:.3rem 0 .2rem 0;user-select:none}#pagination a{margin:0 .1rem 0 .1rem;cursor:pointer;background:0 0;border:1px solid #e3e4e5;border-radius:2px}#pagination i{margin:0 .3rem 0 .3rem}#pagination a.current{border:.1rem solid #0d57c5;background:#0d57c5;color:#fff}#pagination a.chevron.disabled::before{color:#e3e4e5}.chevron::before{border-style:solid;border-width:1px 1px 0 0;content:'';display:inline-block;height:.45em;left:.1em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:top;width:.45em;margin-top:4px}.chevron.right:before{left:0;transform:rotate(45deg)}.chevron.bottom:before{top:0;transform:rotate(135deg)}.chevron.left:before{left:.1em;transform:rotate(-135deg)}#pagination a.chevron.left,#pagination a.chevron.right{margin:0}#pagination span a:first-child{margin-left:0}#pagination span a:last-child{margin-right:0}`;
|
|
4751
4751
|
var Md = Object.defineProperty, Ud = Object.getOwnPropertyDescriptor, ke = (t, e, n, s) => {
|
|
4752
4752
|
for (var r = s > 1 ? void 0 : s ? Ud(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
4753
4753
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
4754
4754
|
return s && r && Md(e, n, r), r;
|
|
4755
4755
|
};
|
|
4756
|
-
let
|
|
4756
|
+
let le = class extends E {
|
|
4757
4757
|
constructor() {
|
|
4758
4758
|
super(...arguments), this.data = [], this.startPage = 1, this.step = 1, this.itemsPerPage = 10, this.parent = "";
|
|
4759
4759
|
}
|
|
@@ -4768,28 +4768,28 @@ let ce = class extends E {
|
|
|
4768
4768
|
return u`<div id="pagination"></div>`;
|
|
4769
4769
|
}
|
|
4770
4770
|
};
|
|
4771
|
-
|
|
4771
|
+
le.styles = [kd];
|
|
4772
4772
|
ke([
|
|
4773
4773
|
l()
|
|
4774
|
-
],
|
|
4774
|
+
], le.prototype, "data", 2);
|
|
4775
4775
|
ke([
|
|
4776
4776
|
l()
|
|
4777
|
-
],
|
|
4777
|
+
], le.prototype, "startPage", 2);
|
|
4778
4778
|
ke([
|
|
4779
4779
|
l()
|
|
4780
|
-
],
|
|
4780
|
+
], le.prototype, "step", 2);
|
|
4781
4781
|
ke([
|
|
4782
4782
|
l()
|
|
4783
|
-
],
|
|
4783
|
+
], le.prototype, "itemsPerPage", 2);
|
|
4784
4784
|
ke([
|
|
4785
4785
|
l()
|
|
4786
|
-
],
|
|
4786
|
+
], le.prototype, "parent", 2);
|
|
4787
4787
|
ke([
|
|
4788
4788
|
yi("#pagination")
|
|
4789
|
-
],
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
],
|
|
4789
|
+
], le.prototype, "_pagination", 2);
|
|
4790
|
+
le = ke([
|
|
4791
|
+
w("cpm-pagination")
|
|
4792
|
+
], le);
|
|
4793
4793
|
var Vd = Object.defineProperty, Hd = Object.getOwnPropertyDescriptor, ne = (t, e, n, s) => {
|
|
4794
4794
|
for (var r = s > 1 ? void 0 : s ? Hd(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
4795
4795
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
@@ -4838,11 +4838,11 @@ let F = class extends E {
|
|
|
4838
4838
|
};
|
|
4839
4839
|
F.styles = [q, Ld];
|
|
4840
4840
|
ne([
|
|
4841
|
-
v({ context:
|
|
4841
|
+
v({ context: he }),
|
|
4842
4842
|
l()
|
|
4843
4843
|
], F.prototype, "environment", 2);
|
|
4844
4844
|
ne([
|
|
4845
|
-
v({ context:
|
|
4845
|
+
v({ context: L }),
|
|
4846
4846
|
l()
|
|
4847
4847
|
], F.prototype, "api", 2);
|
|
4848
4848
|
ne([
|
|
@@ -4870,7 +4870,7 @@ ne([
|
|
|
4870
4870
|
l()
|
|
4871
4871
|
], F.prototype, "page", 2);
|
|
4872
4872
|
F = ne([
|
|
4873
|
-
|
|
4873
|
+
w("vendor-subscribed-table")
|
|
4874
4874
|
], F);
|
|
4875
4875
|
const Fd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iIzBENTdDNSIgY2xhc3M9ImJpIGJpLXBsdXMtbGciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOCAyYS41LjUgMCAwIDEgLjUuNXY1aDVhLjUuNSAwIDAgMSAwIDFoLTV2NWEuNS41IDAgMCAxLTEgMHYtNWgtNWEuNS41IDAgMCAxIDAtMWg1di01QS41LjUgMCAwIDEgOCAyWiIvPgo8L3N2Zz4=", jd = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUgOEwxMSA0VjEyTDUgOFoiIGZpbGw9IiMwMTIzMzAiLz4KPC9zdmc+Cg==";
|
|
4876
4876
|
var Yd = Object.defineProperty, Bd = Object.getOwnPropertyDescriptor, Jt = (t, e, n, s) => {
|
|
@@ -4915,7 +4915,7 @@ Jt([
|
|
|
4915
4915
|
l()
|
|
4916
4916
|
], Ze.prototype, "user", 2);
|
|
4917
4917
|
Jt([
|
|
4918
|
-
v({ context:
|
|
4918
|
+
v({ context: L }),
|
|
4919
4919
|
l()
|
|
4920
4920
|
], Ze.prototype, "api", 2);
|
|
4921
4921
|
Jt([
|
|
@@ -4923,14 +4923,14 @@ Jt([
|
|
|
4923
4923
|
l()
|
|
4924
4924
|
], Ze.prototype, "currentPage", 2);
|
|
4925
4925
|
Ze = Jt([
|
|
4926
|
-
|
|
4926
|
+
w("vendor-header-bar")
|
|
4927
4927
|
], Ze);
|
|
4928
4928
|
var zd = Object.defineProperty, Gd = Object.getOwnPropertyDescriptor, W = (t, e, n, s) => {
|
|
4929
4929
|
for (var r = s > 1 ? void 0 : s ? Gd(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
4930
4930
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
4931
4931
|
return s && r && zd(e, n, r), r;
|
|
4932
4932
|
};
|
|
4933
|
-
let
|
|
4933
|
+
let M = class t extends E {
|
|
4934
4934
|
constructor() {
|
|
4935
4935
|
super(), this.selectedVendor = {
|
|
4936
4936
|
vendor_name: "",
|
|
@@ -4951,7 +4951,7 @@ let k = class t extends E {
|
|
|
4951
4951
|
}
|
|
4952
4952
|
connectedCallback() {
|
|
4953
4953
|
return g(this, null, function* () {
|
|
4954
|
-
|
|
4954
|
+
Ae(t.prototype, this, "connectedCallback").call(this);
|
|
4955
4955
|
});
|
|
4956
4956
|
}
|
|
4957
4957
|
handleChange(e) {
|
|
@@ -5047,11 +5047,11 @@ let k = class t extends E {
|
|
|
5047
5047
|
}
|
|
5048
5048
|
getVendorNdaDownloadURL(e) {
|
|
5049
5049
|
if (e)
|
|
5050
|
-
return `${this.api.BASE_URL}/vendor_due_diligence/get_vendor_files/${this.selectedVendor.vendor_account_id}/nda/${encodeURIComponent(e)}?user=${this.api.user}`;
|
|
5050
|
+
return `${this.api.BASE_URL}/vendor_due_diligence/get_vendor_files/${this.selectedVendor.vendor_account_id}/nda/${encodeURIComponent(e)}?download=1&user=${this.api.user}`;
|
|
5051
5051
|
}
|
|
5052
5052
|
getVendorInfoDocDownloadURL(e) {
|
|
5053
5053
|
if (e)
|
|
5054
|
-
return `${this.api.BASE_URL}/vendor_due_diligence/get_vendor_files/${this.selectedVendor.vendor_account_id}/public_info_docs/${encodeURIComponent(e)}?user=${this.api.user}`;
|
|
5054
|
+
return `${this.api.BASE_URL}/vendor_due_diligence/get_vendor_files/${this.selectedVendor.vendor_account_id}/public_info_docs/${encodeURIComponent(e)}?download=1&user=${this.api.user}`;
|
|
5055
5055
|
}
|
|
5056
5056
|
closePopup(e) {
|
|
5057
5057
|
e.preventDefault(), this.resetSelectedVendor(), this.confirmationMessage = "";
|
|
@@ -5062,55 +5062,55 @@ let k = class t extends E {
|
|
|
5062
5062
|
this.dispatchEvent(new CustomEvent("close-add-vendor-dialog", n));
|
|
5063
5063
|
}
|
|
5064
5064
|
render() {
|
|
5065
|
-
return u`<div class="add_vendor_popup">${this.confirmationMessage ? u`<div class="confirmation_message"><
|
|
5065
|
+
return u`<div class="add_vendor_popup">${this.confirmationMessage ? u`<div class="confirmation_message"><p id="confirmationMsg">${this.confirmationMessage}</p><div class="actions-wrapper"><button class="button--primary no-margin" @click="${this.closePopup}">OK</button></div></div>` : u`<h2>ADD VENDOR</h2>${this.isLoadingMRCVendors ? u`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 ? u`<div class="vendor_select_cont"><select class="form-control" @change="${this.handleChange}"><option value="" disabled="disabled" selected="selected" hidden>Select an option</option>${this.mrcVendors.map(
|
|
5066
5066
|
(e) => u`<option value="${e.vendor_name}">${e.vendor_name}</option>`
|
|
5067
|
-
)}</select></div>` : u`<div>Currently there are no vendors.</div>`} ${this.isLoadingMRCVendors ? u`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "partnered" ? u`<div class="add_vendor_content"><form style="width:100%" @submit="${this.handlePartneredSubmit}"><div class="vdd_partnered_desc">${this.selectedVendor.description}</div>${this.selectedVendor.info_docs.length > 0 ? u`<div class="spr_label">Information Documents:</div>` : ""} ${this.selectedVendor.info_docs.length > 0 ? this.selectedVendor.info_docs.map((e) => u`<div class="info_doc_links"><a href="${this.getVendorInfoDocDownloadURL(this.selectedVendor.info_docs[0].file_name)}" target="_blank" class="vendor_info_doc">${e.file_name}</a></div>`) : ""}<div class="request_note_cont"><textarea class="request_note vdd_textarea" placeholder="Please describe the nature of your request. If a TAMP service is utilized, please add the name of the provider." .value=""></textarea></div><div>Are you under NDA or client contract with this vendor?</div><div style="margin:5px 0 0 -5px"><input type="radio" name="nda_contract_radio" value="1" @change="${this.handleNDA}" ?checked="${this.isUnderNDA}"> Yes <input type="radio" name="nda_contract_radio" value="0" @change="${this.handleNDA}" ?checked="${!this.isUnderNDA}"> No</div><div id="nda_contract_yes_wrapper" ?hidden="${!this.isUnderNDA}"><label class="upload-nda-label">If Yes, please upload NDA or Client Contract, if available.</label><div class="vdd_ovd_ad_upload_outer_wrapper"><div class="file-container nda-file is-info has-name"><div class="button-wrap"><label class="button--default" for="upload">SELECT FILES...</label> <input class="nda-file-label" id="upload" type="file" name="nda_contract_file[]"></div></div></div></div><div id="nda_contract_no_wrapper" ?hidden="${this.isUnderNDA}"><div class="no_nda_text">If No, please download their Vendor NDA below (if available), then sign and upload NDA with this request. If you choose not to sign an NDA, then the vendor may only make publicly available documents accessible to you.</div><div class="nda-document-container">${this.selectedVendor.nda_url ? u`<div class="spr_vendor_nda_url_item" ?hidden="${!this.selectedVendor.nda_url}"><a href="${this.getVendorNdaDownloadURL(this.selectedVendor.nda_url.filename)}" class="download_nda_link" style="color:#333;text-decoration:underline" title="Download this vendor's provided NDA"><i>Download Vendor NDA</i></a></div>` : u`<div class="spr_vendor_nda_url_item" ?hidden="${this.selectedVendor.nda_url}"><span class="font_grey_medium"><i>NDA for this vendor is not available.</i></span></div>`}<div class="spr_vendor_upload_file"><label class="upload-nda-label">Upload Signed NDA</label><div class="file-container nda-file is-info has-name"><label class="no-nda-file-label"><input class="nda-file-input" type="file" name="nda_contract_file[]"></label></div></div></div></div><div class="actions-wrapper"><button class="button--clear" @click="${this.closePopup}">Cancel</button> <button class="button--primary" type="submit" .disabled="${this.isLoading}">${this.isLoading ? u`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Add Vendor"}</button></div></form></div>` : u`<div></div>`} ${this.isLoadingMRCVendors ? u`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "non_partnered" ? u`<div class="add_vendor_content"><form @submit="${this.handleNonPartneredSubmit}"><div class="vdd_other_content"><br><div class="other_vendor_notice"><p>The selected vendor is not participating on the platform. Please use the fields below to manually add the vendor to your profile.</p></div><br><textarea name="description" class="vdd_textarea other_description" required maxlength="1000" placeholder="Please provide a brief description of the services provided through this vendor (maximum of 1000 characters)"></textarea><div class="documents-wrapper"><h4>Documents</h4><p>Add Associated Documents (i.e. client contract - Limit of total files with a maximum size of 20MB per file)</p><div class="vdd_ovd_ad_upload_outer_wrapper"><div><div class="upload_file_remove_button_wrapper"></div><div class="file-container-other other-popup-file-container nda-file is-info has-name"><div class="button-wrap"><label class="button--default" for="other-upload">SELECT FILES...</label> <input class="nda-file-label" id="other-upload" type="file" name="associated_document_files[]"></div></div></div></div></div></div><div class="vdd_invite_content"><div class="send_invite_header"><h4>Invitation</h4><p>Send an email to the vendor to join the MyRIACompliance Platform</p></div><input type="email" placeholder="Email Address" id="recipient_email" name="recipient_email" style="width:372px"> <input type="text" placeholder="Contact Name *Optional" id="invite_vendor_contact" name="invite_contact_name" style="width:372px"></div><div class="actions-wrapper"><button class="button--clear" @click="${this.closePopup}">Cancel</button> <button class="button--primary" type="submit" .disabled="${this.isLoading}">${this.isLoading ? u`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Add Vendor"}</button></div></form></div>` : u`<div></div>`} ${this.isLoadingMRCVendors ? u`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "unknown" ? u`<div class="add_vendor_content"><form @submit="${this.handleUnkownSubmit}"><div class="vdd_email_info"><div style="width:100%"><input type="text" placeholder="Vendor Name" required id="invite_vendor_name" name="invite_vendor_name"></div><div><textarea name="vendor_request_description" required placeholder="Please provide a brief description of the services provided through this vendor. Once the vendor has been added to the list of choices, you can upload your documents to the vendor profile. (maximum of 1000 characters)" maxlength="1000" class="vdd_textarea"></textarea></div></div><div class="vdd_invite_content"><div class="send_invite_header"><h4>Invitation</h4><p>Send an email to the vendor to join the MyRIACompliance Platform</p></div><input type="email" placeholder="Email Address" id="recipient_email" name="recipient_email"> <input type="text" placeholder="Contact Name *Optional" id="invite_vendor_contact" name="invite_vendor_contact"></div><div class="actions-wrapper"><button class="button--clear" @click="${this.closePopup}">Cancel</button> <button class="button--primary" type="submit" .disabled="${this.isLoading}">${this.isLoading ? u`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Request Vendor"}</button></div></form></div>` : u`<div></div>`}`}</div>`;
|
|
5067
|
+
)}</select></div>` : u`<div>Currently there are no vendors.</div>`} ${this.isLoadingMRCVendors ? u`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "partnered" ? u`<div class="add_vendor_content"><form style="width:100%" @submit="${this.handlePartneredSubmit}"><div class="vdd_partnered_desc">${this.selectedVendor.description}</div>${this.selectedVendor.info_docs.length > 0 ? u`<div class="spr_label">Information Documents:</div>` : ""} ${this.selectedVendor.info_docs.length > 0 ? this.selectedVendor.info_docs.map((e) => u`<div class="info_doc_links"><a href="${this.getVendorInfoDocDownloadURL(this.selectedVendor.info_docs[0].file_name)}" target="_blank" class="vendor_info_doc">${e.file_name}</a></div>`) : ""}<div class="request_note_cont"><textarea class="request_note vdd_textarea" placeholder="Please describe the nature of your request. If a TAMP service is utilized, please add the name of the provider." .value=""></textarea></div><div>Are you under NDA or client contract with this vendor?</div><div style="margin:5px 0 0 -5px"><input type="radio" name="nda_contract_radio" value="1" @change="${this.handleNDA}" ?checked="${this.isUnderNDA}"> Yes <input type="radio" name="nda_contract_radio" value="0" @change="${this.handleNDA}" ?checked="${!this.isUnderNDA}"> No</div><div id="nda_contract_yes_wrapper" ?hidden="${!this.isUnderNDA}"><label class="upload-nda-label">If Yes, please upload NDA or Client Contract, if available.</label><div class="vdd_ovd_ad_upload_outer_wrapper"><div class="file-container nda-file is-info has-name"><div class="button-wrap"><label class="button--default" for="upload">SELECT FILES...</label> <input class="nda-file-label" id="upload" type="file" name="nda_contract_file[]"></div></div></div></div><div id="nda_contract_no_wrapper" ?hidden="${this.isUnderNDA}"><div class="no_nda_text">If No, please download their Vendor NDA below (if available), then sign and upload NDA with this request. If you choose not to sign an NDA, then the vendor may only make publicly available documents accessible to you.</div><div class="nda-document-container">${this.selectedVendor.nda_url ? u`<div class="spr_vendor_nda_url_item" ?hidden="${!this.selectedVendor.nda_url}"><a href="${this.getVendorNdaDownloadURL(this.selectedVendor.nda_url.filename)}" class="download_nda_link" style="color:#333;text-decoration:underline" title="Download this vendor's provided NDA"><i>Download Vendor NDA</i></a></div>` : u`<div class="spr_vendor_nda_url_item" ?hidden="${this.selectedVendor.nda_url}"><span class="font_grey_medium"><i>NDA for this vendor is not available.</i></span></div>`}<div class="spr_vendor_upload_file"><label class="upload-nda-label">Upload Signed NDA</label><div class="file-container nda-file is-info has-name"><label class="no-nda-file-label"><input class="nda-file-input" type="file" name="nda_contract_file[]"></label></div></div></div></div><div class="actions-wrapper"><button class="button--clear" @click="${this.closePopup}">Cancel</button> <button class="button--primary no-margin" type="submit" .disabled="${this.isLoading}">${this.isLoading ? u`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Add Vendor"}</button></div></form></div>` : u`<div></div>`} ${this.isLoadingMRCVendors ? u`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "non_partnered" ? u`<div class="add_vendor_content"><form @submit="${this.handleNonPartneredSubmit}"><div class="vdd_other_content"><br><div class="other_vendor_notice"><p>The selected vendor is not participating on the platform. Please use the fields below to manually add the vendor to your profile.</p></div><br><textarea name="description" class="vdd_textarea other_description" required maxlength="1000" placeholder="Please provide a brief description of the services provided through this vendor (maximum of 1000 characters)"></textarea><div class="documents-wrapper"><h4>Documents</h4><p>Add Associated Documents (i.e. client contract - Limit of total files with a maximum size of 20MB per file)</p><div class="vdd_ovd_ad_upload_outer_wrapper"><div><div class="upload_file_remove_button_wrapper"></div><div class="file-container-other other-popup-file-container nda-file is-info has-name"><div class="button-wrap"><label class="button--default" for="other-upload">SELECT FILES...</label> <input class="nda-file-label" id="other-upload" type="file" name="associated_document_files[]"></div></div></div></div></div></div><div class="vdd_invite_content"><div class="send_invite_header"><h4>Invitation</h4><p>Send an email to the vendor to join the MyRIACompliance Platform</p></div><input type="email" placeholder="Email Address" id="recipient_email" name="recipient_email" style="width:372px"> <input type="text" placeholder="Contact Name *Optional" id="invite_vendor_contact" name="invite_contact_name" style="width:372px"></div><div class="actions-wrapper"><button class="button--clear" @click="${this.closePopup}">Cancel</button> <button class="button--primary no-margin" type="submit" .disabled="${this.isLoading}">${this.isLoading ? u`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Add Vendor"}</button></div></form></div>` : u`<div></div>`} ${this.isLoadingMRCVendors ? u`<div><page-spinner class="vendor-docs-spinner"></page-spinner></div>` : this.mrcVendors.length > 0 && this.selectedVendor.vendor_type === "unknown" ? u`<div class="add_vendor_content"><form @submit="${this.handleUnkownSubmit}"><div class="vdd_email_info"><div style="width:100%"><input type="text" placeholder="Vendor Name" required id="invite_vendor_name" name="invite_vendor_name"></div><div><textarea name="vendor_request_description" required placeholder="Please provide a brief description of the services provided through this vendor. Once the vendor has been added to the list of choices, you can upload your documents to the vendor profile. (maximum of 1000 characters)" maxlength="1000" class="vdd_textarea"></textarea></div></div><div class="vdd_invite_content"><div class="send_invite_header"><h4>Invitation</h4><p>Send an email to the vendor to join the MyRIACompliance Platform</p></div><input type="email" placeholder="Email Address" id="recipient_email" name="recipient_email"> <input type="text" placeholder="Contact Name *Optional" id="invite_vendor_contact" name="invite_vendor_contact"></div><div class="actions-wrapper"><button class="button--clear" @click="${this.closePopup}">Cancel</button> <button class="button--primary no-margin" type="submit" .disabled="${this.isLoading}">${this.isLoading ? u`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Request Vendor"}</button></div></form></div>` : u`<div></div>`}`}</div>`;
|
|
5068
5068
|
}
|
|
5069
5069
|
};
|
|
5070
|
-
|
|
5070
|
+
M.styles = [q, C, S`#confirmationMsg{font-size:16px}`];
|
|
5071
5071
|
W([
|
|
5072
|
-
v({ context:
|
|
5072
|
+
v({ context: L }),
|
|
5073
5073
|
l()
|
|
5074
|
-
],
|
|
5074
|
+
], M.prototype, "api", 2);
|
|
5075
5075
|
W([
|
|
5076
|
-
v({ context:
|
|
5076
|
+
v({ context: he }),
|
|
5077
5077
|
l()
|
|
5078
|
-
],
|
|
5078
|
+
], M.prototype, "environment", 2);
|
|
5079
5079
|
W([
|
|
5080
5080
|
v({ context: Ur, subscribe: !0 }),
|
|
5081
5081
|
l({ attribute: !1 })
|
|
5082
|
-
],
|
|
5082
|
+
], M.prototype, "isLoadingMRCVendors", 2);
|
|
5083
5083
|
W([
|
|
5084
5084
|
v({ context: Fr, subscribe: !0 }),
|
|
5085
5085
|
l()
|
|
5086
|
-
],
|
|
5086
|
+
], M.prototype, "mrcVendors", 2);
|
|
5087
5087
|
W([
|
|
5088
5088
|
l()
|
|
5089
|
-
],
|
|
5089
|
+
], M.prototype, "selectedVendor", 2);
|
|
5090
5090
|
W([
|
|
5091
5091
|
l()
|
|
5092
|
-
],
|
|
5092
|
+
], M.prototype, "mrcUserVendors", 2);
|
|
5093
5093
|
W([
|
|
5094
5094
|
l()
|
|
5095
|
-
],
|
|
5095
|
+
], M.prototype, "isUnderNDA", 2);
|
|
5096
5096
|
W([
|
|
5097
5097
|
l()
|
|
5098
|
-
],
|
|
5098
|
+
], M.prototype, "isLoading", 2);
|
|
5099
5099
|
W([
|
|
5100
5100
|
l()
|
|
5101
|
-
],
|
|
5101
|
+
], M.prototype, "confirmationMessage", 2);
|
|
5102
5102
|
W([
|
|
5103
5103
|
l()
|
|
5104
|
-
],
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
],
|
|
5104
|
+
], M.prototype, "addVendorPostData", 2);
|
|
5105
|
+
M = W([
|
|
5106
|
+
w("add-document-dialog")
|
|
5107
|
+
], M);
|
|
5108
5108
|
var qd = Object.defineProperty, Wd = Object.getOwnPropertyDescriptor, Me = (t, e, n, s) => {
|
|
5109
5109
|
for (var r = s > 1 ? void 0 : s ? Wd(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
5110
5110
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
5111
5111
|
return s && r && qd(e, n, r), r;
|
|
5112
5112
|
};
|
|
5113
|
-
let
|
|
5113
|
+
let ue = class extends E {
|
|
5114
5114
|
constructor() {
|
|
5115
5115
|
super(...arguments), this.vendor_account_id = "", this.request_vendor_id = "";
|
|
5116
5116
|
}
|
|
@@ -5149,31 +5149,31 @@ let le = class extends E {
|
|
|
5149
5149
|
return u`<div><div class="confirmation_cont"><div>Are you sure you want to remove ${this.removeVendorDetails.vendor_name} from your vendors?</div><button @click="${() => this.removeVendor()}">Yes</button></div></div>`;
|
|
5150
5150
|
}
|
|
5151
5151
|
};
|
|
5152
|
-
|
|
5152
|
+
ue.styles = [q, C];
|
|
5153
5153
|
Me([
|
|
5154
|
-
v({ context:
|
|
5154
|
+
v({ context: L }),
|
|
5155
5155
|
l()
|
|
5156
|
-
],
|
|
5156
|
+
], ue.prototype, "api", 2);
|
|
5157
5157
|
Me([
|
|
5158
|
-
v({ context:
|
|
5158
|
+
v({ context: he }),
|
|
5159
5159
|
l()
|
|
5160
|
-
],
|
|
5160
|
+
], ue.prototype, "environment", 2);
|
|
5161
5161
|
Me([
|
|
5162
5162
|
l()
|
|
5163
|
-
],
|
|
5163
|
+
], ue.prototype, "vendor_account_id", 2);
|
|
5164
5164
|
Me([
|
|
5165
5165
|
l()
|
|
5166
|
-
],
|
|
5166
|
+
], ue.prototype, "request_vendor_id", 2);
|
|
5167
5167
|
Me([
|
|
5168
5168
|
v({ context: jr, subscribe: !0 }),
|
|
5169
5169
|
l()
|
|
5170
|
-
],
|
|
5170
|
+
], ue.prototype, "removeVendorDetails", 2);
|
|
5171
5171
|
Me([
|
|
5172
5172
|
R(".confirmation_cont")
|
|
5173
|
-
],
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
],
|
|
5173
|
+
], ue.prototype, "confirmationCont", 2);
|
|
5174
|
+
ue = Me([
|
|
5175
|
+
w("remove-vendor-dialog")
|
|
5176
|
+
], ue);
|
|
5177
5177
|
var Zd = Object.defineProperty, Kd = Object.getOwnPropertyDescriptor, yt = (t, e, n, s) => {
|
|
5178
5178
|
for (var r = s > 1 ? void 0 : s ? Kd(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
5179
5179
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
@@ -5210,7 +5210,7 @@ let Pe = class extends E {
|
|
|
5210
5210
|
});
|
|
5211
5211
|
}
|
|
5212
5212
|
render() {
|
|
5213
|
-
return this.error ? u`<div>Error loading content</div>` : u`<div><div class="vdd_subtitle_container"><div>Vendor List</div></div><vendor-header-bar></vendor-header-bar><vendor-subscribed-table></vendor-subscribed-table><cpm-modal id="removeVendorDialog" width="552px" height="
|
|
5213
|
+
return this.error ? u`<div>Error loading content</div>` : u`<div><div class="vdd_subtitle_container"><div>Vendor List</div></div><vendor-header-bar></vendor-header-bar><vendor-subscribed-table></vendor-subscribed-table><cpm-modal id="removeVendorDialog" width="552px" height="100%"><remove-vendor-popup slot="content"></remove-vendor-popup></cpm-modal><cpm-modal id="addVendorDialog" width="552px" height="100%"><add-document-dialog slot="content"></add-document-dialog></cpm-modal></div>`;
|
|
5214
5214
|
}
|
|
5215
5215
|
};
|
|
5216
5216
|
Pe.styles = [C, q];
|
|
@@ -5218,7 +5218,7 @@ yt([
|
|
|
5218
5218
|
l()
|
|
5219
5219
|
], Pe.prototype, "error", 2);
|
|
5220
5220
|
yt([
|
|
5221
|
-
|
|
5221
|
+
Y({ context: jr }),
|
|
5222
5222
|
l()
|
|
5223
5223
|
], Pe.prototype, "removeVendorDetails", 2);
|
|
5224
5224
|
yt([
|
|
@@ -5228,9 +5228,9 @@ yt([
|
|
|
5228
5228
|
R("#addVendorDialog")
|
|
5229
5229
|
], Pe.prototype, "_addVendorDialog", 2);
|
|
5230
5230
|
Pe = yt([
|
|
5231
|
-
|
|
5231
|
+
w("vendors-page")
|
|
5232
5232
|
], Pe);
|
|
5233
|
-
const Jd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktcGx1cy1jaXJjbGUiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTggMTVBNyA3IDAgMSAxIDggMWE3IDcgMCAwIDEgMCAxNHptMCAxQTggOCAwIDEgMCA4IDBhOCA4IDAgMCAwIDAgMTZ6Ii8+CiAgPHBhdGggZD0iTTggNGEuNS41IDAgMCAxIC41LjV2M2gzYS41LjUgMCAwIDEgMCAxaC0zdjNhLjUuNSAwIDAgMS0xIDB2LTNoLTNhLjUuNSAwIDAgMSAwLTFoM3YtM0EuNS41IDAgMCAxIDggNHoiLz4KPC9zdmc+", gn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1Ljc1IDExLjI1VjE0LjI1QzE1Ljc1IDE0LjY0NzggMTUuNTkyIDE1LjAyOTQgMTUuMzEwNyAxNS4zMTA3QzE1LjAyOTQgMTUuNTkyIDE0LjY0NzggMTUuNzUgMTQuMjUgMTUuNzVIMy43NUMzLjM1MjE4IDE1Ljc1IDIuOTcwNjQgMTUuNTkyIDIuNjg5MzQgMTUuMzEwN0MyLjQwODA0IDE1LjAyOTQgMi4yNSAxNC42NDc4IDIuMjUgMTQuMjVWMTEuMjUiIHN0cm9rZT0iIzBENTdDNSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTUuMjUgNy41TDkgMTEuMjVMMTIuNzUgNy41IiBzdHJva2U9IiMwRDU3QzUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik05IDExLjI1VjIuMjUiIHN0cm9rZT0iIzBENTdDNSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==", Xd =
|
|
5233
|
+
const Jd = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktcGx1cy1jaXJjbGUiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTggMTVBNyA3IDAgMSAxIDggMWE3IDcgMCAwIDEgMCAxNHptMCAxQTggOCAwIDEgMCA4IDBhOCA4IDAgMCAwIDAgMTZ6Ii8+CiAgPHBhdGggZD0iTTggNGEuNS41IDAgMCAxIC41LjV2M2gzYS41LjUgMCAwIDEgMCAxaC0zdjNhLjUuNSAwIDAgMS0xIDB2LTNoLTNhLjUuNSAwIDAgMSAwLTFoM3YtM0EuNS41IDAgMCAxIDggNHoiLz4KPC9zdmc+", gn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1Ljc1IDExLjI1VjE0LjI1QzE1Ljc1IDE0LjY0NzggMTUuNTkyIDE1LjAyOTQgMTUuMzEwNyAxNS4zMTA3QzE1LjAyOTQgMTUuNTkyIDE0LjY0NzggMTUuNzUgMTQuMjUgMTUuNzVIMy43NUMzLjM1MjE4IDE1Ljc1IDIuOTcwNjQgMTUuNTkyIDIuNjg5MzQgMTUuMzEwN0MyLjQwODA0IDE1LjAyOTQgMi4yNSAxNC42NDc4IDIuMjUgMTQuMjVWMTEuMjUiIHN0cm9rZT0iIzBENTdDNSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTUuMjUgNy41TDkgMTEuMjVMMTIuNzUgNy41IiBzdHJva2U9IiMwRDU3QzUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik05IDExLjI1VjIuMjUiIHN0cm9rZT0iIzBENTdDNSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==", Xd = S`.vendor-documents-wrapper h3{font-size:16px;font-weight:700;margin:5px 0}.vendor-documents-header{background:#0123300A;padding:10px 16px}#addDocument{display:flex;box-shadow:rgba(0,0,0,.12) 0 1px 5px 0;border:0;background:0 0;padding:11px;border-radius:4px;cursor:pointer;margin-left:auto}#addDocument sl-icon{margin-right:5px}.vendor-documents-table{border-collapse:collapse;border:1px solid #0123300A;width:100%}.vendor-documents-table th{text-align:left;padding:16px 24px;font-size:12px;font-weght:700;color:#0000008A}.vendor-documents-table td{font-size:14px;padding:10px 24px}.vendor-documents-table td:last-child,.vendor-documents-table th:last-child{text-align:center}.vendor-documents-table td a{color:#0051ca}.vendor-documents-table td,.vendor-documents-table th{margin:0;border-bottom:1px solid #0123300A}.document-name{cursor:pointer}.vendor-docs-spinner{display:block;margin:20px;text-align:center}.download-icon{width:18px;height:18px}`;
|
|
5234
5234
|
function Qd(t) {
|
|
5235
5235
|
return ec(t);
|
|
5236
5236
|
}
|
|
@@ -5351,7 +5351,7 @@ function Ks(t) {
|
|
|
5351
5351
|
function Js(t) {
|
|
5352
5352
|
Mn.delete(t), Mn.size === 0 && (document.body.classList.remove("sl-scroll-lock"), document.body.style.removeProperty("--sl-scroll-lock-size"));
|
|
5353
5353
|
}
|
|
5354
|
-
var rc =
|
|
5354
|
+
var rc = S`${Zt}:host{--width:31rem;--header-spacing:var(--sl-spacing-large);--body-spacing:var(--sl-spacing-large);--footer-spacing:var(--sl-spacing-large);display:contents}.dialog{display:flex;align-items:center;justify-content:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--sl-z-index-dialog)}.dialog__panel{display:flex;flex-direction:column;z-index:2;width:var(--width);max-width:calc(100% - var(--sl-spacing-2x-large));max-height:calc(100% - var(--sl-spacing-2x-large));background-color:var(--sl-panel-background-color);border-radius:var(--sl-border-radius-medium);box-shadow:var(--sl-shadow-x-large)}.dialog__panel:focus{outline:0}@media screen and (max-width:420px){.dialog__panel{max-height:80vh}}.dialog--open .dialog__panel{display:flex;opacity:1}.dialog__header{flex:0 0 auto;display:flex}.dialog__title{flex:1 1 auto;font:inherit;font-size:var(--sl-font-size-large);line-height:var(--sl-line-height-dense);padding:var(--header-spacing);margin:0}.dialog__header-actions{flex-shrink:0;display:flex;flex-wrap:wrap;justify-content:end;gap:var(--sl-spacing-2x-small);padding:0 var(--header-spacing)}.dialog__header-actions ::slotted(sl-icon-button),.dialog__header-actions sl-icon-button{flex:0 0 auto;display:flex;align-items:center;font-size:var(--sl-font-size-medium)}.dialog__body{flex:1 1 auto;display:block;padding:var(--body-spacing);overflow:auto;-webkit-overflow-scrolling:touch}.dialog__footer{flex:0 0 auto;text-align:right;padding:var(--footer-spacing)}.dialog__footer ::slotted(sl-button:not(:first-of-type)){margin-inline-start:var(--sl-spacing-x-small)}.dialog:not(.dialog--has-footer) .dialog__footer{display:none}.dialog__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--sl-overlay-background-color)}@media (forced-colors:active){.dialog__panel{border:solid 1px var(--sl-color-neutral-0)}}`, ic = S`${Zt}:host{display:inline-block;color:var(--sl-color-neutral-600)}.icon-button{flex:0 0 auto;display:flex;align-items:center;background:0 0;border:none;border-radius:var(--sl-border-radius-medium);font-size:inherit;color:inherit;padding:var(--sl-spacing-x-small);cursor:pointer;transition:var(--sl-transition-x-fast) color;-webkit-appearance:none}.icon-button:focus-visible:not(.icon-button--disabled),.icon-button:hover:not(.icon-button--disabled){color:var(--sl-color-primary-600)}.icon-button:active:not(.icon-button--disabled){color:var(--sl-color-primary-700)}.icon-button:focus{outline:0}.icon-button--disabled{opacity:.5;cursor:not-allowed}.icon-button:focus-visible{outline:var(--sl-focus-ring);outline-offset:var(--sl-focus-ring-offset)}.icon-button__icon{pointer-events:none}`;
|
|
5355
5355
|
/**
|
|
5356
5356
|
* @license
|
|
5357
5357
|
* Copyright 2017 Google LLC
|
|
@@ -5441,8 +5441,8 @@ const zr = Symbol.for(""), cc = (t) => {
|
|
|
5441
5441
|
* Copyright 2018 Google LLC
|
|
5442
5442
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5443
5443
|
*/
|
|
5444
|
-
const V = (t) => t != null ? t :
|
|
5445
|
-
var
|
|
5444
|
+
const V = (t) => t != null ? t : A;
|
|
5445
|
+
var P = class extends be {
|
|
5446
5446
|
constructor() {
|
|
5447
5447
|
super(...arguments), this.hasFocus = !1, this.label = "", this.disabled = !1;
|
|
5448
5448
|
}
|
|
@@ -5502,38 +5502,38 @@ var L = class extends be {
|
|
|
5502
5502
|
`;
|
|
5503
5503
|
}
|
|
5504
5504
|
};
|
|
5505
|
-
|
|
5506
|
-
|
|
5505
|
+
P.styles = ic;
|
|
5506
|
+
P.dependencies = { "sl-icon": te };
|
|
5507
5507
|
_([
|
|
5508
5508
|
R(".icon-button")
|
|
5509
|
-
],
|
|
5509
|
+
], P.prototype, "button", 2);
|
|
5510
5510
|
_([
|
|
5511
5511
|
ar()
|
|
5512
|
-
],
|
|
5512
|
+
], P.prototype, "hasFocus", 2);
|
|
5513
5513
|
_([
|
|
5514
5514
|
l()
|
|
5515
|
-
],
|
|
5515
|
+
], P.prototype, "name", 2);
|
|
5516
5516
|
_([
|
|
5517
5517
|
l()
|
|
5518
|
-
],
|
|
5518
|
+
], P.prototype, "library", 2);
|
|
5519
5519
|
_([
|
|
5520
5520
|
l()
|
|
5521
|
-
],
|
|
5521
|
+
], P.prototype, "src", 2);
|
|
5522
5522
|
_([
|
|
5523
5523
|
l()
|
|
5524
|
-
],
|
|
5524
|
+
], P.prototype, "href", 2);
|
|
5525
5525
|
_([
|
|
5526
5526
|
l()
|
|
5527
|
-
],
|
|
5527
|
+
], P.prototype, "target", 2);
|
|
5528
5528
|
_([
|
|
5529
5529
|
l()
|
|
5530
|
-
],
|
|
5530
|
+
], P.prototype, "download", 2);
|
|
5531
5531
|
_([
|
|
5532
5532
|
l()
|
|
5533
|
-
],
|
|
5533
|
+
], P.prototype, "label", 2);
|
|
5534
5534
|
_([
|
|
5535
5535
|
l({ type: Boolean, reflect: !0 })
|
|
5536
|
-
],
|
|
5536
|
+
], P.prototype, "disabled", 2);
|
|
5537
5537
|
var Gr = /* @__PURE__ */ new Map(), hc = /* @__PURE__ */ new WeakMap();
|
|
5538
5538
|
function pc(t) {
|
|
5539
5539
|
return t != null ? t : { keyframes: [], options: { duration: 0 } };
|
|
@@ -5768,7 +5768,7 @@ var Kr = class extends vc {
|
|
|
5768
5768
|
};
|
|
5769
5769
|
se.styles = rc;
|
|
5770
5770
|
se.dependencies = {
|
|
5771
|
-
"sl-icon-button":
|
|
5771
|
+
"sl-icon-button": P
|
|
5772
5772
|
};
|
|
5773
5773
|
_([
|
|
5774
5774
|
R(".dialog")
|
|
@@ -5866,7 +5866,7 @@ let ht = class extends E {
|
|
|
5866
5866
|
};
|
|
5867
5867
|
ht.styles = [
|
|
5868
5868
|
C,
|
|
5869
|
-
|
|
5869
|
+
S`.dialog::part(body){position:relative}.dialog::part(body){position:relative!important}`
|
|
5870
5870
|
];
|
|
5871
5871
|
Jn([
|
|
5872
5872
|
l()
|
|
@@ -5875,15 +5875,15 @@ Jn([
|
|
|
5875
5875
|
l()
|
|
5876
5876
|
], ht.prototype, "height", 2);
|
|
5877
5877
|
ht = Jn([
|
|
5878
|
-
|
|
5878
|
+
w("cpm-modal")
|
|
5879
5879
|
], ht);
|
|
5880
|
-
const
|
|
5881
|
-
var
|
|
5880
|
+
const wc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANLSURBVHgBzZnNchJBEMe7JznLbgipysFU8gKG+ALBu6Xxpp70pJ5iLuotcPDzEnwCyRNELe+uL2ARX0AKD1YJuKTMLTBj97BLbch+7wb4VS0DOzPLn56v7gYhJR3brggQm0qqCiKUFYABo4vp09UCBS0F6hgEWCXTtCAFmKSxbduGBLGrlHrqERML+gEtVGgtCFkzTbMVt18sgY6wfUdYdhQ24gqNFNizT9hiVUhosSi0RVFUl80rh2HtMELcQW5WCxKgsF4sFvYC6/1u8pAOFR7R2wpMh+YCqhs05P3JCuHXeqDwK0xPHFN2DHKBCwJ5WMmsZZg+lV7v5GDy5rkh/tO1HwiBH2CGSKX2Vopm3f08Fkjzbp2Hlm6sw2zp03zccOfjeIjPhlDNKm6rfE1fGTGkFPvuB21Bth5N0p+QkeWl0VbZ/duHrJAVTbaitiBbD+aMgQS9/2qBKHAb5gxE3OVSsFcyBwvDD6PTYY9JTnVDToQSUBYIuAlzCvmZZEFMN7zultJutwPbcF2WrYfEbfIiWYcU8P70iwTcvnXTV2TbqeM2ibxiD+yls8BUft7Hz19gbW3NV6RXHLfhtikxkDZVBSlhITuOuKuOWMZ974rjMi0s0IYM3rJXpJc8xBF9WsUQ61wKmux+QsLEJVw0Lez2+kc0i3eiWkads64lmTDLJTmvKWT9tChBfaPlHCkwChb0vfkDckVBU6CEJswrEixRKumIP7t/lDMclrI27c1QaPk+qkOhUNBl2MkRhdvXfVYY5M1YXC7qFwH1oYL9sA6PHj+Bd2/fwPXsHjPcvXc/ss0ZyBqX2oLsuUZZ8dnzF1pknF8fBPfl57x89Tq8IWJj1UmLeIMmw3H7c01xJIXn3oCCeFfgOGhiK1LIV4MZw/maVU9S6VzgzvFonAVzWfB3TyaTfD0h2uWnnfrgoW2Wloytyfu+uRkK+e5QMc0N3DqleedXEepLdnp23Y2uLgse1lLRDEzxibDO3FFK9ZBXFuQPL8q9MHFMqEBmZdls8LKnhx1CTrDV/lH+xZskCiJRuPCbUiQLknI4iNspYml9GJzSqbXhk6jMRaAXDqrJ/hUdto4iQ77Gf0OgFgRNylpYciCPHackMf8BSLd3MTlxOZYAAAAASUVORK5CYII=";
|
|
5881
|
+
var Ac = Object.defineProperty, Tc = Object.getOwnPropertyDescriptor, re = (t, e, n, s) => {
|
|
5882
5882
|
for (var r = s > 1 ? void 0 : s ? Tc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
5883
5883
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
5884
|
-
return s && r &&
|
|
5884
|
+
return s && r && Ac(e, n, r), r;
|
|
5885
5885
|
};
|
|
5886
|
-
let
|
|
5886
|
+
let j = class extends E {
|
|
5887
5887
|
constructor() {
|
|
5888
5888
|
super(...arguments), this.isLoading = !1;
|
|
5889
5889
|
}
|
|
@@ -5892,11 +5892,23 @@ let z = class extends E {
|
|
|
5892
5892
|
* This was the only way to update the <object> url
|
|
5893
5893
|
*/
|
|
5894
5894
|
createViewer() {
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5895
|
+
return g(this, null, function* () {
|
|
5896
|
+
var n, s, r, i, o, a;
|
|
5897
|
+
for (; (n = this._documentViewer) != null && n.firstChild; )
|
|
5898
|
+
(r = this._documentViewer) == null || r.removeChild((s = this._documentViewer) == null ? void 0 : s.lastChild);
|
|
5899
|
+
if (!this.url)
|
|
5900
|
+
return;
|
|
5901
|
+
const t = yield this.api.executeRequest(
|
|
5902
|
+
this.url.replace(this.api.BASE_URL, ""),
|
|
5903
|
+
"GET"
|
|
5904
|
+
);
|
|
5905
|
+
if (!t || t.error_message) {
|
|
5906
|
+
T("Error opening file or the requested file doesn't exist!", this.shadowRoot);
|
|
5907
|
+
return;
|
|
5908
|
+
}
|
|
5909
|
+
const e = document.createElement("object");
|
|
5910
|
+
e.setAttribute("data", t.content), (i = this.document) != null && i.name && ((o = this.document) != null && o.name.endsWith(".pdf")) && ((a = this._documentViewer) == null || a.appendChild(e));
|
|
5911
|
+
});
|
|
5900
5912
|
}
|
|
5901
5913
|
markAsReviewed(t) {
|
|
5902
5914
|
if (t.preventDefault(), this.isLoading)
|
|
@@ -5938,42 +5950,46 @@ let z = class extends E {
|
|
|
5938
5950
|
}
|
|
5939
5951
|
render() {
|
|
5940
5952
|
var t, e, n, s, r, i, o, a;
|
|
5941
|
-
return this.createViewer(), u`<section><h1>${(t = this.document) == null ? void 0 : t.name}</h1><div class="download-section"><div class="download-btn"><a href="${this.downloadUrl}" target="_blank"><img src="${
|
|
5953
|
+
return this.createViewer(), u`<section><h1>${(t = this.document) == null ? void 0 : t.name}</h1><div class="download-section"><div class="download-btn"><a href="${this.downloadUrl}" target="_blank"><img src="${wc}" class="page-back-button-icon"></a></div></div><div id="documentViewer"></div>${(e = this.document) != null && e.name && !((n = this.document) != null && n.name.endsWith(".pdf")) ? u`<div class="no-preview"><p>Preview Unavailable</p></div>` : null} ${(s = this.document) != null && s.dt_reviewed ? null : u`<div><textarea class="form-control" @change="${(d) => this.note = d.target.value}"></textarea></div>`} ${(r = this.document) != null && r.note && ((i = this.document) == null ? void 0 : i.note) !== "" ? u`<div class="document-review-note"><p><strong>Review Note:</strong></p><p></p><p>${(o = this.document) == null ? void 0 : o.note}</p></div>` : null}<div class="actions-wrapper">${this.type !== "vendor" ? u`<div class="button--clear remove-doc-btn" @click="${this.removeDoc}">${this.isLoading ? u`<page-spinner customStyle="width:15px;height:15px;"></page-spinner>` : "Remove"}</div>` : ""} ${(a = this.document) != null && a.dt_reviewed ? u`<span>Last Review: ${Be(this.document.dt_reviewed)}</span>` : u`<a href="${this.downloadUrl}" class="button--primary mark-reviewed-btn" target="_blank" @click="${this.markAsReviewed}">${this.isLoading ? u`<page-spinner customStyle="width:15px;height:15px;"></page-spinner>` : "Mark as Review"}</a>`}</div></section>`;
|
|
5942
5954
|
}
|
|
5943
5955
|
};
|
|
5944
|
-
|
|
5956
|
+
j.styles = [
|
|
5945
5957
|
C,
|
|
5946
|
-
|
|
5958
|
+
S`object{width:100%;height:500px}textarea{width:100%;min-width:100%;max-width:100%;height:150px;margin:20px 0}.document-review-note{margin:15px 0}.document-review-note p{margin:0}.download-doc-btn{margin-right:15px}.mark-reviewed-btn{display:inline-block}.dv-buttons-wrapper{margin-top:15px;padding-bottom:15px}.no-preview{width:100%;height:300px;border:1px solid #b5b5b5;border-radius:5px;position:relative}.no-preview p{text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;font-size:30px;color:#b5b5b5}.download-section{display:flex;justify-content:end;padding-bottom:10px}`
|
|
5947
5959
|
];
|
|
5948
|
-
|
|
5960
|
+
re([
|
|
5949
5961
|
l()
|
|
5950
|
-
],
|
|
5951
|
-
|
|
5962
|
+
], j.prototype, "document", 2);
|
|
5963
|
+
re([
|
|
5952
5964
|
l()
|
|
5953
|
-
],
|
|
5954
|
-
|
|
5965
|
+
], j.prototype, "url", 2);
|
|
5966
|
+
re([
|
|
5955
5967
|
l()
|
|
5956
|
-
],
|
|
5957
|
-
|
|
5968
|
+
], j.prototype, "downloadUrl", 2);
|
|
5969
|
+
re([
|
|
5958
5970
|
l()
|
|
5959
|
-
],
|
|
5960
|
-
|
|
5971
|
+
], j.prototype, "type", 2);
|
|
5972
|
+
re([
|
|
5961
5973
|
l()
|
|
5962
|
-
],
|
|
5963
|
-
|
|
5974
|
+
], j.prototype, "isLoading", 2);
|
|
5975
|
+
re([
|
|
5964
5976
|
l()
|
|
5965
|
-
],
|
|
5966
|
-
|
|
5977
|
+
], j.prototype, "note", 2);
|
|
5978
|
+
re([
|
|
5967
5979
|
v({ context: G }),
|
|
5968
5980
|
l()
|
|
5969
|
-
],
|
|
5970
|
-
|
|
5981
|
+
], j.prototype, "currentVendor", 2);
|
|
5982
|
+
re([
|
|
5983
|
+
v({ context: L }),
|
|
5984
|
+
l()
|
|
5985
|
+
], j.prototype, "api", 2);
|
|
5986
|
+
re([
|
|
5971
5987
|
R("#documentViewer")
|
|
5972
|
-
],
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
],
|
|
5976
|
-
var Sc =
|
|
5988
|
+
], j.prototype, "_documentViewer", 2);
|
|
5989
|
+
j = re([
|
|
5990
|
+
w("view-document")
|
|
5991
|
+
], j);
|
|
5992
|
+
var Sc = S`${Zt}:host{display:contents;margin:0}.alert{position:relative;display:flex;align-items:stretch;background-color:var(--sl-panel-background-color);border:solid var(--sl-panel-border-width) var(--sl-panel-border-color);border-top-width:calc(var(--sl-panel-border-width) * 3);border-radius:var(--sl-border-radius-medium);font-family:var(--sl-font-sans);font-size:var(--sl-font-size-small);font-weight:var(--sl-font-weight-normal);line-height:1.6;color:var(--sl-color-neutral-700);margin:inherit}.alert:not(.alert--closable) .alert__close-button,.alert:not(.alert--has-icon) .alert__icon{display:none}.alert__icon{flex:0 0 auto;display:flex;align-items:center;font-size:var(--sl-font-size-large);padding-inline-start:var(--sl-spacing-large)}.alert--primary{border-top-color:var(--sl-color-primary-600)}.alert--primary .alert__icon{color:var(--sl-color-primary-600)}.alert--success{border-top-color:var(--sl-color-success-600)}.alert--success .alert__icon{color:var(--sl-color-success-600)}.alert--neutral{border-top-color:var(--sl-color-neutral-600)}.alert--neutral .alert__icon{color:var(--sl-color-neutral-600)}.alert--warning{border-top-color:var(--sl-color-warning-600)}.alert--warning .alert__icon{color:var(--sl-color-warning-600)}.alert--danger{border-top-color:var(--sl-color-danger-600)}.alert--danger .alert__icon{color:var(--sl-color-danger-600)}.alert__message{flex:1 1 auto;display:block;padding:var(--sl-spacing-large);overflow:hidden}.alert__close-button{flex:0 0 auto;display:flex;align-items:center;font-size:var(--sl-font-size-medium);padding-inline-end:var(--sl-spacing-medium)}`, Ve = Object.assign(document.createElement("div"), { className: "sl-toast-stack" }), ie = class extends be {
|
|
5977
5993
|
constructor() {
|
|
5978
5994
|
super(...arguments), this.hasSlotController = new Jr(this, "icon", "suffix"), this.localize = new Kr(this), this.open = !1, this.closable = !1, this.variant = "primary", this.duration = 1 / 0;
|
|
5979
5995
|
}
|
|
@@ -6053,29 +6069,29 @@ var Sc = x`${Zt}:host{display:contents;margin:0}.alert{position:relative;display
|
|
|
6053
6069
|
})}" role="alert" aria-hidden="${this.open ? "false" : "true"}" @mousemove="${this.handleMouseMove}"><div part="icon" class="alert__icon"><slot name="icon"></slot></div><div part="message" class="alert__message" aria-live="polite"><slot></slot></div>${this.closable ? u`<sl-icon-button part="close-button" exportparts="base:close-button__base" class="alert__close-button" name="x-lg" library="system" label="${this.localize.term("close")}" @click="${this.handleCloseClick}"></sl-icon-button>` : ""}</div>`;
|
|
6054
6070
|
}
|
|
6055
6071
|
};
|
|
6056
|
-
|
|
6057
|
-
|
|
6072
|
+
ie.styles = Sc;
|
|
6073
|
+
ie.dependencies = { "sl-icon-button": P };
|
|
6058
6074
|
_([
|
|
6059
6075
|
R('[part~="base"]')
|
|
6060
|
-
],
|
|
6076
|
+
], ie.prototype, "base", 2);
|
|
6061
6077
|
_([
|
|
6062
6078
|
l({ type: Boolean, reflect: !0 })
|
|
6063
|
-
],
|
|
6079
|
+
], ie.prototype, "open", 2);
|
|
6064
6080
|
_([
|
|
6065
6081
|
l({ type: Boolean, reflect: !0 })
|
|
6066
|
-
],
|
|
6082
|
+
], ie.prototype, "closable", 2);
|
|
6067
6083
|
_([
|
|
6068
6084
|
l({ reflect: !0 })
|
|
6069
|
-
],
|
|
6085
|
+
], ie.prototype, "variant", 2);
|
|
6070
6086
|
_([
|
|
6071
6087
|
l({ type: Number })
|
|
6072
|
-
],
|
|
6088
|
+
], ie.prototype, "duration", 2);
|
|
6073
6089
|
_([
|
|
6074
6090
|
bt("open", { waitUntilFirstUpdate: !0 })
|
|
6075
|
-
],
|
|
6091
|
+
], ie.prototype, "handleOpenChange", 1);
|
|
6076
6092
|
_([
|
|
6077
6093
|
bt("duration")
|
|
6078
|
-
],
|
|
6094
|
+
], ie.prototype, "handleDurationChange", 1);
|
|
6079
6095
|
Ue("alert.show", {
|
|
6080
6096
|
keyframes: [
|
|
6081
6097
|
{ opacity: 0, scale: 0.8 },
|
|
@@ -6090,8 +6106,8 @@ Ue("alert.hide", {
|
|
|
6090
6106
|
],
|
|
6091
6107
|
options: { duration: 250, easing: "ease" }
|
|
6092
6108
|
});
|
|
6093
|
-
|
|
6094
|
-
const Xn =
|
|
6109
|
+
ie.define("sl-alert");
|
|
6110
|
+
const Xn = S`.upload-files{text-align:center}.files-list{list-style-type:none;padding-left:0;margin-top:20px}.file-item{padding:5px;background:#e7e7e7;display:grid;grid-template-columns:auto 15px;font-size:12px;margin-top:2px}.file-remove{cursor:pointer}.drop-files{height:150px;border-radius:5px;border:1px solid #e4e4e4;margin-bottom:20px;position:relative}.drop-files #files{width:100%;height:100%;opacity:0}.drop-files span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:20px}`;
|
|
6095
6111
|
var xc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, Qe = (t, e, n, s) => {
|
|
6096
6112
|
for (var r = s > 1 ? void 0 : s ? Ic(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
6097
6113
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
@@ -6115,7 +6131,9 @@ let ve = class extends E {
|
|
|
6115
6131
|
}
|
|
6116
6132
|
upload(t) {
|
|
6117
6133
|
return g(this, null, function* () {
|
|
6118
|
-
t.preventDefault(), this.
|
|
6134
|
+
if (t.preventDefault(), !this.files.length)
|
|
6135
|
+
return;
|
|
6136
|
+
this.isLoading = !0;
|
|
6119
6137
|
const e = new FormData();
|
|
6120
6138
|
this.files.map((i) => {
|
|
6121
6139
|
e.append("files[]", i);
|
|
@@ -6139,7 +6157,7 @@ let ve = class extends E {
|
|
|
6139
6157
|
});
|
|
6140
6158
|
}
|
|
6141
6159
|
render() {
|
|
6142
|
-
return u`<div class="documents-upload-wrapper"><h2>${this.currentVendor.vendor_name} - ADD DOCUMENTS</h2><div class="drop-files"><input type="file" id="files" @change="${this.uploadedFiles}" @drop="${this.filesOnDrag}" multiple="multiple"> <span>Drop file here to upload</span></div><ul class="files-list">${this.files.map((t) => u`<li class="file-item"><span class="file-name">${t.name}</span> <span class="file-remove" @click="${() => this.removeFile(t.name)}">X</span></li>`)}</ul><div class="actions-wrapper"><button class="button--default" @click="${this.browseFiles}">Browse your computer</button> <button class="button--primary" @click="${this.upload}">${this.isLoading ? u`<page-spinner customStyle="width: 15px; height: 15px;"></page-spinner>` : "Save Documents"}</button></div></div>`;
|
|
6160
|
+
return u`<div class="documents-upload-wrapper"><h2>${this.currentVendor.vendor_name} - ADD DOCUMENTS</h2><div class="drop-files"><input type="file" id="files" @change="${this.uploadedFiles}" @drop="${this.filesOnDrag}" multiple="multiple"> <span>Drop file here to upload</span></div><ul class="files-list">${this.files.map((t) => u`<li class="file-item"><span class="file-name">${t.name}</span> <span class="file-remove" @click="${() => this.removeFile(t.name)}">X</span></li>`)}</ul><div class="actions-wrapper"><button class="button--default" @click="${this.browseFiles}">Browse your computer</button> <button class="button--primary" @click="${this.upload}" .disabled="${this.files.length < 1}">${this.isLoading ? u`<page-spinner customStyle="width: 15px; height: 15px;"></page-spinner>` : "Save Documents"}</button></div></div>`;
|
|
6143
6161
|
}
|
|
6144
6162
|
};
|
|
6145
6163
|
ve.styles = [C, Xn];
|
|
@@ -6154,14 +6172,14 @@ Qe([
|
|
|
6154
6172
|
l()
|
|
6155
6173
|
], ve.prototype, "files", 2);
|
|
6156
6174
|
Qe([
|
|
6157
|
-
v({ context:
|
|
6175
|
+
v({ context: L }),
|
|
6158
6176
|
l()
|
|
6159
6177
|
], ve.prototype, "api", 2);
|
|
6160
6178
|
Qe([
|
|
6161
6179
|
R("#files")
|
|
6162
6180
|
], ve.prototype, "_files", 2);
|
|
6163
6181
|
ve = Qe([
|
|
6164
|
-
|
|
6182
|
+
w("vendor-documents-upload")
|
|
6165
6183
|
], ve);
|
|
6166
6184
|
var Oc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, et = (t, e, n, s) => {
|
|
6167
6185
|
for (var r = s > 1 ? void 0 : s ? Rc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
@@ -6186,7 +6204,9 @@ let _e = class extends E {
|
|
|
6186
6204
|
}
|
|
6187
6205
|
upload(t) {
|
|
6188
6206
|
return g(this, null, function* () {
|
|
6189
|
-
t.preventDefault(), this.
|
|
6207
|
+
if (t.preventDefault(), !this.files.length)
|
|
6208
|
+
return;
|
|
6209
|
+
this.isLoading = !0;
|
|
6190
6210
|
const e = new FormData();
|
|
6191
6211
|
this.files.map((i) => {
|
|
6192
6212
|
e.append("files[]", i);
|
|
@@ -6210,7 +6230,7 @@ let _e = class extends E {
|
|
|
6210
6230
|
});
|
|
6211
6231
|
}
|
|
6212
6232
|
render() {
|
|
6213
|
-
return u`<div class="documents-upload-wrapper"><h2>${this.currentVendor.vendor_name} - ADD DOCUMENTS</h2><div class="drop-files"><input type="file" id="files" @change="${this.uploadedFiles}" @drop="${this.filesOnDrag}" multiple="multiple"> <span>Drop file here to upload</span></div><ul class="files-list">${this.files.map((t) => u`<li class="file-item"><span class="file-name">${t.name}</span> <span class="file-remove" @click="${() => this.removeFile(t.name)}">X</span></li>`)}</ul><div class="actions-wrapper"><button class="button--default" @click="${this.browseFiles}">Browse your computer</button> <button class="button--primary" @click="${this.upload}">${this.isLoading ? u`<page-spinner customStyle="width: 15px; height: 15px;"></page-spinner>` : "Save Documents"}</button></div></div>`;
|
|
6233
|
+
return u`<div class="documents-upload-wrapper"><h2>${this.currentVendor.vendor_name} - ADD DOCUMENTS</h2><div class="drop-files"><input type="file" id="files" @change="${this.uploadedFiles}" @drop="${this.filesOnDrag}" multiple="multiple"> <span>Drop file here to upload</span></div><ul class="files-list">${this.files.map((t) => u`<li class="file-item"><span class="file-name">${t.name}</span> <span class="file-remove" @click="${() => this.removeFile(t.name)}">X</span></li>`)}</ul><div class="actions-wrapper"><button class="button--default" @click="${this.browseFiles}">Browse your computer</button> <button class="button--primary" @click="${this.upload}" .disabled="${this.files.length < 1}">${this.isLoading ? u`<page-spinner customStyle="width: 15px; height: 15px;"></page-spinner>` : "Save Documents"}</button></div></div>`;
|
|
6214
6234
|
}
|
|
6215
6235
|
};
|
|
6216
6236
|
_e.styles = [C, Xn];
|
|
@@ -6225,14 +6245,14 @@ et([
|
|
|
6225
6245
|
l()
|
|
6226
6246
|
], _e.prototype, "files", 2);
|
|
6227
6247
|
et([
|
|
6228
|
-
v({ context:
|
|
6248
|
+
v({ context: L }),
|
|
6229
6249
|
l()
|
|
6230
6250
|
], _e.prototype, "api", 2);
|
|
6231
6251
|
et([
|
|
6232
6252
|
R("#files")
|
|
6233
6253
|
], _e.prototype, "_files", 2);
|
|
6234
6254
|
_e = et([
|
|
6235
|
-
|
|
6255
|
+
w("other-vendor-documents-upload")
|
|
6236
6256
|
], _e);
|
|
6237
6257
|
var Nc = Object.defineProperty, Dc = Object.getOwnPropertyDescriptor, Xt = (t, e, n, s) => {
|
|
6238
6258
|
for (var r = s > 1 ? void 0 : s ? Dc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
@@ -6255,9 +6275,9 @@ Xt([
|
|
|
6255
6275
|
l()
|
|
6256
6276
|
], pt.prototype, "currentVendor", 2);
|
|
6257
6277
|
pt = Xt([
|
|
6258
|
-
|
|
6278
|
+
w("documents-upload")
|
|
6259
6279
|
], pt);
|
|
6260
|
-
var $c = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor,
|
|
6280
|
+
var $c = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor, k = (t, e, n, s) => {
|
|
6261
6281
|
for (var r = s > 1 ? void 0 : s ? Cc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
6262
6282
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
6263
6283
|
return s && r && $c(e, n, r), r;
|
|
@@ -6295,7 +6315,7 @@ let N = class t extends E {
|
|
|
6295
6315
|
vendor_account_id: e.detail.vendor.vendor_account_id
|
|
6296
6316
|
};
|
|
6297
6317
|
(yield this.removedDocument(s, n)) && (this.getVendorDocuments(), this._viewDocumentDialog.shadowRoot.querySelector(".dialog").hide());
|
|
6298
|
-
} else if (e.detail.vendor.vendor_type ===
|
|
6318
|
+
} else if (e.detail.vendor.vendor_type === ce) {
|
|
6299
6319
|
const n = "customer_remove_other_vendor_document", s = {
|
|
6300
6320
|
vendor_document_id: e.detail.document.id,
|
|
6301
6321
|
request_vendor_id: e.detail.vendor.vendor_account_id
|
|
@@ -6316,7 +6336,7 @@ let N = class t extends E {
|
|
|
6316
6336
|
}
|
|
6317
6337
|
connectedCallback() {
|
|
6318
6338
|
return g(this, null, function* () {
|
|
6319
|
-
|
|
6339
|
+
Ae(t.prototype, this, "connectedCallback").call(this), this.isLoading = !0, yield Promise.all([
|
|
6320
6340
|
this.getVendorDocuments(),
|
|
6321
6341
|
this.getOtherVendorDocuments()
|
|
6322
6342
|
]).catch(() => {
|
|
@@ -6326,7 +6346,7 @@ let N = class t extends E {
|
|
|
6326
6346
|
}
|
|
6327
6347
|
getOtherVendorDocuments() {
|
|
6328
6348
|
return g(this, null, function* () {
|
|
6329
|
-
if (this.currentVendor.vendor_type !==
|
|
6349
|
+
if (this.currentVendor.vendor_type !== ce || !this.currentVendor.request_vendor_id)
|
|
6330
6350
|
return;
|
|
6331
6351
|
const e = yield this.api.executeRequest(`/vendor_due_diligence/other_vendor_documents/${this.currentVendor.request_vendor_id}`);
|
|
6332
6352
|
if (e.error)
|
|
@@ -6411,13 +6431,13 @@ let N = class t extends E {
|
|
|
6411
6431
|
return `${this.api.BASE_URL}/vendor_due_diligence/get_nonpartnered_doc/${e.request_vendor_id}/${e.id}/${encodeURIComponent(e.name)}?download=1&user=${encodeURIComponent(this.api.user)}`;
|
|
6412
6432
|
}
|
|
6413
6433
|
getVendorDocumentURL(e) {
|
|
6414
|
-
return `${this.api.BASE_URL}/vendor_due_diligence/get_partnered_doc/vendor/${e.vendor_account_id}/${e.id}/${encodeURIComponent(e.name)}?user=${encodeURIComponent(this.api.user)}`;
|
|
6434
|
+
return `${this.api.BASE_URL}/vendor_due_diligence/get_partnered_doc/vendor/${e.vendor_account_id}/${e.id}/${encodeURIComponent(e.name)}?user=${encodeURIComponent(this.api.user)}&preview=1`;
|
|
6415
6435
|
}
|
|
6416
6436
|
getClientVendorDocumentURL(e) {
|
|
6417
|
-
return `${this.api.BASE_URL}/vendor_due_diligence/get_partnered_doc/client_vendor/${e.vendor_account_id}/${e.id}/${encodeURIComponent(e.name)}?user=${encodeURIComponent(this.api.user)}`;
|
|
6437
|
+
return `${this.api.BASE_URL}/vendor_due_diligence/get_partnered_doc/client_vendor/${e.vendor_account_id}/${e.id}/${encodeURIComponent(e.name)}?user=${encodeURIComponent(this.api.user)}&preview=1`;
|
|
6418
6438
|
}
|
|
6419
6439
|
getOtherVendorDocumentURL(e) {
|
|
6420
|
-
return `${this.api.BASE_URL}/vendor_due_diligence/get_nonpartnered_doc/${e.request_vendor_id}/${e.id}/${encodeURIComponent(e.name)}?user=${encodeURIComponent(this.api.user)}`;
|
|
6440
|
+
return `${this.api.BASE_URL}/vendor_due_diligence/get_nonpartnered_doc/${e.request_vendor_id}/${e.id}/${encodeURIComponent(e.name)}?user=${encodeURIComponent(this.api.user)}&preview=1`;
|
|
6421
6441
|
}
|
|
6422
6442
|
openDocument(e, n) {
|
|
6423
6443
|
switch (this.requestUpdate(), this.activeDocument = e, this.activeDocumentType = n, n) {
|
|
@@ -6441,52 +6461,52 @@ let N = class t extends E {
|
|
|
6441
6461
|
}
|
|
6442
6462
|
};
|
|
6443
6463
|
N.styles = [q, Xd];
|
|
6444
|
-
|
|
6445
|
-
v({ context:
|
|
6464
|
+
k([
|
|
6465
|
+
v({ context: he }),
|
|
6446
6466
|
l()
|
|
6447
6467
|
], N.prototype, "environment", 2);
|
|
6448
|
-
|
|
6449
|
-
v({ context:
|
|
6468
|
+
k([
|
|
6469
|
+
v({ context: L }),
|
|
6450
6470
|
l()
|
|
6451
6471
|
], N.prototype, "api", 2);
|
|
6452
|
-
|
|
6472
|
+
k([
|
|
6453
6473
|
l()
|
|
6454
6474
|
], N.prototype, "isLoading", 2);
|
|
6455
|
-
|
|
6475
|
+
k([
|
|
6456
6476
|
l()
|
|
6457
6477
|
], N.prototype, "vendorDocuments", 2);
|
|
6458
|
-
|
|
6478
|
+
k([
|
|
6459
6479
|
l()
|
|
6460
6480
|
], N.prototype, "clientVendorDocuments", 2);
|
|
6461
|
-
|
|
6481
|
+
k([
|
|
6462
6482
|
l()
|
|
6463
6483
|
], N.prototype, "otherVendorDocuments", 2);
|
|
6464
|
-
|
|
6484
|
+
k([
|
|
6465
6485
|
l()
|
|
6466
6486
|
], N.prototype, "activeDocument", 2);
|
|
6467
|
-
|
|
6487
|
+
k([
|
|
6468
6488
|
l()
|
|
6469
6489
|
], N.prototype, "activeDocumentType", 2);
|
|
6470
|
-
|
|
6490
|
+
k([
|
|
6471
6491
|
l()
|
|
6472
6492
|
], N.prototype, "documentUrl", 2);
|
|
6473
|
-
|
|
6493
|
+
k([
|
|
6474
6494
|
l()
|
|
6475
6495
|
], N.prototype, "downloadUrl", 2);
|
|
6476
|
-
|
|
6496
|
+
k([
|
|
6477
6497
|
R("#viewDocumentDialog")
|
|
6478
6498
|
], N.prototype, "_viewDocumentDialog", 2);
|
|
6479
|
-
|
|
6499
|
+
k([
|
|
6480
6500
|
R("#documentsUploadDialog")
|
|
6481
6501
|
], N.prototype, "_documentsUploadDialog", 2);
|
|
6482
|
-
|
|
6502
|
+
k([
|
|
6483
6503
|
v({ context: G }),
|
|
6484
6504
|
l()
|
|
6485
6505
|
], N.prototype, "currentVendor", 2);
|
|
6486
|
-
N =
|
|
6487
|
-
|
|
6506
|
+
N = k([
|
|
6507
|
+
w("vendor-documents-table")
|
|
6488
6508
|
], N);
|
|
6489
|
-
const Lc =
|
|
6509
|
+
const Lc = S`.vendor-activity-wrapper{box-shadow:rgba(0,0,0,.12) 0 1px 5px 0;height:100%;box-sizing:border-box}.vendor-activity-wrapper table{width:100%;border-collapse:collapse}.vendor-activity-wrapper table th{padding:20px}.vendor-activity-wrapper table td:first-child,.vendor-activity-wrapper table th:first-child{word-break:break-all;width:250px;box-sizing:border-box}.vendor-activity-wrapper table td{padding:10px 20px}.vendor-activity-wrapper table tbody tr:nth-child(odd) td{background:#d9d9D92E}.vendor-activity-wrapper table thead th{border-bottom:1px solid #0000001F}.vendor-activity-wrapper h2{font-size:22px;line-height:33px;font-weight:400;margin:0}.send-reminder-btn{font-weight:400;line-height:20px;text-decoration:none;color:#0051ca}`;
|
|
6490
6510
|
var Pc = Object.defineProperty, kc = Object.getOwnPropertyDescriptor, Qn = (t, e, n, s) => {
|
|
6491
6511
|
for (var r = s > 1 ? void 0 : s ? kc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
6492
6512
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
@@ -6510,9 +6530,9 @@ Qn([
|
|
|
6510
6530
|
l()
|
|
6511
6531
|
], ft.prototype, "isLoading", 2);
|
|
6512
6532
|
ft = Qn([
|
|
6513
|
-
|
|
6533
|
+
w("vendor-activity")
|
|
6514
6534
|
], ft);
|
|
6515
|
-
const Mc =
|
|
6535
|
+
const Mc = S`.vendor-details-wrapper{box-shadow:rgba(0,0,0,.12) 0 1px 5px 0;padding:20px;height:100%;box-sizing:border-box}.vendor-details-wrapper h2{font-size:24px;font-weight:500;line-height:30px;margin:0}.last-assessment{margin:5px 0;font-size:16px}.details-description{font-size:16px}.details-btn{padding:8px 16px;border-radius:4px;border:none;outline:0;font-size:14px;font-weight:500;line-height:20px;text-align:center;cursor:pointer;text-transform:uppercase}.ca-btn{background-color:#f3170014;color:#f31700;display:block;margin-top:10px}.edit-btn{margin-top:10px;color:#007cc0}.rm-btn{margin-top:10px;color:#007cc0;background:0 0}`;
|
|
6516
6536
|
var Uc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, Qt = (t, e, n, s) => {
|
|
6517
6537
|
for (var r = s > 1 ? void 0 : s ? Vc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
6518
6538
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
@@ -6530,7 +6550,7 @@ let Ke = class extends E {
|
|
|
6530
6550
|
this.isLoading = !0;
|
|
6531
6551
|
let n = {};
|
|
6532
6552
|
const s = "We're unable to delete this vendor. Please try again!";
|
|
6533
|
-
this.currentVendor.vendor_type == me ? (e += "remove_partner_vendor", n = y(h({}, n), { vendor_account_id: this.currentVendor.vendor_account_id })) : this.currentVendor.vendor_type ==
|
|
6553
|
+
this.currentVendor.vendor_type == me ? (e += "remove_partner_vendor", n = y(h({}, n), { vendor_account_id: this.currentVendor.vendor_account_id })) : this.currentVendor.vendor_type == ce ? (e += "remove_non_partnered_vendor", n = y(h({}, n), { request_vendor_id: this.currentVendor.request_vendor_id })) : (e += "remove_unknown_vendor", n = y(h({}, n), { unknown_vendor_id: this.currentVendor.unknown_vendor_id }));
|
|
6534
6554
|
const r = yield this.api.executeRequest(e, "POST", n);
|
|
6535
6555
|
if (!r || r.error_message) {
|
|
6536
6556
|
T((a = r == null ? void 0 : r.error_message) != null ? a : s, this.shadowRoot), this.isLoading = !1;
|
|
@@ -6547,18 +6567,18 @@ let Ke = class extends E {
|
|
|
6547
6567
|
});
|
|
6548
6568
|
}
|
|
6549
6569
|
render() {
|
|
6550
|
-
return this.currentVendor ? u`<div><
|
|
6570
|
+
return this.currentVendor ? u`<div><p id="removeVendorMsg">Are you sure you want to remove <strong>${this.currentVendor.vendor_name}</strong> from your vendors?</p><div class="actions-wrapper"><button class="button--primary no-margin" @click="${this.removeVendor}" .disabled="${this.isLoading}">${this.isLoading ? u`<page-spinner customStyle="width: 20px; height: 20px"></page-spinner>` : "Confirm"}</button></div></div>` : null;
|
|
6551
6571
|
}
|
|
6552
6572
|
};
|
|
6553
6573
|
Ke.styles = [
|
|
6554
6574
|
C,
|
|
6555
|
-
|
|
6575
|
+
S`#removeVendorMsg{margin-top:40px;font-size:16px}`
|
|
6556
6576
|
];
|
|
6557
6577
|
Qt([
|
|
6558
6578
|
l()
|
|
6559
6579
|
], Ke.prototype, "isLoading", 2);
|
|
6560
6580
|
Qt([
|
|
6561
|
-
v({ context:
|
|
6581
|
+
v({ context: L }),
|
|
6562
6582
|
l()
|
|
6563
6583
|
], Ke.prototype, "api", 2);
|
|
6564
6584
|
Qt([
|
|
@@ -6566,9 +6586,9 @@ Qt([
|
|
|
6566
6586
|
l()
|
|
6567
6587
|
], Ke.prototype, "currentVendor", 2);
|
|
6568
6588
|
Ke = Qt([
|
|
6569
|
-
|
|
6589
|
+
w("remove-vendor-popup")
|
|
6570
6590
|
], Ke);
|
|
6571
|
-
const Hc =
|
|
6591
|
+
const Hc = S`textarea{min-height:150px;min-width:100%;max-width:100%}.upload-files #files{visibility:hidden;position:absolute}.edit-vendor-wrapper .files-list{margin-top:40px}.edit-vendor-wrapper .upload-files{text-align:left}.edit-vendor-wrapper .submit-btn{display:inline-block;margin-left:10px}.file-name a{color:#000}`;
|
|
6572
6592
|
var Fc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, ye = (t, e, n, s) => {
|
|
6573
6593
|
for (var r = s > 1 ? void 0 : s ? jc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
6574
6594
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
@@ -6652,11 +6672,11 @@ ye([
|
|
|
6652
6672
|
l()
|
|
6653
6673
|
], X.prototype, "files", 2);
|
|
6654
6674
|
ye([
|
|
6655
|
-
v({ context:
|
|
6675
|
+
v({ context: he }),
|
|
6656
6676
|
l()
|
|
6657
6677
|
], X.prototype, "environment", 2);
|
|
6658
6678
|
ye([
|
|
6659
|
-
v({ context:
|
|
6679
|
+
v({ context: L }),
|
|
6660
6680
|
l()
|
|
6661
6681
|
], X.prototype, "api", 2);
|
|
6662
6682
|
ye([
|
|
@@ -6673,15 +6693,15 @@ ye([
|
|
|
6673
6693
|
R("#files")
|
|
6674
6694
|
], X.prototype, "_files", 2);
|
|
6675
6695
|
X = ye([
|
|
6676
|
-
|
|
6696
|
+
w("edit-vendor")
|
|
6677
6697
|
], X);
|
|
6678
|
-
const Yc =
|
|
6698
|
+
const Yc = S`.back-btn{color:#0051ca;text-decoration:none}.actions-wrapper button{display:inline-block;margin-right:10px}.page-row{margin:15px 0}.d-block{display:block}.page-9{text-align:center}.page-9 h3,.page-9 p{margin:0}.page-9 img{width:50px;height:50px}`, Bc = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hlY2siIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZmlsbD0iZ3JlZW4iIGQ9Ik0xMC45NyA0Ljk3YS43NS43NSAwIDAgMSAxLjA3IDEuMDVsLTMuOTkgNC45OWEuNzUuNzUgMCAwIDEtMS4wOC4wMkw0LjMyNCA4LjM4NGEuNzUuNzUgMCAxIDEgMS4wNi0xLjA2bDIuMDk0IDIuMDkzIDMuNDczLTQuNDI1YS4yNjcuMjY3IDAgMCAxIC4wMi0uMDIyeiIvPgo8L3N2Zz4=";
|
|
6679
6699
|
var zc = Object.defineProperty, Gc = Object.getOwnPropertyDescriptor, Z = (t, e, n, s) => {
|
|
6680
6700
|
for (var r = s > 1 ? void 0 : s ? Gc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
6681
6701
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
6682
6702
|
return s && r && zc(e, n, r), r;
|
|
6683
6703
|
};
|
|
6684
|
-
let
|
|
6704
|
+
let U = class t extends E {
|
|
6685
6705
|
constructor() {
|
|
6686
6706
|
super(), this.page = 0, this.pdf = null, this.riskAssessmentItem = {
|
|
6687
6707
|
vendor_name: null,
|
|
@@ -6716,14 +6736,14 @@ let M = class t extends E {
|
|
|
6716
6736
|
}
|
|
6717
6737
|
connectedCallback() {
|
|
6718
6738
|
return g(this, null, function* () {
|
|
6719
|
-
|
|
6739
|
+
Ae(t.prototype, this, "connectedCallback").call(this), this.setRAItem(), this.setPDF(), this.updateField("vendor_name", this.currentVendor.vendor_name), this.riskAssessmentItem.review_period || this.updateField("review_period", Be(/* @__PURE__ */ new Date()));
|
|
6720
6740
|
});
|
|
6721
6741
|
}
|
|
6722
6742
|
setPDF() {
|
|
6723
6743
|
if (!this.riskAssessmentItem || !this.riskAssessmentItem.file_name)
|
|
6724
6744
|
return;
|
|
6725
6745
|
let e = null;
|
|
6726
|
-
this.currentVendor.vendor_type ==
|
|
6746
|
+
this.currentVendor.vendor_type == ce ? e = this.vendorData.vendor_docs.find((n) => n.name == this.riskAssessmentItem.file_name) : e = this.vendorData.vendor_docs.client_docs.find((n) => n.name == this.riskAssessmentItem.file_name), e && (this.pdf = Cd(this.api, e, this.currentVendor.vendor_type == ce));
|
|
6727
6747
|
}
|
|
6728
6748
|
setRAItem() {
|
|
6729
6749
|
!this.vendorData || !this.vendorData.vendor_risk_assessment_info || Array.isArray(this.vendorData.vendor_risk_assessment_info) && !this.vendorData.vendor_risk_assessment_info.length || (this.riskAssessmentItem = Array.isArray(this.vendorData.vendor_risk_assessment_info) ? this.vendorData.vendor_risk_assessment_info[0] : this.vendorData.vendor_risk_assessment_info, this.riskAssessmentItem && delete this.riskAssessmentItem.id);
|
|
@@ -6854,44 +6874,44 @@ let M = class t extends E {
|
|
|
6854
6874
|
return u`<div class="page page-9"><h3>Vendor Risk Assessment Marked as Complete</h3><img src="${Bc}" class="page-back-button-icon"><p>The Compliance Log has been updated to reflect this.</p></div>`;
|
|
6855
6875
|
}
|
|
6856
6876
|
};
|
|
6857
|
-
|
|
6877
|
+
U.styles = [C, Yc];
|
|
6858
6878
|
Z([
|
|
6859
6879
|
v({ context: Kt, subscribe: !0 }),
|
|
6860
6880
|
l()
|
|
6861
|
-
],
|
|
6881
|
+
], U.prototype, "vendorData", 2);
|
|
6862
6882
|
Z([
|
|
6863
6883
|
l()
|
|
6864
|
-
],
|
|
6884
|
+
], U.prototype, "page", 2);
|
|
6865
6885
|
Z([
|
|
6866
|
-
v({ context:
|
|
6886
|
+
v({ context: L }),
|
|
6867
6887
|
l()
|
|
6868
|
-
],
|
|
6888
|
+
], U.prototype, "api", 2);
|
|
6869
6889
|
Z([
|
|
6870
6890
|
l()
|
|
6871
|
-
],
|
|
6891
|
+
], U.prototype, "pdf", 2);
|
|
6872
6892
|
Z([
|
|
6873
6893
|
l()
|
|
6874
|
-
],
|
|
6894
|
+
], U.prototype, "riskAssessmentItem", 2);
|
|
6875
6895
|
Z([
|
|
6876
6896
|
v({ context: G, subscribe: !0 }),
|
|
6877
6897
|
l()
|
|
6878
|
-
],
|
|
6898
|
+
], U.prototype, "currentVendor", 2);
|
|
6879
6899
|
Z([
|
|
6880
6900
|
l()
|
|
6881
|
-
],
|
|
6901
|
+
], U.prototype, "isLoadingSave", 2);
|
|
6882
6902
|
Z([
|
|
6883
6903
|
l()
|
|
6884
|
-
],
|
|
6904
|
+
], U.prototype, "isLoadingFinish", 2);
|
|
6885
6905
|
Z([
|
|
6886
6906
|
l()
|
|
6887
|
-
],
|
|
6907
|
+
], U.prototype, "isLoading", 2);
|
|
6888
6908
|
Z([
|
|
6889
|
-
v({ context:
|
|
6909
|
+
v({ context: he }),
|
|
6890
6910
|
l()
|
|
6891
|
-
],
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
],
|
|
6911
|
+
], U.prototype, "environment", 2);
|
|
6912
|
+
U = Z([
|
|
6913
|
+
w("risk-assessment")
|
|
6914
|
+
], U);
|
|
6895
6915
|
var qc = Object.defineProperty, Wc = Object.getOwnPropertyDescriptor, Ee = (t, e, n, s) => {
|
|
6896
6916
|
for (var r = s > 1 ? void 0 : s ? Wc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
6897
6917
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
@@ -6908,7 +6928,7 @@ let Q = class extends E {
|
|
|
6908
6928
|
}
|
|
6909
6929
|
render() {
|
|
6910
6930
|
var t, e, n;
|
|
6911
|
-
return u`<div class="vendor-details-wrapper">${this.isLoading ? u`<p class="text-center"><page-spinner></page-spinner></p>` : u`<h2>${this.currentVendor.vendor_name}</h2>${this.currentVendor.ra_submitted ? u`<p class="last-assessment">Last Assessment: ${this.currentVendor.ra_submitted}</p>` : null} <button class="details-btn ca-btn" @click="${() => this.showPopup(this._riskAssessmentPopup)}">${this.currentVendor.ra_submitted ? "Edit" : "Complete"} Assessment</button> ${this.currentVendor.vendor_type ==
|
|
6931
|
+
return u`<div class="vendor-details-wrapper">${this.isLoading ? u`<p class="text-center"><page-spinner></page-spinner></p>` : u`<h2>${this.currentVendor.vendor_name}</h2>${this.currentVendor.ra_submitted ? u`<p class="last-assessment">Last Assessment: ${this.currentVendor.ra_submitted}</p>` : null} <button class="details-btn ca-btn" @click="${() => this.showPopup(this._riskAssessmentPopup)}">${this.currentVendor.ra_submitted ? "Edit" : "Complete"} Assessment</button> ${this.currentVendor.vendor_type == ce ? u`${this.currentVendor.description ? u`<p class="details-description">${this.currentVendor.description}</p>` : null}` : u`${(t = this.vendorData) != null && t.vendor_details && ((e = this.vendorData) != null && e.vendor_details.description) ? u`<p class="details-description">${(n = this.vendorData) == null ? void 0 : n.vendor_details.description}</p>` : null}`} ${this.currentVendor.vendor_type == ce ? u`<button class="details-btn edit-btn" @click="${() => this.showPopup(this._editVendorPopup)}">Edit Vendor</button>` : null} <button class="details-btn rm-btn" @click="${() => this.showPopup(this._removeVendorPopup)}">Remove Vendor</button><cpm-modal id="removeVendorPopup" height="150px"><remove-vendor-popup slot="content"></remove-vendor-popup></cpm-modal><cpm-modal id="editVendorPopup"><edit-vendor slot="content"></edit-vendor></cpm-modal><cpm-modal id="riskAssessmentPopup" @sl-hide="${() => {
|
|
6912
6932
|
const s = {
|
|
6913
6933
|
bubbles: !0,
|
|
6914
6934
|
composed: !0,
|
|
@@ -6945,9 +6965,9 @@ Ee([
|
|
|
6945
6965
|
R("#riskAssessmentPopup")
|
|
6946
6966
|
], Q.prototype, "_riskAssessmentPopup", 2);
|
|
6947
6967
|
Q = Ee([
|
|
6948
|
-
|
|
6968
|
+
w("vendor-details")
|
|
6949
6969
|
], Q);
|
|
6950
|
-
var Zc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor,
|
|
6970
|
+
var Zc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, we = (t, e, n, s) => {
|
|
6951
6971
|
for (var r = s > 1 ? void 0 : s ? Kc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
6952
6972
|
(o = t[i]) && (r = (s ? o(e, n, r) : o(r)) || r);
|
|
6953
6973
|
return s && r && Zc(e, n, r), r;
|
|
@@ -6964,7 +6984,7 @@ let ee = class t extends E {
|
|
|
6964
6984
|
}
|
|
6965
6985
|
connectedCallback() {
|
|
6966
6986
|
return g(this, null, function* () {
|
|
6967
|
-
if (
|
|
6987
|
+
if (Ae(t.prototype, this, "connectedCallback").call(this), !this.currentVendor.vendor_account_id && !this.currentVendor.request_vendor_id) {
|
|
6968
6988
|
this.isLoading = !1;
|
|
6969
6989
|
return;
|
|
6970
6990
|
}
|
|
@@ -6974,7 +6994,7 @@ let ee = class t extends E {
|
|
|
6974
6994
|
getVendorActivityData() {
|
|
6975
6995
|
this.currentVendor.vendor_type == me && this.getActivityData(
|
|
6976
6996
|
`/vendor_due_diligence/get_partnered_vendor_activity_log/${this.currentVendor.vendor_account_id}`
|
|
6977
|
-
), this.currentVendor.vendor_type ==
|
|
6997
|
+
), this.currentVendor.vendor_type == ce && this.getActivityData(
|
|
6978
6998
|
`/vendor_due_diligence/get_non_partnered_vendor_activity_log/${this.currentVendor.request_vendor_id}`
|
|
6979
6999
|
);
|
|
6980
7000
|
}
|
|
@@ -7007,33 +7027,33 @@ let ee = class t extends E {
|
|
|
7007
7027
|
}
|
|
7008
7028
|
};
|
|
7009
7029
|
ee.styles = [C, q];
|
|
7010
|
-
|
|
7011
|
-
v({ context:
|
|
7030
|
+
we([
|
|
7031
|
+
v({ context: he }),
|
|
7012
7032
|
l()
|
|
7013
7033
|
], ee.prototype, "environment", 2);
|
|
7014
|
-
|
|
7034
|
+
we([
|
|
7015
7035
|
l()
|
|
7016
7036
|
], ee.prototype, "user", 2);
|
|
7017
|
-
|
|
7018
|
-
v({ context:
|
|
7037
|
+
we([
|
|
7038
|
+
v({ context: L }),
|
|
7019
7039
|
l()
|
|
7020
7040
|
], ee.prototype, "api", 2);
|
|
7021
|
-
|
|
7041
|
+
we([
|
|
7022
7042
|
l()
|
|
7023
7043
|
], ee.prototype, "error", 2);
|
|
7024
|
-
|
|
7044
|
+
we([
|
|
7025
7045
|
v({ context: G, subscribe: !0 }),
|
|
7026
7046
|
l()
|
|
7027
7047
|
], ee.prototype, "currentVendor", 2);
|
|
7028
|
-
|
|
7029
|
-
|
|
7048
|
+
we([
|
|
7049
|
+
Y({ context: Kt }),
|
|
7030
7050
|
l()
|
|
7031
7051
|
], ee.prototype, "vendorData", 2);
|
|
7032
|
-
|
|
7052
|
+
we([
|
|
7033
7053
|
l()
|
|
7034
7054
|
], ee.prototype, "isLoading", 2);
|
|
7035
|
-
ee =
|
|
7036
|
-
|
|
7055
|
+
ee = we([
|
|
7056
|
+
w("vendor-page")
|
|
7037
7057
|
], ee);
|
|
7038
7058
|
var Jc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, $ = (t, e, n, s) => {
|
|
7039
7059
|
for (var r = s > 1 ? void 0 : s ? Xc(e, n) : e, i = t.length - 1, o; i >= 0; i--)
|
|
@@ -7064,7 +7084,7 @@ let O = class t extends E {
|
|
|
7064
7084
|
}), this.addEventListener("vendor-removed", (e) => g(this, null, function* () {
|
|
7065
7085
|
const n = e.detail.vendor;
|
|
7066
7086
|
let s = "unknown_vendor_id";
|
|
7067
|
-
n.vendor_type == me ? s = "vendor_account_id" : n.vendor_type ==
|
|
7087
|
+
n.vendor_type == me ? s = "vendor_account_id" : n.vendor_type == ce && (s = "request_vendor_id"), n[s] && (this.allVendors = this.allVendors.filter((r) => r[s] !== n[s]), this.getMrcVendors(), this.currentPage = "vendors_page");
|
|
7068
7088
|
})), this.addEventListener("vendor-added", (e) => g(this, null, function* () {
|
|
7069
7089
|
this.getMrcVendors(), this.getVendors();
|
|
7070
7090
|
})), this.addEventListener("mark-tos-complete", (e) => g(this, null, function* () {
|
|
@@ -7078,7 +7098,7 @@ let O = class t extends E {
|
|
|
7078
7098
|
connectedCallback() {
|
|
7079
7099
|
return g(this, null, function* () {
|
|
7080
7100
|
var e;
|
|
7081
|
-
|
|
7101
|
+
Ae(t.prototype, this, "connectedCallback").call(this);
|
|
7082
7102
|
try {
|
|
7083
7103
|
const n = (e = this.environment) == null ? void 0 : e.trim().toLowerCase();
|
|
7084
7104
|
this.api = new cd(n, this.user), id(n, this.user);
|
|
@@ -7146,39 +7166,39 @@ let O = class t extends E {
|
|
|
7146
7166
|
};
|
|
7147
7167
|
O.styles = [C, q];
|
|
7148
7168
|
$([
|
|
7149
|
-
|
|
7169
|
+
Y({ context: he }),
|
|
7150
7170
|
l()
|
|
7151
7171
|
], O.prototype, "environment", 2);
|
|
7152
7172
|
$([
|
|
7153
|
-
|
|
7173
|
+
Y({ context: L }),
|
|
7154
7174
|
l()
|
|
7155
7175
|
], O.prototype, "api", 2);
|
|
7156
7176
|
$([
|
|
7157
|
-
|
|
7177
|
+
Y({ context: Mr }),
|
|
7158
7178
|
l()
|
|
7159
7179
|
], O.prototype, "isLoading", 2);
|
|
7160
7180
|
$([
|
|
7161
|
-
|
|
7181
|
+
Y({ context: Ur }),
|
|
7162
7182
|
l()
|
|
7163
7183
|
], O.prototype, "isLoadingMRCVendors", 2);
|
|
7164
7184
|
$([
|
|
7165
|
-
|
|
7185
|
+
Y({ context: G }),
|
|
7166
7186
|
l()
|
|
7167
7187
|
], O.prototype, "currentVendor", 2);
|
|
7168
7188
|
$([
|
|
7169
|
-
|
|
7189
|
+
Y({ context: Vr }),
|
|
7170
7190
|
l()
|
|
7171
7191
|
], O.prototype, "allVendors", 2);
|
|
7172
7192
|
$([
|
|
7173
|
-
|
|
7193
|
+
Y({ context: Fr }),
|
|
7174
7194
|
l()
|
|
7175
7195
|
], O.prototype, "mrcVendors", 2);
|
|
7176
7196
|
$([
|
|
7177
|
-
|
|
7197
|
+
Y({ context: Hr }),
|
|
7178
7198
|
l()
|
|
7179
7199
|
], O.prototype, "currentPage", 2);
|
|
7180
7200
|
$([
|
|
7181
|
-
|
|
7201
|
+
Y({ context: xd }),
|
|
7182
7202
|
l()
|
|
7183
7203
|
], O.prototype, "userVddFreeDetails", 2);
|
|
7184
7204
|
$([
|
|
@@ -7194,11 +7214,11 @@ $([
|
|
|
7194
7214
|
l()
|
|
7195
7215
|
], O.prototype, "pages", 2);
|
|
7196
7216
|
$([
|
|
7197
|
-
|
|
7217
|
+
Y({ context: Yr }),
|
|
7198
7218
|
l()
|
|
7199
7219
|
], O.prototype, "page", 2);
|
|
7200
7220
|
O = $([
|
|
7201
|
-
|
|
7221
|
+
w("vendor-due-diligence-page")
|
|
7202
7222
|
], O);
|
|
7203
7223
|
export {
|
|
7204
7224
|
O as VendorDueDiligencePage
|