PageSourceSearch

https://demo.sonraisecurity.com/_next/static/chunks/5678.bc8caff5d406f19f.js

js sonraisecurity.com collected 2026-09-24 09:25:10 UTC 13,681 bytes, 5 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5f876dea-d19e-5a17-b7d7-90da3ad15762")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5678],{8520:(e,t,n)=>{n.d(t,{CU:()=>l,S_:()=>a,ZC:()=>i});var o=n(23397),r=n(44088);let l=e=>globalThis[o.tK1]&&globalThis[o.tK1][e],i=(e,t)=>{globalThis[o.tK1]||(globalThis[o.tK1]={}),globalThis[o.tK1][e]=t};function a(e,t){if(!e)return;if("number"==typeof t){let e=t;t=t=>t.id===e}let n=[e];for(;n.length;){let e=n.pop();if(t(e))return e;(0,r.HA)(e)&&n.push(...e.childNodes)}}},26170:(e,t,n)=>{n.d(t,{_m:()=>a,nw:()=>d,SN:()=>function e(t,n,o){let{includeWin:r}=o,l=s(t),i=e=>{u(e)||function(e,t){for(let n of t)e.addEventListener(n.type,n.listener)}(e,n)};for(let t of l)f(t,()=>i(t)),e(t,n,{includeWin:!1});return r&&i(t),()=>(function e(t,n,o){let{includeWin:r}=o||{},l=s(t),i=e=>{u(e)||function(e,t){for(let n of t)e.removeEventListener(n.type,n.listener)}(e,n)};for(let t of l)f(t,()=>i(t)),e(t,n,{includeWin:!1});r&&i(window)})(t,n,o)}});var o=n(23397),r=n(75101),l=n(22391);class i{fire(){this.fired||(this.fn(),this.fired=!0)}constructor(e){this.fn=e,this.fired=!1}}function a(e){let t=null;try{t=e.frameElement}catch(e){}return t}let c=(e,t)=>{for(let o of e.childNodes){var n;if((0,r.qt)(o)&&(null==(n=o.contentDocument)?void 0:n.defaultView))return void t(o.contentDocument.defaultView);(0,r.Zf)(o)&&c(o.shadowRoot,t),c(o,t)}},s=e=>{let t=new Set,n=e=>{t.has(e)||t.add(e)},o=(0,l.Gy)(()=>e.document);if(!o)return[];c(o,n);let{frames:r}=e;for(let e=0;e<r.length;e++)n(r[e]);return Array.from(t)};function u(e){try{return function(e){var t;let n=document.getElementById("navattic-selector"),r=document.getElementById(o.HvV);return null!=(t=(null==n?void 0:n.contains(e))||(null==r?void 0:r.contains(e)))&&t}(e.frameElement)}catch(e){return!0}}function d(e){try{return e.contentDocument||e.contentWindow.document}catch(e){}}function f(e,t,n){!function(e,t,n){let o,r=new i(t),l=null==e?void 0:e.contentWindow;if(!l)return r.fire();let a="about:blank";if(function(e){try{return e.location.href}catch(e){return""}}(l)!==a||e.src===a||""===e.src)return r.fire();try{var c;o=null==e||null==(c=e.contentDocument)?void 0:c.readyState}catch(e){r.fire();return}if("complete"!==o){let t=setTimeout(()=>{r.fire()},n);e.addEventListener("load",()=>{clearTimeout(t),r.fire()},{once:!0})}else r.fire()}(a(e),t,n)}},30803:(e,t,n)=>{var o;n.d(t,{S:()=>l});let r=null==(o=globalThis.document)?void 0:o.implementation;class l{resolve(e){return"string"==typeof e?this.sourceMap.has(e)?this.sourceMap.get(e):this.createFrom(e):e}createFrom(e){let t=this.document.createElement("style");return(t.setAttribute("nv-managed",""),t.textContent=e,this.document.head.appendChild(t),t.sheet)?(this.sheets.push(t.sheet),this.sourceMap.set(e,t.sheet),t.sheet):(t.remove(),null)}cleanup(){let e=this.sheets.length;for(let n=0;n<e;++n){var t;null==(t=this.sheets[n].ownerNode)||t.remove()}this.sheets.splice(0),this.sourceMap.clear()}constructor(e){this.sheets=[],this.sourceMap=new Map,this.document=null!=e?e:null==r?void 0:r.createHTMLDocument("StyleSheetManager Document")}}},72072:(e,t,n)=>{n.d(t,{nF:()=>m});let o=globalThis.requestAnimationFrame;globalThis.cancelAnimationFrame,("function"!=typeof globalThis.requestAnimationFrame||"function"!=typeof globalThis.cancelAnimationFrame)&&(o=e=>setTimeout(()=>e(Date.now()),16.6667));let r=!1,l=!1,i=[],a=new Set;function c(){}function s(e){if(l)return void i.push(e);a.has(e)||(a.add(e),1===a.size&&(r=!0,o(d),globalThis.addEventListener("scroll",c)))}function u(e){e()}function d(){l=!0,a.forEach(u),l=!1,i.splice(0).forEach(s),r&&o(d)}let f=150/9,p=!1,h=new Map;function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;h.set(e,t),p||1!==h.size||(p=!0,s(g))}function g(){for(let[e,t]of h)t<0?(h.delete(e),e()):h.set(e,t-f)}},77561:(e,t,n)=>{n.d(t,{A:()=>u});var o=n(26170),r=n(23397),l=n(75101),i=n(8520),a=n(76914),c=n(22391);let s=(0,n(92194).aD)();function u(e,t){var n,r;let u=(0,a.Pc)(),f=null!=(n=null==u?void 0:u.contentDocument)?n:document;if(!f||!e)return console.log("findElement no doc or selector",{doc:f,selector:e}),null;let{nv_id:p,nv_roots:h,roots:m,cssSelector:g}=e;if(!p&&!g)return s.log("Empty nv_id and cssSelector found",e),null;let y=((r=h)&&0!==r.length?Array.isArray(r)?r.map(e=>d(e)):(s.log("Expected string array for nv_roots, instead got value",r),null):null)||m,v=function(e,t,n){let r=[];if(!e)return r;try{r=t&&0!==t.length?function e(t,n,r,i){if(r>=n.length)return Array.from(i.querySelectorAll(t));let a=n[r]||"",c=i.querySelectorAll(a),s=[];
3return c.forEach(i=>{let a;if(i.shadowRoot)a=i.shadowRoot;else if(!(0,l.qt)(i)||!(a=(0,o.nw)(i)))return;s.push(...e(t,n,r+1,a))}),s}(e,t,0,n):Array.from(n.querySelectorAll(e))}catch(e){console.error(e)}return r}(p?d(p):g,y,f);if(0===v.length){let e=(0,c.bb)(p)?void 0:(0,i.CU)(p);return(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null}let[w]=v;return"function"==typeof t?t(w):w}function d(e){return(0,c.bb)(e)||isNaN(parseInt(e))?e:"[".concat(r.r8n,'="').concat(e,'"]')}},90500:(e,t,n)=>{n.d(t,{B:()=>p});var o=n(82494),r=n(23397),l=n(22391),i=n(39720);let a=/(?:[^\w\s]|[_])/,c=/\bmaterial-icons\b/;function s(e,t){let n=(0,l.Nt)(e),o="[".concat(" ").concat("\xa0","]"),r=n.replace(/ /g,o),i=a.test(r.charAt(0)),c=a.test(r.charAt(r.length-1));return new RegExp("".concat(i?"":"\\b").concat(r).concat(c?"":"\\b"),t?"g":"gi")}function u(e){return e.type===r.Z6A.Element&&("head"===e.tagName||"i"===e.tagName&&c.test(e.attributes.class))}var d=n(96487);async function f(e,t,n,o,l){try{let a=await (0,d.Hq)(e.nodeKey),{singleNodeCount:c,crossSpanCount:f}=function(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{caseSensitive:l=!1,includeCrossSpanSearch:a=!1}=o,c=function(e,t,n,o){let l=s(t,o),a=0;return(0,i.a)({node:e,visit:e=>{if(e.type===r.Z6A.Element)for(let t of("input"===e.tagName&&e.attributes.value&&(l.lastIndex=0,l.test(e.attributes.value)&&(l.lastIndex=0,e.attributes.value=e.attributes.value.replace(l,n),a++)),e.childNodes))t.type===r.Z6A.Text&&!t.isStyle&&(l.lastIndex=0,l.test(t.textContent)&&(l.lastIndex=0,t.textContent=t.textContent.replace(l,n),a++))},skipRecursion:u}),a}(e,t,n,l),d=0;return a&&(d=function(e,t,n,o){let l=s(t,o),a=0;return(0,i.a)({node:e,visit:e=>{if(e.type!==r.Z6A.Element)return;let t=e.childNodes,o=new Set;for(let e=0;e<t.length;e++){if(o.has(e))continue;let i=t[e];if(i.type!==r.Z6A.Element||"span"!==i.tagName)continue;let c=[],s="";for(let i=e;i<t.length;i++){let e=t[i];if(e.type!==r.Z6A.Element||"span"!==e.tagName)break;let u=function(e){for(let t of e.childNodes)if(t.type===r.Z6A.Text&&!t.isStyle)return t;return null}(e);if(c.push({element:e,textNode:u,index:i}),u&&(s+=u.textContent),l.lastIndex=0,l.test(s)&&c.length>1){l.lastIndex=0;let e=s.replace(l,n);c[0].textNode&&(c[0].textNode.textContent=e);for(let e=1;e<c.length;e++){let t=c[e].textNode;t&&(t.textContent=""),o.add(c[e].index)}a++;break}}}},skipRecursion:u}),a}(e,t,n,l)),{singleNodeCount:c,crossSpanCount:d}}(a,t,n,o),p=c+f;if(p>0){if(!await (0,d.p9)(e,a))return void l.errors++;l.capturesModified++,l.totalReplacements+=p,l.singleNodeReplacements+=c,l.crossSpanReplacements+=f,console.log("Made ".concat(p," replacement(s) (").concat(c," single, ").concat(f," cross-span)"))}}catch(t){console.error("Error processing capture ".concat(e.id,":"),t),l.errors++}}async function p(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=await (0,d.iC)(e),i={totalCaptures:l.length,capturesModified:0,totalReplacements:0,singleNodeReplacements:0,crossSpanReplacements:0,errors:0};if(0===l.length)return console.log("No web captures found in this project"),i;console.log("Processing ".concat(l.length," captures..."));let a=new o.c({limit:100,workers:1,period:60}),c=0;for(let e of l)a.enqueue(()=>f(e,t,n,r,i).finally(()=>{var e;c++,null==(e=r.onProgress)||e.call(r,c,i.totalCaptures)}));return await a.done(),console.log("Find and replace complete!",i),i}},95227:(e,t,n)=>{n.r(t),n.d(t,{injectNvTools:()=>F,nvTools:()=>P});var o=n(58484),r=n(95030),l=n(77561),i=n(86934),a=n(8381),c=n(29299),s=n(19556),u=n(38432),d=n(51782),f=n(54521),p=n(44088),h=n(39720);async function m(e,t){return await g(e,e=>Promise.all(e.map(t)))}async function g(e,t){let n=function(e){let t=0,n={};for(let o of u.i.querySelectorAll(e,"*")){if(!(0,p.Qd)(o))continue;let e=o.childNodes.find(e=>(0,p.Eq)(e));e&&(o.attributes.nv_frame_id=String(t++),n[o.attributes.nv_frame_id]=e)}return n}(e),o=[["-1",e],...Object.entries(n)],r=o.map(e=>{let[,t]=e;return t}),l=await t(r),[[,i],...a]=l.map((e,t)=>[o[t][0],e]),c=Object.fromEntries(a);l.forEach((e,t)=>r[t]!==e&&(0,f.S5)(r[t],e)),function e(t,n){for(let o of u.i.querySelectorAll(t,"[nv_frame_id]")){let t=n[o.attributes.nv_frame_id];e(t,n),o.childNodes=[t],delete o.attributes.nv_frame_id}}(i,c),(0,f.gv)(i);for(let t of u.i.querySelectorAll(e,"[nv_frame_id]"))delete t.attributes.nv_frame_id;return i}var y=n(62405),v=n(8520),w=n(22391),b=n(71695),C=n(51224),E=n(96487),S=n(22784);function T(e,t){return{type:a.Ig.DECLARATION,property:e,value:t,priority:""}}let N=[{selector:"div.left-nav-trigger-container.visible",declarations:[T("opacity","1"),T("margin-left","10px"),T("cursor","pointer"),T("pointer-events","auto")]},{selector:"div#main-content",declarations:[T("padding-left","0")]}];function A(e){return function(e){let t=0,n=0;for(let{selector:o,declarations:r}of N)for(let l of u.i.querySelectorAll(e,o))!function(e,t){let n=new Set(t.map(e=>{let{property:t}=e;return t.toLowerCase()})),o=[...(function(e){if("string"!=typeof e||!e.trim())return[];try{let[t]=(0,i.hd)(e);return(null!=t?t:[]).map(e=>new a.oX(e))}catch(e){return[]}})(e.attributes.style).filter(e=>{let{property:t}=e;return!n.has(t.toLowerCase())}),...t].map(a.hv).join(" ");return o!==e.attributes.style&&(e.attributes.style=o,!0)}(l,r)?n++:t++;return{fixedCount:t,alreadyFixedCount:n}}(e).fixedCount>0}async function I(e,t){if(!t)return(0,S.modifyWebCaptures)(A,{collectionId:e});let n=0,o=await (0,S.modifyWebCaptures)(e=>(A(e)&&n++,!1),{collectionId:e});return console.log("[dry run] Would modify ".concat(n," capture(s) in collection ").concat(e)),{...o,capturesModified:n,capturesUnchanged:o.capturesUnchanged-n}}let x="Pass a target: { projectId } for every collection of a project, { projectId, collectionId } for one project collection, or { workspaceCollectionId } for a workspace collection. Add dryRun: true to report changes without publishing.";async function _(){var e;let{projectId:t,collectionId:n,workspaceCollectionId:o,dryRun:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(o&&(t||n))throw Error("workspaceCollectionId cannot be combined with projectId or collectionId. ".concat(x));if(o){let e=await (0,E.bK)(o);if("WORKSPACE"!==e.captureCollectionType)throw Error("Collection ".concat(o," is a ").concat(e.captureCollectionType," ")+"collection, not a workspace collection; pass { projectId, collectionId } instead.");return I(o,r)}if(!t)throw Error(n?"collectionId must be paired with the projectId it belongs to. ".concat(x):x);if(n){let e=await (0,E.bK)(n);if("WORKSPACE"===e.captureCollectionType)throw Error("Collection ".concat(n," is a workspace collection; pass ")+"{ workspaceCollectionId: '".concat(n,"' } without a projectId."));if(e.projectId!==t)throw Error("Collection ".concat(n," does not belong to project ").concat(t,"."));return I(n,r)}let l=(null!=(e=(await (0,E.d3)(t)).listCaptureCollections)?e:[]).filter(e=>"PROJECT"===e.captureCollectionType);
3if(0===l.length)throw Error("No capture collections found for project ".concat(t));let i=[];for(let e of l)i.push(await I(e.id,r));return i.reduce((e,t)=>({totalCaptures:e.totalCaptures+t.totalCaptures,capturesModified:e.capturesModified+t.capturesModified,capturesUnchanged:e.capturesUnchanged+t.capturesUnchanged,errors:e.errors+t.errors}))}var R=n(90500);async function k(e,t,n){let o=null!=n?n:(0,E.cg)();return(0,R.B)(o,e,t,{includeCrossSpanSearch:!1})}async function M(e,t,n){let o=null!=n?n:(0,E.cg)();return(0,R.B)(o,e,t,{includeCrossSpanSearch:!0})}window.bulkEditor={findAndReplace:k,findAndReplaceCrossElements:M,fixLeftNavTrigger:_};var D=n(49320),j=n(84493),q=n(3562),B=n(32207),K=n(30803);let P={transitionToCapture:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C.P4;return(0,r.Re)(e,{jitStyles:!0,language:t}),await (0,o.Vd)({id:e},{language:t})},diff:d.Ui,StylesheetManager:K.S,DomTraverser:D.A,getDynamicStylesFromElement:j.Qo,getStyleCssText:j.yG,findElement:l.A,findSerializedNode:v.S_,hash62:B.p4,traceDomRoots:B.Bp,traceNvRoots:B.Ti,mimeType:b.x,clamp:w.qE,groupBy:w.$z,isNullish:w.bb,nullsafe:w.bB,tryIgnore:w.Gy,parseStylesheet:i.eK,tokenize:i.qw,serializeParsedCSS:s.T6,parseSelectorsInSheet:c._u,parseCssExpressions:a._F,calculateDataResourceKey:B.e3,arrayBufferToBase64NoPad:w.sc,parseBlockContents:i.hd,parseBlockToDeclarationMap:q.o_,serializeNodeToHtml:y.N,parseHtmlToSerializedNode:f.mJ,snQueryEngine:u.i,getLargestIdInCapture:function(e){if(!(0,p.HA)(e))return e.id;let t=-1;return(0,h.o)({node:e,visit:e=>{e.id>t&&(t=e.id)}}),t},reconcileParsedHtmlWithSourceNode:f.S5,forEachDocument:m,forAllDocuments:g},L=Symbol("nvTools"),F=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:globalThis;e[L]||(e[L]=!0,e.nvTools=P)}}}]);
4//# sourceMappingURL=5678.bc8caff5d406f19f.js.map
5//# debugId=5f876dea-d19e-5a17-b7d7-90da3ad15762

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.