PageSourceSearch

https://www.jinghuangsu.com/_next/static/chunks/1853-dc700a0cdb6bbbc4.js

js jinghuangsu.com collected 2026-10-02 01:33:06 UTC 4,508 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1853],{40435:function(t,n,i){i.d(n,{Hs:function(){return p},Qh:function(){return u},U2:function(){return d},kl:function(){return z}}),i(34700);var e=i(66600),h=i(23408),r=i(97217),a=i(85033),o=i(68755),s=i(44684),c=i(86787),l=i(74265);e.Z,h.Z,r.Z,a.Z,o.Z,s.Z,c.Z,l.Z;let u="scroll-area",z={"writing/musings":{introduction:1,musings:2,Basic:3,Advanced:4},"writing/uk":{visa:1,finance:2,rent:3},"writing/ai":{"learning-methods":1,tools:2,tutorials:3},"writing/career":{musings:1},"writing/productivity":{tools:1},"til/floating-ui":{overview:1,middleware:2,hooks:3},"til/radix-ui":{components:4,accessbility:2,fundamental:1,animation:3},"til/ux":{patterns:1},"til/productivity":{tools:1},"til/ddd":{patterns:1},"til/misc":{notes:1}},d={musings:{"zh-hant":"雜談","zh-cn":"随笔"},introduction:{"zh-hant":"介紹","zh-cn":"介绍"},visa:{"zh-hant":"英國簽證","zh-cn":"英国签证"},rent:{"zh-hant":"英國租屋","zh-cn":"英国租房"},ai:{"zh-hant":"AI","zh-cn":"AI"},"learning-methods":{"zh-hant":"學習方法","zh-cn":"学习方法"},tools:{"zh-hant":"工具","zh-cn":"工具"},tutorials:{"zh-hant":"教學","zh-cn":"教程"},career:{"zh-hant":"職涯","zh-cn":"职业发展"},productivity:{"zh-hant":"生產力","zh-cn":"效率"},finance:{"zh-hant":"個人財務","zh-cn":"个人理财"},overview:{"zh-hant":"概述","zh-cn":"概览"},middleware:{"zh-hant":"中間件","zh-cn":"中间件"},hooks:{"zh-hant":"Hooks","zh-cn":"Hooks"},components:{"zh-hant":"元件","zh-cn":"组件"},patterns:{"zh-hant":"模式","zh-cn":"模式"},notes:{"zh-hant":"筆記","zh-cn":"笔记"},fundamental:{"zh-hant":"基礎","zh-cn":"基础"},animation:{"zh-hant":"動畫","zh-cn":"动画"},accessbility:{"zh-hant":"無障礙","zh-cn":"无障碍"}},p={ai:{"zh-hant":"AI","zh-cn":"AI"},uk:{"zh-hant":"英國","zh-cn":"英国"},musings:{"zh-hant":"雜談","zh-cn":"随笔"},career:{"zh-hant":"職涯","zh-cn":"职业发展"},productivity:{"zh-hant":"生產力","zh-cn":"效率"},"floating-ui":{"zh-hant":"Floating UI","zh-cn":"Floating UI"},"radix-ui":{"zh-hant":"Radix UI","zh-cn":"Radix UI"},ux:{"zh-hant":"UX","zh-cn":"UX"},ddd:{"zh-hant":"領域驅動設計","zh-cn":"领域驱动设计"},misc:{"zh-hant":"雜項","zh-cn":"杂项"}}},91853:function(t,n,i){i.d(n,{Bm:function(){return s},Hs:function(){return c},Ms:function(){return z},TN:function(){return d},cn:function(){return o},j9:function(){return f},yG:function(){return l}});var e=i(99285),h=i(54649),r=i(40435),a=i(10648);function o(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return(0,e.m6)((0,h.cx)(...n))}let s=t=>!!t&&!t.startsWith("/")&&!t.startsWith("#"),c=(t,n)=>{let i=new Date(t);return"en-US"===n||"en"===n?new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short",day:"numeric"}).format(i):(0,a.p)(t,n)},l=!1,u=t=>[...t].sort((t,n)=>{let i=new Date(t.date||t.sys.firstPublishedAt),e=new Date(n.date||n.sys.firstPublishedAt);return i.getTime()-e.getTime()});new Intl.NumberFormat("en-US");let z=(t,n)=>{var i,e,h,a,o,s;if(!t[n])return[];let c=null===(i=t[n])||void 0===i?void 0:i.category,l=null===(e=t[n])||void 0===e?void 0:e.topic,z=((null===(h=t[n])||void 0===h?void 0:h.path)||(null===(a=t[n])||void 0===a?void 0:a.filePath)||"").startsWith("til")?"til":"writing",d=c?"".concat(z,"/").concat(c):null;if(c){let n=t.filter(t=>t.category===c);if(!l)return[{posts:u(n)}];{let t=d?r.kl[d]:null,i=n.reduce((n,i)=>{let e=null==t?void 0:t[i.topic];return void 0!==e?(n[e]||(n[e]={topic:i.topic,posts:[]}),n[e].posts.push(i)):(n[0]||(n[0]={topic:i.topic||"general",posts:[]}),n[0].posts.push(i)),n},[]).filter(t=>t&&t.posts.length>0);return i.forEach(t=>{t.posts=u(t.posts)}),i.length>0?i:[{topic:l,posts:u(n)}]}}{let i=null===(s=t[n])||void 0===s?void 0:null===(o=s.filePath)||void 0===o?void 0:o.split("/"),e=null==i?void 0:i.slice(0,i.length-1).join("/");return[{posts:u(t.filter(t=>{let n=t.path||t.filePath;return n&&n.includes(e)}))}]}},d=(t,n)=>{let i=new Date(n),e={month:"2-digit",day:"numeric",year:"numeric"};return"zh-cn"===t?i.toLocaleDateString("zh-CN",e):"zh-hant"===t?i.toLocaleDateString("zh-TW",e):i.toLocaleDateString("en-US",e)},p=new Set(["ui","ux","ai","api","uk","us","css","html","js","ts","seo","rss","til","ep","ddd"]);
1function f(t){return t.split(/[-_\s]+/).filter(Boolean).map((t,n)=>{if(p.has(t.toLowerCase()))return t.toUpperCase();let i=t.toLowerCase();return 0===n?i.charAt(0).toUpperCase()+i.slice(1):i}).join(" ")}}}]);

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.