PageSourceSearch

https://my.marklib.com/static/js/565.2df67de2fa.js

js marklib.com collected 2026-09-24 14:47:26 UTC 9,027 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkmarklib=self.rspackChunkmarklib||[]).push([[565],{2042(e,t,n){var r=n(6540);function o(e={}){let{strict:t=!0,errorMessage:n="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:a}=e,i=r.createContext(void 0);return i.displayName=a,[i.Provider,function e(){var o;let a=r.useContext(i);if(!a&&t){let t=Error(n);throw t.name="ContextError",null==(o=Error.captureStackTrace)||o.call(Error,t,e),t}return a},i]}n.d(t,{q:()=>o})},9108(e,t,n){n.d(t,{M:()=>H});var r=n(4129);let o=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),a=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function i(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return o.has(t.script)}let t=e.split("-")[0];return a.has(t)}var l=n(6540),u=n(415);let c=Symbol.for("react-aria.i18n.locale");function s(){let e="u">typeof window&&window[c]||"u">typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:i(e)?"rtl":"ltr"}}let d=s(),f=new Set;function m(){for(let e of(d=s(),f))e(d)}let v=l.createContext(null);function g(e){let{locale:t,children:n}=e,r=function(){let e=(0,u.wR)(),[t,n]=(0,l.useState)(d);return((0,l.useEffect)(()=>(0===f.size&&window.addEventListener("languagechange",m),f.add(n),()=>{f.delete(n),0===f.size&&window.removeEventListener("languagechange",m)}),[]),e)?{locale:"en-US",direction:"ltr"}:t}(),o=l.useMemo(()=>t?{locale:t,direction:i(t)?"rtl":"ltr"}:r,[r,t]);return l.createElement(v.Provider,{value:o},n)}let p=null;function h(e){var t;return!("u"<typeof window)&&null!=window.navigator&&((null==(t=window.navigator.userAgentData)?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function w(e){var t;return"u">typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function y(e){let t=null;return()=>(null==t&&(t=e()),t)}let E=y(function(){return w(/^Mac/i)}),b=y(function(){return w(/^iPad/i)||E()&&navigator.maxTouchPoints>1}),x=y(function(){return h(/AppleWebKit/i)&&!S()}),S=y(function(){return h(/Chrome/i)}),C=y(function(){return h(/Firefox/i)}),A=(0,l.createContext)({isNative:!0,open:function(e,t){L(e,e=>T(e,t))},useHref:e=>e});function M(e){let{children:t,navigate:n,useHref:r}=e,o=(0,l.useMemo)(()=>({isNative:!1,open:(e,t,r,o)=>{L(e,e=>{var a,i;let l;(a=e,i=t,(l=a.getAttribute("target"))&&"_self"!==l||a.origin!==location.origin||a.hasAttribute("download")||i.metaKey||i.ctrlKey||i.altKey||i.shiftKey)?T(e,t):n(r,o)})},useHref:r||(e=>e)}),[n,r]);return l.createElement(A.Provider,{value:o},t)}function T(e,t,n=!0){var r,o;let{metaKey:a,ctrlKey:i,altKey:l,shiftKey:u}=t;C()&&(null==(o=window.event)||null==(r=o.type)?void 0:r.startsWith("key"))&&"_blank"===e.target&&(E()?a=!0:i=!0);let c=x()&&E()&&!b()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:a,ctrlKey:i,altKey:l,shiftKey:u}):new MouseEvent("click",{metaKey:a,ctrlKey:i,altKey:l,shiftKey:u,bubbles:!0,cancelable:!0});if(T.isOpening=n,function(){if(null==p){p=!1;try{document.createElement("div").focus({get preventScroll(){return p=!0,!0}})}catch{}}return p}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}e.dispatchEvent(c),T.isOpening=!1}function L(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}T.isOpening=!1;var P=n(9875),k=n(4668),K=n(4848),D=n(5446),W=n(7705),_=n(8601);function I({children:e,isValidProp:t,...n}){t&&(0,W.D)(t),(n={...(0,l.useContext)(D.Q),...n}).isStatic=(0,_.M)(()=>n.isStatic);let r=(0,l.useMemo)(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return(0,K.jsx)(D.Q.Provider,{value:r,children:e})}var H=({children:e,navigate:t,disableAnimation:n,useHref:o,disableRipple:a=!1,skipFramerMotionAnimations:i=n,reducedMotion:u="never",validationBehavior:c,locale:s="en-US",labelPlacement:d,defaultDates:f,createCalendar:m,spinnerVariant:v,...p})=>{let h=e;t&&(h=(0,K.jsx)(M,{navigate:t,useHref:o,children:h}));let w=(0,l.useMemo)(()=>(n&&i&&(k.W.skipAnimations=!0),{createCalendar:m,defaultDates:f,disableAnimation:n,disableRipple:a,validationBehavior:c,labelPlacement:d,spinnerVariant:v}
1),[m,null==f?void 0:f.maxDate,null==f?void 0:f.minDate,n,a,c,d,v]);return(0,K.jsx)(r.n,{value:w,children:(0,K.jsx)(g,{locale:s,children:(0,K.jsx)(I,{reducedMotion:u,children:(0,K.jsx)(P.so,{...p,children:h})})})})}},4129(e,t,n){var[r,o]=(0,n(2042).q)({name:"ProviderContext",strict:!1});n.d(t,{n:()=>r,o:()=>o})},9875(e,t,n){var r=n(6540),o=n(961),a=n(415);let i=r.createContext(null);function l(e){let{children:t}=e,n=(0,r.useContext)(i),[o,a]=(0,r.useState)(0),l=(0,r.useMemo)(()=>({parent:n,modalCount:o,addModal(){a(e=>e+1),n&&n.addModal()},removeModal(){a(e=>e-1),n&&n.removeModal()}}),[n,o]);return r.createElement(i.Provider,{value:l},t)}function u(e){let t,{modalProviderProps:n}={modalProviderProps:{"aria-hidden":!!(t=(0,r.useContext)(i))&&t.modalCount>0||void 0}};return r.createElement("div",{"data-overlay-container":!0,...e,...n})}function c(e){return r.createElement(l,null,r.createElement(u,e))}function s(e){let t=(0,a.wR)(),{portalContainer:n=t?null:document.body,...i}=e;if(r.useEffect(()=>{if(null==n?void 0:n.closest("[data-overlay-container]"))throw Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let l=r.createElement(c,i);return o.createPortal(l,n)}n.d(t,{Sf:()=>s,so:()=>c})},415(e,t,n){var r=n(6540);let o={prefix:String(Math.round(1e10*Math.random())),current:0},a=r.createContext(o),i=r.createContext(!1),l=("u">typeof window&&window.document&&window.document.createElement,new WeakMap),u="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)(f()),a=n?"react-aria":`react-aria${o.prefix}`;return e||`${a}-${t}`}:function(e){let t=(0,r.useContext)(a),n=function(e=!1){let t=(0,r.useContext)(a),n=(0,r.useRef)(null);if(null===n.current&&!e){var o,i;let e=null==(i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||null==(o=i.ReactCurrentOwner)?void 0:o.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}(!!e),o=`react-aria${t.prefix}`;return e||`${o}-${n}`};function c(){return!1}function s(){return!0}function d(e){return()=>{}}function f(){return"function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(d,c,s):(0,r.useContext)(i)}n.d(t,{wR:()=>f},{Cc:u})},5446(e,t,n){let r=(0,n(6540).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});n.d(t,{},{Q:r})},7705(e,t,n){n.d(t,{J:()=>l,D:()=>i});let r=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function o(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||r.has(e)}let a=e=>!o(e);function i(e){e&&(a=t=>t.startsWith("on")?!o(t):e(t))}try{i(require("@emotion/is-prop-valid").default)}catch(e){}function l(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(a(i)||!0===n&&o(i)||!t&&!o(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}},4668(e,t,n){n.d(t,{},{W:{skipAnimations:!1,useManualTiming:!1}})},8601(e,t,n){var r=n(6540);function o(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}n.d(t,{M:()=>o})}}]);

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.