ethyca-fides 2.66.3b0__py2.py3-none-any.whl → 2.67.0__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of ethyca-fides might be problematic. Click here for more details.
- {ethyca_fides-2.66.3b0.dist-info → ethyca_fides-2.67.0.dist-info}/METADATA +1 -1
- {ethyca_fides-2.66.3b0.dist-info → ethyca_fides-2.67.0.dist-info}/RECORD +214 -210
- fides/_version.py +3 -3
- fides/api/common_exceptions.py +4 -0
- fides/api/graph/execution.py +16 -0
- fides/api/graph/graph.py +13 -2
- fides/api/graph/traversal.py +125 -38
- fides/api/models/privacy_request/privacy_request.py +33 -13
- fides/api/schemas/application_config.py +1 -0
- fides/api/schemas/connection_configuration/connection_secrets_datahub.py +10 -1
- fides/api/service/connectors/base_connector.py +14 -0
- fides/api/service/connectors/bigquery_connector.py +5 -0
- fides/api/service/connectors/query_configs/bigquery_query_config.py +4 -4
- fides/api/service/connectors/query_configs/snowflake_query_config.py +3 -3
- fides/api/service/connectors/snowflake_connector.py +55 -2
- fides/api/service/connectors/sql_connector.py +126 -12
- fides/api/service/privacy_request/dsr_package/templates/welcome.html +2 -2
- fides/api/service/privacy_request/request_runner_service.py +3 -2
- fides/api/service/privacy_request/request_service.py +173 -32
- fides/api/task/execute_request_tasks.py +4 -0
- fides/api/task/graph_task.py +48 -2
- fides/api/util/aws_util.py +5 -1
- fides/api/util/cache.py +56 -0
- fides/api/util/memory_watchdog.py +286 -0
- fides/config/execution_settings.py +8 -0
- fides/config/utils.py +1 -0
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/MNlh9olWjgbqAHKyQY3LF/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1316-2606e19807c08aa5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1467-8808ec8836e033f9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1817-b78b58ae3b75d75a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1975.7d4634a0e823a02b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{203-4e777c324a01dbec.js → 203-cd78ea279cecba60.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/2150-930ffaf2c4718edc.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/255-1bc0cbef7a59cdc6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3450-1cc2bb07ed142203.js → 3450-69f4e16978971bb8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/346-aa3b88efb85f2e28.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3550-d04125c828d591a1.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{3855-e2fa6db53d32c3de.js → 3855-509ca7ac99b5eada.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{3872-84b7e380b88b4454.js → 3872-0a0f0032ca39a93f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/409-ea70638a59296659.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{4121-f50675521dfee6eb.js → 4121-877e19d3fa078c7b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{4230-840c287045c88b34.js → 4230-114e31621c19ea69.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/4259.d1507e0db19cbed7.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{431-ade3e312fac3430b.js → 431-1db919f6569a4021.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{4608-a8e3100e2806dbff.js → 4608-f16f281f2d05d963.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/5163-e682273cd76a7d07.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5309-d9a488457898263b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{905-ffdbd0b14167e8bd.js → 5596-4378b2927dae65b2.js} +3 -3
- fides/ui-build/static/admin/_next/static/chunks/5619-9b50cec521203989.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{6084-5d7598b7bcb548cf.js → 6084-ddbad3149364725d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/6148-59a59d5c5925344f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6419-d0c00d661b01f8fa.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{6662-efb2cf74641647f2.js → 6662-a9e54ead3dc53644.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6780-a00c87739acc004d.js → 6780-b42a27e72707936d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6853-4f8bf6558f8c6a46.js → 6853-d0190d2cca9dbde2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{6882-586b84aeb02d5830.js → 6882-59ea739e3616ce83.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/6954-ba98e778a5b45ebf.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{7476-d206c11823c91088.js → 7476-cc0d9a94ed7aad53.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/7725-539d3a906f627531.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{787-cbe2d0bfb513d90a.js → 787-c57185ad89c4e288.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/{79-3db1941d274f40c7.js → 79-2aab56be75e16187.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/8735-40caf91800a3610c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8765-f622a35b40a7ec63.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9046-7085a401297c5520.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9187-7438242f0d380bb0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9226-72ad691ca57b83ef.js → 9226-2dcac54ab3fb94be.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9278-08cc704317fe535e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9951-595d0f1588215081.js → 9951-7c6639e5d062779e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-f2c3d287bac00395.js → _app-750d6bd16c971bb9.js} +2 -2
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-acb59f8b5e97512a.js → manual-2a655ff3a97f2492.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{add-systems-0943633a8e422695.js → add-systems-0902f0bb4080643e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-fc3a011154a2e1de.js → [id]-f22ddd9b48a5c418.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-06bb3b0bf097fcdb.js → new-e74cb5ea87f15b40.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-09d4408014bcfe1c.js → privacy-experience-21f997c69fc3b4c2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-d67542783ef5ddac.js → [id]-da4124b7600a2a1d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-3f20e8a316bb3d5b.js → new-a57d251c88ce68ae.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-notices-23e9dcd4590312d2.js → privacy-notices-ad105181bc91209b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-b0c4235fe6d0b0c8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/{[resourceUrn]-99c9092d65c94807.js → [resourceUrn]-aad6047a4604b945.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{projects-774fecea22ba8852.js → projects-29784a11fe0fbd0a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/{[resourceUrn]-f6bd6aff389cb9fe.js → [resourceUrn]-b6b98cea25dd94fa.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-8a7f9285da66b965.js → data-catalog-7770a8dc34bd0fc0.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-3e5725cd06d7fe6c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-92b0bd97d8e79340.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-ee3c0a103346fc06.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{activity-5af9381f02b2aff6.js → activity-ad6a84a6276f914c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-6421ce247549c5d6.js → [resourceUrn]-f98dd251babb7e28.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-3eac407ac5181a3c.js → discovery-56eb4c014f0d96a3.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-d23b3ae139f0428b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-1c98bd0959d9570a.js → [...subfieldNames]-15301bd6bf7cf718.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-e548cabda7da32c9.js → [collectionName]-0fa72873e464f581.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-513c862c3a707735.js → new-0d50084fbdf9b84c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-747b7a13289f1cd7.js → dataset-f3348d0a92543bab.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-3d22525b3c327b2e.js → [id]-7d6027570d05c57f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-d2cad97495e86adb.js → new-c6614583b14dc9f2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{fides-js-docs-5d8fd1af75f19e2f.js → fides-js-docs-1f4335dca5c09860.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{index-12ac3e317fc86f21.js → index-fbf9b845bb901238.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-8e346fb36e8034d2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{integrations-f10a7dcf7541c865.js → integrations-7f15cd8538cdc24d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging-1bae386d8c190348.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{[id]-c73497fc333c324d.js → [id]-79f1576b1126975c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{messaging-7498d1d5974a78b0.js → messaging-f1d818242d8550f8.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{storage-2d3a2d967767a131.js → storage-d40a26bddb126c5c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-96a08c4431b5462c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-9d1840f8309b706e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/{[purpose_id]-668d74c041d74650.js → [purpose_id]-e891d01ece59669e.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{consent-a989532a12c40dcf.js → consent-f61b87e79367865b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{custom-fields-45bea76ff7eda3cb.js → custom-fields-f8eea5d508c60c64.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-6946e78a5d43e654.js → locations-ed6a140b362c5baa.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-55a10e01dffc8039.js → organization-ff9a34264d48c35f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-f91f22cf96566ed4.js → test-datasets-a4b6d41ca679298b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-d4a57ea18935dd70.js → [id]-c8f5fbaa83dd9945.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{systems-648a0ff4920579ce.js → systems-c05b49ddec1a1b4f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-df0d88716578e295.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-fe58cebba358119d.js → [id]-da68efc31998dc66.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-45bfa04e45a7d13f.js → user-management-e98dfc7d4f2a4e16.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/webpack-90e8ec1fc5c6455b.js +1 -0
- fides/ui-build/static/admin/_next/static/css/{79e296c724c1568c.css → d9924caa849931b3.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/dbcf63488933a4d5.css +29 -0
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/lib/fides-ext-gpp.js +1 -1
- fides/ui-build/static/admin/lib/fides-headless.js +1 -1
- fides/ui-build/static/admin/lib/fides-preview.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +4 -4
- fides/ui-build/static/admin/lib/fides.js +4 -4
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/poc/ant-components.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
- fides/ui-build/static/admin/poc/forms.html +1 -1
- fides/ui-build/static/admin/poc/table-migration.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about/alpha.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/1316-6cc72a45ebf7ff81.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1807-3beab149351d5ded.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1817-6f35f58cd08b04ae.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/255-7db55b0e3a0f9dea.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2599-6c4d22e75028d8b6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2858-0b44609b6be7850b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2866-a73888c17a195cbe.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3615-5e2d062d684b8fa1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/409-45a125437261580c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5309-1172322bf91b5d57.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/570-c99f07161bd339cd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6954-34e062e4bffc7e71.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7062.fda15dcb7df85675.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7c79804f.7a7112aece470725.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8237-55049f8f5fd5e058.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9014-eeae6f581158e645.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9046-c8233981762585b4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9278-9b1b5970f0702668.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9392.f4520f66206d347d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/ea076c0a.84423f606aef37cd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-8f891957c8944137.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-71579a199158952e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-7d3115059503b904.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-85e140788e251272.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-d2b275d83089820d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-f9c0eac932188593.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging-c1bd3e7adbe8d2d3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-6a9068df48bdee05.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-2a98bd257edd8f47.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-0b9d1a24188f65a9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/webpack-63a0c45b150a1037.js +0 -1
- fides/ui-build/static/admin/_next/static/hKDMNIRKgB86FSDpiOjHn/_buildManifest.js +0 -1
- {ethyca_fides-2.66.3b0.dist-info → ethyca_fides-2.67.0.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.66.3b0.dist-info → ethyca_fides-2.67.0.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.66.3b0.dist-info → ethyca_fides-2.67.0.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.66.3b0.dist-info → ethyca_fides-2.67.0.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{hKDMNIRKgB86FSDpiOjHn → MNlh9olWjgbqAHKyQY3LF}/_ssgManifest.js +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/{datastore-connection-0f29b47402292070.js → datastore-connection-3bd77864da523d41.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/about/{alpha-8f98a4895e74725e.js → alpha-1066f0c202ef744c.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{about-8155a35a62fdb5ae.js → about-37ba24a72a06862e.js} +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-bc4eb541906781e6.js → new-de8cb3739ab99c09.js} +0 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Memory watchdog utilities used to proactively interrupt long-running Celery tasks that approach the
|
|
3
|
+
container's memory limits.
|
|
4
|
+
|
|
5
|
+
The watchdog runs in a background thread and periodically samples the overall system memory usage
|
|
6
|
+
(using `psutil`). When usage exceeds the configured threshold, it immediately sends `SIGUSR1` to
|
|
7
|
+
the current process. The signal handler raises `MemoryLimitExceeded` which can be caught by the
|
|
8
|
+
calling code to perform clean-up and let Celery record the task as failed.
|
|
9
|
+
|
|
10
|
+
This allows tasks to terminate gracefully with proper error logging, rather than being forcefully
|
|
11
|
+
killed by the system's OOM killer which would result in a WorkerLostError and incomplete cleanup.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
|
|
16
|
+
import os
|
|
17
|
+
import signal
|
|
18
|
+
import threading
|
|
19
|
+
import time
|
|
20
|
+
from functools import wraps
|
|
21
|
+
from types import FrameType, TracebackType
|
|
22
|
+
from typing import Any, Callable, Literal, Optional, Type, TypeVar, Union
|
|
23
|
+
|
|
24
|
+
import psutil # type: ignore
|
|
25
|
+
from loguru import logger
|
|
26
|
+
|
|
27
|
+
F = TypeVar("F", bound=Callable[..., Any])
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def get_memory_watchdog_enabled() -> bool:
|
|
31
|
+
"""
|
|
32
|
+
Get the memory_watchdog_enabled setting from the application configuration.
|
|
33
|
+
|
|
34
|
+
Returns:
|
|
35
|
+
bool: True if memory_watchdog_enabled is enabled, False otherwise (defaults to False)
|
|
36
|
+
"""
|
|
37
|
+
try:
|
|
38
|
+
from fides.api.api.deps import get_autoclose_db_session as get_db
|
|
39
|
+
from fides.config.config_proxy import ConfigProxy
|
|
40
|
+
|
|
41
|
+
with get_db() as db:
|
|
42
|
+
config_proxy = ConfigProxy(db)
|
|
43
|
+
# ConfigProxy returns None when no config record exists, so we must handle None explicitly
|
|
44
|
+
value = getattr(config_proxy.execution, "memory_watchdog_enabled")
|
|
45
|
+
return value if value is not None else False
|
|
46
|
+
except Exception: # pragma: no cover
|
|
47
|
+
# default to disabled for backward compatibility
|
|
48
|
+
return False
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class MemoryLimitExceeded(RuntimeError):
|
|
52
|
+
"""Raised when the watchdog detects sustained memory usage above the threshold."""
|
|
53
|
+
|
|
54
|
+
def __init__(self, message: str, *, memory_percent: Optional[float] = None) -> None:
|
|
55
|
+
super().__init__(message)
|
|
56
|
+
self.memory_percent: Optional[float] = memory_percent
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class MemoryWatchdog:
|
|
60
|
+
"""Background memory monitor that enables graceful task termination.
|
|
61
|
+
|
|
62
|
+
Monitors system memory usage and triggers controlled shutdown when usage exceeds the threshold,
|
|
63
|
+
preventing forceful termination by the system's OOM killer.
|
|
64
|
+
|
|
65
|
+
Parameters
|
|
66
|
+
----------
|
|
67
|
+
threshold:
|
|
68
|
+
Percentage of *overall* system memory usage at which the watchdog triggers.
|
|
69
|
+
check_interval:
|
|
70
|
+
How often (in seconds) to sample ``psutil.virtual_memory()``.
|
|
71
|
+
grace_period:
|
|
72
|
+
Deprecated - kept for compatibility but defaults to 0 for immediate action.
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
def __init__(
|
|
76
|
+
self, *, threshold: int = 90, check_interval: float = 0.5, grace_period: int = 0
|
|
77
|
+
) -> None:
|
|
78
|
+
self.threshold = threshold
|
|
79
|
+
self.check_interval = check_interval
|
|
80
|
+
self.grace_period = grace_period
|
|
81
|
+
|
|
82
|
+
self._thread: Optional[threading.Thread] = None
|
|
83
|
+
self._monitoring = threading.Event()
|
|
84
|
+
self._original_handler: Union[
|
|
85
|
+
Callable[[int, Optional[FrameType]], Any], int, signal.Handlers, None
|
|
86
|
+
] = None
|
|
87
|
+
|
|
88
|
+
# ---------------------------------------------------------------------
|
|
89
|
+
# Public helpers
|
|
90
|
+
# ---------------------------------------------------------------------
|
|
91
|
+
def start(self) -> None:
|
|
92
|
+
"""Start the background monitoring thread and register the signal handler."""
|
|
93
|
+
logger.debug(
|
|
94
|
+
"Starting memory watchdog - threshold={}%, check_interval={}s",
|
|
95
|
+
self.threshold,
|
|
96
|
+
self.check_interval,
|
|
97
|
+
)
|
|
98
|
+
self._original_handler = signal.signal(signal.SIGUSR1, self._signal_handler)
|
|
99
|
+
self._monitoring.set()
|
|
100
|
+
self._thread = threading.Thread(
|
|
101
|
+
target=self._run, name="memory-watchdog", daemon=True
|
|
102
|
+
)
|
|
103
|
+
self._thread.start()
|
|
104
|
+
|
|
105
|
+
def stop(self) -> None:
|
|
106
|
+
"""Stop the monitoring thread and restore the previous signal handler."""
|
|
107
|
+
logger.debug("Stopping memory watchdog")
|
|
108
|
+
self._monitoring.clear()
|
|
109
|
+
if self._thread and self._thread.is_alive():
|
|
110
|
+
self._thread.join(timeout=2)
|
|
111
|
+
if self._original_handler is not None:
|
|
112
|
+
signal.signal(signal.SIGUSR1, self._original_handler)
|
|
113
|
+
self._original_handler = None
|
|
114
|
+
|
|
115
|
+
# ------------------------------------------------------------------
|
|
116
|
+
# Context-manager support
|
|
117
|
+
# ------------------------------------------------------------------
|
|
118
|
+
def __enter__(self) -> "MemoryWatchdog":
|
|
119
|
+
self.start()
|
|
120
|
+
return self
|
|
121
|
+
|
|
122
|
+
def __exit__(
|
|
123
|
+
self,
|
|
124
|
+
exc_type: Optional[Type[BaseException]],
|
|
125
|
+
exc_value: Optional[BaseException],
|
|
126
|
+
traceback: Optional[TracebackType],
|
|
127
|
+
) -> Literal[False]:
|
|
128
|
+
self.stop()
|
|
129
|
+
# Do not suppress exceptions
|
|
130
|
+
return False
|
|
131
|
+
|
|
132
|
+
# ------------------------------------------------------------------
|
|
133
|
+
# Internal helpers
|
|
134
|
+
# ------------------------------------------------------------------
|
|
135
|
+
def _signal_handler(
|
|
136
|
+
self, signum: int, frame: Optional[FrameType]
|
|
137
|
+
) -> None: # noqa: D401 – Celery uses signal handlers
|
|
138
|
+
"""Convert the signal into an exception on the main thread."""
|
|
139
|
+
current_percent = _system_memory_percent()
|
|
140
|
+
logger.error("Memory limit exceeded: {}%", current_percent)
|
|
141
|
+
self.stop()
|
|
142
|
+
raise MemoryLimitExceeded(
|
|
143
|
+
"Memory usage exceeded threshold", memory_percent=current_percent
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
def _run(self) -> None:
|
|
147
|
+
"""Background thread body."""
|
|
148
|
+
while self._monitoring.is_set():
|
|
149
|
+
try:
|
|
150
|
+
mem_percent = _system_memory_percent()
|
|
151
|
+
|
|
152
|
+
if mem_percent > self.threshold:
|
|
153
|
+
# Trigger graceful termination before the system OOM killer can intervene
|
|
154
|
+
logger.error(
|
|
155
|
+
"Memory usage {}% above threshold {}% - sending SIGUSR1 to terminate task gracefully (prevents OOM kill)",
|
|
156
|
+
mem_percent,
|
|
157
|
+
self.threshold,
|
|
158
|
+
)
|
|
159
|
+
os.kill(os.getpid(), signal.SIGUSR1)
|
|
160
|
+
return # stop monitoring after signal
|
|
161
|
+
|
|
162
|
+
time.sleep(self.check_interval)
|
|
163
|
+
except Exception as exc: # pragma: no cover – best-effort logging
|
|
164
|
+
logger.exception("Uncaught error in memory watchdog: {}", exc)
|
|
165
|
+
break
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
# -----------------------------------------------------------------------------
|
|
169
|
+
# Decorator for Celery tasks (or any function)
|
|
170
|
+
# -----------------------------------------------------------------------------
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
def memory_limiter(
|
|
174
|
+
_func: Optional[F] = None,
|
|
175
|
+
*,
|
|
176
|
+
threshold: int = 90,
|
|
177
|
+
check_interval: float = 0.5,
|
|
178
|
+
grace_period: int = 0,
|
|
179
|
+
) -> Union[F, Callable[[F], F]]:
|
|
180
|
+
"""Decorator that runs the wrapped callable under a :class:`MemoryWatchdog`.
|
|
181
|
+
|
|
182
|
+
Enables graceful task termination when memory usage is high, preventing WorkerLostError
|
|
183
|
+
from system OOM killer intervention.
|
|
184
|
+
|
|
185
|
+
Can be applied **with or without arguments**::
|
|
186
|
+
|
|
187
|
+
@memory_limiter
|
|
188
|
+
def task_a():
|
|
189
|
+
...
|
|
190
|
+
|
|
191
|
+
@memory_limiter(threshold=85)
|
|
192
|
+
def task_b():
|
|
193
|
+
...
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
def decorator(func: F) -> F:
|
|
197
|
+
@wraps(func)
|
|
198
|
+
def wrapper(*args: Any, **kwargs: Any) -> Any:
|
|
199
|
+
# Check if memory watchdog is enabled
|
|
200
|
+
if not get_memory_watchdog_enabled():
|
|
201
|
+
logger.debug(
|
|
202
|
+
"Memory watchdog disabled by configuration - running task without monitoring"
|
|
203
|
+
)
|
|
204
|
+
return func(*args, **kwargs)
|
|
205
|
+
|
|
206
|
+
watchdog = MemoryWatchdog(
|
|
207
|
+
threshold=threshold,
|
|
208
|
+
check_interval=check_interval,
|
|
209
|
+
grace_period=grace_period,
|
|
210
|
+
)
|
|
211
|
+
watchdog.start()
|
|
212
|
+
try:
|
|
213
|
+
return func(*args, **kwargs)
|
|
214
|
+
except MemoryLimitExceeded as exc:
|
|
215
|
+
logger.error(
|
|
216
|
+
"Task terminated gracefully due to memory pressure: {}%",
|
|
217
|
+
exc.memory_percent,
|
|
218
|
+
)
|
|
219
|
+
raise
|
|
220
|
+
finally:
|
|
221
|
+
watchdog.stop()
|
|
222
|
+
|
|
223
|
+
return wrapper # type: ignore[return-value]
|
|
224
|
+
|
|
225
|
+
# If called without arguments, the first positional argument is the function
|
|
226
|
+
if _func is not None and callable(_func):
|
|
227
|
+
return decorator(_func)
|
|
228
|
+
|
|
229
|
+
return decorator
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
# -----------------------------------------------------------------------------
|
|
233
|
+
# Platform helpers – cgroup-aware memory measurement
|
|
234
|
+
# -----------------------------------------------------------------------------
|
|
235
|
+
|
|
236
|
+
# Docker / Kubernetes containers are usually memory-constrained via cgroups. If we only look at
|
|
237
|
+
# host-wide memory usage the watchdog will never fire, because the host may still have plenty of
|
|
238
|
+
# free RAM even though the container is about to be OOM-killed. The helpers below read the
|
|
239
|
+
# relevant cgroup files (v2 first, then v1) and compute the percentage of the *container limit* in
|
|
240
|
+
# use. When cgroup information is unavailable (e.g. running directly on the host) we return
|
|
241
|
+
# `None` and fall back to `psutil`.
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
def _cgroup_memory_percent() -> Optional[float]:
|
|
245
|
+
"""Return container memory usage as *percentage* of the cgroup limit or `None` when not
|
|
246
|
+
running inside a memory-limited cgroup."""
|
|
247
|
+
|
|
248
|
+
def _read(path: str) -> Optional[int]:
|
|
249
|
+
try:
|
|
250
|
+
with open(path, "r", encoding="utf-8") as fh:
|
|
251
|
+
raw = fh.read().strip()
|
|
252
|
+
if raw == "" or raw.lower() == "max": # v2 "max" means unlimited
|
|
253
|
+
return None
|
|
254
|
+
return int(raw)
|
|
255
|
+
except (FileNotFoundError, PermissionError, ValueError): # pragma: no cover
|
|
256
|
+
return None
|
|
257
|
+
|
|
258
|
+
# cgroups v2 (unified)
|
|
259
|
+
usage = _read("/sys/fs/cgroup/memory.current")
|
|
260
|
+
limit = _read("/sys/fs/cgroup/memory.max")
|
|
261
|
+
if usage is not None and limit and limit > 0:
|
|
262
|
+
return usage / limit * 100
|
|
263
|
+
|
|
264
|
+
# cgroups v1
|
|
265
|
+
usage = _read("/sys/fs/cgroup/memory/memory.usage_in_bytes")
|
|
266
|
+
limit = _read("/sys/fs/cgroup/memory/memory.limit_in_bytes")
|
|
267
|
+
if (
|
|
268
|
+
usage is not None and limit and 0 < limit < (1 << 60)
|
|
269
|
+
): # ignore enormous "unlimited" value
|
|
270
|
+
return usage / limit * 100
|
|
271
|
+
|
|
272
|
+
return None
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
def _system_memory_percent() -> float:
|
|
276
|
+
"""Best-effort *current* memory usage percentage for the running worker.
|
|
277
|
+
|
|
278
|
+
1. Use cgroup metrics when they are available and meaningful.
|
|
279
|
+
2. Fall back to host-wide `psutil.virtual_memory().percent` otherwise."""
|
|
280
|
+
|
|
281
|
+
cgroup_percent = _cgroup_memory_percent()
|
|
282
|
+
if cgroup_percent is not None:
|
|
283
|
+
return cgroup_percent
|
|
284
|
+
|
|
285
|
+
# Fall back to host memory usage
|
|
286
|
+
return psutil.virtual_memory().percent
|
|
@@ -57,6 +57,10 @@ class ExecutionSettings(FidesSettings):
|
|
|
57
57
|
default=300,
|
|
58
58
|
description="Seconds between polling for interrupted tasks to requeue",
|
|
59
59
|
)
|
|
60
|
+
privacy_request_requeue_retry_count: int = Field(
|
|
61
|
+
default=3,
|
|
62
|
+
description="The number of times a privacy request will be requeued when its tasks are interrupted before being marked as error",
|
|
63
|
+
)
|
|
60
64
|
use_dsr_3_0: bool = Field(
|
|
61
65
|
default=False,
|
|
62
66
|
description="Temporary flag to switch to using DSR 3.0 to process your tasks.",
|
|
@@ -77,4 +81,8 @@ class ExecutionSettings(FidesSettings):
|
|
|
77
81
|
default="US/Eastern",
|
|
78
82
|
description="The timezone to send batch emails for DSR email integration.",
|
|
79
83
|
)
|
|
84
|
+
memory_watchdog_enabled: bool = Field(
|
|
85
|
+
default=False,
|
|
86
|
+
description="Whether the memory watchdog is enabled to monitor and gracefully terminate tasks that approach memory limits.",
|
|
87
|
+
)
|
|
80
88
|
model_config = SettingsConfigDict(env_prefix=ENV_PREFIX)
|
fides/config/utils.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/d9924caa849931b3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d9924caa849931b3.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-90e8ec1fc5c6455b.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-750d6bd16c971bb9.js" defer=""></script><script src="/_next/static/chunks/pages/404-2d803dab6a00f353.js" defer=""></script><script src="/_next/static/MNlh9olWjgbqAHKyQY3LF/_buildManifest.js" defer=""></script><script src="/_next/static/MNlh9olWjgbqAHKyQY3LF/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/404","query":{},"buildId":"MNlh9olWjgbqAHKyQY3LF","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,e,t,a,c,n,i,d,o,r,p,u,g,f,m,j,b,k,h,y,l,v,I,F,x,_,U,w,q,N,A,S,B,C,z,D,E,L,M,T,P,G,H,J,K,O,Q){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[I,"static/chunks/pages/index-fbf9b845bb901238.js"],"/404":["static/chunks/pages/404-2d803dab6a00f353.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[I,"static/chunks/pages/add-systems-0902f0bb4080643e.js"],"/add-systems/manual":[s,e,t,c,p,a,i,u,b,F,x,"static/chunks/pages/add-systems/manual-2a655ff3a97f2492.js"],"/add-systems/multiple":[i,g,_,"static/chunks/pages/add-systems/multiple-8ff7f37913ad736a.js"],"/consent":["static/chunks/pages/consent-e17c56eec8d91371.js"],"/consent/configure":[i,g,"static/chunks/pages/consent/configure-0e1ca0f4c8e7f4da.js"],"/consent/configure/add-vendors":[i,g,_,"static/chunks/pages/consent/configure/add-vendors-d00c9034cdeb0236.js"],"/consent/privacy-experience":[p,U,"static/chunks/pages/consent/privacy-experience-21f997c69fc3b4c2.js"],"/consent/privacy-experience/new":[s,d,f,m,w,"static/chunks/pages/consent/privacy-experience/new-e74cb5ea87f15b40.js"],"/consent/privacy-experience/[id]":[s,d,f,m,w,"static/chunks/pages/consent/privacy-experience/[id]-f22ddd9b48a5c418.js"],"/consent/privacy-notices":[U,"static/chunks/pages/consent/privacy-notices-ad105181bc91209b.js"],"/consent/privacy-notices/new":[s,d,f,m,q,"static/chunks/pages/consent/privacy-notices/new-a57d251c88ce68ae.js"],"/consent/privacy-notices/[id]":[s,d,f,m,q,"static/chunks/pages/consent/privacy-notices/[id]-da4124b7600a2a1d.js"],"/consent/properties":[N,"static/chunks/pages/consent/properties-057cad65e7414a44.js"],"/consent/reporting":["static/chunks/2150-930ffaf2c4718edc.js","static/chunks/pages/consent/reporting-b0c4235fe6d0b0c8.js"],"/data-catalog":[s,e,t,a,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-7770a8dc34bd0fc0.js"],"/data-catalog/[systemId]/projects":[s,e,t,a,k,n,"static/chunks/pages/data-catalog/[systemId]/projects-29784a11fe0fbd0a.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[A,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-80a6cc8e8573514a.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,e,t,a,k,S,n,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-aad6047a4604b945.js"],"/data-catalog/[systemId]/resources":[A,"static/chunks/pages/data-catalog/[systemId]/resources-6c3714ee97a718c1.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,e,t,a,k,S,n,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-b6b98cea25dd94fa.js"],"/data-discovery/action-center":[h,"static/chunks/pages/data-discovery/action-center-ee3c0a103346fc06.js"],"/data-discovery/action-center/[monitorId]":[s,e,t,h,B,y,"static/chunks/pages/data-discovery/action-center/[monitorId]-92b0bd97d8e79340.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,e,t,i,b,h,B,"static/css/23cf870196941c9a.css","static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-3e5725cd06d7fe6c.js"],"/data-discovery/activity":[r,"static/chunks/pages/data-discovery/activity-ad6a84a6276f914c.js"],"/data-discovery/detection":[r,C,"static/chunks/pages/data-discovery/detection-2822a423a7ad0550.js"],"/data-discovery/detection/[resourceUrn]":[r,C,"static/chunks/pages/data-discovery/detection/[resourceUrn]-31e6c54794a9883e.js"],"/data-discovery/discovery":[s,e,t,a,r,z,n,"static/chunks/pages/data-discovery/discovery-56eb4c014f0d96a3.js"],"/data-discovery/discovery/[resourceUrn]":[s,e,t,a,r,z,n,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-f98dd251babb7e28.js"],"/datamap":[t,"static/chunks/255-1bc0cbef7a59cdc6.js",u,D,"static/chunks/pages/datamap-d23b3ae139f0428b.js"],"/dataset":[o,j,"static/chunks/pages/dataset-f3348d0a92543bab.js"],"/dataset/new":[o,j,"static/chunks/pages/dataset/new-0d50084fbdf9b84c.js"],"/dataset/[datasetId]":["static/chunks/9729-fcf6ff4e3534e4a8.js",l,"static/chunks/pages/dataset/[datasetId]-a8e8b5f4ee7af86c.js"],"/dataset/[datasetId]/[collectionName]":[s,e,t,c,a,l,n,"static/chunks/pages/dataset/[datasetId]/[collectionName]-0fa72873e464f581.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,e,t,c,a,l,n,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-15301bd6bf7cf718.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-3bd77864da523d41.js"],"/datastore-connection/new":[s,c,o,p,E,j,L,"static/chunks/pages/datastore-connection/new-c6614583b14dc9f2.js"],"/datastore-connection/[id]":[s,c,o,E,j,L,"static/chunks/pages/datastore-connection/[id]-7d6027570d05c57f.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",s,e,t,c,o,"static/chunks/5619-9b50cec521203989.js",M,"static/css/ab65b8cc3144bfc8.css","static/chunks/5596-4378b2927dae65b2.js","static/chunks/pages/fides-js-docs-1f4335dca5c09860.js"],"/integrations":[s,e,t,c,d,T,P,n,"static/chunks/pages/integrations-7f15cd8538cdc24d.js"],"/integrations/[id]":[s,e,t,c,d,T,P,n,"static/chunks/pages/integrations/[id]-8e346fb36e8034d2.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,e,"static/chunks/346-aa3b88efb85f2e28.js","static/chunks/pages/messaging-1bae386d8c190348.js"],"/messaging/add-template":[G,"static/chunks/pages/messaging/add-template-feca66ad5c5fe54a.js"],"/messaging/[id]":[G,"static/chunks/pages/messaging/[id]-5627d0d0668077f9.js"],"/poc/ant-components":["static/chunks/pages/poc/ant-components-64a322d01aae5ca7.js"],"/poc/form-experiments/AntForm":["static/chunks/pages/poc/form-experiments/AntForm-8bca16a7726e7eb2.js"],"/poc/form-experiments/FormikAntFormItem":["static/chunks/pages/poc/form-experiments/FormikAntFormItem-b0f246fc3b67ebf7.js"],"/poc/form-experiments/FormikControlled":["static/chunks/pages/poc/form-experiments/FormikControlled-1a0852b090bfc392.js"],"/poc/form-experiments/FormikField":["static/chunks/pages/poc/form-experiments/FormikField-11f3de1b45e36583.js"],"/poc/form-experiments/FormikSpreadField":[H,"static/chunks/pages/poc/form-experiments/FormikSpreadField-af097d661f6abcf4.js"],"/poc/forms":[H,"static/chunks/pages/poc/forms-1b73a1c2b6c6285f.js"],"/poc/table-migration":[i,g,"static/chunks/pages/poc/table-migration-05616e2ae20ff4f8.js"],"/privacy-requests":[s,"static/chunks/3550-d04125c828d591a1.js",J,"static/chunks/pages/privacy-requests-96a08c4431b5462c.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-e551a860ec727802.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-f1d818242d8550f8.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-d40a26bddb126c5c.js"],"/privacy-requests/[id]":[J,"static/css/8bc1833f1fa53ff0.css","static/chunks/pages/privacy-requests/[id]-79f1576b1126975c.js"],"/properties":[N,"static/chunks/pages/properties-e959378bb32b6b73.js"],"/properties/add-property":[K,"static/chunks/pages/properties/add-property-0bdbc1fcbf553b8f.js"],"/properties/[id]":[K,"static/chunks/pages/properties/[id]-dd99183f93763ae4.js"],"/reporting/datamap":[s,e,t,M,u,D,"static/chunks/pages/reporting/datamap-9d1840f8309b706e.js"],"/settings/about":["static/chunks/pages/settings/about-37ba24a72a06862e.js"],"/settings/about/alpha":["static/chunks/pages/settings/about/alpha-1066f0c202ef744c.js"],"/settings/consent":["static/chunks/pages/settings/consent-f61b87e79367865b.js"],"/settings/consent/[configuration_id]/[purpose_id]":["static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-e891d01ece59669e.js"],"/settings/custom-fields":["static/chunks/pages/settings/custom-fields-f8eea5d508c60c64.js"],"/settings/domain-records":["static/chunks/pages/settings/domain-records-51333dbd21cb37c8.js"],"/settings/domains":["static/chunks/pages/settings/domains-bde86e5f6c09da5a.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-4f9a5cc8bea7725b.js"],"/settings/locations":[O,y,"static/chunks/pages/settings/locations-ed6a140b362c5baa.js"],"/settings/organization":["static/chunks/pages/settings/organization-ff9a34264d48c35f.js"],"/settings/regulations":[O,y,"static/chunks/pages/settings/regulations-102efd9199e87124.js"],"/systems":["static/chunks/pages/systems-c05b49ddec1a1b4f.js"],"/systems/configure/[id]":[s,e,t,c,p,a,i,u,b,F,x,"static/chunks/pages/systems/configure/[id]-c8f5fbaa83dd9945.js"],"/systems/configure/[id]/test-datasets":[o,"static/chunks/pages/systems/configure/[id]/test-datasets-a4b6d41ca679298b.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",s,e,d,"static/chunks/6148-59a59d5c5925344f.js","static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-df0d88716578e295.js"],"/user-management":[v,"static/chunks/pages/user-management-e98dfc7d4f2a4e16.js"],"/user-management/new":[v,Q,"static/chunks/pages/user-management/new-de8cb3739ab99c09.js"],"/user-management/profile/[id]":[v,Q,"static/chunks/pages/user-management/profile/[id]-da68efc31998dc66.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/consent","/consent/configure","/consent/configure/add-vendors","/consent/privacy-experience","/consent/privacy-experience/new","/consent/privacy-experience/[id]","/consent/privacy-notices","/consent/privacy-notices/new","/consent/privacy-notices/[id]","/consent/properties","/consent/reporting","/data-catalog","/data-catalog/[systemId]/projects","/data-catalog/[systemId]/projects/[projectUrn]","/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]","/data-catalog/[systemId]/resources","/data-catalog/[systemId]/resources/[resourceUrn]","/data-discovery/action-center","/data-discovery/action-center/[monitorId]","/data-discovery/action-center/[monitorId]/[systemId]","/data-discovery/activity","/data-discovery/detection","/data-discovery/detection/[resourceUrn]","/data-discovery/discovery","/data-discovery/discovery/[resourceUrn]","/datamap","/dataset","/dataset/new","/dataset/[datasetId]","/dataset/[datasetId]/[collectionName]","/dataset/[datasetId]/[collectionName]/[...subfieldNames]","/datastore-connection","/datastore-connection/new","/datastore-connection/[id]","/fides-js-docs","/integrations","/integrations/[id]","/login","/login/[provider]","/messaging","/messaging/add-template","/messaging/[id]","/poc/ant-components","/poc/form-experiments/AntForm","/poc/form-experiments/FormikAntFormItem","/poc/form-experiments/FormikControlled","/poc/form-experiments/FormikField","/poc/form-experiments/FormikSpreadField","/poc/forms","/poc/table-migration","/privacy-requests","/privacy-requests/configure","/privacy-requests/configure/messaging","/privacy-requests/configure/storage","/privacy-requests/[id]","/properties","/properties/add-property","/properties/[id]","/reporting/datamap","/settings/about","/settings/about/alpha","/settings/consent","/settings/consent/[configuration_id]/[purpose_id]","/settings/custom-fields","/settings/domain-records","/settings/domains","/settings/email-templates","/settings/locations","/settings/organization","/settings/regulations","/systems","/systems/configure/[id]","/systems/configure/[id]/test-datasets","/taxonomy","/user-management","/user-management/new","/user-management/profile/[id]"]}}("static/chunks/8765-f622a35b40a7ec63.js","static/chunks/9278-08cc704317fe535e.js","static/chunks/5163-e682273cd76a7d07.js","static/chunks/409-ea70638a59296659.js","static/chunks/699-8ca44b0de9fa20f0.js","static/css/d2d4e9a6923e6730.css","static/chunks/401-3cc1fee61494e3bd.js","static/chunks/3662-f6a1ddca5ee42076.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/431-1db919f6569a4021.js","static/chunks/5277-e8a036319456127f.js","static/chunks/9951-7c6639e5d062779e.js","static/chunks/3923-13a6b4da2d51bf8f.js","static/chunks/6419-d0c00d661b01f8fa.js","static/chunks/6084-ddbad3149364725d.js","static/chunks/5574-9312f97b637d9ee2.js","static/chunks/6780-b42a27e72707936d.js","static/chunks/6882-59ea739e3616ce83.js","static/chunks/7725-539d3a906f627531.js","static/css/10994e916bc9a00a.css","static/chunks/9226-2dcac54ab3fb94be.js","static/chunks/7476-cc0d9a94ed7aad53.js","static/css/972dc7eef106ee7c.css","static/chunks/3450-69f4e16978971bb8.js","static/css/304c6f148886a8d4.css","static/chunks/796-3bdda2a7868464af.js","static/chunks/6853-d0190d2cca9dbde2.js","static/chunks/1817-b78b58ae3b75d75a.js","static/chunks/6954-ba98e778a5b45ebf.js","static/chunks/79-2aab56be75e16187.js","static/chunks/3872-0a0f0032ca39a93f.js","static/chunks/3855-509ca7ac99b5eada.js","static/chunks/8735-40caf91800a3610c.js","static/chunks/5309-d9a488457898263b.js","static/chunks/9046-7085a401297c5520.js","static/chunks/4230-114e31621c19ea69.js","static/chunks/1467-8808ec8836e033f9.js","static/chunks/4608-f16f281f2d05d963.js","static/chunks/9187-7438242f0d380bb0.js","static/chunks/1316-2606e19807c08aa5.js","static/chunks/6662-a9e54ead3dc53644.js","static/chunks/7630-b1c93688013ef013.js","static/chunks/2921-86f1547ac40a5cdf.js","static/chunks/203-cd78ea279cecba60.js","static/chunks/787-c57185ad89c4e288.js","static/chunks/9826-3c578665c6d3b21d.js","static/chunks/4121-877e19d3fa078c7b.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1316],{49819:function(e,t,r){var n=r(18911)();e.exports=n},26194:function(e,t,r){var n=r(49819),i=r(50098);e.exports=function(e,t){return e&&n(e,t,i)}},10228:function(e,t,r){var n=r(79867),i=r(78859),s=r(76747);e.exports=function(e,t,r){for(var a=-1,o=t.length,u={};++a<o;){var h=t[a],f=n(e,h);r(f,h)&&i(u,s(h,e),f)}return u}},78859:function(e,t,r){var n=r(71928),i=r(76747),s=r(42383),a=r(11611),o=r(37948);e.exports=function(e,t,r,u){if(!a(e))return e;t=i(t,e);for(var h=-1,f=t.length,l=f-1,c=e;null!=c&&++h<f;){var d=o(t[h]),p=r;if("__proto__"===d||"constructor"===d||"prototype"===d)break;if(h!=l){var g=c[d];void 0===(p=u?u(g,d,c):void 0)&&(p=a(g)?g:s(t[h+1])?[]:{})}n(c,d,p),c=c[d]}return e}},74833:function(e,t,r){var n=r(56127),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},18911:function(e){e.exports=function(e){return function(t,r,n){for(var i=-1,s=Object(t),a=n(t),o=a.length;o--;){var u=a[e?o:++i];if(!1===r(s[u],u,s))break}return t}}},56632:function(e,t,r){var n=r(89278),i=r(80068),s=r(50098);e.exports=function(e){return function(t,r,a){var o=Object(t);if(!i(t)){var u=n(r,3);t=s(t),r=function(e){return u(o[e],e,o)}}var h=e(t,r,a);return h>-1?o[u?t[h]:h]:void 0}}},56127:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},30454:function(e,t,r){var n=r(40699);e.exports=function(e){return n(e,5)}},64925:function(e,t,r){var n=r(56632)(r(66259));e.exports=n},66259:function(e,t,r){var n=r(95372),i=r(89278),s=r(47991),a=Math.max;e.exports=function(e,t,r){var o=null==e?0:e.length;if(!o)return -1;var u=null==r?0:s(r);return u<0&&(u=a(o+u,0)),n(e,i(t,3),u)}},90104:function(e,t,r){var n=r(20186),i=r(3533),s=r(2900),a=r(19785),o=r(80068),u=r(43854),h=r(56016),f=r(48519),l=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(o(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||f(e)||s(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(h(e))return!n(e).length;for(var r in e)if(l.call(e,r))return!1;return!0}},92465:function(e){e.exports=function(e){return void 0===e}},25389:function(e,t,r){var n=r(88799),i=r(26194),s=r(89278);e.exports=function(e,t){var r={};return t=s(t,3),i(e,function(e,i,s){n(r,i,t(e,i,s))}),r}},9799:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},15539:function(e,t,r){var n=r(89278),i=r(9799),s=r(71975);e.exports=function(e,t){return s(e,i(n(t)))}},71975:function(e,t,r){var n=r(66070),i=r(89278),s=r(10228),a=r(39759);e.exports=function(e,t){if(null==e)return{};var r=n(a(e),function(e){return[e]});return t=i(t),s(e,r,function(e,r){return t(e,r[0])})}},94919:function(e,t,r){var n=r(91936),i=1/0;e.exports=function(e){return e?(e=n(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},47991:function(e,t,r){var n=r(94919);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},91936:function(e,t,r){var n=r(74833),i=r(11611),s=r(55193),a=0/0,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=u.test(e);return r||h.test(e)?f(e.slice(2),r?2:8):o.test(e)?a:+e}},46381:function(e,t){var r,n,i;n=[],void 0!==(i="function"==typeof(r=function e(){var t,r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r?r:{},n=!r.document&&!!r.postMessage,i=r.IS_PAPA_WORKER||!1,s={},a=0,o={};function u(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(e){var t=v(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new d(t),(this._handle.streamer=this)._config=t}).call(this,e),this.parseChunk=function(e,t){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let t=this._config.newline;t||(s=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,s)),e=[...e.split(t).slice(n)].join(t)}this.isFirstChunk&&b(this._config.beforeFirstChunk)&&void 0!==(s=this._config.beforeFirstChunk(e))&&(e=s),this.isFirstChunk=!1,this._halted=!1;var n=this._partialLine+e,s=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=s.meta.cursor,this._finished||(this._partialLine=n.substring(e-this._baseIndex),this._baseIndex=e),s&&s.data&&(this._rowCount+=s.data.length),n=this._finished||this._config.preview&&this._rowCount>=this._config.preview,i)r.postMessage({results:s,workerId:o.WORKER_ID,finished:n});else if(b(this._config.chunk)&&!t){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=s=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!n||!b(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),n||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){b(this._config.error)?this._config.error(e):i&&this._config.error&&r.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function h(e){var t;(e=e||{}).chunkSize||(e.chunkSize=o.RemoteChunkSize),u.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e,r,i=this._config.downloadRequestHeaders;for(r in i)t.setRequestHeader(r,i[r])}this._config.chunkSize&&(e=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+e));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){let e;4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null!==(e=(e=t).getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(Error(e))}}function f(e){(e=e||{}).chunkSize||(e.chunkSize=o.LocalChunkSize),u.call(this,e);var t,r,n="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,n?((t=new FileReader).onload=k(this._chunkLoaded,this),t.onerror=k(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,i=(this._config.chunkSize&&(i=Math.min(this._start+this._config.chunkSize,this._input.size),e=r.call(e,this._start,i)),t.readAsText(e,this._config.encoding));n||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function l(e){var t;u.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,r;if(!this._finished)return t=(e=this._config.chunkSize)?(r=t.substring(0,e),t.substring(e)):(r=t,""),this._finished=!t,this.parseChunk(r)}}function c(e){u.call(this,e=e||{});var t=[],r=!0,n=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=k(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=k(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=k(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=k(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function d(e){var t,r,n,i,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,a=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,u=this,h=0,f=0,l=!1,c=!1,d=[],_={data:[],errors:[],meta:{}};function m(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function y(){if(_&&n&&(E("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),n=!1),e.skipEmptyLines&&(_.data=_.data.filter(function(e){return!m(e)})),k()){if(_){if(Array.isArray(_.data[0])){for(var t,r=0;k()&&r<_.data.length;r++)_.data[r].forEach(i);_.data.splice(0,1)}else _.data.forEach(i)}function i(t,r){b(e.transformHeader)&&(t=e.transformHeader(t,r)),d.push(t)}}function u(t,r){for(var n=e.header?{}:[],i=0;i<t.length;i++){let r,h;var o=i,u=t[i],u=(r=o=e.header?i>=d.length?"__parsed_extra":d[i]:o,h=u=e.transform?e.transform(u,o):u,(e.dynamicTypingFunction&&void 0===e.dynamicTyping[r]&&(e.dynamicTyping[r]=e.dynamicTypingFunction(r)),!0===(e.dynamicTyping[r]||e.dynamicTyping))?"true"===h||"TRUE"===h||"false"!==h&&"FALSE"!==h&&((e=>{if(s.test(e)&&-9007199254740992<(e=parseFloat(e))&&e<9007199254740992)return 1})(h)?parseFloat(h):a.test(h)?new Date(h):""===h?null:h):h);"__parsed_extra"===o?(n[o]=n[o]||[],n[o].push(u)):n[o]=u}return e.header&&(i>d.length?E("FieldMismatch","TooManyFields","Too many fields: expected "+d.length+" fields but parsed "+i,f+r):i<d.length&&E("FieldMismatch","TooFewFields","Too few fields: expected "+d.length+" fields but parsed "+i,f+r)),n}_&&(e.header||e.dynamicTyping||e.transform)&&(t=1,!_.data.length||Array.isArray(_.data[0])?(_.data=_.data.map(u),t=_.data.length):_.data=u(_.data,0),e.header&&_.meta&&(_.meta.fields=d),f+=t)}function k(){return e.header&&0===d.length}function E(e,t,r,n){e={type:e,code:t,message:r},void 0!==n&&(e.row=n),_.errors.push(e)}b(e.step)&&(i=e.step,e.step=function(t){_=t,k()?y():(y(),0!==_.data.length&&(h+=t.data.length,e.preview&&h>e.preview?r.abort():(_.data=_.data[0],i(_,u))))}),this.parse=function(i,s,a){var u=e.quoteChar||'"',u=(e.newline||(e.newline=this.guessLineEndings(i,u)),n=!1,e.delimiter?b(e.delimiter)&&(e.delimiter=e.delimiter(i),_.meta.delimiter=e.delimiter):((u=((t,r,n,i,s)=>{var a,u,h,f;s=s||[","," ","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var l=0;l<s.length;l++){for(var c,d=s[l],p=0,_=0,y=0,v=(h=void 0,new g({comments:i,delimiter:d,newline:r,preview:10}).parse(t)),k=0;k<v.data.length;k++)n&&m(v.data[k])?y++:(_+=c=v.data[k].length,void 0===h?h=c:0<c&&(p+=Math.abs(c-h),h=c));0<v.data.length&&(_/=v.data.length-y),(void 0===u||p<=u)&&(void 0===f||f<_)&&1.99<_&&(u=p,a=d,f=_)}return{successful:!!(e.delimiter=a),bestDelimiter:a}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=u.bestDelimiter:(n=!0,e.delimiter=o.DefaultDelimiter),_.meta.delimiter=e.delimiter),v(e));return e.preview&&e.header&&u.preview++,t=i,_=(r=new g(u)).parse(t,s,a),y(),l?{meta:{paused:!0}}:_||{meta:{paused:!1}}},this.paused=function(){return l},this.pause=function(){l=!0,r.abort(),t=b(e.chunk)?"":t.substring(r.getCharIndex())},this.resume=function(){u.streamer._halted?(l=!1,u.streamer.parseChunk(t,!0)):setTimeout(u.resume,3)},this.aborted=function(){return c},this.abort=function(){c=!0,r.abort(),_.meta.aborted=!0,b(e.complete)&&e.complete(_),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);var t=RegExp(p(t)+"([^]*?)"+p(t),"gm"),r=(e=e.replace(t,"")).split("\r"),t=e.split("\n"),e=1<t.length&&t[0].length<r[0].length;if(1===r.length||e)return"\n";for(var n=0,i=0;i<r.length;i++)"\n"===r[i][0]&&n++;return n>=r.length/2?"\r\n":"\r"}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(e){var t=(e=e||{}).delimiter,r=e.newline,n=e.comments,i=e.step,s=e.preview,a=e.fastMode,u=null,h=!1,f=null==e.quoteChar?'"':e.quoteChar,l=f;if(void 0!==e.escapeChar&&(l=e.escapeChar),("string"!=typeof t||-1<o.BAD_DELIMITERS.indexOf(t))&&(t=","),n===t)throw Error("Comment character same as delimiter");!0===n?n="#":("string"!=typeof n||-1<o.BAD_DELIMITERS.indexOf(n))&&(n=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var c=0,d=!1;this.parse=function(o,g,_){if("string"!=typeof o)throw Error("Input must be a string");var m=o.length,y=t.length,v=r.length,k=n.length,E=b(i),w=[],x=[],R=[],C=c=0;if(!o)return P();if(a||!1!==a&&-1===o.indexOf(f)){for(var O=o.split(r),S=0;S<O.length;S++){if(R=O[S],c+=R.length,S!==O.length-1)c+=r.length;else if(_)break;if(!n||R.substring(0,k)!==n){if(E){if(w=[],F(R.split(t)),U(),d)return P()}else F(R.split(t));if(s&&s<=S)return w=w.slice(0,s),P(!0)}}return P()}for(var I=o.indexOf(t,c),A=o.indexOf(r,c),T=RegExp(p(l)+p(f),"g"),D=o.indexOf(f,c);;)if(o[c]===f)for(D=c,c++;;){if(-1===(D=o.indexOf(f,D+1)))return _||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:w.length,index:c}),z();if(D===m-1)return z(o.substring(c,D).replace(T,f));if(f===l&&o[D+1]===l)D++;else if(f===l||0===D||o[D-1]!==l){-1!==I&&I<D+1&&(I=o.indexOf(t,D+1));var L=j(-1===(A=-1!==A&&A<D+1?o.indexOf(r,D+1):A)?I:Math.min(I,A));if(o.substr(D+1+L,y)===t){R.push(o.substring(c,D).replace(T,f)),o[c=D+1+L+y]!==f&&(D=o.indexOf(f,c)),I=o.indexOf(t,c),A=o.indexOf(r,c);break}if(L=j(A),o.substring(D+1+L,D+1+L+v)===r){if(R.push(o.substring(c,D).replace(T,f)),M(D+1+L+v),I=o.indexOf(t,c),D=o.indexOf(f,c),E&&(U(),d))return P();if(s&&w.length>=s)return P(!0);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:w.length,index:c}),D++}}else if(n&&0===R.length&&o.substring(c,c+k)===n){if(-1===A)return P();c=A+v,A=o.indexOf(r,c),I=o.indexOf(t,c)}else if(-1!==I&&(I<A||-1===A))R.push(o.substring(c,I)),c=I+y,I=o.indexOf(t,c);else{if(-1===A)break;if(R.push(o.substring(c,A)),M(A+v),E&&(U(),d))return P();if(s&&w.length>=s)return P(!0)}return z();function F(e){w.push(e),C=c}function j(e){return -1!==e&&(e=o.substring(D+1,e))&&""===e.trim()?e.length:0}function z(e){return _||(void 0===e&&(e=o.substring(c)),R.push(e),c=m,F(R),E&&U()),P()}function M(e){c=e,F(R),R=[],A=o.indexOf(r,c)}function P(n){if(e.header&&!g&&w.length&&!h){var i=w[0],s=Object.create(null),a=new Set(i);let t=!1;for(let r=0;r<i.length;r++){let n=i[r];if(s[n=b(e.transformHeader)?e.transformHeader(n,r):n]){let e,o=s[n];for(;e=n+"_"+o,o++,a.has(e););a.add(e),i[r]=e,s[n]++,t=!0,(u=null===u?{}:u)[e]=n}else s[n]=1,i[r]=n;a.add(n)}t&&console.warn("Duplicate headers found and renamed."),h=!0}return{data:w,errors:x,meta:{delimiter:t,linebreak:r,aborted:d,truncated:!!n,cursor:C+(g||0),renamedHeaders:u}}}function U(){i(P()),w=[],x=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return c}}function _(e){var t=e.data,r=s[t.workerId],n=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){n=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(b(r.userStep)){for(var a=0;a<t.results.data.length&&(r.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},i),!n);a++);delete t.results}else b(r.userChunk)&&(r.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!n&&m(t.workerId,t.results)}function m(e,t){var r=s[e];b(r.userComplete)&&r.userComplete(t),r.terminate(),delete s[e]}function y(){throw Error("Not implemented.")}function v(e){if("object"!=typeof e||null===e)return e;var t,r=Array.isArray(e)?[]:{};for(t in e)r[t]=v(e[t]);return r}function k(e,t){return function(){e.apply(t,arguments)}}function b(e){return"function"==typeof e}return o.parse=function(t,n){var i,u,d,p=(n=n||{}).dynamicTyping||!1;if(b(p)&&(n.dynamicTypingFunction=p,p={}),n.dynamicTyping=p,n.transform=!!b(n.transform)&&n.transform,!n.worker||!o.WORKERS_SUPPORTED){let e;return p=null,o.NODE_STREAM_INPUT,"string"==typeof t?(t=65279!==(e=t).charCodeAt(0)?e:e.slice(1),p=new(n.download?h:l)(n)):!0===t.readable&&b(t.read)&&b(t.on)?p=new c(n):(r.File&&t instanceof File||t instanceof Object)&&(p=new f(n)),p.stream(t)}(p=!!o.WORKERS_SUPPORTED&&(u=r.URL||r.webkitURL||null,d=e.toString(),i=o.BLOB_URL||(o.BLOB_URL=u.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",d,")();"],{type:"text/javascript"}))),(i=new r.Worker(i)).onmessage=_,i.id=a++,s[i.id]=i)).userStep=n.step,p.userChunk=n.chunk,p.userComplete=n.complete,p.userError=n.error,n.step=b(n.step),n.chunk=b(n.chunk),n.complete=b(n.complete),n.error=b(n.error),delete n.worker,p.postMessage({input:t,config:n,workerId:p.id})},o.unparse=function(e,t){var r=!1,n=!0,i=",",s="\r\n",a='"',u=a+a,h=!1,f=null,l=!1,c=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||o.BAD_DELIMITERS.filter(function(e){return -1!==t.delimiter.indexOf(e)}).length||(i=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(h=t.skipEmptyLines),"string"==typeof t.newline&&(s=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(n=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw Error("Option columns is empty");f=t.columns}void 0!==t.escapeChar&&(u=t.escapeChar+a),t.escapeFormulae instanceof RegExp?l=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(l=/^[=+\-@\t\r].*$/)}})(),RegExp(p(a),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return d(null,e,h);if("object"==typeof e[0])return d(f||Object.keys(e[0]),e,h)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||f),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),d(e.fields||[],e.data||[],h);throw Error("Unable to serialize unrecognized input");function d(e,t,r){var a="",o=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),u=!Array.isArray(t[0]);if(o&&n){for(var h=0;h<e.length;h++)0<h&&(a+=i),a+=g(e[h],h);0<t.length&&(a+=s)}for(var f=0;f<t.length;f++){var l=(o?e:t[f]).length,c=!1,d=o?0===Object.keys(t[f]).length:0===t[f].length;if(r&&!o&&(c="greedy"===r?""===t[f].join("").trim():1===t[f].length&&0===t[f][0].length),"greedy"===r&&o){for(var p=[],_=0;_<l;_++){var m=u?e[_]:_;p.push(t[f][m])}c=""===p.join("").trim()}if(!c){for(var y=0;y<l;y++){0<y&&!d&&(a+=i);var v=o&&u?e[y]:y;a+=g(t[f][v],y)}f<t.length-1&&(!r||0<l&&!d)&&(a+=s)}}return a}function g(e,t){var n,s;return null==e?"":e.constructor===Date?JSON.stringify(e).slice(1,25):(s=!1,l&&"string"==typeof e&&l.test(e)&&(e="'"+e,s=!0),n=e.toString().replace(c,u),(s=s||!0===r||"function"==typeof r&&r(e,t)||Array.isArray(r)&&r[t]||((e,t)=>{for(var r=0;r<t.length;r++)if(-1<e.indexOf(t[r]))return!0;return!1})(n,o.BAD_DELIMITERS)||-1<n.indexOf(i)||" "===n.charAt(0)||" "===n.charAt(n.length-1))?a+n+a:n)}},o.RECORD_SEP="\x1e",o.UNIT_SEP="\x1f",o.BYTE_ORDER_MARK="\uFEFF",o.BAD_DELIMITERS=["\r","\n",'"',o.BYTE_ORDER_MARK],o.WORKERS_SUPPORTED=!n&&!!r.Worker,o.NODE_STREAM_INPUT=1,o.LocalChunkSize=10485760,o.RemoteChunkSize=5242880,o.DefaultDelimiter=",",o.Parser=g,o.ParserHandle=d,o.NetworkStreamer=h,o.FileStreamer=f,o.StringStreamer=l,o.ReadableStreamStreamer=c,r.jQuery&&((t=r.jQuery).fn.parse=function(e){var n=e.config||{},i=[];return this.each(function(e){if(!("INPUT"===t(this).prop("tagName").toUpperCase()&&"file"===t(this).attr("type").toLowerCase()&&r.FileReader)||!this.files||0===this.files.length)return!0;for(var s=0;s<this.files.length;s++)i.push({file:this.files[s],inputElem:this,instanceConfig:t.extend({},n)})}),s(),this;function s(){if(0===i.length)b(e.complete)&&e.complete();else{var r,n,s,u,h=i[0];if(b(e.before)){var f=e.before(h.file,h.inputElem);if("object"==typeof f){if("abort"===f.action)return r="AbortError",n=h.file,s=h.inputElem,u=f.reason,void(b(e.error)&&e.error({name:r},n,s,u));if("skip"===f.action)return void a();"object"==typeof f.config&&(h.instanceConfig=t.extend(h.instanceConfig,f.config))}else if("skip"===f)return void a()}var l=h.instanceConfig.complete;h.instanceConfig.complete=function(e){b(l)&&l(e,h.file,h.inputElem),a()},o.parse(h.file,h.instanceConfig)}}function a(){i.splice(0,1),s()}}),i&&(r.onmessage=function(e){e=e.data,void 0===o.WORKER_ID&&e&&(o.WORKER_ID=e.workerId),"string"==typeof e.input?r.postMessage({workerId:o.WORKER_ID,results:o.parse(e.input,e.config),finished:!0}):(r.File&&e.input instanceof File||e.input instanceof Object)&&(e=o.parse(e.input,e.config))&&r.postMessage({workerId:o.WORKER_ID,results:e,finished:!0})}),(h.prototype=Object.create(u.prototype)).constructor=h,(f.prototype=Object.create(u.prototype)).constructor=f,(l.prototype=Object.create(l.prototype)).constructor=l,(c.prototype=Object.create(u.prototype)).constructor=c,o})?r.apply(t,n):r)&&(e.exports=i)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1467],{96586:function(t,e,r){var n=r(57753),o=r(82452),i=r(22115),a=r(38256),u=r(67426);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},36301:function(t,e,r){var n=r(69417),o=r(72470),i=r(66165),a=r(71873),u=r(52556);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},44538:function(t,e,r){var n=r(81822)(r(77400),"Map");t.exports=n},74554:function(t,e,r){var n=r(39448),o=r(7738),i=r(66575),a=r(7238),u=r(38738);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},46151:function(t,e,r){var n=r(81822)(r(77400),"Set");t.exports=n},93382:function(t,e,r){var n=r(85638);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1}},46729:function(t,e,r){var n=r(28338),o=r(99678),i=r(11611),a=r(76532),u=/^\[object .+?Constructor\]$/,s=Object.prototype,l=Function.prototype.toString,c=s.hasOwnProperty,d=RegExp("^"+l.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?d:u).test(a(t))}},64937:function(t,e,r){var n=r(77400)["__core-js_shared__"];t.exports=n},95899:function(t,e,r){var n=r(54479);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},81822:function(t,e,r){var n=r(46729),o=r(15371);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},15371:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},57753:function(t,e,r){var n=r(35718);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},82452:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},22115:function(t,e,r){var n=r(35718),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},38256:function(t,e,r){var n=r(35718),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},67426:function(t,e,r){var n=r(35718);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},54479:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},99678:function(t,e,r){var n,o=r(64937),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},69417:function(t){t.exports=function(){this.__data__=[],this.size=0}},72470:function(t,e,r){var n=r(93382),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},66165:function(t,e,r){var n=r(93382);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},71873:function(t,e,r){var n=r(93382);t.exports=function(t){return n(this.__data__,t)>-1}},52556:function(t,e,r){var n=r(93382);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},39448:function(t,e,r){var n=r(96586),o=r(36301),i=r(44538);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},7738:function(t,e,r){var n=r(95899);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},66575:function(t,e,r){var n=r(95899);t.exports=function(t){return n(this,t).get(t)}},7238:function(t,e,r){var n=r(95899);t.exports=function(t){return n(this,t).has(t)}},38738:function(t,e,r){var n=r(95899);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},35718:function(t,e,r){var n=r(81822)(Object,"create");t.exports=n},76532:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},30454:function(t,e,r){var n=r(40699);t.exports=function(t){return n(t,5)}},85638:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},28338:function(t,e,r){var n=r(99736),o=r(11611);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},11611:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},76737:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{default:function(){return u},noSSR:function(){return a}});let n=r(51538);r(24246),r(27378);let o=n._(r(21887));function i(t){return{default:(null==t?void 0:t.default)||t}}function a(t,e){return delete e.webpack,delete e.modules,t(e)}function u(t,e){let r=o.default,n={loading:t=>{let{error:e,isLoading:r,pastDelay:n}=t;return null}};t instanceof Promise?n.loader=()=>t:"function"==typeof t?n.loader=t:"object"==typeof t&&(n={...n,...t});let u=(n={...n,...e}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=u?u().then(i):Promise.resolve(i(()=>null))}):(delete n.webpack,delete n.modules,a(r,n))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},28438:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(51538)._(r(27378)).default.createContext(null)},21887:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return f}});let n=r(51538)._(r(27378)),o=r(28438),i=[],a=[],u=!1;function s(t){let e=t(),r={loading:!0,loaded:null,error:null};return r.promise=e.then(t=>(r.loading=!1,r.loaded=t,t)).catch(t=>{throw r.loading=!1,r.error=t,t}),r}class l{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:t,_opts:e}=this;t.loading&&("number"==typeof e.delay&&(0===e.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},e.delay)),"number"==typeof e.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},e.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(t=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(t){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...t},this._callbacks.forEach(t=>t())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(t){return this._callbacks.add(t),()=>{this._callbacks.delete(t)}}constructor(t,e){this._loadFn=t,this._opts=e,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(t){return function(t,e){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},e),i=null;function s(){if(!i){let e=new l(t,r);i={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return i.promise()}if(!u){let t=r.webpack?r.webpack():r.modules;t&&a.push(e=>{for(let r of t)if(e.includes(r))return s()})}function c(t,e){!function(){s();let t=n.default.useContext(o.LoadableContext);t&&Array.isArray(r.modules)&&r.modules.forEach(e=>{t(e)})}();let a=n.default.useSyncExternalStore(i.subscribe,i.getCurrentValue,i.getCurrentValue);return n.default.useImperativeHandle(e,()=>({retry:i.retry}),[]),n.default.useMemo(()=>{var e;return a.loading||a.error?n.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:i.retry}):a.loaded?n.default.createElement((e=a.loaded)&&e.default?e.default:e,t):null},[t,a])}return c.preload=()=>s(),c.displayName="LoadableComponent",n.default.forwardRef(c)}(s,t)}function d(t,e){let r=[];for(;t.length;){let n=t.pop();r.push(n(e))}return Promise.all(r).then(()=>{if(t.length)return d(t,e)})}c.preloadAll=()=>new Promise((t,e)=>{d(i).then(t,e)}),c.preloadReady=t=>(void 0===t&&(t=[]),new Promise(e=>{let r=()=>(u=!0,e());d(a,t).then(r,r)})),window.__NEXT_PRELOADREADY=c.preloadReady;let f=c},65218:function(t,e,r){t.exports=r(76737)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var i=n(24246),o=n(13577),r=n(34090),a=n(86677),s=n(27378),l=n(55484),c=n(16134),d=n(812);let u=(0,o.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,i.jsx)("path",{fill:"currentColor",d:"M20.5556 4.05556H3.44444C3.10833 4.05556 2.83333 4.33056 2.83333 4.66667V12H21.1667V4.66667C21.1667 4.33056 20.8917 4.05556 20.5556 4.05556ZM23 12V13.8333V15.6667C23 17.0149 21.9038 18.1111 20.5556 18.1111H14.9142L15.2198 19.9445H17.1944C17.7024 19.9445 18.1111 20.3531 18.1111 20.8611C18.1111 21.3691 17.7024 21.7778 17.1944 21.7778H14.4444H9.55556H6.80556C6.29757 21.7778 5.88889 21.3691 5.88889 20.8611C5.88889 20.3531 6.29757 19.9445 6.80556 19.9445H8.78021L9.08576 18.1111H3.44444C2.09618 18.1111 1 17.0149 1 15.6667V13.8333V12V4.66667C1 3.31841 2.09618 2.22223 3.44444 2.22223H20.5556C21.9038 2.22223 23 3.31841 23 4.66667V12ZM2.83333 13.8333V15.6667C2.83333 16.0028 3.10833 16.2778 3.44444 16.2778H10.1476C10.159 16.2778 10.1705 16.2778 10.1781 16.2778H13.8142C13.8257 16.2778 13.8372 16.2778 13.8448 16.2778H20.5556C20.8917 16.2778 21.1667 16.0028 21.1667 15.6667V13.8333H2.83333ZM10.6365 19.9445H13.3597L13.0542 18.1111H10.942L10.6365 19.9445Z"})}),p=(0,o.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,i.jsx)("path",{fill:"currentColor",d:"M6.5 20.25C6.5 20.6281 6.80938 20.9375 7.1875 20.9375H16.8125C17.1906 20.9375 17.5 20.6281 17.5 20.25V16.8125H6.5V20.25ZM6.5 14.75H17.5V3.75C17.5 3.37188 17.1906 3.0625 16.8125 3.0625H7.1875C6.80938 3.0625 6.5 3.37188 6.5 3.75V14.75ZM4.4375 3.75C4.4375 2.2332 5.6707 1 7.1875 1H16.8125C18.3293 1 19.5625 2.2332 19.5625 3.75V20.25C19.5625 21.7668 18.3293 23 16.8125 23H7.1875C5.6707 23 4.4375 21.7668 4.4375 20.25V3.75ZM12 17.8438C12.2735 17.8438 12.5358 17.9524 12.7292 18.1458C12.9226 18.3392 13.0312 18.6015 13.0312 18.875C13.0312 19.1485 12.9226 19.4108 12.7292 19.6042C12.5358 19.7976 12.2735 19.9062 12 19.9062C11.7265 19.9062 11.4642 19.7976 11.2708 19.6042C11.0774 19.4108 10.9688 19.1485 10.9688 18.875C10.9688 18.6015 11.0774 18.3392 11.2708 18.1458C11.4642 17.9524 11.7265 17.8438 12 17.8438Z"})});var _=n(77830),v=n(46628),f=n(7426),m=n(60325);let h={language:{label:"Language",validation:l.Z_()},title:{label:"Title",validation:l.Z_()},description:{label:"Description",validation:l.Z_()},accept_button_label:{label:"Accept button label",validation:l.Z_()},reject_button_label:{label:"Reject button label",validation:l.Z_()},save_button_label:{label:"Save button label",validation:l.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:l.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:l.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:l.Z_()},banner_title:{label:"Banner title",validation:l.Z_()},banner_description:{label:"Banner description",validation:l.Z_()},purpose_header:{label:"Purpose header",validation:l.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:l.Z_()},modal_link_label:{label:"Modal link label",validation:l.Z_()},is_default:{label:"Default language",validation:l.O7()}};var g=n(34334),y=n(13083),b=n.n(y),x=n(43218),S=n.n(x),w=n(52253),C=n(32885),j=n(54682);let R={language:j.eU.EN,accept_button_label:"Accept",acknowledge_button_label:"OK",banner_description:"",banner_title:"",purpose_header:"",description:"Description",privacy_policy_link_label:"",privacy_policy_url:"",modal_link_label:"",privacy_preferences_link_label:"Privacy preferences",reject_button_label:"Reject All",save_button_label:"Save",title:"Manage your consent preferences",is_default:!0},F=e=>({...R,...e.translations?e.translations[0]:{}}),A=(e,t)=>{var n,i,o,r;let a={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(i=e.translations)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:w.Vk,preventDismissal:null!==(r=e.dismissable)&&void 0!==r&&r,privacyCenterUrl:"http://localhost:3000",showFidesBrandLink:!0},experience:{available_locales:null===(o=e.translations)||void 0===o?void 0:o.map(e=>e.language),component:e.component,experience_config:{allow_language_selection:!0,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:j.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[F(e)]},id:"pri_111",privacy_notices:t,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===j.re.TCF_OVERLAY&&(a.options.fidesTcfGdprApplies=!0,a.options.tcf_enabled=!0,a.geolocation={location:"eea",country:"eea"},a.experience.experience_config.regions=["eea"],a.experience={...a.experience,region:"eea",minimal_tcf:!0,gvl:{vendors:{}},tcf_purpose_names:["Store and/or access information on a device","Use limited data to select advertising","Create profiles for personalised advertising","Use profiles to select personalised advertising","Create profiles to personalise content","Use profiles to select personalised content","Measure advertising performance","Measure content performance","Understand audiences through statistics or combinations of data from different sources","Develop and improve services","Use limited data to select content"]},a.options.apiOptions={getPrivacyExperienceFn:async()=>a.experience}),a},k=e=>{let{language:t,is_default:n,...i}=R,o=Object.keys(i).map(t=>{let n=e[t];return{[t]:void 0!==n?n:R[t]}}).reduce((e,t)=>({...e,...t}),{});return{language:e.language,is_default:e.is_default,...o}},O=(e,t,n)=>e?e.map(e=>n.find(t=>(null==t?void 0:t.id)===e)).map(e=>t===j.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e):[];var T=n(74022),E=n(32222);let V=e=>{let{title:t,description:n}=e;return(0,i.jsx)(o.jqI,{className:"h-full items-center justify-center",children:(0,i.jsxs)(o.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:T.Z.colors.white,boxShadow:T.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,i.jsx)(o.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:t}),(0,i.jsx)(o.xvT,{color:"gray.500",align:"center",children:n})]})})};var z=e=>{var t,n;let{allPrivacyNotices:l,initialValues:c,translation:d,isMobilePreview:u}=e,p=(0,a.useRouter)().pathname.includes("/new"),{values:_}=(0,r.u6)(),[v,f]=(0,s.useState)([]),[m,h]=(0,s.useState)(!1),[g,y]=(0,s.useState)(),x=[j.re.BANNER_AND_MODAL,j.re.MODAL,j.re.TCF_OVERLAY].includes(_.component),{data:R}=(0,C.de)({pageIndex:1,pageSize:1}),F=(0,s.useMemo)(()=>(null==R?void 0:R.total)||0,[null==R?void 0:R.total]);(0,s.useEffect)(()=>{var e,t;return x&&m&&window.FidesPreview&&_.component&&((null===(e=_.privacy_notice_ids)||void 0===e?void 0:e.length)||_.component===j.re.TCF_OVERLAY)?_.component===j.re.TCF_OVERLAY?(window.FidesPreview("tcf"),y("tcf")):(window.FidesPreview("standard"),y("standard")):window.FidesPreview&&(null===(t=window.FidesPreview)||void 0===t||t.cleanup()),()=>{var e;y(void 0),null===(e=window.FidesPreview)||void 0===e||e.cleanup()}},[_.component,m,x,null===(t=_.privacy_notice_ids)||void 0===t?void 0:t.length,p]),(0,s.useEffect)(()=>{c&&_.component&&l&&(_.privacy_notice_ids?f(O(_.privacy_notice_ids,_.component,l)):f([]))},[_.privacy_notice_ids,l,_.component,c]);let T=(0,s.useMemo)(()=>_.component?A({...c,component:_.component},v):null,[c,v,_.component]);(0,s.useEffect)(()=>{var e,t,n,i;if(!x||!m||!window.FidesPreview||!window.Fides||!(null===(e=_.privacy_notice_ids)||void 0===e?void 0:e.length)&&_.component!==j.re.TCF_OVERLAY)return;_.component===j.re.MODAL&&(T.experience.experience_config.component=j.re.MODAL);let o=null===(t=_.translations)||void 0===t?void 0:t.find(e=>e.language===(null==d?void 0:d.language));(null===(n=_.translations)||void 0===n?void 0:n.length)&&(o?(T.experience.available_locales=[...T.experience.available_locales||[],o.language],T.experience.experience_config.translations[0]=k(o),T.options.fidesLocale=o.language):_.translations&&(T.experience.experience_config.translations[0]=k(_.translations[0]),T.options.fidesLocale=_.translations[0].language)),T.experience.experience_config.show_layer1_notices=!!(null===(i=_.privacy_notice_ids)||void 0===i?void 0:i.length)&&!!_.show_layer1_notices,T.experience.experience_config.layer1_button_options=(_.component===j.re.BANNER_AND_MODAL||_.component===j.re.TCF_OVERLAY)&&_.layer1_button_options?_.layer1_button_options:j.Of.OPT_IN_OPT_OUT,T.options.preventDismissal=!_.dismissable,T.experience.vendor_count=F,T.experience.experience_config.component=_.component,window.Fides.init(T)},[d,T,l,x,F,m,g,_.privacy_notice_ids,_.component,_.translations,_.show_layer1_notices,_.layer1_button_options,_.dismissable,c,v]);let z=document.getElementById("fides-modal");return(z&&z.removeAttribute("tabindex"),_.component)?x?(null===(n=_.privacy_notice_ids)||void 0===n?void 0:n.length)||_.component===j.re.TCF_OVERLAY?(0,i.jsxs)(o.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,i.jsx)(b(),{id:"4b2ec2183c5a567e",dynamic:[w.Vk,_.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(w.Vk,"{width:100%;padding-top:45px;").concat(_.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""," margin: auto;pointer-events:none}div#fides-banner-container{position:static!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}div#fides-banner-container.fides-banner-hidden{display:none}.fides-modal-container{background-color:unset!important;position:static!important;display:none!important}.fides-modal-overlay{background-color:inherit!important;position:static!important;display:none!important}div.fides-modal-content{position:relative!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;left:initial!important;top:initial!important}div.fides-modal-footer{width:unset}")}),x?(0,i.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(_.component===j.re.BANNER_AND_MODAL||_.component===j.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,u?(0,i.jsx)("style",{children:"\n div#fides-overlay-wrapper {\n max-width: 400px;\n margin: auto;\n }\n div.fides-modal-button-group {\n flex-direction: column !important;\n }\n div#fides-banner {\n padding: 24px;\n width: 100%;\n }\n\n div#fides-banner-description {\n margin-bottom: 0px;\n }\n\n div#fides-banner-inner div#fides-button-group {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n padding-top: 24px;\n }\n\n .fides-banner-button-group {\n flex-direction: column;\n width: 100%;\n }\n\n button.fides-banner-button {\n margin: 0px;\n width: 100%;\n }\n\n div#fides-banner-inner-container {\n display: flex;\n flex-direction: column;\n max-height: 50vh;\n overflow-y: auto;\n scrollbar-gutter: stable;\n }\n\n div#fides-privacy-policy-link {\n order: 1;\n width: 100%;\n }\n .fides-modal-footer {\n max-width: 100%;\n }\n .fides-banner-secondary-actions {\n flex-direction: column-reverse;\n gap: 12px;\n }\n "}):(0,i.jsx)("style",{children:"\n div#fides-banner {\n width: 60%;\n }\n @media (min-width: 768px) {\n div#fides-banner {\n width: 100%;\n }\n }\n @media (min-width: 1155px) {\n div#fides-banner {\n width: 90%;\n }\n }\n @media (min-width: 1440px) {\n div#fides-banner {\n width: 60%;\n }\n }\n "}),(0,i.jsx)(S(),{id:"fides-js-script",src:"/lib/fides-preview.js",onReady:()=>{h(!0)}}),(0,i.jsx)("div",{id:w.Vk,"data-a11y-dialog-ignore-focus-trap":"",inert:"",className:b().dynamic([["4b2ec2183c5a567e",[w.Vk,_.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])},_.component)]}):(0,i.jsx)(V,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,i.jsx)(V,{title:"".concat(E.J.get(_.component)," preview not available"),description:"There is no preview available for ".concat(E.J.get(_.component),". You can edit the available settings\n and languages to the left.")}):(0,i.jsx)(V,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},N=n(94315),L=n(5331),P=n(16277),Z=n(71922),I=n(31883);let M=e=>{let t=(0,m.y3)(e),n={};return Object.entries(t).forEach(e=>{let[t,i]=e;if(i.included){let e=h[t];n[t]=i.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),l.Ry().shape(n)},D=e=>{let{componentType:t}=e;return M(t)},H=l.Ry().shape({name:l.Z_().required().label("Experience name"),component:l.Z_().required().label("Experience type"),translations:l.IX().when("component",(e,t)=>{let[n]=e;return t.of(D({componentType:n}))})});var B=e=>{var t;let{passedInExperience:n,passedInTranslations:l}=e,[h]=(0,N.mJ)(),[y]=(0,N.$d)(),b=(0,o.pmc)(),[x,S]=(0,s.useState)(!1),w=(0,a.useRouter)(),{data:C}=(0,f.tB)({api_set:!1}),j=null==C?void 0:null===(t=C.plus_consent_settings)||void 0===t?void 0:t.enable_translations,R=(0,c.C)(g.Zp),F=(0,c.C)(g.G1);(0,g.Ah)({page:R,size:F});let A=(0,c.C)(g.fJ),k=(0,c.C)(Z.sX),O=n?{...m.DD,...(0,m.Uv)(n)}:m.DD,T=async e=>{var t,i;let o;e.privacy_notice_ids=null===(t=e.privacy_notice_ids)||void 0===t?void 0:t.filter(e=>"tcf_purposes_placeholder"!==e),O.tcf_configuration_id&&!e.tcf_configuration_id&&(e.tcf_configuration_id=null);let r={...e,disabled:null===(i=null==n?void 0:n.disabled)||void 0===i||i,allow_language_selection:e.translations&&e.translations.length>1};if(n){let{component:e,...t}=r;o=await y({...t,id:n.id})}else o=await h(r);(0,I.D4)(o)?b((0,v.Vo)((0,d.e$)(o.error))):(b((0,v.t5)("Privacy experience successfully ".concat(n?"updated":"created"))),w.push(_.w0))},[E,V]=(0,s.useState)(void 0),[M,D]=(0,s.useState)(!1);return(0,i.jsx)(r.J9,{initialValues:O,enableReinitialize:!0,onSubmit:T,validationSchema:H,children:(0,i.jsx)(r.l0,{style:{height:"100vh"},children:(0,i.jsxs)(o.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[E?(0,i.jsx)(P.Z,{translation:E,translationsEnabled:j,isOOB:M,onReturnToMainForm:()=>{V(void 0),D(!1)}}):(0,i.jsx)(L.d0,{allPrivacyNotices:k,translationsEnabled:j,onSelectTranslation:e=>{V({...e,name:(0,m.Go)(e,A)})},onCreateTranslation:e=>{let t=null==l?void 0:l.find(t=>t.language===e);return t&&D(!0),null!=t?t:{language:e,is_default:!1}}}),(0,i.jsxs)(o.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:o.rSc.colors.gray[50]},children:[(0,i.jsxs)(o.jqI,{className:"flex-row items-center p-4",style:{backgroundColor:o.rSc.colors.white,borderBottom:"1px solid ".concat(o.rSc.colors.gray[100])},children:[(0,i.jsx)(o.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,i.jsx)(o.LZC,{}),(0,i.jsxs)(o.y02.Group,{onChange:e=>S(e.target.value),defaultValue:!1,children:[(0,i.jsx)(o.y02.Button,{value:!0,title:"View mobile preview",children:(0,i.jsx)(p,{})}),(0,i.jsx)(o.y02.Button,{value:!1,title:"View desktop preview",children:(0,i.jsx)(u,{})})]})]}),(0,i.jsx)(z,{allPrivacyNotices:k,initialValues:O,translation:E,isMobilePreview:x})]})]})})})}},32222:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});let i=new Map([["overlay","Overlay"],["privacy_center","Privacy center"],["tcf_overlay","TCF overlay"],["modal","Modal"],["banner_and_modal","Banner and modal"],["headless","Headless"]])},31883:function(e,t,n){"use strict";n.d(t,{Bw:function(){return i.Bw},D4:function(){return i.D4}});var i=n(19043)},26607:function(e,t,n){"use strict";var i=n(27061);n(25123);var o=n(27378),r=o&&"object"==typeof o&&"default"in o?o:{default:o},a=void 0!==i&&i.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,i=void 0===n?"stylesheet":n,o=t.optimizeForSpeed,r=void 0===o?a:o;c(s(i),"`name` must be a string"),this._name=i,this._deletedRulePlaceholder="#"+i+"-deleted-rule____{}",c("boolean"==typeof r,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=r,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l=document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(c(s(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var i=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,i))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(i){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var i=this._tags[e];c(i,"old rule at index `"+e+"` not found"),i.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&c(s(t),"makeStyleTag accepts only strings as second parameter");var i=document.createElement("style");this._nonce&&i.setAttribute("nonce",this._nonce),i.type="text/css",i.setAttribute("data-"+e,""),t&&i.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return n?o.insertBefore(i,n):o.appendChild(i),i},function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},u={};function p(e,t){if(!t)return"jsx-"+e;var n=String(t),i=e+n;return u[i]||(u[i]="jsx-"+d(e+"-"+n)),u[i]}function _(e,t){var n=e+t;return u[n]||(u[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[n]}var v=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,i=void 0===n?null:n,o=t.optimizeForSpeed,r=void 0!==o&&o;this._sheet=i||new l({name:"styled-jsx",optimizeForSpeed:r}),this._sheet.inject(),i&&"boolean"==typeof r&&(this._sheet.setOptimizeForSpeed(r),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),i=n.styleId,o=n.rules;if(i in this._instancesCounts){this._instancesCounts[i]+=1;return}var r=o.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[i]=r,this._instancesCounts[i]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var i=this._fromServer&&this._fromServer[n];i?(i.parentNode.removeChild(i),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],i=e[1];return r.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:i}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,i=e.id;if(n){var o=p(i,n);return{styleId:o,rules:Array.isArray(t)?t.map(function(e){return _(o,e)}):[_(o,t)]}}return{styleId:p(i),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=o.createContext(null);f.displayName="StyleSheetContext";var m=r.default.useInsertionEffect||r.default.useLayoutEffect,h=new v;function g(e){var t=h||o.useContext(f);return t&&m(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}g.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},t.style=g},13083:function(e,t,n){"use strict";e.exports=n(26607).style},25123:function(){},43218:function(e,t,n){e.exports=n(43530)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1975],{34849:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return D}});var a=s(24246),o=s(13577),i=s(27378);s(51901);var n=s(86298),r=s(3124),d=s.n(r),l=s(8335),I=s(49820),c=s.n(I),_=e=>{let{data:t,selected:s}=e;return(0,a.jsxs)("div",{className:c().container,"data-testid":"datamap-system-node",children:[(0,a.jsx)(o.wpx,{className:"".concat(c().button," ").concat(s?c()["button--selected"]:""),type:"text",children:(0,a.jsx)(o.AntTypography.Text,{ellipsis:!0,style:{color:"inherit"},children:t.label})}),(0,a.jsx)(n.HH,{type:"source",position:l.Ly.Right,className:c().handle}),(0,a.jsx)(n.HH,{type:"target",position:l.Ly.Left,className:c().handle})]})},E=s(24259),u=s.n(E);let m=new(u()).graphlib.Graph;m.setDefaultEdgeLabel(()=>({}));let f=function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"LR";return m.setGraph({rankdir:s,ranksep:60,nodesep:60,edgesep:50,marginx:15,marginy:15}),e.forEach(e=>{m.setNode(e.id,{width:220,height:70})}),t.forEach(e=>{m.setEdge(e.source,e.target)}),u().layout(m),{nodes:e.map(e=>{let t=m.node(e.id);return{...e,position:{x:t.x-t.width/2,y:t.y-t.height/2},sourcePosition:"LR"===s?l.Ly.Right:l.Ly.Bottom,targetPosition:"LR"===s?l.Ly.Left:l.Ly.Top}}),edges:t}},S=e=>{let{data:t}=e,s=(0,i.useMemo)(()=>t.nodes.map(e=>({id:e.id,data:{label:e.name,description:e.description},position:{x:0,y:0},type:"systemNode"})),[t.nodes]),a=(0,i.useMemo)(()=>t.links.map((e,t)=>({id:"edge-".concat(t),source:e.source,target:e.target,markerEnd:{type:l.QZ.ArrowClosed,color:d().FIDESUI_NEUTRAL_300,width:15,height:15},style:{stroke:d().FIDESUI_NEUTRAL_300,strokeWidth:1.5,strokeOpacity:.8},animated:!1})),[t.links]),{nodes:o,edges:n}=(0,i.useMemo)(()=>{let e=new Set;a.forEach(t=>{e.add(t.source),e.add(t.target)});let t=[],o=[];s.forEach(s=>{e.has(s.id)?o.push(s):t.push(s)});let{nodes:i}=f(o,a,"LR"),n=Math.max(1,Math.ceil(Math.sqrt(t.length))),r=t.map((e,t)=>({...e,position:{x:t%n*240,y:120*Math.floor(t/n)},sourcePosition:"right",targetPosition:"left"})),d=120*Math.ceil(r.length/n)+80;return{nodes:[...r,...i.map(e=>({...e,position:{x:e.position.x,y:e.position.y+d}}))],edges:a}},[s,a]);return{nodes:o,edges:n}},p=e=>{let{data:t,setSelectedSystemId:s,selectedSystemId:o}=e,{nodes:r,edges:l}=S({data:t}),I=(0,n._K)(),c=(0,i.useRef)(null),E=(0,i.useRef)(null),u=(0,i.useMemo)(()=>r.map(e=>({...e,selected:e.id===o})),[r,o]),m=(0,i.useMemo)(()=>({systemNode:_}),[]);(0,i.useEffect)(()=>{r.length>0&&setTimeout(()=>{I.fitView({padding:.2})},150)},[r,I]),(0,i.useEffect)(()=>{o&&u.length>0?setTimeout(()=>{var e;let t=u.find(e=>e.id===o);if(!t)return;let s=I.getViewport(),a=null===(e=c.current)||void 0===e?void 0:e.getBoundingClientRect(),i=document.querySelector('[data-testid="datamap-drawer"]');if(!a){fidesDebugger("DatamapGraph: ReactFlow bounds not available for viewport management");return}if(!i){fidesDebugger("DatamapGraph: Drawer element not found for viewport management");return}E.current||(E.current={...s});let n=i.getBoundingClientRect().width,r=t.position.x*s.zoom+s.x,d=a.width-n;r>d-100&&I.setViewport({x:s.x+(d/2-r),y:s.y,zoom:s.zoom},{duration:300})},600):!o&&E.current&&setTimeout(()=>{if(E.current){let e=I.getViewport(),t=E.current,s=performance.now(),a=e=>1-(1-e)**3,o=i=>{let n=Math.min((i-s)/800,1),r=a(n),d={x:e.x+(t.x-e.x)*r,y:e.y+(t.y-e.y)*r,zoom:e.zoom+(t.zoom-e.zoom)*r};I.setViewport(d),n<1&&requestAnimationFrame(o)};requestAnimationFrame(o),E.current=null}},100)},[o,u,I,c]);let f=(0,i.useCallback)((e,t)=>{s(t.id)},[s]);return(0,a.jsx)("div",{ref:c,"data-testid":"reactflow-graph",className:"absolute size-full",children:(0,a.jsx)("div",{className:"size-full",style:{backgroundColor:d().FIDESUI_BG_CORINTH},children:(0,a.jsxs)(n.x$,{nodes:u,edges:l,onNodeClick:f,nodeTypes:m,nodesFocusable:!1,edgesFocusable:!1,connectOnClick:!1,nodesConnectable:!1,elementsSelectable:!0,fitView:!0,minZoom:.3,maxZoom:2,proOptions:{hideAttribution:!0},children:[(0,a.jsx)(n.Aq,{color:d().FIDESUI_NEUTRAL_100,variant:n.T7.Dots,size:3}),(0,a.jsx)(n.a9,{nodeStrokeWidth:3,pannable:!0}),(0,a.jsx)(n.ZX,{showInteractive:!1})]})})})};var U=e=>(0,a.jsx)(n.tV,{children:(0,a.jsx)(p,{...e})}),g=s(99811);let h=e=>{let t=(0,i.useMemo)(()=>new Set(null==e?void 0:e.map(e=>e.original["system.fides_key"])),[e]),s=(0,i.useMemo)(()=>e.reduce((e,t)=>{let s=t.original["system.fides_key"];return e[s]||(e[s]={name:t.original["system.name"],description:t.original["system.description"],ingress:t.original["system.ingress"]?t.original["system.ingress"].split(", "):[],egress:t.original["system.egress"]?t.original["system.egress"].split(", "):[],id:t.original["system.fides_key"]}),e},{}),[e]);return{data:(0,i.useMemo)(()=>{let e=[],t=new Set([]);return s&&(e=Object.values(s)).map(e=>[...e.ingress.filter(e=>s[e]).map(t=>({source:t,target:e.id})),...e.egress.filter(e=>s[e]).map(t=>({source:e.id,target:t}))]).flatMap(e=>e).forEach(e=>t.add(JSON.stringify(e))),{nodes:e,links:Array.from(t).map(e=>JSON.parse(e))}},[s]),highlightedNodes:t}};var D=e=>{let{setSelectedSystemId:t,selectedSystemId:s}=e,{tableInstance:n}=(0,i.useContext)(g.Z);if(!n)return null;let{rows:r}=n.getRowModel(),{data:d}=h(r);return(0,a.jsx)(o.xuv,{boxSize:"100%",minHeight:"600px",position:"relative",children:(0,a.jsx)(U,{data:d,setSelectedSystemId:t,selectedSystemId:s})})}},49820:function(e){e.exports={FIDESUI_FULL_BLACK:"#000",FIDESUI_FULL_WHITE:"#fff",FIDESUI_BG_WHITE:"#fff",FIDESUI_NEUTRAL_50:"#fafafa",FIDESUI_NEUTRAL_75:"#f5f5f5",FIDESUI_NEUTRAL_100:"#e6e6e8",FIDESUI_NEUTRAL_200:"#d1d2d4",FIDESUI_NEUTRAL_300:"#bcbec1",FIDESUI_NEUTRAL_400:"#a8aaad",FIDESUI_NEUTRAL_500:"#93969a",FIDESUI_NEUTRAL_600:"#7e8185",FIDESUI_NEUTRAL_700:"#696c71",FIDESUI_NEUTRAL_800:"#53575c",FIDESUI_NEUTRAL_900:"#2b2e35",FIDESUI_BG_DEFAULT:"#f5f5f5",FIDESUI_CORINTH:"#fafafa",FIDESUI_BG_CORINTH:"#fafafa",FIDESUI_LIMESTONE:"#f1efee",FIDESUI_MINOS:"#2b2e35",FIDESUI_BG_MINOS:"#4f525b",FIDESUI_TERRACOTTA:"#b9704b",FIDESUI_BG_TERRACOTTA:"#f1b193",FIDESUI_OLIVE:"#999b83",FIDESUI_BG_OLIVE:"#d4d5c8",FIDESUI_MARBLE:"#cdd2d3",FIDESUI_BG_MARBLE:"#e1e5e6",FIDESUI_SANDSTONE:"#cecac2",FIDESUI_BG_SANDSTONE:"#e3e0d9",FIDESUI_NECTAR:"#f0ebc1",FIDESUI_BG_NECTAR:"#f5f2d7",FIDESUI_ERROR:"#d9534f",FIDESUI_BG_ERROR:"#f7c2c2",FIDESUI_WARNING:"#e59d47",FIDESUI_BG_WARNING:"#fbddb5",FIDESUI_BG_CAUTION:"#f6e3a4",FIDESUI_SUCCESS:"#5a9a68",FIDESUI_BG_SUCCESS:"#c3e6b2",FIDESUI_INFO:"#4a90e2",FIDESUI_BG_INFO:"#a5d6f3",FIDESUI_ALERT:"#7b4ea9",FIDESUI_BG_ALERT:"#d9b0d7",FIDESUI_ERROR_TEXT:"#d32f2f",FIDESUI_SUCCESS_TEXT:"#388e3c",FIDESUI_LINK:"#2272ce",container:"DatamapSystemNode_container__Nerx0",button:"DatamapSystemNode_button__Uj4fu","button--selected":"DatamapSystemNode_button--selected__AUuiF",handle:"DatamapSystemNode_handle__eawrd"}}}]);
|
fides/ui-build/static/admin/_next/static/chunks/{203-4e777c324a01dbec.js → 203-cd78ea279cecba60.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[203],{59969:function(e,t,i){var n=i(24246),r=i(13577);i(27378);var s=i(8557);t.Z=e=>{let{daysLeft:t,includeText:i,status:l}=e;if(!t||l===s.q.COMPLETE||l===s.q.CANCELED||l===s.q.DENIED||l===s.q.IDENTITY_UNVERIFIED)return(0,n.jsx)("span",{children:"-"});let a="";switch(!0){case t>=10:a="success";break;case t<10&&t>4:a="warning";break;case t<5:a="error"}return(0,n.jsx)(r.j8w,{color:a,children:i?"".concat(t," days left"):t})}},18225:function(e,t,i){var n=i(24246),r=i(13577);t.Z=e=>{let{alignment:t="center",...i}=e;return(0,n.jsx)(r.kCb,{boxSize:"full",align:"center",justify:t,children:(0,n.jsx)(r.$jN,{color:"primary",...i})})}},58754:function(e,t,i){var n=i(24246),r=i(13577),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:l=!0,children:a,rightContent:d,style:o,...c}=e;return(0,n.jsxs)("div",{...c,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...o}:{paddingBottom:"24px",...o},children:[(0,n.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(r.lQT,{className:i||a?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,d&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:d})]}),!!i&&(0,n.jsx)(s.m,{className:a?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),a]})}},19904:function(e,t,i){i.d(t,{Tg:function(){return l}});var n=i(24246),r=i(16134),s=i(31793);let l=e=>(0,r.C)(s.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:i}=e;return l(t)?(0,n.jsx)(n.Fragment,{children:i}):null}},14047:function(e,t,i){i.d(t,{H:function(){return s},V:function(){return n.V}});var n=i(84306),r=i(812);let s=()=>{let{errorAlert:e}=(0,n.V)();return{handleError:t=>{let i="An unexpected error occurred. Please try again.";(0,r.Ot)(t)?i=t.data.detail:(0,r.tB)(t)&&(i=t.data.detail[0].msg),e(i)}}}},84306:function(e,t,i){i.d(t,{V:function(){return s}});var n=i(24246),r=i(13577);let s=()=>{let e=(0,r.pmc)();return{errorAlert:(t,i,s)=>{let l={...s,position:(null==s?void 0:s.position)||"top",render:e=>{let{onClose:s}=e;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:t})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&e.isActive(s.id)?e.update(s.id,l):e(l)},successAlert:(t,i,s)=>{let l={...s,position:(null==s?void 0:s.position)||"top",render:e=>{let{onClose:s}=e;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:t})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&e.isActive(s.id)?e.update(s.id,l):e(l)}}}},70788:function(e,t,i){i.d(t,{m:function(){return o}});var n=i(24246),r=i(13577),s=i(79894),l=i.n(s),a=i(27378);let{Text:d}=r.AntTypography,o=e=>{let{items:t,...i}=e,s=(0,a.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let s=i===t.length-1,a={...e},o=a.onClick&&!a.href;return("string"==typeof a.title&&(a.title=(0,n.jsx)(d,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:a.title})),o)?a.title=(0,n.jsx)(r.wpx,{type:"text",size:"small",icon:a.icon,onClick:a.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:a.title}):(a.icon&&(a.title=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:a.icon}),a.title]})),a.href&&a.title&&(a.title=(0,n.jsx)(l(),{href:a.href,className:"ant-breadcrumb-link",children:a.title}),delete a.href)),a}),[t]);return(0,n.jsx)(r.zrq,{items:s,...i})}},57526:function(e,t,i){var n=i(24246),r=i(13577),s=i(27378);t.Z=e=>{let{isOpen:t,onClose:i,onApproveRequest:l,isLoading:a,subjectRequest:d}=e,{identity:o,identity_verified_at:c,custom_privacy_request_fields:u}=d,h=(0,s.useCallback)(()=>{l().then(()=>{i()})},[l,i]);return(0,n.jsxs)(r.u_l,{isOpen:t,onClose:i,size:"lg",isCentered:!0,children:[(0,n.jsx)(r.ZAr,{}),(0,n.jsxs)(r.hzk,{children:[(0,n.jsx)(r.xBx,{children:"Privacy request approval"}),(0,n.jsxs)(r.fef,{paddingTop:0,paddingBottom:0,children:[(0,n.jsx)(r.xvT,{color:"gray.500",fontSize:"14px",marginBottom:4,children:"Are you sure you want to approve this privacy request?"}),(0,n.jsxs)(r.QI$,{children:[Object.entries(o).filter(e=>{let[,{value:t}]=e;return null!==t}).map(e=>{let[t,{value:i,label:s}]=e;return(0,n.jsx)(r.HCh,{children:(0,n.jsxs)(r.kCb,{alignItems:"flex-start",children:[(0,n.jsxs)(r.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[s,":"]}),(0,n.jsx)(r.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:i}),"(",c?"Verified":"Unverified",")"]},t)},t)}),u&&Object.entries(u).filter(e=>{let[,t]=e;return t.value}).map(e=>{let[t,i]=e;return(0,n.jsx)(r.HCh,{children:(0,n.jsxs)(r.kCb,{alignItems:"flex-start",children:[(0,n.jsxs)(r.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[i.label,":"]}),(0,n.jsxs)(r.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:[Array.isArray(i.value)?i.value.join(", "):i.value," "]}),"(Unverified)"]},t)},t)})]})]}),(0,n.jsx)(r.mzw,{children:(0,n.jsxs)(r.MIq,{columns:2,width:"100%",children:[(0,n.jsx)(r.wpx,{onClick:i,className:"mr-3","data-testid":"cancel-btn",children:"Cancel"}),(0,n.jsx)(r.wpx,{type:"primary","data-testid":"continue-btn",onClick:h,loading:a,children:"Confirm"})]})})]})]})}},66548:function(e,t,i){var n=i(24246),r=i(40324),s=i(13577),l=i(34090),a=i(27378),d=i(55484);let o={denialReason:""};t.Z=e=>{let{isOpen:t,onClose:i,onDenyRequest:c}=e,u=(0,a.useCallback)((e,t)=>{let{setSubmitting:n}=t;c(e.denialReason).then(()=>{n(!1),i()})},[c,i]);return(0,n.jsxs)(s.u_l,{isOpen:t,onClose:i,isCentered:!0,returnFocusOnClose:!1,children:[(0,n.jsx)(s.ZAr,{}),(0,n.jsx)(s.hzk,{width:"100%",maxWidth:"456px","data-testid":"deny-privacy-request-modal",children:(0,n.jsx)(l.J9,{initialValues:o,validationSchema:d.Ry({denialReason:d.Z_().required().label("Reason for denial")}),onSubmit:u,children:e=>{let{isSubmitting:t,dirty:a,isValid:d}=e;return(0,n.jsxs)(l.l0,{children:[(0,n.jsx)(s.xBx,{children:"Privacy request denial"}),(0,n.jsx)(s.fef,{color:"gray.500",fontSize:"14px",children:"Please enter a reason for denying this privacy request. Please note: this can be seen by the user in their notification email."}),(0,n.jsx)(s.fef,{children:(0,n.jsx)(r.Ks,{name:"denialReason",textAreaProps:{focusBorderColor:"primary.600",resize:"none"}})}),(0,n.jsxs)(s.mzw,{className:"flex w-full gap-4",children:[(0,n.jsx)(s.wpx,{disabled:t,onClick:i,className:"grow",children:"Cancel"}),(0,n.jsx)(s.wpx,{htmlType:"submit",type:"primary",disabled:!a||!d,loading:t,className:"grow","data-testid":"deny-privacy-request-modal-btn",children:"Confirm"})]})]})}})})]})}},45489:function(e,t,i){i.d(t,{Z:function(){return r}});var n=i(90867);let r=e=>{let{subjectRequest:t}=e,[i,r]=(0,n.RW)({fixedCacheKey:t.id}),[s,l]=(0,n.F1)({fixedCacheKey:t.id}),[a,d]=(0,n.rC)({fixedCacheKey:t.id}),[o,c]=(0,n.zB)({fixedCacheKey:t.id}),u=l.isLoading||r.isLoading||c.isLoading;return{approveRequest:i,approveRequestResult:r,denyRequest:s,denyRequestResult:l,handleApproveRequest:()=>i(t),handleDenyRequest:e=>s({id:t.id,reason:e}),handleDeleteRequest:()=>a(t),handleFinalizeRequest:()=>o({privacyRequestId:t.id}),softDeleteRequestResult:d,finalizeRequestResult:c,isLoading:u}}},72281:function(e,t,i){i.d(t,{G:function(){return a},d:function(){return d}});var n=i(86677),r=i(27378),s=i(19904),l=i(
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[203],{59969:function(e,t,i){var n=i(24246),r=i(13577);i(27378);var s=i(8557);t.Z=e=>{let{daysLeft:t,includeText:i,status:l}=e;if(!t||l===s.q.COMPLETE||l===s.q.CANCELED||l===s.q.DENIED||l===s.q.IDENTITY_UNVERIFIED)return(0,n.jsx)("span",{children:"-"});let a="";switch(!0){case t>=10:a="success";break;case t<10&&t>4:a="warning";break;case t<5:a="error"}return(0,n.jsx)(r.j8w,{color:a,children:i?"".concat(t," days left"):t})}},18225:function(e,t,i){var n=i(24246),r=i(13577);t.Z=e=>{let{alignment:t="center",...i}=e;return(0,n.jsx)(r.kCb,{boxSize:"full",align:"center",justify:t,children:(0,n.jsx)(r.$jN,{color:"primary",...i})})}},58754:function(e,t,i){var n=i(24246),r=i(13577),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:l=!0,children:a,rightContent:d,style:o,...c}=e;return(0,n.jsxs)("div",{...c,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...o}:{paddingBottom:"24px",...o},children:[(0,n.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(r.lQT,{className:i||a?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,d&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:d})]}),!!i&&(0,n.jsx)(s.m,{className:a?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),a]})}},19904:function(e,t,i){i.d(t,{Tg:function(){return l}});var n=i(24246),r=i(16134),s=i(31793);let l=e=>(0,r.C)(s.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:i}=e;return l(t)?(0,n.jsx)(n.Fragment,{children:i}):null}},14047:function(e,t,i){i.d(t,{H:function(){return s},V:function(){return n.V}});var n=i(84306),r=i(812);let s=()=>{let{errorAlert:e}=(0,n.V)();return{handleError:t=>{let i="An unexpected error occurred. Please try again.";(0,r.Ot)(t)?i=t.data.detail:(0,r.tB)(t)&&(i=t.data.detail[0].msg),e(i)}}}},84306:function(e,t,i){i.d(t,{V:function(){return s}});var n=i(24246),r=i(13577);let s=()=>{let e=(0,r.pmc)();return{errorAlert:(t,i,s)=>{let l={...s,position:(null==s?void 0:s.position)||"top",render:e=>{let{onClose:s}=e;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:t})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&e.isActive(s.id)?e.update(s.id,l):e(l)},successAlert:(t,i,s)=>{let l={...s,position:(null==s?void 0:s.position)||"top",render:e=>{let{onClose:s}=e;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:t})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&e.isActive(s.id)?e.update(s.id,l):e(l)}}}},70788:function(e,t,i){i.d(t,{m:function(){return o}});var n=i(24246),r=i(13577),s=i(79894),l=i.n(s),a=i(27378);let{Text:d}=r.AntTypography,o=e=>{let{items:t,...i}=e,s=(0,a.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let s=i===t.length-1,a={...e},o=a.onClick&&!a.href;return("string"==typeof a.title&&(a.title=(0,n.jsx)(d,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:a.title})),o)?a.title=(0,n.jsx)(r.wpx,{type:"text",size:"small",icon:a.icon,onClick:a.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:a.title}):(a.icon&&(a.title=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:a.icon}),a.title]})),a.href&&a.title&&(a.title=(0,n.jsx)(l(),{href:a.href,className:"ant-breadcrumb-link",children:a.title}),delete a.href)),a}),[t]);return(0,n.jsx)(r.zrq,{items:s,...i})}},57526:function(e,t,i){var n=i(24246),r=i(13577),s=i(27378);t.Z=e=>{let{isOpen:t,onClose:i,onApproveRequest:l,isLoading:a,subjectRequest:d}=e,{identity:o,identity_verified_at:c,custom_privacy_request_fields:u}=d,h=(0,s.useCallback)(()=>{l().then(()=>{i()})},[l,i]);return(0,n.jsxs)(r.u_l,{isOpen:t,onClose:i,size:"lg",isCentered:!0,children:[(0,n.jsx)(r.ZAr,{}),(0,n.jsxs)(r.hzk,{children:[(0,n.jsx)(r.xBx,{children:"Privacy request approval"}),(0,n.jsxs)(r.fef,{paddingTop:0,paddingBottom:0,children:[(0,n.jsx)(r.xvT,{color:"gray.500",fontSize:"14px",marginBottom:4,children:"Are you sure you want to approve this privacy request?"}),(0,n.jsxs)(r.QI$,{children:[Object.entries(o).filter(e=>{let[,{value:t}]=e;return null!==t}).map(e=>{let[t,{value:i,label:s}]=e;return(0,n.jsx)(r.HCh,{children:(0,n.jsxs)(r.kCb,{alignItems:"flex-start",children:[(0,n.jsxs)(r.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[s,":"]}),(0,n.jsx)(r.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:i}),"(",c?"Verified":"Unverified",")"]},t)},t)}),u&&Object.entries(u).filter(e=>{let[,t]=e;return t.value}).map(e=>{let[t,i]=e;return(0,n.jsx)(r.HCh,{children:(0,n.jsxs)(r.kCb,{alignItems:"flex-start",children:[(0,n.jsxs)(r.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[i.label,":"]}),(0,n.jsxs)(r.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:[Array.isArray(i.value)?i.value.join(", "):i.value," "]}),"(Unverified)"]},t)},t)})]})]}),(0,n.jsx)(r.mzw,{children:(0,n.jsxs)(r.MIq,{columns:2,width:"100%",children:[(0,n.jsx)(r.wpx,{onClick:i,className:"mr-3","data-testid":"cancel-btn",children:"Cancel"}),(0,n.jsx)(r.wpx,{type:"primary","data-testid":"continue-btn",onClick:h,loading:a,children:"Confirm"})]})})]})]})}},66548:function(e,t,i){var n=i(24246),r=i(40324),s=i(13577),l=i(34090),a=i(27378),d=i(55484);let o={denialReason:""};t.Z=e=>{let{isOpen:t,onClose:i,onDenyRequest:c}=e,u=(0,a.useCallback)((e,t)=>{let{setSubmitting:n}=t;c(e.denialReason).then(()=>{n(!1),i()})},[c,i]);return(0,n.jsxs)(s.u_l,{isOpen:t,onClose:i,isCentered:!0,returnFocusOnClose:!1,children:[(0,n.jsx)(s.ZAr,{}),(0,n.jsx)(s.hzk,{width:"100%",maxWidth:"456px","data-testid":"deny-privacy-request-modal",children:(0,n.jsx)(l.J9,{initialValues:o,validationSchema:d.Ry({denialReason:d.Z_().required().label("Reason for denial")}),onSubmit:u,children:e=>{let{isSubmitting:t,dirty:a,isValid:d}=e;return(0,n.jsxs)(l.l0,{children:[(0,n.jsx)(s.xBx,{children:"Privacy request denial"}),(0,n.jsx)(s.fef,{color:"gray.500",fontSize:"14px",children:"Please enter a reason for denying this privacy request. Please note: this can be seen by the user in their notification email."}),(0,n.jsx)(s.fef,{children:(0,n.jsx)(r.Ks,{name:"denialReason",textAreaProps:{focusBorderColor:"primary.600",resize:"none"}})}),(0,n.jsxs)(s.mzw,{className:"flex w-full gap-4",children:[(0,n.jsx)(s.wpx,{disabled:t,onClick:i,className:"grow",children:"Cancel"}),(0,n.jsx)(s.wpx,{htmlType:"submit",type:"primary",disabled:!a||!d,loading:t,className:"grow","data-testid":"deny-privacy-request-modal-btn",children:"Confirm"})]})]})}})})]})}},45489:function(e,t,i){i.d(t,{Z:function(){return r}});var n=i(90867);let r=e=>{let{subjectRequest:t}=e,[i,r]=(0,n.RW)({fixedCacheKey:t.id}),[s,l]=(0,n.F1)({fixedCacheKey:t.id}),[a,d]=(0,n.rC)({fixedCacheKey:t.id}),[o,c]=(0,n.zB)({fixedCacheKey:t.id}),u=l.isLoading||r.isLoading||c.isLoading;return{approveRequest:i,approveRequestResult:r,denyRequest:s,denyRequestResult:l,handleApproveRequest:()=>i(t),handleDenyRequest:e=>s({id:t.id,reason:e}),handleDeleteRequest:()=>a(t),handleFinalizeRequest:()=>o({privacyRequestId:t.id}),softDeleteRequestResult:d,finalizeRequestResult:c,isLoading:u}}},72281:function(e,t,i){i.d(t,{G:function(){return a},d:function(){return d}});var n=i(86677),r=i(27378),s=i(19904),l=i(54682);let a={REQUEST:"request",MANUAL_TASK:"manual-tasks"},d=()=>{let e=(0,n.useRouter)(),t=(0,s.Tg)([l.Sh.PRIVACY_REQUEST_READ]),i=(0,s.Tg)([l.Sh.MANUAL_FIELD_READ_OWN,l.Sh.MANUAL_FIELD_READ_ALL]),d=(0,r.useMemo)(()=>({request:t,manualTask:i}),[t,i]),[o,c]=(0,r.useState)(d.request?a.REQUEST:a.MANUAL_TASK),u=(0,r.useCallback)(()=>{let{tab:t}=e.query;return t&&"string"==typeof t&&Object.values(a).includes(t)?t:null},[e.query]),h=(0,r.useCallback)(t=>{e.replace({pathname:e.pathname,query:{tab:t}},void 0,{shallow:!0})},[e]);return(0,r.useEffect)(()=>{if(!e.isReady)return;let t=u();t&&(t===a.REQUEST||t===a.MANUAL_TASK&&d.manualTask)&&c(t)},[e.isReady,e.query,d,u,h]),{activeTab:o,handleTabChange:(0,r.useCallback)(e=>{Object.values(a).includes(e)&&(c(e),h(e))},[h]),availableTabs:d}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2150],{82545:function(t,r,n){var e=n(81822)(n(77400),"DataView");t.exports=e},44538:function(t,r,n){var e=n(81822)(n(77400),"Map");t.exports=e},64825:function(t,r,n){var e=n(81822)(n(77400),"Promise");t.exports=e},46151:function(t,r,n){var e=n(81822)(n(77400),"Set");t.exports=e},66902:function(t,r,n){var e=n(81822)(n(77400),"WeakMap");t.exports=e},80594:function(t){t.exports=function(t,r){for(var n=-1,e=null==t?0:t.length;++n<e&&!1!==r(t[n],n,t););return t}},98213:function(t,r,n){var e=n(24701),o=n(2900),c=n(19785),u=n(43854),i=n(42383),f=n(48519),a=Object.prototype.hasOwnProperty;t.exports=function(t,r){var n=c(t),p=!n&&o(t),s=!n&&!p&&u(t),b=!n&&!p&&!s&&f(t),l=n||p||s||b,v=l?e(t.length,String):[],y=v.length;for(var j in t)(r||a.call(t,j))&&!(l&&("length"==j||s&&("offset"==j||"parent"==j)||b&&("buffer"==j||"byteLength"==j||"byteOffset"==j)||i(j,y)))&&v.push(j);return v}},52033:function(t,r,n){var e=n(26194),o=n(26789)(e);t.exports=o},49819:function(t,r,n){var e=n(18911)();t.exports=e},26194:function(t,r,n){var e=n(49819),o=n(50098);t.exports=function(t,r){return t&&e(t,r,o)}},55829:function(t,r,n){var e=n(99736),o=n(92360);t.exports=function(t){return o(t)&&"[object Arguments]"==e(t)}},46729:function(t,r,n){var e=n(28338),o=n(99678),c=n(11611),u=n(76532),i=/^\[object .+?Constructor\]$/,f=Object.prototype,a=Function.prototype.toString,p=f.hasOwnProperty,s=RegExp("^"+a.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!c(t)||o(t))&&(e(t)?s:i).test(u(t))}},26972:function(t,r,n){var e=n(99736),o=n(84194),c=n(92360),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,t.exports=function(t){return c(t)&&o(t.length)&&!!u[e(t)]}},20186:function(t,r,n){var e=n(56016),o=n(50962),c=Object.prototype.hasOwnProperty;t.exports=function(t){if(!e(t))return o(t);var r=[];for(var n in Object(t))c.call(t,n)&&"constructor"!=n&&r.push(n);return r}},24701:function(t){t.exports=function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}},39334:function(t){t.exports=function(t){return function(r){return t(r)}}},62079:function(t,r,n){var e=n(31137);t.exports=function(t){return"function"==typeof t?t:e}},64937:function(t,r,n){var e=n(77400)["__core-js_shared__"];t.exports=e},26789:function(t,r,n){var e=n(80068);t.exports=function(t,r){return function(n,o){if(null==n)return n;if(!e(n))return t(n,o);for(var c=n.length,u=r?c:-1,i=Object(n);(r?u--:++u<c)&&!1!==o(i[u],u,i););return n}}},18911:function(t){t.exports=function(t){return function(r,n,e){for(var o=-1,c=Object(r),u=e(r),i=u.length;i--;){var f=u[t?i:++o];if(!1===n(c[f],f,c))break}return r}}},81822:function(t,r,n){var e=n(46729),o=n(15371);t.exports=function(t,r){var n=o(t,r);return e(n)?n:void 0}},3533:function(t,r,n){var e=n(82545),o=n(44538),c=n(64825),u=n(46151),i=n(66902),f=n(99736),a=n(76532),p="[object Map]",s="[object Promise]",b="[object Set]",l="[object WeakMap]",v="[object DataView]",y=a(e),j=a(o),x=a(c),h=a(u),g=a(i),O=f;(e&&O(new e(new ArrayBuffer(1)))!=v||o&&O(new o)!=p||c&&O(c.resolve())!=s||u&&O(new u)!=b||i&&O(new i)!=l)&&(O=function(t){var r=f(t),n="[object Object]"==r?t.constructor:void 0,e=n?a(n):"";if(e)switch(e){case y:return v;case j:return p;case x:return s;case h:return b;case g:return l}return r}),t.exports=O},15371:function(t){t.exports=function(t,r){return null==t?void 0:t[r]}},42383:function(t){var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var e=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==e||"symbol"!=e&&r.test(t))&&t>-1&&t%1==0&&t<n}},99678:function(t,r,n){var e,o=n(64937),c=(e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";t.exports=function(t){return!!c&&c in t}},56016:function(t){var r=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||r)}},50962:function(t,r,n){var e=n(58023)(Object.keys,Object);t.exports=e},18125:function(t,r,n){t=n.nmd(t);var e=n(39120),o=r&&!r.nodeType&&r,c=o&&t&&!t.nodeType&&t,u=c&&c.exports===o&&e.process,i=function(){try{var t=c&&c.require&&c.require("util").types;if(t)return t;return u&&u.binding&&u.binding("util")}catch(t){}}();t.exports=i},58023:function(t){t.exports=function(t,r){return function(n){return t(r(n))}}},76532:function(t){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},47003:function(t,r,n){var e=n(80594),o=n(52033),c=n(62079),u=n(19785);t.exports=function(t,r){return(u(t)?e:o)(t,c(r))}},31137:function(t){t.exports=function(t){return t}},2900:function(t,r,n){var e=n(55829),o=n(92360),c=Object.prototype,u=c.hasOwnProperty,i=c.propertyIsEnumerable,f=e(function(){return arguments}())?e:function(t){return o(t)&&u.call(t,"callee")&&!i.call(t,"callee")};t.exports=f},19785:function(t){var r=Array.isArray;t.exports=r},80068:function(t,r,n){var e=n(28338),o=n(84194);t.exports=function(t){return null!=t&&o(t.length)&&!e(t)}},43854:function(t,r,n){t=n.nmd(t);var e=n(77400),o=n(57714),c=r&&!r.nodeType&&r,u=c&&t&&!t.nodeType&&t,i=u&&u.exports===c?e.Buffer:void 0,f=i?i.isBuffer:void 0;t.exports=f||o},90104:function(t,r,n){var e=n(20186),o=n(3533),c=n(2900),u=n(19785),i=n(80068),f=n(43854),a=n(56016),p=n(48519),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(i(t)&&(u(t)||"string"==typeof t||"function"==typeof t.splice||f(t)||p(t)||c(t)))return!t.length;var r=o(t);if("[object Map]"==r||"[object Set]"==r)return!t.size;if(a(t))return!e(t).length;for(var n in t)if(s.call(t,n))return!1;return!0}},28338:function(t,r,n){var e=n(99736),o=n(11611);t.exports=function(t){if(!o(t))return!1;var r=e(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}},84194:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},11611:function(t){t.exports=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}},48519:function(t,r,n){var e=n(26972),o=n(39334),c=n(18125),u=c&&c.isTypedArray,i=u?o(u):e;t.exports=i},50098:function(t,r,n){var e=n(98213),o=n(20186),c=n(80068);t.exports=function(t){return c(t)?e(t):o(t)}},57714:function(t){t.exports=function(){return!1}}}]);
|