PageSourceSearch

https://www.nordkapp.kommune.no/ClientApp/reactjs-front/innsyn/dis…/ButtonDecryptValueToLink-chunk._ITVbXey.js

js nordkapp.kommune.no collected 2026-10-02 16:56:06 UTC 735 bytes, 1 lines download raw bytes

1import{d as l,r as p,j as c}from"./innsyn-chunk.B3I84VOf.js";const y=r=>new Promise(async(s,e)=>{const n=await l.callApi("POST","/api/presentation/v2/decrypt","/value",r);s(n.content)}),h=({text:r,encryptedValue:s,encryptedLinkText:e,hrefPrefix:n="mailto",accessibleText:i,onDecryptClick:o,plainText:u})=>{const[a,m]=p.useState(),x=p.useCallback(t=>(e&&o(e).then(d=>{m(d)}),o(t)),[o,e]);return c.jsx(l.ButtonDecryptValue,{"aria-label":i,text:r,encryptedValue:s,onDecryptClick:x,appearance:"link",renderDecryptedItem:t=>u?c.jsx("span",{className:"button-decrypt-link-content",children:a||t}):c.jsx(l.Link,{className:"button-decrypt-link-content",text:a||t,href:`${n==="none"?"":n+":"}${t.replace(/\s/g,"")}`})})};export{h as B,y as h};

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.