blog-hexo/themes/hexo-theme-linear/source/js/96ea39da.js

1 line
8.6 KiB
JavaScript
Raw Normal View History

2023-10-19 21:55:22 +08:00
(()=>{var e,t,r={59:(e,t,r)=>{var n={"./prism-atom-dark.less":[271,271],"./prism-duotone-sea.less":[922,922],"./prism-laserwave.less":[796,21],"./prism-line-number.less":[206,206],"./prism-material-dark.less":[429,429],"./prism-night-owl.less":[291,291],"./prism-one-dark.less":[766,766],"./prism-one-light.less":[618,618],"./prism-vsc-dark-plus.less":[945,945]};function o(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],o=t[0];return r.e(t[1]).then((()=>r(o)))}o.keys=()=>Object.keys(n),o.id=59,e.exports=o},837:()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){!function(e,t){const r=document.querySelector(e);r&&document.addEventListener("selectionchange",(()=>{const e=window.getSelection();if(e&&e.rangeCount>0&&!e.isCollapsed){const n=e.getRangeAt(0);if(r.contains(n.startContainer)&&r.contains(n.endContainer)){const o=e.toString(),s=[],i=document.createNodeIterator(n.commonAncestorContainer,NodeFilter.SHOW_ELEMENT);let a;for(;a=i.nextNode();)n.intersectsNode(a)&&s.push(a);const l=s.filter((e=>r!==e));t({selectedElements:l,selectedText:o})}}}))}(".article-container article",(e=>{}))}))}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var s=n[e]={exports:{}};return r[e](s,s.exports,o),s.exports}o.m=r,o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>"js/"+e+"."+{21:"282c05e7",206:"759361ed",271:"ee88a6de",291:"4ac6984b",429:"bc4769cb",618:"1a58fba9",766:"9503a62c",922:"689e0633",945:"0313a94c"}[e]+".js",o.miniCssF=e=>"css/"+e+"."+{21:"88950121",206:"a3a4e130",271:"54fa1675",291:"a8323266",429:"fb1dabcb",618:"6513d67e",766:"64ad3c35",922:"9efa0b6b",945:"fdf98cb0"}[e]+".css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@ornn/dockyard:",o.l=(r,n,s,i)=>{if(e[r])e[r].push(n);else{var a,l;if(void 0!==s)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+s){a=u;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",t+s),a.src=r),e[r]=[n];var m=(t,n)=>{a.onerror=a.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(n))),t)return t(n)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=m.bind(null,a.onerror),a.onload=m.bind(null,a.onload),l&&document.head.appendChild(a)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e+"../"})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,r)=>{var n=o.miniCssF(e),s=o.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(i=r[n]).getAttribute("data-href")||i.getAttribute("href");if("stylesheet"===i.rel&&(o===e||o===t))return i}var s=document.getElementsByTagName("style");for(n=0;n<s.length;n++){var i;if((o=(i=s[n]).getAttribute("data-href"))===e||o===t)return i}})(n,s))return t();((e,t,r,n,o)=>{var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onerror=s.onload=r=>{if(s.onerror=s.onload=null,"load"===r.type)n();else{var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=a,s.parentNode&&s.parentNode