PageSourceSearch

https://pegadigitalassethub.com/assets/20261003-0331/ctx/_webpackBuild/8368.233ff35d3728433e132c.js

js pegadigitalassethub.com collected 2026-10-06 15:07:22 UTC 5,589 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkdam=globalThis.webpackChunkdam||[]).push([[8368],{88145(e,n,t){t.d(n,{BD:()=>o,DY:()=>c,QF:()=>i,QN:()=>l,S7:()=>u,_4:()=>g,ec:()=>d});const r=(0,t(28354).createInstance)(),s=["/api/rest/login/captcha-image","/forgot-password","/register","/password-reset/change-password","/password-reset/validate-token"];r.registerHandler("request",({init:e,url:n})=>(s.some(e=>n.includes(e))&&(e.headers={...e.headers,AppType:"fullsite"}),{init:e,url:n}));const a="/api/rest/login";function i(e){return r.post(`${a}/authenticate`,e)}function o(e){return r.post(`${a}/forgot-password`,e)}function c(e){return r.post(`${a}/register`,e)}async function l(){const e=(new Date).getTime(),n=await fetch(`${a}/captcha-image?t=${e}`,{credentials:"include",headers:{Accept:"image/jpeg",AppType:"fullsite"}});if(!n.ok)return"";const t=await n.blob();return new Promise((e,n)=>{const r=new FileReader;r.onloadend=()=>e(r.result),r.onerror=n,r.readAsDataURL(t)})}function u(e){return r.post(`${a}/password-reset/validate-token`,e)}function d(e){return r.post(`${a}/password-reset/change-password`,e)}function g(){return r.get(`${a}/registration/config`)}},7945(e,n,t){const r=(0,t(9854).default)({key:"dam"});t.d(n,["P",0,r])},23145(e,n,t){t.d(n,{T:()=>o,o:()=>i});var r=t(56575),s=t(88145);const a=(0,r.createContext)(void 0);function i({children:e}){const[n,t]=(0,r.useState)(""),i=(0,r.useCallback)(()=>{(0,s.QN)().then(e=>{t(e)}).catch(()=>{t("")})},[]);return r.createElement(a.Provider,{value:{captchaImageUrl:n,refreshCaptcha:i}},e)}function o(){const e=(0,r.useContext)(a);if(void 0===e)throw new Error("useCaptchaContext must be used within a CaptchaProvider");return e}},37663(e,n,t){t.d(n,{v:()=>p});var r=t(50431),s=t(42587),a=t(56575),i=t(94140),o=t(55139),c=t(53333),l=t(7945),u=t(23145),d=t(31396);const g=new s.QueryClient({defaultOptions:{mutations:{retry:!1},queries:{gcTime:6e5,refetchOnWindowFocus:!1,retry:(e,n)=>!(n?.status>=400&&n?.status<500)&&e<3,staleTime:3e5}}});function p(e){return({_clientId:n,...t})=>{const p=document.getElementById(n);(0,i.createRoot)(p).render(a.createElement(s.QueryClientProvider,{client:g},a.createElement(o.xC,{i18n:d.R},a.createElement(c.SnackbarProvider,null,a.createElement(u.o,null,a.createElement(r.CacheProvider,{value:l.P},a.createElement(e,t)))))))}}},78368(e,n,t){t.r(n),t.d(n,{GdprConsent:()=>w,init:()=>v});var r=t(50431),s=t(89694),a=t(37663),i=t(62702),o=t(55139),c=t(7107),l=t(42587);const u=(0,t(28354).createInstance)();async function d(){await u.post("/api/rest/user/gdpr-consent")}const g={name:"j4i8to",styles:"display:flex;flex-direction:column;gap:var(--spacing-md, 16px);max-width:650px"},p={name:"ti75j2",styles:"margin:0"},m={name:"1kir914",styles:"margin-block-start:var(--spacing-md, 16px)"};function f({returnTo:e}){const{t:n}=(0,o.Bd)(),{isPending:t,mutate:s,status:a}=(0,l.useMutation)({mutationFn:d});return(0,r.jsx)("div",{css:g},(0,r.jsx)("h1",null,n("gdprConsent.title")),(0,r.jsx)("p",{css:p},(0,r.jsx)(o.x6,{components:[(0,r.jsx)("a",{key:"privacy-link",href:"https://www.widen.com/privacy",rel:"noopener noreferrer",target:"_blank"})],i18nKey:"gdprConsent.message"})),(0,r.jsx)("div",{css:m},(0,r.jsx)(c.PrimaryButton,{"data-testid":"gdpr-consent-accept-button",disabled:t,inProgress:t||"success"===a,onClick:function(){s(void 0,{onError:e=>{console.error("Failed to record GDPR consent:",e)},onSuccess:()=>{window.location.href=e||"/dam/dashboard"}})}},n("gdprConsent.acceptButton"))))}const h={name:"1dha8ek",styles:"align-items:center;display:flex;padding:var(--spacing-lg, 24px);margin-inline-start:8px"};function w({gdprConsentConfig:e}){return(0,r.jsx)(i.I,{multilingualEnabled:e.multilingualEnabled},(0,r.jsx)(s.WidenGlobalStyles,null),(0,r.jsx)("div",{css:h},(0,r.jsx)(f,{returnTo:e.returnTo})))}const v=(0,a.v)(w)},62702(e,n,t){t.d(n,{I:()=>c});var r=t(50431),s=t(56575),a=t(60157),i=t(31396),o=t(98075);function c({children:e,multilingualEnabled:n}){const t=i.R.isInitialized?i.R.language:null,c=null!==t&&(n||t===o.TM.EnUs),[l,u]=(0,s.useState)(c?t:null);return(0,s.useEffect)(()=>{let e=!1;return async function(){i.R.isInitialized||await new Promise(e=>i.R.on("initialized",e)),e||(n?u(i.R.language):(localStorage.removeItem(o.AQ),i.R.language!==o.TM.EnUs&&await i.R.changeLanguage(o.TM.EnUs),e||u(o.TM.EnUs)))}(),()=>{e=!0}},[n]),null===l?(0,r.jsx)(a.LoadingSpinner,null):(0,r.jsx)(s.Fragment,{key:l},e)}},31396(e,n,t){var r=t(65783),s=t(29647),a=t(55139),i=t(98075);const o={[i.TM.EnUs]:()=>t.e(5726).then(t.t.bind(t,75726,19)),[i.TM.Es419]:()=>t.e(7383).then(t.t.bind(t,87383,19)),[i.TM.PtBr]:()=>t.e(7283).then(t.t.bind(t,47283,19)),[i.TM.DeDe]:()=>t.e(321).then(t.t.bind(t,10321,19)),[i.TM.FrFr]:()=>t.e(7427).then(t.t.bind(t,17427,19))},c={de:i.TM.DeDe,es:i.TM.Es419,fr:i.TM.FrFr,pt:i.TM.PtBr};function l(e){if(i.Fc.includes(e))return e;const n=e.split("-")[0];return c[n]??null}const u=r.Ay.createInstance().use(s.A).use(a.r9);u.init({backend:{resources:o},fallbackLng:i.TM.EnUs,interpolation:{escapeValue:!1},lng:function(){const e=localStorage.getItem(i.AQ);if(e){const n=l(e);if(n)return n!==e&&(0,i.gW)(n),n}for(const e of navigator.languages??[navigator.language]){const n=l(e);if(n)return(0,i.gW)(n),n}return i.TM.EnUs}(),supportedLngs:i.Fc}),t.d(n,["R",0,u])},98075(e,n,t){t.d(n,{TM:()=>r,gW:()=>i});let r=function(e){return e.EnUs="en-US",e.Es419="es-419",e.PtBr="pt-BR",e.DeDe="de-DE",e.FrFr="fr-FR",e}({});const s=[r.EnUs,r.Es419,r.PtBr,r.DeDe,r.FrFr],a="widen-language";function i(e){s.includes(e)&&localStorage.setItem(a,e)}t.d(n,["AQ",0,a,"Fc",0,s])}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.