PageSourceSearch

https://ai.stackspot.com/assets/text-B0H_bNyb.js

js stackspot.com collected 2026-09-28 10:20:03 UTC 12,494 bytes, 23 lines download raw bytes

1import{r as e,t}from"./chunk-QTnfLwEv.js";import{a as n,d as r,nt as i,rt as a,tt as o}from"./dist-Dwy9VqNa.js";import{a as s,t as c}from"./objectWithoutPropertiesLoose-Cck-yhK0.js";import{a as l,o as u}from"./dist-C1L--aIk.js";var d=t((e=>{var t=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,n=/\\([\u000b\u0020-\u00ff])/g,r=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;e.parse=i;function i(e){if(!e)throw TypeError(`argument string is required`);var i=typeof e==`object`?a(e):e;if(typeof i!=`string`)throw TypeError(`argument string is required to be a string`);var s=i.indexOf(`;`),c=s===-1?i.trim():i.slice(0,s).trim();if(!r.test(c))throw TypeError(`invalid media type`);var l=new o(c.toLowerCase());if(s!==-1){var u,d,f;for(t.lastIndex=s;d=t.exec(i);){if(d.index!==s)throw TypeError(`invalid parameter format`);s+=d[0].length,u=d[1].toLowerCase(),f=d[2],f.charCodeAt(0)===34&&(f=f.slice(1,-1),f.indexOf(`\\`)!==-1&&(f=f.replace(n,`$1`))),l.parameters[u]=f}if(s!==i.length)throw TypeError(`invalid parameter format`)}return l}function a(e){var t;if(typeof e.getHeader==`function`?t=e.getHeader(`content-type`):typeof e.headers==`object`&&(t=e.headers&&e.headers[`content-type`]),typeof t!=`string`)throw TypeError(`content-type header is missing from object`);return t}function o(e){this.parameters=Object.create(null),this.type=e}})),f=e(a()),p=d(),m=new Map,h=function(e){return e.cloneNode(!0)},g=function(){return window.location.protocol===`file:`},_=function(e,t,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){try{if(!/\.svg/i.test(e)&&r.readyState===2){var t=r.getResponseHeader(`Content-Type`);if(!t)throw Error(`Content type not found`);var i=(0,p.parse)(t).type;if(!(i===`image/svg+xml`||i===`text/plain`))throw Error(`Invalid content type: ${i}`)}if(r.readyState===4){if(r.status===404||r.responseXML===null)throw Error(g()?`Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.`:`Unable to load SVG file: `+e);if(r.status===200||g()&&r.status===0)n(null,r);else throw Error(`There was a problem injecting the SVG: `+r.status+` `+r.statusText)}}catch(e){if(r.abort(),e instanceof Error)n(e,r);else throw e}},r.open(`GET`,e),r.withCredentials=t,r.overrideMimeType&&r.overrideMimeType(`text/xml`),r.send()},v={},y=function(e,t){v[e]=v[e]||[],v[e].push(t)},b=function(e){for(var t=function(t,n){setTimeout(function(){if(Array.isArray(v[e])){var n=m.get(e),r=v[e][t];n instanceof SVGSVGElement&&r(null,h(n)),n instanceof Error&&r(n),t===v[e].length-1&&delete v[e]}},0)},n=0,r=v[e].length;n<r;n++)t(n)},x=function(e,t,n){if(m.has(e)){var r=m.get(e);if(r===void 0){y(e,n);return}if(r instanceof SVGSVGElement){n(null,h(r));return}}m.set(e,void 0),y(e,n),_(e,t,function(t,n){t?m.set(e,t):n.responseXML?.documentElement instanceof SVGSVGElement&&m.set(e,n.responseXML.documentElement),b(e)})},S=function(e,t,n){_(e,t,function(e,t){e?n(e):t.responseXML?.documentElement instanceof SVGSVGElement&&n(null,t.responseXML.documentElement)})},C=0,w=function(){return++C},T=[],E={},D=`http://www.w3.org/2000/svg`,O=`http://www.w3.org/1999/xlink`,k=function(e,t,n,r,i,a,o){var s=e.getAttribute(`data-src`)||e.getAttribute(`src`);if(!s){o(Error(`Invalid data-src or src attribute`));return}if(T.indexOf(e)!==-1){T.splice(T.indexOf(e),1),e=null;return}T.push(e),e.setAttribute(`src`,``),(r?x:S)(s,i,function(r,i){if(!i){T.splice(T.indexOf(e),1),e=null,o(r);return}var c=e.getAttribute(`id`);c&&i.setAttribute(`id`,c);var l=e.getAttribute(`title`);l&&i.setAttribute(`title`,l);var d=e.getAttribute(`width`);d&&i.setAttribute(`width`,d);var f=e.getAttribute(`height`);f&&i.setAttribute(`height`,f);var p=Array.from(new Set(u(u(u([],(i.getAttribute(`class`)||``).split(` `),!0),[`injected-svg`],!1),(e.getAttribute(`class`)||``).split(` `),!0))).join(` `).trim();i.setAttribute(`class`,p);var m=e.getAttribute(`style`);m&&i.setAttribute(`style`,m),i.setAttribute(`data-src`,s);var h=[].filter.call(e.attributes,function(e){return/^data-\w[\w-]*$/.test(e.name)}
1);if(Array.prototype.forEach.call(h,function(e){e.name&&e.value&&i.setAttribute(e.name,e.value)}),n){var g={clipPath:[`clip-path`],"color-profile":[`color-profile`],cursor:[`cursor`],filter:[`filter`],linearGradient:[`fill`,`stroke`],marker:[`marker`,`marker-start`,`marker-mid`,`marker-end`],mask:[`mask`],path:[],pattern:[`fill`,`stroke`],radialGradient:[`fill`,`stroke`]},_,v,y,b,x;Object.keys(g).forEach(function(e){_=e,y=g[e],v=i.querySelectorAll(_+`[id]`);for(var t=function(e,t){b=v[e].id,x=b+`-`+w();var n;Array.prototype.forEach.call(y,function(e){n=i.querySelectorAll(`[`+e+`*="`+b+`"]`);for(var t=0,r=n.length;t<r;t++){var a=n[t].getAttribute(e);a&&!a.match(RegExp(`url\\("?#`+b+`"?\\)`))||n[t].setAttribute(e,`url(#`+x+`)`)}});for(var r=i.querySelectorAll(`[*|href]`),a=[],o=0,s=r.length;o<s;o++){var c=r[o].getAttributeNS(O,`href`);c&&c.toString()===`#`+v[e].id&&a.push(r[o])}for(var l=0,u=a.length;l<u;l++)a[l].setAttributeNS(O,`href`,`#`+x);v[e].id=x},n=0,r=v.length;n<r;n++)t(n)})}i.removeAttribute(`xmlns:a`);for(var S=i.querySelectorAll(`script`),C=[],k,A,j=0,M=S.length;j<M;j++)A=S[j].getAttribute(`type`),(!A||A===`application/ecmascript`||A===`application/javascript`||A===`text/javascript`)&&(k=S[j].innerText||S[j].textContent,k&&C.push(k),i.removeChild(S[j]));if(C.length>0&&(t===`always`||t===`once`&&!E[s])){for(var N=0,P=C.length;N<P;N++)Function(C[N])(window);E[s]=!0}var F=i.querySelectorAll(`style`);if(Array.prototype.forEach.call(F,function(e){e.textContent+=``}),i.setAttribute(`xmlns`,D),i.setAttribute(`xmlns:xlink`,O),a(i),!e.parentNode){T.splice(T.indexOf(e),1),e=null,o(Error(`Parent node is null`));return}e.parentNode.replaceChild(i,e),T.splice(T.indexOf(e),1),e=null,o(null,i)})},A=function(e,t){var n=t===void 0?{}:t,r=n.afterAll,i=r===void 0?function(){}:r,a=n.afterEach,o=a===void 0?function(){}:a,s=n.beforeEach,c=s===void 0?function(){}:s,l=n.cacheRequests,u=l===void 0?!0:l,d=n.evalScripts,f=d===void 0?`never`:d,p=n.httpRequestWithCredentials,m=p===void 0?!1:p,h=n.renumerateIRIElements,g=h===void 0?!0:h;if(e&&`length`in e)for(var _=0,v=0,y=e.length;v<y;v++)k(e[v],f,g,u,m,c,function(t,n){o(t,n),e&&`length`in e&&e.length===++_&&i(_)});else e?k(e,f,g,u,m,c,function(t,n){o(t,n),i(1),e=null}):i(0)},j=t(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),M=t(((e,t)=>{var n=j();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),N=t(((e,t)=>{t.exports=M()()})),P=e(N()),F=function(e){return(e?.ownerDocument||document).defaultView||window},I=function(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1},L=[`afterInjection`,`beforeInjection`,`desc`,`evalScripts`,`fallback`,`httpRequestWithCredentials`,`loading`,`renumerateIRIElements`,`src`,`title`,`useRequestCache`,`wrapper`],R=`http://www.w3.org/2000/svg`,z=`http://www.w3.org/1999/xlink`,B=function(e){function t(){var t,n=[...arguments];return t=e.call.apply(e,[this].concat(n))||this,t.initialState={hasError:!1,isLoading:!0},t.state=t.initialState,t._isMounted=!1,t.reactWrapper=void 0,t.nonReactWrapper=void 0,t.refCallback=function(e){t.reactWrapper=e},t}l(t,e);var n=t.prototype;return n.renderSVG=function(){var e=this;if(this.reactWrapper instanceof F(this.reactWrapper).Node){var t=this.props,n=t.desc,r=t.evalScripts,i=t.httpRequestWithCredentials,a=t.renumerateIRIElements,o=t.src,s=t.title,c=t.useRequestCache,l=this.props.onError,u=this.props.beforeInjection,d=this.props.afterInjection,f=this.props.wrapper,p,m;f===`svg`?(p=document.createElementNS(R,f),p.setAttribute(`xmlns`,R),p.setAttribute(`xmlns:xlink`,z),m=document.createElementNS(R,f)):(p=document.createElement(f),m=document.createElement(f)),p.appendChild(m),m.dataset.src=o,this.nonReactWrapper=this.reactWrapper.appendChild(p);var h=function(t){if(e.removeSVG(),!e._isMounted){l(t);return}e.setState(function(){return{hasError:!0,isLoading:!1}},function(){l(t)})};A(m,{afterEach:function(t,n){if(t){h(t);return}e._isMounted&&e.setState(function(){return{isLoading:!1}},function(){try{d(n)}catch(e){h(e)}})},beforeEach:function(e){if(e.setAttribute(`role`,`img`),n){var t=e.querySelector(`:scope > desc`);t&&e.removeChild(t);var r=document.createElement(`desc`);r.innerHTML=n,e.prepend(r)}if(s){var i=e.querySelector(`:scope > title`);
1i&&e.removeChild(i);var a=document.createElement(`title`);a.innerHTML=s,e.prepend(a)}try{u(e)}catch(e){h(e)}},cacheRequests:c,evalScripts:r,httpRequestWithCredentials:i,renumerateIRIElements:a})}},n.removeSVG=function(){var e;(e=this.nonReactWrapper)!=null&&e.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(e){var t=this;I(s({},e),this.props)&&this.setState(function(){return t.initialState},function(){t.removeSVG(),t.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var e=this.props;e.afterInjection,e.beforeInjection,e.desc,e.evalScripts;var t=e.fallback;e.httpRequestWithCredentials;var n=e.loading;e.renumerateIRIElements,e.src,e.title,e.useRequestCache;var r=e.wrapper,i=c(e,L),a=r;return f.createElement(a,s({},i,{ref:this.refCallback},r===`svg`?{xmlns:R,xmlnsXlink:z}:{}),this.state.isLoading&&n&&f.createElement(n,null),this.state.hasError&&t&&f.createElement(t,null))},t}(f.Component);B.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:``,evalScripts:`never`,fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:``,useRequestCache:!0,wrapper:`div`},B.propTypes={afterInjection:P.func,beforeInjection:P.func,desc:P.string,evalScripts:P.oneOf([`always`,`once`,`never`]),fallback:P.oneOfType([P.func,P.object,P.string]),httpRequestWithCredentials:P.bool,loading:P.oneOfType([P.func,P.object,P.string]),onError:P.func,renumerateIRIElements:P.bool,src:P.string.isRequired,title:P.string,useRequestCache:P.bool,wrapper:P.oneOf([`div`,`span`,`svg`])};var V=i(),H=o(B)`
2  ${({color:e})=>`
3    fill: ${e};
4
5    path {
6      fill: ${e};
7    }
8  `}
9`,U=(0,f.memo)(({name:e,color:t,isLogo:n,width:r,height:i,className:a,...o})=>{let s=[r?`width: ${r};`:``,i?`height: ${i};`:``].join(` `),c=`/assets/svg/${n?`logos`:`icons`}/${e}.svg`;return(0,V.jsx)(H,{src:c,beforeInjection:e=>{s&&e.setAttribute(`style`,s)},afterInjection:e=>{let t=[r?`width: ${r};`:``,i?`height: ${i};`:``].join(` `);t&&e.parentElement?.parentElement?.setAttribute(`style`,t),e.parentElement?.setAttribute(`style`,`
10      display: flex;
11      align-items: center;
12      justify-content: center;
13    `),e.removeAttribute(`role`)},className:a,wrapper:`span`,color:t,...o}
13)}),W={Roboto:`'Roboto', sans-serif`,Inter:`Inter`},G={light:300,regular:400,medium:500,semibold:600,bold:700},K=o.span`
14  overflow: hidden;
15  text-overflow: ellipsis;
16  font-style: normal;
17  padding: 0;
18  margin: 0;
19  font-feature-settings: 'clig' off, 'liga' off;
20  text-rendering: optimizeLegibility;
21  text-shadow: ${n(r.color.primary.contrastText,.01)} 0 0 0.063rem;
22  white-space: pre-wrap;
23`,q=({fontSize:e,lineHeight:t,textTransform:n,style:i={},color:a=r.color.light.contrastText,fontWeight:o=`regular`,fontStyle:s=`normal`,fontFamily:c=`Roboto`,children:l,...u})=>(0,V.jsx)(K,{style:{...i,color:a,fontStyle:s,fontWeight:G[o],fontFamily:W[c],...e?{fontSize:e}:{},...t?{lineHeight:t}:{},...n?{textTransform:n}:{}},...u,children:l}),J=({level:e=2,children:t,lineHeight:n=`1.5rem`,fontSize:r=`${1-(e-1)*.125}rem`,lang:i,...a})=>(0,V.jsx)(q,{fontSize:r,lang:i,lineHeight:n,...a,children:t}),Y=({children:e,...t})=>(0,V.jsx)(q,{fontSize:`0.75rem`,lineHeight:`1rem`,...t,children:e});export{U as a,G as i,J as n,N as o,W as r,Y as t};

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.