PageSourceSearch

https://696988.xyz/_next/static/chunks/13045.b65b6dcc3c64ef04.js

js 696988.xyz collected 2026-10-07 20:00:03 UTC 16,787 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[13045,7835,41053,70387,53817,17450,59594,4217,66011,6140,27143,24596,70752,78790,6221,29259,74533,94062,37706],{37352:function(e,t,r){r.d(t,{$k:function(){return d},Bl:function(){return _},GL:function(){return E},Hj:function(){return O},I$:function(){return u},JF:function(){return o},SK:function(){return i},VN:function(){return h},_Q:function(){return c},kO:function(){return l},pL:function(){return s},pe:function(){return f},s$:function(){return a},z$:function(){return g}});var n=r(85893);let o=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})}),l=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z"})}),i=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12l8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})})},s=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182m0-4.991v4.99"})})},a=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})})},c=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})},d=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.75 19.5l-7.5-7.5 7.5-7.5m-6 15L5.25 12l7.5-7.5"})})},_=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5"})})},u=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})})},h=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5l-3.9 19.5m-2.1-19.5l-3.9 19.5"})})},f=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 15l3-3m0 0l-3-3m3 3h-7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})},E=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m6-6H6"})})},O=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12h15m0 0l-6.75-6.75M19.5 12l-6.75 6.75"})})},g=e=>{let{className:t}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:t,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 19.5v-15m0 0l-6.75 6.75M12 4.5l6.75 6.75"})})}},78790:function(e,t,r){r.d(t,{Z:function(){return c}});
1var n=r(85893),o=r(21384),l=r(9008),i=r.n(l),s=r(67294);let a=(e,t)=>{let r=Number(e),n=Number(t);return Number.isFinite(r)&&r>0?Number.isFinite(n)&&n>0?Math.min(r,n):r:t};function c(e){let{priority:t,id:r,src:l,alt:c,fallbackSrc:_,placeholderSrc:u,className:h,width:f,height:E,title:O,onLoad:g,onClick:m,style:w,loading:p}=e,x=a(f,(0,o.JA)("IMAGE_COMPRESS_WIDTH")),v=(0,o.JA)("IMG_LAZY_LOAD_PLACEHOLDER"),b=(0,s.useRef)(null),[T,H]=(0,s.useState)(t&&l?d(l,x):u||v),[k,L]=(0,s.useState)(!!(t&&l)),R=(0,s.useCallback)(()=>{b.current&&(b.current.src!==_&&_?b.current.src=_:b.current.src!==u&&u?b.current.src=u:b.current.src=v,L(!0),b.current.classList.remove("lazy-image-placeholder"))},[v,_,u]);(0,s.useEffect)(()=>{let e=d(l,x)||v,r=b.current,n=()=>{"function"==typeof g&&g(),L(!0),b.current&&b.current.classList.remove("lazy-image-placeholder")};if(t){let t=new Image;t.src=e,t.onload=()=>{H(e),n(e)},t.onerror=R;return}if(!window.IntersectionObserver){let t=new Image;t.src=e,t.onload=()=>{H(e),n(e)},t.onerror=R;return}let i=new IntersectionObserver(t=>{t.forEach(t=>{if(t.isIntersecting){let r=new Image;"decoding"in r&&(r.decoding="async"),r.src=e,r.onload=()=>{H(e),n(e)},r.onerror=R,i.unobserve(t.target)}})},{rootMargin:(0,o.JA)("LAZY_LOAD_THRESHOLD","200px"),threshold:.1});return r&&i.observe(r),()=>{r&&i.unobserve(r)}},[l,x,t,v,_,R,g,u]);let I={ref:b,src:T,"data-src":l,alt:c||"Lazy loaded image",onLoad:()=>{},onError:R,className:"".concat(h||"").concat(k?"":" lazy-image-placeholder"),style:{aspectRatio:f&&E?"".concat(f," / ").concat(E):void 0,containIntrinsicSize:f||E?void 0:"300px 200px",...w},onClick:m,loading:t?"eager":p||"lazy",decoding:"async",...(0,o.JA)("WEBP_SUPPORT")&&{"data-webp":!0},...(0,o.JA)("AVIF_SUPPORT")&&{"data-avif":!0}};return(r&&(I.id=r),O&&(I.title=O),f&&(I.width=f),E&&(I.height=E),t&&(I.fetchpriority="high"),l)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{alt:I.alt,...I}),t&&(0,n.jsx)(i(),{children:(0,n.jsx)("link",{rel:"preload",as:"image",href:d(l,x),fetchpriority:"high"})})]}):null}let d=(e,t)=>{var r,n;if(!e)return null;let o=(null===(n=window)||void 0===n?void 0:null===(r=n.screen)||void 0===r?void 0:r.width)||t,l=Number(t),i=Number.isFinite(l)&&l>0?Math.min(o,l):o;return i?e.replace(/width=\d+/,"width=".concat(i)).replace(/w=\d+/,"w=".concat(i)):e}},7835:function(e,t,r){var n=r(85893),o=r(41664),l=r.n(o),i=r(21384);let s=e=>{let{passHref:t,legacyBehavior:r,placeholderSrc:n,fallbackSrc:o,...l}=e;return l},a=e=>{let{placeholderSrc:t,fallbackSrc:r,src:n,alt:o,width:l,height:i,loading:s,decoding:a,onLoad:c,onError:d,..._}=e;return _};t.Z=e=>{let{href:t,children:r,...o}=e,c=(0,i.JA)("LINK"),d="";"string"==typeof t?d=t:"object"==typeof t&&null!==t&&"string"==typeof t.pathname&&(d=t.pathname);let _=d.startsWith("http")&&!d.startsWith(c),u=()=>{var e;let t=new URLSearchParams((null===(e=window.location.search)||void 0===e?void 0:e.slice(1))||""),r={};for(let[e,n]of t.entries())""!==n&&(r[e]=n);return r};if(_){let e="string"==typeof t?t:new URL(t.pathname,c).toString();return(0,n.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",...s(o),children:r})}let h="string"==typeof t?(e=>{if("string"!=typeof e||!e||e.startsWith("#"))return e;let t=u();if(0===Object.keys(t).length)return e;let r=e.startsWith("http://")||e.startsWith("https://"),n=new URL(e,c);return(Object.entries(t).forEach(e=>{let[t,r]=e;n.searchParams.has(t)||n.searchParams.set(t,r)}),r)?n.toString():"".concat(n.pathname).concat(n.search).concat(n.hash)})(t):(e=>{if(!e||"object"!=typeof e)return e;let t=u();return 0===Object.keys(t).length?e:{...e,query:{...t,...e.query||{}}}})(t);return(0,n.jsx)(l(),{href:h,...a(o),children:r})}},41053:function(e,t,r){r.r(t);var n=r(85893),o=r(5152);let l=r.n(o)()(()=>Promise.all([r.e(2350),r.e(83756),r.e(87897)]).then(r.bind(r,87897)),{loadableGenerated:{webpack:()=>[87897]}});t.default=e=>{let{post:t,className:r}=e;return(null==t?void 0:t.blockMap)?(0,n.jsx)("div",{children:t&&(0,n.jsx)("div",{id:"announcement-content",children:(0,n.jsx)(l,{post:t})})}):(0,n.jsx)(n.Fragment,{})}},53817:function(e,t,r){r.r(t);var n=r(85893);t.default=e=>{let{children:t,headerSlot:r,className:o}=e;return(0,n.jsxs)("div",{className:"".concat(o||""," card border dark:border-gray-700 rounded-xl lg:p-6 p-4"),children:[(0,n.jsx)(n.Fragment,{children:r}),(0,n.jsx)("section",{children:t})]})}},13045:function(e,t,r){r.r(t),r.d(t,{InfoCard:function(){return f},normalizeInfoCardGreetings:function(){return h}});
1var n=r(85893),o=r(37352),l=r(78790),i=r(21384),s=r(7835),a=r(11163),c=r(67294),d=r(66011),_=r(41053),u=r(53817);function h(e){if(Array.isArray(e))return e.map(e=>String(e).trim()).filter(Boolean);if("string"!=typeof e)return[];let t=e.trim();if(!t)return[];if(t.startsWith("[")&&t.endsWith("]"))try{let e=JSON.parse(t.replace(/'/g,'"'));return h(e)}catch(e){return t.slice(1,-1).split(",").map(e=>e.trim().replace(/^['"]|['"]$/g,"")).filter(Boolean)}return[t]}function f(e){let{siteInfo:t,notice:r}=e,o=0===(0,a.useRouter)().pathname.indexOf("/[prefix]"),c=(0,i.JA)("HEO_INFO_CARD_URL1",null,d.default),h=(0,i.JA)("HEO_INFO_CARD_ICON1",null,d.default),f=(0,i.JA)("HEO_INFO_CARD_URL2",null,d.default),g=(0,i.JA)("HEO_INFO_CARD_ICON2",null,d.default);return(0,n.jsxs)(u.default,{className:"wow fadeInUp bg-[#4f65f0] dark:bg-yellow-600 text-white flex flex-col w-72 overflow-hidden relative",children:[(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)(O,{}),(0,n.jsx)("div",{className:"".concat(o?"absolute right-0 -mt-8 -mr-6 hover:opacity-0 hover:scale-150 blur":"cursor-pointer"," justify-center items-center flex dark:text-gray-100 transform transitaion-all duration-200"),children:(0,n.jsx)(l.Z,{src:null==t?void 0:t.icon,className:"rounded-full",width:o?100:28,height:o?100:28,alt:(0,i.JA)("AUTHOR")})})]}),(0,n.jsx)("h2",{className:"text-3xl font-extrabold mt-3",children:(0,i.JA)("AUTHOR")}),(0,n.jsx)(_.default,{post:r,style:{color:"white !important"}}),(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsxs)("div",{className:"flex space-x-3  hover:text-black dark:hover:text-white",children:[c&&(0,n.jsx)("div",{className:"w-10 text-center bg-indigo-400 p-2 rounded-full  transition-colors duration-200 dark:bg-yellow-500 dark:hover:bg-black hover:bg-white",children:(0,n.jsx)(s.Z,{href:c,children:(0,n.jsx)("i",{className:h})})}),f&&(0,n.jsx)("div",{className:"bg-indigo-400 p-2 rounded-full w-10 items-center flex justify-center transition-colors duration-200 dark:bg-yellow-500 dark:hover:bg-black hover:bg-white",children:(0,n.jsx)(s.Z,{href:f,children:(0,n.jsx)("i",{className:g})})})]}),(0,n.jsx)(E,{})]})]})}function E(){let e=(0,i.JA)("HEO_INFO_CARD_URL3",null,d.default),t=(0,i.JA)("HEO_INFO_CARD_TEXT3",null,d.default);return e?(0,n.jsx)(s.Z,{href:e,children:(0,n.jsxs)("div",{className:"group bg-indigo-400 dark:bg-yellow-500 hover:bg-white dark:hover:bg-black hover:text-black dark:hover:text-white flex items-center transition-colors duration-200 py-2 px-3 rounded-full space-x-1",children:[(0,n.jsx)(o.pe,{className:"group-hover:stroke-black dark:group-hover:stroke-white w-6 h-6 transition-all duration-100"}),(0,n.jsx)("div",{className:"font-bold",children:t})]})}):(0,n.jsx)(n.Fragment,{})}function O(){let e=h((0,i.JA)("HEO_INFOCARD_GREETINGS",null,d.default)),[t,r]=(0,c.useState)(e[0]);return 0===e.length?null:(0,n.jsx)("div",{onClick:()=>{let t=Math.floor(Math.random()*e.length);r(e[t])},className:" select-none cursor-pointer py-1 px-2 bg-indigo-400 hover:bg-indigo-50  hover:text-indigo-950 dark:bg-yellow-500 dark:hover:text-white dark:hover:bg-black text-sm rounded-lg  duration-200 transition-colors",children:t})}},66011:function(e,t,r){r.r(t),t.default={HEO_HOME_POST_TWO_COLS:!0,HEO_LOADING_COVER:!0,HEO_HOME_BANNER_ENABLE:!0,HEO_SITE_CREATE_TIME:"2021-09-21",HEO_NOTICE_BAR:[{title:"欢迎来到我的博客",url:"https://blog.tangly1024.com"},{title:"访问文档中心获取更多帮助",url:"https://docs.tangly1024.com"}],HEO_HERO_REVERSE:!1,HEO_HERO_BODY_REVERSE:!1,HEO_HERO_TITLE_1:"分享编程",HEO_HERO_TITLE_2:"与思维认知",HEO_HERO_TITLE_3:"TANGLY1024.COM",HEO_HERO_TITLE_4:"新版上线",HEO_HERO_TITLE_5:"NotionNext4.0 轻松定制主题",HEO_HERO_TITLE_LINK:"https://tangly1024.com",HEO_HERO_COVER_TITLE:"随便逛逛",HEO_HERO_CATEGORY_1:{title:"必看精选",url:"/tag/必看精选"},HEO_HERO_CATEGORY_2:{title:"热门文章",url:"/tag/热门文章"},HEO_HERO_CATEGORY_3:{title:"实用教程",url:"/tag/实用教程"},HEO_HERO_RECOMMEND_POST_TAG:"推荐",HEO_HERO_RECOMMEND_POST_SORT_BY_UPDATE_TIME:!1,HEO_HERO_RECOMMEND_COVER_ENABLE:!1,HEO_INFOCARD_GREETINGS:["你好!我是","\uD83D\uDD0D 分享与热心帮助","\uD83E\uDD1D 专修交互与设计","\uD83C\uDFC3 脚踏实地行动派","\uD83C\uDFE0 智能家居小能手","\uD83E\uDD16️ 数码科技爱好者","\uD83E\uDDF1 团队小组发动机"],HEO_INFO_CARD_URL1:"/about",HEO_INFO_CARD_ICON1:"fas fa-user",HEO_INFO_CARD_URL2:"https://github.com/tangly1024",HEO_INFO_CARD_ICON2:"fab fa-github",HEO_INFO_CARD_URL3:"https://www.tangly1024.com",HEO_INFO_CARD_TEXT3:"了解更多",HEO_GROUP_ICONS:[{title_1:"AfterEffect",img_1:"/images/heo/20239df3f66615b532ce571eac6d14ff21cf072602.webp",color_1:"#989bf8",title_2:"Sketch",img_2:"/images/heo/2023e0ded7b724a39f12d59c3dc8fbdc7cbe074202.webp",color_2:"#ffffff"},{title_1:"Docker",img_1:"/images/heo/20231108a540b2862d26f8850172e4ea58ed075102.webp",color_1:"#57b6e6",title_2:"Photoshop",img_2:"/images/heo/2023e4058a91608ea41751c4f102b131f267075902.webp",color_2:"#4082c3"},{title_1:"FinalCutPro",img_1:"/images/heo/20233e777652412247dd57fd9b48cf997c01070702.webp",color_1:"#ffffff",title_2:"Python",img_2:"/images/heo/20235c0731cd4c0c95fc136a8db961fdf963071502.webp",color_2:"#ffffff"},{title_1:"Swift",img_1:"/images/heo/202328bbee0b314297917b327df4a704db5c072402.webp",color_1:"#eb6840",title_2:"Principle",img_2:"/images/heo/2023f76570d2770c8e84801f7e107cd911b5073202.webp",color_2:"#8f55ba"},{title_1:"illustrator",img_1:"/images/heo/20237359d71b45ab77829cee5972e36f8c30073902.webp",color_1:"#f29e39",title_2:"CSS3",img_2:"/images/heo/20237c548846044a20dad68a13c0f0e1502f074602.webp",color_2:"#2c51db"},{title_1:"JS",img_1:"/images/heo/2023786e7fc488f453d5fb2be760c96185c0075502.webp",color_1:"#f7cb4f",title_2:"HTML",img_2:"/images/heo/202372b4d760fd8a497d442140c295655426070302.webp",color_2:"#e9572b"},{title_1:"Git",img_1:"/images/heo/2023ffa5707c4e25b6beb3e6a3d286ede4c6071102.webp",color_1:"#df5b40",title_2:"Rhino",img_2:"/images/heo/20231ca53fa0b09a3ff1df89acd7515e9516173302.webp",color_2:"#1f1f1f"}],HEO_SOCIAL_CARD:!0,HEO_SOCIAL_CARD_TITLE_1:"交流频道",HEO_SOCIAL_CARD_TITLE_2:"加入我们的社群讨论分享",HEO_SOCIAL_CARD_TITLE_3:"点击加入社群",HEO_SOCIAL_CARD_URL:"https://docs.tangly1024.com/article/how-to-question",HEO_POST_COUNT_TITLE:"文章数:",HEO_SITE_TIME_TITLE:"建站天数:",HEO_SITE_VISIT_TITLE:"访问量:",HEO_SITE_VISITOR_TITLE:"访客数:",HEO_MENU_INDEX:!0,HEO_MENU_CATEGORY:!0,HEO_MENU_TAG:!0,HEO_MENU_ARCHIVE:!0,HEO_MENU_SEARCH:!0,HEO_POST_LIST_COVER:!0,HEO_POST_LIST_COVER_HOVER_ENLARGE:!1,HEO_POST_LIST_COVER_DEFAULT:!0,HEO_POST_LIST_SUMMARY:!0,HEO_POST_LIST_PREVIEW:!1,HEO_POST_LIST_IMG_CROSSOVER:!0,HEO_ARTICLE_ADJACENT:!0,HEO_ARTICLE_COPYRIGHT:!0,HEO_ARTICLE_NOT_BY_AI:!1,HEO_ARTICLE_RECOMMEND:!0,HEO_WIDGET_LATEST_POSTS:!0,HEO_WIDGET_ANALYTICS:!1,HEO_WIDGET_TO_TOP:!0,HEO_WIDGET_TO_COMMENT:!0,HEO_WIDGET_DARK_MODE:!0,HEO_WIDGET_TOC:!0}}}]);

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.