HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/AppData/Local/Microsoft/OneDrive/26.168.0830.0006/WebAssets/static/platform/icon.js
const _BASE_URL="/static/vendor/fluentui-icons",_cache=new Map,_GRAD_ID="icon-grad";function _ensureGradient(){if(!document.getElementById(_GRAD_ID)){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("aria-hidden","true"),e.style.cssText="position:absolute;width:0;height:0;overflow:hidden",e.innerHTML='<defs><linearGradient id="'+_GRAD_ID+'" x1="0%" y1="100%" x2="100%" y2="0%"><stop offset="21.43%" stop-color="var(--icon-grad-stop-1)"/><stop offset="90.25%" stop-color="var(--icon-grad-stop-2)"/></linearGradient></defs>';var t=document.body||document.documentElement;t.appendChild(e)}}function _toPath(e){var t=e.match(/^(.+?)(\d{2})(Regular|Filled)$/);if(!t)return e.toLowerCase();var n=t[1].replace(/([a-z])([A-Z0-9])/g,"$1_$2").replace(/([0-9])([A-Z])/g,"$1_$2").toLowerCase();return n+"_"+t[2]+"_"+t[3].toLowerCase()}function _fetch(e){return _cache.has(e)||_cache.set(e,fetch(`${_BASE_URL}/${_toPath(e)}.svg`).then(t=>t.ok?t.text():null).catch(()=>null)),_cache.get(e)}function icon(e,t){const n=document.createElement("span");return n.className=t?`fluent-icon ${t}`:"fluent-icon",n.setAttribute("aria-hidden","true"),n.dataset.icon=e,_fetch(e).then(r=>!r&&/Filled$/.test(e)?_fetch(e.replace(/Filled$/,"Regular")):r).then(r=>{r&&(n.innerHTML=r)}),n}function ensureIcon(e,t,n){var r=e.querySelector(".fluent-icon");if(r){if(r.dataset.icon===t)return r;r.remove()}var o=icon(t,n);return o.dataset.icon=t,e.prepend(o),o}function preloadIcons(...e){e.forEach(_fetch)}function ensureDualIcon(e,t){var n=t.replace(/Regular$/,"Filled"),r=e.querySelector(".icon-rest"),o=e.querySelector(".icon-filled");if(!(r&&o&&r.dataset.icon===t)){for(var c=e.querySelectorAll(".icon-rest, .icon-filled"),i=0;i<c.length;i++)c[i].remove();var l=icon(n,"icon-filled"),a=icon(t,"icon-rest");e.prepend(l),e.prepend(a)}}function ensureIconGradient(){_ensureGradient()}function fetchIconPath(e){return _fetch(e).then(t=>{if(!t)return null;const n=t.match(/\bd="([^"]+)"/);return n?n[1]:null})}