PageSourceSearch

https://help.ticktick.com/_next/static/chunks/37.1b1de0b67d7be01a.js

js ticktick.com collected 2026-09-24 08:28:29 UTC 9,530 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[37,128,239],{3128:function(t,n,e){"use strict";e.r(n),e.d(n,{DBBarConfig:function(){return x},DBCall:function(){return B},DBClosePage:function(){return L},DBCloseWebview:function(){return H},DBCopySummaryMarkdown:function(){return W},DBCopySummaryPlainText:function(){return M},DBCopySummaryRichText:function(){return J},DBDoShare:function(){return K},DBExportSummaryMail:function(){return R},DBExportSummaryPNG:function(){return F},DBExportSummaryPdf:function(){return E},DBGetAllHabits:function(){return v},DBGetCheckinsByHabitId:function(){return b},DBGetDeviceInfo:function(){return k},DBGetHabitDateStatus:function(){return _},DBGetHabitIcon:function(){return m},DBGetHabitId2EarliestDay:function(){return g},DBGetHabitStatistics:function(){return y},DBGetSafeAreaInsetsBottomFromiOS:function(){return I},DBGetSafeAreaInsetsTopFromiOS:function(){return P},DBGetThemeColor:function(){return j},DBGetTicketInitialCreateData:function(){return h},DBGetUserAvatar:function(){return Z},DBGetUserProfile:function(){return l},DBHttpGet:function(){return O},DBInsertSummary:function(){return A},DBOpenPomoStatistics:function(){return f},DBOpenTaskStatistics:function(){return d},DBOpenView:function(){return T},DBOpenWebview:function(){return G},DBPresentSharePanel:function(){return U},DBPresentWebview:function(){return Q},DBRegister:function(){return D},DBResetBar:function(){return N},DBShowBackBtn:function(){return s},DBShowMore:function(){return c},DBStatusBarStyleConfig:function(){return Y},DBToast:function(){return S},DBTrack:function(){return V},DBUploadLog:function(){return C},DBUrlChange:function(){return w},DBVerifyEmail:function(){return p}});var r=e(1825),i=e.n(r),o=function(t){return!(!window.navigator||!window.navigator.userAgent)&&t.test(window.navigator.userAgent)},a=function(t){var n;return window.navigator&&window.navigator[t]&&null!==(n=window.navigator[t])&&void 0!==n?n:""},u=function(){return o(/iPhone|iPad|iPod/i)||"MacIntel"===a("platform")&&+a("maxTouchPoints")>1};function s(){return"true"===B("userCenter.showBackBtn")}function c(){return B("userCenter.showMore")}function l(){var t=B("userCenter.getUserProfile");return t?JSON.parse(t):{}}function f(){B("userCenter.openPomoStatistics")}function d(){B("userCenter.openTaskStatistics")}function p(){B("userCenter.verifyEmail")}function h(){return B("tickets.getTicketInitialCreateData")}var m=function(t){return B("habit.getHabitIcon",t)},_=function(t,n,e){var r=B("habit.getHabitDateStatus",{id:t,start:n,end:e});return r?JSON.parse(r):{}},v=function(){var t=B("habit.getAllHabits");return t?JSON.parse(t):[]},g=function(){var t=B("habit.getHabitId2EarliestDay");return t?JSON.parse(t):{}},y=function(t,n,e){var r=B("habit.getHabitStatistics",{id:t,start:n,end:e});return r?JSON.parse(r):{totalCheckIns:0,maxStreak:0,totalAmount:0,completeRate:0}},b=function(t){var n=B("habit.getCheckinsByHabitId",t);return n?JSON.parse(n):[]};function B(t,n,e){void 0===n&&(n="appest");try{return u()||o(/Mac/i)?"string"===typeof n?i().call(t,n,e):i().call(t,JSON.stringify(n)):i().call(t,n,e)}catch(r){return}}function D(t,n){return i().register(t,n)}function S(t){return void 0===t&&(t=""),B("toast",t)}function w(){return B("urlChange","tickets")}function k(){return B("getDeviceInfo","tickets")}function C(t){return void 0===t&&(t=""),B("tickets.uploadLog",t)}function x(t){return void 0===t&&(t={}),B("barConfig",t)}function N(){return B("resetBar","tickets")}function I(){if(u())return B("getSafeAreaInsetsBottomFromiOS")}function P(){if(u())return+B("getSafeAreaInsetsTopFromiOS");var t=B("getStatusBarHeight");return null==t?0:+t}function H(){return B("close")}function T(t){return B("openView",t)}function G(t){return B("openWebview",t)}function O(t){return void 0===t&&(t=""),new Promise((function(n,e){B("httpGet",t,(function(t){n(t)}))}))}function j(){return B("getThemeColor")||"#617fde"}function A(t){return void 0===t&&(t=""),B("insertSummary",t)}function W(t){return void 0===t&&(t=""),B("copyMarkdown",t)}function J(t){return void 0===t&&(t=""),B("copyRichText",t)}function M(t){return void 0===t&&(t=""),B("copyPlainText",t)}function E(t,n){return void 0===t&&(t=""),void 0===n&&(n=""),B("exportPdf",{title:t,summary:n})}function F(t,n){return void 0===t&&(t=""),void 0===n&&(n=""),B("exportPNG",{title:t,summary:n})}function R(t,n){return void 0===t&&(t=""),void 0===n&&(n=""),B("exportMail",{title:t,summary:n})}function U(t){return B("presentSharePanel",t)}function V(t,n,e){return void 0===t&&(t=""),void 0===n&&(n=""),void 0===e&&(e=""),B("track",{category:t,event:n,label:e})}function L(){return B("close","")}function K(t,n,e,r,i,o){return B("doShare",{title:t,desc:n,url:e,channel:r,images:i,morePositionRect:o})}function Q(){return B("medal.presentWebview","appest")}function Y(t){return B("statusBarStyleConfig",t)}var Z=function(){return B("getUserAvatar")}},1825:function(t){var n={default:this,call:function(t,n,e){var r="";"function"==typeof n&&(e=n,n={});var i={data:void 0===n?null:n};if("function"==typeof e){var o="dscb"+window.dscb++;window[o]=e,i._dscbstub=o}return i=JSON.stringify(i),window._dsbridge?r=_dsbridge.call(t,i):(window._dswk||-1!=navigator.userAgent.indexOf("_dsbridge"))&&(r=prompt("_dsbridge="+t,i)),JSON.parse(r||"{}").data},register:function(t,e,r){var i=r?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout((function(){n.call("_dsb.dsinit")}),0)),"object"==typeof e?i._obs[t]=e:i[t]=e},registerAsyn:function(t,n){this.register(t,n,!0)},hasNativeMethod:function(t,n){return this.call("_dsb.hasNativeMethod",{name:t,type:n||"all"})},disableJavascriptDialogBlock:function(t){this.call("_dsb.disableJavascriptDialogBlock",{disable:!1!==t})}};!function(){if(!window._dsf){var t={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:n,close:function(){n.call("_dsb.closePage")},_handleMessageFromNative:function(t){var e=JSON.parse(t.data),r={i
1d:t.callbackId,complete:!0},i=this._dsf[t.method],o=this._dsaf[t.method],a=function(t,i){r.data=t.apply(i,e),n.call("_dsb.returnValue",r)},u=function(t,i){e.push((function(t,e){r.data=t,r.complete=!1!==e,n.call("_dsb.returnValue",r)})),t.apply(i,e)};if(i)a(i,this._dsf);else if(o)u(o,this._dsaf);else{var s=t.method.split(".");if(s.length<2)return;var c=s.pop(),l=s.join("."),f=this._dsf._obs,d=f[l]||{},p=d[c];if(p&&"function"==typeof p)return void a(p,d);if((p=(d=(f=this._dsaf._obs)[l]||{})[c])&&"function"==typeof p)return void u(p,d)}}};for(var e in t)window[e]=t[e];n.register("_hasJavascriptMethod",(function(t,n){var e=t.split(".");if(e.length<2)return!(!_dsf[e]&&!_dsaf[e]);t=e.pop();var r=e.join("."),i=_dsf._obs[r]||_dsaf._obs[r];return i&&!!i[t]}))}}(),t.exports=n},2037:function(t,n,e){"use strict";e.r(n);var r=e(5667),i=e(8757),o=e(7524),a=e.n(o),u=e(3465),s=e(8227),c=e(4497),l=e(509),f=e(7608),d=e.n(f),p=e(5239),h=e(3128);n.default=function(t){var n=t.articles,e=t.dismiss,o=(0,s.F)(n),f=o.keyword,m=o.setKeyword,_=o.filteredArticles,v=o.sliceHighlightContent,g=o.highlightContent,y=o.isShowPin,b=(0,i.useRef)(null),B=(0,i.useCallback)((function(t){m(t.target.value)}),[m]),D=(0,c.Z)().getStr,S=(0,l.useRouter)().push;(0,i.useEffect)((function(){b.current&&b.current.focus()}),[]),(0,i.useEffect)((function(){var t=window.innerWidth-document.body.clientWidth;return document.body.style.overflow="hidden",document.body.style.height="100%",document.body.style.marginRight="".concat(t,"px"),function(){document.body.style.overflow="",document.body.style.height="",document.body.style.marginRight=""}}),[]);var w,k,C=(0,i.useCallback)((function(){e()}),[e]),x=+(null!==(w=(0,p.DBGetBottomToolbarHeight)())&&void 0!==w?w:0)+ +(null!==(k=(0,h.DBGetSafeAreaInsetsBottomFromiOS)())&&void 0!==k?k:0);return(0,r.jsx)("div",{className:d()(a().introSection,a().inputFocus),children:(0,r.jsxs)("div",{className:a().mobileSearch,style:{bottom:x},children:[(0,r.jsxs)("div",{className:a().searchWrapper,children:[(0,r.jsxs)("div",{className:a().inputWrapper,children:[(0,r.jsx)("input",{type:"text",ref:b,placeholder:D("input_keyword"),value:f,onChange:B}),(0,r.jsx)("div",{className:a().icon,children:(0,r.jsx)(u.Z,{})}),(0,r.jsx)("div",{className:a().cancel,onClick:C,children:(0,r.jsx)("p",{children:D("cancel")})})]}),(0,r.jsxs)("div",{className:a().searchHint,children:[!y&&(0,r.jsx)("div",{className:a().hint,children:D("about_n_results").replace("{d}","".concat(_.length))}),(0,r.jsx)("div",{className:a().itemWrapper,children:_.map((function(t){return(0,r.jsxs)("div",{className:a().item,onClick:function(){S("/articles/".concat(t.postId))},children:[(0,r.jsx)("h3",{className:a().title,dangerouslySetInnerHTML:{__html:y?t.title:g(v(t.title))}}),!y&&(0,r.jsx)("p",{className:a().content,dangerouslySetInnerHTML:{__html:g(v(t.content))}})]},t.id)}))})]})]}),(0,r.jsx)("div",{className:a().mask,onClick:C})]})})}},5239:function(t,n,e){"use strict";e.r(n),e.d(n,{DBGetBottomToolbarHeight:function(){return i}});var r=e(3128),i=function(){return(0,r.DBCall)("getBottomToolbarHeight")}},7524:function(t){t.exports={introSection:"style_introSection__AEuKp",mobileSearch:"style_mobileSearch__JMPXY",inputWrapper:"style_inputWrapper__DLOVx",icon:"style_icon__E9yAY",cancel:"style_cancel__eHsEx",searchWrapper:"style_searchWrapper__MG_k_",searchHint:"style_searchHint__VQhdU",hint:"style_hint__CW0p0",itemWrapper:"style_itemWrapper__f4ThJ",item:"style_item__DP5r5",title:"style_title__jSwxI",content:"style_content__LQEBS",inputFocus:"style_inputFocus__Ts9ph",mask:"style_mask__szG4J"}}}]);

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.