SYMBOL INDEX (7808 symbols across 379 files) FILE: cmd/bootstrap.go function init (line 16) | func init() { function BootstrapLogger (line 41) | func BootstrapLogger() *zap.Logger { FILE: cmd/gorm_gen/gen.go function init (line 27) | func init() { function SQLColumnToHumpStyle (line 40) | func SQLColumnToHumpStyle(in string) (ret string) { function Db (line 54) | func Db(dsn string, dbType string) *gorm.DB { function useDia (line 68) | func useDia(dsn string, dbType string) gorm.Dialector { function getTableDefaultValueTags (line 82) | func getTableDefaultValueTags(db *gorm.DB, table string) []gen.ModelOpt { function isPrimaryKey (line 155) | func isPrimaryKey(col gorm.ColumnType) bool { function main (line 162) | func main() { FILE: cmd/mfmt/main.go function init (line 25) | func init() { function init (line 40) | func init() { function main (line 61) | func main() { function sort (line 143) | func sort(imports []*ast.ImportSpec, comments map[string]string) string { FILE: cmd/model_gen/gen.go function main (line 13) | func main() { FILE: cmd/reset_password.go function init (line 19) | func init() { FILE: cmd/root.go function Execute (line 24) | func Execute(efs embed.FS, c string) { FILE: cmd/run.go type runFlags (line 20) | type runFlags struct function init (line 27) | func init() { FILE: cmd/run_server.go constant DefaultShutdownTimeout (line 44) | DefaultShutdownTimeout = 30 * time.Second type Server (line 46) | type Server struct method GetApp (line 430) | func (s *Server) GetApp() *internalApp.App { method GetConfig (line 436) | func (s *Server) GetConfig() *internalApp.AppConfig { function checkSecurityConfigWithConfig (line 59) | func checkSecurityConfigWithConfig(cfg *internalApp.AppConfig, lg *zap.L... function NewServer (line 89) | func NewServer(runEnv *runFlags) (*Server, error) { function initScheduler (line 317) | func initScheduler(s *Server) { function initLoggerWithConfig (line 336) | func initLoggerWithConfig(s *Server, cfg *internalApp.AppConfig) error { function initValidatorWithLogger (line 352) | func initValidatorWithLogger(lg *zap.Logger) (*ut.UniversalTranslator, e... function initDatabaseWithConfig (line 388) | func initDatabaseWithConfig(cfg *internalApp.AppConfig, lg *zap.Logger) ... function initStorageWithConfig (line 404) | func initStorageWithConfig(cfg *internalApp.AppConfig) error { FILE: cmd/upgrade.go function init (line 81) | func init() { FILE: cmd/version.go function init (line 19) | func init() { FILE: docs/docs.go constant docTemplate (line 6) | docTemplate = `{ function init (line 8129) | func init() { FILE: frontend/assets/auth-form-BjZ9qVzL.js function k (line 1) | function k({onSuccess:k,registerIsEnable:P=!0}){const{t:I}=s(),{isLoadin... FILE: frontend/assets/badge-C63ATniC.js function o (line 1) | function o({className:t,variant:o,...a}){return r.jsx("div",{className:e... FILE: frontend/assets/canvas-viewer-Cxwbo1vR.js function w (line 13) | function w(){const e=t.useCallback(()=>{const e=localStorage.getItem("to... function j (line 13) | function j(e){if(e)return v[e]??e} function R (line 13) | function R(e,t){const n=e.replace("#","");if(/^[0-9a-fA-F]{6}$/.test(n))... function b (line 13) | function b(e,t){const n=e.x+e.width/2,s=e.y+e.height/2;switch(t){case"to... function C (line 13) | function C(e,t){switch(e){case"top":return{dx:0,dy:-t};case"bottom":retu... function N (line 13) | function N({edge:e,nodeMap:t}){const n=t.get(e.fromNode),s=t.get(e.toNod... function $ (line 13) | function $({node:e,onNodeClick:t,onWikiLinkClick:n,isDragRef:s}){var a;c... function I (line 13) | function I({nodes:e,edges:n,viewport:s,onViewportChange:a,onNodeClick:r,... function M (line 13) | function M(e,t,n){if(0===e.length||0===t||0===n)return{x:0,y:0,zoom:1};l... function L (line 13) | function L({vault:e,note:s,onBack:a,onWikiLinkClick:r,isRecycle:o}){var ... FILE: frontend/assets/checkbox-DhTHgmeh.js function m (line 1) | function m(t){const{__scopeCheckbox:o,checked:n,children:s,defaultChecke... function j (line 1) | function j(e){return"function"==typeof e} function w (line 1) | function w(e){return"indeterminate"===e} function R (line 1) | function R(e){return w(e)?"indeterminate":e?"checked":"unchecked"} FILE: frontend/assets/file-manager-Bz0QGSbU.js function G (line 13) | function G({file:e,url:o,onClose:i}){var c;const{t:d}=s(),m=(null==(c=e.... function q (line 13) | function q(e){if(0===e)return"0 B";const s=Math.floor(Math.log(e)/Math.l... function U (line 13) | function U({vault:e,vaults:n,onVaultChange:m,isRecycle:h=!1,page:u,setPa... function J (line 13) | function J({vault:e,onVaultChange:l,onNavigateToVaults:n,isRecycle:o=!1}... FILE: frontend/assets/font-loader-CIrh3KnA.js function _mergeNamespaces (line 1) | function _mergeNamespaces(A,t){for(var e=0;e{this.usedNamespaces[A]||(this.usedN... method getUsedNamespaces (line 1) | getUsedNamespaces(){return Object.keys(this.usedNamespaces)} function getBrowserLang (line 1) | function getBrowserLang(A){if(A)return localStorage.getItem(A)||navigato... class RegExpCache (line 1) | class RegExpCache{constructor(A){this.capacity=A,this.regExpMap=new Map,... method constructor (line 1) | constructor(A){this.capacity=A,this.regExpMap=new Map,this.regExpQueue... method getRegExp (line 1) | getRegExp(A){const t=this.regExpMap.get(A);if(void 0!==t)return t;cons... method log (line 1) | log(A){this.output("log",A)} method warn (line 1) | warn(A){this.output("warn",A)} method error (line 1) | error(A){this.output("error",A)} method output (line 1) | output(A,t){var e,a;null==(a=null==(e=null==console?void 0:console[A])?v... class Logger (line 1) | class Logger{constructor(A){let t=arguments.length>1&&void 0!==arguments... method constructor (line 1) | constructor(A){let t=arguments.length>1&&void 0!==arguments[1]?argumen... method init (line 1) | init(A){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{... method log (line 1) | log(){for(var A=arguments.length,t=new Array(A),e=0;e{this.observers[A]||(this.obser... method off (line 1) | off(A,t){this.observers[A]&&(t?this.observers[A].delete(t):delete this... method emit (line 1) | emit(A){for(var t=arguments.length,e=new Array(t>1?t-1:0),a=1;a1&&void 0!==arguments[1]?argumen... method addNamespaces (line 1) | addNamespaces(A){this.options.ns.indexOf(A)<0&&this.options.ns.push(A)} method removeNamespaces (line 1) | removeNamespaces(A){const t=this.options.ns.indexOf(A);t>-1&&this.opti... method getResource (line 1) | getResource(A,t,e){var a,r;let n=arguments.length>3&&void 0!==argument... method addResource (line 1) | addResource(A,t,e,a){let r=arguments.length>4&&void 0!==arguments[4]?a... method addResources (line 1) | addResources(A,t,e){let a=arguments.length>3&&void 0!==arguments[3]?ar... method addResourceBundle (line 1) | addResourceBundle(A,t,e,a,r){let n=arguments.length>5&&void 0!==argume... method removeResourceBundle (line 1) | removeResourceBundle(A,t){this.hasResourceBundle(A,t)&&delete this.dat... method hasResourceBundle (line 1) | hasResourceBundle(A,t){return void 0!==this.getResource(A,t)} method getResourceBundle (line 1) | getResourceBundle(A,t){return t||(t=this.options.defaultNS),this.getRe... method getDataByLanguage (line 1) | getDataByLanguage(A){return this.data[A]} method hasLanguageSomeTranslations (line 1) | hasLanguageSomeTranslations(A){const t=this.getDataByLanguage(A);retur... method toJSON (line 1) | toJSON(){return this.data} method addPostProcessor (line 1) | addPostProcessor(A){this.processors[A.name]=A} method handle (line 1) | handle(A,t,e,a,r){return A.forEach(A=>{var n;t=(null==(n=this.processors... class Translator (line 1) | class Translator extends EventEmitter{constructor(A){let t=arguments.len... method constructor (line 1) | constructor(A){let t=arguments.length>1&&void 0!==arguments[1]?argumen... method changeLanguage (line 1) | changeLanguage(A){A&&(this.language=A)} method exists (line 1) | exists(A){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]... method extractFromKey (line 1) | extractFromKey(A,t){let e=void 0!==t.nsSeparator?t.nsSeparator:this.op... method translate (line 1) | translate(A,t,e){if("object"!=typeof t&&this.options.overloadTranslati... method extendTranslation (line 1) | extendTranslation(A,t,e,a,r){var n,l,i=this;if(null==(n=this.i18nForma... method resolve (line 1) | resolve(A){let t,e,a,r,n,l=arguments.length>1&&void 0!==arguments[1]?a... method isValidLookup (line 1) | isValidLookup(A){return!(void 0===A||!this.options.returnNull&&null===... method getResource (line 1) | getResource(A,t,e){var a;let r=arguments.length>3&&void 0!==arguments[... method getUsedParamsDetails (line 1) | getUsedParamsDetails(){let A=arguments.length>0&&void 0!==arguments[0]... method hasDefaultValue (line 1) | static hasDefaultValue(A){const t="defaultValue";for(const e in A)if(O... class LanguageUtil (line 1) | class LanguageUtil{constructor(A){this.options=A,this.supportedLngs=this... method constructor (line 1) | constructor(A){this.options=A,this.supportedLngs=this.options.supporte... method getScriptPartFromCode (line 1) | getScriptPartFromCode(A){if(!(A=getCleanedCode(A))||A.indexOf("-")<0)r... method getLanguagePartFromCode (line 1) | getLanguagePartFromCode(A){if(!(A=getCleanedCode(A))||A.indexOf("-")<0... method formatLanguageCode (line 1) | formatLanguageCode(A){if(isString(A)&&A.indexOf("-")>-1){let e;try{e=I... method isSupportedCode (line 1) | isSupportedCode(A){return("languageOnly"===this.options.load||this.opt... method getBestMatchFromCodes (line 1) | getBestMatchFromCodes(A){if(!A)return null;let t;return A.forEach(A=>{... method getFallbackCodes (line 1) | getFallbackCodes(A,t){if(!A)return[];if("function"==typeof A&&(A=A(t))... method toResolveHierarchy (line 1) | toResolveHierarchy(A,t){const e=this.getFallbackCodes(t||this.options.... class PluralResolver (line 1) | class PluralResolver{constructor(A){let t=arguments.length>1&&void 0!==a... method constructor (line 1) | constructor(A){let t=arguments.length>1&&void 0!==arguments[1]?argumen... method addRule (line 1) | addRule(A,t){this.rules[A]=t} method clearCache (line 1) | clearCache(){this.pluralRulesCache={}} method getRule (line 1) | getRule(A){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1... method needsPlural (line 1) | needsPlural(A){let t=arguments.length>1&&void 0!==arguments[1]?argumen... method getPluralFormsOfKey (line 1) | getPluralFormsOfKey(A,t){let e=arguments.length>2&&void 0!==arguments[... method getSuffixes (line 1) | getSuffixes(A){let t=arguments.length>1&&void 0!==arguments[1]?argumen... method getSuffix (line 1) | getSuffix(A,t){let e=arguments.length>2&&void 0!==arguments[2]?argumen... class Interpolator (line 1) | class Interpolator{constructor(){var A;let t=arguments.length>0&&void 0!... method constructor (line 1) | constructor(){var A;let t=arguments.length>0&&void 0!==arguments[0]?ar... method init (line 1) | init(){let A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}... method reset (line 1) | reset(){this.options&&this.init(this.options)} method resetRegExp (line 1) | resetRegExp(){const A=(A,t)=>(null==A?void 0:A.source)===t?(A.lastInde... method interpolate (line 1) | interpolate(A,t,e,a){var r;let n,l,i;const o=this.options&&this.option... method nest (line 1) | nest(A,t){let e,a,r,n=arguments.length>2&&void 0!==arguments[2]?argume... class Formatter (line 1) | class Formatter{constructor(){let A=arguments.length>0&&void 0!==argumen... method constructor (line 1) | constructor(){let A=arguments.length>0&&void 0!==arguments[0]?argument... method init (line 1) | init(A){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{... method add (line 1) | add(A,t){this.formats[A.toLowerCase().trim()]=t} method addCached (line 1) | addCached(A,t){this.formats[A.toLowerCase().trim()]=createCachedFormat... method format (line 1) | format(A,t,e){let a=arguments.length>3&&void 0!==arguments[3]?argument... class Connector (line 1) | class Connector extends EventEmitter{constructor(A,t,e){var a,r;let n=ar... method constructor (line 1) | constructor(A,t,e){var a,r;let n=arguments.length>3&&void 0!==argument... method queueLoad (line 1) | queueLoad(A,t,e,a){const r={},n={},l={},i={};return A.forEach(A=>{let ... method loaded (line 1) | loaded(A,t,e){const a=A.split("|"),r=a[0],n=a[1];t&&this.emit("failedL... method read (line 1) | read(A,t,e){let a=arguments.length>3&&void 0!==arguments[3]?arguments[... method prepareLoading (line 1) | prepareLoading(A,t){let e=arguments.length>2&&void 0!==arguments[2]?ar... method load (line 1) | load(A,t,e){this.prepareLoading(A,t,{},e)} method reload (line 1) | reload(A,t,e){this.prepareLoading(A,t,{reload:!0},e)} method loadOne (line 1) | loadOne(A){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1... method saveMissing (line 1) | saveMissing(A,t,e,a,r){var n,l,i,o,s;let p=arguments.length>5&&void 0!... class I18n (line 1) | class I18n extends EventEmitter{constructor(){let A=arguments.length>0&&... method constructor (line 1) | constructor(){let A=arguments.length>0&&void 0!==arguments[0]?argument... method init (line 1) | init(){var A=this;let t=arguments.length>0&&void 0!==arguments[0]?argu... method loadResources (line 1) | loadResources(A){var t,e;let a=arguments.length>1&&void 0!==arguments[... method reloadResources (line 1) | reloadResources(A,t,e){const a=defer();return"function"==typeof A&&(e=... method use (line 1) | use(A){if(!A)throw new Error("You are passing an undefined module! Ple... method setResolvedLanguage (line 1) | setResolvedLanguage(A){if(A&&this.languages&&!(["cimode","dev"].indexO... method changeLanguage (line 1) | changeLanguage(A,t){var e=this;this.isLanguageChangingTo=A;const a=def... method getFixedT (line 1) | getFixedT(A,t,e){var a=this;const r=function(A,t){let n;if("object"!=t... method t (line 1) | t(){for(var A,t=arguments.length,e=new Array(t),a=0;a1&&void 0!==arguments[1]?... method loadNamespaces (line 1) | loadNamespaces(A,t){const e=defer();return this.options.ns?(isString(A... method loadLanguages (line 1) | loadLanguages(A,t){const e=defer();isString(A)&&(A=[A]);const a=this.o... method dir (line 1) | dir(A){var t,e;if(A||(A=this.resolvedLanguage||((null==(t=this.languag... method createInstance (line 1) | static createInstance(){return new I18n(arguments.length>0&&void 0!==a... method cloneInstance (line 1) | cloneInstance(){let A=arguments.length>0&&void 0!==arguments[0]?argume... method toJSON (line 1) | toJSON(){return{options:this.options,store:this.store,language:this.la... function createContext2 (line 27) | function createContext2(A,t){const e=reactExports.createContext(t),a=A=>... function createContextScope (line 27) | function createContextScope(A,t=[]){let e=[];const a=()=>{const t=e.map(... function composeContextScopes (line 27) | function composeContextScopes(...A){const t=A[0];if(1===A.length)return ... function setRef (line 27) | function setRef(A,t){if("function"==typeof A)return A(t);null!=A&&(A.cur... function composeRefs (line 27) | function composeRefs(...A){return t=>{let e=!1;const a=A.map(A=>{const a... function useComposedRefs (line 27) | function useComposedRefs(...A){return reactExports.useCallback(composeRe... function composeEventHandlers (line 27) | function composeEventHandlers(A,t,{checkForDefaultPrevented:e=!0}={}){re... function useId (line 27) | function useId(A){const[t,e]=reactExports.useState(useReactId());return ... function useControllableState (line 27) | function useControllableState({prop:A,defaultProp:t,onChange:e=()=>{},ca... function useUncontrolledState (line 27) | function useUncontrolledState({defaultProp:A,onChange:t}){const[e,a]=rea... function isFunction (line 27) | function isFunction(A){return"function"==typeof A} function requireReactDom_production (line 27) | function requireReactDom_production(){if(hasRequiredReactDom_production)... function requireReactDom (line 27) | function requireReactDom(){if(hasRequiredReactDom)return reactDom.export... function createSlot$1 (line 27) | function createSlot$1(A){const t=createSlotClone$1(A),e=reactExports.for... function createSlotClone$1 (line 27) | function createSlotClone$1(A){const t=reactExports.forwardRef((A,t)=>{co... function createSlottable (line 27) | function createSlottable(A){const t=({children:A})=>jsxRuntimeExports.js... function isSlottable$1 (line 27) | function isSlottable$1(A){return reactExports.isValidElement(A)&&"functi... function mergeProps$1 (line 27) | function mergeProps$1(A,t){const e={...t};for(const a in t){const r=A[a]... function getElementRef$2 (line 27) | function getElementRef$2(A){var t,e;let a=null==(t=Object.getOwnProperty... function dispatchDiscreteCustomEvent (line 27) | function dispatchDiscreteCustomEvent(A,t){A&&reactDomExports.flushSync((... function useCallbackRef$1 (line 27) | function useCallbackRef$1(A){const t=reactExports.useRef(A);return react... function useEscapeKeydown (line 27) | function useEscapeKeydown(A,t=(null==globalThis?void 0:globalThis.docume... function usePointerDownOutside (line 27) | function usePointerDownOutside(A,t=(null==globalThis?void 0:globalThis.d... function useFocusOutside (line 27) | function useFocusOutside(A,t=(null==globalThis?void 0:globalThis.documen... function dispatchUpdate (line 27) | function dispatchUpdate(){const A=new CustomEvent(CONTEXT_UPDATE);docume... function handleAndDispatchCustomEvent (line 27) | function handleAndDispatchCustomEvent(A,t,e,{discrete:a}){const r=e.orig... method pause (line 27) | pause(){this.paused=!0} method resume (line 27) | resume(){this.paused=!1} function focusFirst$2 (line 27) | function focusFirst$2(A,{select:t=!1}={}){const e=document.activeElement... function getTabbableEdges (line 27) | function getTabbableEdges(A){const t=getTabbableCandidates(A);return[fin... function getTabbableCandidates (line 27) | function getTabbableCandidates(A){const t=[],e=document.createTreeWalker... function findVisible (line 27) | function findVisible(A,t){for(const e of A)if(!isHidden(e,{upTo:t}))retu... function isHidden (line 27) | function isHidden(A,{upTo:t}){if("hidden"===getComputedStyle(A).visibili... function isSelectableInput (line 27) | function isSelectableInput(A){return A instanceof HTMLInputElement&&"sel... function focus (line 27) | function focus(A,{select:t=!1}={}){if(A&&A.focus){const e=document.activ... function createFocusScopesStack (line 27) | function createFocusScopesStack(){let A=[];return{add(t){const e=A[0];t!... function arrayRemove (line 27) | function arrayRemove(A,t){const e=[...A],a=e.indexOf(t);return-1!==a&&e.... function removeLinks (line 27) | function removeLinks(A){return A.filter(A=>"A"!==A.tagName)} function useStateMachine (line 27) | function useStateMachine(A,t){return reactExports.useReducer((A,e)=>t[A]... function usePresence (line 27) | function usePresence(A){const[t,e]=reactExports.useState(),a=reactExport... function getAnimationName (line 27) | function getAnimationName(A){return(null==A?void 0:A.animationName)||"no... function getElementRef$1 (line 27) | function getElementRef$1(A){var t,e;let a=null==(t=Object.getOwnProperty... function useFocusGuards (line 27) | function useFocusGuards(){reactExports.useEffect(()=>{const A=document.q... function createFocusGuard (line 27) | function createFocusGuard(){const A=document.createElement("span");retur... function __rest (line 27) | function __rest(A,t){var e={};for(var a in A)Object.prototype.hasOwnProp... function __spreadArray (line 27) | function __spreadArray(A,t,e){if(e||2===arguments.length)for(var a,r=0,n... function assignRef (line 27) | function assignRef(A,t){return"function"==typeof A?A(t):A&&(A.current=t),A} function useCallbackRef (line 27) | function useCallbackRef(A,t){var e=reactExports.useState(function(){retu... function useMergeRefs (line 27) | function useMergeRefs(A,t){var e=useCallbackRef(null,function(t){return ... function ItoI (line 27) | function ItoI(A){return A} function innerCreateMedium (line 27) | function innerCreateMedium(A,t){void 0===t&&(t=ItoI);var e=[],a=!1;retur... function createSidecarMedium (line 27) | function createSidecarMedium(A){void 0===A&&(A={});var t=innerCreateMedi... function exportSidecar (line 27) | function exportSidecar(A,t){return A.useMedium(t),SideCar$1} function makeStyleTag (line 27) | function makeStyleTag(){if(!document)return null;var A=document.createEl... function injectStyles (line 27) | function injectStyles(A,t){A.styleSheet?A.styleSheet.cssText=t:A.appendC... function insertStyleTag (line 27) | function insertStyleTag(A){(document.head||document.getElementsByTagName... function RemoveScrollSideCar (line 27) | function RemoveScrollSideCar(A){var t=reactExports.useRef([]),e=reactExp... function getOutermostShadowParent (line 27) | function getOutermostShadowParent(A){for(var t=null;null!==A;)A instance... function getState (line 27) | function getState(A){return A?"open":"closed"} function r (line 27) | function r(A){var t,e,a="";if("string"==typeof A||"number"==typeof A)a+=... function clsx (line 27) | function clsx(){for(var A,t,e=0,a="",n=arguments.length;e{let{... function isSlottable (line 27) | function isSlottable(A){return reactExports.isValidElement(A)&&"function... function mergeProps (line 27) | function mergeProps(A,t){const e={...t};for(const a in t){const r=A[a],n... function getElementRef (line 27) | function getElementRef(A){var t,e;let a=null==(t=Object.getOwnPropertyDe... method get (line 27) | get(A){let t=e[A];return void 0!==t?t:void 0!==(t=a[A])?(r(A,t),t):void 0} method set (line 27) | set(A,t){A in e?e[A]=t:r(A,t)} function cn$1 (line 27) | function cn$1(...A){return twMerge(clsx(A))} function getSystemTheme (line 27) | function getSystemTheme(){return"undefined"==typeof window?"light":windo... function getAutoTheme (line 27) | function getAutoTheme(){const A=(new Date).getHours();return A>=18||A<6?... function updateMetaThemeColor (line 27) | function updateMetaThemeColor(A){let t=document.querySelector('meta[name... function applyTheme (line 27) | function applyTheme(A){const t=window.document.documentElement;t.classLi... function createJSONStorage (line 27) | function createJSONStorage(A,t){let e;try{e=A()}catch(a){return}return{g... method catch (line 27) | catch(A){return this} method then (line 27) | then(A){return this} function useStore (line 27) | function useStore(A,t=identity){const e=React.useSyncExternalStore(A.sub... function __insertCSS (line 27) | function __insertCSS(A){if("undefined"==typeof document)return;let t=doc... class Observer (line 27) | class Observer{constructor(){this.subscribe=A=>(this.subscribers.push(A)... method constructor (line 27) | constructor(){this.subscribe=A=>(this.subscribers.push(A),()=>{const t... function isAction (line 27) | function isAction(A){return void 0!==A.label} function cn (line 27) | function cn(...A){return A.filter(Boolean).join(" ")} function getDefaultSwipeDirections (line 27) | function getDefaultSwipeDirections(A){const[t,e]=A.split("-"),a=[];retur... function getDocumentDirection (line 27) | function getDocumentDirection(){if("undefined"==typeof window)return"ltr... function assignOffset (line 27) | function assignOffset(A,t){const e={};return[A,t].forEach((A,t)=>{const ... function requireScheduler_production (line 27) | function requireScheduler_production(){return hasRequiredScheduler_produ... function requireScheduler (line 27) | function requireScheduler(){return hasRequiredScheduler||(hasRequiredSch... function requireReactDomClient_production (line 36) | function requireReactDomClient_production(){if(hasRequiredReactDomClient... function requireClient (line 36) | function requireClient(){if(hasRequiredClient)return client.exports;retu... function addCacheBuster (line 36) | function addCacheBuster(A){const t=A.includes("?")?"&":"?";return`${A}${... function buildApiHeaders (line 36) | function buildApiHeaders({token:A,includeContentType:t=!0,includeDomain:... function __extends (line 50) | function __extends(A,t){if("function"!=typeof t&&null!==t)throw new Type... function __awaiter (line 50) | function __awaiter(A,t,e,a){return new(e||(e=Promise))(function(t,r){fun... function __generator (line 50) | function __generator(A,t){var e,a,r,n,l={label:0,sent:function(){if(1&r[... function createCommonjsModule (line 50) | function createCommonjsModule(A,t){return A(t={exports:{}},t.exports),t.... function createTag (line 50) | function createTag(A){return document.createElement(A)} function extendPrototype (line 50) | function extendPrototype(A,t){var e,a,r=A.length;for(e=0;e500... function n (line 50) | function n(A){var t={assetData:A},e=a(A,this.assetsPath,this.path);retur... function l (line 50) | function l(){this._imageLoaded=t.bind(this),this._footageLoaded=e.bind(t... function BaseEvent (line 50) | function BaseEvent(){} function A (line 50) | function A(A){for(var t,e=A.split("\r\n"),a={},r=0,n=0;n0||A>-1e-6&&A<0?a(1e4*A)/1e4:A} function D (line 50) | function D(){var A=this.props;return"matrix("+M(A[0])+","+M(A[1])+","+M(... function _typeof$3 (line 50) | function _typeof$3(A){return(_typeof$3="function"==typeof Symbol&&"symbo... function setLocation (line 50) | function setLocation(A){setLocationHref(A)} function searchAnimations (line 50) | function searchAnimations(){animationManager.searchAnimations()} function setSubframeRendering (line 50) | function setSubframeRendering(A){setSubframeEnabled(A)} function setPrefix (line 50) | function setPrefix(A){setIdPrefix(A)} function loadAnimation (line 50) | function loadAnimation(A){return animationManager.loadAnimation(A)} function setQuality (line 50) | function setQuality(A){if("string"==typeof A)switch(A){case"high":setDef... function inBrowser (line 50) | function inBrowser(){return"undefined"!=typeof navigator} function installPlugin (line 50) | function installPlugin(A,t){"expressions"===A&&setExpressionsPlugin(t)} function getFactory (line 50) | function getFactory(A){switch(A){case"propertyFactory":return PropertyFa... function checkReady (line 50) | function checkReady(){"complete"===document.readyState&&(clearInterval(r... function getQueryVariable (line 50) | function getQueryVariable(A){for(var t=queryString.split("&"),e=0;e=n||A.wid... function crossProduct (line 50) | function crossProduct(A,t){return[A[1]*t[2]-A[2]*t[1],A[2]*t[0]-A[0]*t[2... function lineIntersection (line 50) | function lineIntersection(A,t,e,a){var r=[A[0],A[1],1],n=[t[0],t[1],1],l... function polarOffset (line 50) | function polarOffset(A,t,e){return[A[0]+Math.cos(t)*e,A[1]-Math.sin(t)*e]} function pointDistance (line 50) | function pointDistance(A,t){return Math.hypot(A[0]-t[0],A[1]-t[1])} function pointEqual (line 50) | function pointEqual(A,t){return floatEqual(A[0],t[0])&&floatEqual(A[1],t... function ZigZagModifier (line 50) | function ZigZagModifier(){} function setPoint (line 50) | function setPoint(A,t,e,a,r,n,l){var i=e-Math.PI/2,o=e+Math.PI/2,s=t[0]+... function getPerpendicularVector (line 50) | function getPerpendicularVector(A,t){var e=[t[0]-A[0],t[1]-A[1]],a=.5*-M... function getProjectingAngle (line 50) | function getProjectingAngle(A,t){var e=0===t?A.length()-1:t-1,a=(t+1)%A.... function zigZagCorner (line 50) | function zigZagCorner(A,t,e,a,r,n,l){var i=getProjectingAngle(t,e),o=t.v... function zigZagSegment (line 50) | function zigZagSegment(A,t,e,a,r,n){for(var l=0;l=55296&&e<=56319){var a=A.c... function l (line 50) | function l(A){var t=n(A);return t>=127462&&t<=127487} function SlotManager (line 50) | function SlotManager(A){this.animationData=A} function slotFactory (line 50) | function slotFactory(A){return new SlotManager(A)} function RenderableElement (line 50) | function RenderableElement(){} function SliderEffect (line 50) | function SliderEffect(A,t,e){this.p=PropertyFactory.getProp(t,A.v,0,0,e)} function AngleEffect (line 50) | function AngleEffect(A,t,e){this.p=PropertyFactory.getProp(t,A.v,0,0,e)} function ColorEffect (line 50) | function ColorEffect(A,t,e){this.p=PropertyFactory.getProp(t,A.v,1,0,e)} function PointEffect (line 50) | function PointEffect(A,t,e){this.p=PropertyFactory.getProp(t,A.v,1,0,e)} function LayerIndexEffect (line 50) | function LayerIndexEffect(A,t,e){this.p=PropertyFactory.getProp(t,A.v,0,... function MaskIndexEffect (line 50) | function MaskIndexEffect(A,t,e){this.p=PropertyFactory.getProp(t,A.v,0,0... function CheckboxEffect (line 50) | function CheckboxEffect(A,t,e){this.p=PropertyFactory.getProp(t,A.v,0,0,e)} function NoValueEffect (line 50) | function NoValueEffect(){this.p={}} function EffectsManager (line 50) | function EffectsManager(A,t){var e,a=A.ef||[];this.effectElements=[];var... function GroupEffect (line 50) | function GroupEffect(A,t){this.init(A,t)} function BaseElement (line 50) | function BaseElement(){} function FrameElement (line 50) | function FrameElement(){} function FootageElement (line 50) | function FootageElement(A,t,e){this.initFrame(),this.initRenderable(),th... function AudioElement (line 50) | function AudioElement(A,t,e){this.initFrame(),this.initRenderable(),this... function BaseRenderer (line 50) | function BaseRenderer(){} function TransformElement (line 50) | function TransformElement(){} function MaskElement (line 50) | function MaskElement(A,t,e){this.data=A,this.element=t,this.globalData=e... function SVGEffects (line 50) | function SVGEffects(A){var t,e,a="SourceGraphic",r=A.data.ef?A.data.ef.l... function registerEffect$1 (line 50) | function registerEffect$1(A,t,e){registeredEffects$1[A]={effect:t,counts... function SVGBaseElement (line 50) | function SVGBaseElement(){} function HierarchyElement (line 50) | function HierarchyElement(){} function RenderableDOMElement (line 50) | function RenderableDOMElement(){} function IImageElement (line 50) | function IImageElement(A,t,e){this.assetData=t.getAssetData(A.refId),thi... function ProcessedElement (line 50) | function ProcessedElement(A,t){this.elem=A,this.pos=t} function IShapeElement (line 50) | function IShapeElement(){} function SVGShapeData (line 50) | function SVGShapeData(A,t,e){this.caches=[],this.styles=[],this.transfor... function SVGStyleData (line 50) | function SVGStyleData(A,t){this.data=A,this.type=A.ty,this.d="",this.lvl... function DashProperty (line 50) | function DashProperty(A,t,e,a){var r;this.elem=A,this.frameId=-1,this.da... function SVGStrokeStyleData (line 50) | function SVGStrokeStyleData(A,t,e){this.initDynamicPropertyContainer(A),... function SVGFillStyleData (line 50) | function SVGFillStyleData(A,t,e){this.initDynamicPropertyContainer(A),th... function SVGNoStyleData (line 50) | function SVGNoStyleData(A,t,e){this.initDynamicPropertyContainer(A),this... function GradientProperty (line 50) | function GradientProperty(A,t,e){this.data=t,this.c=createTypedArray("ui... function SVGGradientFillStyleData (line 50) | function SVGGradientFillStyleData(A,t,e){this.initDynamicPropertyContain... function SVGGradientStrokeStyleData (line 50) | function SVGGradientStrokeStyleData(A,t,e){this.initDynamicPropertyConta... function ShapeGroupData (line 50) | function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=create... function SVGTransformData (line 50) | function SVGTransformData(A,t,e){this.transform={mProps:A,op:t,container... function e (line 50) | function e(A,t,e){(e||t.transform.op._mdf)&&t.transform.container.setAtt... function a (line 50) | function a(){} function r (line 50) | function r(e,a,r){var n,l,i,o,s,p,c,u,d,h,S=a.styles.length,f=a.lvl;for(... function n (line 50) | function n(A,t,e){var a=t.style;(t.c._mdf||e)&&a.pElem.setAttribute("fil... function l (line 50) | function l(A,t,e){i(A,t,e),o(0,t,e)} function i (line 50) | function i(A,t,e){var a,r,n,l,i,o=t.gf,s=t.g._hasOpacity,p=t.s.v,c=t.e.v... function o (line 50) | function o(A,t,e){var a=t.style,r=t.d;r&&(r._mdf||e)&&r.dashStr&&(a.pEle... function SVGShapeElement (line 50) | function SVGShapeElement(A,t,e){this.shapes=[],this.shapesData=A.shapes,... function LetterProps (line 50) | function LetterProps(A,t,e,a,r,n){this.o=A,this.sw=t,this.sc=e,this.fc=a... function TextProperty (line 50) | function TextProperty(A,t){this._frameId=initialDefaultFrame,this.pv="",... function a (line 50) | function a(A,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.el... function TextAnimatorDataProperty (line 50) | function TextAnimatorDataProperty(A,t,e){var a={propType:!1},r=PropertyF... function TextAnimatorProperty (line 50) | function TextAnimatorProperty(A,t,e){this._isFirstFrame=!0,this._hasMask... function ITextElement (line 50) | function ITextElement(){} function SVGTextLottieElement (line 50) | function SVGTextLottieElement(A,t,e){this.textSpans=[],this.renderType="... function ISolidElement (line 50) | function ISolidElement(A,t,e){this.initElement(A,t,e)} function NullElement (line 50) | function NullElement(A,t,e){this.initFrame(),this.initBaseData(A,t,e),th... function SVGRendererBase (line 50) | function SVGRendererBase(){} function ICompElement (line 50) | function ICompElement(){} function SVGCompElement (line 50) | function SVGCompElement(A,t,e){this.layers=A.layers,this.supports3d=!0,t... function SVGRenderer (line 50) | function SVGRenderer(A,t){this.animationItem=A,this.layers=null,this.ren... function ShapeTransformManager (line 50) | function ShapeTransformManager(){this.sequences={},this.sequenceList=[],... function r (line 50) | function r(){var r,n,l;t||(r=createNS("svg"),n=createNS("filter"),l=crea... function createCanvas (line 50) | function createCanvas(A,t){if(featureSupport.offscreenCanvas)return new ... function CVEffects (line 50) | function CVEffects(A){var t,e,a=A.data.ef?A.data.ef.length:0;for(this.fi... function registerEffect (line 50) | function registerEffect(A,t){registeredEffects[A]={effect:t}} function CVMaskElement (line 50) | function CVMaskElement(A,t){var e;this.data=A,this.element=t,this.masksP... function CVBaseElement (line 50) | function CVBaseElement(){} function CVShapeData (line 50) | function CVShapeData(A,t,e,a){this.styledShapes=[],this.tr=[0,0,0,0,0,0]... function CVShapeElement (line 50) | function CVShapeElement(A,t,e){this.shapes=[],this.shapesData=A.shapes,t... function CVTextElement (line 50) | function CVTextElement(A,t,e){this.textSpans=[],this.yOffset=0,this.fill... function CVImageElement (line 50) | function CVImageElement(A,t,e){this.assetData=t.getAssetData(A.refId),th... function CVSolidElement (line 50) | function CVSolidElement(A,t,e){this.initElement(A,t,e)} function CanvasRendererBase (line 50) | function CanvasRendererBase(){} function CanvasContext (line 50) | function CanvasContext(){this.opacity=-1,this.transform=createTypedArray... function CVContextData (line 50) | function CVContextData(){var A;for(this.stack=[],this.cArrPos=0,this.cTr... function CVCompElement (line 50) | function CVCompElement(A,t,e){this.completeLayers=!1,this.layers=A.layer... function CanvasRenderer (line 50) | function CanvasRenderer(A,t){this.animationItem=A,this.renderConfig={cle... function HBaseElement (line 50) | function HBaseElement(){} function HSolidElement (line 50) | function HSolidElement(A,t,e){this.initElement(A,t,e)} function HShapeElement (line 50) | function HShapeElement(A,t,e){this.shapes=[],this.shapesData=A.shapes,th... function HTextElement (line 50) | function HTextElement(A,t,e){this.textSpans=[],this.textPaths=[],this.cu... function HCameraElement (line 50) | function HCameraElement(A,t,e){this.initFrame(),this.initBaseData(A,t,e)... function HImageElement (line 50) | function HImageElement(A,t,e){this.assetData=t.getAssetData(A.refId),thi... function HybridRendererBase (line 50) | function HybridRendererBase(A,t){this.animationItem=A,this.layers=null,t... function HCompElement (line 50) | function HCompElement(A,t,e){this.layers=A.layers,this.supports3d=!A.has... function HybridRenderer (line 50) | function HybridRenderer(A,t){this.animationItem=A,this.layers=null,this.... function t (line 50) | function t(t){for(var e=0,a=A.layers.length;ee){var a=e;e=t,t=a}return Math.min(Math.max(A... function radiansToDegrees (line 50) | function radiansToDegrees(A){return A/degToRads} function degreesToRadians (line 50) | function degreesToRadians(A){return A*degToRads} function length (line 50) | function length(A,t){if("number"==typeof A||A instanceof Number)return t... function normalize (line 50) | function normalize(A){return div(A,length(A))} function rgbToHsl (line 50) | function rgbToHsl(A){var t,e,a=A[0],r=A[1],n=A[2],l=Math.max(a,r,n),i=Ma... function hue2rgb (line 50) | function hue2rgb(A,t,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?A+6*(t-A)*e... function hslToRgb (line 50) | function hslToRgb(A){var t,e,a,r=A[0],n=A[1],l=A[2];if(0===n)t=l,a=l,e=l... function linear (line 50) | function linear(A,t,e,a,r){if(void 0!==a&&void 0!==r||(a=t,r=e,t=0,e=1),... function random (line 50) | function random(A,t){if(void 0===t&&(void 0===A?(A=0,t=1):(t=A,A=void 0)... function createPath (line 50) | function createPath(A,t,e,a){var r,n=A.length,l=shapePool.newElement();l... function initiateExpression (line 50) | function initiateExpression(elem,data,property){function noOp(A){return ... function A (line 50) | function A(A,t){this._mask=A,this._data=t} function e (line 50) | function e(A,t,e){Object.defineProperty(A,"velocity",{get:function(){ret... function a (line 50) | function a(){return A} function t (line 50) | function t(A){switch(A){case"scale":case"Scale":case"ADBE Scale":case 6:... function A (line 50) | function A(A){var t=new Matrix;return void 0!==A?this._elem.finalTransfo... function t (line 50) | function t(A,t){var e=this.getMatrix(t);return e.props[12]=0,e.props[13]... function e (line 50) | function e(A,t){var e=this.getMatrix(t);return this.applyPoint(e,A)} function a (line 50) | function a(A,t){var e=this.getMatrix(t);return e.props[12]=0,e.props[13]... function r (line 50) | function r(A,t){var e=this.getMatrix(t);return this.invertPoint(e,A)} function n (line 50) | function n(A,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){va... function l (line 50) | function l(A,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){va... function i (line 50) | function i(A){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mP... function o (line 50) | function o(){return[1,1,1,1]} function c (line 50) | function c(A){switch(A){case"ADBE Root Vectors Group":case"Contents":cas... function A (line 50) | function A(e,a,r,n){function l(A){for(var t=e.ef,a=0,r=t.length;aA[t]>=0)} method fn (line 50) | async fn(t){const{rects:e}=t,{strategy:a="referenceHidden",...r}=evaluat... function convertValueToCoords (line 50) | async function convertValueToCoords(A,t){const{placement:e,platform:a,el... method fn (line 50) | async fn(t){var e,a;const{x:r,y:n,placement:l,middlewareData:i}=t,o=awai... method fn (line 50) | async fn(t){const{x:e,y:a,placement:r}=t,{mainAxis:n=!0,crossAxis:l=!1,l... method fn (line 50) | fn(t){const{x:e,y:a,placement:r,rects:n,middlewareData:l}=t,{offset:i=0,... method fn (line 50) | async fn(t){var e,a;const{placement:r,rects:n,platform:l,elements:i}=t,{... function hasWindow (line 50) | function hasWindow(){return"undefined"!=typeof window} function getNodeName (line 50) | function getNodeName(A){return isNode(A)?(A.nodeName||"").toLowerCase():... function getWindow (line 50) | function getWindow(A){var t;return(null==A||null==(t=A.ownerDocument)?vo... function getDocumentElement (line 50) | function getDocumentElement(A){var t;return null==(t=(isNode(A)?A.ownerD... function isNode (line 50) | function isNode(A){return!!hasWindow()&&(A instanceof Node||A instanceof... function isElement (line 50) | function isElement(A){return!!hasWindow()&&(A instanceof Element||A inst... function isHTMLElement (line 50) | function isHTMLElement(A){return!!hasWindow()&&(A instanceof HTMLElement... function isShadowRoot (line 50) | function isShadowRoot(A){return!(!hasWindow()||"undefined"==typeof Shado... function isOverflowElement (line 50) | function isOverflowElement(A){const{overflow:t,overflowX:e,overflowY:a,d... function isTableElement (line 50) | function isTableElement(A){return tableElements.has(getNodeName(A))} function isTopLayer (line 50) | function isTopLayer(A){return topLayerSelectors.some(t=>{try{return A.ma... function isContainingBlock (line 50) | function isContainingBlock(A){const t=isWebKit(),e=isElement(A)?getCompu... function getContainingBlock (line 50) | function getContainingBlock(A){let t=getParentNode(A);for(;isHTMLElement... function isWebKit (line 50) | function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS... function isLastTraversableNode (line 50) | function isLastTraversableNode(A){return lastTraversableNodeNames.has(ge... function getComputedStyle$1 (line 50) | function getComputedStyle$1(A){return getWindow(A).getComputedStyle(A)} function getNodeScroll (line 50) | function getNodeScroll(A){return isElement(A)?{scrollLeft:A.scrollLeft,s... function getParentNode (line 50) | function getParentNode(A){if("html"===getNodeName(A))return A;const t=A.... function getNearestOverflowAncestor (line 50) | function getNearestOverflowAncestor(A){const t=getParentNode(A);return i... function getOverflowAncestors (line 50) | function getOverflowAncestors(A,t,e){var a;void 0===t&&(t=[]),void 0===e... function getFrameElement (line 50) | function getFrameElement(A){return A.parent&&Object.getPrototypeOf(A.par... function getCssDimensions (line 50) | function getCssDimensions(A){const t=getComputedStyle$1(A);let e=parseFl... function unwrapElement (line 50) | function unwrapElement(A){return isElement(A)?A:A.contextElement} function getScale (line 50) | function getScale(A){const t=unwrapElement(A);if(!isHTMLElement(t))retur... function getVisualOffsets (line 50) | function getVisualOffsets(A){const t=getWindow(A);return isWebKit()&&t.v... function shouldAddVisualOffsets (line 50) | function shouldAddVisualOffsets(A,t,e){return void 0===t&&(t=!1),!(!e||t... function getBoundingClientRect (line 50) | function getBoundingClientRect(A,t,e,a){void 0===t&&(t=!1),void 0===e&&(... function getWindowScrollBarX (line 50) | function getWindowScrollBarX(A,t){const e=getNodeScroll(A).scrollLeft;re... function getHTMLOffset (line 50) | function getHTMLOffset(A,t){const e=A.getBoundingClientRect();return{x:e... function convertOffsetParentRelativeRectToViewportRelativeRect (line 50) | function convertOffsetParentRelativeRectToViewportRelativeRect(A){let{el... function getClientRects (line 50) | function getClientRects(A){return Array.from(A.getClientRects())} function getDocumentRect (line 50) | function getDocumentRect(A){const t=getDocumentElement(A),e=getNodeScrol... function getViewportRect (line 50) | function getViewportRect(A,t){const e=getWindow(A),a=getDocumentElement(... function getInnerBoundingClientRect (line 50) | function getInnerBoundingClientRect(A,t){const e=getBoundingClientRect(A... function getClientRectFromClippingAncestor (line 50) | function getClientRectFromClippingAncestor(A,t,e){let a;if("viewport"===... function hasFixedPositionAncestor (line 50) | function hasFixedPositionAncestor(A,t){const e=getParentNode(A);return!(... function getClippingElementAncestors (line 50) | function getClippingElementAncestors(A,t){const e=t.get(A);if(e)return e... function getClippingRect (line 50) | function getClippingRect(A){let{element:t,boundary:e,rootBoundary:a,stra... function getDimensions (line 50) | function getDimensions(A){const{width:t,height:e}=getCssDimensions(A);re... function getRectRelativeToOffsetParent (line 50) | function getRectRelativeToOffsetParent(A,t,e){const a=isHTMLElement(t),r... function isStaticPositioned (line 50) | function isStaticPositioned(A){return"static"===getComputedStyle$1(A).po... function getTrueOffsetParent (line 50) | function getTrueOffsetParent(A,t){if(!isHTMLElement(A)||"fixed"===getCom... function getOffsetParent (line 50) | function getOffsetParent(A,t){const e=getWindow(A);if(isTopLayer(A))retu... function isRTL (line 50) | function isRTL(A){return"rtl"===getComputedStyle$1(A).direction} function rectsAreEqual (line 50) | function rectsAreEqual(A,t){return A.x===t.x&&A.y===t.y&&A.width===t.wid... function observeMove (line 50) | function observeMove(A,t){let e,a=null;const r=getDocumentElement(A);fun... function autoUpdate (line 50) | function autoUpdate(A,t,e,a){void 0===a&&(a={});const{ancestorScroll:r=!... function deepEqual (line 50) | function deepEqual(A,t){if(A===t)return!0;if(typeof A!=typeof t)return!1... function getDPR (line 50) | function getDPR(A){if("undefined"==typeof window)return 1;return(A.owner... function roundByDPR (line 50) | function roundByDPR(A,t){const e=getDPR(A);return Math.round(t*e)/e} function useLatestRef (line 50) | function useLatestRef(A){const t=reactExports.useRef(A);return index(()=... function useFloating (line 50) | function useFloating(A){void 0===A&&(A={});const{placement:t="bottom",st... method fn (line 50) | fn(t){const{element:e,padding:a}="function"==typeof A?A(t):A;return e&&(... function useSize (line 50) | function useSize(A){const[t,e]=reactExports.useState(void 0);return useL... function isNotNull (line 50) | function isNotNull(A){return null!==A} method fn (line 50) | fn(t){var e,a,r;const{placement:n,rects:l,middlewareData:i}=t,o=0!==(nul... function getSideAndAlignFromPlacement (line 50) | function getSideAndAlignFromPlacement(A){const[t,e="center"]=A.split("-"... function getDirectionAwareKey (line 50) | function getDirectionAwareKey(A,t){return"rtl"!==t?A:"ArrowLeft"===A?"Ar... function getFocusIntent (line 50) | function getFocusIntent(A,t,e){const a=getDirectionAwareKey(A.key,e);if(... function focusFirst$1 (line 50) | function focusFirst$1(A,t=!1){const e=document.activeElement;for(const a... function wrapArray$1 (line 50) | function wrapArray$1(A,t){return A.map((e,a)=>A[(t+a)%A.length])} function getOpenState (line 50) | function getOpenState(A){return A?"open":"closed"} function isIndeterminate (line 50) | function isIndeterminate(A){return"indeterminate"===A} function getCheckedState (line 50) | function getCheckedState(A){return isIndeterminate(A)?"indeterminate":A?... function focusFirst (line 50) | function focusFirst(A){const t=document.activeElement;for(const e of A){... function wrapArray (line 50) | function wrapArray(A,t){return A.map((e,a)=>A[(t+a)%A.length])} function getNextMatch (line 50) | function getNextMatch(A,t,e){const a=t.length>1&&Array.from(t).every(A=>... function isPointInPolygon (line 50) | function isPointInPolygon(A,t){const{x:e,y:a}=A;let r=!1;for(let n=0,l=t... function isPointerInGraceArea (line 50) | function isPointerInGraceArea(A,t){if(!t)return!1;return isPointInPolygo... function whenMouse (line 50) | function whenMouse(A){return t=>"mouse"===t.pointerType?A(t):void 0} function ColorSchemeSwitcher (line 50) | function ColorSchemeSwitcher({className:A,isShare:t=!1}){const{t:e}=useT... function LanguageSwitcher (line 50) | function LanguageSwitcher({className:A,showText:t=!1,storageKey:e="lang"... FILE: frontend/assets/format-CdHm7RWL.js function a (line 7) | function a(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&r... function o (line 7) | function o(t,e){return a(e||t,t)} function u (line 7) | function u(){return i} function s (line 7) | function s(t,e){var n,r,a,i;const s=u(),c=(null==e?void 0:e.weekStartsOn... function c (line 7) | function c(t,e){return s(t,{...e,weekStartsOn:1})} function d (line 7) | function d(t,e){const n=o(t,null==e?void 0:e.in),r=n.getFullYear(),i=a(n... function l (line 7) | function l(t){const e=o(t),n=new Date(Date.UTC(e.getFullYear(),e.getMont... function h (line 7) | function h(t,e){const n=o(t,null==e?void 0:e.in);return n.setHours(0,0,0... function m (line 7) | function m(t,e,n){const[r,o]=function(t,...e){const n=a.bind(null,e.find... function f (line 7) | function f(t){return!(!((e=t)instanceof Date||"object"==typeof e&&"[obje... function w (line 7) | function w(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWi... function v (line 7) | function v(t){return(e,n)=>{let r;if("formatting"===((null==n?void 0:n.c... function p (line 7) | function p(t){return(e,n={})=>{const r=n.width,a=r&&t.matchPatterns[r]||... function x (line 7) | function x(t,e){const n=o(t,null==e?void 0:e.in),r=m(n,function(t,e){con... function P (line 7) | function P(t,e){const r=o(t,null==e?void 0:e.in),i=+c(r)-+function(t,e){... function S (line 7) | function S(t,e){var n,r,i,c;const d=o(t,null==e?void 0:e.in),l=d.getFull... function W (line 7) | function W(t,e){const r=o(t,null==e?void 0:e.in),i=+s(r,e)-+function(t,e... function D (line 7) | function D(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")} method y (line 7) | y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return D("yy"===e?r%100:r,e.l... method M (line 7) | M(t,e){const n=t.getMonth();return"M"===e?String(n+1):D(n+1,2)} method a (line 7) | a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":r... method S (line 7) | S(t,e){const n=e.length,r=t.getMilliseconds();return D(Math.trunc(r*Math... function E (line 7) | function E(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),a=Math.trunc(r/60),... function z (line 7) | function z(t,e){if(t%60==0){return(t>0?"-":"+")+D(Math.abs(t)/60,2)}retu... function j (line 7) | function j(t,e=""){const n=t>0?"-":"+",r=Math.abs(t);return n+D(Math.tru... function V (line 7) | function V(t,e,n){var r,a,i,s;const c=u(),d=c.locale??k,l=c.firstWeekCon... function K (line 7) | function K(t){const e=t.match(I);return e?e[1].replace(R,"'"):t} FILE: frontend/assets/git-automation-tBJ0Wppw.js function se (line 13) | function se(){const{t:e}=s(),l=localStorage.getItem("token"),o=t.useCall... function te (line 13) | function te({configId:e,open:a,onOpenChange:r}){const{t:i}=s(),{handleGi... function ae (line 13) | function ae({config:e,vaults:a,onSubmit:r,onCancel:i}){const{t:n}=s(),{h... function re (line 13) | function re(){const{t:e}=s(),{openConfirmDialog:a}=h(),{handleGitSyncLis... FILE: frontend/assets/index-JfsWWBj_.js function r (line 1) | function r(t){if(t<768)return!1;for(let e=0,r=i.length;;){let s=e+r>>1;i... function s (line 1) | function s(t){return t>=127462&&t<=127487} function o (line 1) | function o(t,e,i=!0,n=!0){return(i?a:l)(t,e,n)} function a (line 1) | function a(t,e,i){if(e==t.length)return e;e&&c(t.charCodeAt(e))&&u(t.cha... function l (line 1) | function l(t,e,i){for(;e>0;){let n=a(t,e-2,i);if(n=56320&&t<57344} function u (line 1) | function u(t){return t>=55296&&t<56320} function d (line 1) | function d(t){return t<65536?1:2} class f (line 1) | class f{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid po... method lineAt (line 1) | lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position... method line (line 1) | line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number... method replace (line 1) | replace(t,e,i){[t,e]=x(this,t,e);let n=[];return this.decompose(0,t,n,... method append (line 1) | append(t){return this.replace(this.length,this.length,t)} method slice (line 1) | slice(t,e=this.length){[t,e]=x(this,t,e);let i=[];return this.decompos... method eq (line 1) | eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.line... method iter (line 1) | iter(t=1){return new Q(this,t)} method iterRange (line 1) | iterRange(t,e=this.length){return new b(this,t,e)} method iterLines (line 1) | iterLines(t,e){let i;if(null==t)i=this.iter();else{null==e&&(e=this.li... method toString (line 1) | toString(){return this.sliceString(0)} method toJSON (line 1) | toJSON(){let t=[];return this.flatten(t),t} method constructor (line 1) | constructor(){} method of (line 1) | static of(t){if(0==t.length)throw new RangeError("A document must have... class O (line 1) | class O extends f{constructor(t,e=function(t){let e=-1;for(let i of t)e+... method constructor (line 1) | constructor(t,e=function(t){let e=-1;for(let i of t)e+=i.length+1;retu... method lines (line 1) | get lines(){return this.text.length} method children (line 1) | get children(){return null} method lineInner (line 1) | lineInner(t,e,i,n){for(let r=0;;r++){let s=this.text[r],o=n+s.length;i... method decompose (line 1) | decompose(t,e,i,n){let r=t<=0&&e>=this.length?this:new O(g(this.text,t... method replace (line 1) | replace(t,e,i){if(!(i instanceof O))return super.replace(t,e,i);[t,e]=... method sliceString (line 1) | sliceString(t,e=this.length,i="\n"){[t,e]=x(this,t,e);let n="";for(let... method flatten (line 1) | flatten(t){for(let e of this.text)t.push(e)} method scanIdentical (line 1) | scanIdentical(){return 0} method split (line 1) | static split(t,e){let i=[],n=-1;for(let r of t)i.push(r),n+=r.length+1... class p (line 1) | class p extends f{constructor(t,e){super(),this.children=t,this.length=e... method constructor (line 1) | constructor(t,e){super(),this.children=t,this.length=e,this.lines=0;fo... method lineInner (line 1) | lineInner(t,e,i,n){for(let r=0;;r++){let s=this.children[r],o=n+s.leng... method decompose (line 1) | decompose(t,e,i,n){for(let r=0,s=0;s<=e&&r0... method from (line 1) | static from(t,e=t.reduce((t,e)=>t+e.length+1,-1)){let i=0;for(let d of... function m (line 1) | function m(t,e,i=0,n=1e9){for(let r=0,s=0,o=!0;si?... method nextInner (line 1) | nextInner(t,e){if(e<0?this.pos<=this.from:this.pos>=this.to)return thi... method next (line 1) | next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min... method lineBreak (line 1) | get lineBreak(){return this.cursor.lineBreak&&""!=this.value} class v (line 1) | class v{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",thi... method constructor (line 1) | constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done... method next (line 1) | next(t=0){let{done:e,lineBreak:i,value:n}=this.inner.next(t);return e&... method lineBreak (line 1) | get lineBreak(){return!1} method constructor (line 1) | constructor(t,e,i,n){this.from=t,this.to=e,this.number=i,this.text=n} method length (line 1) | get length(){return this.to-this.from} function x (line 1) | function x(t,e,i){return[e=Math.max(0,Math.min(t.length,e)),Math.max(e,M... function S (line 1) | function S(t,e,i=!0,n=!0){return o(t,e,i,n)} function y (line 1) | function y(t,e){let i=t.charCodeAt(e);if(!(n=i,n>=55296&&n<56320&&e+1!=t... function k (line 1) | function k(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fr... function $ (line 1) | function $(t){return t<65536?1:2} class C (line 1) | class C{constructor(t){this.sections=t}get length(){let t=0;for(let e=0;... method constructor (line 1) | constructor(t){this.sections=t} method length (line 1) | get length(){let t=0;for(let e=0;e"number... method create (line 1) | static create(t){return new C(t)} class Z (line 1) | class Z extends C{constructor(t,e){super(t),this.inserted=e}apply(t){if(... method constructor (line 1) | constructor(t,e){super(t),this.inserted=e} method apply (line 1) | apply(t){if(this.length!=t.length)throw new RangeError("Applying chang... method mapDesc (line 1) | mapDesc(t,e=!1){return R(this,t,e,!0)} method invert (line 1) | invert(t){let e=this.sections.slice(),i=[];for(let n=0,r=0;n=0&&i<=0&... function A (line 1) | function A(t,e,i){if(0==i.length)return;let n=e.length-2>>1;if(n>1;return e>=t.length?f... method textBit (line 1) | textBit(t){let{inserted:e}=this.set,i=this.i-2>>1;return i>=e.length&&... method forward (line 1) | forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)} method forward2 (line 1) | forward2(t){-1==this.ins?this.forward(t):t==this.ins?this.next():(this... class E (line 1) | class E{constructor(t,e,i){this.from=t,this.to=e,this.flags=i}get anchor... method constructor (line 1) | constructor(t,e,i){this.from=t,this.to=e,this.flags=i} method anchor (line 1) | get anchor(){return 32&this.flags?this.to:this.from} method head (line 1) | get head(){return 32&this.flags?this.from:this.to} method empty (line 1) | get empty(){return this.from==this.to} method assoc (line 1) | get assoc(){return 8&this.flags?-1:16&this.flags?1:0} method bidiLevel (line 1) | get bidiLevel(){let t=7&this.flags;return 7==t?null:t} method goalColumn (line 1) | get goalColumn(){let t=this.flags>>6;return 16777215==t?void 0:t} method map (line 1) | map(t,e=-1){let i,n;return this.empty?i=n=t.mapPos(this.from,e):(i=t.m... method extend (line 1) | extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return Y.range(t,e);le... method eq (line 1) | eq(t,e=!1){return!(this.anchor!=t.anchor||this.head!=t.head||e&&this.e... method toJSON (line 1) | toJSON(){return{anchor:this.anchor,head:this.head}} method fromJSON (line 1) | static fromJSON(t){if(!t||"number"!=typeof t.anchor||"number"!=typeof ... method create (line 1) | static create(t,e,i){return new E(t,e,i)} class Y (line 1) | class Y{constructor(t,e){this.ranges=t,this.mainIndex=e}map(t,e=-1){retu... method constructor (line 1) | constructor(t,e){this.ranges=t,this.mainIndex=e} method map (line 1) | map(t,e=-1){return t.empty?this:Y.create(this.ranges.map(i=>i.map(t,e)... method eq (line 1) | eq(t,e=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.m... method main (line 1) | get main(){return this.ranges[this.mainIndex]} method asSingle (line 1) | asSingle(){return 1==this.ranges.length?this:new Y([this.main],0)} method addRange (line 1) | addRange(t,e=!0){return Y.create([t].concat(this.ranges),e?0:this.main... method replaceRange (line 1) | replaceRange(t,e=this.mainIndex){let i=this.ranges.slice();return i[e]... method toJSON (line 1) | toJSON(){return{ranges:this.ranges.map(t=>t.toJSON()),main:this.mainIn... method fromJSON (line 1) | static fromJSON(t){if(!t||!Array.isArray(t.ranges)||"number"!=typeof t... method single (line 1) | static single(t,e=t){return new Y([Y.range(t,e)],0)} method create (line 1) | static create(t,e=0){if(0==t.length)throw new RangeError("A selection ... method cursor (line 1) | static cursor(t,e=0,i,n){return E.create(t,t,(0==e?0:e<0?8:16)|(null==... method range (line 1) | static range(t,e,i,n){let r=(null!=i?i:16777215)<<6|(null==n?7:Math.mi... method normalized (line 1) | static normalized(t,e=0){let i=t[e];t.sort((t,e)=>t.from-e.from),e=t.i... function L (line 1) | function L(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Se... class V (line 1) | class V{constructor(t,e,i,n,r){this.combine=t,this.compareInput=e,this.c... method constructor (line 1) | constructor(t,e,i,n,r){this.combine=t,this.compareInput=e,this.compare... method reader (line 1) | get reader(){return this} method define (line 1) | static define(t={}){return new V(t.combine||(t=>t),t.compareInput||((t... method of (line 1) | of(t){return new D([],this,0,t)} method compute (line 1) | compute(t,e){if(this.isStatic)throw new Error("Can't compute a static ... method computeN (line 1) | computeN(t,e){if(this.isStatic)throw new Error("Can't compute a static... method from (line 1) | from(t,e){return e||(e=t=>t),this.compute([t],i=>e(i.field(t)))} function W (line 1) | function W(t,e){return t==e||t.length==e.length&&t.every((t,i)=>t===e[i])} class D (line 1) | class D{constructor(t,e,i,n){this.dependencies=t,this.facet=e,this.type=... method constructor (line 1) | constructor(t,e,i,n){this.dependencies=t,this.facet=e,this.type=i,this... method dynamicSlot (line 1) | dynamicSlot(t){var e;let i=this.value,n=this.facet.compareInput,r=this... function B (line 1) | function B(t,e,i){if(t.length!=e.length)return!1;for(let n=0;nt[e.id]),r=i.map(t=>t.type),s=n.filter(... class N (line 1) | class N{constructor(t,e,i,n,r){this.id=t,this.createF=e,this.updateF=i,t... method constructor (line 1) | constructor(t,e,i,n,r){this.id=t,this.createF=e,this.updateF=i,this.co... method define (line 1) | static define(t){let e=new N(q++,t.create,t.update,t.compare||((t,e)=>... method create (line 1) | create(t){let e=t.facet(G).find(t=>t.field==this);return((null==e?void... method slot (line 1) | slot(t){let e=t[this.id]>>1;return{create:t=>(t.values[e]=this.create(... method init (line 1) | init(t){return[this,G.of({field:this,create:t})]} method extension (line 1) | get extension(){return this} function J (line 1) | function J(t){return e=>new et(e,t)} class et (line 1) | class et{constructor(t,e){this.inner=t,this.prec=e}} method constructor (line 1) | constructor(t,e){this.inner=t,this.prec=e} class it (line 1) | class it{of(t){return new nt(this,t)}reconfigure(t){return it.reconfigur... method of (line 1) | of(t){return new nt(this,t)} method reconfigure (line 1) | reconfigure(t){return it.reconfigure.of({compartment:this,extension:t})} method get (line 1) | get(t){return t.config.compartments.get(this)} class nt (line 1) | class nt{constructor(t,e){this.compartment=t,this.inner=e}} method constructor (line 1) | constructor(t,e){this.compartment=t,this.inner=e} class rt (line 1) | class rt{constructor(t,e,i,n,r,s){for(this.base=t,this.compartments=e,th... method constructor (line 1) | constructor(t,e,i,n,r,s){for(this.base=t,this.compartments=e,this.dyna... method staticFacet (line 1) | staticFacet(t){let e=this.address[t.id];return null==e?t.default:this.... method resolve (line 1) | static resolve(t,e,i){let n=[],r=Object.create(null),s=new Map;for(let... function st (line 1) | function st(t,e){if(1&e)return 2;let i=e>>1,n=t.status[i];if(4==n)throw ... function ot (line 1) | function ot(t,e){return 1&e?t.config.staticValues[e>>1]:t.values[e>>1]} class Ot (line 1) | class Ot{constructor(t,e){this.type=t,this.value=e}static define(){retur... method constructor (line 1) | constructor(t,e){this.type=t,this.value=e} method define (line 1) | static define(){return new pt} class pt (line 1) | class pt{of(t){return new Ot(this,t)}} method of (line 1) | of(t){return new Ot(this,t)} class mt (line 1) | class mt{constructor(t){this.map=t}of(t){return new gt(this,t)}} method constructor (line 1) | constructor(t){this.map=t} method of (line 1) | of(t){return new gt(this,t)} class gt (line 1) | class gt{constructor(t,e){this.type=t,this.value=e}map(t){let e=this.typ... method constructor (line 1) | constructor(t,e){this.type=t,this.value=e} method map (line 1) | map(t){let e=this.type.map(this.value,t);return void 0===e?void 0:e==t... method is (line 1) | is(t){return this.type==t} method define (line 1) | static define(t={}){return new mt(t.map||(t=>t))} method mapEffects (line 1) | static mapEffects(t,e){if(!t.length)return t;let i=[];for(let n of t){... class Qt (line 1) | class Qt{constructor(t,e,i,n,r,s){this.startState=t,this.changes=e,this.... method constructor (line 1) | constructor(t,e,i,n,r,s){this.startState=t,this.changes=e,this.selecti... method create (line 1) | static create(t,e,i,n,r,s){return new Qt(t,e,i,n,r,s)} method newDoc (line 1) | get newDoc(){return this._doc||(this._doc=this.changes.apply(this.star... method newSelection (line 1) | get newSelection(){return this.selection||this.startState.selection.ma... method state (line 1) | get state(){return this._state||this.startState.applyTransaction(this)... method annotation (line 1) | annotation(t){for(let e of this.annotations)if(e.type==t)return e.value} method docChanged (line 1) | get docChanged(){return!this.changes.empty} method reconfigured (line 1) | get reconfigured(){return this.startState.config!=this.state.config} method isUserEvent (line 1) | isUserEvent(t){let e=this.annotation(Qt.userEvent);return!(!e||!(e==t|... function bt (line 1) | function bt(t,e){let i=[];for(let n=0,r=0;;){let s,o;if(n{if(!/\S/.test(e))return kt.Space;if(function(t... class Ct (line 1) | class Ct{constructor(t,e,i,n,r,s){this.config=t,this.doc=e,this.selectio... method constructor (line 1) | constructor(t,e,i,n,r,s){this.config=t,this.doc=e,this.selection=i,thi... method field (line 1) | field(t,e=!0){let i=this.config.address[t.id];if(null!=i)return st(thi... method update (line 1) | update(...t){return xt(this,t,!0)} method applyTransaction (line 1) | applyTransaction(t){let e,i=this.config,{base:n,compartments:r}=i;for(... method replaceSelection (line 1) | replaceSelection(t){return"string"==typeof t&&(t=this.toText(t)),this.... method changeByRange (line 1) | changeByRange(t){let e=this.selection,i=t(e.ranges[0]),n=this.changes(... method changes (line 1) | changes(t=[]){return t instanceof Z?t:Z.of(t,this.doc.length,this.face... method toText (line 1) | toText(t){return f.of(t.split(this.facet(Ct.lineSeparator)||P))} method sliceDoc (line 1) | sliceDoc(t=0,e=this.doc.length){return this.doc.sliceString(t,e,this.l... method facet (line 1) | facet(t){let e=this.config.address[t.id];return null==e?t.default:(st(... method toJSON (line 1) | toJSON(t){let e={doc:this.sliceDoc(),selection:this.selection.toJSON()... method fromJSON (line 1) | static fromJSON(t,e={},i){if(!t||"string"!=typeof t.doc)throw new Rang... method create (line 1) | static create(t={}){let e=rt.resolve(t.extensions||[],new Map),i=t.doc... method tabSize (line 1) | get tabSize(){return this.facet(Ct.tabSize)} method lineBreak (line 1) | get lineBreak(){return this.facet(Ct.lineSeparator)||"\n"} method readOnly (line 1) | get readOnly(){return this.facet(ft)} method phrase (line 1) | phrase(t,...e){for(let i of this.facet(Ct.phrases))if(Object.prototype... method languageDataAt (line 1) | languageDataAt(t,e,i=-1){let n=[];for(let r of this.facet(at))for(let ... method charCategorizer (line 1) | charCategorizer(t){let e=this.languageDataAt("wordChars",t);return Tt(... method wordAt (line 1) | wordAt(t){let{text:e,from:i,length:n}=this.doc.lineAt(t),r=this.charCa... function Zt (line 1) | function Zt(t,e,i={}){let n={};for(let r of t)for(let t of Object.keys(r... method compare (line 1) | compare(t,e){let i=Object.keys(t),n=Object.keys(e);return i.length==n.le... class Xt (line 1) | class Xt{eq(t){return this==t}range(t,e=t){return Mt.create(t,e,this)}} method eq (line 1) | eq(t){return this==t} method range (line 1) | range(t,e=t){return Mt.create(t,e,this)} function At (line 1) | function At(t,e){return t==e||t.constructor==e.constructor&&t.eq(e)} method constructor (line 1) | constructor(t,e,i){this.from=t,this.to=e,this.value=i} method create (line 1) | static create(e,i,n){return new t(e,i,n)} function Rt (line 1) | function Rt(t,e){return t.from-e.from||t.value.startSide-e.value.startSide} class zt (line 1) | class zt{constructor(t,e,i,n){this.from=t,this.to=e,this.value=i,this.ma... method constructor (line 1) | constructor(t,e,i,n){this.from=t,this.to=e,this.value=i,this.maxPoint=n} method length (line 1) | get length(){return this.to[this.to.length-1]} method findIndex (line 1) | findIndex(t,e,i,n=0){let r=i?this.to:this.from;for(let s=n,o=r.length;... method between (line 1) | between(t,e,i,n){for(let r=this.findIndex(e,-1e9,!0),s=this.findIndex(... method map (line 1) | map(t,e){let i=[],n=[],r=[],s=-1,o=-1;for(let a=0;at.maxPoint>0||!t.isEmpt... method eq (line 1) | static eq(t,e,i=0,n){null==n&&(n=999999999);let r=t.filter(t=>!t.isEmp... method spans (line 1) | static spans(t,e,i,n,r=-1){let s=new Wt(t,null,r).goto(e),o=e,a=s.open... method of (line 1) | static of(t,e=!1){let i=new Et;for(let n of t instanceof Mt?[t]:e?func... method join (line 1) | static join(t){if(!t.length)return _t.empty;let e=t[t.length-1];for(le... class Et (line 1) | class Et{finishChunk(t){this.chunks.push(new zt(this.from,this.to,this.v... method finishChunk (line 1) | finishChunk(t){this.chunks.push(new zt(this.from,this.to,this.value,th... method constructor (line 1) | constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.... method add (line 1) | add(t,e,i){this.addInner(t,e,i)||(this.nextLayer||(this.nextLayer=new ... method addInner (line 1) | addInner(t,e,i){let n=t-this.lastTo||i.startSide-this.last.endSide;if(... method addChunk (line 1) | addChunk(t,e){if((t-this.lastTo||e.value[0].startSide-this.last.endSid... method finish (line 1) | finish(){return this.finishInner(_t.empty)} method finishInner (line 1) | finishInner(t){if(this.from.length&&this.finishChunk(!1),0==this.chunk... function Yt (line 1) | function Yt(t,e,i){let n=new Map;for(let s of t)for(let t=0;t=t.length)break;l... class Wt (line 1) | class Wt{constructor(t,e,i){this.minPoint=i,this.active=[],this.activeTo... method constructor (line 1) | constructor(t,e,i){this.minPoint=i,this.active=[],this.activeTo=[],thi... method goto (line 1) | goto(t,e=-1e9){return this.cursor.goto(t,e),this.active.length=this.ac... method forward (line 1) | forward(t,e){for(;this.minActive>-1&&(this.activeTo[this.minActive]-t|... method removeActive (line 1) | removeActive(t){jt(this.active,t),jt(this.activeTo,t),jt(this.activeRa... method addActive (line 1) | addActive(t){let e=0,{value:i,to:n,rank:r}=this.cursor;for(;e=0&&this.activeT... function Dt (line 1) | function Dt(t,e,i,n,r,s){t.goto(e),i.goto(n);let o=n+r,a=n,l=n-e,h=!!s.b... function Bt (line 1) | function Bt(t,e){if(t.length!=e.length)return!1;for(let i=0;i=e;n--)t[n+1]=t[n];t[e]=i} function Gt (line 1) | function Gt(t,e){let i=-1,n=1e9;for(let r=0;r=e)return r;if(r==t.length)... class Jt (line 1) | class Jt{constructor(t,e){this.rules=[];let{finish:i}=e||{};function n(t... method constructor (line 1) | constructor(t,e){this.rules=[];let{finish:i}=e||{};function n(t){retur... method getRules (line 1) | getRules(){return this.rules.join("\n")} method newName (line 1) | static newName(){let t=Kt[Ht]||1;return Kt[Ht]=t+1,"ͼ"+t.toString(36)} method mount (line 1) | static mount(t,e,i){let n=t[Ft],r=i&&i.nonce;n?r&&n.setNonce(r):n=new ... class ee (line 1) | class ee{constructor(t,e){let i=t.ownerDocument||t,n=i.defaultView;if(!t... method constructor (line 1) | constructor(t,e){let i=t.ownerDocument||t,n=i.defaultView;if(!t.head&&... method mount (line 1) | mount(t,e){let i=this.sheet,n=0,r=0;for(let s=0;s-1} class Ze (line 1) | class Ze extends Ce{constructor(t){let{start:e,end:i}=Me(t);super(e?-1:5... method constructor (line 1) | constructor(t){let{start:e,end:i}=Me(t);super(e?-1:5e8,i?1:-6e8,null,t... method eq (line 1) | eq(t){return this==t||t instanceof Ze&&this.tagName==t.tagName&&ye(thi... method range (line 1) | range(t,e=t){if(t>=e)throw new RangeError("Mark decorations may not be... class Xe (line 1) | class Xe extends Ce{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return ... method constructor (line 1) | constructor(t){super(-2e8,-2e8,null,t)} method eq (line 1) | eq(t){return t instanceof Xe&&this.spec.class==t.spec.class&&ye(this.s... method range (line 1) | range(t,e=t){if(e!=t)throw new RangeError("Line decoration ranges must... class Ae (line 1) | class Ae extends Ce{constructor(t,e,i,n,r,s){super(e,i,r,t),this.block=n... method constructor (line 1) | constructor(t,e,i,n,r,s){super(e,i,r,t),this.block=n,this.isReplace=s,... method type (line 1) | get type(){return this.startSide!=this.endSide?Te.WidgetRange:this.sta... method heightRelevant (line 1) | get heightRelevant(){return this.block||!!this.widget&&(this.widget.es... method eq (line 1) | eq(t){return t instanceof Ae&&(e=this.widget,i=t.widget,e==i||!!(e&&i&... method range (line 1) | range(t,e=t){if(this.isReplace&&(t>e||t==e&&this.startSide>0&&this.end... function Me (line 1) | function Me(t,e=!1){let{inclusiveStart:i,inclusiveEnd:n}=t;return null==... function Re (line 1) | function Re(t,e,i,n=0){let r=i.length-1;r>=0&&i[r]+n>=t?i[r]=Math.max(i[... class ze (line 1) | class ze extends Xt{constructor(t,e){super(),this.tagName=t,this.attribu... method constructor (line 1) | constructor(t,e){super(),this.tagName=t,this.attributes=e} method eq (line 1) | eq(t){return t==this||t instanceof ze&&this.tagName==t.tagName&&ye(thi... method create (line 1) | static create(t){return new ze(t.tagName,t.attributes||Se)} method set (line 1) | static set(t,e=!1){return _t.of(t,e)} function _e (line 1) | function _e(t){let e;return e=11==t.nodeType?t.getSelection?t:t.ownerDoc... function Ee (line 1) | function Ee(t,e){return!!e&&(t==e||t.contains(1!=e.nodeType?e.parentNode... function Ye (line 1) | function Ye(t,e){if(!e.anchorNode)return!1;try{return Ee(t,e.anchorNode)... function Le (line 1) | function Le(t){return 3==t.nodeType?Ke(t,0,t.nodeValue.length).getClient... function qe (line 1) | function qe(t,e,i,n){return!!i&&(De(t,e,i,n,-1)||De(t,e,i,n,1))} function Ve (line 1) | function Ve(t){for(var e=0;;e++)if(!(t=t.previousSibling))return e} function We (line 1) | function We(t){return 1==t.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|... function De (line 1) | function De(t,e,i,n,r){for(;;){if(t==i&&e==n)return!0;if(e==(r<0?0:Be(t)... function Be (line 1) | function Be(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length} function je (line 1) | function je(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,... function Ie (line 1) | function Ie(t){let e=t.visualViewport;return e?{left:0,right:e.width,top... function Ge (line 1) | function Ge(t,e){let i=e.width/t.offsetWidth,n=e.height/t.offsetHeight;r... class Ne (line 1) | class Ne{constructor(){this.anchorNode=null,this.anchorOffset=0,this.foc... method constructor (line 1) | constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=... method eq (line 1) | eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.ancho... method setRange (line 1) | setRange(t){let{anchorNode:e,focusNode:i}=t;this.set(e,Math.min(t.anch... method set (line 1) | set(t,e,i,n){this.anchorNode=t,this.anchorOffset=e,this.focusNode=i,th... function Fe (line 1) | function Fe(t){if(t.setActive)return t.setActive();if(He)return t.focus(... function Ke (line 1) | function Ke(t,e,i=e){let n=Ue||(Ue=document.createRange());return n.setE... function Je (line 1) | function Je(t,e,i,n){let r={key:e,code:e,keyCode:i,which:i,cancelable:!0... function ti (line 1) | function ti(t){return t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeig... function ei (line 1) | function ei(t,e){for(let i=t,n=e;;){if(3==i.nodeType&&n>0)return{node:i,... function ii (line 1) | function ii(t,e){for(let i=t,n=e;;){if(3==i.nodeType&&nnew t(e,i),e)} class Di (line 1) | class Di{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null... method constructor (line 1) | constructor(t){this.spec=t,this.mustUpdate=null,this.value=null} method plugin (line 1) | get plugin(){return this.spec&&this.spec.plugin} method update (line 1) | update(t){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(... method destroy (line 1) | destroy(t){var e;if(null===(e=this.value)||void 0===e?void 0:e.destroy... method deactivate (line 1) | deactivate(){this.spec=this.value=null} function Fi (line 1) | function Fi(t,e){let i=t.state.facet(Hi);if(!i.length)return i;let n=i.m... function Ji (line 1) | function Ji(t){let e=0,i=0,n=0,r=0;for(let s of t.state.facet(Ki)){let o... class en (line 1) | class en{constructor(t,e,i,n){this.fromA=t,this.toA=e,this.fromB=i,this.... method constructor (line 1) | constructor(t,e,i,n){this.fromA=t,this.toA=e,this.fromB=i,this.toB=n} method join (line 1) | join(t){return new en(Math.min(this.fromA,t.fromA),Math.max(this.toA,t... method addToSet (line 1) | addToSet(t){let e=t.length,i=this;for(;e>0;e--){let n=t[e-1];if(!(n.fr... method extendWithRanges (line 1) | static extendWithRanges(t,e){if(0==e.length)return t;let i=[];for(let ... class nn (line 1) | class nn{constructor(t,e,i){this.view=t,this.state=e,this.transactions=i... method constructor (line 1) | constructor(t,e,i){this.view=t,this.state=e,this.transactions=i,this.f... method create (line 1) | static create(t,e,i){return new nn(t,e,i)} method viewportChanged (line 1) | get viewportChanged(){return(4&this.flags)>0} method viewportMoved (line 1) | get viewportMoved(){return(8&this.flags)>0} method heightChanged (line 1) | get heightChanged(){return(2&this.flags)>0} method geometryChanged (line 1) | get geometryChanged(){return this.docChanged||(18&this.flags)>0} method focusChanged (line 1) | get focusChanged(){return(1&this.flags)>0} method docChanged (line 1) | get docChanged(){return!this.changes.empty} method selectionSet (line 1) | get selectionSet(){return this.transactions.some(t=>t.selection)} method empty (line 1) | get empty(){return 0==this.flags&&0==this.transactions.length} class sn (line 1) | class sn{constructor(t,e,i=0){this.dom=t,this.length=e,this.flags=i,this... method constructor (line 1) | constructor(t,e,i=0){this.dom=t,this.length=e,this.flags=i,this.parent... method breakAfter (line 1) | get breakAfter(){return 1&this.flags} method children (line 1) | get children(){return rn} method isWidget (line 1) | isWidget(){return!1} method isHidden (line 1) | get isHidden(){return!1} method isComposite (line 1) | isComposite(){return!1} method isLine (line 1) | isLine(){return!1} method isText (line 1) | isText(){return!1} method isBlock (line 1) | isBlock(){return!1} method domAttrs (line 1) | get domAttrs(){return null} method sync (line 1) | sync(t){if(this.flags|=2,4&this.flags){this.flags&=-5;let t=this.domAt... method toString (line 1) | toString(){return this.constructor.name+(this.children.length?`(${this... method destroy (line 1) | destroy(){this.parent=null} method setDOM (line 1) | setDOM(t){this.dom=t,t.cmTile=this} method posAtStart (line 1) | get posAtStart(){return this.parent?this.parent.posBefore(this):0} method posAtEnd (line 1) | get posAtEnd(){return this.posAtStart+this.length} method posBefore (line 1) | posBefore(t,e=this.posAtStart){let i=e;for(let n of this.children){if(... method posAfter (line 1) | posAfter(t){return this.posBefore(t)+t.length} method covers (line 1) | covers(t){return!0} method coordsIn (line 1) | coordsIn(t,e){return null} method domPosFor (line 1) | domPosFor(t,e){let i=Ve(this.dom),n=this.length?t>0:e>0;return new ni(... method markDirty (line 1) | markDirty(t){this.flags&=-3,t&&(this.flags|=4),this.parent&&2&this.par... method overrideDOMText (line 1) | get overrideDOMText(){return null} method root (line 1) | get root(){for(let t=this;t;t=t.parent)if(t instanceof ln)return t;ret... method get (line 1) | static get(t){return t.cmTile} class on (line 1) | class on extends sn{constructor(t){super(t,0),this._children=[]}isCompos... method constructor (line 1) | constructor(t){super(t,0),this._children=[]} method isComposite (line 1) | isComposite(){return!0} method children (line 1) | get children(){return this._children} method lastChild (line 1) | get lastChild(){return this.children.length?this.children[this.childre... method append (line 1) | append(t){this.children.push(t),t.parent=this} method sync (line 1) | sync(t){if(2&this.flags)return;super.sync(t);let e,i=this.dom,n=null,r... function an (line 1) | function an(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e} class ln (line 1) | class ln extends on{constructor(t,e){super(e),this.view=t}owns(t){for(;t... method constructor (line 1) | constructor(t,e){super(e),this.view=t} method owns (line 1) | owns(t){for(;t;t=t.parent)if(t==this)return!0;return!1} method isBlock (line 1) | isBlock(){return!0} method nearest (line 1) | nearest(t){for(;;){if(!t)return null;let e=sn.get(t);if(e&&this.owns(e... method blockTiles (line 1) | blockTiles(t){for(let e=[],i=this,n=0,r=0;;)if(n==i.children.length){i... method resolveBlock (line 1) | resolveBlock(t,e){let i,n,r=-1,s=-1;if(this.blockTiles((o,a)=>{let l=a... class hn (line 1) | class hn extends on{constructor(t,e){super(t),this.wrapper=e}isBlock(){r... method constructor (line 1) | constructor(t,e){super(t),this.wrapper=e} method isBlock (line 1) | isBlock(){return!0} method covers (line 1) | covers(t){return!!this.children.length&&(t<0?this.children[0].covers(-... method domAttrs (line 1) | get domAttrs(){return this.wrapper.attributes} method of (line 1) | static of(t,e){let i=new hn(e||document.createElement(t.tagName),t);re... class cn (line 1) | class cn extends on{constructor(t,e){super(t),this.attrs=e}isLine(){retu... method constructor (line 1) | constructor(t,e){super(t),this.attrs=e} method isLine (line 1) | isLine(){return!0} method start (line 1) | static start(t,e,i){let n=new cn(e||document.createElement("div"),t);r... method domAttrs (line 1) | get domAttrs(){return this.attrs} method resolveInline (line 1) | resolveInline(t,e,i){let n=null,r=-1,s=null,o=-1;!function t(a,l){for(... method coordsIn (line 1) | coordsIn(t,e){let i=this.resolveInline(t,e,!0);return i?i.tile.coordsI... method domIn (line 1) | domIn(t,e){let i=this.resolveInline(t,e);if(i){let{tile:t,offset:n}=i;... function un (line 1) | function un(t,e){let i=t.coordsIn(0,1),n=e.coordsIn(0,1);return i&&n&&n.... class dn (line 1) | class dn extends on{constructor(t,e){super(t),this.mark=e}get domAttrs()... method constructor (line 1) | constructor(t,e){super(t),this.mark=e} method domAttrs (line 1) | get domAttrs(){return this.mark.attrs} method of (line 1) | static of(t,e){let i=new dn(e||document.createElement(t.tagName),t);re... class fn (line 1) | class fn extends sn{constructor(t,e){super(t,e.length),this.text=e}sync(... method constructor (line 1) | constructor(t,e){super(t,e.length),this.text=e} method sync (line 1) | sync(t){2&this.flags||(super.sync(t),this.dom.nodeValue!=this.text&&(t... method isText (line 1) | isText(){return!0} method toString (line 1) | toString(){return JSON.stringify(this.text)} method coordsIn (line 1) | coordsIn(t,e){let i=this.dom.nodeValue.length;t>i&&(t=i);let n=t,r=t,s... method of (line 1) | static of(t,e){let i=new fn(e||document.createTextNode(t),t);return e|... class On (line 1) | class On extends sn{constructor(t,e,i,n){super(t,e,n),this.widget=i}isWi... method constructor (line 1) | constructor(t,e,i,n){super(t,e,n),this.widget=i} method isWidget (line 1) | isWidget(){return!0} method isHidden (line 1) | get isHidden(){return this.widget.isHidden} method covers (line 1) | covers(t){return!(48&this.flags)&&(this.flags&(t<0?64:128))>0} method coordsIn (line 1) | coordsIn(t,e){return this.coordsInWidget(t,e,!1)} method coordsInWidget (line 1) | coordsInWidget(t,e,i){let n=this.widget.coordsAt(this.dom,t,e);if(n)re... method overrideDOMText (line 1) | get overrideDOMText(){if(!this.length)return f.empty;let{root:t}=this;... method destroy (line 1) | destroy(){super.destroy(),this.widget.destroy(this.dom)} method of (line 1) | static of(t,e,i,n,r){return r||(r=t.toDOM(e),t.editable||(r.contentEdi... class pn (line 1) | class pn extends sn{constructor(t){let e=document.createElement("img");e... method constructor (line 1) | constructor(t){let e=document.createElement("img");e.className="cm-wid... method isHidden (line 1) | get isHidden(){return!0} method overrideDOMText (line 1) | get overrideDOMText(){return f.empty} method coordsIn (line 1) | coordsIn(t){return this.dom.getBoundingClientRect()} class mn (line 1) | class mn{constructor(t){this.index=0,this.beforeBreak=!1,this.parents=[]... method constructor (line 1) | constructor(t){this.index=0,this.beforeBreak=!1,this.parents=[],this.t... method advance (line 1) | advance(t,e,i){let{tile:n,index:r,beforeBreak:s,parents:o}=this;for(;t... method root (line 1) | get root(){return this.parents.length?this.parents[0].tile:this.tile} class gn (line 1) | class gn{constructor(t,e,i,n){this.from=t,this.to=e,this.wrapper=i,this.... method constructor (line 1) | constructor(t,e,i,n){this.from=t,this.to=e,this.wrapper=i,this.rank=n} class Qn (line 1) | class Qn{constructor(t,e,i){this.cache=t,this.root=e,this.blockWrappers=... method constructor (line 1) | constructor(t,e,i){this.cache=t,this.root=e,this.blockWrappers=i,this.... method addText (line 1) | addText(t,e,i,n){var r;this.flushBuffer();let s=this.ensureMarks(e,i),... method addComposition (line 1) | addComposition(t,e){let i=this.curLine;i.dom!=e.line.dom&&(i.setDOM(th... method addInlineWidget (line 1) | addInlineWidget(t,e,i){let n=this.afterWidget&&48&t.flags&&(48&this.af... method addMark (line 1) | addMark(t,e,i){this.flushBuffer(),this.ensureMarks(e,i).append(t),this... method addBlockWidget (line 1) | addBlockWidget(t){this.getBlockPos().append(t),this.pos+=t.length,this... method continueWidget (line 1) | continueWidget(t){(this.afterWidget||this.lastBlock).length+=t,this.po... method addLineStart (line 1) | addLineStart(t,e){var i;t||(t=yn);let n=cn.start(t,e||(null===(i=this.... method addLine (line 1) | addLine(t){this.getBlockPos().append(t),this.pos+=t.length,this.lastBl... method addBreak (line 1) | addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++} method addLineStartIfNotCovered (line 1) | addLineStartIfNotCovered(t){this.blockPosCovered()||this.addLineStart(t)} method ensureLine (line 1) | ensureLine(t){this.curLine||this.addLineStart(t)} method ensureMarks (line 1) | ensureMarks(t,e){var i;let n=this.curLine;for(let r=t.length-1;r>=0;r-... method endLine (line 1) | endLine(){if(this.curLine){this.flushBuffer();let t=this.curLine.lastC... method updateBlockWrappers (line 1) | updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrapper... method getBlockPos (line 1) | getBlockPos(){var t;this.updateBlockWrappers();let e=this.root;for(let... method blockPosCovered (line 1) | blockPosCovered(){let t=this.lastBlock;return null!=t&&!t.breakAfter&&... method getBuffer (line 1) | getBuffer(t){let e=2|(t<0?16:32),i=this.cache.find(pn,void 0,1);return... method flushBuffer (line 1) | flushBuffer(){!this.afterWidget||32&this.afterWidget.flags||(this.afte... class bn (line 1) | class bn{constructor(t){this.skipCount=0,this.text="",this.textOff=0,thi... method constructor (line 1) | constructor(t){this.skipCount=0,this.text="",this.textOff=0,this.curso... method skip (line 1) | skip(t){this.textOff+t<=this.text.length?this.textOff+=t:(this.skipCou... method next (line 1) | next(t){if(this.textOff==this.text.length){let{value:e,lineBreak:i,don... class wn (line 1) | class wn{constructor(t){this.view=t,this.buckets=vn.map(()=>[]),this.ind... method constructor (line 1) | constructor(t){this.view=t,this.buckets=vn.map(()=>[]),this.index=vn.m... method add (line 1) | add(t){t.demo;let e=t.constructor.bucket,i=this.buckets[e];i.length<6?... method find (line 1) | find(t,e,i=2){let n=t.bucket,r=this.buckets[n],s=this.index[n];for(let... method findWidget (line 1) | findWidget(t,e,i){let n=this.buckets[0];if(t.demo,n.length)for(let r=0... method reuse (line 1) | reuse(t){return this.reused.set(t,1),t} method maybeReuse (line 1) | maybeReuse(t,e=2){if(!this.reused.has(t))return this.reused.set(t,e),t... method clear (line 1) | clear(){for(let t=0;t{for(let n of t.children)if((e?n.isText():n.le... function kn (line 1) | function kn(t){let e=sn.get(t);return e&&e.setDOM(t.cloneNode()),t} class $n (line 1) | class $n extends Pe{constructor(t){super(),this.tag=t}eq(t){return t.tag... method constructor (line 1) | constructor(t){super(),this.tag=t} method eq (line 1) | eq(t){return t.tag==this.tag} method toDOM (line 1) | toDOM(){return document.createElement(this.tag)} method updateDOM (line 1) | updateDOM(t){return t.nodeName.toLowerCase()==this.tag} method isHidden (line 1) | get isHidden(){return!0} method toDOM (line 1) | toDOM(){return document.createElement("br")} method isHidden (line 1) | get isHidden(){return!0} method editable (line 1) | get editable(){return!0} class Tn (line 1) | class Tn{constructor(t){this.view=t,this.decorations=[],this.blockWrappe... method constructor (line 1) | constructor(t){this.view=t,this.decorations=[],this.blockWrappers=[],t... method update (line 1) | update(t){var e;let i=t.changedRanges;this.minWidth>0&&i.length&&(i.ev... method updateInner (line 1) | updateInner(t,e){this.view.viewState.mustMeasureContent=!0;let{observe... method updateEditContextFormatting (line 1) | updateEditContextFormatting(t){this.editContextFormatting=this.editCon... method updateSelection (line 1) | updateSelection(t=!1,e=!1){!t&&this.view.observer.selectionRange.focus... method suppressWidgetCursorChange (line 1) | suppressWidgetCursorChange(t,e){return this.hasComposition&&e.empty&&q... method enforceCursorAssoc (line 1) | enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}=this,e=... method posFromDOM (line 1) | posFromDOM(t,e){let i=this.tile.nearest(t);if(!i)return 2&this.tile.do... method domAtPos (line 1) | domAtPos(t,e){let{tile:i,offset:n}=this.tile.resolveBlock(t,e);return ... method inlineDOMNearPos (line 1) | inlineDOMNearPos(t,e){let i,n,r=-1,s=!1,o=-1,a=!1;return this.tile.blo... method coordsAt (line 1) | coordsAt(t,e){let{tile:i,offset:n}=this.tile.resolveBlock(t,e);return ... method lineAt (line 1) | lineAt(t,e){let{tile:i}=this.tile.resolveBlock(t,e);return i.isLine()?... method coordsForChar (line 1) | coordsForChar(t){let{tile:e,offset:i}=this.tile.resolveBlock(t,1);if(!... method measureVisibleLineHeights (line 1) | measureVisibleLineHeights(t){let e=[],{from:i,to:n}=t,r=this.view.cont... method textDirectionAt (line 1) | textDirectionAt(t){let{tile:e}=this.tile.resolveBlock(t,1);return"rtl"... method measureTextSize (line 1) | measureTextSize(){let t=this.tile.blockTiles(t=>{if(t.isLine()&&t.chil... method computeBlockGapDeco (line 1) | computeBlockGapDeco(){let t=[],e=this.view.viewState;for(let i=0,n=0;;... method updateDeco (line 1) | updateDeco(){let t=1,e=this.view.state.facet(Ii).map(e=>(this.dynamicD... method scrollIntoView (line 1) | scrollIntoView(t){if(t.isSnapshot){let e=this.view.viewState.lineBlock... method lineHasWidget (line 1) | lineHasWidget(t){let e=t=>t.isWidget()||t.children.some(e);return e(th... method destroy (line 1) | destroy(){Cn(this.tile)} function Cn (line 1) | function Cn(t,e){let i=null==e?void 0:e.get(t);if(1!=i){null==i&&t.destr... function Zn (line 1) | function Zn(t,e){let i=t.observer.selectionRange;if(!i.focusNode)return ... method constructor (line 1) | constructor(){this.changes=[]} method compareRange (line 1) | compareRange(t,e){Re(t,e,this.changes)} method comparePoint (line 1) | comparePoint(t,e){Re(t,e,this.changes)} method boundChange (line 1) | boundChange(t){Re(t,t,this.changes)} class An (line 1) | class An{constructor(){this.changes=[]}compareRange(t,e){Re(t,e,this.cha... method constructor (line 1) | constructor(){this.changes=[]} method compareRange (line 1) | compareRange(t,e){Re(t,e,this.changes)} method comparePoint (line 1) | comparePoint(){} method boundChange (line 1) | boundChange(t){Re(t,t,this.changes)} class Mn (line 1) | class Mn extends Pe{constructor(t){super(),this.height=t}toDOM(){let t=d... method constructor (line 1) | constructor(t){super(),this.height=t} method toDOM (line 1) | toDOM(){let t=document.createElement("div");return t.className="cm-gap... method eq (line 1) | eq(t){return t.height==this.height} method updateDOM (line 1) | updateDOM(t){return t.style.height=this.height+"px",!0} method editable (line 1) | get editable(){return!0} method estimatedHeight (line 1) | get estimatedHeight(){return this.height} method ignoreEvent (line 1) | ignoreEvent(){return!1} function Rn (line 1) | function Rn(t,e,i){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){let ... function zn (line 1) | function zn(t,e,i,n){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o... function _n (line 1) | function _n(t,e,i){for(;;){let n=0;for(let r of t)r.between(e-1,e+1,(t,r... function En (line 1) | function En(t,e){let i=null;for(let n=0;ne(t)),i.from,e.head... class Ln (line 1) | class Ln{constructor(t,e){this.pos=t,this.assoc=e}} method constructor (line 1) | constructor(t,e){this.pos=t,this.assoc=e} function qn (line 1) | function qn(t,e,i,n){let r,s=t.contentDOM.getBoundingClientRect(),o=s.to... function Vn (line 1) | function Vn(t,e,i,n,r){let s=-1,o=null,a=1e9,l=1e9,h=r,c=r,u=(t,e)=>{for... function Wn (line 1) | function Wn(t,e){let i=t.state.doc.lineAt(e);return t.bidiSpans(i)[Oi.fi... class Bn (line 1) | class Bn{constructor(t,e){this.points=t,this.view=e,this.text="",this.li... method constructor (line 1) | constructor(t,e){this.points=t,this.view=e,this.text="",this.lineSepar... method append (line 1) | append(t){this.text+=t} method lineBreak (line 1) | lineBreak(){this.text+=Dn} method readRange (line 1) | readRange(t,e){if(!t)return this;let i=t.parentNode;for(let n=t;;){thi... method readTextNode (line 1) | readTextNode(t){let e=t.nodeValue;for(let i of this.points)i.node==t&&... method readNode (line 1) | readNode(t){let e=sn.get(t),i=e&&e.overrideDOMText;if(null!=i){this.fi... method findPointBefore (line 1) | findPointBefore(t,e){for(let i of this.points)i.node==t&&t.childNodes[... method findPointInside (line 1) | findPointInside(t,e){for(let i of this.points)(3==t.nodeType?i.node==t... function jn (line 1) | function jn(t,e,i){for(;;){if(!e||i{try{return e.call(t,n,i)}catch(r){Yi(i.st... function rr (line 1) | function rr(t){return.7*Math.max(0,t)+8} class sr (line 1) | class sr{constructor(t,e,i,n){this.view=t,this.startEvent=e,this.style=i... method constructor (line 1) | constructor(t,e,i,n){this.view=t,this.startEvent=e,this.style=i,this.m... method start (line 1) | start(t){!1===this.dragging&&this.select(t)} method move (line 1) | move(t){if(0==t.buttons)return this.destroy();if(this.dragging||null==... method up (line 1) | up(t){null==this.dragging&&this.select(this.lastEvent),this.dragging||... method destroy (line 1) | destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDoc... method setScrollSpeed (line 1) | setScrollSpeed(t,e){this.scrollSpeed={x:t,y:e},t||e?this.scrolling<0&&... method scroll (line 1) | scroll(){let{x:t,y:e}=this.scrollSpeed;t&&this.scrollParents.x&&(this.... method select (line 1) | select(t){let{view:e}=this,i=En(this.atoms,this.style.get(t,this.exten... method update (line 1) | update(t){t.transactions.some(t=>t.isUserEvent("input.type"))?this.des... function hr (line 1) | function hr(t,e,i){for(let n of t.facet(e))i=n(i,t);return i} function cr (line 1) | function cr(t,e){e=hr(t.state,Zi,e);let i,{state:n}=t,r=1,s=n.toText(e),... function ur (line 1) | function ur(t,e,i,n){if(1==n)return Y.cursor(e,i);if(2==n)return functio... method update (line 1) | update(t){t.docChanged&&(i.pos=t.changes.mapPos(i.pos),r=r.map(t.changes))} method get (line 1) | get(e,s,o){let a,l=t.posAndSideAtCoords({x:e.clientX,y:e.clientY},!1),h=... function mr (line 1) | function mr(t){if(!dr)return t.detail;let e=fr,i=pr;return fr=t,pr=Date.... function gr (line 1) | function gr(t,e,i,n){if(!(i=hr(t.state,Zi,i)))return;let r=t.posAtCoords... function vr (line 1) | function vr(t,e){let i=[];for(let n of t.facet(Ci)){let r=n(t,e);r&&i.pu... function wr (line 1) | function wr(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notif... function kr (line 1) | function kr(){yr=!1} class $r (line 1) | class $r{constructor(t){this.lineWrapping=t,this.doc=f.empty,this.height... method constructor (line 1) | constructor(t){this.lineWrapping=t,this.doc=f.empty,this.heightSamples... method heightForGap (line 1) | heightForGap(t,e){let i=this.doc.lineAt(e).number-this.doc.lineAt(t).n... method heightForLine (line 1) | heightForLine(t){if(!this.lineWrapping)return this.lineHeight;return(1... method setDoc (line 1) | setDoc(t){return this.doc=t,this} method mustRefreshForWrapping (line 1) | mustRefreshForWrapping(t){return Sr.indexOf(t)>-1!=this.lineWrapping} method mustRefreshForHeights (line 1) | mustRefreshForHeights(t){let e=!1;for(let i=0;i-1,a=Math.round(e)!=Math.roun... class Pr (line 1) | class Pr{constructor(t,e){this.from=t,this.heights=e,this.index=0}get mo... method constructor (line 1) | constructor(t,e){this.from=t,this.heights=e,this.index=0} method more (line 1) | get more(){return this.index0} method outdated (line 1) | set outdated(t){this.flags=(t?2:0)|-3&this.flags} method setHeight (line 1) | setHeight(t){this.height!=t&&(Math.abs(this.height-t)>Zr&&(yr=!0),this... method replace (line 1) | replace(t,e,i){return Xr.of(i)} method decomposeLeft (line 1) | decomposeLeft(t,e){e.push(this)} method decomposeRight (line 1) | decomposeRight(t,e){e.push(this)} method applyChanges (line 1) | applyChanges(t,e,i,n){let r=this,s=i.doc;for(let o=n.length-1;o>=0;o--... method empty (line 1) | static empty(){return new zr(0,0,0)} method of (line 1) | static of(t){if(1==t.length)return t[0];let e=0,i=t.length,n=0,r=0;for... function Ar (line 1) | function Ar(t,e){return t==e?t:(t.constructor!=e.constructor&&(yr=!0),e)} class Rr (line 1) | class Rr extends Xr{constructor(t,e,i){super(t,e),this.deco=i,this.space... method constructor (line 1) | constructor(t,e,i){super(t,e),this.deco=i,this.spaceAbove=0} method mainBlock (line 1) | mainBlock(t,e){return new Tr(e,this.length,t+this.spaceAbove,this.heig... method blockAt (line 1) | blockAt(t,e,i,n){return this.spaceAbove&&t=r&&s(this.lineAt(0,Cr.By... method setMeasuredHeight (line 1) | setMeasuredHeight(t){let e=t.heights[t.index++];e<0?(this.spaceAbove=-... method updateHeight (line 1) | updateHeight(t,e=0,i=!1,n){return n&&n.from<=e&&n.more&&this.setMeasur... method toString (line 1) | toString(){return`block(${this.length})`} class zr (line 1) | class zr extends Rr{constructor(t,e,i){super(t,e,null),this.collapsed=0,... method constructor (line 1) | constructor(t,e,i){super(t,e,null),this.collapsed=0,this.widgetHeight=... method mainBlock (line 1) | mainBlock(t,e){return new Tr(e,this.length,t+this.spaceAbove,this.heig... method replace (line 1) | replace(t,e,i){let n=i[0];return 1==i.length&&(n instanceof zr||n inst... method updateHeight (line 1) | updateHeight(t,e=0,i=!1,n){return n&&n.from<=e&&n.more?this.setMeasure... method toString (line 1) | toString(){return`line(${this.length}${this.collapsed?-this.collapsed:... class _r (line 1) | class _r extends Xr{constructor(t){super(t,0)}heightMetrics(t,e){let i,n... method constructor (line 1) | constructor(t){super(t,0)} method heightMetrics (line 1) | heightMetrics(t,e){let i,n=t.doc.lineAt(e).number,r=t.doc.lineAt(e+thi... method blockAt (line 1) | blockAt(t,e,i,n){let{firstLine:r,lastLine:s,perLine:o,perChar:a}=this.... method lineAt (line 1) | lineAt(t,e,i,n,r){if(e==Cr.ByHeight)return this.blockAt(t,i,n,r);if(e=... method forEachLine (line 1) | forEachLine(t,e,i,n,r,s){t=Math.max(t,r),e=Math.min(e,r+this.length);l... method replace (line 1) | replace(t,e,i){let n=this.length-e;if(n>0){let t=i[i.length-1];t insta... method decomposeLeft (line 1) | decomposeLeft(t,e){e.push(new _r(t-1),null)} method decomposeRight (line 1) | decomposeRight(t,e){e.push(null,new _r(this.length-t-1))} method updateHeight (line 1) | updateHeight(t,e=0,i=!1,n){let r=e+this.length;if(n&&n.from<=e+this.le... method toString (line 1) | toString(){return`gap(${this.length})`} class Er (line 1) | class Er extends Xr{constructor(t,e,i){super(t.length+e+i.length,t.heigh... method constructor (line 1) | constructor(t,e,i){super(t.length+e+i.length,t.height+i.height,e|(t.ou... method break (line 1) | get break(){return 1&this.flags} method blockAt (line 1) | blockAt(t,e,i,n){let r=i+this.left.height;return t=n)retu... method balanced (line 1) | balanced(t,e){return t.size>2*e.size||e.size>2*t.size?Xr.of(this.break... method updateHeight (line 1) | updateHeight(t,e=0,i=!1,n){let{left:r,right:s}=this,o=e+r.length+this.... method toString (line 1) | toString(){return this.left+(this.break?" ":"-")+this.right} function Yr (line 1) | function Yr(t,e){let i,n;null==t[e]&&(i=t[e-1])instanceof _r&&(n=t[e+1])... class Lr (line 1) | class Lr{constructor(t,e){this.pos=t,this.oracle=e,this.nodes=[],this.li... method constructor (line 1) | constructor(t,e){this.pos=t,this.oracle=e,this.nodes=[],this.lineStart... method isCovered (line 1) | get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]=... method span (line 1) | span(t,e){if(this.lineStart>-1){let t=Math.min(e,this.lineEnd),i=this.... method point (line 1) | point(t,e,i){if(t-1)return;let{from:t,to:e}=this.oracle.d... method blankContent (line 1) | blankContent(t,e){let i=new _r(e-t);return this.oracle.doc.lineAt(t).t... method ensureLine (line 1) | ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.... method addBlock (line 1) | addBlock(t){this.enterLine();let e=t.deco;e&&e.startSide>0&&!this.isCo... method addLineDeco (line 1) | addLineDeco(t,e,i){let n=this.ensureLine();n.length+=i,n.collapsed+=i,... method finish (line 1) | finish(t){let e=0==this.nodes.length?null:this.nodes[this.nodes.length... method build (line 1) | static build(t,e,i,n){let r=new Lr(i,t);return _t.spans(e,i,n,r,0),r.f... class qr (line 1) | class qr{constructor(){this.changes=[]}compareRange(){}comparePoint(t,e,... method constructor (line 1) | constructor(){this.changes=[]} method compareRange (line 1) | compareRange(){} method comparePoint (line 1) | comparePoint(t,e,i,n){(t=this.viewport.from&&t<=this.viewport.to&&this... method lineBlockAtHeight (line 1) | lineBlockAtHeight(t){return t>=this.viewportLines[0].top&&t<=this.view... method scrollAnchorAt (line 1) | scrollAnchorAt(t){let e=this.lineBlockAtHeight(t+8);return e.from>=thi... method elementAtHeight (line 1) | elementAtHeight(t){return Kr(this.heightMap.blockAt(this.scaler.fromDO... method docHeight (line 1) | get docHeight(){return this.scaler.toDOM(this.heightMap.height)} method contentHeight (line 1) | get contentHeight(){return this.docHeight+this.paddingTop+this.padding... class Ir (line 1) | class Ir{constructor(t,e){this.from=t,this.to=e}} method constructor (line 1) | constructor(t,e){this.from=t,this.to=e} function Gr (line 1) | function Gr({total:t,ranges:e},i){if(i<=0)return e[0].from;if(i>=1)retur... function Nr (line 1) | function Nr(t,e){let i=0;for(let{from:n,to:r}of t.ranges){if(e<=r){i+=e-... method eq (line 1) | eq(t){return t==this} function Hr (line 1) | function Hr(t){let e=t.facet(Ii).filter(t=>"function"!=typeof t),i=t.fac... class Fr (line 1) | class Fr{constructor(t,e,i){let n=0,r=0,s=0;this.viewports=i.map(({from:... method constructor (line 1) | constructor(t,e,i){let n=0,r=0,s=0;this.viewports=i.map(({from:i,to:r}... method toDOM (line 1) | toDOM(t){for(let e=0,i=0,n=0;;e++){let r=e/&/.test(e)?e.replace(/&\w... class hs (line 1) | class hs{constructor(t){this.view=t,this.active=!1,this.editContext=null... method constructor (line 1) | constructor(t){this.view=t,this.active=!1,this.editContext=null,this.s... method onScrollChanged (line 1) | onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.i... method onScroll (line 1) | onScroll(t){this.intersecting&&this.flush(!1),this.editContext&&this.v... method onResize (line 1) | onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{t... method onPrint (line 1) | onPrint(t){("change"!=t.type&&t.type||t.matches)&&(this.view.viewState... method updateGaps (line 1) | updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||th... method onSelectionChange (line 1) | onSelectionChange(t){let e=this.selectionChanged;if(!this.readSelectio... method readSelectionRange (line 1) | readSelectionRange(){let{view:t}=this,e=_e(t.root);if(!e)return!1;let ... method setSelectionRange (line 1) | setSelectionRange(t,e){this.selectionRange.set(t.node,t.offset,e.node,... method clearSelectionRange (line 1) | clearSelectionRange(){this.selectionRange.set(null,0,null,0)} method listenForScroll (line 1) | listenForScroll(){this.parentCheck=-1;let t=0,e=null;for(let i=this.do... method ignore (line 1) | ignore(t){if(!this.active)return t();try{return this.stop(),t()}finall... method start (line 1) | start(){this.active||(this.observer.observe(this.dom,as),ls&&this.dom.... method stop (line 1) | stop(){this.active&&(this.active=!1,this.observer.disconnect(),ls&&thi... method clear (line 1) | clear(){this.processRecords(),this.queue.length=0,this.selectionChange... method delayAndroidKey (line 1) | delayAndroidKey(t,e){var i;if(!this.delayedAndroidKey){let t=()=>{let ... method clearDelayedAndroidKey (line 1) | clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAn... method flushSoon (line 1) | flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requ... method forceFlush (line 1) | forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame... method pendingRecords (line 1) | pendingRecords(){for(let t of this.observer.takeRecords())this.queue.p... method processRecords (line 1) | processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[])... method readChange (line 1) | readChange(){let{from:t,to:e,typeOver:i}=this.processRecords(),n=this.... method flush (line 1) | flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t... method readMutation (line 1) | readMutation(t){let e=this.view.docView.tile.nearest(t.target);if(!e||... method setWindow (line 1) | setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.w... method addWindowListeners (line 1) | addWindowListeners(t){t.addEventListener("resize",this.onResize),this.... method removeWindowListeners (line 1) | removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll)... method update (line 1) | update(t){this.editContext&&(this.editContext.update(t),t.startState.f... method destroy (line 1) | destroy(){var t,e,i;this.stop(),null===(t=this.intersection)||void 0==... function cs (line 1) | function cs(t,e,i){for(;e;){let n=sn.get(e);if(n&&n.parent==t)return n;l... function us (line 1) | function us(t,e){let i=e.startContainer,n=e.startOffset,r=e.endContainer... class ds (line 1) | class ds{constructor(t){this.from=0,this.to=0,this.pendingContextChange=... method constructor (line 1) | constructor(t){this.from=0,this.to=0,this.pendingContextChange=null,th... method applyEdits (line 1) | applyEdits(t){let e=0,i=!1,n=this.pendingContextChange;return t.change... method update (line 1) | update(t){let e=this.pendingContextChange,i=t.startState.selection.mai... method resetRange (line 1) | resetRange(t){let{head:e}=t.selection.main;this.from=Math.max(0,e-1e4)... method reset (line 1) | reset(t){this.resetRange(t),this.editContext.updateText(0,this.editCon... method revertPending (line 1) | revertPending(t){let e=this.pendingContextChange;this.pendingContextCh... method setSelection (line 1) | setSelection(t){let{main:e}=t.selection,i=this.toContextPos(Math.max(t... method rangeIsValid (line 1) | rangeIsValid(t){let{head:e}=t.selection.main;return!(this.from>0&&e-th... method toEditorPos (line 1) | toEditorPos(t,e=this.to-this.from){t=Math.min(t,e);let i=this.composin... method toContextPos (line 1) | toContextPos(t){let e=this.composing;return e&&e.drifted?e.contextBase... method destroy (line 1) | destroy(){for(let t in this.handlers)this.editContext.removeEventListe... class fs (line 1) | class fs{get state(){return this.viewState.state}get viewport(){return t... method state (line 1) | get state(){return this.viewState.state} method viewport (line 1) | get viewport(){return this.viewState.viewport} method visibleRanges (line 1) | get visibleRanges(){return this.viewState.visibleRanges} method inView (line 1) | get inView(){return this.viewState.inView} method composing (line 1) | get composing(){return!!this.inputState&&this.inputState.composing>0} method compositionStarted (line 1) | get compositionStarted(){return!!this.inputState&&this.inputState.comp... method root (line 1) | get root(){return this._root} method win (line 1) | get win(){return this.dom.ownerDocument.defaultView||window} method constructor (line 1) | constructor(t={}){var e;this.plugins=[],this.pluginMap=new Map,this.ed... method dispatch (line 1) | dispatch(...t){let e=1==t.length&&t[0]instanceof Qt?t:1==t.length&&Arr... method update (line 1) | update(t){if(0!=this.updateState)throw new Error("Calls to EditorView.... method setState (line 1) | setState(t){if(0!=this.updateState)throw new Error("Calls to EditorVie... method updatePlugins (line 1) | updatePlugins(t){let e=t.startState.facet(Vi),i=t.state.facet(Vi);if(e... method docViewUpdate (line 1) | docViewUpdate(){for(let e of this.plugins){let i=e.value;if(i&&i.docVi... method measure (line 1) | measure(t=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&th... method themeClasses (line 1) | get themeClasses(){return es+" "+(this.state.facet(ts)?ns:is)+" "+this... method updateAttrs (line 1) | updateAttrs(){let t=gs(this,Bi,{class:"cm-editor"+(this.hasFocus?" cm-... method showAnnouncements (line 1) | showAnnouncements(t){let e=!0;for(let i of t)for(let t of i.effects)if... method mountStyles (line 1) | mountStyles(){this.styleModules=this.state.facet(tn);let t=this.state.... method readMeasured (line 1) | readMeasured(){if(2==this.updateState)throw new Error("Reading the edi... method requestMeasure (line 1) | requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=t... method plugin (line 1) | plugin(t){let e=this.pluginMap.get(t);return(void 0===e||e&&e.plugin!=... method documentTop (line 1) | get documentTop(){return this.contentDOM.getBoundingClientRect().top+t... method documentPadding (line 1) | get documentPadding(){return{top:this.viewState.paddingTop,bottom:this... method scaleX (line 1) | get scaleX(){return this.viewState.scaleX} method scaleY (line 1) | get scaleY(){return this.viewState.scaleY} method elementAtHeight (line 1) | elementAtHeight(t){return this.readMeasured(),this.viewState.elementAt... method lineBlockAtHeight (line 1) | lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlo... method viewportLineBlocks (line 1) | get viewportLineBlocks(){return this.viewState.viewportLines} method lineBlockAt (line 1) | lineBlockAt(t){return this.viewState.lineBlockAt(t)} method contentHeight (line 1) | get contentHeight(){return this.viewState.contentHeight} method moveByChar (line 1) | moveByChar(t,e,i){return Yn(this,t,zn(this,t,e,i))} method moveByGroup (line 1) | moveByGroup(t,e){return Yn(this,t,zn(this,t,e,e=>function(t,e,i){let n... method visualLineSide (line 1) | visualLineSide(t,e){let i=this.bidiSpans(t),n=this.textDirectionAt(t.f... method moveToLineBoundary (line 1) | moveToLineBoundary(t,e,i=!0){return function(t,e,i,n){let r=Rn(t,e.hea... method moveVertically (line 1) | moveVertically(t,e,i){return Yn(this,t,function(t,e,i,n){let r=e.head,... method domAtPos (line 1) | domAtPos(t,e=1){return this.docView.domAtPos(t,e)} method posAtDOM (line 1) | posAtDOM(t,e=0){return this.docView.posFromDOM(t,e)} method posAtCoords (line 1) | posAtCoords(t,e=!0){this.readMeasured();let i=qn(this,t,e);return i&&i... method posAndSideAtCoords (line 1) | posAndSideAtCoords(t,e=!0){return this.readMeasured(),qn(this,t,e)} method coordsAtPos (line 1) | coordsAtPos(t,e=1){this.readMeasured();let i=this.docView.coordsAt(t,e... method coordsForChar (line 1) | coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar... method defaultCharacterWidth (line 1) | get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth} method defaultLineHeight (line 1) | get defaultLineHeight(){return this.viewState.heightOracle.lineHeight} method textDirection (line 1) | get textDirection(){return this.viewState.defaultTextDirection} method textDirectionAt (line 1) | textDirectionAt(t){return!this.state.facet(Ai)||tOs)return bi(t.length);let e,i=this.textDirec... method hasFocus (line 1) | get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||we.safa... method focus (line 1) | focus(){this.observer.ignore(()=>{Fe(this.contentDOM),this.docView.upd... method setRoot (line 1) | setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((9==t.... method destroy (line 1) | destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.bl... method scrollIntoView (line 1) | static scrollIntoView(t,e={}){return _i.of(new zi("number"==typeof t?Y... method scrollSnapshot (line 1) | scrollSnapshot(){let{scrollTop:t,scrollLeft:e}=this.scrollDOM,i=this.v... method setTabFocusMode (line 1) | setTabFocusMode(t){null==t?this.inputState.tabFocusMode=this.inputStat... method domEventHandlers (line 1) | static domEventHandlers(t){return Wi.define(()=>({}),{eventHandlers:t})} method domEventObservers (line 1) | static domEventObservers(t){return Wi.define(()=>({}),{eventObservers:... method theme (line 1) | static theme(t,e){let i=Jt.newName(),n=[Jr.of(i),tn.of(ss(`.${i}`,t))]... method baseTheme (line 1) | static baseTheme(t){return tt.lowest(tn.of(ss("."+es,t,rs)))} method findFromDOM (line 1) | static findFromDOM(t){var e;let i=t.querySelector(".cm-content"),n=i&&... class ms (line 1) | class ms{constructor(t,e,i,n,r,s){this.from=t,this.to=e,this.dir=i,this.... method constructor (line 1) | constructor(t,e,i,n,r,s){this.from=t,this.to=e,this.dir=i,this.isolate... method update (line 1) | static update(t,e){if(e.empty&&!t.some(t=>t.fresh))return t;let i=[],n... function gs (line 1) | function gs(t,e,i){for(let n=t.state.facet(e),r=n.length-1;r>=0;r--){let... function bs (line 1) | function bs(t,e,i){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t... function Ss (line 1) | function Ss(t){let e=t.facet(ws),i=xs.get(e);return i||xs.set(e,i=functi... function Ps (line 1) | function Ps(t,e,i,n){$s=e;let r=function(t){var e=!(re&&t.metaKey&&t.shi... class Ts (line 1) | class Ts{constructor(t,e,i,n,r){this.className=t,this.left=e,this.top=i,... method constructor (line 1) | constructor(t,e,i,n,r){this.className=t,this.left=e,this.top=i,this.wi... method draw (line 1) | draw(){let t=document.createElement("div");return t.className=this.cla... method update (line 1) | update(t,e){return e.className==this.className&&(this.adjust(t),!0)} method adjust (line 1) | adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",null!=... method eq (line 1) | eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&... method forRange (line 1) | static forRange(t,e,i){if(i.empty){let n=t.coordsAtPos(i.head,i.assoc|... function Cs (line 1) | function Cs(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.... function Zs (line 1) | function Zs(t,e,i,n){let r=t.coordsAtPos(e,2*i);if(!r)return n;let s=t.d... class Xs (line 1) | class Xs{constructor(t,e){this.view=t,this.layer=e,this.drawn=[],this.sc... method constructor (line 1) | constructor(t,e){this.view=t,this.layer=e,this.drawn=[],this.scaleX=1,... method update (line 1) | update(t){t.startState.facet(As)!=t.state.facet(As)&&this.setOrder(t.s... method docViewUpdate (line 1) | docViewUpdate(t){!1!==this.layer.updateOnDocViewUpdate&&t.requestMeasu... method setOrder (line 1) | setOrder(t){let e=0,i=t.facet(As);for(;e{return i=t,n=th... method destroy (line 1) | destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),t... function Ms (line 1) | function Ms(t){return[Wi.define(e=>new Xs(e,t)),As.of(t)]} function zs (line 1) | function zs(t){return t.startState.facet(Rs)!=t.state.facet(Rs)} method markers (line 1) | markers(t){let{state:e}=t,i=e.facet(Rs),n=[];for(let r of e.selection.ra... method update (line 1) | update(t,e){t.transactions.some(t=>t.selection)&&(e.style.animationName=... method mount (line 1) | mount(t,e){Es(e.state,t)} function Es (line 1) | function Es(t,e){e.style.animationDuration=t.facet(Rs).cursorBlinkRate+"... method constructor (line 1) | constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.r... method update (line 1) | update(t){var e;let i=t.state.field(Vs);null==i?null!=this.cursor&&(null... method readPos (line 1) | readPos(){let{view:t}=this,e=t.state.field(Vs),i=null!=e&&t.coordsAtPos(... method drawCursor (line 1) | drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:i}=this.view;t?(this.c... method destroy (line 1) | destroy(){this.cursor&&this.cursor.remove()} method setDropPos (line 1) | setDropPos(t){this.view.state.field(Vs)!=t&&this.view.dispatch({effects:... method dragover (line 1) | dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clien... method dragleave (line 1) | dragleave(t){t.target!=this.view.contentDOM&&this.view.contentDOM.contai... method dragend (line 1) | dragend(){this.setDropPos(null)} method drop (line 1) | drop(){this.setDropPos(null)} function Ds (line 1) | function Ds(t,e,i,n,r){e.lastIndex=0;for(let s,o=t.iterRange(i,n),a=i;!o... class Bs (line 1) | class Bs{constructor(t){const{regexp:e,decoration:i,decorate:n,boundary:... method constructor (line 1) | constructor(t){const{regexp:e,decoration:i,decorate:n,boundary:r,maxLe... method createDeco (line 1) | createDeco(t){let e=new Et,i=e.add.bind(e);for(let{from:n,to:r}of func... method updateDeco (line 1) | updateDeco(t,e){let i=1e9,n=-1;return t.docChanged&&t.changes.iterChan... method updateRange (line 1) | updateRange(t,e,i,n){for(let r of t.visibleRanges){let s=Math.max(r.fr... method combine (line 1) | combine(t){let e=Zt(t,{render:null,specialChars:Is,addSpecialChars:null}... class Fs (line 1) | class Fs extends Pe{constructor(t,e){super(),this.options=t,this.code=e}... method constructor (line 1) | constructor(t,e){super(),this.options=t,this.code=e} method eq (line 1) | eq(t){return t.code==this.code} method toDOM (line 1) | toDOM(t){let e=function(t){return t>=32?"•":10==t?"␤":String.fromCharC... method ignoreEvent (line 1) | ignoreEvent(){return!1} class Ks (line 1) | class Ks extends Pe{constructor(t){super(),this.width=t}eq(t){return t.w... method constructor (line 1) | constructor(t){super(),this.width=t} method eq (line 1) | eq(t){return t.width==this.width} method toDOM (line 1) | toDOM(){let t=document.createElement("span");return t.textContent="\t"... method ignoreEvent (line 1) | ignoreEvent(){return!1} method constructor (line 1) | constructor(t){this.decorations=this.getDeco(t)} method update (line 1) | update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco... method getDeco (line 1) | getDeco(t){let e=-1,i=[];for(let n of t.state.selection.ranges){let r=t.... class eo (line 1) | class eo extends Pe{constructor(t){super(),this.content=t}toDOM(t){let e... method constructor (line 1) | constructor(t){super(),this.content=t} method toDOM (line 1) | toDOM(t){let e=document.createElement("span");return e.className="cm-p... method coordsAt (line 1) | coordsAt(t){let e=t.firstChild?Le(t.firstChild):[];if(!e.length)return... method ignoreEvent (line 1) | ignoreEvent(){return!1} function io (line 1) | function io(t){let e=Wi.fromClass(class{constructor(e){this.view=e,this.... function ro (line 1) | function ro(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),n=t.s... function so (line 1) | function so(t,e){let i=ro(t,e),n=t.state.selection;return i?{update(t){i... class ho (line 1) | class ho{constructor(t,e,i,n){this.facet=e,this.createTooltipView=i,this... method constructor (line 1) | constructor(t,e,i,n){this.facet=e,this.createTooltipView=i,this.remove... method update (line 1) | update(t,e){var i;let n=t.state.facet(this.facet),r=n.filter(t=>t);if(... function co (line 1) | function co(t){let e=t.dom.ownerDocument.documentElement;return{top:0,le... method constructor (line 1) | constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolut... method createContainer (line 1) | createContainer(){this.parent?(this.container=document.createElement("di... method observeIntersection (line 1) | observeIntersection(){if(this.intersectionObserver){this.intersectionObs... method measureSoon (line 1) | measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=... method update (line 1) | update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e... method createTooltip (line 1) | createTooltip(t,e){let i=t.create(this.view),n=e?e.dom:null;if(i.dom.cla... method destroy (line 1) | destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.meas... method readMeasure (line 1) | readMeasure(){let t=1,e=1,i=!1;if("fixed"==this.position&&this.manager.t... method writeMeasure (line 1) | writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.posit... method maybeMeasure (line 1) | maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.... method scroll (line 1) | scroll(){this.maybeMeasure()} function po (line 1) | function po(t,e){let i=parseInt(t.style.left,10);(isNaN(i)||Math.abs(e-i... class vo (line 1) | class vo{static create(t){return new vo(t)}constructor(t){this.view=t,th... method create (line 1) | static create(t){return new vo(t)} method constructor (line 1) | constructor(t){this.view=t,this.mounted=!1,this.dom=document.createEle... method createHostedView (line 1) | createHostedView(t,e){let i=t.create(this.view);return i.dom.classList... method mount (line 1) | mount(t){for(let e of this.manager.tooltipViews)e.mount&&e.mount(t);th... method positioned (line 1) | positioned(t){for(let e of this.manager.tooltipViews)e.positioned&&e.p... method update (line 1) | update(t){this.manager.update(t)} method destroy (line 1) | destroy(){var t;for(let e of this.manager.tooltipViews)null===(t=e.des... method passProp (line 1) | passProp(t){let e;for(let i of this.manager.tooltipViews){let n=i[t];i... method offset (line 1) | get offset(){return this.passProp("offset")} method getCoords (line 1) | get getCoords(){return this.passProp("getCoords")} method overlap (line 1) | get overlap(){return this.passProp("overlap")} method resize (line 1) | get resize(){return this.passProp("resize")} class xo (line 1) | class xo{constructor(t,e,i,n,r){this.view=t,this.source=e,this.field=i,t... method constructor (line 1) | constructor(t,e,i,n,r){this.view=t,this.source=e,this.field=i,this.set... method update (line 1) | update(){this.pending&&(this.pending=null,clearTimeout(this.restartTim... method active (line 1) | get active(){return this.view.state.field(this.field)} method checkHover (line 1) | checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let t=D... method startHover (line 1) | startHover(){clearTimeout(this.restartTimeout);let{view:t,lastMove:e}=... method tooltip (line 1) | get tooltip(){let t=this.view.plugin(Oo),e=t?t.manager.tooltips.findIn... method mousemove (line 1) | mousemove(t){var e,i;this.lastMove={x:t.clientX,y:t.clientY,target:t.t... method mouseleave (line 1) | mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let... method watchTooltipLeave (line 1) | watchTooltipLeave(t){let e=i=>{t.removeEventListener("mouseleave",e),t... method destroy (line 1) | destroy(){clearTimeout(this.hoverTimeout),clearTimeout(this.restartTim... function yo (line 1) | function yo(t,e={}){let i=gt.define(),n=N.define({create:()=>[],update(t... function ko (line 1) | function ko(t,e){let i=t.plugin(Oo);if(!i)return null;let n=i.manager.to... method combine (line 1) | combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomConta... function To (line 1) | function To(t,e){let i=t.plugin(Co),n=i?i.specs.indexOf(e):-1;return n>-... method constructor (line 1) | constructor(t){this.input=t.state.facet(Ao),this.specs=this.input.filter... method update (line 1) | update(t){let e=t.state.facet(Po);this.top.container!=e.topContainer&&(t... method destroy (line 1) | destroy(){this.top.sync([]),this.bottom.sync([])} class Zo (line 1) | class Zo{constructor(t,e,i){this.view=t,this.top=e,this.container=i,this... method constructor (line 1) | constructor(t,e,i){this.view=t,this.top=e,this.container=i,this.dom=vo... method sync (line 1) | sync(t){for(let e of this.panels)e.destroy&&t.indexOf(e)<0&&e.destroy(... method syncDOM (line 1) | syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.rem... method scrollMargin (line 1) | scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?t... method syncClasses (line 1) | syncClasses(){if(this.container&&this.classes!=this.view.themeClasses)... function Xo (line 1) | function Xo(t){let e=t.nextSibling;return t.remove(),e} class Mo (line 1) | class Mo extends Xt{compare(t){return this==t||this.constructor==t.const... method compare (line 1) | compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)} method eq (line 1) | eq(t){return!1} method destroy (line 1) | destroy(t){} function Yo (line 1) | function Yo(t){return[qo(),Eo.of({..._o,...t})]} function qo (line 1) | function qo(t){return[Vo]} method constructor (line 1) | constructor(t){this.view=t,this.domAfter=null,this.prevViewport=t.viewpo... method getDOMAfter (line 1) | getDOMAfter(){return this.domAfter||(this.domAfter=document.createElemen... method update (line 1) | update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.vie... method syncGutters (line 1) | syncGutters(t){let e=this.dom.nextSibling;t&&(this.dom.remove(),this.dom... method updateGutters (line 1) | updateGutters(t){let e=t.startState.facet(Eo),i=t.state.facet(Eo),n=t.do... method destroy (line 1) | destroy(){for(let t of this.gutters)t.destroy();this.dom.remove(),this.d... function Wo (line 1) | function Wo(t){return Array.isArray(t)?t:[t]} function Do (line 1) | function Do(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t... class Bo (line 1) | class Bo{constructor(t,e,i){this.gutter=t,this.height=i,this.i=0,this.cu... method constructor (line 1) | constructor(t,e,i){this.gutter=t,this.height=i,this.i=0,this.cursor=_t... method addElement (line 1) | addElement(t,e,i){let{gutter:n}=this,r=(e.top-this.height)/t.scaleY,s=... method line (line 1) | line(t,e,i){let n=[];Do(this.cursor,n,e.from),i.length&&(n=n.concat(i)... method widget (line 1) | widget(t,e){let i=this.gutter.config.widgetMarker(t,e.widget,e),n=i?[i... method finish (line 1) | finish(){let t=this.gutter;for(;t.elements.length>this.i;){let e=t.ele... class jo (line 1) | class jo{constructor(t,e){this.view=t,this.config=e,this.elements=[],thi... method constructor (line 1) | constructor(t,e){this.view=t,this.config=e,this.elements=[],this.space... method update (line 1) | update(t){let e=this.markers;if(this.markers=Wo(this.config.markers(t.... method destroy (line 1) | destroy(){for(let t of this.elements)t.destroy()} class Io (line 1) | class Io{constructor(t,e,i,n){this.height=-1,this.above=0,this.markers=[... method constructor (line 1) | constructor(t,e,i,n){this.height=-1,this.above=0,this.markers=[],this.... method update (line 1) | update(t,e,i,n){this.height!=e&&(this.height=e,this.dom.style.height=e... method setMarkers (line 1) | setMarkers(t,e){let i="cm-gutterElement",n=this.dom.firstChild;for(let... method destroy (line 1) | destroy(){this.setMarkers(null,[])} method domEventHandlers (line 1) | domEventHandlers(t,e){let i=Object.assign({},t);for(let n in e){let t=i[... class Ho (line 1) | class Ho extends Mo{constructor(t){super(),this.number=t}eq(t){return th... method constructor (line 1) | constructor(t){super(),this.number=t} method eq (line 1) | eq(t){return this.number==t.number} method toDOM (line 1) | toDOM(){return document.createTextNode(this.number)} function Fo (line 1) | function Fo(t,e){return t.state.facet(Uo).formatNumber(e,t.state)} method updateSpacer (line 1) | updateSpacer(t,e){let i=Fo(e.view,Jo(e.view.state.doc.lines));return i==... function Jo (line 1) | function Jo(t){let e=9;for(;e0} method isSkipped (line 1) | get isSkipped(){return(2&this.flags)>0} method isError (line 1) | get isError(){return(4&this.flags)>0} method isAnonymous (line 1) | get isAnonymous(){return(8&this.flags)>0} method is (line 1) | is(t){if("string"==typeof t){if(this.name==t)return!0;let e=this.prop(... method match (line 1) | static match(t){let e=Object.create(null);for(let i in t)for(let n of ... class ha (line 1) | class ha{constructor(t){this.types=t;for(let e=0;e=e&&i=e:t.from>e)||(... class ba (line 1) | class ba{cursor(t=0){return new Pa(this,t)}getChild(t,e=null,i=null){let... method cursor (line 1) | cursor(t=0){return new Pa(this,t)} method getChild (line 1) | getChild(t,e=null,i=null){let n=wa(this,t,e,i);return n.length?n[0]:null} method getChildren (line 1) | getChildren(t,e=null,i=null){return wa(this,t,e,i)} method resolve (line 1) | resolve(t,e=0){return Qa(this,t,e,!1)} method resolveInner (line 1) | resolveInner(t,e=0){return Qa(this,t,e,!0)} method matchContext (line 1) | matchContext(t){return xa(this.parent,t)} method enterUnfinishedNodesBefore (line 1) | enterUnfinishedNodesBefore(t){let e=this.childBefore(t),i=this;for(;e;... method node (line 1) | get node(){return this} method next (line 1) | get next(){return this.parent} class va (line 1) | class va extends ba{constructor(t,e,i,n){super(),this._tree=t,this.from=... method constructor (line 1) | constructor(t,e,i,n){super(),this._tree=t,this.from=e,this.index=i,thi... method type (line 1) | get type(){return this._tree.type} method name (line 1) | get name(){return this._tree.type.name} method to (line 1) | get to(){return this.from+this._tree.length} method nextChild (line 1) | nextChild(t,e,i,n,r=0){var s;for(let o=this;;){for(let{children:a,posi... method firstChild (line 1) | get firstChild(){return this.nextChild(0,1,0,4)} method lastChild (line 1) | get lastChild(){return this.nextChild(this._tree.children.length-1,-1,... method childAfter (line 1) | childAfter(t){return this.nextChild(0,1,t,2)} method childBefore (line 1) | childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t... method prop (line 1) | prop(t){return this._tree.prop(t)} method enter (line 1) | enter(t,e,i=0){let n;if(!(i&da.IgnoreOverlays)&&(n=oa.get(this._tree))... method nextSignificantParent (line 1) | nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;... method parent (line 1) | get parent(){return this._parent?this._parent.nextSignificantParent():... method nextSibling (line 1) | get nextSibling(){return this._parent&&this.index>=0?this._parent.next... method prevSibling (line 1) | get prevSibling(){return this._parent&&this.index>=0?this._parent.next... method tree (line 1) | get tree(){return this._tree} method toTree (line 1) | toTree(){return this._tree} method toString (line 1) | toString(){return this._tree.toString()} function wa (line 1) | function wa(t,e,i,n){let r=t.cursor(),s=[];if(!r.firstChild())return s;i... function xa (line 1) | function xa(t,e,i=e.length-1){for(let n=t;i>=0;n=n.parent){if(!n)return!... class Sa (line 1) | class Sa{constructor(t,e,i,n){this.parent=t,this.buffer=e,this.index=i,t... method constructor (line 1) | constructor(t,e,i,n){this.parent=t,this.buffer=e,this.index=i,this.sta... class ya (line 1) | class ya extends ba{get name(){return this.type.name}get from(){return t... method name (line 1) | get name(){return this.type.name} method from (line 1) | get from(){return this.context.start+this.context.buffer.buffer[this.i... method to (line 1) | get to(){return this.context.start+this.context.buffer.buffer[this.ind... method constructor (line 1) | constructor(t,e,i){super(),this.context=t,this._parent=e,this.index=i,... method child (line 1) | child(t,e,i){let{buffer:n}=this.context,r=n.findChild(this.index+4,n.b... method firstChild (line 1) | get firstChild(){return this.child(1,0,4)} method lastChild (line 1) | get lastChild(){return this.child(-1,0,4)} method childAfter (line 1) | childAfter(t){return this.child(1,t,2)} method childBefore (line 1) | childBefore(t){return this.child(-1,t,-2)} method prop (line 1) | prop(t){return this.type.prop(t)} method enter (line 1) | enter(t,e,i=0){if(i&da.ExcludeBuffers)return null;let{buffer:n}=this.c... method parent (line 1) | get parent(){return this._parent||this.context.parent.nextSignificantP... method externalSibling (line 1) | externalSibling(t){return this._parent?null:this.context.parent.nextCh... method nextSibling (line 1) | get nextSibling(){let{buffer:t}=this.context,e=t.buffer[this.index+3];... method prevSibling (line 1) | get prevSibling(){let{buffer:t}=this.context,e=this._parent?this._pare... method tree (line 1) | get tree(){return null} method toTree (line 1) | toTree(){let t=[],e=[],{buffer:i}=this.context,n=this.index+4,r=i.buff... method toString (line 1) | toString(){return this.context.buffer.childString(this.index)} function ka (line 1) | function ka(t){if(!t.length)return null;let e=0,i=t[0];for(let s=1;s0){if(this.index=t:this.from>t)... method node (line 1) | get node(){if(!this.buffer)return this._tree;let t=this.bufferNode,e=n... method tree (line 1) | get tree(){return this.buffer?null:this._tree._tree} method iterate (line 1) | iterate(t,e){for(let i=0;;){let n=!1;if(this.type.isAnonymous||!1!==t(... method matchContext (line 1) | matchContext(t){if(!this.buffer)return xa(this.node.parent,t);let{buff... function Ta (line 1) | function Ta(t){return t.children.some(t=>t instanceof ma||!t.type.isAnon... function Za (line 1) | function Za(t,e){if(!t.isAnonymous||e instanceof ma||e.type!=t)return 1;... function Xa (line 1) | function Xa(t,e,i,n,r,s,o,a,l){let h=0;for(let f=n;f0} method openEnd (line 1) | get openEnd(){return(2&this.open)>0} method addTree (line 1) | static addTree(t,e=[],i=!1){let n=[new Ma(0,t.length,t,0,!1,i)];for(le... method applyChanges (line 1) | static applyChanges(t,e,i=128){if(!e.length)return t;let n=[],r=1,s=t.... class Ra (line 1) | class Ra{startParse(t,e,i){return"string"==typeof t&&(t=new za(t)),i=i?i... method startParse (line 1) | startParse(t,e,i){return"string"==typeof t&&(t=new za(t)),i=i?i.length... method parse (line 1) | parse(t,e,i){let n=this.startParse(t,e,i);for(;;){let t=n.advance();if... class za (line 1) | class za{constructor(t){this.string=t}get length(){return this.string.le... method constructor (line 1) | constructor(t){this.string=t} method length (line 1) | get length(){return this.string.length} method chunk (line 1) | chunk(t){return this.string.slice(t)} method lineChunks (line 1) | get lineChunks(){return!1} method read (line 1) | read(t,e){return this.string.slice(t,e)} function _a (line 1) | function _a(t){return(e,i,n,r)=>new Va(e,t,i,n,r)} class Ea (line 1) | class Ea{constructor(t,e,i,n,r,s){this.parser=t,this.parse=e,this.overla... method constructor (line 1) | constructor(t,e,i,n,r,s){this.parser=t,this.parse=e,this.overlay=i,thi... function Ya (line 1) | function Ya(t){if(!t.length||t.some(t=>t.from>=t.to))throw new RangeErro... class La (line 1) | class La{constructor(t,e,i,n,r,s,o,a){this.parser=t,this.predicate=e,thi... method constructor (line 1) | constructor(t,e,i,n,r,s,o,a){this.parser=t,this.predicate=e,this.mount... class Va (line 1) | class Va{constructor(t,e,i,n,r){this.nest=e,this.input=i,this.fragments=... method constructor (line 1) | constructor(t,e,i,n,r){this.nest=e,this.input=i,this.fragments=n,this.... method advance (line 1) | advance(){if(this.baseParse){let t=this.baseParse.advance();if(!t)retu... method parsedPos (line 1) | get parsedPos(){if(this.baseParse)return 0;let t=this.input.length;for... method stopAt (line 1) | stopAt(t){if(this.stoppedAt=t,this.baseParse)this.baseParse.stopAt(t);... method startInner (line 1) | startInner(){let t=new Ia(this.fragments),e=null,i=null,n=new Pa(new v... function Wa (line 1) | function Wa(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n... function Da (line 1) | function Da(t,e,i,n,r,s){if(e=this.curTo;)this.nextFrag();return... method nextFrag (line 1) | nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.... method findMounts (line 1) | findMounts(t,e){var i;let n=[];if(this.inner){this.inner.cursor.moveTo(t... function Ga (line 1) | function Ga(t,e){let i=null,n=e;for(let r=1,s=0;rt.modified.indexOf(... class Ja (line 1) | class Ja{constructor(t){this.name=t,this.instances=[],this.id=Ka++}stati... method constructor (line 1) | constructor(t){this.name=t,this.instances=[],this.id=Ka++} method get (line 1) | static get(t,e){if(!e.length)return t;let i=e[0].instances.find(i=>{re... function tl (line 1) | function tl(t){let e=Object.create(null);for(let i in t){let n=t[i];Arra... method combine (line 1) | combine(t,e){let i,n,r;for(;t||e;){if(!t||e&&t.depth>=e.depth?(r=e,e=e.n... class il (line 1) | class il{constructor(t,e,i,n){this.tags=t,this.mode=e,this.context=i,thi... method constructor (line 1) | constructor(t,e,i,n){this.tags=t,this.mode=e,this.context=i,this.next=n} method opaque (line 1) | get opaque(){return 0==this.mode} method inherit (line 1) | get inherit(){return 1==this.mode} method sort (line 1) | sort(t){return!t||t.depththis.at&&(this.at=t),th... method flush (line 1) | flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)} method highlightRange (line 1) | highlightRange(t,e,i,n,r){let{type:s,from:o,to:a}=t;if(o>=i||a<=e)retu... function yl (line 1) | function yl(t){return V.define({combine:t?e=>e.concat(t):void 0})} class $l (line 1) | class $l{constructor(t,e,i=[],n=""){this.data=t,this.name=n,Ct.prototype... method constructor (line 1) | constructor(t,e,i=[],n=""){this.data=t,this.name=n,Ct.prototype.hasOwn... method isActiveAt (line 1) | isActiveAt(t,e,i=-1){return Pl(t,e,i).type.prop(Sl)==this.data} method findRegions (line 1) | findRegions(t){let e=t.facet(Yl);if((null==e?void 0:e.data)==this.data... method allowsNesting (line 1) | get allowsNesting(){return!0} function Pl (line 1) | function Pl(t,e,i){let n=t.facet(Yl),r=Cl(t).topNode;if(!n||n.allowsNest... class Tl (line 1) | class Tl extends $l{constructor(t,e,i){super(t,e,[],i),this.parser=e}sta... method constructor (line 1) | constructor(t,e,i){super(t,e,[],i),this.parser=e} method define (line 1) | static define(t){let e=yl(t.languageData);return new Tl(e,t.parser.con... method configure (line 1) | configure(t,e){return new Tl(this.data,this.parser.configure(t),e||thi... method allowsNesting (line 1) | get allowsNesting(){return this.parser.hasWrappers()} function Cl (line 1) | function Cl(t){let e=t.field($l.state,!1);return e?e.tree:Oa.empty} class Zl (line 1) | class Zl{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.... method constructor (line 1) | constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=... method length (line 1) | get length(){return this.doc.length} method syncTo (line 1) | syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,... method chunk (line 1) | chunk(t){return this.syncTo(t),this.string} method lineChunks (line 1) | get lineChunks(){return!0} method read (line 1) | read(t,e){let i=this.cursorPos-this.string.length;return t=this.... class Al (line 1) | class Al{constructor(t,e,i=[],n,r,s,o,a){this.parser=t,this.state=e,this... method constructor (line 1) | constructor(t,e,i=[],n,r,s,o,a){this.parser=t,this.state=e,this.fragme... method create (line 1) | static create(t,e,i){return new Al(t,e,[],Oa.empty,0,i,[],null)} method startParse (line 1) | startParse(){return this.parser.startParse(new Zl(this.state.doc),this... method work (line 1) | work(t,e){return null!=e&&e>=this.state.doc.length&&(e=void 0),this.tr... method takeTree (line 1) | takeTree(){let t,e;this.parse&&(t=this.parse.parsedPos)>=this.treeLen&... method withContext (line 1) | withContext(t){let e=Xl;Xl=this;try{return t()}finally{Xl=e}} method withoutTempSkipped (line 1) | withoutTempSkipped(t){for(let e;e=this.tempSkipped.pop();)t=Ml(t,e.fro... method changes (line 1) | changes(t,e){let{fragments:i,tree:n,treeLen:r,viewport:s,skipped:o}=th... method updateViewport (line 1) | updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.t... method reset (line 1) | reset(){this.parse&&(this.takeTree(),this.parse=null)} method skipUntilInView (line 1) | skipUntilInView(t,e){this.skipped.push({from:t,to:e})} method getSkippingParser (line 1) | static getSkippingParser(t){return new class extends Ra{createParse(e,... method isDone (line 1) | isDone(t){t=Math.min(t,this.state.doc.length);let e=this.fragments;ret... method get (line 1) | static get(){return Xl} function Ml (line 1) | function Ml(t,e,i){return Ma.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:... class Rl (line 1) | class Rl{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.d... method constructor (line 1) | constructor(t){this.context=t,this.tree=t.tree} method apply (line 1) | apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;le... method init (line 1) | static init(t){let e=Math.min(3e3,t.doc.length),i=Al.create(t.facet(Yl... method update (line 1) | update(t,e){for(let i of e.effects)if(i.is($l.setState))return i.value;r... method constructor (line 1) | constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.c... method update (line 1) | update(t){let e=this.view.state.field($l.state).context;(e.updateViewpor... method scheduleWork (line 1) | scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field($... method work (line 1) | work(t){this.working=null;let e=Date.now();if(this.chunkEnd0)} method focus (line 1) | focus(){this.scheduleWork()} class Ll (line 1) | class Ll{constructor(t,e=[]){this.language=t,this.support=e,this.extensi... method constructor (line 1) | constructor(t,e=[]){this.language=t,this.support=e,this.extension=[t,e]} class ql (line 1) | class ql{constructor(t,e,i,n,r,s=void 0){this.name=t,this.alias=e,this.e... method constructor (line 1) | constructor(t,e,i,n,r,s=void 0){this.name=t,this.alias=e,this.extensio... method load (line 1) | load(){return this.loading||(this.loading=this.loadFunc().then(t=>this... method of (line 1) | static of(t){let{load:e,support:i}=t;if(!e){if(!i)throw new RangeError... method matchFilename (line 1) | static matchFilename(t,e){for(let n of t)if(n.filename&&n.filename.tes... method matchLanguageName (line 1) | static matchLanguageName(t,e,i=!0){e=e.toLowerCase();for(let n of t)if... function Dl (line 1) | function Dl(t){let e=t.facet(Wl);return 9==e.charCodeAt(0)?t.tabSize*e.l... function Bl (line 1) | function Bl(t,e){let i="",n=t.tabSize,r=t.facet(Wl)[0];if("\t"==r){for(;... function jl (line 1) | function jl(t,e){t instanceof Ct&&(t=new Il(t));for(let n of t.state.fac... class Il (line 1) | class Il{constructor(t,e={}){this.state=t,this.options=e,this.unit=Dl(t)... method constructor (line 1) | constructor(t,e={}){this.state=t,this.options=e,this.unit=Dl(t)} method lineAt (line 1) | lineAt(t,e=1){let i=this.state.doc.lineAt(t),{simulateBreak:n,simulate... method textAfterPos (line 1) | textAfterPos(t,e=1){if(this.options.simulateDoubleBreak&&t==this.optio... method column (line 1) | column(t,e=1){let{text:i,from:n}=this.lineAt(t,e),r=this.countColumn(i... method countColumn (line 1) | countColumn(t,e=t.length){return Nt(t,this.state.tabSize,e)} method lineIndent (line 1) | lineIndent(t,e=1){let{text:i,from:n}=this.lineAt(t,e),r=this.options.o... method simulatedBreak (line 1) | get simulatedBreak(){return this.options.simulateBreak||null} function Nl (line 1) | function Nl(t,e,i){for(let n=t;n;n=n.next){let t=Ul(n.node);if(t)return ... function Ul (line 1) | function Ul(t){let e=t.type.prop(Gl);if(e)return e;let i,n=t.firstChild;... function Hl (line 1) | function Hl(){return 0} class Fl (line 1) | class Fl extends Il{constructor(t,e,i){super(t.state,t.options),this.bas... method constructor (line 1) | constructor(t,e,i){super(t.state,t.options),this.base=t,this.pos=e,thi... method node (line 1) | get node(){return this.context.node} method create (line 1) | static create(t,e,i){return new Fl(t,e,i)} method textAfter (line 1) | get textAfter(){return this.textAfterPos(this.pos)} method baseIndent (line 1) | get baseIndent(){return this.baseIndentFor(this.node)} method baseIndentFor (line 1) | baseIndentFor(t){let e=this.state.doc.lineAt(t.from);for(;;){let i=t.r... method continue (line 1) | continue(){return Nl(this.context.next,this.base,this.pos)} function Kl (line 1) | function Kl(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1} function Jl (line 1) | function Jl({closing:t,align:e=!0,units:i=1}){return n=>th(n,e,i,t)} function th (line 1) | function th(t,e,i,n,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,a=n... function eh (line 1) | function eh({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAf... function rh (line 1) | function rh(t){let e=t.firstChild,i=t.lastChild;return e&&e.to=... function ch (line 1) | function ch(t){let e=[];for(let{head:i}of t.state.selection.ranges)e.som... method update (line 1) | update(t,e){e.isUserEvent("delete")&&e.changes.iterChangedRanges((e,i)=>... method toJSON (line 1) | toJSON(t,e){let i=[];return t.between(0,e.doc.length,(t,e)=>{i.push(t,e)... method fromJSON (line 1) | fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Inval... function dh (line 1) | function dh(t,e,i=e){let n=!1;return t.between(e,i,(t,r)=>{te&&(n=... function fh (line 1) | function fh(t,e,i){var n;let r=null;return null===(n=t.field(uh,!1))||vo... function Oh (line 1) | function Oh(t,e,i){let n=!1;return t.between(e,e,(t,r)=>{t==e&&r==i&&(n=... function ph (line 1) | function ph(t,e){return t.field(uh,!1)?e:e.concat(gt.appendConfig.of(vh(... function mh (line 1) | function mh(t,e,i=!0){let n=t.state.doc.lineAt(e.from).number,r=t.state.... function vh (line 1) | function vh(t){return[uh,$h]} function wh (line 1) | function wh(t,e){let{state:i}=t,n=i.facet(bh),r=e=>{let i=t.lineBlockAt(... method toDOM (line 1) | toDOM(t){return wh(t,null)} class Sh (line 1) | class Sh extends Pe{constructor(t){super(),this.value=t}eq(t){return thi... method constructor (line 1) | constructor(t){super(),this.value=t} method eq (line 1) | eq(t){return this.value==t.value} method toDOM (line 1) | toDOM(t){return wh(t,this.value)} class kh (line 1) | class kh extends Mo{constructor(t,e){super(),this.config=t,this.open=e}e... method constructor (line 1) | constructor(t,e){super(),this.config=t,this.open=e} method eq (line 1) | eq(t){return this.config==t.config&&this.open==t.open} method toDOM (line 1) | toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.op... class Ph (line 1) | class Ph{constructor(t,e){let i;function n(t){let e=Jt.newName();return(... method constructor (line 1) | constructor(t,e){let i;function n(t){let e=Jt.newName();return(i||(i=O... method define (line 1) | static define(t,e){return new Ph(t,e||{})} function Zh (line 1) | function Zh(t){let e=t.facet(Th);return e.length?e:t.facet(Ch)} function Xh (line 1) | function Xh(t,e){let i,n=[Mh];return t instanceof Ph&&(t.module&&n.push(... class Ah (line 1) | class Ah{constructor(t){this.markCache=Object.create(null),this.tree=Cl(... method constructor (line 1) | constructor(t){this.markCache=Object.create(null),this.tree=Cl(t.state... method update (line 1) | update(t){let e=Cl(t.state),i=Zh(t.state),n=i!=Zh(t.startState),{viewp... method buildDeco (line 1) | buildDeco(t,e){if(!e||!this.tree.length)return Ce.none;let i=new Et;fo... function qh (line 1) | function qh(t){let e=[],i=t.matched?Yh:Lh;return e.push(i.range(t.start.... method update (line 1) | update(t,e){if(!e.docChanged&&!e.selection)return t;let i=[],n=e.state.f... function Dh (line 1) | function Dh(t,e,i){let n=t.prop(e<0?sa.openedBy:sa.closedBy);if(n)return... function Bh (line 1) | function Bh(t){let e=t.type.prop(Wh);return e?e(t.node):t} function jh (line 1) | function jh(t,e,i,n={}){let r=n.maxScanDistance||1e4,s=n.brackets||_h,o=... function Ih (line 1) | function Ih(t,e,i,n,r,s,o){let a=n.parent,l={from:r.from,to:r.to},h=0,c=... function Kh (line 1) | function Kh(t,e){Uh.indexOf(t)>-1||Uh.push(t)} function Jh (line 1) | function Jh(t,e){let i=[];for(let a of e.split(" ")){let e=[];for(let i ... class tc (line 1) | class tc{constructor(t,e,i,n){this.state=t,this.pos=e,this.explicit=i,th... method constructor (line 1) | constructor(t,e,i,n){this.state=t,this.pos=e,this.explicit=i,this.view... method tokenBefore (line 1) | tokenBefore(t){let e=Cl(this.state).resolveInner(this.pos,-1);for(;e&&... method matchBefore (line 1) | matchBefore(t){let e=this.state.doc.lineAt(this.pos),i=Math.max(e.from... method aborted (line 1) | get aborted(){return null==this.abortListeners} method addEventListener (line 1) | addEventListener(t,e,i){"abort"==t&&this.abortListeners&&(this.abortLi... function ec (line 1) | function ec(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e... function ic (line 1) | function ic(t){let e=t.map(t=>"string"==typeof t?{label:t}:t),[i,n]=e.ev... class nc (line 1) | class nc{constructor(t,e,i,n){this.completion=t,this.source=e,this.match... method constructor (line 1) | constructor(t,e,i,n){this.completion=t,this.source=e,this.match=i,this... function rc (line 1) | function rc(t){return t.selection.main.from} function sc (line 1) | function sc(t,e){var i;let{source:n}=t,r=e&&"^"!=n[0],s="$"!=n[n.length-... function ac (line 1) | function ac(t,e,i,n){let{main:r}=t.selection,s=i-r.from,o=n-r.from;retur... function hc (line 1) | function hc(t){if(!Array.isArray(t))return t;let e=lc.get(t);return e||l... class dc (line 1) | class dc{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this... method constructor (line 1) | constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[]... method ret (line 1) | ret(t,e){return this.score=t,this.matched=e,this} method match (line 1) | match(t){if(0==this.pattern.length)return this.ret(-100,[]);if(t.lengt... method result (line 1) | result(t,e,i){let n=[],r=0;for(let s of e){let t=s+(this.astral?$(y(i,... class fc (line 1) | class fc{constructor(t){this.pattern=t,this.matched=[],this.score=0,this... method constructor (line 1) | constructor(t){this.pattern=t,this.matched=[],this.score=0,this.folded... method match (line 1) | match(t){if(t.length>1){le... class Qc (line 1) | class Qc{constructor(t,e,i){this.view=t,this.stateField=e,this.applyComp... method constructor (line 1) | constructor(t,e,i){this.view=t,this.stateField=e,this.applyCompletion=... method mount (line 1) | mount(){this.updateSel()} method showOptions (line 1) | showOptions(t,e){this.list&&this.list.remove(),this.list=this.dom.appe... method update (line 1) | update(t){var e;let i=t.state.field(this.stateField),n=t.startState.fi... method updateTooltipClass (line 1) | updateTooltipClass(t){let e=this.tooltipClass(t);if(e!=this.currentCla... method positioned (line 1) | positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.pl... method updateSel (line 1) | updateSel(){let t=this.view.state.field(this.stateField),e=t.open;(e.s... method addInfoPane (line 1) | addInfoPane(t,e){this.destroyInfo();let i=this.info=document.createEle... method updateSelectedOption (line 1) | updateSelectedOption(t){let e=null;for(let i=this.list.firstChild,n=th... method measureInfo (line 1) | measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!... method placeInfo (line 1) | placeInfo(t){this.info&&(t?(t.style&&(this.info.style.cssText=t.style)... method createListBox (line 1) | createListBox(t,e,i){const n=document.createElement("ul");n.id=e,n.set... method destroyInfo (line 1) | destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.in... method destroy (line 1) | destroy(){this.destroyInfo()} function bc (line 1) | function bc(t,e){return i=>new Qc(i,t,e)} function vc (line 1) | function vc(t){return 100*(t.boost||0)+(t.apply?10:0)+(t.info?5:0)+(t.ty... class wc (line 1) | class wc{constructor(t,e,i,n,r,s){this.options=t,this.attrs=e,this.toolt... method constructor (line 1) | constructor(t,e,i,n,r,s){this.options=t,this.attrs=e,this.tooltip=i,th... method setSelected (line 1) | setSelected(t,e){return t==this.selected||t>=this.options.length?this:... method build (line 1) | static build(t,e,i,n,r,s){if(n&&!s&&t.some(t=>t.isPending))return n.se... method map (line 1) | map(t){return new wc(this.options,this.attrs,{...this.tooltip,pos:t.ma... method setDisabled (line 1) | setDisabled(){return new wc(this.options,this.attrs,this.tooltip,this.... class xc (line 1) | class xc{constructor(t,e,i){this.active=t,this.id=e,this.open=i}static s... method constructor (line 1) | constructor(t,e,i){this.active=t,this.id=e,this.open=i} method start (line 1) | static start(){return new xc($c,"cm-ac-"+Math.floor(2e6*Math.random())... method update (line 1) | update(t){let{state:e}=t,i=e.facet(Oc),n=(i.override||e.languageDataAt... method tooltip (line 1) | get tooltip(){return this.open?this.open.tooltip:null} method attrs (line 1) | get attrs(){return this.open?this.open.attrs:this.active.length?Sc:yc} function kc (line 1) | function kc(t,e){let i={"aria-autocomplete":"list","aria-haspopup":"list... function Pc (line 1) | function Pc(t,e){if(t.isUserEvent("input.complete")){let i=t.annotation(... class Tc (line 1) | class Tc{constructor(t,e,i=!1){this.source=t,this.state=e,this.explicit=... method constructor (line 1) | constructor(t,e,i=!1){this.source=t,this.state=e,this.explicit=i} method hasResult (line 1) | hasResult(){return!1} method isPending (line 1) | get isPending(){return 1==this.state} method update (line 1) | update(t,e){let i=Pc(t,e),n=this;(8&i||16&i&&this.touches(t))&&(n=new ... method updateFor (line 1) | updateFor(t,e){return this.map(t.changes)} method map (line 1) | map(t){return this} method touches (line 1) | touches(t){return t.changes.touchesRange(rc(t.state))} class Cc (line 1) | class Cc extends Tc{constructor(t,e,i,n,r,s){super(t,3,e),this.limit=i,t... method constructor (line 1) | constructor(t,e,i,n,r,s){super(t,3,e),this.limit=i,this.result=n,this.... method hasResult (line 1) | hasResult(){return!0} method updateFor (line 1) | updateFor(t,e){var i;if(!(3&e))return this.map(t.changes);let n=this.r... method map (line 1) | map(t){if(t.empty)return this;return(this.result.map?this.result.map(t... method touches (line 1) | touches(t){return t.changes.touchesRange(this.from,this.to)} function Mc (line 1) | function Mc(t,e){const i=e.completion.apply||e.completion.label;let n=t.... function zc (line 1) | function zc(t,e="option"){return i=>{let n=i.state.field(Ac,!1);if(!n||!... class Ec (line 1) | class Ec{constructor(t,e){this.active=t,this.context=e,this.time=Date.no... method constructor (line 1) | constructor(t,e){this.active=t,this.context=e,this.time=Date.now(),thi... method constructor (line 1) | constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.d... method update (line 1) | update(t){let e=t.state.field(Ac),i=t.state.facet(Oc);if(!t.selectionSet... method startUpdate (line 1) | startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=t... method startQuery (line 1) | startQuery(t){let{state:e}=this.view,i=rc(e),n=new tc(e,i,t.explicit,thi... method scheduleAccept (line 1) | scheduleAccept(){this.running.every(t=>void 0!==t.done)?this.accept():th... method accept (line 1) | accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept)... method blur (line 1) | blur(t){let e=this.view.state.field(Ac,!1);if(e&&e.tooltip&&this.view.st... method compositionstart (line 1) | compositionstart(){this.composing=1} method compositionend (line 1) | compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({e... method keydown (line 1) | keydown(t,e){let i=e.state.field(Ac,!1);if(!i||!i.open||i.open.disabled|... class Wc (line 1) | class Wc{constructor(t,e,i,n){this.field=t,this.line=e,this.from=i,this.... method constructor (line 1) | constructor(t,e,i,n){this.field=t,this.line=e,this.from=i,this.to=n} class Dc (line 1) | class Dc{constructor(t,e,i){this.field=t,this.from=e,this.to=i}map(t){le... method constructor (line 1) | constructor(t,e,i){this.field=t,this.from=e,this.to=i} method map (line 1) | map(t){let e=t.mapPos(this.from,-1,T.TrackDel),i=t.mapPos(this.to,1,T.... class Bc (line 1) | class Bc{constructor(t,e){this.lines=t,this.fieldPositions=e}instantiate... method constructor (line 1) | constructor(t,e){this.lines=t,this.fieldPositions=e} method instantiate (line 1) | instantiate(t,e){let i=[],n=[e],r=t.doc.lineAt(e),s=/^\s*/.exec(r.text... method parse (line 1) | static parse(t){let e,i=[],n=[],r=[];for(let s of t.split(/\r\n?|\n/))... method toDOM (line 1) | toDOM(){let t=document.createElement("span");return t.className="cm-snip... method ignoreEvent (line 1) | ignoreEvent(){return!1} class Gc (line 1) | class Gc{constructor(t,e){this.ranges=t,this.active=e,this.deco=Ce.set(t... method constructor (line 1) | constructor(t,e){this.ranges=t,this.active=e,this.deco=Ce.set(t.map(t=... method map (line 1) | map(t){let e=[];for(let i of this.ranges){let n=i.map(t);if(!n)return ... method selectionInsideField (line 1) | selectionInsideField(t){return t.ranges.every(t=>this.ranges.some(e=>e... method update (line 1) | update(t,e){for(let i of e.effects){if(i.is(Nc))return i.value;if(i.is(U... function Fc (line 1) | function Fc(t,e){return Y.create(t.filter(t=>t.field==e).map(t=>Y.range(... function Kc (line 1) | function Kc(t){let e=Bc.parse(t);return(t,i,n,r)=>{let{text:s,ranges:o}=... function Jc (line 1) | function Jc(t){return({state:e,dispatch:i})=>{let n=e.field(Hc,!1);if(!n... function nu (line 1) | function nu(t,e){return{...e,apply:Kc(t)}} method mousedown (line 1) | mousedown(t,e){let i,n=e.state.field(Hc,!1);if(!n||null==(i=e.posAtCoord... method map (line 1) | map(t,e){let i=e.mapPos(t,-1,T.TrackAfter);return null==i?void 0:i} method update (line 1) | update(t,e){if(t=t.map(e.changes),e.selection){let i=e.state.doc.lineAt(... function cu (line 1) | function cu(t){for(let e=0;e<16;e+=2)if(hu.charCodeAt(e)==t)return hu.ch... function uu (line 1) | function uu(t,e){return t.languageDataAt("closeBrackets",e)[0]||su} function pu (line 1) | function pu(t,e){let i=!1;return t.field(lu).between(0,t.doc.length,t=>{... function mu (line 1) | function mu(t,e){let i=t.sliceString(e,e+2);return i.slice(0,$(y(i,0)))} function gu (line 1) | function gu(t,e,i,n){let r=null,s=t.changeByRange(s=>{if(!s.empty)return... function Qu (line 1) | function Qu(t,e,i){let n=null,r=t.changeByRange(e=>e.empty&&mu(t.doc,e.h... function bu (line 1) | function bu(t,e,i,n){let r=n.stringPrefixes||su.stringPrefixes,s=null,o=... function vu (line 1) | function vu(t,e){let i=Cl(t).resolveInner(e+1);return i.parent&&i.from==e} function wu (line 1) | function wu(t,e,i){let n=t.charCategorizer(e);if(n(t.sliceDoc(e-1,e))!=k... class yu (line 1) | class yu{static create(t,e,i,n,r){return new yu(t,e,i,n+(n<<8)+t+(e<<4)|... method create (line 1) | static create(t,e,i,n,r){return new yu(t,e,i,n+(n<<8)+t+(e<<4)|0,r,[],... method constructor (line 1) | constructor(t,e,i,n,r,s,o){this.type=t,this.value=e,this.from=i,this.h... method addChild (line 1) | addChild(t,e){t.prop(sa.contextHash)!=this.hash&&(t=new Oa(t.type,t.ch... method toTree (line 1) | toTree(t,e=this.end){let i=this.children.length-1;return i>=0&&(e=Math... class Pu (line 1) | class Pu{constructor(t,e){this.start=t,this.content=e,this.marks=[],this... method constructor (line 1) | constructor(t,e){this.start=t,this.content=e,this.marks=[],this.parser... class Tu (line 1) | class Tu{constructor(){this.text="",this.baseIndent=0,this.basePos=0,thi... method constructor (line 1) | constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth... method forward (line 1) | forward(){this.basePos>this.pos&&this.forwardInner()} method forwardInner (line 1) | forwardInner(){let t=this.skipSpace(this.basePos);this.indent=this.cou... method skipSpace (line 1) | skipSpace(t){return Au(this.text,t)} method reset (line 1) | reset(t){for(this.text=t,this.baseIndent=this.basePos=this.pos=this.in... method moveBase (line 1) | moveBase(t){this.basePos=t,this.baseIndent=this.countIndent(t,this.pos... method moveBaseColumn (line 1) | moveBaseColumn(t){this.baseIndent=t,this.basePos=this.findColumn(t)} method addMarker (line 1) | addMarker(t){this.markers.push(t)} method countIndent (line 1) | countIndent(t,e=0,i=0){for(let n=e;n=e.stac... function Xu (line 1) | function Xu(t){return 32==t||9==t||10==t||13==t} function Au (line 1) | function Au(t,e=0){for(;ei&&Xu(t.charCodeAt(e-1));)e--;return e} function Ru (line 1) | function Ru(t){if(96!=t.next&&126!=t.next)return-1;let e=t.pos+1;for(;e<... function zu (line 1) | function zu(t){return 62!=t.next?-1:32==t.text.charCodeAt(t.pos+1)?2:1} function _u (line 1) | function _u(t,e,i){if(42!=t.next&&45!=t.next&&95!=t.next)return-1;let n=... function Eu (line 1) | function Eu(t,e){for(let i=t.stack.length-1;i>=0;i--)if(t.stack[i].type=... function Yu (line 1) | function Yu(t,e,i){return 45!=t.next&&43!=t.next&&42!=t.next||t.pos!=t.t... function Lu (line 1) | function Lu(t,e,i){let n=t.pos,r=t.next;for(;r>=48&&r<=57;){if(n++,n==t.... function qu (line 1) | function qu(t){if(35!=t.next)return-1;let e=t.pos+1;for(;e=t.baseIndent+4)retur... function Iu (line 1) | function Iu(t,e,i){if(60!=t.next)return-1;let n=t.text.slice(t.pos);for(... function Gu (line 1) | function Gu(t,e){let i=t.countIndent(e,t.pos,t.indent),n=t.countIndent(t... function Nu (line 1) | function Nu(t,e,i){let n=t.length-1;n>=0&&t[n].to==e&&t[n].type==ku.Code... method IndentedCode (line 1) | IndentedCode(t,e){let i=e.baseIndent+4;if(e.indentthis.stopped... method stopAt (line 1) | stopAt(t){if(null!=this.stoppedAt&&this.stoppedAt=this.to)e.text="";else if(e.text=th... method readLine (line 1) | readLine(){let{line:t}=this,{text:e,end:i}=this.scanLine(this.absolute... method lineChunkAt (line 1) | lineChunkAt(t){let e,i=this.input.chunk(t);if(this.input.lineChunks)e=... method prevLineEnd (line 1) | prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1} method startContext (line 1) | startContext(t,e,i=0){this.block=yu.create(t,i,this.lineStart+e,this.b... method startComposite (line 1) | startComposite(t,e,i=0){this.startContext(this.parser.getNodeType(t),e... method addNode (line 1) | addNode(t,e,i){"number"==typeof t&&(t=new Oa(this.parser.nodeSet.types... method addElement (line 1) | addElement(t){this.block.addChild(t.toTree(this.parser.nodeSet),t.from... method addLeafElement (line 1) | addLeafElement(t,e){this.addNode(this.buffer.writeElements(Pd(e.childr... method finishContext (line 1) | finishContext(){let t=this.stack.pop(),e=this.stack[this.stack.length-... method finish (line 1) | finish(){for(;this.stack.length>1;)this.finishContext();return this.ad... method addGaps (line 1) | addGaps(t){return this.ranges.length>1?nd(this.ranges,0,t.topNode,this... method finishLeaf (line 1) | finishLeaf(t){for(let i of t.parsers)if(i.finish(this,t))return;let e=... method elt (line 1) | elt(t,e,i,n){return"string"==typeof t?fd(this.parser.getNodeType(t),e,... method buffer (line 1) | get buffer(){return new cd(this.parser.nodeSet)} function nd (line 1) | function nd(t,e,i,n,r){let s=t[e].to,o=[],a=[],l=i.from+n;function h(i,r... class rd (line 1) | class rd extends Ra{constructor(t,e,i,n,r,s,o,a,l){super(),this.nodeSet=... method constructor (line 1) | constructor(t,e,i,n,r,s,o,a,l){super(),this.nodeSet=t,this.blockParser... method createParse (line 1) | createParse(t,e,i){let n=new id(this,t,e,i);for(let r of this.wrappers... method configure (line 1) | configure(t){let e=od(t);if(!e)return this;let{nodeSet:i,skipContextMa... method getNodeType (line 1) | getNodeType(t){let e=this.nodeTypes[t];if(null==e)throw new RangeError... method parseInline (line 1) | parseInline(t,e){let i=new $d(this,t,e);t:for(let n=e;n0} function od (line 1) | function od(t){if(!Array.isArray(t))return t;if(0==t.length)return null;... function ad (line 1) | function ad(t,e){let i=t.indexOf(e);if(i<0)throw new RangeError(`Positio... class cd (line 1) | class cd{constructor(t){this.nodeSet=t,this.content=[],this.nodes=[]}wri... method constructor (line 1) | constructor(t){this.nodeSet=t,this.content=[],this.nodes=[]} method write (line 1) | write(t,e,i,n=0){return this.content.push(t,e,i,4+4*n),this} method writeElements (line 1) | writeElements(t,e=0){for(let i of t)i.writeTo(this,e);return this} method finish (line 1) | finish(t,e){return Oa.build({buffer:this.content,nodeSet:this.nodeSet,... method constructor (line 1) | constructor(t,e,i,n=hd){this.type=t,this.from=e,this.to=i,this.children=n} method writeTo (line 1) | writeTo(t,e){let i=t.content.length;t.writeElements(this.children,e),t.c... method toTree (line 1) | toTree(t){return new cd(t).writeElements(this.children,-this.from).finis... class dd (line 1) | class dd{constructor(t,e){this.tree=t,this.from=e}get to(){return this.f... method constructor (line 1) | constructor(t,e){this.tree=t,this.from=e} method to (line 1) | get to(){return this.from+this.tree.length} method type (line 1) | get type(){return this.tree.type.id} method children (line 1) | get children(){return hd} method writeTo (line 1) | writeTo(t,e){t.nodes.push(this.tree),t.content.push(t.nodes.length-1,t... method toTree (line 1) | toTree(){return this.tree} function fd (line 1) | function fd(t,e,i,n){return new ud(t,e,i,n)} class Qd (line 1) | class Qd{constructor(t,e,i,n){this.type=t,this.from=e,this.to=i,this.sid... method constructor (line 1) | constructor(t,e,i,n){this.type=t,this.from=e,this.to=i,this.side=n} method Escape (line 1) | Escape(t,e,i){if(92!=e||i==t.end-1)return-1;let n=t.char(i+1);for(let r=... method Entity (line 1) | Entity(t,e,i){if(38!=e)return-1;let n=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(... method InlineCode (line 1) | InlineCode(t,e,i){if(96!=e||i&&96==t.char(i-1))return-1;let n=i+1;for(;n... method HTMLTag (line 1) | HTMLTag(t,e,i){if(60!=e||i==t.end-1)return-1;let n=t.slice(i+1,t.end),r=... method Emphasis (line 1) | Emphasis(t,e,i){if(95!=e&&42!=e)return-1;let n=i+1;for(;t.char(n)==e;)n+... method HardBreak (line 1) | HardBreak(t,e,i){if(92==e&&10==t.char(i+1))return t.append(fd(ku.HardBre... method LinkEnd (line 1) | LinkEnd(t,e,i){if(93!=e)return-1;for(let n=t.parts.length-1;n>=0;n--){le... function xd (line 1) | function xd(t,e,i,n,r){let{text:s}=t,o=t.char(r),a=r;if(e.unshift(fd(ku.... function Sd (line 1) | function Sd(t,e,i){if(60==t.charCodeAt(e)){for(let n=e+1;n=this.end?-1:this.text.charCodeAt(t-this.offset)} method end (line 1) | get end(){return this.offset+this.text.length} method slice (line 1) | slice(t,e){return this.text.slice(t-this.offset,e-this.offset)} method append (line 1) | append(t){return this.parts.push(t),t.to} method addDelimiter (line 1) | addDelimiter(t,e,i,n,r){return this.append(new Qd(t,e,i,(n?1:0)|(r?2:0... method hasOpenLink (line 1) | get hasOpenLink(){for(let t=this.parts.length-1;t>=0;t--){let e=this.p... method addElement (line 1) | addElement(t){return this.append(t)} method resolveMarkers (line 1) | resolveMarkers(t){for(let i=t;i=0;e--){let i=... method takeContent (line 1) | takeContent(t){let e=this.resolveMarkers(t);return this.parts.length=t,e} method getDelimiterAt (line 1) | getDelimiterAt(t){let e=this.parts[t];return e instanceof Qd?e:null} method skipSpace (line 1) | skipSpace(t){return Au(this.text,t-this.offset)+this.offset} method elt (line 1) | elt(t,e,i,n){return"string"==typeof t?fd(this.parser.getNodeType(t),e,... function Pd (line 1) | function Pd(t,e){if(!e.length)return t;if(!t.length)return e;let i=t.sli... method constructor (line 1) | constructor(t,e){this.fragments=t,this.input=e,this.i=0,this.fragment=nu... method nextFragment (line 1) | nextFragment(){this.fragment=this.i{n.push(t.e... function Ed (line 1) | function Ed(t,e){for(let i=e;it instanceof Ld)||!Ed(e.text,e.baseP... class Vd (line 1) | class Vd{nextLine(){return!1}finish(t,e){return t.addLeafElement(e,t.elt... method nextLine (line 1) | nextLine(){return!1} method finish (line 1) | finish(t,e){return t.addLeafElement(e,t.elt("Task",e.start,e.start+e.c... function Nd (line 1) | function Nd(t,e,i,n){let r=0;for(let s=e;s{if(r!=t||n.char(s+1)==t)return-1;let ... method parse (line 1) | parse(t,e,i){let n;return 58==e&&(n=/^[a-zA-Z_0-9]+:/.exec(t.slice(i+1,t... class nf (line 1) | class nf{constructor(t,e,i,n,r,s,o,a,l,h=0,c){this.p=t,this.stack=e,this... method constructor (line 1) | constructor(t,e,i,n,r,s,o,a,l,h=0,c){this.p=t,this.stack=e,this.state=... method toString (line 1) | toString(){return`[${this.stack.filter((t,e)=>e%3==0).concat(this.stat... method start (line 1) | static start(t,e,i=0){let n=t.parser.context;return new nf(t,[],e,i,i,... method context (line 1) | get context(){return this.curContext?this.curContext.context:null} method pushState (line 1) | pushState(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffe... method reduce (line 1) | reduce(t){var e;let i=t>>19,n=65535&t,{parser:r}=this.p,s=this.reduceP... method storeNode (line 1) | storeNode(t,e,i,n=4,r=!1){if(0==t&&(!this.stack.length||this.stack[thi... method shift (line 1) | shift(t,e,i,n){if(131072&t)this.pushState(65535&t,this.pos);else if(26... method apply (line 1) | apply(t,e,i,n){65536&t?this.reduce(t):this.shift(t,e,i,n)} method useNode (line 1) | useNode(t,e){let i=this.p.reused.length-1;(i<0||this.p.reused[i]!=t)&&... method split (line 1) | split(){let t=this,e=t.buffer.length;for(;e>0&&t.buffer[e-2]>t.reduceP... method recoverByDelete (line 1) | recoverByDelete(t,e){let i=t<=this.p.parser.maxNode;i&&this.storeNode(... method canShift (line 1) | canShift(t){for(let e=new sf(this);;){let i=this.p.parser.stateSlot(e.... method recoverByInsert (line 1) | recoverByInsert(t){if(this.stack.length>=300)return[];let e=this.p.par... method forceReduce (line 1) | forceReduce(){let{parser:t}=this.p,e=t.stateSlot(this.state,5);if(!(65... method findForcedReduction (line 1) | findForcedReduction(){let{parser:t}=this.p,e=[],i=(n,r)=>{if(!e.includ... method forceAll (line 1) | forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.force... method deadEnd (line 1) | get deadEnd(){if(3!=this.stack.length)return!1;let{parser:t}=this.p;re... method restart (line 1) | restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.sta... method sameState (line 1) | sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length... method parser (line 1) | get parser(){return this.p.parser} method dialectEnabled (line 1) | dialectEnabled(t){return this.p.parser.dialect.flags[t]} method shiftContext (line 1) | shiftContext(t,e){this.curContext&&this.updateContext(this.curContext.... method reduceContext (line 1) | reduceContext(t,e){this.curContext&&this.updateContext(this.curContext... method emitContext (line 1) | emitContext(){let t=this.buffer.length-1;(t<0||-3!=this.buffer[t])&&th... method emitLookAhead (line 1) | emitLookAhead(){let t=this.buffer.length-1;(t<0||-4!=this.buffer[t])&&... method updateContext (line 1) | updateContext(t){if(t!=this.curContext.context){let e=new rf(this.curC... method setLookAhead (line 1) | setLookAhead(t){return!(t<=this.lookAhead)&&(this.emitLookAhead(),this... method close (line 1) | close(){this.curContext&&this.curContext.tracker.strict&&this.emitCont... class rf (line 1) | class rf{constructor(t,e){this.tracker=t,this.context=e,this.hash=t.stri... method constructor (line 1) | constructor(t,e){this.tracker=t,this.context=e,this.hash=t.strict?t.ha... class sf (line 1) | class sf{constructor(t){this.start=t,this.state=t.state,this.stack=t.sta... method constructor (line 1) | constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this... method reduce (line 1) | reduce(t){let e=65535&t,i=t>>19;0==i?(this.stack==this.start.stack&&(t... class of (line 1) | class of{constructor(t,e,i){this.stack=t,this.pos=e,this.index=i,this.bu... method constructor (line 1) | constructor(t,e,i){this.stack=t,this.pos=e,this.index=i,this.buffer=t.... method create (line 1) | static create(t,e=t.bufferBase+t.buffer.length){return new of(t,e,e-t.... method maybeNext (line 1) | maybeNext(){let t=this.stack.parent;null!=t&&(this.index=this.stack.bu... method id (line 1) | get id(){return this.buffer[this.index-4]} method start (line 1) | get start(){return this.buffer[this.index-3]} method end (line 1) | get end(){return this.buffer[this.index-2]} method size (line 1) | get size(){return this.buffer[this.index-1]} method next (line 1) | next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()} method fork (line 1) | fork(){return new of(this.stack,this.pos,this.index)} function af (line 1) | function af(t,e=Uint16Array){if("string"!=typeof t)return t;let i=null;f... class lf (line 1) | class lf{constructor(){this.start=-1,this.value=-1,this.end=-1,this.exte... method constructor (line 1) | constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1... class cf (line 1) | class cf{constructor(t,e){this.input=t,this.ranges=e,this.chunk="",this.... method constructor (line 1) | constructor(t,e){this.input=t,this.ranges=e,this.chunk="",this.chunkOf... method resolveOffset (line 1) | resolveOffset(t,e){let i=this.range,n=this.rangeIndex,r=this.pos+t;for... method clipPos (line 1) | clipPos(t){if(t>=this.range.from&&t=0&&n=this.chunk2Pos&&this.pos=this.chunk.length&&(this.getChunk(),t... method advance (line 1) | advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.... method setDone (line 1) | setDone(){return this.pos=this.chunkPos=this.end,this.range=this.range... method reset (line 1) | reset(t,e){if(e?(this.token=e,e.start=t,e.lookAhead=t+1,e.value=e.exte... method read (line 1) | read(t,e){if(t>=this.chunkPos&&e<=this.chunkPos+this.chunk.length)retu... class uf (line 1) | class uf{constructor(t,e){this.data=t,this.id=e}token(t,e){let{parser:i}... method constructor (line 1) | constructor(t,e){this.data=t,this.id=e} method token (line 1) | token(t,e){let{parser:i}=e.p;Of(this.data,t,e,this.id,i.data,i.tokenPr... class df (line 1) | class df{constructor(t,e,i){this.precTable=e,this.elseToken=i,this.data=... method constructor (line 1) | constructor(t,e,i){this.precTable=e,this.elseToken=i,this.data="string... method token (line 1) | token(t,e){let i=t.pos,n=0;for(;;){let i=t.next<0,r=t.resolveOffset(1,... class ff (line 1) | class ff{constructor(t,e={}){this.token=t,this.contextual=!!e.contextual... method constructor (line 1) | constructor(t,e={}){this.token=t,this.contextual=!!e.contextual,this.f... function Of (line 1) | function Of(t,e,i,n,r,s){let o=0,a=1<=n[0])return-1;for(let r=n[e+1]... method hasAction (line 1) | hasAction(t,e){let i=this.data;for(let n=0;n<2;n++)for(let r,s=this.st... method stateSlot (line 1) | stateSlot(t,e){return this.states[6*t+e]} method stateFlag (line 1) | stateFlag(t,e){return(this.stateSlot(t,0)&e)>0} method validAction (line 1) | validAction(t,e){return!!this.allActions(t,t=>t==e||null)} method allActions (line 1) | allActions(t,e){let i=this.stateSlot(t,4),n=i?e(i):void 0;for(let r=th... method nextStates (line 1) | nextStates(t){let e=[];for(let i=this.stateSlot(t,1);;i+=3){if(65535==... method configure (line 1) | configure(t){let e=Object.assign(Object.create(Pf.prototype),this);if(... method hasWrappers (line 1) | hasWrappers(){return this.wrappers.length>0} method getName (line 1) | getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxN... method eofTerm (line 1) | get eofTerm(){return this.maxNode+1} method topNode (line 1) | get topNode(){return this.nodeSet.types[this.top[1]]} method dynamicPrecedence (line 1) | dynamicPrecedence(t){let e=this.dynamicPrecedences;return null==e?0:e[... method parseDialect (line 1) | parseDialect(t){let e=Object.keys(this.dialects),i=e.map(()=>!1);if(t)... method deserialize (line 1) | static deserialize(t){return new Pf(t)} function Tf (line 1) | function Tf(t,e){return t[e]|t[e+1]<<16} function Cf (line 1) | function Cf(t){if(t.external){let e=t.extend?1:0;return(i,n)=>t.external... function Mf (line 1) | function Mf(t){return 45==t||46==t||58==t||t>=65&&t<=90||95==t||t>=97&&t... function Ef (line 1) | function Ef(t,e){let i=t.pos+e;if(_f==i&&zf==t)return Rf;let n=t.peek(e)... function qf (line 1) | function qf(t,e){this.name=t,this.parent=e} method reuse (line 1) | reuse(t,e,i,n){let r=e.type.id;return 6==r||37==r?new qf(Ef(n,1)||"",t):t} function If (line 1) | function If(t,e,i){let n=2+t.length;return new ff(r=>{for(let s=0,o=0,a=... function Kf (line 1) | function Kf(t,e){let i=Object.create(null);for(let n of t.getChildren(24... function Jf (line 1) | function Jf(t,e){let i=t.getChild(23);return i?e.read(i.from,i.to):" "} function tO (line 1) | function tO(t,e,i){let n;for(let r of i)if(!r.attrs||r.attrs(n||(n=Kf(t.... function eO (line 1) | function eO(t=[],e=[]){let i=[],n=[],r=[],s=[];for(let a of t){("script"... function nO (line 1) | function nO(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161} function rO (line 1) | function rO(t){return t>=48&&t<=57} function sO (line 1) | function sO(t){return rO(t)||t>=97&&t<=102||t>=65&&t<=70} function bO (line 1) | function bO(){if(!QO&&"object"==typeof document&&document.body){let{styl... function TO (line 1) | function TO(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))... function CO (line 1) | function CO(t,e,i){if(e.to-e.from>4096){let n=$O.get(e);if(n)return n;le... function YO (line 1) | function YO(t,e){return t>=65&&t<=90||t>=97&&t<=122||95==t||t>=192||!e&&... function UO (line 1) | function UO(t){return(e,i)=>{let n=e.node.getChild("VariableDefinition")... method VariableDefinition (line 1) | VariableDefinition(t,e){t.matchContext(HO)||e(t,"variable")} method TypeDefinition (line 1) | TypeDefinition(t,e){e(t,"type")} function KO (line 1) | function KO(t,e){let i=GO.get(e);if(i)return i;let n=[],r=!0;function s(... function ep (line 1) | function ep(t){let e=Cl(t.state).resolveInner(t.pos,-1);if(tp.indexOf(e.... method JSXElement (line 1) | JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.no... method JSXEscape (line 1) | JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.... function cp (line 1) | function cp(t={}){let e=t.jsx?t.typescript?op:sp:t.typescript?rp:ip,i=t.... function up (line 1) | function up(t,e,i=t.length){for(let n=null==e?void 0:e.firstChild;n;n=n.... class Sp (line 1) | class Sp{constructor(t,e){this.tags={...vp,...t},this.globalAttrs={...wp... method constructor (line 1) | constructor(t,e){this.tags={...vp,...t},this.globalAttrs={...wp,...e},... function yp (line 1) | function yp(t,e,i=t.length){if(!e)return"";let n=e.firstChild,r=n&&n.get... function kp (line 1) | function kp(t,e=!1){for(;t;t=t.parent)if("Element"==t.name){if(!e)return... function $p (line 1) | function $p(t,e,i){let n=i.tags[yp(t,kp(e))];return(null==n?void 0:n.chi... function Pp (line 1) | function Pp(t,e){let i=[];for(let n=kp(e);n&&!n.type.isTop;n=kp(n.parent... function Cp (line 1) | function Cp(t,e,i,n,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",o=kp(... function Zp (line 1) | function Zp(t,e,i,n){let r=/\s*>/.test(t.sliceDoc(n,n+5))?"":">";return{... function Xp (line 1) | function Xp(t,e){let{state:i,pos:n}=e,r=Cl(i).resolveInner(n,-1),s=r.res... function Ap (line 1) | function Ap(t){let{extraTags:e,extraGlobalAttributes:i}=t,n=i||e?new Sp(... method Element (line 1) | Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.po... method Document (line 1) | Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].length"... method marker (line 1) | marker(t,e){let i="OrderedList"==this.node.name?String(+Kp(this.item,t... function Fp (line 1) | function Fp(t,e){let i=[],n=[];for(let r=t;r;r=r.parent){if("FencedCode"... function Kp (line 1) | function Kp(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t... function Jp (line 1) | function Jp(t,e,i,n=0){for(let r=-1,s=t;;){if("ListItem"==s.name){let t=... function tm (line 1) | function tm(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||"\t"!=e.facet(... function im (line 1) | function im(t){return"QuoteMark"==t.name||"ListMark"==t.name} function nm (line 1) | function nm(t,e,i){let n="";for(let r=0,s=t.length-2;r<=s;r++)n+=t[r].bl... function om (line 1) | function om(t={}){let{codeLanguages:e,defaultCodeLanguage:i,addKeymap:n=... function am (line 1) | function am(t){let{state:e,pos:i}=t,n=/<[:\-\.\w\u00b7-\uffff]*$/.exec(e... function hm (line 1) | function hm(){if(lm)return lm;let t=(e=new tc(Ct.create({extensions:sm})... function dm (line 1) | function dm(){return dm=Object.assign?Object.assign.bind():function(t){f... function fm (line 1) | function fm(t,e){return({state:i,dispatch:n})=>{if(i.readOnly)return!1;l... function gm (line 1) | function gm(t,e){let i=t.languageDataAt("commentTokens",e,1);return i.le... function bm (line 1) | function bm(t,e,i=e.selection.ranges){let n=i.map(t=>gm(e,t.from).block)... function vm (line 1) | function vm(t,e,i=e.selection.ranges){let n=[],r=-1;for(let{from:s,to:o}... method update (line 1) | update(t,e){let i=e.state.facet(ym),n=e.annotation(wm);if(n){let r=Xm.fr... function $m (line 1) | function $m(t,e){return function({state:i,dispatch:n}){if(!e&&i.readOnly... class Xm (line 1) | class Xm{constructor(t,e,i,n,r){this.changes=t,this.effects=e,this.mappe... method constructor (line 1) | constructor(t,e,i,n,r){this.changes=t,this.effects=e,this.mapped=i,thi... method setSelAfter (line 1) | setSelAfter(t){return new Xm(this.changes,this.effects,this.mapped,thi... method toJSON (line 1) | toJSON(){var t,e,i;return{changes:null===(t=this.changes)||void 0===t?... method fromJSON (line 1) | static fromJSON(t){return new Xm(t.changes&&Z.fromJSON(t.changes),[],t... method fromTransaction (line 1) | static fromTransaction(t,e){let i=Rm;for(let n of t.startState.facet(S... method selection (line 1) | static selection(t){return new Xm(void 0,Rm,void 0,void 0,t)} function Am (line 1) | function Am(t,e,i,n){let r=e+1>i+20?e-i-1:0,s=t.slice(r,e);return s.push... function Mm (line 1) | function Mm(t,e){return t.length?e.length?t.concat(e):t:e} function _m (line 1) | function _m(t,e){if(t.length){let i=t[t.length-1],n=i.selectionsAfter.sl... function Em (line 1) | function Em(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.se... function Ym (line 1) | function Ym(t,e){if(!t.length)return t;let i=t.length,n=Rm;for(;i;){let ... function Lm (line 1) | function Lm(t,e,i){let n=Mm(t.selectionsAfter.length?t.selectionsAfter.m... class Vm (line 1) | class Vm{constructor(t,e,i=0,n=void 0){this.done=t,this.undone=e,this.pr... method constructor (line 1) | constructor(t,e,i=0,n=void 0){this.done=t,this.undone=e,this.prevTime=... method isolate (line 1) | isolate(){return this.prevTime?new Vm(this.done,this.undone):this} method addChanges (line 1) | addChanges(t,e,i,n,r){let s=this.done,o=s[s.length-1];return s=o&&o.ch... method addSelection (line 1) | addSelection(t,e,i,n){let r=this.done.length?this.done[this.done.lengt... method addMapping (line 1) | addMapping(t){return new Vm(Ym(this.done,t),Ym(this.undone,t),this.pre... method pop (line 1) | pop(t,e,i){let n=0==t?this.done:this.undone;if(0==n.length)return null... function Dm (line 1) | function Dm(t,e){return Y.create(t.ranges.map(e),t.mainIndex)} function Bm (line 1) | function Bm(t,e){return t.update({selection:e,scrollIntoView:!0,userEven... function jm (line 1) | function jm({state:t,dispatch:e},i){let n=Dm(t.selection,i);return!n.eq(... function Im (line 1) | function Im(t,e){return Y.cursor(e?t.to:t.from)} function Gm (line 1) | function Gm(t,e){return jm(t,i=>i.empty?t.moveByChar(i,e):Im(i,e))} function Nm (line 1) | function Nm(t){return t.textDirectionAt(t.state.selection.main.head)==ri... function Fm (line 1) | function Fm(t,e){return jm(t,i=>i.empty?t.moveByGroup(i,e):Im(i,e))} function Km (line 1) | function Km(t,e,i){if(e.type.prop(i))return!0;let n=e.to-e.from;return n... function Jm (line 1) | function Jm(t,e,i){let n,r,s=Cl(t).resolveInner(e.head),o=i?sa.closedBy:... function tg (line 1) | function tg(t,e){return jm(t,i=>{if(!i.empty)return Im(i,e);let n=t.move... function ng (line 1) | function ng(t){let e,i=t.scrollDOM.clientHeighti.empty?t... function ag (line 1) | function ag(t,e,i){let n=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,... function lg (line 1) | function lg(t,e){let i=Dm(t.state.selection,t=>{let i=e(t);return Y.rang... function hg (line 1) | function hg(t,e){return lg(t,i=>t.moveByChar(i,e))} function dg (line 1) | function dg(t,e){return lg(t,i=>t.moveByGroup(i,e))} function fg (line 1) | function fg(t,e){return lg(t,i=>t.moveVertically(i,e))} function mg (line 1) | function mg(t,e){return lg(t,i=>t.moveVertically(i,e,ng(t).height))} function Sg (line 1) | function Sg(t,e){let{state:i}=t,n=i.selection,r=i.selection.ranges.slice... function yg (line 1) | function yg(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{... function kg (line 1) | function kg(t,e,i){if(t instanceof fs)for(let n of t.state.facet(fs.atom... function Xg (line 1) | function Xg(t){let e=[],i=-1;for(let n of t.selection.ranges){let r=t.do... function Ag (line 1) | function Ag(t,e,i){if(t.readOnly)return!1;let n=[],r=[];for(let s of Xg(... function Mg (line 1) | function Mg(t,e,i){if(t.readOnly)return!1;let n=[];for(let s of Xg(t))i?... function zg (line 1) | function zg(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let... function _g (line 1) | function _g(t,e){let i=-1;return t.changeByRange(n=>{let r=[];for(let o=... class Wg (line 1) | class Wg{constructor(t,e,i=0,n=t.length,r,s){this.test=s,this.value={fro... method constructor (line 1) | constructor(t,e,i=0,n=t.length,r,s){this.test=s,this.value={from:0,to:... method peek (line 1) | peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=thi... method next (line 1) | next(){for(;this.matches.length;)this.matches.pop();return this.nextOv... method nextOverlapping (line 1) | nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0... method match (line 1) | match(t,e,i){let n=null;for(let r=0;r=i||n.to<=e){let n=new... class Ng (line 1) | class Ng{constructor(t,e,i,n,r){this.text=t,this.to=r,this.done=!1,this.... method constructor (line 1) | constructor(t,e,i,n,r){this.text=t,this.to=r,this.done=!1,this.value=D... method chunkEnd (line 1) | chunkEnd(t){return t>=this.to?this.to:this.text.lineAt(t).to} method next (line 1) | next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,e=... function Ug (line 1) | function Ug(t,e){if(e>=t.length)return e;let i,n=t.lineAt(e);for(;e"n"==... method eq (line 1) | eq(t){return this.search==t.search&&this.replace==t.replace&&this.case... method create (line 1) | create(){return this.regexp?new pQ(this):new uQ(this)} method getCursor (line 1) | getCursor(t,e=0,i){let n=t.doc?t:Ct.create({doc:t});return null==i&&(i... class hQ (line 1) | class hQ{constructor(t){this.spec=t}} method constructor (line 1) | constructor(t){this.spec=t} function cQ (line 1) | function cQ(t,e,i,n){return new Wg(e.doc,t.unquoted,i,n,t.caseSensitive?... class uQ (line 1) | class uQ extends hQ{constructor(t){super(t)}nextMatch(t,e,i){let n=cQ(th... method constructor (line 1) | constructor(t){super(t)} method nextMatch (line 1) | nextMatch(t,e,i){let n=cQ(this.spec,t,i,t.doc.length).nextOverlapping(... method prevMatchInRange (line 1) | prevMatchInRange(t,e,i){for(let n=i;;){let i=Math.max(e,n-1e4-this.spe... method prevMatch (line 1) | prevMatch(t,e,i){let n=this.prevMatchInRange(t,0,e);return n||(n=this.... method getReplacement (line 1) | getReplacement(t){return this.spec.unquote(this.spec.replace)} method matchAll (line 1) | matchAll(t,e){let i=cQ(this.spec,t,0,t.doc.length),n=[];for(;!i.next()... method highlight (line 1) | highlight(t,e,i,n){let r=cQ(this.spec,t,Math.max(0,e-this.spec.unquote... function dQ (line 1) | function dQ(t,e,i,n){return new jg(e.doc,t.search,{ignoreCase:!t.caseSen... function fQ (line 1) | function fQ(t,e){return t.slice(S(t,e,!1),e)} function OQ (line 1) | function OQ(t,e){return t.slice(e,S(t,e))} class pQ (line 1) | class pQ extends hQ{nextMatch(t,e,i){let n=dQ(this.spec,t,i,t.doc.length... method nextMatch (line 1) | nextMatch(t,e,i){let n=dQ(this.spec,t,i,t.doc.length).next();return n.... method prevMatchInRange (line 1) | prevMatchInRange(t,e,i){for(let n=1;;n++){let r=Math.max(e,i-1e4*n),s=... method prevMatch (line 1) | prevMatch(t,e,i){return this.prevMatchInRange(t,0,e)||this.prevMatchIn... method getReplacement (line 1) | getReplacement(t){return this.spec.unquote(this.spec.replace).replace(... method matchAll (line 1) | matchAll(t,e){let i=dQ(this.spec,t,0,t.doc.length),n=[];for(;!i.next()... method highlight (line 1) | highlight(t,e,i,n){let r=dQ(this.spec,t,Math.max(0,e-250),Math.min(i+2... method update (line 1) | update(t,e){for(let i of e.effects)i.is(mQ)?t=new bQ(i.value.create(),t.... class bQ (line 1) | class bQ{constructor(t,e){this.query=t,this.panel=e}} method constructor (line 1) | constructor(t,e){this.query=t,this.panel=e} method constructor (line 1) | constructor(t){this.view=t,this.decorations=this.highlight(t.state.field... method update (line 1) | update(t){let e=t.state.field(QQ);(e!=t.startState.field(QQ)||t.docChang... method highlight (line 1) | highlight({query:t,panel:e}){if(!e||!t.spec.valid)return Ce.none;let{vie... function SQ (line 1) | function SQ(t){return e=>{let i=e.state.field(QQ,!1);return i&&i.query.s... function CQ (line 1) | function CQ(t){return t.state.facet(aQ).createPanel(t)} function ZQ (line 1) | function ZQ(t,e){var i,n,r,s,o;let a=t.selection.main,l=a.empty||a.to>a.... function XQ (line 1) | function XQ(t){let e=To(t,CQ);return e&&e.dom.querySelector("[main-field... function AQ (line 1) | function AQ(t){let e=XQ(t);e&&e==t.root.activeElement&&e.select()} class _Q (line 1) | class _Q{constructor(t){this.view=t;let e=this.query=t.state.field(QQ).q... method constructor (line 1) | constructor(t){this.view=t;let e=this.query=t.state.field(QQ).query.sp... method commit (line 1) | commit(){let t=new lQ({search:this.searchField.value,caseSensitive:thi... method keydown (line 1) | keydown(t){var e,i,n;e=this.view,i=t,n="search-panel",Ps(Ss(e.state),i... method update (line 1) | update(t){for(let e of t.transactions)for(let t of e.effects)t.is(mQ)&... method setQuery (line 1) | setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceF... method mount (line 1) | mount(){this.searchField.select()} method pos (line 1) | get pos(){return 80} method top (line 1) | get top(){return this.view.state.facet(aQ).top} function EQ (line 1) | function EQ(t,e){return t.state.phrase(e)} function qQ (line 1) | function qQ(t,{from:e,to:i}){let n=t.state.doc.lineAt(e),r=t.state.doc.l... class DQ (line 1) | class DQ{constructor(t,e,i){this.from=t,this.to=e,this.diagnostic=i}} method constructor (line 1) | constructor(t,e,i){this.from=t,this.to=e,this.diagnostic=i} class BQ (line 1) | class BQ{constructor(t,e,i){this.diagnostics=t,this.panel=e,this.selecte... method constructor (line 1) | constructor(t,e,i){this.diagnostics=t,this.panel=e,this.selected=i} method init (line 1) | static init(t,e,i){let n=i.facet(eb).markerFilter;n&&(t=n(t,i));let r=... function jQ (line 1) | function jQ(t,e=null,i=0){let n=null;return t.between(i,1e9,(t,i,{spec:r... method update (line 1) | update(t,e){if(e.docChanged&&t.diagnostics.size){let i=t.diagnostics.map... function FQ (line 1) | function FQ(t,e,i){let n,{diagnostics:r}=t.state.field(UQ),s=-1,o=-1;r.b... function KQ (line 1) | function KQ(t,e){return le("ul",{class:"cm-tooltip-lint"},e.map(e=>rb(t,... function ib (line 1) | function ib(t,e){return t?e?(i,n)=>e(t(i,n),n):t:e} function nb (line 1) | function nb(t){let e=[];if(t)t:for(let{name:i}of t){for(let t=0;ti... method constructor (line 1) | constructor(t){this.view=t,this.decorations=Ce.none,this.decorationCache... method makeDecorator (line 1) | makeDecorator(t){return new Bs({regexp:t.specialChars,decoration:(e,i,n)... method update (line 1) | update(t){let e=t.state.facet(Us);t.startState.facet(Us)!=e?(this.decora... method beforeinput (line 1) | beforeinput(t,e){let i="historyUndo"==t.inputType?Pm:"historyRedo"==t.in... method constructor (line 1) | constructor(t){this.from=t.viewport.from,this.markers=this.buildMarkers(t)} method update (line 1) | update(t){(t.docChanged||t.viewportChanged||t.startState.facet(Yl)!=t.st... method buildMarkers (line 1) | buildMarkers(t){let e=new Et;for(let r of t.viewportLineBlocks){let s=fh... method markers (line 1) | markers(t){var e;return(null===(e=t.plugin(r))||void 0===e?void 0:e.mark... method constructor (line 1) | constructor(t){this.view=t,this.isDown=!1} method set (line 1) | set(t){this.isDown!=t&&(this.isDown=t,this.view.update([]))} method keydown (line 1) | keydown(t){this.set(t.keyCode==e||i(t))} method keyup (line 1) | keyup(t){t.keyCode!=e&&i(t)||this.set(!1)} method mousemove (line 1) | mousemove(t){this.set(i(t))} class yb (line 1) | class yb{constructor(t,e){this.timeLeftMS=void 0,this.timeoutMS=void 0,t... method constructor (line 1) | constructor(t,e){this.timeLeftMS=void 0,this.timeoutMS=void 0,this.isC... method tick (line 1) | tick(){if(!this.isCancelled&&!this.isTimeExhausted&&(this.timeLeftMS--... method cancel (line 1) | cancel(){this.isCancelled=!0,this.callbacks.length=0} method reset (line 1) | reset(){this.timeLeftMS=this.timeoutMS,this.isCancelled=!1,this.isTime... method isDone (line 1) | get isDone(){return this.isCancelled||this.isTimeExhausted} class kb (line 1) | class kb{constructor(){this.interval=null,this.latches=new Set}add(t){th... method constructor (line 1) | constructor(){this.interval=null,this.latches=new Set} method add (line 1) | add(t){this.latches.add(t),this.start()} method remove (line 1) | remove(t){this.latches.delete(t),0===this.latches.size&&this.stop()} method start (line 1) | start(){null===this.interval&&(this.interval=setInterval(()=>{this.lat... method stop (line 1) | stop(){null!==this.interval&&(clearInterval(this.interval),this.interv... function Cb (line 1) | function Cb(e){var{value:i,selection:n,onChange:r,onStatistics:s,onCreat... FILE: frontend/assets/main-BIi-kGYY.js function xt (line 14) | function xt(){const t=localStorage.getItem("token"),n=e.useCallback(asyn... function St (line 14) | function St(t=768){const[n,s]=e.useState(()=>"undefined"!=typeof window&... function Tt (line 14) | function Tt({children:t,className:e}){const{currentModule:s}=bt(),i=St()... function kt (line 14) | function kt(t){const n=e.useRef(null);return null===n.current&&(n.curren... function At (line 14) | function At(t,e){-1===t.indexOf(e)&&t.push(e)} function Ct (line 14) | function Ct(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)} function Lt (line 14) | function Lt(t){return"object"==typeof t&&null!==t} function It (line 14) | function It(t){let e;return()=>(void 0===e&&(e=t()),e)} class zt (line 14) | class zt{constructor(){this.subscriptions=[]}add(t){return At(this.subsc... method constructor (line 14) | constructor(){this.subscriptions=[]} method add (line 14) | add(t){return At(this.subscriptions,t),()=>Ct(this.subscriptions,t)} method notify (line 14) | notify(t,e,n){const s=this.subscriptions.length;if(s)if(1===s)this.sub... method getSize (line 14) | getSize(){return this.subscriptions.length} method clear (line 14) | clear(){this.subscriptions.length=0} function $t (line 14) | function $t(t,e){return e?t*(1e3/e):0} function Kt (line 14) | function Kt(t,e,n,s){if(t===e&&n===s)return Bt;const i=e=>function(t,e,n... function ue (line 14) | function ue(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing... function fe (line 14) | function fe(){pe=void 0} function Se (line 14) | function Se(t){return"string"==typeof t&&t.split("/*")[0].includes("var(... function Xe (line 14) | function Xe(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i... function He (line 14) | function He(t){return Xe(t).values} function qe (line 14) | function qe(t){const{split:e,types:n}=Xe(t),s=e.length;return t=>{let i=... function Je (line 14) | function Je(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5... function Qe (line 14) | function Qe(t,e){return n=>n>0?e:t} function sn (line 14) | function sn(t){const e=(n=t,nn.find(t=>t.test(n)));var n;if(!Boolean(e))... function an (line 14) | function an(t,e){return n=>tn(t,e,n)} function ln (line 14) | function ln(t){return"number"==typeof t?an:"string"==typeof t?we(t)?Qe:_... function un (line 14) | function un(t,e){const n=[...t],s=n.length,i=t.map((t,n)=>ln(t)(t,e[n]))... function cn (line 14) | function cn(t,e){const n={...t,...e},s={};for(const i in n)void 0!==t[i]... function dn (line 14) | function dn(t,e,n){if("number"==typeof t&&"number"==typeof e&&"number"==... function gn (line 14) | function gn(t){let e=0;let n=t.next(e);for(;!n.done&&evoid 0!==t[e])} function Fn (line 14) | function Fn(t=Pn,e=Tn){const n="object"!=typeof t?{visualDuration:t,keyf... function On (line 14) | function On({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,boun... function Un (line 14) | function Un(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const o=t.length;if(e.le... function zn (line 14) | function zn(t){const e=[0];return function(t,e){const n=t[t.length-1];fo... function _n (line 14) | function _n({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){con... function $n (line 14) | function $n(t,{repeat:e,repeatType:n="loop"},s,i=1){const o=t.filter(Wn)... function Kn (line 14) | function Kn(t){"string"==typeof t.type&&(t.type=Yn[t.type])} class Xn (line 14) | class Xn{constructor(){this.updateFinished()}get finished(){return this.... method constructor (line 14) | constructor(){this.updateFinished()} method finished (line 14) | get finished(){return this._finished} method updateFinished (line 14) | updateFinished(){this._finished=new Promise(t=>{this.resolve=t})} method notifyFinished (line 14) | notifyFinished(){this.resolve()} method then (line 14) | then(t,e){return this.finished.then(t,e)} class qn (line 14) | class qn extends Xn{constructor(t){super(),this.state="idle",this.startT... method constructor (line 14) | constructor(t){super(),this.state="idle",this.startTime=null,this.isSt... method initAnimation (line 14) | initAnimation(){const{options:t}=this;Kn(t);const{type:e=_n,repeat:n=0... method updateTime (line 14) | updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;... method tick (line 14) | tick(t,e=!1){const{generator:n,totalDuration:s,mixKeyframes:i,mirrored... method then (line 14) | then(t,e){return this.finished.then(t,e)} method duration (line 14) | get duration(){return Wt(this.calculatedDuration)} method iterationDuration (line 14) | get iterationDuration(){const{delay:t=0}=this.options||{};return this.... method time (line 14) | get time(){return Wt(this.currentTime)} method time (line 14) | set time(t){var e;t=_t(t),this.currentTime=t,null===this.startTime||nu... method speed (line 14) | get speed(){return this.playbackSpeed} method speed (line 14) | set speed(t){this.updateTime(ge.now());const e=this.playbackSpeed!==t;... method play (line 14) | play(){var t,e;if(this.isStopped)return;const{driver:n=mn,startTime:s}... method pause (line 14) | pause(){this.state="paused",this.updateTime(ge.now()),this.holdTime=th... method complete (line 14) | complete(){"running"!==this.state&&this.play(),this.state="finished",t... method finish (line 14) | finish(){var t,e;this.notifyFinished(),this.teardown(),this.state="fin... method cancel (line 14) | cancel(){var t,e;this.holdTime=null,this.startTime=0,this.tick(0),this... method teardown (line 14) | teardown(){this.state="idle",this.stopDriver(),this.startTime=this.hol... method stopDriver (line 14) | stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)} method sample (line 14) | sample(t){return this.startTime=0,this.tick(t,!0)} method attachTimeline (line 14) | attachTimeline(t){var e;return this.options.allowFlatten&&(this.option... function ss (line 14) | function ss(t){return t.includes("scale")?1:0} function is (line 14) | function is(t,e){if(!t||"none"===t)return ss(e);const n=t.match(/^matrix... function os (line 14) | function os(t){return parseFloat(t.trim())} function gs (line 14) | function gs(){if(ps){const t=Array.from(ds).filter(t=>t.needsMeasurement... function ys (line 14) | function ys(){ds.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ps=!... class vs (line 14) | class vs{constructor(t,e,n,s,i,o=!1){this.state="pending",this.isAsync=!... method constructor (line 14) | constructor(t,e,n,s,i,o=!1){this.state="pending",this.isAsync=!1,this.... method scheduleResolve (line 14) | scheduleResolve(){this.state="scheduled",this.isAsync?(ds.add(this),ms... method readKeyframes (line 14) | readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionVal... method setFinalKeyframe (line 14) | setFinalKeyframe(){} method measureInitialState (line 14) | measureInitialState(){} method renderEndStyles (line 14) | renderEndStyles(){} method measureEndState (line 14) | measureEndState(){} method complete (line 14) | complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKe... method cancel (line 14) | cancel(){"scheduled"===this.state&&(ds.delete(this),this.state="pendin... method resume (line 14) | resume(){"pending"===this.state&&this.scheduleResolve()} function bs (line 14) | function bs(t,e){const n=It(t);return()=>ws[e]??n()} function ks (line 14) | function ks(t,e){return t?"function"==typeof t?Ss()?pn(t,e):"ease-out":o... function js (line 14) | function js(t,e,n,{delay:s=0,duration:i=300,repeat:o=0,repeatType:r="loo... function Ms (line 14) | function Ms(t){return"function"==typeof t&&"applyToOptions"in t} class Es (line 14) | class Es extends Xn{constructor(t){if(super(),this.finishedTime=null,thi... method constructor (line 14) | constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,thi... method play (line 14) | play(){this.isStopped||(this.manualStartTime=null,this.animation.play(... method pause (line 14) | pause(){this.animation.pause()} method complete (line 14) | complete(){var t,e;null==(e=(t=this.animation).finish)||e.call(t)} method cancel (line 14) | cancel(){try{this.animation.cancel()}catch(t){}} method stop (line 14) | stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;... method commitStyles (line 14) | commitStyles(){var t,e;this.isPseudoElement||null==(e=(t=this.animatio... method duration (line 14) | get duration(){var t,e;const n=(null==(e=null==(t=this.animation.effec... method iterationDuration (line 14) | get iterationDuration(){const{delay:t=0}=this.options||{};return this.... method time (line 14) | get time(){return Wt(Number(this.animation.currentTime)||0)} method time (line 14) | set time(t){this.manualStartTime=null,this.finishedTime=null,this.anim... method speed (line 14) | get speed(){return this.animation.playbackRate} method speed (line 14) | set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t} method state (line 14) | get state(){return null!==this.finishedTime?"finished":this.animation.... method startTime (line 14) | get startTime(){return this.manualStartTime??Number(this.animation.sta... method startTime (line 14) | set startTime(t){this.manualStartTime=this.animation.startTime=t} method attachTimeline (line 14) | attachTimeline({timeline:t,observe:e}){var n;return this.allowFlatten&... function Cs (line 14) | function Cs(t){"string"==typeof t.ease&&t.ease in As&&(t.ease=As[t.ease])} class Vs (line 14) | class Vs extends Es{constructor(t){Cs(t),Kn(t),super(t),void 0!==t.start... method constructor (line 14) | constructor(t){Cs(t),Kn(t),super(t),void 0!==t.startTime&&(this.startT... method updateMotionValue (line 14) | updateMotionValue(t){const{motionValue:e,onUpdate:n,onComplete:s,eleme... function Rs (line 14) | function Rs(t){t.duration=0,t.type="keyframes"} class Is (line 14) | class Is extends Xn{constructor({autoplay:t=!0,delay:e=0,type:n="keyfram... method constructor (line 14) | constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:s=0,rep... method onKeyframesResolved (line 14) | onKeyframesResolved(t,e,n,s){this.keyframeResolver=void 0;const{name:i... method finished (line 14) | get finished(){return this._animation?this.animation.finished:this._fi... method then (line 14) | then(t,e){return this.finished.finally(t).then(()=>{})} method animation (line 14) | get animation(){var t;return this._animation||(null==(t=this.keyframeR... method duration (line 14) | get duration(){return this.animation.duration} method iterationDuration (line 14) | get iterationDuration(){return this.animation.iterationDuration} method time (line 14) | get time(){return this.animation.time} method time (line 14) | set time(t){this.animation.time=t} method speed (line 14) | get speed(){return this.animation.speed} method state (line 14) | get state(){return this.animation.state} method speed (line 14) | set speed(t){this.animation.speed=t} method startTime (line 14) | get startTime(){return this.animation.startTime} method attachTimeline (line 14) | attachTimeline(t){return this._animation?this.stopTimeline=this.animat... method play (line 14) | play(){this.animation.play()} method pause (line 14) | pause(){this.animation.pause()} method complete (line 14) | complete(){this.animation.complete()} method cancel (line 14) | cancel(){var t;this._animation&&this.animation.cancel(),null==(t=this.... function Fs (line 14) | function Fs(t,e,n=1){const[s,i]=function(t){const e=Bs.exec(t);if(!e)ret... function Os (line 14) | function Os(t,e){return(null==t?void 0:t[e])??(null==t?void 0:t.default)... function $s (line 14) | function $s(t){return"number"==typeof t?0===t:null===t||("none"===t||"0"... function Ks (line 14) | function Ks(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)... function Qs (line 14) | function Qs(t,e){let n=Js(t);return n!==Hs&&(n=Ze),n.getAnimatableNone?n... class ei (line 14) | class ei extends vs{constructor(t,e,n,s,i){super(t,e,n,s,i,!0)}readKeyfr... method constructor (line 14) | constructor(t,e,n,s,i){super(t,e,n,s,i,!0)} method readKeyframes (line 14) | readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(... method resolveNoneKeyframes (line 14) | resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];f... method measureInitialState (line 14) | measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=th... method measureEndState (line 14) | measureEndState(){var t;const{element:e,name:n,unresolvedKeyframes:s}=... function si (line 14) | function si(t){return Lt(t)&&"offsetHeight"in t} class ii (line 14) | class ii{constructor(t,e={}){this.canTrackVelocity=null,this.events={},t... method constructor (line 14) | constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.upd... method setCurrent (line 14) | setCurrent(t){var e;this.current=t,this.updatedAt=ge.now(),null===this... method setPrevFrameValue (line 14) | setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdat... method onChange (line 14) | onChange(t){return this.on("change",t)} method on (line 14) | on(t,e){this.events[t]||(this.events[t]=new zt);const n=this.events[t]... method clearListeners (line 14) | clearListeners(){for(const t in this.events)this.events[t].clear()} method attach (line 14) | attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e} method set (line 14) | set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):t... method setWithVelocity (line 14) | setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValu... method jump (line 14) | jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=th... method dirty (line 14) | dirty(){var t;null==(t=this.events.change)||t.notify(this.current)} method addDependent (line 14) | addDependent(t){this.dependents||(this.dependents=new Set),this.depend... method removeDependent (line 14) | removeDependent(t){this.dependents&&this.dependents.delete(t)} method get (line 14) | get(){return this.current} method getPrevious (line 14) | getPrevious(){return this.prev} method getVelocity (line 14) | getVelocity(){const t=ge.now();if(!this.canTrackVelocity||void 0===thi... method start (line 14) | start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.a... method stop (line 14) | stop(){this.animation&&(this.animation.stop(),this.events.animationCan... method isAnimating (line 14) | isAnimating(){return!!this.animation} method clearAnimation (line 14) | clearAnimation(){delete this.animation} method destroy (line 14) | destroy(){var t,e;null==(t=this.dependents)||t.clear(),null==(e=this.e... function oi (line 14) | function oi(t,e){return new ii(t,e)} function li (line 14) | function li(){return ai.x||ai.y} function ui (line 14) | function ui(t,e){const n=function(t,e,n){if(t instanceof EventTarget)ret... function ci (line 14) | function ci(t){return!("touch"===t.pointerType||li())} function pi (line 14) | function pi(t){return mi.has(t.tagName)||!0===t.isContentEditable} function gi (line 14) | function gi(t){return e=>{"Enter"===e.key&&t(e)}} function yi (line 14) | function yi(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary... function vi (line 14) | function vi(t){return di(t)&&!li()} function xi (line 14) | function xi(t,e,n={}){const[s,i,o]=ui(t,n),r=t=>{const s=t.currentTarget... function wi (line 14) | function wi(t){return Lt(t)&&"ownerSVGElement"in t} function Pi (line 14) | function Pi(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current... function ki (line 14) | function ki(...t){return e.useCallback(function(...t){return e=>{let n=!... class ji (line 14) | class ji extends e.Component{getSnapshotBeforeUpdate(t){const e=this.pro... method getSnapshotBeforeUpdate (line 14) | getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if(e&&t... method componentDidUpdate (line 14) | componentDidUpdate(){} method render (line 14) | render(){return this.props.children} function Mi (line 14) | function Mi({children:t,isPresent:s,anchorX:i,root:o}){var r;const a=e.u... function Ai (line 14) | function Ai(){return new Map} function Ci (line 14) | function Ci(t=!0){const n=e.useContext(Et);if(null===n)return[!0,null];c... function Di (line 14) | function Di(t){const n=[];return e.Children.forEach(t,t=>{e.isValidEleme... function Fi (line 14) | function Fi(t){return t.startsWith("while")||t.startsWith("drag")&&"drag... function _i (line 14) | function _i(t){return null!==t&&"object"==typeof t&&"function"==typeof t... function Wi (line 14) | function Wi(t){return"string"==typeof t||Array.isArray(t)} function Ki (line 14) | function Ki(t){return _i(t.animate)||Yi.some(e=>Wi(t[e]))} function Xi (line 14) | function Xi(t){return Boolean(Ki(t)||t.variants)} function Hi (line 14) | function Hi(t){const{initial:n,animate:s}=function(t,e){if(Ki(t)){const{... function qi (line 14) | function qi(t){return Array.isArray(t)?t.join(" "):t} function Gi (line 14) | function Gi(t,e){return e.max===e.min?0:t/(e.max-e.min)*100} function to (line 14) | function to(t,{layout:e,layoutId:n}){return as.has(t)||t.startsWith("ori... function so (line 14) | function so(t,e,n){const{style:s,vars:i,transformOrigin:o}=t;let r=!1,a=... function oo (line 14) | function oo(t,e,n){for(const s in e)bi(e[s])||to(s,n)||(t[s]=e[s])} function ro (line 14) | function ro(t,n){const s={};return oo(s,t.style||{},t),Object.assign(s,f... function ao (line 14) | function ao(t,e){const n={},s=ro(t,e);return t.drag&&!1!==t.dragListener... function ho (line 14) | function ho(t,{attrX:e,attrY:n,attrScale:s,pathLength:i,pathSpacing:o=1,... function fo (line 14) | function fo(t,n,s,i){const o=e.useMemo(()=>{const e={style:{},transform:... function yo (line 14) | function yo(t){return"string"==typeof t&&!t.includes("-")&&!!(go.indexOf... function vo (line 14) | function vo(t,n,s,{latestValues:i},o,r=!1,a){const l=(a??yo(t)?fo:ao)(n,... function xo (line 14) | function xo(t){const e=[{},{}];return null==t||t.values.forEach((t,n)=>{... function wo (line 14) | function wo(t,e,n,s){if("function"==typeof e){const[i,o]=xo(s);e=e(void ... function bo (line 14) | function bo(t){return bi(t)?t.get():t} function So (line 14) | function So(t,e,n,s){const i={},o=s(t,{});for(const d in o)i[d]=bo(o[d])... function Po (line 14) | function Po(t,e,n){var s;const{style:i}=t,o={};for(const r in i)(bi(i[r]... function jo (line 14) | function jo(t,e,n){const s=Po(t,e,n);for(const i in t)if(bi(t[i])||bi(e[... function Ao (line 14) | function Ao(t,n,s){const i=e.useRef(s);e.useInsertionEffect(()=>{i.curre... function Ro (line 14) | function Ro(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProp... function Lo (line 14) | function Lo(t,n,s,i,o,r){var a,l;const{visualElement:u}=e.useContext(zi)... function No (line 14) | function No(t){if(t)return!1!==t.options.allowProjection?t.projection:No... function Io (line 14) | function Io(t,{forwardMotionProps:s=!1,type:i}={},o,r){o&&function(t){fo... function Bo (line 14) | function Bo({layoutId:t}){const n=e.useContext(Pt).id;return n&&void 0!=... function Fo (line 14) | function Fo(t,e){if("undefined"==typeof Proxy)return Io;const n=new Map,... function Oo (line 14) | function Oo({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{m... function Uo (line 14) | function Uo(t){return void 0===t||1===t} function zo (line 14) | function zo({scale:t,scaleX:e,scaleY:n}){return!Uo(t)||!Uo(e)||!Uo(n)} function _o (line 14) | function _o(t){return zo(t)||Wo(t)||t.z||t.rotate||t.rotateX||t.rotateY|... function Wo (line 14) | function Wo(t){return $o(t.x)||$o(t.y)} function $o (line 14) | function $o(t){return t&&"0%"!==t} function Yo (line 14) | function Yo(t,e,n){return n+e*(t-n)} function Ko (line 14) | function Ko(t,e,n,s,i){return void 0!==i&&(t=Yo(t,i,s)),Yo(t,n,s)+e} function Xo (line 14) | function Xo(t,e=0,n=1,s,i){t.min=Ko(t.min,e,n,s,i),t.max=Ko(t.max,e,n,s,i)} function Ho (line 14) | function Ho(t,{x:e,y:n}){Xo(t.x,e.translate,e.scale,e.originPoint),Xo(t.... function Zo (line 14) | function Zo(t,e){t.min=t.min+e,t.max=t.max+e} function Jo (line 14) | function Jo(t,e,n,s,i=.5){Xo(t,e,n,tn(t.min,t.max,i),s)} function Qo (line 14) | function Qo(t,e){Jo(t.x,e.x,e.scaleX,e.scale,e.originX),Jo(t.y,e.y,e.sca... function tr (line 14) | function tr(t,e){return Oo(function(t,e){if(!e)return t;const n=e({x:t.l... class rr (line 14) | class rr{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent... method scrapeMotionValuesFromProps (line 14) | scrapeMotionValuesFromProps(t,e,n){return{}} method constructor (line 14) | constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:s,... method mount (line 14) | mount(t){var e;this.current=t,ir.set(t,this),this.projection&&!this.pr... method unmount (line 14) | unmount(){var t;this.projection&&this.projection.unmount(),he(this.not... method addChild (line 14) | addChild(t){this.children.add(t),this.enteringChildren??(this.entering... method removeChild (line 14) | removeChild(t){this.children.delete(t),this.enteringChildren&&this.ent... method bindToMotionValue (line 14) | bindToMotionValue(t,e){this.valueSubscriptions.has(t)&&this.valueSubsc... method sortNodePosition (line 14) | sortNodePosition(t){return this.current&&this.sortInstanceNodePosition... method updateFeatures (line 14) | updateFeatures(){let t="animation";for(t in Ii){const e=Ii[t];if(!e)co... method triggerBuild (line 14) | triggerBuild(){this.build(this.renderState,this.latestValues,this.props)} method measureViewportBox (line 14) | measureViewportBox(){return this.current?this.measureInstanceViewportB... method getStaticValue (line 14) | getStaticValue(t){return this.latestValues[t]} method setStaticValue (line 14) | setStaticValue(t,e){this.latestValues[t]=e} method update (line 14) | update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.... method getProps (line 14) | getProps(){return this.props} method getVariant (line 14) | getVariant(t){return this.props.variants?this.props.variants[t]:void 0} method getDefaultTransition (line 14) | getDefaultTransition(){return this.props.transition} method getTransformPagePoint (line 14) | getTransformPagePoint(){return this.props.transformPagePoint} method getClosestVariantNode (line 14) | getClosestVariantNode(){return this.isVariantNode?this:this.parent?thi... method addVariantChild (line 14) | addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.... method addValue (line 14) | addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t... method removeValue (line 14) | removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.g... method hasValue (line 14) | hasValue(t){return this.values.has(t)} method getValue (line 14) | getValue(t,e){if(this.props.values&&this.props.values[t])return this.p... method readValue (line 14) | readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.... method setBaseTarget (line 14) | setBaseTarget(t,e){this.baseTarget[t]=e} method getBaseTarget (line 14) | getBaseTarget(t){var e;const{initial:n}=this.props;let s;if("string"==... method on (line 14) | on(t,e){return this.events[t]||(this.events[t]=new zt),this.events[t].... method notify (line 14) | notify(t,...e){this.events[t]&&this.events[t].notify(...e)} method scheduleRenderMicrotask (line 14) | scheduleRenderMicrotask(){ri.render(this.render)} class ar (line 14) | class ar extends rr{constructor(){super(...arguments),this.KeyframeResol... method constructor (line 14) | constructor(){super(...arguments),this.KeyframeResolver=ei} method sortInstanceNodePosition (line 14) | sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1} method getBaseTargetFromProps (line 14) | getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0} method removeValueFromRenderState (line 14) | removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]} method handleChildMotionValue (line 14) | handleChildMotionValue(){this.childSubscription&&(this.childSubscripti... function lr (line 14) | function lr(t,{style:e,vars:n},s,i){const o=t.style;let r;for(r in e)o[r... class ur (line 14) | class ur extends ar{constructor(){super(...arguments),this.type="html",t... method constructor (line 14) | constructor(){super(...arguments),this.type="html",this.renderInstance... method readValueFromInstance (line 14) | readValueFromInstance(t,e){var n,s;if(as.has(e))return(null==(n=this.p... method measureInstanceViewportBox (line 14) | measureInstanceViewportBox(t,{transformPagePoint:e}){return tr(t,e)} method build (line 14) | build(t,e,n){so(t,e,n.transformTemplate)} method scrapeMotionValuesFromProps (line 14) | scrapeMotionValuesFromProps(t,e,n){return Po(t,e,n)} class hr (line 14) | class hr extends ar{constructor(){super(...arguments),this.type="svg",th... method constructor (line 14) | constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,thi... method getBaseTargetFromProps (line 14) | getBaseTargetFromProps(t,e){return t[e]} method readValueFromInstance (line 14) | readValueFromInstance(t,e){if(as.has(e)){const t=Js(e);return t&&t.def... method scrapeMotionValuesFromProps (line 14) | scrapeMotionValuesFromProps(t,e,n){return jo(t,e,n)} method build (line 14) | build(t,e,n){ho(t,e,this.isSVGTag,n.transformTemplate,n.style)} method renderInstance (line 14) | renderInstance(t,e,n,s){!function(t,e,n,s){lr(t,e,void 0,s);for(const ... method mount (line 14) | mount(t){this.isSVGTag=po(t.tagName),super.mount(t)} function mr (line 14) | function mr(t,e,n){const s=t.getProps();return wo(s,e,void 0!==n?n:s.cus... function fr (line 14) | function fr(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,oi(n))} function gr (line 14) | function gr(t){return pr(t)?t[t.length-1]||0:t} function yr (line 14) | function yr(t,e){const n=t.getValue("willChange");if(s=n,Boolean(bi(s)&&... function vr (line 14) | function vr(t){return t.props[Vo]} function kr (line 14) | function kr({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProper... function jr (line 14) | function jr(t,e,{delay:n=0,transitionOverride:s,type:i}={}){let{transiti... function Mr (line 14) | function Mr(t,e,n,s=0,i=1){const o=Array.from(t).sort((t,e)=>t.sortNodeP... function Er (line 14) | function Er(t,e,n={}){var s;const i=mr(t,e,"exit"===n.type?null==(s=t.pr... function Ar (line 14) | function Ar(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t... function Vr (line 14) | function Vr(t){if(!t)return;if(!t.isControllingVariants){const e=t.paren... function Lr (line 14) | function Lr(t){return e=>Promise.all(e.map(({animation:e,options:n})=>fu... function Nr (line 14) | function Nr(t){let e=Lr(t),n=Fr(),s=!0;const i=e=>(n,s)=>{var i;const o=... function Ir (line 14) | function Ir(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!Ar(... function Br (line 14) | function Br(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},p... function Fr (line 14) | function Fr(){return{animate:Br(!0),whileInView:Br(),whileHover:Br(),whi... class Or (line 14) | class Or{constructor(t){this.isMounted=!1,this.node=t}update(){}} method constructor (line 14) | constructor(t){this.isMounted=!1,this.node=t} method update (line 14) | update(){} method constructor (line 14) | constructor(t){super(t),t.animationState||(t.animationState=Nr(t))} method updateAnimationControlsSubscription (line 14) | updateAnimationControlsSubscription(){const{animate:t}=this.node.getProp... method mount (line 14) | mount(){this.updateAnimationControlsSubscription()} method update (line 14) | update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.pre... method unmount (line 14) | unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountCo... method constructor (line 14) | constructor(){super(...arguments),this.id=Ur++} method update (line 14) | update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitCo... method mount (line 14) | mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{}... method unmount (line 14) | unmount(){} function _r (line 14) | function _r(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t... function Wr (line 14) | function Wr(t){return{point:{x:t.pageX,y:t.pageY}}} function $r (line 14) | function $r(t,e,n,s){return _r(t,e,(t=>e=>di(e)&&t(e,Wr(e)))(n),s)} function Yr (line 14) | function Yr(t){return t.max-t.min} function Kr (line 14) | function Kr(t,e,n,s=.5){t.origin=s,t.originPoint=tn(e.min,e.max,t.origin... function Xr (line 14) | function Xr(t,e,n,s){Kr(t.x,e.x,n.x,s?s.originX:void 0),Kr(t.y,e.y,n.y,s... function Hr (line 14) | function Hr(t,e,n){t.min=n.min+e.min,t.max=t.min+Yr(e)} function qr (line 14) | function qr(t,e,n){t.min=e.min-n.min,t.max=t.min+Yr(e)} function Gr (line 14) | function Gr(t,e,n){qr(t.x,e.x,n.x),qr(t.y,e.y,n.y)} function Zr (line 14) | function Zr(t){return[t("x"),t("y")]} class ea (line 14) | class ea{constructor(t,e,{transformPagePoint:n,contextWindow:s=window,dr... method constructor (line 14) | constructor(t,e,{transformPagePoint:n,contextWindow:s=window,dragSnapT... method startScrollTracking (line 14) | startScrollTracking(t){let e=t.parentElement;for(;e;){const t=getCompu... method handleScroll (line 14) | handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const... method updateHandlers (line 14) | updateHandlers(t){this.handlers=t} method end (line 14) | end(){this.removeListeners&&this.removeListeners(),this.removeScrollLi... function na (line 14) | function na(t,e){return e?{point:e(t.point)}:t} function sa (line 14) | function sa(t,e){return{x:t.x-e.x,y:t.y-e.y}} function ia (line 14) | function ia({point:t},e){return{point:t,delta:sa(t,ra(e)),offset:sa(t,oa... function oa (line 14) | function oa(t){return t[0]} function ra (line 14) | function ra(t){return t[t.length-1]} function aa (line 14) | function aa(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;c... function la (line 14) | function la(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t... function ua (line 14) | function ua(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.minthis.getAxisMotionValue(t).stop())} method pauseAnimation (line 14) | pauseAnimation(){Zr(t=>{var e;return null==(e=this.getAxisMotionValue(... method getAnimationState (line 14) | getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).... method getAxisMotionValue (line 14) | getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualE... method snapToCursor (line 14) | snapToCursor(t){Zr(e=>{const{drag:n}=this.getProps();if(!fa(e,n,this.c... method scalePositionWithinConstraints (line 14) | scalePositionWithinConstraints(){if(!this.visualElement.current)return... method addListeners (line 14) | addListeners(){if(!this.visualElement.current)return;ma.set(this.visua... method getProps (line 14) | getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirect... function fa (line 14) | function fa(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)} class xa (line 14) | class xa extends e.Component{componentDidMount(){const{visualElement:t,l... method componentDidMount (line 14) | componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGr... method getSnapshotBeforeUpdate (line 14) | getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,dr... method componentDidUpdate (line 14) | componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(... method componentWillUnmount (line 14) | componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayou... method safeToRemove (line 14) | safeToRemove(){const{safeToRemove:t}=this.props;t&&t()} method render (line 14) | render(){return null} function wa (line 14) | function wa(t){const[s,i]=Ci(),o=e.useContext(Pt);return n.jsx(xa,{...t,... class Sa (line 14) | class Sa{constructor(){this.children=[],this.isDirty=!1}add(t){At(this.c... method constructor (line 14) | constructor(){this.children=[],this.isDirty=!1} method add (line 14) | add(t){At(this.children,t),this.isDirty=!0} method remove (line 14) | remove(t){Ct(this.children,t),this.isDirty=!0} method forEach (line 14) | forEach(t){this.isDirty&&this.children.sort(ba),this.isDirty=!1,this.c... function Ma (line 14) | function Ma(t,e){return void 0!==t[e]?t[e]:t.borderRadius} function Ca (line 14) | function Ca(t,e,n){return s=>se?1:n(Ut(t,e,s))} function Va (line 14) | function Va(t,e){t.min=e.min,t.max=e.max} function Da (line 14) | function Da(t,e){Va(t.x,e.x),Va(t.y,e.y)} function Ra (line 14) | function Ra(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e... function La (line 14) | function La(t,e,n,s,i){return t=Yo(t-=e,1/n,s),void 0!==i&&(t=Yo(t,1/i,s... function Na (line 14) | function Na(t,e,[n,s,i],o,r){!function(t,e=0,n=1,s=.5,i,o=t,r=t){Ie.test... function Fa (line 14) | function Fa(t,e,n,s){Na(t.x,e,Ia,n?n.x:void 0,s?s.x:void 0),Na(t.y,e,Ba,... function Oa (line 14) | function Oa(t){return 0===t.translate&&1===t.scale} function Ua (line 14) | function Ua(t){return Oa(t.x)&&Oa(t.y)} function za (line 14) | function za(t,e){return t.min===e.min&&t.max===e.max} function _a (line 14) | function _a(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.roun... function Wa (line 14) | function Wa(t,e){return _a(t.x,e.x)&&_a(t.y,e.y)} function $a (line 14) | function $a(t){return Yr(t.x)/Yr(t.y)} function Ya (line 14) | function Ya(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.... class Ka (line 14) | class Ka{constructor(){this.members=[]}add(t){At(this.members,t),t.sched... method constructor (line 14) | constructor(){this.members=[]} method add (line 14) | add(t){At(this.members,t),t.scheduleRender()} method remove (line 14) | remove(t){if(Ct(this.members,t),t===this.prevLead&&(this.prevLead=void... method relegate (line 14) | relegate(t){const e=this.members.findIndex(e=>t===e);if(0===e)return!1... method promote (line 14) | promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,... method exitAnimationComplete (line 14) | exitAnimationComplete(){this.members.forEach(t=>{const{options:e,resum... method scheduleRender (line 14) | scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender... method removeLeadSnapshot (line 14) | removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapsho... function qa (line 14) | function qa(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStati... function Ga (line 14) | function Ga(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const... function Za (line 14) | function Za({attachResizeListener:t,defaultParent:e,measureScroll:n,chec... function Ja (line 14) | function Ja(t){t.updateLayout()} function Qa (line 14) | function Qa(t){var e;const n=(null==(e=t.resumeFrom)?void 0:e.snapshot)|... function tl (line 14) | function tl(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.paren... function el (line 14) | function el(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransfo... function nl (line 14) | function nl(t){t.clearSnapshot()} function sl (line 14) | function sl(t){t.clearMeasurements()} function il (line 14) | function il(t){t.isLayoutDirty=!1} function ol (line 14) | function ol(t){const{visualElement:e}=t.options;e&&e.getProps().onBefore... function rl (line 14) | function rl(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.targ... function al (line 14) | function al(t){t.resolveTargetDelta()} function ll (line 14) | function ll(t){t.calcProjection()} function ul (line 14) | function ul(t){t.resetSkewAndRotation()} function cl (line 14) | function cl(t){t.removeLeadSnapshot()} function hl (line 14) | function hl(t,e,n){t.translate=tn(e.translate,0,n),t.scale=tn(e.scale,1,... function dl (line 14) | function dl(t,e,n,s){t.min=tn(e.min,n.min,s),t.max=tn(e.max,n.max,s)} function ml (line 14) | function ml(t){return t.animationValues&&void 0!==t.animationValues.opac... function yl (line 14) | function yl(t){t.min=gl(t.min),t.max=gl(t.max)} function vl (line 14) | function vl(t,e,n){return"position"===t||"preserve-aspect"===t&&(s=$a(e)... function xl (line 14) | function xl(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.was... method constructor (line 14) | constructor(){super(...arguments),this.removePointerDownListener=Bt} method onPointerDown (line 14) | onPointerDown(t){this.session=new ea(t,this.createPanHandlers(),{transfo... method createPanHandlers (line 14) | createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPan... method mount (line 14) | mount(){this.removePointerDownListener=$r(this.node.current,"pointerdown... method update (line 14) | update(){this.session&&this.session.updateHandlers(this.createPanHandler... method unmount (line 14) | unmount(){this.removePointerDownListener(),this.session&&this.session.en... method constructor (line 14) | constructor(t){super(t),this.removeGroupControls=Bt,this.removeListeners... method mount (line 14) | mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupC... method update (line 14) | update(){const{dragControls:t}=this.node.getProps(),{dragControls:e}=thi... method unmount (line 14) | unmount(){this.removeGroupControls(),this.removeListeners()} function Pl (line 14) | function Pl(t,e,n){const{props:s}=t;t.animationState&&s.whileHover&&t.an... function kl (line 14) | function kl(t,e,n){const{props:s}=t;if(t.current instanceof HTMLButtonEl... function Cl (line 14) | function Cl(t,e,n){const s=function({root:t,...e}){const n=t||document;M... method constructor (line 14) | constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1} method startObserver (line 14) | startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps()... method mount (line 14) | mount(){this.startObserver()} method update (line 14) | update(){if("undefined"==typeof IntersectionObserver)return;const{props:... method unmount (line 14) | unmount(){} method mount (line 14) | mount(){const{current:t}=this.node;t&&(this.unmount=xi(t,(t,e)=>(kl(this... method unmount (line 14) | unmount(){} method constructor (line 14) | constructor(){super(...arguments),this.isActive=!1} method onFocus (line 14) | onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}cat... method onBlur (line 14) | onBlur(){this.isActive&&this.node.animationState&&(this.node.animationSt... method mount (line 14) | mount(){this.unmount=Ot(_r(this.node.current,"focus",()=>this.onFocus())... method unmount (line 14) | unmount(){} method mount (line 14) | mount(){const{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){c... method unmount (line 14) | unmount(){} function Rl (line 14) | function Rl({icon:t,label:s,isActive:i,onClick:o,isPlanned:r=!1,tooltipS... function Ll (line 14) | function Ll({isAdmin:t,className:s}){const{t:i}=a(),{currentModule:o,set... function Xl (line 14) | function Xl({close:t}){const{t:l}=a(),[u,c]=e.useState(""),[h,d]=e.useSt... function Hl (line 14) | function Hl({onLogout:t,className:s}){var i,l,u,h;const{t:d}=a(),[m,p]=e... function ql (line 14) | function ql({className:t}){const{t:e}=a(),{theme:s,resolvedTheme:i,setTh... function Gl (line 14) | function Gl({className:t,...e}){return n.jsx("div",{className:c("flex it... function Zl (line 14) | function Zl({onLogout:t,className:e}){const{t:s}=a(),{currentModule:i}=b... function Jl (line 14) | function Jl({children:t,isAdmin:e=!1,onLogout:s,className:i}){const{zenM... function uu (line 14) | function uu(){const{t:t}=a(),{isLoggedIn:l,login:u,logout:c}=(()=>{const... FILE: frontend/assets/markdown-editor-CX5kQlgI.js function R (line 13) | function R(){} function D (line 13) | function D(){} function M (line 13) | function M(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;f... function P (line 13) | function P(e,t){const n={};return(""===e[e.length-1]?[...e,""]:e).join((... function U (line 13) | function U(e,t){return(B.jsx?F:L).test(e)} function z (line 13) | function z(e){return""===e.replace(H,"")} class G (line 13) | class G{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=... method constructor (line 13) | constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)} function j (line 13) | function j(e,t){const n={},r={};for(const a of e)Object.assign(n,a.prope... function $ (line 13) | function $(e){return e.toLowerCase()} class q (line 13) | class q{constructor(e,t){this.attribute=t,this.property=e}} method constructor (line 13) | constructor(e,t){this.attribute=t,this.property=e} function ee (line 13) | function ee(){return 2**++Y} class re (line 13) | class re extends q{constructor(e,t,n,r){let a=-1;if(super(e,t),ae(this,"... method constructor (line 13) | constructor(e,t,n,r){let a=-1;if(super(e,t),ae(this,"space",r),"number... function ae (line 13) | function ae(e,t,n){n&&(e[t]=n)} function ie (line 13) | function ie(e){const t={},n={};for(const[r,a]of Object.entries(e.propert... function oe (line 13) | function oe(e,t){return t in e?e[t]:t} function le (line 13) | function le(e,t){return oe(e,t.toLowerCase())} function Ee (line 13) | function Ee(e,t){const n=$(t);let r=t,a=q;if(n in e.normal)return e.prop... function ye (line 13) | function ye(e){return"-"+e.toLowerCase()} function _e (line 13) | function _e(e){return e.charAt(1).toUpperCase()} function Se (line 13) | function Se(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f... function ve (line 13) | function ve(e){return e.join(" ").trim()} function we (line 13) | function we(){if(Ce)return xe;Ce=1;var e=xe&&xe.__importDefault||functio... function Me (line 13) | function Me(){if(Ie)return De;Ie=1,Object.defineProperty(De,"__esModule"... function n (line 13) | function n(n,r){var a={};return n&&"string"==typeof n?((0,e.default)(n,f... function Be (line 13) | function Be(e){return function(t){const n=t&&t.position&&t.position[e]||... function Ue (line 13) | function Ue(e){const t=Fe(e),n=Le(e);if(t&&n)return{start:t,end:n}} function He (line 13) | function He(e){return e&&"object"==typeof e?"position"in e||"type"in e?G... function ze (line 13) | function ze(e){return je(e&&e.line)+":"+je(e&&e.column)} function Ge (line 13) | function Ge(e){return ze(e&&e.start)+"-"+ze(e&&e.end)} function je (line 13) | function je(e){return e&&"number"==typeof e?e:1} class $e (line 13) | class $e extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n... method constructor (line 13) | constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r=""... function Xe (line 13) | function Xe(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expecte... function Ze (line 13) | function Ze(e,t,n){return"element"===t.type?function(e,t,n){const r=e.sc... function Je (line 13) | function Je(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.... function et (line 13) | function et(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children... function tt (line 13) | function tt(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:Ye;for(;... function nt (line 13) | function nt(e,t,n){const r=Ee(e.schema,t);if(!(null==n||"number"==typeof... function rt (line 13) | function rt(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");l... function at (line 13) | function at(e,t){const n=new $e("Cannot handle MDX estrees without `crea... function it (line 13) | function it(e){let t=e.replace(We,st);return"ms-"===t.slice(0,3)&&(t="-"... function st (line 13) | function st(e){return"-"+e.toLowerCase()} function ct (line 13) | function ct(e,t){return ut(e,"boolean"!=typeof lt.includeImageAlt||lt.in... function ut (line 13) | function ut(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}... function dt (line 13) | function dt(e,t,n){const r=[];let a=-1;for(;++aa?0:a+t:t>a?... function mt (line 13) | function mt(e,t){return e.length>0?(ft(e,e.length,0,t),e):t} function bt (line 13) | function bt(e){const t={};let n=-1;for(;++n13&&... function kt (line 13) | function kt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").... function At (line 13) | function At(e){return null!==e&&(e<32||127===e)} function wt (line 13) | function wt(e){return null!==e&&e<-2} function It (line 13) | function It(e){return null!==e&&(e<0||32===e)} function Ot (line 13) | function Ot(e){return-2===e||-1===e||32===e} function Mt (line 13) | function Mt(e){return function(t){return null!==t&&t>-1&&e.test(String.f... function Pt (line 13) | function Pt(e){const t=[];let n=-1,r=0,a=0;for(;++nr;){const r=n[a];t.containerState... function E (line 13) | function E(){r.write([null]),a=void 0,r=void 0,t.containerState._closeFl... function Ht (line 13) | function Ht(e){return null===e||It(e)||Dt(e)?1:Rt(e)?2:void 0} function zt (line 13) | function zt(e,t,n){const r=[];let a=-1;for(;++a=o?(e.exit("codeFenced... function d (line 13) | function d(r){return null===r||wt(r)?(e.exit("codeFencedFence"),t(r)):n(r)} function l (line 13) | function l(t){return t===i?(o++,e.consume(t),l):o<3?n(t):(e.exit("codeFe... function c (line 13) | function c(n){return null===n||wt(n)?(e.exit("codeFencedFence"),r.interr... function u (line 13) | function u(t){return null===t||wt(t)?(e.exit("chunkString"),e.exit("code... function d (line 13) | function d(t){return null===t||wt(t)?c(t):(e.enter("codeFencedFenceMeta"... function p (line 13) | function p(t){return null===t||wt(t)?(e.exit("chunkString"),e.exit("code... function h (line 13) | function h(t){return e.attempt(a,E,f)(t)} function f (line 13) | function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEndi... function m (line 13) | function m(t){return s>0&&Ot(t)?Lt(e,g,"linePrefix",s+1)(t):g(t)} function g (line 13) | function g(t){return null===t||wt(t)?e.check(Kt,h,E)(t):(e.enter("codeFl... function b (line 13) | function b(t){return null===t||wt(t)?(e.exit("codeFlowValue"),g(t)):(e.c... function E (line 13) | function E(n){return e.exit("codeFenced"),t(n)} function a (line 13) | function a(e){const t=r.events[r.events.length-1];return t&&"linePrefix"... function i (line 13) | function i(t){return null===t?o(t):wt(t)?e.attempt(Zt,i,o)(t):(e.enter("... function s (line 13) | function s(t){return null===t||wt(t)?(e.exit("codeFlowValue"),i(t)):(e.c... function o (line 13) | function o(n){return e.exit("codeIndented"),t(n)} function a (line 13) | function a(t){return r.parser.lazy[r.now().line]?n(t):wt(t)?(e.enter("li... function i (line 13) | function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"... function s (line 13) | function s(t){return 96===t?(e.consume(t),i++,s):(e.exit("codeTextSequen... function o (line 13) | function o(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t)... function l (line 13) | function l(t){return null===t||32===t||96===t||wt(t)?(e.exit("codeTextDa... function c (line 13) | function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeText... class en (line 13) | class en{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<... method constructor (line 13) | constructor(e){this.left=e?[...e]:[],this.right=[]} method get (line 13) | get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeEr... method length (line 13) | get length(){return this.left.length+this.right.length} method shift (line 13) | shift(){return this.setCursor(0),this.right.pop()} method slice (line 13) | slice(e,t){const n=null==t?Number.POSITIVE_INFINITY:t;return nthis.left.length&&0===this.r... function tn (line 13) | function tn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n=3&... function s (line 13) | function s(t){return t===r?(e.consume(t),a++,s):(e.exit("thematicBreakSe... function a (line 13) | function a(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,L... function o (line 13) | function o(t){return Nt(t)&&++s<10?(e.consume(t),o):(!r.interrupt||s<2)&... function l (line 13) | function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("list... function c (line 13) | function c(e){return r.containerState.initialBlankLine=!0,i++,d(e)} function u (line 13) | function u(t){return Ot(t)?(e.enter("listItemPrefixWhitespace"),e.consum... function d (line 13) | function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("li... function i (line 13) | function i(t){return t===a?(e.consume(t),i):(e.exit("setextHeadingLineSe... function s (line 13) | function s(r){return null===r||wt(r)?(e.exit("setextHeadingLine"),t(r)):... function r (line 13) | function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.ex... function Fn (line 13) | function Fn(e){return{resolveAll:Bn("text"===e?Un:void 0),tokenize:funct... function Bn (line 13) | function Bn(e){return function(t,n){let r,a=-1;for(;++a<=t.length;)void ... function Un (line 13) | function Un(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEndi... function Vn (line 13) | function Vn(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,col... function Xn (line 13) | function Xn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.char... function Jn (line 13) | function Jn(e,t,n){return t&&"object"==typeof t&&(n=t,t=void 0),function... function er (line 13) | function er(e){return{line:e.line,column:e.column,offset:e.offset}} function tr (line 13) | function tr(e,t){let n=-1;for(;++n1:t} function or (line 13) | function or(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const... function lr (line 13) | function lr(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;... function ur (line 13) | function ur(){} function _r (line 13) | function _r(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({t... function kr (line 13) | function kr(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")} function r (line 13) | function r(...e){let n=-1;for(;++nJa(e,t,n-1))} function Si (line 22) | function Si(e){return e?"string"==typeof e?e:e.source:null} function vi (line 22) | function vi(e){return Ai("(?=",e,")")} function Ai (line 22) | function Ai(...e){return e.map(e=>Si(e)).join("")} function Ni (line 22) | function Ni(...e){const t=function(e){const t=e[e.length-1];return"objec... function o (line 22) | function o(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,... function ns (line 22) | function ns(){if(ts)return es;function e(t){return t instanceof Map?t.cl... class is (line 22) | class is{constructor(e){this.options=e,this.root={type:"root",children:[... method constructor (line 22) | constructor(e){this.options=e,this.root={type:"root",children:[],data:... method addText (line 22) | addText(e){if(""===e)return;const t=this.stack[this.stack.length-1],n=... method startScope (line 22) | startScope(e){this.openNode(String(e))} method endScope (line 22) | endScope(){this.closeNode()} method __addSublanguage (line 22) | __addSublanguage(e,t){const n=this.stack[this.stack.length-1],r=e.root... method openNode (line 22) | openNode(e){const t=this,n={type:"element",tagName:"span",properties:{... method closeNode (line 22) | closeNode(){this.stack.pop()} method finalize (line 22) | finalize(){} method toHTML (line 22) | toHTML(){return""} function ls (line 22) | function ls(e,t,n){const r=n?function(e){const t=new Map;for(const n of ... function cs (line 22) | function cs(e,t,n,r){const a=Ee(e,n);let i;if(null!=r){if("number"==type... function us (line 22) | function us(e,t){if(null==t);else if("number"==typeof t||"string"==typeo... function ds (line 22) | function ds(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(... function fs (line 22) | function fs(e,t){const n=e.indexOf("\r",t),r=e.indexOf("\n",t);return-1=... function Es (line 22) | function Es(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;retu... function ys (line 22) | function ys(e,t){let n=-1;const r=[];for(;++n=55296&&e<=57343} function js (line 22) | function js(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31... function $s (line 22) | function $s(e){return e>=64976&&e<=65007||Rs.has(e)} class Ws (line 22) | class Ws{constructor(e){this.handler=e,this.html="",this.pos=-1,this.las... method constructor (line 22) | constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos... method col (line 22) | get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==t... method offset (line 22) | get offset(){return this.droppedBufferSize+this.pos} method getError (line 22) | getError(e,t){const{line:n,col:r,offset:a}=this,i=r+t,s=a+t;return{cod... method _err (line 22) | _err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(... method _addGap (line 22) | _addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos} method _processSurrogate (line 22) | _processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.ht... method willDropParsedChunk (line 22) | willDropParsedChunk(){return this.pos>this.bufferWaterline} method dropParsedChunk (line 22) | dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.sub... method write (line 22) | write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunk... method insertHtmlAtCurrentPos (line 22) | insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+... method startsWith (line 22) | startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endO... method peek (line 22) | peek(e){const t=this.pos+e;if(t>=this.html.length)return this.endOfChu... method advance (line 22) | advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.li... method _checkForProblematicCharacters (line 22) | _checkForProblematicCharacters(e){js(e)?this._err(qs.controlCharacterI... method retreat (line 22) | retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name=... function Eo (line 22) | function Eo(e){return e>=Js.ZERO&&e<=Js.NINE} function yo (line 22) | function yo(e){return e>=Js.UPPER_A&&e<=Js.UPPER_F||e>=Js.LOWER_A&&e<=Js... function _o (line 22) | function _o(e){return e===Js.EQUALS||function(e){return e>=Js.UPPER_A&&e... class ko (line 22) | class ko{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.... method constructor (line 22) | constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=... method startEntity (line 22) | startEntity(e){this.decodeMode=e,this.state=ro.EntityStart,this.result... method write (line 22) | write(e,t){switch(this.state){case ro.EntityStart:return e.charCodeAt(... method stateNumericStart (line 22) | stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===Js... method addToNumericResult (line 22) | addToNumericResult(e,t,n,r){if(t!==n){const a=n-t;this.result=this.res... method stateNumericHex (line 22) | stateNumericHex(e,t){const n=t;for(;t>7,i=t&to.JUMP_TABLE;i... function vo (line 22) | function vo(e){var t;return null!==(t=So.get(e))&&void 0!==t?t:go.UNKNOWN} function Oo (line 22) | function Oo(e){return e>=Ms.LATIN_CAPITAL_A&&e<=Ms.LATIN_CAPITAL_Z} function Ro (line 22) | function Ro(e){return function(e){return e>=Ms.LATIN_SMALL_A&&e<=Ms.LATI... function Do (line 22) | function Do(e){return Ro(e)||function(e){return e>=Ms.DIGIT_0&&e<=Ms.DIG... function Mo (line 22) | function Mo(e){return e+32} function Po (line 22) | function Po(e){return e===Ms.SPACE||e===Ms.LINE_FEED||e===Ms.TABULATION|... function Lo (line 22) | function Lo(e){return Po(e)||e===Ms.SOLIDUS||e===Ms.GREATER_THAN_SIGN} class Fo (line 22) | class Fo{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,t... method constructor (line 22) | constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inL... method _err (line 22) | _err(e,t=0){var n,r;null===(r=(n=this.handler).onParseError)||void 0==... method getCurrentLocation (line 22) | getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{star... method _runParsingLoop (line 22) | _runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!th... method pause (line 22) | pause(){this.paused=!0} method resume (line 22) | resume(e){if(!this.paused)throw new Error("Parser was already resumed"... method write (line 22) | write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runPars... method insertHtmlAtCurrentPos (line 22) | insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlA... method _ensureHibernation (line 22) | _ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.pr... method _consume (line 22) | _consume(){return this.consumedAfterSnapshot++,this.preprocessor.advan... method _advanceBy (line 22) | _advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._isInTemplate()&&thi... method replace (line 22) | replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTo... method insertAfter (line 22) | insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t)... method popUntilTagNamePopped (line 22) | popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIn... method shortenToLength (line 22) | shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.t... method popUntilElementPopped (line 22) | popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength... method popUntilPopped (line 22) | popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToL... method popUntilNumberedHeaderPopped (line 22) | popUntilNumberedHeaderPopped(){this.popUntilPopped(Co,oo.HTML)} method popUntilTableCellPopped (line 22) | popUntilTableCellPopped(){this.popUntilPopped(Vo,oo.HTML)} method popAllUpToHtmlElement (line 22) | popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)} method _indexOfTagNames (line 22) | _indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.t... method clearBackTo (line 22) | clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLeng... method clearBackToTableContext (line 22) | clearBackToTableContext(){this.clearBackTo(Wo,oo.HTML)} method clearBackToTableBodyContext (line 22) | clearBackToTableBodyContext(){this.clearBackTo(Yo,oo.HTML)} method clearBackToTableRowContext (line 22) | clearBackToTableRowContext(){this.clearBackTo(qo,oo.HTML)} method remove (line 22) | remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop()... method tryPeekProperlyNestedBodyElement (line 22) | tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagID... method contains (line 22) | contains(e){return this._indexOf(e)>-1} method getCommonAncestor (line 22) | getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items... method isRootHtmlElementCurrent (line 22) | isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===... method hasInDynamicScope (line 22) | hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){const r=this.... method hasInScope (line 22) | hasInScope(e){return this.hasInDynamicScope(e,Ho)} method hasInListItemScope (line 22) | hasInListItemScope(e){return this.hasInDynamicScope(e,zo)} method hasInButtonScope (line 22) | hasInButtonScope(e){return this.hasInDynamicScope(e,Go)} method hasNumberedHeaderInScope (line 22) | hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=t... method hasInTableScope (line 22) | hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapte... method hasTableBodyContextInTableScope (line 22) | hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(... method hasInSelectScope (line 22) | hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapt... method generateImpliedEndTags (line 22) | generateImpliedEndTags(){for(;void 0!==this.currentTagId&&Bo.has(this.... method generateImpliedEndTagsThoroughly (line 22) | generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&Uo... method generateImpliedEndTagsWithExclusion (line 22) | generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId... class Jo (line 22) | class Jo{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark... method constructor (line 22) | constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null} method _getNoahArkConditionCandidates (line 22) | _getNoahArkConditionCandidates(e,t){const n=[],r=t.length,a=this.treeA... method _ensureNoahArkCondition (line 22) | _ensureNoahArkCondition(e){if(this.entries.length<3)return;const t=thi... method insertMarker (line 22) | insertMarker(){this.entries.unshift(Zo)} method pushElement (line 22) | pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift(... method insertElementAfterBookmark (line 22) | insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.book... method removeEntry (line 22) | removeEntry(e){const t=this.entries.indexOf(e);-1!==t&&this.entries.sp... method clearToLastMarker (line 22) | clearToLastMarker(){const e=this.entries.indexOf(Zo);-1===e?this.entri... method getElementEntryInScopeWithTagName (line 22) | getElementEntryInScopeWithTagName(e){const t=this.entries.find(t=>t.ty... method getElementEntry (line 22) | getElementEntry(e){return this.entries.find(t=>t.type===Qo.Element&&t.... method appendChild (line 22) | appendChild(e,t){e.childNodes.push(t),t.parentNode=e} method insertBefore (line 22) | insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(... method setTemplateContent (line 22) | setTemplateContent(e,t){e.content=t} method setDocumentType (line 22) | setDocumentType(e,t,n,r){const a=e.childNodes.find(e=>"#documentType"===... method setDocumentMode (line 22) | setDocumentMode(e,t){e.mode=t} method detachNode (line 22) | detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e... method insertText (line 22) | insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNo... method insertTextBefore (line 22) | insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];... method adoptAttributes (line 22) | adoptAttributes(e,t){const n=new Set(e.attrs.map(e=>e.name));for(let r=0... method setNodeSourceCodeLocation (line 22) | setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t} method updateNodeSourceCodeLocation (line 22) | updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeL... function ol (line 22) | function ol(e,t){return t.some(t=>e.startsWith(t))} function fl (line 22) | function fl(e){for(let t=0;t=0;e--)sw... method _resetInsertionModeForSelect (line 22) | _resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=... method _isElementCausesFosterParenting (line 22) | _isElementCausesFosterParenting(e){return kl.has(e)} method _shouldFosterParentOnInsertion (line 22) | _shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&v... method _findFosterParentingLocation (line 22) | _findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>... method _fosterParentElement (line 22) | _fosterParentElement(e){const t=this._findFosterParentingLocation();t.... method _isSpecialElement (line 22) | _isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);ret... method onCharacter (line 22) | onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode... method onNullCharacter (line 22) | onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeign... method onComment (line 22) | onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Ol(this,... method onDoctype (line 22) | onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case E... method onStartTag (line 22) | onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._proces... method _processStartTag (line 22) | _processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)... method _startTagOutsideForeignContent (line 22) | _startTagOutsideForeignContent(e){switch(this.insertionMode){case El.I... method onEndTag (line 22) | onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNo... method _endTagOutsideForeignContent (line 22) | _endTagOutsideForeignContent(e){switch(this.insertionMode){case El.INI... method onEof (line 22) | onEof(e){switch(this.insertionMode){case El.INITIAL:Dl(this,e);break;c... method onWhitespaceCharacter (line 22) | onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLin... function vl (line 22) | function vl(e,t){let n=e.activeFormattingElements.getElementEntryInScope... function Al (line 22) | function Al(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){con... function Nl (line 22) | function Nl(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let... function Cl (line 22) | function Cl(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.tr... function xl (line 22) | function xl(e,t,n){const r=vo(e.treeAdapter.getTagName(t));if(e._isEleme... function wl (line 22) | function wl(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{tok... function Il (line 22) | function Il(e,t){for(let n=0;n<8;n++){const n=vl(e,t);if(!n)break;const ... function Ol (line 22) | function Ol(e,t){e._appendCommentNode(t,e.openElements.currentTmplConten... function Rl (line 22) | function Rl(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0... function Dl (line 22) | function Dl(e,t){e._err(t,qs.missingDoctype,!0),e.treeAdapter.setDocumen... function Ml (line 22) | function Ml(e,t){e._insertFakeRootElement(),e.insertionMode=El.BEFORE_HE... function Pl (line 22) | function Pl(e,t){e._insertFakeElement(fo.HEAD,go.HEAD),e.headElement=e.o... function Ll (line 22) | function Ll(e,t){switch(t.tagID){case go.HTML:Vl(e,t);break;case go.BASE... function Fl (line 22) | function Fl(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpl... function Bl (line 22) | function Bl(e,t){e.openElements.pop(),e.insertionMode=El.AFTER_HEAD,e._p... function Ul (line 22) | function Ul(e,t){const n=t.type===Vs.EOF?qs.openElementsLeftAfterEof:qs.... function Hl (line 22) | function Hl(e,t){e._insertFakeElement(fo.BODY,go.BODY),e.insertionMode=E... function zl (line 22) | function zl(e,t){switch(t.type){case Vs.CHARACTER:jl(e,t);break;case Vs.... function Gl (line 22) | function Gl(e,t){e._reconstructActiveFormattingElements(),e._insertChara... function jl (line 22) | function jl(e,t){e._reconstructActiveFormattingElements(),e._insertChara... function $l (line 22) | function $l(e,t){e._reconstructActiveFormattingElements(),e._appendEleme... function ql (line 22) | function ql(e){const t=Qs(e,co.TYPE);return null!=t&&"hidden"===t.toLowe... function Yl (line 22) | function Yl(e,t){e._switchToTextParsing(t,Io.RAWTEXT)} function Wl (line 22) | function Wl(e,t){e._reconstructActiveFormattingElements(),e._insertEleme... function Vl (line 22) | function Vl(e,t){switch(t.tagID){case go.I:case go.S:case go.B:case go.U... function Kl (line 22) | function Kl(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.st... function Ql (line 22) | function Ql(e,t){switch(t.tagID){case go.A:case go.B:case go.I:case go.S... function Xl (line 22) | function Xl(e,t){e.tmplInsertionModeStack.length>0?fc(e,t):Rl(e,t)} function Zl (line 22) | function Zl(e,t){if(void 0!==e.openElements.currentTagId&&kl.has(e.openE... function Jl (line 22) | function Jl(e,t){switch(t.tagID){case go.TD:case go.TH:case go.TR:!funct... function ec (line 22) | function ec(e,t){switch(t.tagID){case go.TABLE:e.openElements.hasInTable... function tc (line 22) | function tc(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabl... function nc (line 22) | function nc(e,t){e.pendingCharacterTokens.push(t)} function rc (line 22) | function rc(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePend... function ac (line 22) | function ac(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(... function sc (line 22) | function sc(e,t){switch(t.tagID){case go.HTML:Vl(e,t);break;case go.COL:... function oc (line 22) | function oc(e,t){e.openElements.currentTagId===go.COLGROUP&&(e.openEleme... function lc (line 22) | function lc(e,t){switch(t.tagID){case go.TR:e.openElements.clearBackToTa... function cc (line 22) | function cc(e,t){const n=t.tagID;switch(t.tagID){case go.TBODY:case go.T... function uc (line 22) | function uc(e,t){switch(t.tagID){case go.TH:case go.TD:e.openElements.cl... function dc (line 22) | function dc(e,t){switch(t.tagID){case go.TR:e.openElements.hasInTableSco... function pc (line 22) | function pc(e,t){switch(t.tagID){case go.HTML:Vl(e,t);break;case go.OPTI... function hc (line 22) | function hc(e,t){switch(t.tagID){case go.OPTGROUP:e.openElements.stackTo... function fc (line 22) | function fc(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagN... function mc (line 22) | function mc(e,t){var n;if(t.tagID===go.HTML){if(e.fragmentContext||(e.in... function gc (line 22) | function gc(e,t){e.insertionMode=El.IN_BODY,zl(e,t)} function bc (line 22) | function bc(e,t){e.insertionMode=El.IN_BODY,zl(e,t)} function Ec (line 22) | function Ec(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current... function Tc (line 22) | function Tc(e,t){const n=function(e){const t="root"===e.type?e.children[... function Sc (line 22) | function Sc(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0... function Cc (line 22) | function Cc(e,t){const n={type:Vs.DOCTYPE,name:"html",forceQuirks:!1,pub... function xc (line 22) | function xc(e,t){t.stitches=!0;const n=function(e){return yr("children"i... function wc (line 22) | function wc(e,t){const n=e.value,r={type:Vs.COMMENT,data:n,location:Mc(e... function Ic (line 22) | function Ic(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tok... function Oc (line 22) | function Oc(e,t){const n=e;if(!t.options.passThrough||!t.options.passThr... function Rc (line 22) | function Rc(e,t){Dc(e,t);const n=e.parser.tokenizer.currentCharacterToke... function Dc (line 22) | function Dc(e,t){if(t&&void 0!==t.offset){const n={startLine:t.line,star... function Mc (line 22) | function Mc(e){const t=Fe(e)||{line:void 0,column:void 0,offset:void 0},... function Bc (line 22) | function Bc(e,t){if(t&&"object"==typeof t){const n=t;switch("string"==ty... function Uc (line 22) | function Uc(e,t){const n=[];if(Array.isArray(t)){const r=t;let a=-1;for(... function Hc (line 22) | function Hc(e,t,n,r){return t?Array.isArray(r)?function(e,t,n,r){let a=-... function zc (line 22) | function zc(e,t,n,r){if(("boolean"==typeof r||"number"==typeof r||"strin... function Gc (line 22) | function Gc(e,t){const n=Ue(t);t.data&&(e.data=yr(t.data)),n&&(e.positio... function jc (line 22) | function jc(e,t){let n,r=-1;if(e)for(;++r"+(n?"":" ")+e} function Nu (line 22) | function Nu(e,t){return Cu(e,t.inConstruct,!0)&&!Cu(e,t.notInConstruct,!1)} function Cu (line 22) | function Cu(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)retur... function xu (line 22) | function xu(e,t,n,r){let a=-1;for(;++ao... FILE: frontend/assets/note-manager-DjJcxkCE.js function Be (line 14) | function Be({isOpen:e,onClose:l,vault:o,notePath:c,pathHash:d,isRecycle:... function Ue (line 14) | function Ue(e){let s=0;if(0===e.length)return"0";for(let t=0;t1&&Array.from(t).every(e=>e===t[0])?... FILE: frontend/assets/setting-manager-DaP9o-yD.js function D (line 7) | function D({vault:e,searchKeyword:h,currentPage:p,onPageChange:$,refresh... function _ (line 7) | function _({vault:e,onVaultChange:t}){const{t:a}=o(),{handleVaultList:r}... FILE: frontend/assets/share-CN7oeKGv.js function Z (line 14) | function Z(){var e;const{t:F}=s(),{theme:H,resolvedTheme:B,setTheme:D}=a... FILE: frontend/assets/sync-backup-Bp7n2yHp.js function de (line 1) | function de(){const{t:n}=e(),{openConfirmDialog:l}=s(),c=localStorage.ge... function ue (line 1) | function ue(){const{t:n}=e(),{openConfirmDialog:l}=s(),c=localStorage.ge... function xe (line 1) | function xe(e){if(!e)return null;for(const s of me)if(s.pattern.test(e))... function pe (line 1) | function pe({configId:s,configType:a,open:r,onOpenChange:o}){const{t:x}=... function ge (line 1) | function ge({config:s,types:a,onSubmit:r,onCancel:o}){const{t:i}=e(),[l,... function be (line 1) | function be({config:s,storages:a,onSubmit:r,onCancel:o}){const{t:i}=e(),... function fe (line 1) | function fe(){const{t:a}=e(),{openConfirmDialog:r}=s(),[o,i]=t.useState(... FILE: frontend/assets/sync-log-manager-Zjq-lA99.js function H (line 7) | function H({logs:e,vaults:s,loading:a,currentPage:l,totalPages:r,onPageC... function I (line 7) | function I({vault:e,onVaultChange:c}){const{t:m}=n(),{handleSyncLogList:... FILE: frontend/assets/system-settings-DSUsRYMo.js function Be (line 13) | function Be(e,s){return`${e}-trigger-${s}`} function We (line 13) | function We(e,s){return`${e}-content-${s}`} function as (line 13) | function as({showUpgrade:e=!0,children:t}){const{t:a}=f(),{versionInfo:n... function rs (line 13) | function rs(){const{t:e}=f(),{clients:t,isLoading:a,refresh:n}=function(... function ns (line 13) | function ns(){const{t:e}=f(),{supportList:t,pager:a,isLoading:n,error:i,... function is (line 13) | function is(e){if(0===e)return"0 B";const s=Math.floor(Math.log(e)/Math.... function ls (line 13) | function ls({refreshKey:e,children:t}){const{t:a}=f(),{systemInfo:n,isLo... function os (line 13) | function os({onBack:e,isDashboard:t=!1,isAdmin:a=!1}){const{t:n}=f(),[i,... FILE: frontend/assets/tooltip-Dr-qRlmI.js function n (line 1) | function n({children:n,content:s,delay:a=300,side:c="top",align:i="cente... FILE: frontend/assets/vault-list-BzYzvdPK.js function I (line 13) | function I(e){const t=Object.prototype.toString.call(e);return"[object W... function T (line 13) | function T(e){return"nodeType"in e} function A (line 13) | function A(e){var t,n;return e?I(e)?e:T(e)&&null!=(t=null==(n=e.ownerDoc... function O (line 13) | function O(e){const{Document:t}=A(e);return e instanceof t} function L (line 13) | function L(e){return!I(e)&&e instanceof A(e).HTMLElement} function B (line 13) | function B(e){return e instanceof A(e).SVGElement} function z (line 13) | function z(e){return e?I(e)?e.document:T(e)?O(e)?e:L(e)||B(e)?e.ownerDoc... function F (line 13) | function F(e){const n=t.useRef(e);return P(()=>{n.current=e}),t.useCallb... function U (line 13) | function U(e,n){void 0===n&&(n=[e]);const r=t.useRef(e);return P(()=>{r.... function V (line 13) | function V(e,n){const r=t.useRef();return t.useMemo(()=>{const t=e(r.cur... function K (line 13) | function K(e){const n=F(e),r=t.useRef(null),o=t.useCallback(e=>{e!==r.cu... function X (line 13) | function X(e){const n=t.useRef();return t.useEffect(()=>{n.current=e},[e... function W (line 13) | function W(e,n){return t.useMemo(()=>{if(n)return n;const t=null==Y[e]?0... function H (line 13) | function H(e){return function(t){for(var n=arguments.length,r=new Array(... function $ (line 13) | function $(e){if(!e)return!1;const{KeyboardEvent:t}=A(e.target);return t... function _ (line 13) | function _(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=A(e.targ... method toString (line 13) | toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.r... method toString (line 13) | toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+")... method toString (line 13) | toString(e){if(e)return[G.Translate.toString(e),G.Scale.toString(e)].joi... method toString (line 13) | toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r} function Z (line 13) | function Z(e){return e.matches(Q)?e:e.querySelector(Q)} function te (line 13) | function te(e){let{id:t,value:r}=e;return n.createElement("div",{id:t,st... function ne (line 13) | function ne(e){let{id:t,announcement:r,ariaLiveType:o="assertive"}=e;ret... method onDragStart (line 13) | onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."} method onDragOver (line 13) | onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" w... method onDragEnd (line 13) | onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" wa... method onDragCancel (line 13) | onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable... function ae (line 13) | function ae(e){let{announcements:o=ie,container:i,hiddenTextDescribedByI... function ce (line 13) | function ce(){} function de (line 13) | function de(e,n){return t.useMemo(()=>({sensor:e,options:null!=n?n:{}}),... function he (line 13) | function he(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))} function fe (line 13) | function fe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r} function ge (line 13) | function ge(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n} function ve (line 13) | function ve(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:... function pe (line 13) | function pe(e,t){if(!e||0===e.length)return null;const[n]=e;return n[t]} function me (line 13) | function me(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{... function xe (line 13) | function xe(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left)... function we (line 13) | function we(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:ue} function Ce (line 13) | function Ce(e){return function(t){for(var n=arguments.length,r=new Array... function Ee (line 13) | function Ee(e,t){void 0===t&&(t=De);let n=e.getBoundingClientRect();if(t... function je (line 13) | function je(e){return Ee(e,{ignoreTransform:!0})} function Re (line 13) | function Re(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>... function ke (line 13) | function ke(e){const[t]=Re(e,1);return null!=t?t:null} function Se (line 13) | function Se(e){return M&&e?I(e)?e:T(e)?O(e)||e===z(e).scrollingElement?w... function Me (line 13) | function Me(e){return I(e)?e.scrollX:e.scrollLeft} function Ie (line 13) | function Ie(e){return I(e)?e.scrollY:e.scrollTop} function Te (line 13) | function Te(e){return{x:Me(e),y:Ie(e)}} function Le (line 13) | function Le(e){return!(!M||!e)&&e===document.scrollingElement} function Be (line 13) | function Be(e){const t={x:0,y:0},n=Le(e)?{height:window.innerHeight,widt... function Pe (line 13) | function Pe(e,t,n,r,o){let{top:i,left:a,right:s,bottom:l}=n;void 0===r&&... function Fe (line 13) | function Fe(e){if(e===document.scrollingElement){const{innerWidth:e,inne... function Ue (line 13) | function Ue(e){return e.reduce((e,t)=>q(e,Te(t)),ue)} class Ke (line 13) | class Ke{constructor(e,t){this.rect=void 0,this.width=void 0,this.height... method constructor (line 13) | constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0... class Xe (line 13) | class Xe{constructor(e){this.target=void 0,this.listeners=[],this.remove... method constructor (line 13) | constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=... method add (line 13) | add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this... function Ye (line 13) | function Ye(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==t... function $e (line 13) | function $e(e){e.preventDefault()} function _e (line 13) | function _e(e){e.stopPropagation()} class Ze (line 13) | class Ze{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this... method constructor (line 13) | constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.refere... method attach (line 13) | attach(){this.handleStart(),this.windowListeners.add(We.Resize,this.ha... method handleStart (line 13) | handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.curren... method handleKeyDown (line 13) | handleKeyDown(e){if($(e)){const{active:t,context:n,options:r}=this.pro... method handleMove (line 13) | handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)} method handleEnd (line 13) | handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(... method handleCancel (line 13) | handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.d... method detach (line 13) | detach(){this.listeners.removeAll(),this.windowListeners.removeAll()} function et (line 13) | function et(e){return Boolean(e&&"distance"in e)} function tt (line 13) | function tt(e){return Boolean(e&&"delay"in e)} class nt (line 13) | class nt{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{Event... method constructor (line 13) | constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:... method attach (line 13) | attach(){const{events:e,props:{options:{activationConstraint:t,bypassA... method detach (line 13) | detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),s... method handlePending (line 13) | handlePending(e,t){const{active:n,onPending:r}=this.props;r(n,e,this.i... method handleStart (line 13) | handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;... method handleMove (line 13) | handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=th... method handleEnd (line 13) | handleEnd(){const{onAbort:e,onEnd:t}=this.props;this.detach(),this.act... method handleCancel (line 13) | handleCancel(){const{onAbort:e,onCancel:t}=this.props;this.detach(),th... method handleKeydown (line 13) | handleKeydown(e){e.code===qe.Esc&&this.handleCancel()} method removeTextSelection (line 13) | removeTextSelection(){var e;null==(e=this.document.getSelection())||e.... class ot (line 13) | class ot extends nt{constructor(e){const{event:t}=e,n=z(t.target);super(... method constructor (line 13) | constructor(e){const{event:t}=e,n=z(t.target);super(e,rt,n)} method constructor (line 13) | constructor(e){super(e,it,z(e.event.target))} class ct (line 13) | class ct extends nt{constructor(e){super(e,lt)}static setup(){return win... method constructor (line 13) | constructor(e){super(e,lt)} method setup (line 13) | static setup(){return window.addEventListener(lt.move.name,e,{capture:... function gt (line 13) | function gt(e){let{acceleration:n,activator:r=dt.Pointer,canScroll:o,dra... function yt (line 13) | function yt(e,t){return V(n=>e?n||("function"==typeof t?t(e):e):null,[t,... function wt (line 13) | function wt(e){let{callback:n,disabled:r}=e;const o=F(n),i=t.useMemo(()=... function Ct (line 13) | function Ct(e){return new Ke(Ee(e),e)} function Nt (line 13) | function Nt(e,n,r){void 0===n&&(n=Ct);const[o,i]=t.useState(null);functi... function Et (line 13) | function Et(e,n){void 0===n&&(n=[]);const r=t.useRef(null);return t.useE... function jt (line 13) | function jt(e){return t.useMemo(()=>e?function(e){const t=e.innerWidth,n... function kt (line 13) | function kt(e){let{measure:n}=e;const[r,o]=t.useState(null),i=wt({callba... class Tt (line 13) | class Tt extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))... method get (line 13) | get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0} method toArray (line 13) | toArray(){return Array.from(this.values())} method getEnabled (line 13) | getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return... method getNodeFor (line 13) | getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.n... function zt (line 13) | function zt(){return{draggable:{active:null,initialCoordinates:{x:0,y:0}... function Pt (line 13) | function Pt(e,t){switch(t.type){case se.DragStart:return{...e,draggable:... function Ft (line 13) | function Ft(e){let{disabled:n}=e;const{active:r,activatorEvent:o,draggab... function s (line 13) | function s(){a(()=>e.length?e.map(e=>Le(e)?o:new Ke(n(e),e)):Rt)} function n (line 13) | function n(e){e.forEach(e=>{const t=Se(e);null==t||t.removeEventListener... method onAbort (line 13) | onAbort(e){if(!j.get(e))return;const{onDragAbort:t}=K.current,n={id:e};n... method onPending (line 13) | onPending(e,t,n,r){if(!j.get(e))return;const{onDragPending:o}=K.current,... method onStart (line 13) | onStart(e){const t=O.current;if(null==t)return;const n=j.get(t);if(!n)re... method onMove (line 13) | onMove(e){x({type:se.DragMove,coordinates:e})} function l (line 13) | function l(e){return async function(){const{active:t,collisions:n,over:o... function Ht (line 13) | function Ht(e){let{id:n,data:r,disabled:o=!1,attributes:i}=e;const a=W("... function Jt (line 13) | function Jt(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,... function $t (line 13) | function $t(e,t){return e.reduce((e,n,r)=>{const o=t.get(n);return o&&(e... function _t (line 13) | function _t(e){return null!==e&&e>=0} function en (line 13) | function en(e){let{children:r,id:o,items:i,strategy:a=Gt,disabled:s=!1}=... function ln (line 13) | function ln(e){let{animateLayoutChanges:n=nn,attributes:r,disabled:o,dat... function cn (line 13) | function cn(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortab... function hn (line 13) | function hn(e,t){return!(!cn(e)||!cn(t))&&e.data.current.sortable.contai... function fn (line 13) | function fn({vault:e,editingId:t,editingName:n,setEditingName:r,startEdi... function vn (line 13) | function vn({onNavigateToNotes:e,onNavigateToAttachments:n}){const{t:r}=... FILE: frontend/assets/zod-B54Zg8Xp.js class o (line 1) | class o extends Error{get errors(){return this.issues}constructor(e){sup... method errors (line 1) | get errors(){return this.issues} method constructor (line 1) | constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[.... method format (line 1) | format(e){const t=e||function(e){return e.message},s={_errors:[]},r=e=... method assert (line 1) | static assert(e){if(!(e instanceof o))throw new Error(`Not a ZodError:... method toString (line 1) | toString(){return this.message} method message (line 1) | get message(){return JSON.stringify(this.issues,t.jsonStringifyReplace... method isEmpty (line 1) | get isEmpty(){return 0===this.issues.length} method flatten (line 1) | flatten(e=e=>e.message){const t={},s=[];for(const r of this.issues)if(... method formErrors (line 1) | get formErrors(){return this.flatten()} function l (line 1) | function l(e,t){const s=u,r=(e=>{const{data:t,path:s,errorMaps:r,issueDa... class c (line 1) | class c{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(... method constructor (line 1) | constructor(){this.value="valid"} method dirty (line 1) | dirty(){"valid"===this.value&&(this.value="dirty")} method abort (line 1) | abort(){"aborted"!==this.value&&(this.value="aborted")} method mergeArray (line 1) | static mergeArray(e,t){const s=[];for(const r of t){if("aborted"===r.s... method mergeObjectAsync (line 1) | static async mergeObjectAsync(e,t){const s=[];for(const r of t){const ... method mergeObjectSync (line 1) | static mergeObjectSync(e,t){const s={};for(const r of t){const{key:t,v... class k (line 1) | class k{constructor(e,t,s,r){this._cachedPath=[],this.parent=e,this.data... method constructor (line 1) | constructor(e,t,s,r){this._cachedPath=[],this.parent=e,this.data=t,thi... method path (line 1) | get path(){return this._cachedPath.length||(Array.isArray(this._key)?t... method error (line 1) | get error(){if(this._error)return this._error;const t=new o(e.common.iss... function w (line 1) | function w(e){if(!e)return{};const{errorMap:t,invalid_type_error:s,requi... class A (line 1) | class A{get description(){return this._def.description}_getType(e){retur... method description (line 1) | get description(){return this._def.description} method _getType (line 1) | _getType(e){return i(e.data)} method _getOrReturnCtx (line 1) | _getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,par... method _processInputParams (line 1) | _processInputParams(e){return{status:new c,ctx:{common:e.parent.common... method _parseSync (line 1) | _parseSync(e){const t=this._parse(e);if(_(t))throw new Error("Synchron... method _parseAsync (line 1) | _parseAsync(e){const t=this._parse(e);return Promise.resolve(t)} method parse (line 1) | parse(e,t){const s=this.safeParse(e,t);if(s.success)return s.data;thro... method safeParse (line 1) | safeParse(e,t){const s={common:{issues:[],async:(null==t?void 0:t.asyn... method "~validate" (line 1) | "~validate"(e){var t,s;const r={common:{issues:[],async:!!this["~stand... method parseAsync (line 1) | async parseAsync(e,t){const s=await this.safeParseAsync(e,t);if(s.succ... method safeParseAsync (line 1) | async safeParseAsync(e,t){const s={common:{issues:[],contextualErrorMa... method refine (line 1) | refine(e,t){const s=e=>"string"==typeof t||void 0===t?{message:t}:"fun... method refinement (line 1) | refinement(e,t){return this._refinement((s,r)=>!!e(s)||(r.addIssue("fu... method _refinement (line 1) | _refinement(e){return new xe({schema:this,typeName:Ze.ZodEffects,effec... method superRefine (line 1) | superRefine(e){return this._refinement(e)} method constructor (line 1) | constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=thi... method optional (line 1) | optional(){return we.create(this,this._def)} method nullable (line 1) | nullable(){return Ae.create(this,this._def)} method nullish (line 1) | nullish(){return this.nullable().optional()} method array (line 1) | array(){return oe.create(this)} method promise (line 1) | promise(){return ke.create(this,this._def)} method or (line 1) | or(e){return le.create([this,e],this._def)} method and (line 1) | and(e){return he.create(this,e,this._def)} method transform (line 1) | transform(e){return new xe({...w(this._def),schema:this,typeName:Ze.Zo... method default (line 1) | default(e){const t="function"==typeof e?e:()=>e;return new Oe({...w(th... method brand (line 1) | brand(){return new Ce({typeName:Ze.ZodBranded,type:this,...w(this._def... method catch (line 1) | catch(e){const t="function"==typeof e?e:()=>e;return new Se({...w(this... method describe (line 1) | describe(e){return new(0,this.constructor)({...this._def,description:e})} method pipe (line 1) | pipe(e){return Te.create(this,e)} method readonly (line 1) | readonly(){return Fe.create(this)} method isOptional (line 1) | isOptional(){return this.safeParse(void 0).success} method isNullable (line 1) | isNullable(){return this.safeParse(null).success} function U (line 1) | function U(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}... function z (line 1) | function z(e){return new RegExp(`^${U(e)}$`)} function B (line 1) | function B(e){let t=`${L}T${U(e)}`;const s=[];return s.push(e.local?"Z?"... function W (line 1) | function W(e,t){return!("v4"!==t&&t||!E.test(e))||!("v6"!==t&&t||!I.test... function K (line 1) | function K(e,t){if(!F.test(e))return!1;try{const[s]=e.split(".");if(!s)r... function q (line 1) | function q(e,t){return!("v4"!==t&&t||!D.test(e))||!("v6"!==t&&t||!R.test... class H (line 1) | class H extends A{_parse(e){this._def.coerce&&(e.data=String(e.data));if... method _parse (line 1) | _parse(e){this._def.coerce&&(e.data=String(e.data));if(this._getType(e... method _regex (line 1) | _regex(e,t,s){return this.refinement(t=>e.test(t),{validation:t,code:n... method _addCheck (line 1) | _addCheck(e){return new H({...this._def,checks:[...this._def.checks,e]})} method email (line 1) | email(e){return this._addCheck({kind:"email",...g.errToObj(e)})} method url (line 1) | url(e){return this._addCheck({kind:"url",...g.errToObj(e)})} method emoji (line 1) | emoji(e){return this._addCheck({kind:"emoji",...g.errToObj(e)})} method uuid (line 1) | uuid(e){return this._addCheck({kind:"uuid",...g.errToObj(e)})} method nanoid (line 1) | nanoid(e){return this._addCheck({kind:"nanoid",...g.errToObj(e)})} method cuid (line 1) | cuid(e){return this._addCheck({kind:"cuid",...g.errToObj(e)})} method cuid2 (line 1) | cuid2(e){return this._addCheck({kind:"cuid2",...g.errToObj(e)})} method ulid (line 1) | ulid(e){return this._addCheck({kind:"ulid",...g.errToObj(e)})} method base64 (line 1) | base64(e){return this._addCheck({kind:"base64",...g.errToObj(e)})} method base64url (line 1) | base64url(e){return this._addCheck({kind:"base64url",...g.errToObj(e)})} method jwt (line 1) | jwt(e){return this._addCheck({kind:"jwt",...g.errToObj(e)})} method ip (line 1) | ip(e){return this._addCheck({kind:"ip",...g.errToObj(e)})} method cidr (line 1) | cidr(e){return this._addCheck({kind:"cidr",...g.errToObj(e)})} method datetime (line 1) | datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",p... method date (line 1) | date(e){return this._addCheck({kind:"date",message:e})} method time (line 1) | time(e){return"string"==typeof e?this._addCheck({kind:"time",precision... method duration (line 1) | duration(e){return this._addCheck({kind:"duration",...g.errToObj(e)})} method regex (line 1) | regex(e,t){return this._addCheck({kind:"regex",regex:e,...g.errToObj(t... method includes (line 1) | includes(e,t){return this._addCheck({kind:"includes",value:e,position:... method startsWith (line 1) | startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...g.... method endsWith (line 1) | endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...g.errT... method min (line 1) | min(e,t){return this._addCheck({kind:"min",value:e,...g.errToObj(t)})} method max (line 1) | max(e,t){return this._addCheck({kind:"max",value:e,...g.errToObj(t)})} method length (line 1) | length(e,t){return this._addCheck({kind:"length",value:e,...g.errToObj... method nonempty (line 1) | nonempty(e){return this.min(1,g.errToObj(e))} method trim (line 1) | trim(){return new H({...this._def,checks:[...this._def.checks,{kind:"t... method toLowerCase (line 1) | toLowerCase(){return new H({...this._def,checks:[...this._def.checks,{... method toUpperCase (line 1) | toUpperCase(){return new H({...this._def,checks:[...this._def.checks,{... method isDatetime (line 1) | get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)} method isDate (line 1) | get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)} method isTime (line 1) | get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)} method isDuration (line 1) | get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)} method isEmail (line 1) | get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)} method isURL (line 1) | get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)} method isEmoji (line 1) | get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)} method isUUID (line 1) | get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)} method isNANOID (line 1) | get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)} method isCUID (line 1) | get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)} method isCUID2 (line 1) | get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)} method isULID (line 1) | get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)} method isIP (line 1) | get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)} method isCIDR (line 1) | get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)} method isBase64 (line 1) | get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)} method isBase64url (line 1) | get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)} method minLength (line 1) | get minLength(){let e=null;for(const t of this._def.checks)"min"===t.k... method maxLength (line 1) | get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.k... function J (line 1) | function J(e,t){const s=(e.toString().split(".")[1]||"").length,r=(t.toS... class Y (line 1) | class Y extends A{constructor(){super(...arguments),this.min=this.gte,th... method constructor (line 1) | constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,... method _parse (line 1) | _parse(e){this._def.coerce&&(e.data=Number(e.data));if(this._getType(e... method gte (line 1) | gte(e,t){return this.setLimit("min",e,!0,g.toString(t))} method gt (line 1) | gt(e,t){return this.setLimit("min",e,!1,g.toString(t))} method lte (line 1) | lte(e,t){return this.setLimit("max",e,!0,g.toString(t))} method lt (line 1) | lt(e,t){return this.setLimit("max",e,!1,g.toString(t))} method setLimit (line 1) | setLimit(e,t,s,r){return new Y({...this._def,checks:[...this._def.chec... method _addCheck (line 1) | _addCheck(e){return new Y({...this._def,checks:[...this._def.checks,e]})} method int (line 1) | int(e){return this._addCheck({kind:"int",message:g.toString(e)})} method positive (line 1) | positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,mes... method negative (line 1) | negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,mes... method nonpositive (line 1) | nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,... method nonnegative (line 1) | nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,... method multipleOf (line 1) | multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,messa... method finite (line 1) | finite(e){return this._addCheck({kind:"finite",message:g.toString(e)})} method safe (line 1) | safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MI... method minValue (line 1) | get minValue(){let e=null;for(const t of this._def.checks)"min"===t.ki... method maxValue (line 1) | get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.ki... method isInt (line 1) | get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multiple... method isFinite (line 1) | get isFinite(){let e=null,t=null;for(const s of this._def.checks){if("... class G (line 1) | class G extends A{constructor(){super(...arguments),this.min=this.gte,th... method constructor (line 1) | constructor(){super(...arguments),this.min=this.gte,this.max=this.lte} method _parse (line 1) | _parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return t... method _getInvalidInput (line 1) | _getInvalidInput(e){const t=this._getOrReturnCtx(e);return l(t,{code:n... method gte (line 1) | gte(e,t){return this.setLimit("min",e,!0,g.toString(t))} method gt (line 1) | gt(e,t){return this.setLimit("min",e,!1,g.toString(t))} method lte (line 1) | lte(e,t){return this.setLimit("max",e,!0,g.toString(t))} method lt (line 1) | lt(e,t){return this.setLimit("max",e,!1,g.toString(t))} method setLimit (line 1) | setLimit(e,t,s,r){return new G({...this._def,checks:[...this._def.chec... method _addCheck (line 1) | _addCheck(e){return new G({...this._def,checks:[...this._def.checks,e]})} method positive (line 1) | positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusiv... method negative (line 1) | negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusiv... method nonpositive (line 1) | nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclu... method nonnegative (line 1) | nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclu... method multipleOf (line 1) | multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,messa... method minValue (line 1) | get minValue(){let e=null;for(const t of this._def.checks)"min"===t.ki... method maxValue (line 1) | get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.ki... class X (line 1) | class X extends A{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));i... method _parse (line 1) | _parse(e){this._def.coerce&&(e.data=Boolean(e.data));if(this._getType(... class Q (line 1) | class Q extends A{_parse(e){this._def.coerce&&(e.data=new Date(e.data));... method _parse (line 1) | _parse(e){this._def.coerce&&(e.data=new Date(e.data));if(this._getType... method _addCheck (line 1) | _addCheck(e){return new Q({...this._def,checks:[...this._def.checks,e]})} method min (line 1) | min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:g... method max (line 1) | max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:g... method minDate (line 1) | get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kin... method maxDate (line 1) | get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kin... class ee (line 1) | class ee extends A{_parse(e){if(this._getType(e)!==a.symbol){const t=thi... method _parse (line 1) | _parse(e){if(this._getType(e)!==a.symbol){const t=this._getOrReturnCtx... class te (line 1) | class te extends A{_parse(e){if(this._getType(e)!==a.undefined){const t=... method _parse (line 1) | _parse(e){if(this._getType(e)!==a.undefined){const t=this._getOrReturn... class se (line 1) | class se extends A{_parse(e){if(this._getType(e)!==a.null){const t=this.... method _parse (line 1) | _parse(e){if(this._getType(e)!==a.null){const t=this._getOrReturnCtx(e... class re (line 1) | class re extends A{constructor(){super(...arguments),this._any=!0}_parse... method constructor (line 1) | constructor(){super(...arguments),this._any=!0} method _parse (line 1) | _parse(e){return m(e.data)} class ae (line 1) | class ae extends A{constructor(){super(...arguments),this._unknown=!0}_p... method constructor (line 1) | constructor(){super(...arguments),this._unknown=!0} method _parse (line 1) | _parse(e){return m(e.data)} class ie (line 1) | class ie extends A{_parse(e){const t=this._getOrReturnCtx(e);return l(t,... method _parse (line 1) | _parse(e){const t=this._getOrReturnCtx(e);return l(t,{code:n.invalid_t... class ne (line 1) | class ne extends A{_parse(e){if(this._getType(e)!==a.undefined){const t=... method _parse (line 1) | _parse(e){if(this._getType(e)!==a.undefined){const t=this._getOrReturn... class oe (line 1) | class oe extends A{_parse(e){const{ctx:t,status:s}=this._processInputPar... method _parse (line 1) | _parse(e){const{ctx:t,status:s}=this._processInputParams(e),r=this._de... method element (line 1) | get element(){return this._def.type} method min (line 1) | min(e,t){return new oe({...this._def,minLength:{value:e,message:g.toSt... method max (line 1) | max(e,t){return new oe({...this._def,maxLength:{value:e,message:g.toSt... method length (line 1) | length(e,t){return new oe({...this._def,exactLength:{value:e,message:g... method nonempty (line 1) | nonempty(e){return this.min(1,e)} function de (line 1) | function de(e){if(e instanceof ue){const t={};for(const s in e.shape){co... class ue (line 1) | class ue extends A{constructor(){super(...arguments),this._cached=null,t... method constructor (line 1) | constructor(){super(...arguments),this._cached=null,this.nonstrict=thi... method _getCached (line 1) | _getCached(){if(null!==this._cached)return this._cached;const e=this._... method _parse (line 1) | _parse(e){if(this._getType(e)!==a.object){const t=this._getOrReturnCtx... method shape (line 1) | get shape(){return this._def.shape()} method strict (line 1) | strict(e){return g.errToObj,new ue({...this._def,unknownKeys:"strict",... method strip (line 1) | strip(){return new ue({...this._def,unknownKeys:"strip"})} method passthrough (line 1) | passthrough(){return new ue({...this._def,unknownKeys:"passthrough"})} method extend (line 1) | extend(e){return new ue({...this._def,shape:()=>({...this._def.shape()... method merge (line 1) | merge(e){return new ue({unknownKeys:e._def.unknownKeys,catchall:e._def... method setKey (line 1) | setKey(e,t){return this.augment({[e]:t})} method catchall (line 1) | catchall(e){return new ue({...this._def,catchall:e})} method pick (line 1) | pick(e){const s={};for(const r of t.objectKeys(e))e[r]&&this.shape[r]&... method omit (line 1) | omit(e){const s={};for(const r of t.objectKeys(this.shape))e[r]||(s[r]... method deepPartial (line 1) | deepPartial(){return de(this)} method partial (line 1) | partial(e){const s={};for(const r of t.objectKeys(this.shape)){const t... method required (line 1) | required(e){const s={};for(const r of t.objectKeys(this.shape))if(e&&!... method keyof (line 1) | keyof(){return _e(t.objectKeys(this.shape))} class le (line 1) | class le extends A{_parse(e){const{ctx:t}=this._processInputParams(e),s=... method _parse (line 1) | _parse(e){const{ctx:t}=this._processInputParams(e),s=this._def.options... method options (line 1) | get options(){return this._def.options} function ce (line 1) | function ce(e,s){const r=i(e),n=i(s);if(e===s)return{valid:!0,data:e};if... class he (line 1) | class he extends A{_parse(e){const{status:t,ctx:s}=this._processInputPar... method _parse (line 1) | _parse(e){const{status:t,ctx:s}=this._processInputParams(e),r=(e,r)=>{... class fe (line 1) | class fe extends A{_parse(e){const{status:t,ctx:s}=this._processInputPar... method _parse (line 1) | _parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parse... method items (line 1) | get items(){return this._def.items} method rest (line 1) | rest(e){return new fe({...this._def,rest:e})} class me (line 1) | class me extends A{get keySchema(){return this._def.keyType}get valueSch... method keySchema (line 1) | get keySchema(){return this._def.keyType} method valueSchema (line 1) | get valueSchema(){return this._def.valueType} method _parse (line 1) | _parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parse... class pe (line 1) | class pe extends A{_parse(e){const{status:t,ctx:s}=this._processInputPar... method _parse (line 1) | _parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parse... method min (line 1) | min(e,t){return new pe({...this._def,minSize:{value:e,message:g.toStri... method max (line 1) | max(e,t){return new pe({...this._def,maxSize:{value:e,message:g.toStri... method size (line 1) | size(e,t){return this.min(e,t).max(e,t)} method nonempty (line 1) | nonempty(e){return this.min(1,e)} class ye (line 1) | class ye extends A{get schema(){return this._def.getter()}_parse(e){cons... method schema (line 1) | get schema(){return this._def.getter()} method _parse (line 1) | _parse(e){const{ctx:t}=this._processInputParams(e);return this._def.ge... class ve (line 1) | class ve extends A{_parse(e){if(e.data!==this._def.value){const t=this._... method _parse (line 1) | _parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e)... method value (line 1) | get value(){return this._def.value} function _e (line 1) | function _e(e,t){return new ge({values:e,typeName:Ze.ZodEnum,...w(t)})} class ge (line 1) | class ge extends A{_parse(e){if("string"!=typeof e.data){const s=this._g... method _parse (line 1) | _parse(e){if("string"!=typeof e.data){const s=this._getOrReturnCtx(e),... method options (line 1) | get options(){return this._def.values} method enum (line 1) | get enum(){const e={};for(const t of this._def.values)e[t]=t;return e} method Values (line 1) | get Values(){const e={};for(const t of this._def.values)e[t]=t;return e} method Enum (line 1) | get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e} method extract (line 1) | extract(e,t=this._def){return ge.create(e,{...this._def,...t})} method exclude (line 1) | exclude(e,t=this._def){return ge.create(this.options.filter(t=>!e.incl... class be (line 1) | class be extends A{_parse(e){const s=t.getValidEnumValues(this._def.valu... method _parse (line 1) | _parse(e){const s=t.getValidEnumValues(this._def.values),r=this._getOr... method enum (line 1) | get enum(){return this._def.values} class ke (line 1) | class ke extends A{unwrap(){return this._def.type}_parse(e){const{ctx:t}... method unwrap (line 1) | unwrap(){return this._def.type} method _parse (line 1) | _parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==a... class xe (line 1) | class xe extends A{innerType(){return this._def.schema}sourceType(){retu... method innerType (line 1) | innerType(){return this._def.schema} method sourceType (line 1) | sourceType(){return this._def.schema._def.typeName===Ze.ZodEffects?thi... method _parse (line 1) | _parse(e){const{status:s,ctx:r}=this._processInputParams(e),a=this._de... class we (line 1) | class we extends A{_parse(e){return this._getType(e)===a.undefined?m(voi... method _parse (line 1) | _parse(e){return this._getType(e)===a.undefined?m(void 0):this._def.in... method unwrap (line 1) | unwrap(){return this._def.innerType} class Ae (line 1) | class Ae extends A{_parse(e){return this._getType(e)===a.null?m(null):th... method _parse (line 1) | _parse(e){return this._getType(e)===a.null?m(null):this._def.innerType... method unwrap (line 1) | unwrap(){return this._def.innerType} class Oe (line 1) | class Oe extends A{_parse(e){const{ctx:t}=this._processInputParams(e);le... method _parse (line 1) | _parse(e){const{ctx:t}=this._processInputParams(e);let s=t.data;return... method removeDefault (line 1) | removeDefault(){return this._def.innerType} class Se (line 1) | class Se extends A{_parse(e){const{ctx:t}=this._processInputParams(e),s=... method _parse (line 1) | _parse(e){const{ctx:t}=this._processInputParams(e),s={...t,common:{...... method removeCatch (line 1) | removeCatch(){return this._def.innerType} class Ve (line 1) | class Ve extends A{_parse(e){if(this._getType(e)!==a.nan){const t=this._... method _parse (line 1) | _parse(e){if(this._getType(e)!==a.nan){const t=this._getOrReturnCtx(e)... class Ce (line 1) | class Ce extends A{_parse(e){const{ctx:t}=this._processInputParams(e),s=... method _parse (line 1) | _parse(e){const{ctx:t}=this._processInputParams(e),s=t.data;return thi... method unwrap (line 1) | unwrap(){return this._def.type} class Te (line 1) | class Te extends A{_parse(e){const{status:t,ctx:s}=this._processInputPar... method _parse (line 1) | _parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.commo... method create (line 1) | static create(e,t){return new Te({in:e,out:t,typeName:Ze.ZodPipeline})} class Fe (line 1) | class Fe extends A{_parse(e){const t=this._def.innerType._parse(e),s=e=>... method _parse (line 1) | _parse(e){const t=this._def.innerType._parse(e),s=e=>(v(e)&&(e.value=O... method unwrap (line 1) | unwrap(){return this._def.innerType} function Ke (line 1) | function Ke(e){if(e instanceof Date)return new Date(e);const t="undefine... function _t (line 1) | function _t(e,t,s=new WeakSet){if(vt(e)||vt(t))return Object.is(e,t);if(... method observers (line 1) | get observers(){return e} function xt (line 1) | function xt(e,t){const s={};for(const r in e)if(e.hasOwnProperty(r)){con... function Tt (line 1) | function Tt(e,t){const s=Array.isArray(t)?t:qe(t)?[t]:Ye(t),r=1===s.leng... function Ft (line 1) | function Ft(e){return Array.isArray(e)||Be(e)&&!(e=>{for(const t in e)if... function Zt (line 1) | function Zt(e,t={}){for(const s in e){const r=e[s];Ft(r)?(t[s]=Array.isA... function Nt (line 1) | function Nt(e,t,s){s||(s=Zt(t));for(const r in e){const a=e[r];if(Ft(a))... function $t (line 1) | function $t(e){const t=e.ref;return At(t)?t.files:Vt(t)?Pt(e.refs).value... function qt (line 1) | function qt(e,t,s){const r=Ge(e,s);if(r||qe(s))return{error:r,name:s};co... function Jt (line 1) | function Jt(e,t,s="validate"){if(yt(e)||Array.isArray(e)&&e.every(yt)||X... function Qt (line 1) | function Qt(e={}){let t,s={...Xt,...e},r={submitCount:0,isDirty:!1,isRea... function es (line 1) | function es(t={}){const s=e.useRef(void 0),r=e.useRef(void 0),[a,i]=e.us... FILE: internal/app/app.go type App (line 30) | type App struct method Close (line 95) | func (a *App) Close() error { method Config (line 111) | func (a *App) Config() *AppConfig { method Logger (line 117) | func (a *App) Logger() *zap.Logger { method SubmitTask (line 125) | func (a *App) SubmitTask(ctx context.Context, task func(context.Contex... method SubmitTaskAsync (line 133) | func (a *App) SubmitTaskAsync(ctx context.Context, task func(context.C... method Version (line 139) | func (a *App) Version() pkgapp.VersionInfo { method CheckVersion (line 150) | func (a *App) CheckVersion(pluginVersion string) pkgapp.CheckVersionIn... method SetCheckVersionInfo (line 181) | func (a *App) SetCheckVersionInfo(info pkgapp.CheckVersionInfo) { method SetWSS (line 189) | func (a *App) SetWSS(wss *pkgapp.WebsocketServer) { method BroadcastClientInfo (line 195) | func (a *App) BroadcastClientInfo() { method Validator (line 203) | func (a *App) Validator() pkgapp.ValidatorInterface { method IsReturnSuccess (line 215) | func (a *App) IsReturnSuccess() bool { method GetAuthTokenKey (line 221) | func (a *App) GetAuthTokenKey() string { method IsProductionMode (line 229) | func (a *App) IsProductionMode() bool { method IsPullFromGitHub (line 235) | func (a *App) IsPullFromGitHub() bool { method ExecuteWrite (line 245) | func (a *App) ExecuteWrite(ctx context.Context, uid int64, fn func() e... method WorkerPool (line 251) | func (a *App) WorkerPool() *workerpool.Pool { method WriteQueueManager (line 257) | func (a *App) WriteQueueManager() *writequeue.Manager { method GetNoteService (line 263) | func (a *App) GetNoteService(clientType, clientName, clientVersion str... method GetFolderService (line 272) | func (a *App) GetFolderService(clientType, clientName, clientVersion s... method GetFileService (line 278) | func (a *App) GetFileService(clientType, clientName, clientVersion str... method GetSettingService (line 287) | func (a *App) GetSettingService(clientType, clientName, clientVersion ... method loadSupportRecords (line 296) | func (a *App) loadSupportRecords(efs embed.FS) { method GetSupportRecords (line 341) | func (a *App) GetSupportRecords() map[string][]pkgapp.SupportRecord { method GetSupportRecordsPage (line 349) | func (a *App) GetSupportRecordsPage(lang, sortBy, sortOrder string, pa... method UpdateSupportRecords (line 417) | func (a *App) UpdateSupportRecords(lang string, records []pkgapp.Suppo... method TriggerUpgrade (line 433) | func (a *App) TriggerUpgrade(newBinaryPath string) { method Shutdown (line 452) | func (a *App) Shutdown(ctx context.Context) error { method IsShuttingDown (line 581) | func (a *App) IsShuttingDown() bool { method ShutdownCh (line 592) | func (a *App) ShutdownCh() <-chan struct{} { method TrackOperation (line 600) | func (a *App) TrackOperation() func() { function NewApp (line 60) | func NewApp(cfg *AppConfig, logger *zap.Logger, db *gorm.DB, efs embed.F... constant DefaultShutdownTimeout (line 444) | DefaultShutdownTimeout = 30 * time.Second FILE: internal/app/config.go type AppConfig (line 22) | type AppConfig struct method Save (line 85) | func (c *AppConfig) Save() error { method GetWorkerPoolConfig (line 101) | func (c *AppConfig) GetWorkerPoolConfig() workerpool.Config { method GetWriteQueueConfig (line 116) | func (c *AppConfig) GetWriteQueueConfig() writequeue.Config { method GetTokenExpiry (line 138) | func (c *AppConfig) GetTokenExpiry() time.Duration { method GetShareTokenExpiry (line 148) | func (c *AppConfig) GetShareTokenExpiry() time.Duration { function LoadConfig (line 46) | func LoadConfig(f string) (*AppConfig, string, error) { FILE: internal/app/infra.go type Infra (line 16) | type Infra struct function initInfra (line 28) | func initInfra(cfg *AppConfig, logger *zap.Logger, db *gorm.DB) (*Infra,... FILE: internal/app/repos.go type Repositories (line 9) | type Repositories struct function initRepositories (line 27) | func initRepositories(d *dao.Dao) *Repositories { FILE: internal/app/restart_unix.go function RestartProcess (line 11) | func RestartProcess(argv0 string, args []string, env []string) error { FILE: internal/app/restart_windows.go function RestartProcess (line 12) | func RestartProcess(argv0 string, args []string, env []string) error { FILE: internal/app/services.go type Services (line 9) | type Services struct function initServices (line 29) | func initServices(cfg *AppConfig, infra *Infra, repos *Repositories, log... FILE: internal/app/testing.go function NewTestApp (line 16) | func NewTestApp(svcs *Services, dbs ...*gorm.DB) *App { FILE: internal/app/version.go constant Name (line 19) | Name = "Fast Note Sync Service" FILE: internal/config/app.go type AppSettings (line 5) | type AppSettings struct FILE: internal/config/database.go type DatabaseConfig (line 5) | type DatabaseConfig struct FILE: internal/config/git.go type GitConfig (line 5) | type GitConfig struct FILE: internal/config/log.go type LogConfig (line 5) | type LogConfig struct FILE: internal/config/security.go type SecurityConfig (line 5) | type SecurityConfig struct FILE: internal/config/server.go type ServerConfig (line 5) | type ServerConfig struct FILE: internal/config/short_link.go type ShortLinkConfig (line 5) | type ShortLinkConfig struct FILE: internal/config/storage.go type StorageConfig (line 5) | type StorageConfig struct type StorageLocalFSConfig (line 16) | type StorageLocalFSConfig struct type StorageBaseConfig (line 24) | type StorageBaseConfig struct FILE: internal/config/tracer.go type TracerConfig (line 5) | type TracerConfig struct FILE: internal/config/tunnel.go type NgrokConfig (line 5) | type NgrokConfig struct type CloudflareConfig (line 16) | type CloudflareConfig struct FILE: internal/config/user.go type UserConfig (line 5) | type UserConfig struct FILE: internal/config/webgui.go type WebGUIConfig (line 5) | type WebGUIConfig struct FILE: internal/dao/backup_repository.go type backupRepository (line 15) | type backupRepository struct method GetKey (line 25) | func (r *backupRepository) GetKey(uid int64) string { method backup (line 43) | func (r *backupRepository) backup(uid int64) *query.Query { method configToDomain (line 50) | func (r *backupRepository) configToDomain(m *model.BackupConfig) *doma... method configToModel (line 74) | func (r *backupRepository) configToModel(d *domain.BackupConfig) *mode... method historyToDomain (line 106) | func (r *backupRepository) historyToDomain(m *model.BackupHistory) *do... method historyToModel (line 128) | func (r *backupRepository) historyToModel(d *domain.BackupHistory) *mo... method GetByID (line 150) | func (r *backupRepository) GetByID(ctx context.Context, id, uid int64)... method DeleteConfig (line 162) | func (r *backupRepository) DeleteConfig(ctx context.Context, id, uid i... method ListConfigs (line 171) | func (r *backupRepository) ListConfigs(ctx context.Context, uid int64)... method SaveConfig (line 184) | func (r *backupRepository) SaveConfig(ctx context.Context, config *dom... method ListEnabledConfigs (line 221) | func (r *backupRepository) ListEnabledConfigs(ctx context.Context) ([]... method UpdateNextRunTime (line 249) | func (r *backupRepository) UpdateNextRunTime(ctx context.Context, id, ... method CreateHistory (line 259) | func (r *backupRepository) CreateHistory(ctx context.Context, history ... method ListHistory (line 276) | func (r *backupRepository) ListHistory(ctx context.Context, uid int64,... method ListOldHistory (line 291) | func (r *backupRepository) ListOldHistory(ctx context.Context, uid int... method DeleteOldHistory (line 305) | func (r *backupRepository) DeleteOldHistory(ctx context.Context, uid i... method DisableByVaultID (line 315) | func (r *backupRepository) DisableByVaultID(ctx context.Context, vault... function NewBackupRepository (line 21) | func NewBackupRepository(dao *Dao) domain.BackupRepository { function init (line 29) | func init() { FILE: internal/dao/dao.go type dbEntry (line 36) | type dbEntry struct type Dao (line 43) | type Dao struct method Logger (line 141) | func (d *Dao) Logger() *zap.Logger { method Config (line 150) | func (d *Dao) Config() *config.DatabaseConfig { method WriteQueueManager (line 156) | func (d *Dao) WriteQueueManager() *writequeue.Manager { method QueryWithOnceInit (line 171) | func (d *Dao) QueryWithOnceInit(f func(*gorm.DB), onceKey string, key ... method CleanupConnections (line 198) | func (d *Dao) CleanupConnections(maxIdle time.Duration) { method ResolveDB (line 213) | func (d *Dao) ResolveDB(key ...string) *gorm.DB { method resolveConfig (line 222) | func (d *Dao) resolveConfig(key string) config.DatabaseConfig { method GetOrCreateDB (line 245) | func (d *Dao) GetOrCreateDB(key string) *gorm.DB { method WithRetry (line 497) | func (d *Dao) WithRetry(fn func() error) error { method ExecuteWrite (line 528) | func (d *Dao) ExecuteWrite(ctx context.Context, uid int64, r daoDBCust... method ExecuteRead (line 587) | func (d *Dao) ExecuteRead(ctx context.Context, uid int64, r daoDBCusto... method ExecuteWriteWithRetry (line 603) | func (d *Dao) ExecuteWriteWithRetry(ctx context.Context, uid int64, r ... method getModelDBKey (line 613) | func (d *Dao) getModelDBKey(uid int64, modelKey string) string { method AutoMigrate (line 632) | func (d *Dao) AutoMigrate(uid int64, modelKey string) error { method user (line 663) | func (d *Dao) user() *query.Query { method GetAllUserUIDs (line 675) | func (d *Dao) GetAllUserUIDs() ([]int64, error) { method ensurePostgresSchema (line 687) | func (d *Dao) ensurePostgresSchema(schemaName string) error { method extractUserSchema (line 721) | func (d *Dao) extractUserSchema(key string) (string, bool) { method ensureMysqlDatabase (line 739) | func (d *Dao) ensureMysqlDatabase(dbName string) error { type DaoOption (line 61) | type DaoOption function WithConfig (line 65) | func WithConfig(cfg *config.DatabaseConfig) DaoOption { function WithUserDatabaseConfig (line 73) | func WithUserDatabaseConfig(cfg *config.DatabaseConfig) DaoOption { function WithLogger (line 81) | func WithLogger(logger *zap.Logger) DaoOption { function WithWriteQueueManager (line 89) | func WithWriteQueueManager(wqm *writequeue.Manager) DaoOption { type daoDBCustomKey (line 95) | type daoDBCustomKey interface type ModelConfig (line 101) | type ModelConfig struct function RegisterModel (line 111) | func RegisterModel(cfg ModelConfig) { function New (line 119) | func New(db *gorm.DB, ctx context.Context, opts ...DaoOption) *Dao { function NewEngine (line 356) | func NewEngine(c config.DatabaseConfig, zapLogger *zap.Logger) (*gorm.DB... function getDialector (line 439) | func getDialector(c config.DatabaseConfig) gorm.Dialector { FILE: internal/dao/dao_helper.go method GetNoteFolderPath (line 13) | func (d *Dao) GetNoteFolderPath(uid int64, noteID int64) string { method GetSettingFolderPath (line 19) | func (d *Dao) GetSettingFolderPath(uid int64, settingID int64) string { method GetFileFolderPath (line 25) | func (d *Dao) GetFileFolderPath(uid int64, fileID int64) string { method GetNoteHistoryFolderPath (line 31) | func (d *Dao) GetNoteHistoryFolderPath(uid int64, historyID int64) string { method SaveContentToFile (line 37) | func (d *Dao) SaveContentToFile(folderPath string, fileName string, cont... method LoadContentFromFile (line 49) | func (d *Dao) LoadContentFromFile(folderPath string, fileName string) (s... method RemoveContentFolder (line 63) | func (d *Dao) RemoveContentFolder(folderPath string) error { FILE: internal/dao/file_repository.go type fileRepository (line 24) | type fileRepository struct method GetKey (line 35) | func (r *fileRepository) GetKey(uid int64) string { method file (line 50) | func (r *fileRepository) file(uid int64) *query.Query { method toDomain (line 58) | func (r *fileRepository) toDomain(m *model.File, uid int64) *domain.Fi... method toModel (line 85) | func (r *fileRepository) toModel(file *domain.File) *model.File { method fillFilePath (line 110) | func (r *fileRepository) fillFilePath(uid int64, f *domain.File) { method GetByID (line 138) | func (r *fileRepository) GetByID(ctx context.Context, id, uid int64) (... method GetByPathHash (line 149) | func (r *fileRepository) GetByPathHash(ctx context.Context, pathHash s... method ListByPathHash (line 163) | func (r *fileRepository) ListByPathHash(ctx context.Context, pathHash ... method GetByPath (line 181) | func (r *fileRepository) GetByPath(ctx context.Context, path string, v... method GetByPathLike (line 195) | func (r *fileRepository) GetByPathLike(ctx context.Context, path strin... method Create (line 210) | func (r *fileRepository) Create(ctx context.Context, file *domain.File... method Update (line 254) | func (r *fileRepository) Update(ctx context.Context, file *domain.File... method UpdateMtime (line 296) | func (r *fileRepository) UpdateMtime(ctx context.Context, mtime int64,... method UpdateActionMtime (line 313) | func (r *fileRepository) UpdateActionMtime(ctx context.Context, action... method Delete (line 331) | func (r *fileRepository) Delete(ctx context.Context, id, uid int64) er... method DeletePhysicalByTime (line 350) | func (r *fileRepository) DeletePhysicalByTime(ctx context.Context, tim... method DeletePhysicalByTimeAll (line 378) | func (r *fileRepository) DeletePhysicalByTimeAll(ctx context.Context, ... method List (line 399) | func (r *fileRepository) List(ctx context.Context, vaultID int64, page... method ListCount (line 459) | func (r *fileRepository) ListCount(ctx context.Context, vaultID, uid i... method ListByUpdatedTimestamp (line 485) | func (r *fileRepository) ListByUpdatedTimestamp(ctx context.Context, t... method ListByUpdatedTimestampPage (line 491) | func (r *fileRepository) ListByUpdatedTimestampPage(ctx context.Contex... method ListByMtime (line 519) | func (r *fileRepository) ListByMtime(ctx context.Context, timestamp, v... method CountSizeSum (line 540) | func (r *fileRepository) CountSizeSum(ctx context.Context, vaultID, ui... method ListByFID (line 566) | func (r *fileRepository) ListByFID(ctx context.Context, fid, vaultID, ... method ListByFIDCount (line 598) | func (r *fileRepository) ListByFIDCount(ctx context.Context, fid, vaul... method ListByFIDs (line 609) | func (r *fileRepository) ListByFIDs(ctx context.Context, fids []int64,... method ListByFIDsCount (line 637) | func (r *fileRepository) ListByFIDsCount(ctx context.Context, fids []i... method ListByIDs (line 650) | func (r *fileRepository) ListByIDs(ctx context.Context, ids []int64, u... method RecycleClear (line 668) | func (r *fileRepository) RecycleClear(ctx context.Context, path, pathH... method UpdateFID (line 688) | func (r *fileRepository) UpdateFID(ctx context.Context, id, fid, uid i... method ListByPathPrefix (line 700) | func (r *fileRepository) ListByPathPrefix(ctx context.Context, pathPre... method DeleteByVaultID (line 755) | func (r *fileRepository) DeleteByVaultID(ctx context.Context, vaultID,... function NewFileRepository (line 31) | func NewFileRepository(dao *Dao) domain.FileRepository { function init (line 39) | func init() { function buildFileOrderClause (line 722) | func buildFileOrderClause(sortBy, sortOrder string) string { FILE: internal/dao/folder_repository.go type folderRepository (line 15) | type folderRepository struct method GetKey (line 24) | func (r *folderRepository) GetKey(uid int64) string { method folder (line 38) | func (r *folderRepository) folder(uid int64) *query.Query { method GetByID (line 44) | func (r *folderRepository) GetByID(ctx context.Context, id, uid int64)... method GetByPathHash (line 53) | func (r *folderRepository) GetByPathHash(ctx context.Context, pathHash... method GetAllByPathHash (line 62) | func (r *folderRepository) GetAllByPathHash(ctx context.Context, pathH... method GetByFID (line 75) | func (r *folderRepository) GetByFID(ctx context.Context, fid int64, va... method Create (line 89) | func (r *folderRepository) Create(ctx context.Context, folder *domain.... method Update (line 110) | func (r *folderRepository) Update(ctx context.Context, folder *domain.... method Delete (line 130) | func (r *folderRepository) Delete(ctx context.Context, id, uid int64) ... method ListByUpdatedTimestamp (line 138) | func (r *folderRepository) ListByUpdatedTimestamp(ctx context.Context,... method ListByPathPrefix (line 152) | func (r *folderRepository) ListByPathPrefix(ctx context.Context, pathP... method modelToDomain (line 169) | func (r *folderRepository) modelToDomain(m *model.Folder) *domain.Fold... method domainToModel (line 189) | func (r *folderRepository) domainToModel(d *domain.Folder) *model.Fold... method List (line 208) | func (r *folderRepository) List(ctx context.Context, vaultID int64, ui... method ListAll (line 221) | func (r *folderRepository) ListAll(ctx context.Context, uid int64) ([]... method DeleteByVaultID (line 235) | func (r *folderRepository) DeleteByVaultID(ctx context.Context, vaultI... function NewFolderRepository (line 20) | func NewFolderRepository(d *Dao) domain.FolderRepository { function init (line 28) | func init() { FILE: internal/dao/git_sync_repository.go type gitSyncRepository (line 16) | type gitSyncRepository struct method GetKey (line 27) | func (r *gitSyncRepository) GetKey(uid int64) string { method gitSync (line 45) | func (r *gitSyncRepository) gitSync(uid int64) *query.Query { method historyToDomain (line 56) | func (r *gitSyncRepository) historyToDomain(m *model.GitSyncHistory) *... method historyToModel (line 73) | func (r *gitSyncRepository) historyToModel(d *domain.GitSyncHistory) *... method CreateHistory (line 92) | func (r *gitSyncRepository) CreateHistory(ctx context.Context, history... method ListHistory (line 109) | func (r *gitSyncRepository) ListHistory(ctx context.Context, uid int64... method toDomain (line 128) | func (r *gitSyncRepository) toDomain(m *model.GitSyncConfig) *domain.G... method toModel (line 156) | func (r *gitSyncRepository) toModel(d *domain.GitSyncConfig) *model.Gi... method GetByID (line 187) | func (r *gitSyncRepository) GetByID(ctx context.Context, id, uid int64... method GetByVaultID (line 199) | func (r *gitSyncRepository) GetByVaultID(ctx context.Context, vaultID,... method Save (line 211) | func (r *gitSyncRepository) Save(ctx context.Context, config *domain.G... method Delete (line 241) | func (r *gitSyncRepository) Delete(ctx context.Context, id, uid int64)... method List (line 249) | func (r *gitSyncRepository) List(ctx context.Context, uid int64) ([]*d... method ListByVaultID (line 262) | func (r *gitSyncRepository) ListByVaultID(ctx context.Context, vaultID... method ListEnabled (line 275) | func (r *gitSyncRepository) ListEnabled(ctx context.Context) ([]*domai... method DeleteHistory (line 294) | func (r *gitSyncRepository) DeleteHistory(ctx context.Context, uid int... method DeleteOldHistory (line 306) | func (r *gitSyncRepository) DeleteOldHistory(ctx context.Context, uid ... method DisableByVaultID (line 319) | func (r *gitSyncRepository) DisableByVaultID(ctx context.Context, vaul... function NewGitSyncRepository (line 23) | func NewGitSyncRepository(dao *Dao) domain.GitSyncRepository { function init (line 31) | func init() { FILE: internal/dao/note_fts_repository.go type noteFTSRepository (line 17) | type noteFTSRepository struct method GetKey (line 28) | func (r *noteFTSRepository) GetKey(uid int64) string { method ensureFTSTable (line 34) | func (r *noteFTSRepository) ensureFTSTable(uid int64) *gorm.DB { method Upsert (line 53) | func (r *noteFTSRepository) Upsert(ctx context.Context, noteID int64, ... method Delete (line 100) | func (r *noteFTSRepository) Delete(ctx context.Context, noteID int64, ... method Search (line 109) | func (r *noteFTSRepository) Search(ctx context.Context, keyword string... method SearchCount (line 145) | func (r *noteFTSRepository) SearchCount(ctx context.Context, keyword s... method RebuildIndex (line 177) | func (r *noteFTSRepository) RebuildIndex(ctx context.Context, uid int6... method DeleteByVaultID (line 230) | func (r *noteFTSRepository) DeleteByVaultID(ctx context.Context, vault... function NewNoteFTSRepository (line 24) | func NewNoteFTSRepository(dao *Dao) domain.NoteFTSRepository { FILE: internal/dao/note_history_repository.go type noteHistoryRepository (line 24) | type noteHistoryRepository struct method GetKey (line 35) | func (r *noteHistoryRepository) GetKey(uid int64) string { method noteHistory (line 50) | func (r *noteHistoryRepository) noteHistory(uid int64) *query.Query { method toDomain (line 58) | func (r *noteHistoryRepository) toDomain(m *model.NoteHistory, uid int... method fillHistoryContent (line 85) | func (r *noteHistoryRepository) fillHistoryContent(uid int64, h *domai... method GetByID (line 137) | func (r *noteHistoryRepository) GetByID(ctx context.Context, id, uid i... method GetByNoteIDAndHash (line 148) | func (r *noteHistoryRepository) GetByNoteIDAndHash(ctx context.Context... method Create (line 159) | func (r *noteHistoryRepository) Create(ctx context.Context, history *d... method ListByNoteID (line 221) | func (r *noteHistoryRepository) ListByNoteID(ctx context.Context, note... method GetLatestVersion (line 251) | func (r *noteHistoryRepository) GetLatestVersion(ctx context.Context, ... method Migrate (line 265) | func (r *noteHistoryRepository) Migrate(ctx context.Context, oldNoteID... method GetNoteIDsWithOldHistory (line 275) | func (r *noteHistoryRepository) GetNoteIDsWithOldHistory(ctx context.C... method DeleteOldVersions (line 291) | func (r *noteHistoryRepository) DeleteOldVersions(ctx context.Context,... method Delete (line 366) | func (r *noteHistoryRepository) Delete(ctx context.Context, id, uid in... method DeleteByVaultID (line 394) | func (r *noteHistoryRepository) DeleteByVaultID(ctx context.Context, v... function NewNoteHistoryRepository (line 31) | func NewNoteHistoryRepository(dao *Dao) domain.NoteHistoryRepository { function init (line 39) | func init() { FILE: internal/dao/note_link_repository.go type noteLinkRepository (line 19) | type noteLinkRepository struct method GetKey (line 29) | func (r *noteLinkRepository) GetKey(uid int64) string { method noteLink (line 44) | func (r *noteLinkRepository) noteLink(uid int64) *query.Query { method toDomain (line 52) | func (r *noteLinkRepository) toDomain(m *model.NoteLink) *domain.NoteL... method CreateBatch (line 69) | func (r *noteLinkRepository) CreateBatch(ctx context.Context, links []... method DeleteBySourceNoteID (line 95) | func (r *noteLinkRepository) DeleteBySourceNoteID(ctx context.Context,... method GetBacklinks (line 104) | func (r *noteLinkRepository) GetBacklinks(ctx context.Context, targetP... method GetBacklinksByHashes (line 123) | func (r *noteLinkRepository) GetBacklinksByHashes(ctx context.Context,... method GetOutlinks (line 149) | func (r *noteLinkRepository) GetOutlinks(ctx context.Context, sourceNo... method DeleteByVaultID (line 166) | func (r *noteLinkRepository) DeleteByVaultID(ctx context.Context, vaul... function NewNoteLinkRepository (line 25) | func NewNoteLinkRepository(dao *Dao) domain.NoteLinkRepository { function init (line 33) | func init() { FILE: internal/dao/note_repository.go type noteRepository (line 25) | type noteRepository struct method GetKey (line 36) | func (r *noteRepository) GetKey(uid int64) string { method note (line 50) | func (r *noteRepository) note(uid int64) *query.Query { method ListByIDs (line 61) | func (r *noteRepository) ListByIDs(ctx context.Context, ids []int64, u... method EnsureFTSIndex (line 83) | func (r *noteRepository) EnsureFTSIndex(ctx context.Context, uid int64... method toDomain (line 139) | func (r *noteRepository) toDomain(m *model.Note, uid int64) (*domain.N... method toModel (line 174) | func (r *noteRepository) toModel(note *domain.Note) *model.Note { method fillNoteContent (line 205) | func (r *noteRepository) fillNoteContent(uid int64, n *domain.Note) er... method GetByID (line 262) | func (r *noteRepository) GetByID(ctx context.Context, id, uid int64) (... method GetByPathHash (line 273) | func (r *noteRepository) GetByPathHash(ctx context.Context, pathHash s... method GetByPathHashIncludeRecycle (line 288) | func (r *noteRepository) GetByPathHashIncludeRecycle(ctx context.Conte... method GetAllByPathHash (line 310) | func (r *noteRepository) GetAllByPathHash(ctx context.Context, pathHas... method ListByPathHash (line 324) | func (r *noteRepository) ListByPathHash(ctx context.Context, pathHash ... method GetByPath (line 346) | func (r *noteRepository) GetByPath(ctx context.Context, path string, v... method Create (line 360) | func (r *noteRepository) Create(ctx context.Context, note *domain.Note... method Update (line 409) | func (r *noteRepository) Update(ctx context.Context, note *domain.Note... method UpdateDelete (line 478) | func (r *noteRepository) UpdateDelete(ctx context.Context, note *domai... method UpdateMtime (line 509) | func (r *noteRepository) UpdateMtime(ctx context.Context, mtime int64,... method UpdateActionMtime (line 526) | func (r *noteRepository) UpdateActionMtime(ctx context.Context, action... method UpdateSnapshot (line 544) | func (r *noteRepository) UpdateSnapshot(ctx context.Context, snapshot,... method Delete (line 565) | func (r *noteRepository) Delete(ctx context.Context, id, uid int64) er... method DeletePhysicalByTime (line 584) | func (r *noteRepository) DeletePhysicalByTime(ctx context.Context, tim... method DeletePhysicalByTimeAll (line 611) | func (r *noteRepository) DeletePhysicalByTimeAll(ctx context.Context, ... method List (line 636) | func (r *noteRepository) List(ctx context.Context, vaultID int64, page... method ListByPathPrefix (line 714) | func (r *noteRepository) ListByPathPrefix(ctx context.Context, pathPre... method ListCount (line 769) | func (r *noteRepository) ListCount(ctx context.Context, vaultID, uid i... method ListByUpdatedTimestamp (line 811) | func (r *noteRepository) ListByUpdatedTimestamp(ctx context.Context, t... method ListByUpdatedTimestampPage (line 817) | func (r *noteRepository) ListByUpdatedTimestampPage(ctx context.Contex... method ListContentUnchanged (line 850) | func (r *noteRepository) ListContentUnchanged(ctx context.Context, uid... method CountSizeSum (line 876) | func (r *noteRepository) CountSizeSum(ctx context.Context, vaultID, ui... method ListByFID (line 901) | func (r *noteRepository) ListByFID(ctx context.Context, fid, vaultID, ... method ListByFIDCount (line 936) | func (r *noteRepository) ListByFIDCount(ctx context.Context, fid, vaul... method ListByFIDs (line 947) | func (r *noteRepository) ListByFIDs(ctx context.Context, fids []int64,... method ListByFIDsCount (line 980) | func (r *noteRepository) ListByFIDsCount(ctx context.Context, fids []i... method RecycleClear (line 992) | func (r *noteRepository) RecycleClear(ctx context.Context, path, pathH... method UpdateFID (line 1012) | func (r *noteRepository) UpdateFID(ctx context.Context, id, fid, uid i... method upsertFTS (line 1024) | func (r *noteRepository) upsertFTS(db *gorm.DB, noteID int64, path, co... method deleteFTS (line 1042) | func (r *noteRepository) deleteFTS(db *gorm.DB, noteID int64) { method searchFTS (line 1048) | func (r *noteRepository) searchFTS(db *gorm.DB, keyword string, vaultI... method searchFTSCount (line 1085) | func (r *noteRepository) searchFTSCount(db *gorm.DB, keyword string, v... method DeleteByVaultID (line 1112) | func (r *noteRepository) DeleteByVaultID(ctx context.Context, vaultID,... function NewNoteRepository (line 32) | func NewNoteRepository(dao *Dao) domain.NoteRepository { function init (line 40) | func init() { function getSortField (line 740) | func getSortField(sortBy string) string { function buildOrderClause (line 753) | func buildOrderClause(sortBy, sortOrder string) string { FILE: internal/dao/setting_repository.go type settingRepository (line 23) | type settingRepository struct method GetKey (line 34) | func (r *settingRepository) GetKey(uid int64) string { method setting (line 49) | func (r *settingRepository) setting(uid int64) *query.Query { method toDomain (line 58) | func (r *settingRepository) toDomain(m *model.Setting, uid int64) (*do... method fillSettingContent (line 86) | func (r *settingRepository) fillSettingContent(uid int64, s *domain.Se... method GetByPathHash (line 116) | func (r *settingRepository) GetByPathHash(ctx context.Context, pathHas... method ListByPathHash (line 130) | func (r *settingRepository) ListByPathHash(ctx context.Context, pathHa... method Create (line 152) | func (r *settingRepository) Create(ctx context.Context, setting *domai... method Update (line 205) | func (r *settingRepository) Update(ctx context.Context, setting *domai... method UpdateMtime (line 258) | func (r *settingRepository) UpdateMtime(ctx context.Context, mtime int... method UpdateActionMtime (line 272) | func (r *settingRepository) UpdateActionMtime(ctx context.Context, act... method Delete (line 290) | func (r *settingRepository) Delete(ctx context.Context, id, uid int64)... method DeletePhysicalByTime (line 309) | func (r *settingRepository) DeletePhysicalByTime(ctx context.Context, ... method DeletePhysicalByTimeAll (line 338) | func (r *settingRepository) DeletePhysicalByTimeAll(ctx context.Contex... method List (line 354) | func (r *settingRepository) List(ctx context.Context, vaultID int64, p... method ListCount (line 380) | func (r *settingRepository) ListCount(ctx context.Context, vaultID, ui... method ListByUpdatedTimestamp (line 391) | func (r *settingRepository) ListByUpdatedTimestamp(ctx context.Context... method DeleteByVaultID (line 415) | func (r *settingRepository) DeleteByVaultID(ctx context.Context, vault... function NewSettingRepository (line 30) | func NewSettingRepository(dao *Dao) domain.SettingRepository { function init (line 38) | func init() { FILE: internal/dao/storage_repository.go type storageRepository (line 17) | type storageRepository struct method GetKey (line 27) | func (r *storageRepository) GetKey(uid int64) string { method storage (line 42) | func (r *storageRepository) storage(uid int64) *query.Query { method toDomain (line 50) | func (r *storageRepository) toDomain(m *model.Storage) *domain.Storage { method toModel (line 77) | func (r *storageRepository) toModel(s *domain.Storage) *model.Storage { method GetByID (line 113) | func (r *storageRepository) GetByID(ctx context.Context, id, uid int64... method Create (line 124) | func (r *storageRepository) Create(ctx context.Context, storage *domai... method Update (line 152) | func (r *storageRepository) Update(ctx context.Context, storage *domai... method List (line 187) | func (r *storageRepository) List(ctx context.Context, uid int64) ([]*d... method Delete (line 203) | func (r *storageRepository) Delete(ctx context.Context, id, uid int64)... function NewStorageRepository (line 23) | func NewStorageRepository(dao *Dao) domain.StorageRepository { function init (line 31) | func init() { FILE: internal/dao/sync_log_repository.go type syncLogRepository (line 19) | type syncLogRepository struct method GetKey (line 33) | func (r *syncLogRepository) GetKey(uid int64) string { method db (line 49) | func (r *syncLogRepository) db(uid int64) *gorm.DB { method Create (line 63) | func (r *syncLogRepository) Create(ctx context.Context, log *domain.Sy... method List (line 90) | func (r *syncLogRepository) List(ctx context.Context, uid int64, logTy... method CleanupByTime (line 144) | func (r *syncLogRepository) CleanupByTime(ctx context.Context, timesta... method CleanupByTimeAll (line 152) | func (r *syncLogRepository) CleanupByTimeAll(ctx context.Context, time... method DeleteByVaultID (line 171) | func (r *syncLogRepository) DeleteByVaultID(ctx context.Context, vault... function NewSyncLogRepository (line 27) | func NewSyncLogRepository(dao *Dao) domain.SyncLogRepository { function init (line 37) | func init() { FILE: internal/dao/user_repository.go type userRepository (line 18) | type userRepository struct method GetKey (line 28) | func (r *userRepository) GetKey(uid int64) string { method user (line 41) | func (r *userRepository) user() *query.Query { method toDomain (line 49) | func (r *userRepository) toDomain(m *model.User) *domain.User { method toModel (line 70) | func (r *userRepository) toModel(user *domain.User) *model.User { method GetByUID (line 95) | func (r *userRepository) GetByUID(ctx context.Context, uid int64) (*do... method GetByEmail (line 106) | func (r *userRepository) GetByEmail(ctx context.Context, email string)... method GetByUsername (line 117) | func (r *userRepository) GetByUsername(ctx context.Context, username s... method Create (line 128) | func (r *userRepository) Create(ctx context.Context, user *domain.User... method UpdatePassword (line 143) | func (r *userRepository) UpdatePassword(ctx context.Context, password ... method GetAllUIDs (line 157) | func (r *userRepository) GetAllUIDs(ctx context.Context) ([]int64, err... function NewUserRepository (line 24) | func NewUserRepository(dao *Dao) domain.UserRepository { function init (line 32) | func init() { FILE: internal/dao/user_share_repository.go type userShareRepository (line 18) | type userShareRepository struct method GetKey (line 29) | func (r *userShareRepository) GetKey(uid int64) string { method userShare (line 44) | func (r *userShareRepository) userShare(uid int64) *query.Query { method toDomain (line 53) | func (r *userShareRepository) toDomain(m *model.UserShare) *domain.Use... method toModel (line 79) | func (r *userShareRepository) toModel(d *domain.UserShare) *model.User... method Create (line 102) | func (r *userShareRepository) Create(ctx context.Context, uid int64, s... method GetByID (line 114) | func (r *userShareRepository) GetByID(ctx context.Context, uid int64, ... method GetByPath (line 123) | func (r *userShareRepository) GetByPath(ctx context.Context, uid int64... method GetByRes (line 139) | func (r *userShareRepository) GetByRes(ctx context.Context, uid int64,... method UpdateResources (line 148) | func (r *userShareRepository) UpdateResources(ctx context.Context, uid... method UpdateStatus (line 160) | func (r *userShareRepository) UpdateStatus(ctx context.Context, uid in... method UpdateStatusByRes (line 168) | func (r *userShareRepository) UpdateStatusByRes(ctx context.Context, u... method UpdateViewStats (line 176) | func (r *userShareRepository) UpdateViewStats(ctx context.Context, uid... method ListByUID (line 187) | func (r *userShareRepository) ListByUID(ctx context.Context, uid int64... method UpdateShortLink (line 225) | func (r *userShareRepository) UpdateShortLink(ctx context.Context, uid... method UpdatePassword (line 233) | func (r *userShareRepository) UpdatePassword(ctx context.Context, uid ... method CountByUID (line 241) | func (r *userShareRepository) CountByUID(ctx context.Context, uid int6... method ListActiveNoteResIDs (line 249) | func (r *userShareRepository) ListActiveNoteResIDs(ctx context.Context... method ListChangedNoteResIDs (line 267) | func (r *userShareRepository) ListChangedNoteResIDs(ctx context.Contex... method MigrateResID (line 290) | func (r *userShareRepository) MigrateResID(ctx context.Context, uid in... method DeleteByVaultID (line 350) | func (r *userShareRepository) DeleteByVaultID(ctx context.Context, vau... function NewUserShareRepository (line 25) | func NewUserShareRepository(dao *Dao) domain.UserShareRepository { function init (line 33) | func init() { FILE: internal/dao/vault_repository.go type vaultRepository (line 19) | type vaultRepository struct method GetKey (line 30) | func (r *vaultRepository) GetKey(uid int64) string { method vault (line 45) | func (r *vaultRepository) vault(uid int64) *query.Query { method toDomain (line 53) | func (r *vaultRepository) toDomain(m *model.Vault) *domain.Vault { method toModel (line 73) | func (r *vaultRepository) toModel(vault *domain.Vault) *model.Vault { method GetByID (line 96) | func (r *vaultRepository) GetByID(ctx context.Context, id, uid int64) ... method GetByName (line 107) | func (r *vaultRepository) GetByName(ctx context.Context, name string, ... method Create (line 118) | func (r *vaultRepository) Create(ctx context.Context, vault *domain.Va... method Update (line 151) | func (r *vaultRepository) Update(ctx context.Context, vault *domain.Va... method UpdateNoteCountSize (line 163) | func (r *vaultRepository) UpdateNoteCountSize(ctx context.Context, not... method UpdateFileCountSize (line 180) | func (r *vaultRepository) UpdateFileCountSize(ctx context.Context, fil... method List (line 197) | func (r *vaultRepository) List(ctx context.Context, uid int64) ([]*dom... method Delete (line 220) | func (r *vaultRepository) Delete(ctx context.Context, id, uid int64) e... function NewVaultRepository (line 26) | func NewVaultRepository(dao *Dao) domain.VaultRepository { function init (line 34) | func init() { FILE: internal/domain/domain_backup.go constant BackupStatusIdle (line 10) | BackupStatusIdle = 0 constant BackupStatusRunning (line 11) | BackupStatusRunning = 1 constant BackupStatusSuccess (line 12) | BackupStatusSuccess = 2 constant BackupStatusFailed (line 13) | BackupStatusFailed = 3 constant BackupStatusStopped (line 14) | BackupStatusStopped = 4 constant BackupStatusNoUpdate (line 15) | BackupStatusNoUpdate = 5 type BackupConfig (line 19) | type BackupConfig struct type BackupHistory (line 39) | type BackupHistory struct type BackupRepository (line 57) | type BackupRepository interface FILE: internal/domain/domain_file.go type FileAction (line 10) | type FileAction constant FileActionCreate (line 13) | FileActionCreate FileAction = "create" constant FileActionModify (line 14) | FileActionModify FileAction = "modify" constant FileActionDelete (line 15) | FileActionDelete FileAction = "delete" type File (line 19) | type File struct method IsDeleted (line 38) | func (f *File) IsDeleted() bool { method IsCreated (line 43) | func (f *File) IsCreated() bool { method IsModified (line 48) | func (f *File) IsModified() bool { type FileRepository (line 53) | type FileRepository interface FILE: internal/domain/domain_folder.go type FolderAction (line 10) | type FolderAction constant FolderActionCreate (line 13) | FolderActionCreate FolderAction = "create" constant FolderActionModify (line 14) | FolderActionModify FolderAction = "modify" constant FolderActionDelete (line 15) | FolderActionDelete FolderAction = "delete" type Folder (line 19) | type Folder struct method IsDeleted (line 35) | func (f *Folder) IsDeleted() bool { type FolderRepository (line 40) | type FolderRepository interface FILE: internal/domain/domain_git_sync.go constant GitSyncStatusIdle (line 10) | GitSyncStatusIdle = 0 constant GitSyncStatusRunning (line 11) | GitSyncStatusRunning = 1 constant GitSyncStatusSuccess (line 12) | GitSyncStatusSuccess = 2 constant GitSyncStatusFailed (line 13) | GitSyncStatusFailed = 3 constant GitSyncStatusShutdown (line 14) | GitSyncStatusShutdown = 4 type GitSyncConfig (line 18) | type GitSyncConfig struct type GitSyncHistory (line 37) | type GitSyncHistory struct type GitSyncRepository (line 50) | type GitSyncRepository interface FILE: internal/domain/domain_note.go type NoteAction (line 11) | type NoteAction constant NoteActionCreate (line 14) | NoteActionCreate NoteAction = "create" constant NoteActionModify (line 15) | NoteActionModify NoteAction = "modify" constant NoteActionDelete (line 16) | NoteActionDelete NoteAction = "delete" type Note (line 20) | type Note struct method IsDeleted (line 51) | func (n *Note) IsDeleted() bool { method IsCreated (line 56) | func (n *Note) IsCreated() bool { method IsModified (line 61) | func (n *Note) IsModified() bool { type CountSizeResult (line 45) | type CountSizeResult struct type NoteRepository (line 66) | type NoteRepository interface FILE: internal/domain/domain_note_fts.go type NoteFTSRepository (line 9) | type NoteFTSRepository interface FILE: internal/domain/domain_note_history.go type NoteHistory (line 11) | type NoteHistory struct type NoteHistoryRepository (line 28) | type NoteHistoryRepository interface FILE: internal/domain/domain_note_link.go type NoteLink (line 11) | type NoteLink struct type NoteLinkRepository (line 23) | type NoteLinkRepository interface FILE: internal/domain/domain_setting.go type SettingAction (line 11) | type SettingAction constant SettingActionCreate (line 14) | SettingActionCreate SettingAction = "create" constant SettingActionModify (line 15) | SettingActionModify SettingAction = "modify" constant SettingActionDelete (line 16) | SettingActionDelete SettingAction = "delete" type Setting (line 20) | type Setting struct method IsDeleted (line 38) | func (s *Setting) IsDeleted() bool { method IsCreated (line 43) | func (s *Setting) IsCreated() bool { method IsModified (line 48) | func (s *Setting) IsModified() bool { type SettingRepository (line 53) | type SettingRepository interface FILE: internal/domain/domain_storage.go type Storage (line 10) | type Storage struct type StorageRepository (line 31) | type StorageRepository interface FILE: internal/domain/domain_sync_log.go type SyncLogType (line 13) | type SyncLogType type SyncLogAction (line 17) | type SyncLogAction constant SyncLogTypeNote (line 22) | SyncLogTypeNote SyncLogType = "note" constant SyncLogTypeFile (line 26) | SyncLogTypeFile SyncLogType = "file" constant SyncLogTypeSetting (line 30) | SyncLogTypeSetting SyncLogType = "setting" constant SyncLogTypeFolder (line 34) | SyncLogTypeFolder SyncLogType = "folder" constant SyncLogActionCreate (line 38) | SyncLogActionCreate SyncLogAction = "create" constant SyncLogActionModify (line 42) | SyncLogActionModify SyncLogAction = "modify" constant SyncLogActionSoftDelete (line 46) | SyncLogActionSoftDelete SyncLogAction = "soft_delete" constant SyncLogActionDelete (line 50) | SyncLogActionDelete SyncLogAction = "delete" constant SyncLogActionRename (line 54) | SyncLogActionRename SyncLogAction = "rename" constant SyncLogActionRestore (line 58) | SyncLogActionRestore SyncLogAction = "restore" type SyncLog (line 63) | type SyncLog struct type SyncLogRepository (line 83) | type SyncLogRepository interface FILE: internal/domain/domain_user.go type User (line 10) | type User struct method HasEmail (line 25) | func (u *User) HasEmail() bool { method HasAvatar (line 30) | func (u *User) HasAvatar() bool { method IsActive (line 35) | func (u *User) IsActive() bool { type UserRepository (line 40) | type UserRepository interface FILE: internal/domain/domain_user_share.go constant UserShareStatusActive (line 17) | UserShareStatusActive int64 = 1 constant UserShareStatusRevoked (line 18) | UserShareStatusRevoked int64 = 2 type UserShare (line 22) | type UserShare struct type UserShareRepository (line 39) | type UserShareRepository interface FILE: internal/domain/domain_vault.go type Vault (line 10) | type Vault struct method IsEmpty (line 24) | func (v *Vault) IsEmpty() bool { method TotalSize (line 29) | func (v *Vault) TotalSize() int64 { method TotalCount (line 34) | func (v *Vault) TotalCount() int64 { type VaultRepository (line 39) | type VaultRepository interface FILE: internal/domain/mocks/mock_backup_repository.go type MockBackupRepository (line 15) | type MockBackupRepository struct method ListConfigs (line 19) | func (m *MockBackupRepository) ListConfigs(ctx context.Context, uid in... method GetByID (line 27) | func (m *MockBackupRepository) GetByID(ctx context.Context, id, uid in... method DeleteConfig (line 35) | func (m *MockBackupRepository) DeleteConfig(ctx context.Context, id, u... method SaveConfig (line 40) | func (m *MockBackupRepository) SaveConfig(ctx context.Context, config ... method ListEnabledConfigs (line 48) | func (m *MockBackupRepository) ListEnabledConfigs(ctx context.Context)... method UpdateNextRunTime (line 56) | func (m *MockBackupRepository) UpdateNextRunTime(ctx context.Context, ... method CreateHistory (line 61) | func (m *MockBackupRepository) CreateHistory(ctx context.Context, hist... method ListHistory (line 69) | func (m *MockBackupRepository) ListHistory(ctx context.Context, uid in... method ListOldHistory (line 77) | func (m *MockBackupRepository) ListOldHistory(ctx context.Context, uid... method DeleteOldHistory (line 85) | func (m *MockBackupRepository) DeleteOldHistory(ctx context.Context, u... method DisableByVaultID (line 90) | func (m *MockBackupRepository) DisableByVaultID(ctx context.Context, v... FILE: internal/domain/mocks/mock_file_repository.go type MockFileRepository (line 14) | type MockFileRepository struct method GetByID (line 18) | func (m *MockFileRepository) GetByID(ctx context.Context, id, uid int6... method GetByPathHash (line 26) | func (m *MockFileRepository) GetByPathHash(ctx context.Context, pathHa... method ListByPathHash (line 34) | func (m *MockFileRepository) ListByPathHash(ctx context.Context, pathH... method GetByPath (line 42) | func (m *MockFileRepository) GetByPath(ctx context.Context, path strin... method GetByPathLike (line 50) | func (m *MockFileRepository) GetByPathLike(ctx context.Context, path s... method Create (line 58) | func (m *MockFileRepository) Create(ctx context.Context, file *domain.... method Update (line 66) | func (m *MockFileRepository) Update(ctx context.Context, file *domain.... method UpdateMtime (line 74) | func (m *MockFileRepository) UpdateMtime(ctx context.Context, mtime in... method UpdateActionMtime (line 79) | func (m *MockFileRepository) UpdateActionMtime(ctx context.Context, ac... method UpdateFID (line 84) | func (m *MockFileRepository) UpdateFID(ctx context.Context, id, fid, u... method Delete (line 89) | func (m *MockFileRepository) Delete(ctx context.Context, id, uid int64... method DeletePhysicalByTime (line 94) | func (m *MockFileRepository) DeletePhysicalByTime(ctx context.Context,... method DeletePhysicalByTimeAll (line 99) | func (m *MockFileRepository) DeletePhysicalByTimeAll(ctx context.Conte... method List (line 104) | func (m *MockFileRepository) List(ctx context.Context, vaultID int64, ... method ListCount (line 112) | func (m *MockFileRepository) ListCount(ctx context.Context, vaultID, u... method ListByUpdatedTimestamp (line 117) | func (m *MockFileRepository) ListByUpdatedTimestamp(ctx context.Contex... method ListByUpdatedTimestampPage (line 125) | func (m *MockFileRepository) ListByUpdatedTimestampPage(ctx context.Co... method ListByMtime (line 133) | func (m *MockFileRepository) ListByMtime(ctx context.Context, timestam... method CountSizeSum (line 141) | func (m *MockFileRepository) CountSizeSum(ctx context.Context, vaultID... method ListByFID (line 149) | func (m *MockFileRepository) ListByFID(ctx context.Context, fid, vault... method ListByFIDCount (line 157) | func (m *MockFileRepository) ListByFIDCount(ctx context.Context, fid, ... method ListByFIDs (line 162) | func (m *MockFileRepository) ListByFIDs(ctx context.Context, fids []in... method ListByFIDsCount (line 170) | func (m *MockFileRepository) ListByFIDsCount(ctx context.Context, fids... method ListByIDs (line 175) | func (m *MockFileRepository) ListByIDs(ctx context.Context, ids []int6... method ListByPathPrefix (line 183) | func (m *MockFileRepository) ListByPathPrefix(ctx context.Context, pat... method DeleteByVaultID (line 191) | func (m *MockFileRepository) DeleteByVaultID(ctx context.Context, vaul... method RecycleClear (line 196) | func (m *MockFileRepository) RecycleClear(ctx context.Context, path, p... FILE: internal/domain/mocks/mock_folder_repository.go type MockFolderRepository (line 14) | type MockFolderRepository struct method GetByID (line 18) | func (m *MockFolderRepository) GetByID(ctx context.Context, id, uid in... method GetByPathHash (line 26) | func (m *MockFolderRepository) GetByPathHash(ctx context.Context, path... method GetAllByPathHash (line 34) | func (m *MockFolderRepository) GetAllByPathHash(ctx context.Context, p... method GetByFID (line 42) | func (m *MockFolderRepository) GetByFID(ctx context.Context, fid int64... method Create (line 50) | func (m *MockFolderRepository) Create(ctx context.Context, folder *dom... method Update (line 58) | func (m *MockFolderRepository) Update(ctx context.Context, folder *dom... method Delete (line 66) | func (m *MockFolderRepository) Delete(ctx context.Context, id, uid int... method ListByUpdatedTimestamp (line 71) | func (m *MockFolderRepository) ListByUpdatedTimestamp(ctx context.Cont... method List (line 79) | func (m *MockFolderRepository) List(ctx context.Context, vaultID int64... method ListAll (line 87) | func (m *MockFolderRepository) ListAll(ctx context.Context, uid int64)... method DeleteByVaultID (line 95) | func (m *MockFolderRepository) DeleteByVaultID(ctx context.Context, va... FILE: internal/domain/mocks/mock_git_sync_repository.go type MockGitSyncRepository (line 15) | type MockGitSyncRepository struct method GetByID (line 19) | func (m *MockGitSyncRepository) GetByID(ctx context.Context, id, uid i... method GetByVaultID (line 27) | func (m *MockGitSyncRepository) GetByVaultID(ctx context.Context, vaul... method Save (line 35) | func (m *MockGitSyncRepository) Save(ctx context.Context, config *doma... method Delete (line 43) | func (m *MockGitSyncRepository) Delete(ctx context.Context, id, uid in... method List (line 48) | func (m *MockGitSyncRepository) List(ctx context.Context, uid int64) (... method ListByVaultID (line 56) | func (m *MockGitSyncRepository) ListByVaultID(ctx context.Context, vau... method ListEnabled (line 64) | func (m *MockGitSyncRepository) ListEnabled(ctx context.Context) ([]*d... method CreateHistory (line 72) | func (m *MockGitSyncRepository) CreateHistory(ctx context.Context, his... method ListHistory (line 80) | func (m *MockGitSyncRepository) ListHistory(ctx context.Context, uid i... method DeleteHistory (line 88) | func (m *MockGitSyncRepository) DeleteHistory(ctx context.Context, uid... method DeleteOldHistory (line 93) | func (m *MockGitSyncRepository) DeleteOldHistory(ctx context.Context, ... method DisableByVaultID (line 98) | func (m *MockGitSyncRepository) DisableByVaultID(ctx context.Context, ... FILE: internal/domain/mocks/mock_note_fts_repository.go type MockNoteFTSRepository (line 11) | type MockNoteFTSRepository struct method Upsert (line 15) | func (m *MockNoteFTSRepository) Upsert(ctx context.Context, noteID int... method Delete (line 20) | func (m *MockNoteFTSRepository) Delete(ctx context.Context, noteID int... method Search (line 25) | func (m *MockNoteFTSRepository) Search(ctx context.Context, keyword st... method SearchCount (line 33) | func (m *MockNoteFTSRepository) SearchCount(ctx context.Context, keywo... method RebuildIndex (line 38) | func (m *MockNoteFTSRepository) RebuildIndex(ctx context.Context, uid ... method DeleteByVaultID (line 43) | func (m *MockNoteFTSRepository) DeleteByVaultID(ctx context.Context, v... FILE: internal/domain/mocks/mock_note_history_repository.go type MockNoteHistoryRepository (line 14) | type MockNoteHistoryRepository struct method GetByID (line 18) | func (m *MockNoteHistoryRepository) GetByID(ctx context.Context, id, u... method GetByNoteIDAndHash (line 26) | func (m *MockNoteHistoryRepository) GetByNoteIDAndHash(ctx context.Con... method Create (line 34) | func (m *MockNoteHistoryRepository) Create(ctx context.Context, histor... method ListByNoteID (line 42) | func (m *MockNoteHistoryRepository) ListByNoteID(ctx context.Context, ... method GetLatestVersion (line 50) | func (m *MockNoteHistoryRepository) GetLatestVersion(ctx context.Conte... method Migrate (line 55) | func (m *MockNoteHistoryRepository) Migrate(ctx context.Context, oldNo... method GetNoteIDsWithOldHistory (line 60) | func (m *MockNoteHistoryRepository) GetNoteIDsWithOldHistory(ctx conte... method DeleteOldVersions (line 68) | func (m *MockNoteHistoryRepository) DeleteOldVersions(ctx context.Cont... method Delete (line 73) | func (m *MockNoteHistoryRepository) Delete(ctx context.Context, id, ui... method DeleteByVaultID (line 78) | func (m *MockNoteHistoryRepository) DeleteByVaultID(ctx context.Contex... FILE: internal/domain/mocks/mock_note_link_repository.go type MockNoteLinkRepository (line 14) | type MockNoteLinkRepository struct method CreateBatch (line 18) | func (m *MockNoteLinkRepository) CreateBatch(ctx context.Context, link... method DeleteBySourceNoteID (line 23) | func (m *MockNoteLinkRepository) DeleteBySourceNoteID(ctx context.Cont... method GetBacklinks (line 28) | func (m *MockNoteLinkRepository) GetBacklinks(ctx context.Context, tar... method GetBacklinksByHashes (line 36) | func (m *MockNoteLinkRepository) GetBacklinksByHashes(ctx context.Cont... method GetOutlinks (line 44) | func (m *MockNoteLinkRepository) GetOutlinks(ctx context.Context, sour... method DeleteByVaultID (line 52) | func (m *MockNoteLinkRepository) DeleteByVaultID(ctx context.Context, ... FILE: internal/domain/mocks/mock_note_repository.go type MockNoteRepository (line 15) | type MockNoteRepository struct method GetByID (line 19) | func (m *MockNoteRepository) GetByID(ctx context.Context, id, uid int6... method GetByPathHash (line 27) | func (m *MockNoteRepository) GetByPathHash(ctx context.Context, pathHa... method GetByPathHashIncludeRecycle (line 35) | func (m *MockNoteRepository) GetByPathHashIncludeRecycle(ctx context.C... method GetAllByPathHash (line 43) | func (m *MockNoteRepository) GetAllByPathHash(ctx context.Context, pat... method ListByPathHash (line 51) | func (m *MockNoteRepository) ListByPathHash(ctx context.Context, pathH... method GetByPath (line 59) | func (m *MockNoteRepository) GetByPath(ctx context.Context, path strin... method Create (line 67) | func (m *MockNoteRepository) Create(ctx context.Context, note *domain.... method Update (line 75) | func (m *MockNoteRepository) Update(ctx context.Context, note *domain.... method UpdateDelete (line 83) | func (m *MockNoteRepository) UpdateDelete(ctx context.Context, note *d... method UpdateMtime (line 88) | func (m *MockNoteRepository) UpdateMtime(ctx context.Context, mtime in... method UpdateActionMtime (line 93) | func (m *MockNoteRepository) UpdateActionMtime(ctx context.Context, ac... method UpdateFID (line 98) | func (m *MockNoteRepository) UpdateFID(ctx context.Context, id, fid, u... method UpdateSnapshot (line 103) | func (m *MockNoteRepository) UpdateSnapshot(ctx context.Context, snaps... method Delete (line 108) | func (m *MockNoteRepository) Delete(ctx context.Context, id, uid int64... method DeletePhysicalByTime (line 113) | func (m *MockNoteRepository) DeletePhysicalByTime(ctx context.Context,... method DeletePhysicalByTimeAll (line 118) | func (m *MockNoteRepository) DeletePhysicalByTimeAll(ctx context.Conte... method List (line 123) | func (m *MockNoteRepository) List(ctx context.Context, vaultID int64, ... method ListCount (line 131) | func (m *MockNoteRepository) ListCount(ctx context.Context, vaultID, u... method ListByUpdatedTimestamp (line 136) | func (m *MockNoteRepository) ListByUpdatedTimestamp(ctx context.Contex... method ListByUpdatedTimestampPage (line 144) | func (m *MockNoteRepository) ListByUpdatedTimestampPage(ctx context.Co... method ListContentUnchanged (line 152) | func (m *MockNoteRepository) ListContentUnchanged(ctx context.Context,... method CountSizeSum (line 160) | func (m *MockNoteRepository) CountSizeSum(ctx context.Context, vaultID... method ListByFID (line 168) | func (m *MockNoteRepository) ListByFID(ctx context.Context, fid, vault... method ListByFIDCount (line 176) | func (m *MockNoteRepository) ListByFIDCount(ctx context.Context, fid, ... method ListByFIDs (line 181) | func (m *MockNoteRepository) ListByFIDs(ctx context.Context, fids []in... method ListByFIDsCount (line 189) | func (m *MockNoteRepository) ListByFIDsCount(ctx context.Context, fids... method ListByIDs (line 194) | func (m *MockNoteRepository) ListByIDs(ctx context.Context, ids []int6... method ListByPathPrefix (line 202) | func (m *MockNoteRepository) ListByPathPrefix(ctx context.Context, pat... method RecycleClear (line 210) | func (m *MockNoteRepository) RecycleClear(ctx context.Context, path, p... method DeleteByVaultID (line 215) | func (m *MockNoteRepository) DeleteByVaultID(ctx context.Context, vaul... FILE: internal/domain/mocks/mock_setting_repository.go type MockSettingRepository (line 14) | type MockSettingRepository struct method GetByPathHash (line 18) | func (m *MockSettingRepository) GetByPathHash(ctx context.Context, pat... method ListByPathHash (line 26) | func (m *MockSettingRepository) ListByPathHash(ctx context.Context, pa... method Create (line 34) | func (m *MockSettingRepository) Create(ctx context.Context, setting *d... method Update (line 42) | func (m *MockSettingRepository) Update(ctx context.Context, setting *d... method UpdateMtime (line 50) | func (m *MockSettingRepository) UpdateMtime(ctx context.Context, mtime... method UpdateActionMtime (line 55) | func (m *MockSettingRepository) UpdateActionMtime(ctx context.Context,... method Delete (line 60) | func (m *MockSettingRepository) Delete(ctx context.Context, id, uid in... method DeletePhysicalByTime (line 65) | func (m *MockSettingRepository) DeletePhysicalByTime(ctx context.Conte... method DeletePhysicalByTimeAll (line 70) | func (m *MockSettingRepository) DeletePhysicalByTimeAll(ctx context.Co... method List (line 75) | func (m *MockSettingRepository) List(ctx context.Context, vaultID int6... method ListCount (line 83) | func (m *MockSettingRepository) ListCount(ctx context.Context, vaultID... method ListByUpdatedTimestamp (line 88) | func (m *MockSettingRepository) ListByUpdatedTimestamp(ctx context.Con... method DeleteByVaultID (line 96) | func (m *MockSettingRepository) DeleteByVaultID(ctx context.Context, v... FILE: internal/domain/mocks/mock_storage_repository.go type MockStorageRepository (line 14) | type MockStorageRepository struct method GetByID (line 18) | func (m *MockStorageRepository) GetByID(ctx context.Context, id, uid i... method Create (line 26) | func (m *MockStorageRepository) Create(ctx context.Context, storage *d... method Update (line 34) | func (m *MockStorageRepository) Update(ctx context.Context, storage *d... method List (line 42) | func (m *MockStorageRepository) List(ctx context.Context, uid int64) (... method Delete (line 50) | func (m *MockStorageRepository) Delete(ctx context.Context, id, uid in... FILE: internal/domain/mocks/mock_sync_log_repository.go type MockSyncLogRepository (line 11) | type MockSyncLogRepository struct method Create (line 15) | func (m *MockSyncLogRepository) Create(ctx context.Context, log *domai... method List (line 20) | func (m *MockSyncLogRepository) List(ctx context.Context, uid int64, l... method CleanupByTime (line 28) | func (m *MockSyncLogRepository) CleanupByTime(ctx context.Context, tim... method CleanupByTimeAll (line 33) | func (m *MockSyncLogRepository) CleanupByTimeAll(ctx context.Context, ... method DeleteByVaultID (line 38) | func (m *MockSyncLogRepository) DeleteByVaultID(ctx context.Context, v... FILE: internal/domain/mocks/mock_user_repository.go type MockUserRepository (line 14) | type MockUserRepository struct method GetByUID (line 20) | func (m *MockUserRepository) GetByUID(ctx context.Context, uid int64) ... method GetByEmail (line 30) | func (m *MockUserRepository) GetByEmail(ctx context.Context, email str... method GetByUsername (line 40) | func (m *MockUserRepository) GetByUsername(ctx context.Context, userna... method Create (line 50) | func (m *MockUserRepository) Create(ctx context.Context, user *domain.... method UpdatePassword (line 60) | func (m *MockUserRepository) UpdatePassword(ctx context.Context, passw... method GetAllUIDs (line 67) | func (m *MockUserRepository) GetAllUIDs(ctx context.Context) ([]int64,... FILE: internal/domain/mocks/mock_user_share_repository.go type MockUserShareRepository (line 15) | type MockUserShareRepository struct method Create (line 19) | func (m *MockUserShareRepository) Create(ctx context.Context, uid int6... method GetByID (line 24) | func (m *MockUserShareRepository) GetByID(ctx context.Context, uid int... method GetByPath (line 32) | func (m *MockUserShareRepository) GetByPath(ctx context.Context, uid i... method GetByRes (line 40) | func (m *MockUserShareRepository) GetByRes(ctx context.Context, uid in... method UpdateResources (line 48) | func (m *MockUserShareRepository) UpdateResources(ctx context.Context,... method UpdateStatus (line 53) | func (m *MockUserShareRepository) UpdateStatus(ctx context.Context, ui... method UpdateStatusByRes (line 58) | func (m *MockUserShareRepository) UpdateStatusByRes(ctx context.Contex... method UpdateViewStats (line 63) | func (m *MockUserShareRepository) UpdateViewStats(ctx context.Context,... method UpdatePassword (line 68) | func (m *MockUserShareRepository) UpdatePassword(ctx context.Context, ... method UpdateShortLink (line 73) | func (m *MockUserShareRepository) UpdateShortLink(ctx context.Context,... method ListByUID (line 78) | func (m *MockUserShareRepository) ListByUID(ctx context.Context, uid i... method CountByUID (line 86) | func (m *MockUserShareRepository) CountByUID(ctx context.Context, uid ... method ListActiveNoteResIDs (line 91) | func (m *MockUserShareRepository) ListActiveNoteResIDs(ctx context.Con... method ListChangedNoteResIDs (line 99) | func (m *MockUserShareRepository) ListChangedNoteResIDs(ctx context.Co... method MigrateResID (line 111) | func (m *MockUserShareRepository) MigrateResID(ctx context.Context, ui... method DeleteByVaultID (line 116) | func (m *MockUserShareRepository) DeleteByVaultID(ctx context.Context,... FILE: internal/domain/mocks/mock_vault_repository.go type MockVaultRepository (line 14) | type MockVaultRepository struct method GetByID (line 20) | func (m *MockVaultRepository) GetByID(ctx context.Context, id, uid int... method GetByName (line 30) | func (m *MockVaultRepository) GetByName(ctx context.Context, name stri... method Create (line 40) | func (m *MockVaultRepository) Create(ctx context.Context, vault *domai... method Update (line 50) | func (m *MockVaultRepository) Update(ctx context.Context, vault *domai... method UpdateNoteCountSize (line 57) | func (m *MockVaultRepository) UpdateNoteCountSize(ctx context.Context,... method UpdateFileCountSize (line 64) | func (m *MockVaultRepository) UpdateFileCountSize(ctx context.Context,... method List (line 71) | func (m *MockVaultRepository) List(ctx context.Context, uid int64) ([]... method Delete (line 81) | func (m *MockVaultRepository) Delete(ctx context.Context, id, uid int6... FILE: internal/dto/admin_dto.go type AdminWebGUIConfig (line 7) | type AdminWebGUIConfig struct type AdminCheckResponse (line 15) | type AdminCheckResponse struct type AdminConfig (line 21) | type AdminConfig struct type AdminUserDatabaseConfig (line 40) | type AdminUserDatabaseConfig struct type AdminNgrokConfig (line 61) | type AdminNgrokConfig struct type AdminCloudflareConfig (line 69) | type AdminCloudflareConfig struct type AdminSystemInfo (line 77) | type AdminSystemInfo struct type AdminCPUInfo (line 89) | type AdminCPUInfo struct type AdminLoadInfo (line 99) | type AdminLoadInfo struct type AdminMemoryInfo (line 107) | type AdminMemoryInfo struct type AdminHostInfo (line 119) | type AdminHostInfo struct type AdminProcessInfo (line 134) | type AdminProcessInfo struct type AdminRuntimeInfo (line 144) | type AdminRuntimeInfo struct FILE: internal/dto/app_dto.go type VersionDTO (line 7) | type VersionDTO struct type UpgradeRequest (line 24) | type UpgradeRequest struct FILE: internal/dto/backup.go type BackupConfigRequest (line 7) | type BackupConfigRequest struct type BackupExecuteRequest (line 21) | type BackupExecuteRequest struct type BackupHistoryListRequest (line 27) | type BackupHistoryListRequest struct type BackupConfigDTO (line 35) | type BackupConfigDTO struct type BackupHistoryDTO (line 56) | type BackupHistoryDTO struct FILE: internal/dto/conflict_dto.go type ConflictFileRequest (line 7) | type ConflictFileRequest struct type ConflictFileResponse (line 20) | type ConflictFileResponse struct FILE: internal/dto/file_dto.go type FileUpdateCheckRequest (line 9) | type FileUpdateCheckRequest struct type FileUpdateRequest (line 21) | type FileUpdateRequest struct type FileDeleteRequest (line 34) | type FileDeleteRequest struct type FileRestoreRequest (line 42) | type FileRestoreRequest struct type FileRecycleClearRequest (line 50) | type FileRecycleClearRequest struct type FileSyncCheckRequest (line 58) | type FileSyncCheckRequest struct type FileSyncDelFile (line 69) | type FileSyncDelFile struct type FileSyncRequest (line 76) | type FileSyncRequest struct type FileUploadCompleteRequest (line 87) | type FileUploadCompleteRequest struct type FileGetRequest (line 93) | type FileGetRequest struct type FileListRequest (line 102) | type FileListRequest struct type FileRenameRequest (line 112) | type FileRenameRequest struct type FileDTO (line 124) | type FileDTO struct FILE: internal/dto/file_dto_ws.go type FileSyncModifyMessage (line 5) | type FileSyncModifyMessage struct type FileSyncEndMessage (line 17) | type FileSyncEndMessage struct type FileSyncUploadMessage (line 27) | type FileSyncUploadMessage struct type FileSyncDownloadMessage (line 35) | type FileSyncDownloadMessage struct type FileSyncMtimeMessage (line 47) | type FileSyncMtimeMessage struct type FileSyncDeleteMessage (line 56) | type FileSyncDeleteMessage struct type FileRenameAckMessage (line 67) | type FileRenameAckMessage struct type FileUploadAckMessage (line 75) | type FileUploadAckMessage struct type FileDeleteAckMessage (line 83) | type FileDeleteAckMessage struct type FileSyncRenameMessage (line 91) | type FileSyncRenameMessage struct FILE: internal/dto/folder_dto.go type FolderGetRequest (line 7) | type FolderGetRequest struct type FolderListRequest (line 15) | type FolderListRequest struct type FolderCreateRequest (line 23) | type FolderCreateRequest struct type FolderDeleteRequest (line 31) | type FolderDeleteRequest struct type FolderSyncCheckRequest (line 39) | type FolderSyncCheckRequest struct type FolderSyncDelFolder (line 47) | type FolderSyncDelFolder struct type FolderSyncRequest (line 54) | type FolderSyncRequest struct type FolderRenameRequest (line 65) | type FolderRenameRequest struct type FolderContentRequest (line 75) | type FolderContentRequest struct type FolderTreeRequest (line 85) | type FolderTreeRequest struct type FolderDTO (line 94) | type FolderDTO struct type FolderTreeNode (line 110) | type FolderTreeNode struct type FolderTreeResponse (line 120) | type FolderTreeResponse struct FILE: internal/dto/folder_dto_ws.go type FolderSyncEndMessage (line 5) | type FolderSyncEndMessage struct type FolderSyncRenameMessage (line 13) | type FolderSyncRenameMessage struct type FolderSyncDeleteMessage (line 24) | type FolderSyncDeleteMessage struct type FolderSyncModifyMessage (line 33) | type FolderSyncModifyMessage struct type FolderModifyAckMessage (line 42) | type FolderModifyAckMessage struct type FolderRenameAckMessage (line 50) | type FolderRenameAckMessage struct type FolderDeleteAckMessage (line 58) | type FolderDeleteAckMessage struct FILE: internal/dto/git_sync_dto.go type GitSyncConfigRequest (line 7) | type GitSyncConfigRequest struct type GitSyncValidateRequest (line 21) | type GitSyncValidateRequest struct type GitSyncExecuteRequest (line 30) | type GitSyncExecuteRequest struct type GitSyncCleanRequest (line 36) | type GitSyncCleanRequest struct type GitSyncDeleteRequest (line 42) | type GitSyncDeleteRequest struct type GitSyncConfigDTO (line 48) | type GitSyncConfigDTO struct type GitSyncHistoryRequest (line 68) | type GitSyncHistoryRequest struct type GitSyncHistoryDTO (line 76) | type GitSyncHistoryDTO struct FILE: internal/dto/note_dto.go type NoteUpdateCheckRequest (line 12) | type NoteUpdateCheckRequest struct type NoteModifyOrCreateRequest (line 23) | type NoteModifyOrCreateRequest struct type ContentModifyRequest (line 38) | type ContentModifyRequest struct type NoteDeleteRequest (line 50) | type NoteDeleteRequest struct type NoteRestoreRequest (line 58) | type NoteRestoreRequest struct type NoteRecycleClearRequest (line 66) | type NoteRecycleClearRequest struct type NotePatchFrontmatterRequest (line 74) | type NotePatchFrontmatterRequest struct type NoteAppendRequest (line 84) | type NoteAppendRequest struct type NotePrependRequest (line 93) | type NotePrependRequest struct type NoteReplaceRequest (line 102) | type NoteReplaceRequest struct type NoteMoveRequest (line 115) | type NoteMoveRequest struct type NoteLinkQueryRequest (line 125) | type NoteLinkQueryRequest struct type NoteSyncCheckRequest (line 133) | type NoteSyncCheckRequest struct type NoteSyncDelNote (line 143) | type NoteSyncDelNote struct type NoteSyncRequest (line 150) | type NoteSyncRequest struct type ModifyMtimeFilesRequest (line 161) | type ModifyMtimeFilesRequest struct type NoteGetRequest (line 168) | type NoteGetRequest struct type NoteRenameRequest (line 177) | type NoteRenameRequest struct type NoteListRequest (line 187) | type NoteListRequest struct type NoteHistoryListRequest (line 200) | type NoteHistoryListRequest struct type NoteHistoryRestoreRequest (line 209) | type NoteHistoryRestoreRequest struct type NoteDTO (line 218) | type NoteDTO struct type NoteNoContentDTO (line 239) | type NoteNoContentDTO struct type NoteReplaceResponse (line 258) | type NoteReplaceResponse struct type NoteLinkItem (line 265) | type NoteLinkItem struct type NoteWithFileLinksResponse (line 274) | type NoteWithFileLinksResponse struct type NoteHistoryDTO (line 291) | type NoteHistoryDTO struct type NoteHistoryNoContentDTO (line 308) | type NoteHistoryNoContentDTO struct FILE: internal/dto/note_dto_ws.go type NoteSyncRenameMessage (line 5) | type NoteSyncRenameMessage struct type NoteSyncModifyMessage (line 19) | type NoteSyncModifyMessage struct type NoteSyncEndMessage (line 31) | type NoteSyncEndMessage struct type NoteSyncNeedPushMessage (line 41) | type NoteSyncNeedPushMessage struct type NoteSyncMtimeMessage (line 48) | type NoteSyncMtimeMessage struct type NoteSyncDeleteMessage (line 57) | type NoteSyncDeleteMessage struct type NoteModifyAckMessage (line 68) | type NoteModifyAckMessage struct type NoteRenameAckMessage (line 76) | type NoteRenameAckMessage struct type NoteDeleteAckMessage (line 84) | type NoteDeleteAckMessage struct FILE: internal/dto/setting_dto.go type SettingUpdateCheckRequest (line 9) | type SettingUpdateCheckRequest struct type SettingModifyOrCreateRequest (line 20) | type SettingModifyOrCreateRequest struct type SettingDeleteRequest (line 32) | type SettingDeleteRequest struct type SettingClearRequest (line 40) | type SettingClearRequest struct type SettingListRequest (line 46) | type SettingListRequest struct type SettingRenameRequest (line 53) | type SettingRenameRequest struct type SettingGetRequest (line 63) | type SettingGetRequest struct type SettingSyncCheckRequest (line 71) | type SettingSyncCheckRequest struct type SettingSyncDelSetting (line 80) | type SettingSyncDelSetting struct type SettingSyncRequest (line 87) | type SettingSyncRequest struct type SettingDTO (line 101) | type SettingDTO struct FILE: internal/dto/setting_dto_ws.go type SettingSyncModifyMessage (line 5) | type SettingSyncModifyMessage struct type SettingSyncEndMessage (line 18) | type SettingSyncEndMessage struct type SettingSyncNeedUploadMessage (line 28) | type SettingSyncNeedUploadMessage struct type SettingSyncMtimeMessage (line 34) | type SettingSyncMtimeMessage struct type SettingSyncDeleteMessage (line 43) | type SettingSyncDeleteMessage struct type SettingModifyAckMessage (line 52) | type SettingModifyAckMessage struct type SettingDeleteAckMessage (line 60) | type SettingDeleteAckMessage struct FILE: internal/dto/share_dto.go type ShareCreateRequest (line 11) | type ShareCreateRequest struct type ShareQueryRequest (line 20) | type ShareQueryRequest struct type ShareCancelRequest (line 28) | type ShareCancelRequest struct type ShareResourceRequest (line 37) | type ShareResourceRequest struct type SharePasswordUpdateRequest (line 44) | type SharePasswordUpdateRequest struct type ShareShortLinkCreateRequest (line 53) | type ShareShortLinkCreateRequest struct type ShareListRequest (line 63) | type ShareListRequest struct type ShareCreateResponse (line 73) | type ShareCreateResponse struct type ShareListItem (line 84) | type ShareListItem struct type ShareListResponse (line 104) | type ShareListResponse struct FILE: internal/dto/storage_dto.go type StorageDTO (line 7) | type StorageDTO struct type StoragePostRequest (line 29) | type StoragePostRequest struct type StorageGetRequest (line 47) | type StorageGetRequest struct FILE: internal/dto/sync_log_dto.go type SyncLogListRequest (line 9) | type SyncLogListRequest struct type SyncLogDTO (line 17) | type SyncLogDTO struct FILE: internal/dto/user_dto.go type UserCreateRequest (line 9) | type UserCreateRequest struct type UserLoginRequest (line 18) | type UserLoginRequest struct type UserRegisterSendEmailRequest (line 25) | type UserRegisterSendEmailRequest struct type UserChangePasswordRequest (line 31) | type UserChangePasswordRequest struct type UserDTO (line 41) | type UserDTO struct FILE: internal/dto/vault_dto.go type VaultPostRequest (line 7) | type VaultPostRequest struct type VaultGetRequest (line 14) | type VaultGetRequest struct type VaultDTO (line 23) | type VaultDTO struct FILE: internal/dto/ws_dto.go constant VaultFileMsgType (line 9) | VaultFileMsgType WebSocketMsgType = "00" constant FolderReceiveSync (line 25) | FolderReceiveSync WebSocketReceiveAction = "FolderSync" constant FolderReceiveModify (line 28) | FolderReceiveModify WebSocketReceiveAction = "FolderModify" constant FolderReceiveDelete (line 31) | FolderReceiveDelete WebSocketReceiveAction = "FolderDelete" constant FolderReceiveRename (line 34) | FolderReceiveRename WebSocketReceiveAction = "FolderRename" constant NoteReceiveSync (line 40) | NoteReceiveSync WebSocketReceiveAction = "NoteSync" constant NoteReceiveModify (line 43) | NoteReceiveModify WebSocketReceiveAction = "NoteModify" constant NoteReceiveDelete (line 46) | NoteReceiveDelete WebSocketReceiveAction = "NoteDelete" constant NoteReceiveRename (line 49) | NoteReceiveRename WebSocketReceiveAction = "NoteRename" constant NoteReceiveCheck (line 52) | NoteReceiveCheck WebSocketReceiveAction = "NoteCheck" constant NoteReceiveRePush (line 55) | NoteReceiveRePush WebSocketReceiveAction = "NoteRePush" constant FileReceiveSync (line 61) | FileReceiveSync WebSocketReceiveAction = "FileSync" constant FileReceiveUploadCheck (line 64) | FileReceiveUploadCheck WebSocketReceiveAction = "FileUploadCheck" constant FileReceiveDelete (line 67) | FileReceiveDelete WebSocketReceiveAction = "FileDelete" constant FileReceiveRename (line 70) | FileReceiveRename WebSocketReceiveAction = "FileRename" constant FileReceiveChunkDownload (line 73) | FileReceiveChunkDownload WebSocketReceiveAction = "FileChunkDownload" constant FileReceiveRePush (line 76) | FileReceiveRePush WebSocketReceiveAction = "FileRePush" constant SettingReceiveSync (line 82) | SettingReceiveSync WebSocketReceiveAction = "SettingSync" constant SettingReceiveModify (line 85) | SettingReceiveModify WebSocketReceiveAction = "SettingModify" constant SettingReceiveDelete (line 88) | SettingReceiveDelete WebSocketReceiveAction = "SettingDelete" constant SettingReceiveCheck (line 91) | SettingReceiveCheck WebSocketReceiveAction = "SettingCheck" constant SettingReceiveClear (line 94) | SettingReceiveClear WebSocketReceiveAction = "SettingClear" constant FolderSyncModify (line 102) | FolderSyncModify WebSocketSendAction = "FolderSyncModify" constant FolderSyncDelete (line 105) | FolderSyncDelete WebSocketSendAction = "FolderSyncDelete" constant FolderSyncEnd (line 108) | FolderSyncEnd WebSocketSendAction = "FolderSyncEnd" constant FolderSyncRename (line 111) | FolderSyncRename WebSocketSendAction = "FolderSyncRename" constant FolderModifyAck (line 114) | FolderModifyAck WebSocketSendAction = "FolderModifyAck" constant FolderRenameAck (line 117) | FolderRenameAck WebSocketSendAction = "FolderRenameAck" constant FolderDeleteAck (line 120) | FolderDeleteAck WebSocketSendAction = "FolderDeleteAck" constant NoteSyncModify (line 126) | NoteSyncModify WebSocketSendAction = "NoteSyncModify" constant NoteSyncDelete (line 129) | NoteSyncDelete WebSocketSendAction = "NoteSyncDelete" constant NoteSyncRename (line 132) | NoteSyncRename WebSocketSendAction = "NoteSyncRename" constant NoteSyncMtime (line 135) | NoteSyncMtime WebSocketSendAction = "NoteSyncMtime" constant NoteSyncEnd (line 138) | NoteSyncEnd WebSocketSendAction = "NoteSyncEnd" constant NoteSyncNeedPush (line 141) | NoteSyncNeedPush WebSocketSendAction = "NoteSyncNeedPush" constant NoteModifyAck (line 144) | NoteModifyAck WebSocketSendAction = "NoteModifyAck" constant NoteRenameAck (line 147) | NoteRenameAck WebSocketSendAction = "NoteRenameAck" constant NoteDeleteAck (line 150) | NoteDeleteAck WebSocketSendAction = "NoteDeleteAck" constant FileSyncUpdate (line 156) | FileSyncUpdate WebSocketSendAction = "FileSyncUpdate" constant FileSyncDelete (line 159) | FileSyncDelete WebSocketSendAction = "FileSyncDelete" constant FileSyncRename (line 162) | FileSyncRename WebSocketSendAction = "FileSyncRename" constant FileSyncMtime (line 165) | FileSyncMtime WebSocketSendAction = "FileSyncMtime" constant FileSyncEnd (line 168) | FileSyncEnd WebSocketSendAction = "FileSyncEnd" constant FileUpload (line 171) | FileUpload WebSocketSendAction = "FileUpload" constant FileSyncChunkDownload (line 174) | FileSyncChunkDownload WebSocketSendAction = "FileSyncChunkDownload" constant FileRenameAck (line 177) | FileRenameAck WebSocketSendAction = "FileRenameAck" constant FileUploadAck (line 180) | FileUploadAck WebSocketSendAction = "FileUploadAck" constant FileDeleteAck (line 183) | FileDeleteAck WebSocketSendAction = "FileDeleteAck" constant SettingSyncModify (line 189) | SettingSyncModify WebSocketSendAction = "SettingSyncModify" constant SettingSyncDelete (line 192) | SettingSyncDelete WebSocketSendAction = "SettingSyncDelete" constant SettingSyncMtime (line 195) | SettingSyncMtime WebSocketSendAction = "SettingSyncMtime" constant SettingSyncEnd (line 198) | SettingSyncEnd WebSocketSendAction = "SettingSyncEnd" constant SettingSyncNeedUpload (line 201) | SettingSyncNeedUpload WebSocketSendAction = "SettingSyncNeedUpload" constant SettingSyncClear (line 204) | SettingSyncClear WebSocketSendAction = "SettingSyncClear" constant SettingModifyAck (line 207) | SettingModifyAck WebSocketSendAction = "SettingModifyAck" constant SettingDeleteAck (line 210) | SettingDeleteAck WebSocketSendAction = "SettingDeleteAck" constant ShareSyncRefresh (line 216) | ShareSyncRefresh WebSocketSendAction = "ShareSyncRefresh" type WSQueuedMessage (line 223) | type WSQueuedMessage struct FILE: internal/middleware/404nofound.go function NoFound (line 12) | func NoFound() gin.HandlerFunc { FILE: internal/middleware/access_log.go function AccessLogWithLogger (line 12) | func AccessLogWithLogger(logger *zap.Logger) gin.HandlerFunc { FILE: internal/middleware/app_info.go function AppInfoWithConfig (line 11) | func AppInfoWithConfig(appName, appVersion string) gin.HandlerFunc { FILE: internal/middleware/context_timeout.go function ContextTimeout (line 12) | func ContextTimeout(timeout time.Duration) gin.HandlerFunc { FILE: internal/middleware/cors.go function Cors (line 12) | func Cors() gin.HandlerFunc { FILE: internal/middleware/lang.go function LangWithTranslator (line 14) | func LangWithTranslator(uni *ut.UniversalTranslator) gin.HandlerFunc { FILE: internal/middleware/limiter.go function RateLimiter (line 13) | func RateLimiter(l limiter.Face) gin.HandlerFunc { FILE: internal/middleware/proxy.go function Proxy (line 11) | func Proxy() gin.HandlerFunc { FILE: internal/middleware/recovery.go function RecoveryWithLogger (line 16) | func RecoveryWithLogger(logger *zap.Logger) gin.HandlerFunc { FILE: internal/middleware/share_auth_token.go function ShareAuthToken (line 18) | func ShareAuthToken(shareService service.ShareService) gin.HandlerFunc { FILE: internal/middleware/simple_auth_token.go function SimpleAuthTokenWithConfig (line 20) | func SimpleAuthTokenWithConfig(secretKey string) gin.HandlerFunc { function SimpleAuthToken (line 63) | func SimpleAuthToken() gin.HandlerFunc { FILE: internal/middleware/static_compress.go function StaticCompressMiddleware (line 16) | func StaticCompressMiddleware(frontendFiles embed.FS) gin.HandlerFunc { function setContentType (line 67) | func setContentType(c *gin.Context, path string) { FILE: internal/middleware/tracer.go constant DefaultTraceIDHeader (line 15) | DefaultTraceIDHeader = "X-Trace-ID" constant TraceIDKey (line 18) | TraceIDKey = "trace_id" function TraceMiddlewareWithConfig (line 31) | func TraceMiddlewareWithConfig(enabled bool, headerName string) gin.Hand... function TraceMiddleware (line 76) | func TraceMiddleware() gin.HandlerFunc { function generateTraceID (line 84) | func generateTraceID() string { function GetTraceID (line 101) | func GetTraceID(ctx context.Context) string { function GetTraceIDFromGin (line 113) | func GetTraceIDFromGin(c *gin.Context) string { FILE: internal/middleware/user_auth_token.go function UserAuthTokenWithConfig (line 16) | func UserAuthTokenWithConfig(secretKey string) gin.HandlerFunc { function UserAuthToken (line 67) | func UserAuthToken() gin.HandlerFunc { FILE: internal/model/backup_config.gen.go constant TableNameBackupConfig (line 13) | TableNameBackupConfig = "backup_config" type BackupConfig (line 16) | type BackupConfig struct method TableName (line 36) | func (*BackupConfig) TableName() string { FILE: internal/model/backup_history.gen.go constant TableNameBackupHistory (line 13) | TableNameBackupHistory = "backup_history" type BackupHistory (line 16) | type BackupHistory struct method TableName (line 34) | func (*BackupHistory) TableName() string { FILE: internal/model/file.gen.go constant TableNameFile (line 9) | TableNameFile = "file" type File (line 12) | type File struct method TableName (line 31) | func (*File) TableName() string { FILE: internal/model/folder.gen.go constant TableNameFolder (line 9) | TableNameFolder = "folder" type Folder (line 12) | type Folder struct method TableName (line 28) | func (*Folder) TableName() string { FILE: internal/model/git_sync_config.gen.go constant TableNameGitSyncConfig (line 13) | TableNameGitSyncConfig = "git_sync_config" type GitSyncConfig (line 16) | type GitSyncConfig struct method TableName (line 35) | func (*GitSyncConfig) TableName() string { FILE: internal/model/git_sync_history.gen.go constant TableNameGitSyncHistory (line 13) | TableNameGitSyncHistory = "git_sync_history" type GitSyncHistory (line 16) | type GitSyncHistory struct method TableName (line 29) | func (*GitSyncHistory) TableName() string { FILE: internal/model/model.go function AutoMigrate (line 7) | func AutoMigrate(db *gorm.DB, key string) error { FILE: internal/model/note.gen.go constant TableNameNote (line 9) | TableNameNote = "note" type Note (line 12) | type Note struct method TableName (line 37) | func (*Note) TableName() string { FILE: internal/model/note_fts.go constant NoteFTSVersion (line 9) | NoteFTSVersion = 3 type NoteFTS (line 12) | type NoteFTS struct method TableName (line 19) | func (*NoteFTS) TableName() string { type NoteFTSToken (line 24) | type NoteFTSToken struct method TableName (line 30) | func (*NoteFTSToken) TableName() string { type NoteFTSMeta (line 35) | type NoteFTSMeta struct method TableName (line 40) | func (*NoteFTSMeta) TableName() string { function CreateNoteFTSTable (line 45) | func CreateNoteFTSTable(db *gorm.DB) error { function DropNoteFTSTable (line 73) | func DropNoteFTSTable(db *gorm.DB) error { FILE: internal/model/note_history.gen.go constant TableNameNoteHistory (line 9) | TableNameNoteHistory = "note_history" type NoteHistory (line 12) | type NoteHistory struct method TableName (line 29) | func (*NoteHistory) TableName() string { FILE: internal/model/note_link.gen.go constant TableNameNoteLink (line 9) | TableNameNoteLink = "note_link" type NoteLink (line 12) | type NoteLink struct method TableName (line 25) | func (*NoteLink) TableName() string { FILE: internal/model/schema_version.gen.go constant TableNameSchemaVersion (line 9) | TableNameSchemaVersion = "schema_version" type SchemaVersion (line 12) | type SchemaVersion struct method TableName (line 20) | func (*SchemaVersion) TableName() string { FILE: internal/model/setting.gen.go constant TableNameSetting (line 9) | TableNameSetting = "setting" type Setting (line 12) | type Setting struct method TableName (line 30) | func (*Setting) TableName() string { FILE: internal/model/sqlite_sequence.gen.go constant TableNameSqliteSequence (line 7) | TableNameSqliteSequence = "sqlite_sequence" type SqliteSequence (line 10) | type SqliteSequence struct method TableName (line 16) | func (*SqliteSequence) TableName() string { FILE: internal/model/storage.gen.go constant TableNameStorage (line 9) | TableNameStorage = "storage" type Storage (line 12) | type Storage struct method TableName (line 34) | func (*Storage) TableName() string { FILE: internal/model/sync_log.go constant TableNameSyncLog (line 8) | TableNameSyncLog = "sync_log" type SyncLog (line 12) | type SyncLog struct method TableName (line 32) | func (*SyncLog) TableName() string { FILE: internal/model/user.gen.go constant TableNameUser (line 9) | TableNameUser = "user" type User (line 12) | type User struct method TableName (line 27) | func (*User) TableName() string { FILE: internal/model/user_share.gen.go constant TableNameUserShare (line 13) | TableNameUserShare = "user_share" type UserShare (line 16) | type UserShare struct method TableName (line 33) | func (*UserShare) TableName() string { FILE: internal/model/vault.gen.go constant TableNameVault (line 9) | TableNameVault = "vault" type Vault (line 12) | type Vault struct method TableName (line 25) | func (*Vault) TableName() string { FILE: internal/query/backup_config.gen.go function newBackupConfig (line 23) | func newBackupConfig(db *gorm.DB, opts ...gen.DOOption) backupConfig { type backupConfig (line 53) | type backupConfig struct method Table (line 77) | func (b backupConfig) Table(newTableName string) *backupConfig { method As (line 82) | func (b backupConfig) As(alias string) *backupConfig { method updateTableName (line 87) | func (b *backupConfig) updateTableName(table string) *backupConfig { method WithContext (line 111) | func (b *backupConfig) WithContext(ctx context.Context) IBackupConfigDo { method TableName (line 115) | func (b backupConfig) TableName() string { return b.backupConfigDo.Tab... method Alias (line 117) | func (b backupConfig) Alias() string { return b.backupConfigDo.Alias() } method Columns (line 119) | func (b backupConfig) Columns(cols ...field.Expr) gen.Columns { method GetFieldByName (line 123) | func (b *backupConfig) GetFieldByName(fieldName string) (field.OrderEx... method fillFieldMap (line 132) | func (b *backupConfig) fillFieldMap() { method clone (line 152) | func (b backupConfig) clone(db *gorm.DB) backupConfig { method replaceDB (line 157) | func (b backupConfig) replaceDB(db *gorm.DB) backupConfig { type backupConfigDo (line 162) | type backupConfigDo struct method Debug (line 227) | func (b backupConfigDo) Debug() IBackupConfigDo { method WithContext (line 231) | func (b backupConfigDo) WithContext(ctx context.Context) IBackupConfig... method ReadDB (line 235) | func (b backupConfigDo) ReadDB() IBackupConfigDo { method WriteDB (line 239) | func (b backupConfigDo) WriteDB() IBackupConfigDo { method Session (line 243) | func (b backupConfigDo) Session(config *gorm.Session) IBackupConfigDo { method Clauses (line 247) | func (b backupConfigDo) Clauses(conds ...clause.Expression) IBackupCon... method Returning (line 251) | func (b backupConfigDo) Returning(value interface{}, columns ...string... method Not (line 255) | func (b backupConfigDo) Not(conds ...gen.Condition) IBackupConfigDo { method Or (line 259) | func (b backupConfigDo) Or(conds ...gen.Condition) IBackupConfigDo { method Select (line 263) | func (b backupConfigDo) Select(conds ...field.Expr) IBackupConfigDo { method Where (line 267) | func (b backupConfigDo) Where(conds ...gen.Condition) IBackupConfigDo { method Order (line 271) | func (b backupConfigDo) Order(conds ...field.Expr) IBackupConfigDo { method Distinct (line 275) | func (b backupConfigDo) Distinct(cols ...field.Expr) IBackupConfigDo { method Omit (line 279) | func (b backupConfigDo) Omit(cols ...field.Expr) IBackupConfigDo { method Join (line 283) | func (b backupConfigDo) Join(table schema.Tabler, on ...field.Expr) IB... method LeftJoin (line 287) | func (b backupConfigDo) LeftJoin(table schema.Tabler, on ...field.Expr... method RightJoin (line 291) | func (b backupConfigDo) RightJoin(table schema.Tabler, on ...field.Exp... method Group (line 295) | func (b backupConfigDo) Group(cols ...field.Expr) IBackupConfigDo { method Having (line 299) | func (b backupConfigDo) Having(conds ...gen.Condition) IBackupConfigDo { method Limit (line 303) | func (b backupConfigDo) Limit(limit int) IBackupConfigDo { method Offset (line 307) | func (b backupConfigDo) Offset(offset int) IBackupConfigDo { method Scopes (line 311) | func (b backupConfigDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IBackup... method Unscoped (line 315) | func (b backupConfigDo) Unscoped() IBackupConfigDo { method Create (line 319) | func (b backupConfigDo) Create(values ...*model.BackupConfig) error { method CreateInBatches (line 326) | func (b backupConfigDo) CreateInBatches(values []*model.BackupConfig, ... method Save (line 332) | func (b backupConfigDo) Save(values ...*model.BackupConfig) error { method First (line 339) | func (b backupConfigDo) First() (*model.BackupConfig, error) { method Take (line 347) | func (b backupConfigDo) Take() (*model.BackupConfig, error) { method Last (line 355) | func (b backupConfigDo) Last() (*model.BackupConfig, error) { method Find (line 363) | func (b backupConfigDo) Find() ([]*model.BackupConfig, error) { method FindInBatch (line 368) | func (b backupConfigDo) FindInBatch(batchSize int, fc func(tx gen.Dao,... method FindInBatches (line 377) | func (b backupConfigDo) FindInBatches(result *[]*model.BackupConfig, b... method Attrs (line 381) | func (b backupConfigDo) Attrs(attrs ...field.AssignExpr) IBackupConfig... method Assign (line 385) | func (b backupConfigDo) Assign(attrs ...field.AssignExpr) IBackupConfi... method Joins (line 389) | func (b backupConfigDo) Joins(fields ...field.RelationField) IBackupCo... method Preload (line 396) | func (b backupConfigDo) Preload(fields ...field.RelationField) IBackup... method FirstOrInit (line 403) | func (b backupConfigDo) FirstOrInit() (*model.BackupConfig, error) { method FirstOrCreate (line 411) | func (b backupConfigDo) FirstOrCreate() (*model.BackupConfig, error) { method FindByPage (line 419) | func (b backupConfigDo) FindByPage(offset int, limit int) (result []*m... method ScanByPage (line 434) | func (b backupConfigDo) ScanByPage(result interface{}, offset int, lim... method Scan (line 444) | func (b backupConfigDo) Scan(result interface{}) (err error) { method Delete (line 448) | func (b backupConfigDo) Delete(models ...*model.BackupConfig) (result ... method withDO (line 452) | func (b *backupConfigDo) withDO(do gen.Dao) *backupConfigDo { type IBackupConfigDo (line 164) | type IBackupConfigDo interface FILE: internal/query/backup_history.gen.go function newBackupHistory (line 23) | func newBackupHistory(db *gorm.DB, opts ...gen.DOOption) backupHistory { type backupHistory (line 51) | type backupHistory struct method Table (line 73) | func (b backupHistory) Table(newTableName string) *backupHistory { method As (line 78) | func (b backupHistory) As(alias string) *backupHistory { method updateTableName (line 83) | func (b *backupHistory) updateTableName(table string) *backupHistory { method WithContext (line 105) | func (b *backupHistory) WithContext(ctx context.Context) IBackupHistor... method TableName (line 109) | func (b backupHistory) TableName() string { return b.backupHistoryDo.T... method Alias (line 111) | func (b backupHistory) Alias() string { return b.backupHistoryDo.Alias... method Columns (line 113) | func (b backupHistory) Columns(cols ...field.Expr) gen.Columns { method GetFieldByName (line 117) | func (b *backupHistory) GetFieldByName(fieldName string) (field.OrderE... method fillFieldMap (line 126) | func (b *backupHistory) fillFieldMap() { method clone (line 144) | func (b backupHistory) clone(db *gorm.DB) backupHistory { method replaceDB (line 149) | func (b backupHistory) replaceDB(db *gorm.DB) backupHistory { type backupHistoryDo (line 154) | type backupHistoryDo struct method Debug (line 219) | func (b backupHistoryDo) Debug() IBackupHistoryDo { method WithContext (line 223) | func (b backupHistoryDo) WithContext(ctx context.Context) IBackupHisto... method ReadDB (line 227) | func (b backupHistoryDo) ReadDB() IBackupHistoryDo { method WriteDB (line 231) | func (b backupHistoryDo) WriteDB() IBackupHistoryDo { method Session (line 235) | func (b backupHistoryDo) Session(config *gorm.Session) IBackupHistoryDo { method Clauses (line 239) | func (b backupHistoryDo) Clauses(conds ...clause.Expression) IBackupHi... method Returning (line 243) | func (b backupHistoryDo) Returning(value interface{}, columns ...strin... method Not (line 247) | func (b backupHistoryDo) Not(conds ...gen.Condition) IBackupHistoryDo { method Or (line 251) | func (b backupHistoryDo) Or(conds ...gen.Condition) IBackupHistoryDo { method Select (line 255) | func (b backupHistoryDo) Select(conds ...field.Expr) IBackupHistoryDo { method Where (line 259) | func (b backupHistoryDo) Where(conds ...gen.Condition) IBackupHistoryDo { method Order (line 263) | func (b backupHistoryDo) Order(conds ...field.Expr) IBackupHistoryDo { method Distinct (line 267) | func (b backupHistoryDo) Distinct(cols ...field.Expr) IBackupHistoryDo { method Omit (line 271) | func (b backupHistoryDo) Omit(cols ...field.Expr) IBackupHistoryDo { method Join (line 275) | func (b backupHistoryDo) Join(table schema.Tabler, on ...field.Expr) I... method LeftJoin (line 279) | func (b backupHistoryDo) LeftJoin(table schema.Tabler, on ...field.Exp... method RightJoin (line 283) | func (b backupHistoryDo) RightJoin(table schema.Tabler, on ...field.Ex... method Group (line 287) | func (b backupHistoryDo) Group(cols ...field.Expr) IBackupHistoryDo { method Having (line 291) | func (b backupHistoryDo) Having(conds ...gen.Condition) IBackupHistory... method Limit (line 295) | func (b backupHistoryDo) Limit(limit int) IBackupHistoryDo { method Offset (line 299) | func (b backupHistoryDo) Offset(offset int) IBackupHistoryDo { method Scopes (line 303) | func (b backupHistoryDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IBacku... method Unscoped (line 307) | func (b backupHistoryDo) Unscoped() IBackupHistoryDo { method Create (line 311) | func (b backupHistoryDo) Create(values ...*model.BackupHistory) error { method CreateInBatches (line 318) | func (b backupHistoryDo) CreateInBatches(values []*model.BackupHistory... method Save (line 324) | func (b backupHistoryDo) Save(values ...*model.BackupHistory) error { method First (line 331) | func (b backupHistoryDo) First() (*model.BackupHistory, error) { method Take (line 339) | func (b backupHistoryDo) Take() (*model.BackupHistory, error) { method Last (line 347) | func (b backupHistoryDo) Last() (*model.BackupHistory, error) { method Find (line 355) | func (b backupHistoryDo) Find() ([]*model.BackupHistory, error) { method FindInBatch (line 360) | func (b backupHistoryDo) FindInBatch(batchSize int, fc func(tx gen.Dao... method FindInBatches (line 369) | func (b backupHistoryDo) FindInBatches(result *[]*model.BackupHistory,... method Attrs (line 373) | func (b backupHistoryDo) Attrs(attrs ...field.AssignExpr) IBackupHisto... method Assign (line 377) | func (b backupHistoryDo) Assign(attrs ...field.AssignExpr) IBackupHist... method Joins (line 381) | func (b backupHistoryDo) Joins(fields ...field.RelationField) IBackupH... method Preload (line 388) | func (b backupHistoryDo) Preload(fields ...field.RelationField) IBacku... method FirstOrInit (line 395) | func (b backupHistoryDo) FirstOrInit() (*model.BackupHistory, error) { method FirstOrCreate (line 403) | func (b backupHistoryDo) FirstOrCreate() (*model.BackupHistory, error) { method FindByPage (line 411) | func (b backupHistoryDo) FindByPage(offset int, limit int) (result []*... method ScanByPage (line 426) | func (b backupHistoryDo) ScanByPage(result interface{}, offset int, li... method Scan (line 436) | func (b backupHistoryDo) Scan(result interface{}) (err error) { method Delete (line 440) | func (b backupHistoryDo) Delete(models ...*model.BackupHistory) (resul... method withDO (line 444) | func (b *backupHistoryDo) withDO(do gen.Dao) *backupHistoryDo { type IBackupHistoryDo (line 156) | type IBackupHistoryDo interface FILE: internal/query/file.gen.go function newFile (line 23) | func newFile(db *gorm.DB, opts ...gen.DOOption) file { type file (line 52) | type file struct method Table (line 75) | func (f file) Table(newTableName string) *file { method As (line 80) | func (f file) As(alias string) *file { method updateTableName (line 85) | func (f *file) updateTableName(table string) *file { method WithContext (line 108) | func (f *file) WithContext(ctx context.Context) IFileDo { return f.fil... method TableName (line 110) | func (f file) TableName() string { return f.fileDo.TableName() } method Alias (line 112) | func (f file) Alias() string { return f.fileDo.Alias() } method Columns (line 114) | func (f file) Columns(cols ...field.Expr) gen.Columns { return f.fileD... method GetFieldByName (line 116) | func (f *file) GetFieldByName(fieldName string) (field.OrderExpr, bool) { method fillFieldMap (line 125) | func (f *file) fillFieldMap() { method clone (line 144) | func (f file) clone(db *gorm.DB) file { method replaceDB (line 149) | func (f file) replaceDB(db *gorm.DB) file { type fileDo (line 154) | type fileDo struct method Debug (line 219) | func (f fileDo) Debug() IFileDo { method WithContext (line 223) | func (f fileDo) WithContext(ctx context.Context) IFileDo { method ReadDB (line 227) | func (f fileDo) ReadDB() IFileDo { method WriteDB (line 231) | func (f fileDo) WriteDB() IFileDo { method Session (line 235) | func (f fileDo) Session(config *gorm.Session) IFileDo { method Clauses (line 239) | func (f fileDo) Clauses(conds ...clause.Expression) IFileDo { method Returning (line 243) | func (f fileDo) Returning(value interface{}, columns ...string) IFileDo { method Not (line 247) | func (f fileDo) Not(conds ...gen.Condition) IFileDo { method Or (line 251) | func (f fileDo) Or(conds ...gen.Condition) IFileDo { method Select (line 255) | func (f fileDo) Select(conds ...field.Expr) IFileDo { method Where (line 259) | func (f fileDo) Where(conds ...gen.Condition) IFileDo { method Order (line 263) | func (f fileDo) Order(conds ...field.Expr) IFileDo { method Distinct (line 267) | func (f fileDo) Distinct(cols ...field.Expr) IFileDo { method Omit (line 271) | func (f fileDo) Omit(cols ...field.Expr) IFileDo { method Join (line 275) | func (f fileDo) Join(table schema.Tabler, on ...field.Expr) IFileDo { method LeftJoin (line 279) | func (f fileDo) LeftJoin(table schema.Tabler, on ...field.Expr) IFileDo { method RightJoin (line 283) | func (f fileDo) RightJoin(table schema.Tabler, on ...field.Expr) IFile... method Group (line 287) | func (f fileDo) Group(cols ...field.Expr) IFileDo { method Having (line 291) | func (f fileDo) Having(conds ...gen.Condition) IFileDo { method Limit (line 295) | func (f fileDo) Limit(limit int) IFileDo { method Offset (line 299) | func (f fileDo) Offset(offset int) IFileDo { method Scopes (line 303) | func (f fileDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IFileDo { method Unscoped (line 307) | func (f fileDo) Unscoped() IFileDo { method Create (line 311) | func (f fileDo) Create(values ...*model.File) error { method CreateInBatches (line 318) | func (f fileDo) CreateInBatches(values []*model.File, batchSize int) e... method Save (line 324) | func (f fileDo) Save(values ...*model.File) error { method First (line 331) | func (f fileDo) First() (*model.File, error) { method Take (line 339) | func (f fileDo) Take() (*model.File, error) { method Last (line 347) | func (f fileDo) Last() (*model.File, error) { method Find (line 355) | func (f fileDo) Find() ([]*model.File, error) { method FindInBatch (line 360) | func (f fileDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batch i... method FindInBatches (line 369) | func (f fileDo) FindInBatches(result *[]*model.File, batchSize int, fc... method Attrs (line 373) | func (f fileDo) Attrs(attrs ...field.AssignExpr) IFileDo { method Assign (line 377) | func (f fileDo) Assign(attrs ...field.AssignExpr) IFileDo { method Joins (line 381) | func (f fileDo) Joins(fields ...field.RelationField) IFileDo { method Preload (line 388) | func (f fileDo) Preload(fields ...field.RelationField) IFileDo { method FirstOrInit (line 395) | func (f fileDo) FirstOrInit() (*model.File, error) { method FirstOrCreate (line 403) | func (f fileDo) FirstOrCreate() (*model.File, error) { method FindByPage (line 411) | func (f fileDo) FindByPage(offset int, limit int) (result []*model.Fil... method ScanByPage (line 426) | func (f fileDo) ScanByPage(result interface{}, offset int, limit int) ... method Scan (line 436) | func (f fileDo) Scan(result interface{}) (err error) { method Delete (line 440) | func (f fileDo) Delete(models ...*model.File) (result gen.ResultInfo, ... method withDO (line 444) | func (f *fileDo) withDO(do gen.Dao) *fileDo { type IFileDo (line 156) | type IFileDo interface FILE: internal/query/folder.gen.go function newFolder (line 23) | func newFolder(db *gorm.DB, opts ...gen.DOOption) folder { type folder (line 49) | type folder struct method Table (line 69) | func (f folder) Table(newTableName string) *folder { method As (line 74) | func (f folder) As(alias string) *folder { method updateTableName (line 79) | func (f *folder) updateTableName(table string) *folder { method WithContext (line 99) | func (f *folder) WithContext(ctx context.Context) IFolderDo { return f... method TableName (line 101) | func (f folder) TableName() string { return f.folderDo.TableName() } method Alias (line 103) | func (f folder) Alias() string { return f.folderDo.Alias() } method Columns (line 105) | func (f folder) Columns(cols ...field.Expr) gen.Columns { return f.fol... method GetFieldByName (line 107) | func (f *folder) GetFieldByName(fieldName string) (field.OrderExpr, bo... method fillFieldMap (line 116) | func (f *folder) fillFieldMap() { method clone (line 132) | func (f folder) clone(db *gorm.DB) folder { method replaceDB (line 137) | func (f folder) replaceDB(db *gorm.DB) folder { type folderDo (line 142) | type folderDo struct method Debug (line 207) | func (f folderDo) Debug() IFolderDo { method WithContext (line 211) | func (f folderDo) WithContext(ctx context.Context) IFolderDo { method ReadDB (line 215) | func (f folderDo) ReadDB() IFolderDo { method WriteDB (line 219) | func (f folderDo) WriteDB() IFolderDo { method Session (line 223) | func (f folderDo) Session(config *gorm.Session) IFolderDo { method Clauses (line 227) | func (f folderDo) Clauses(conds ...clause.Expression) IFolderDo { method Returning (line 231) | func (f folderDo) Returning(value interface{}, columns ...string) IFol... method Not (line 235) | func (f folderDo) Not(conds ...gen.Condition) IFolderDo { method Or (line 239) | func (f folderDo) Or(conds ...gen.Condition) IFolderDo { method Select (line 243) | func (f folderDo) Select(conds ...field.Expr) IFolderDo { method Where (line 247) | func (f folderDo) Where(conds ...gen.Condition) IFolderDo { method Order (line 251) | func (f folderDo) Order(conds ...field.Expr) IFolderDo { method Distinct (line 255) | func (f folderDo) Distinct(cols ...field.Expr) IFolderDo { method Omit (line 259) | func (f folderDo) Omit(cols ...field.Expr) IFolderDo { method Join (line 263) | func (f folderDo) Join(table schema.Tabler, on ...field.Expr) IFolderDo { method LeftJoin (line 267) | func (f folderDo) LeftJoin(table schema.Tabler, on ...field.Expr) IFol... method RightJoin (line 271) | func (f folderDo) RightJoin(table schema.Tabler, on ...field.Expr) IFo... method Group (line 275) | func (f folderDo) Group(cols ...field.Expr) IFolderDo { method Having (line 279) | func (f folderDo) Having(conds ...gen.Condition) IFolderDo { method Limit (line 283) | func (f folderDo) Limit(limit int) IFolderDo { method Offset (line 287) | func (f folderDo) Offset(offset int) IFolderDo { method Scopes (line 291) | func (f folderDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IFolderDo { method Unscoped (line 295) | func (f folderDo) Unscoped() IFolderDo { method Create (line 299) | func (f folderDo) Create(values ...*model.Folder) error { method CreateInBatches (line 306) | func (f folderDo) CreateInBatches(values []*model.Folder, batchSize in... method Save (line 312) | func (f folderDo) Save(values ...*model.Folder) error { method First (line 319) | func (f folderDo) First() (*model.Folder, error) { method Take (line 327) | func (f folderDo) Take() (*model.Folder, error) { method Last (line 335) | func (f folderDo) Last() (*model.Folder, error) { method Find (line 343) | func (f folderDo) Find() ([]*model.Folder, error) { method FindInBatch (line 348) | func (f folderDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batch... method FindInBatches (line 357) | func (f folderDo) FindInBatches(result *[]*model.Folder, batchSize int... method Attrs (line 361) | func (f folderDo) Attrs(attrs ...field.AssignExpr) IFolderDo { method Assign (line 365) | func (f folderDo) Assign(attrs ...field.AssignExpr) IFolderDo { method Joins (line 369) | func (f folderDo) Joins(fields ...field.RelationField) IFolderDo { method Preload (line 376) | func (f folderDo) Preload(fields ...field.RelationField) IFolderDo { method FirstOrInit (line 383) | func (f folderDo) FirstOrInit() (*model.Folder, error) { method FirstOrCreate (line 391) | func (f folderDo) FirstOrCreate() (*model.Folder, error) { method FindByPage (line 399) | func (f folderDo) FindByPage(offset int, limit int) (result []*model.F... method ScanByPage (line 414) | func (f folderDo) ScanByPage(result interface{}, offset int, limit int... method Scan (line 424) | func (f folderDo) Scan(result interface{}) (err error) { method Delete (line 428) | func (f folderDo) Delete(models ...*model.Folder) (result gen.ResultIn... method withDO (line 432) | func (f *folderDo) withDO(do gen.Dao) *folderDo { type IFolderDo (line 144) | type IFolderDo interface FILE: internal/query/gen.go function Use (line 18) | func Use(db *gorm.DB, opts ...gen.DOOption) *Query { type Query (line 38) | type Query struct method Available (line 57) | func (q *Query) Available() bool { return q.db != nil } method clone (line 59) | func (q *Query) clone(db *gorm.DB) *Query { method ReadDB (line 79) | func (q *Query) ReadDB() *Query { method WriteDB (line 83) | func (q *Query) WriteDB() *Query { method ReplaceDB (line 87) | func (q *Query) ReplaceDB(db *gorm.DB) *Query { method WithContext (line 124) | func (q *Query) WithContext(ctx context.Context) *queryCtx { method Transaction (line 143) | func (q *Query) Transaction(fc func(tx *Query) error, opts ...*sql.TxO... method Begin (line 147) | func (q *Query) Begin(opts ...*sql.TxOptions) *QueryTx { type queryCtx (line 107) | type queryCtx struct type QueryTx (line 152) | type QueryTx struct method Commit (line 157) | func (q *QueryTx) Commit() error { method Rollback (line 161) | func (q *QueryTx) Rollback() error { method SavePoint (line 165) | func (q *QueryTx) SavePoint(name string) error { method RollbackTo (line 169) | func (q *QueryTx) RollbackTo(name string) error { FILE: internal/query/git_sync_config.gen.go function newGitSyncConfig (line 23) | func newGitSyncConfig(db *gorm.DB, opts ...gen.DOOption) gitSyncConfig { type gitSyncConfig (line 52) | type gitSyncConfig struct method Table (line 75) | func (g gitSyncConfig) Table(newTableName string) *gitSyncConfig { method As (line 80) | func (g gitSyncConfig) As(alias string) *gitSyncConfig { method updateTableName (line 85) | func (g *gitSyncConfig) updateTableName(table string) *gitSyncConfig { method WithContext (line 108) | func (g *gitSyncConfig) WithContext(ctx context.Context) IGitSyncConfi... method TableName (line 112) | func (g gitSyncConfig) TableName() string { return g.gitSyncConfigDo.T... method Alias (line 114) | func (g gitSyncConfig) Alias() string { return g.gitSyncConfigDo.Alias... method Columns (line 116) | func (g gitSyncConfig) Columns(cols ...field.Expr) gen.Columns { method GetFieldByName (line 120) | func (g *gitSyncConfig) GetFieldByName(fieldName string) (field.OrderE... method fillFieldMap (line 129) | func (g *gitSyncConfig) fillFieldMap() { method clone (line 148) | func (g gitSyncConfig) clone(db *gorm.DB) gitSyncConfig { method replaceDB (line 153) | func (g gitSyncConfig) replaceDB(db *gorm.DB) gitSyncConfig { type gitSyncConfigDo (line 158) | type gitSyncConfigDo struct method Debug (line 223) | func (g gitSyncConfigDo) Debug() IGitSyncConfigDo { method WithContext (line 227) | func (g gitSyncConfigDo) WithContext(ctx context.Context) IGitSyncConf... method ReadDB (line 231) | func (g gitSyncConfigDo) ReadDB() IGitSyncConfigDo { method WriteDB (line 235) | func (g gitSyncConfigDo) WriteDB() IGitSyncConfigDo { method Session (line 239) | func (g gitSyncConfigDo) Session(config *gorm.Session) IGitSyncConfigDo { method Clauses (line 243) | func (g gitSyncConfigDo) Clauses(conds ...clause.Expression) IGitSyncC... method Returning (line 247) | func (g gitSyncConfigDo) Returning(value interface{}, columns ...strin... method Not (line 251) | func (g gitSyncConfigDo) Not(conds ...gen.Condition) IGitSyncConfigDo { method Or (line 255) | func (g gitSyncConfigDo) Or(conds ...gen.Condition) IGitSyncConfigDo { method Select (line 259) | func (g gitSyncConfigDo) Select(conds ...field.Expr) IGitSyncConfigDo { method Where (line 263) | func (g gitSyncConfigDo) Where(conds ...gen.Condition) IGitSyncConfigDo { method Order (line 267) | func (g gitSyncConfigDo) Order(conds ...field.Expr) IGitSyncConfigDo { method Distinct (line 271) | func (g gitSyncConfigDo) Distinct(cols ...field.Expr) IGitSyncConfigDo { method Omit (line 275) | func (g gitSyncConfigDo) Omit(cols ...field.Expr) IGitSyncConfigDo { method Join (line 279) | func (g gitSyncConfigDo) Join(table schema.Tabler, on ...field.Expr) I... method LeftJoin (line 283) | func (g gitSyncConfigDo) LeftJoin(table schema.Tabler, on ...field.Exp... method RightJoin (line 287) | func (g gitSyncConfigDo) RightJoin(table schema.Tabler, on ...field.Ex... method Group (line 291) | func (g gitSyncConfigDo) Group(cols ...field.Expr) IGitSyncConfigDo { method Having (line 295) | func (g gitSyncConfigDo) Having(conds ...gen.Condition) IGitSyncConfig... method Limit (line 299) | func (g gitSyncConfigDo) Limit(limit int) IGitSyncConfigDo { method Offset (line 303) | func (g gitSyncConfigDo) Offset(offset int) IGitSyncConfigDo { method Scopes (line 307) | func (g gitSyncConfigDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IGitSy... method Unscoped (line 311) | func (g gitSyncConfigDo) Unscoped() IGitSyncConfigDo { method Create (line 315) | func (g gitSyncConfigDo) Create(values ...*model.GitSyncConfig) error { method CreateInBatches (line 322) | func (g gitSyncConfigDo) CreateInBatches(values []*model.GitSyncConfig... method Save (line 328) | func (g gitSyncConfigDo) Save(values ...*model.GitSyncConfig) error { method First (line 335) | func (g gitSyncConfigDo) First() (*model.GitSyncConfig, error) { method Take (line 343) | func (g gitSyncConfigDo) Take() (*model.GitSyncConfig, error) { method Last (line 351) | func (g gitSyncConfigDo) Last() (*model.GitSyncConfig, error) { method Find (line 359) | func (g gitSyncConfigDo) Find() ([]*model.GitSyncConfig, error) { method FindInBatch (line 364) | func (g gitSyncConfigDo) FindInBatch(batchSize int, fc func(tx gen.Dao... method FindInBatches (line 373) | func (g gitSyncConfigDo) FindInBatches(result *[]*model.GitSyncConfig,... method Attrs (line 377) | func (g gitSyncConfigDo) Attrs(attrs ...field.AssignExpr) IGitSyncConf... method Assign (line 381) | func (g gitSyncConfigDo) Assign(attrs ...field.AssignExpr) IGitSyncCon... method Joins (line 385) | func (g gitSyncConfigDo) Joins(fields ...field.RelationField) IGitSync... method Preload (line 392) | func (g gitSyncConfigDo) Preload(fields ...field.RelationField) IGitSy... method FirstOrInit (line 399) | func (g gitSyncConfigDo) FirstOrInit() (*model.GitSyncConfig, error) { method FirstOrCreate (line 407) | func (g gitSyncConfigDo) FirstOrCreate() (*model.GitSyncConfig, error) { method FindByPage (line 415) | func (g gitSyncConfigDo) FindByPage(offset int, limit int) (result []*... method ScanByPage (line 430) | func (g gitSyncConfigDo) ScanByPage(result interface{}, offset int, li... method Scan (line 440) | func (g gitSyncConfigDo) Scan(result interface{}) (err error) { method Delete (line 444) | func (g gitSyncConfigDo) Delete(models ...*model.GitSyncConfig) (resul... method withDO (line 448) | func (g *gitSyncConfigDo) withDO(do gen.Dao) *gitSyncConfigDo { type IGitSyncConfigDo (line 160) | type IGitSyncConfigDo interface FILE: internal/query/git_sync_history.gen.go function newGitSyncHistory (line 23) | func newGitSyncHistory(db *gorm.DB, opts ...gen.DOOption) gitSyncHistory { type gitSyncHistory (line 46) | type gitSyncHistory struct method Table (line 63) | func (g gitSyncHistory) Table(newTableName string) *gitSyncHistory { method As (line 68) | func (g gitSyncHistory) As(alias string) *gitSyncHistory { method updateTableName (line 73) | func (g *gitSyncHistory) updateTableName(table string) *gitSyncHistory { method WithContext (line 90) | func (g *gitSyncHistory) WithContext(ctx context.Context) IGitSyncHist... method TableName (line 94) | func (g gitSyncHistory) TableName() string { return g.gitSyncHistoryDo... method Alias (line 96) | func (g gitSyncHistory) Alias() string { return g.gitSyncHistoryDo.Ali... method Columns (line 98) | func (g gitSyncHistory) Columns(cols ...field.Expr) gen.Columns { method GetFieldByName (line 102) | func (g *gitSyncHistory) GetFieldByName(fieldName string) (field.Order... method fillFieldMap (line 111) | func (g *gitSyncHistory) fillFieldMap() { method clone (line 124) | func (g gitSyncHistory) clone(db *gorm.DB) gitSyncHistory { method replaceDB (line 129) | func (g gitSyncHistory) replaceDB(db *gorm.DB) gitSyncHistory { type gitSyncHistoryDo (line 134) | type gitSyncHistoryDo struct method Debug (line 199) | func (g gitSyncHistoryDo) Debug() IGitSyncHistoryDo { method WithContext (line 203) | func (g gitSyncHistoryDo) WithContext(ctx context.Context) IGitSyncHis... method ReadDB (line 207) | func (g gitSyncHistoryDo) ReadDB() IGitSyncHistoryDo { method WriteDB (line 211) | func (g gitSyncHistoryDo) WriteDB() IGitSyncHistoryDo { method Session (line 215) | func (g gitSyncHistoryDo) Session(config *gorm.Session) IGitSyncHistor... method Clauses (line 219) | func (g gitSyncHistoryDo) Clauses(conds ...clause.Expression) IGitSync... method Returning (line 223) | func (g gitSyncHistoryDo) Returning(value interface{}, columns ...stri... method Not (line 227) | func (g gitSyncHistoryDo) Not(conds ...gen.Condition) IGitSyncHistoryDo { method Or (line 231) | func (g gitSyncHistoryDo) Or(conds ...gen.Condition) IGitSyncHistoryDo { method Select (line 235) | func (g gitSyncHistoryDo) Select(conds ...field.Expr) IGitSyncHistoryDo { method Where (line 239) | func (g gitSyncHistoryDo) Where(conds ...gen.Condition) IGitSyncHistor... method Order (line 243) | func (g gitSyncHistoryDo) Order(conds ...field.Expr) IGitSyncHistoryDo { method Distinct (line 247) | func (g gitSyncHistoryDo) Distinct(cols ...field.Expr) IGitSyncHistory... method Omit (line 251) | func (g gitSyncHistoryDo) Omit(cols ...field.Expr) IGitSyncHistoryDo { method Join (line 255) | func (g gitSyncHistoryDo) Join(table schema.Tabler, on ...field.Expr) ... method LeftJoin (line 259) | func (g gitSyncHistoryDo) LeftJoin(table schema.Tabler, on ...field.Ex... method RightJoin (line 263) | func (g gitSyncHistoryDo) RightJoin(table schema.Tabler, on ...field.E... method Group (line 267) | func (g gitSyncHistoryDo) Group(cols ...field.Expr) IGitSyncHistoryDo { method Having (line 271) | func (g gitSyncHistoryDo) Having(conds ...gen.Condition) IGitSyncHisto... method Limit (line 275) | func (g gitSyncHistoryDo) Limit(limit int) IGitSyncHistoryDo { method Offset (line 279) | func (g gitSyncHistoryDo) Offset(offset int) IGitSyncHistoryDo { method Scopes (line 283) | func (g gitSyncHistoryDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IGitS... method Unscoped (line 287) | func (g gitSyncHistoryDo) Unscoped() IGitSyncHistoryDo { method Create (line 291) | func (g gitSyncHistoryDo) Create(values ...*model.GitSyncHistory) error { method CreateInBatches (line 298) | func (g gitSyncHistoryDo) CreateInBatches(values []*model.GitSyncHisto... method Save (line 304) | func (g gitSyncHistoryDo) Save(values ...*model.GitSyncHistory) error { method First (line 311) | func (g gitSyncHistoryDo) First() (*model.GitSyncHistory, error) { method Take (line 319) | func (g gitSyncHistoryDo) Take() (*model.GitSyncHistory, error) { method Last (line 327) | func (g gitSyncHistoryDo) Last() (*model.GitSyncHistory, error) { method Find (line 335) | func (g gitSyncHistoryDo) Find() ([]*model.GitSyncHistory, error) { method FindInBatch (line 340) | func (g gitSyncHistoryDo) FindInBatch(batchSize int, fc func(tx gen.Da... method FindInBatches (line 349) | func (g gitSyncHistoryDo) FindInBatches(result *[]*model.GitSyncHistor... method Attrs (line 353) | func (g gitSyncHistoryDo) Attrs(attrs ...field.AssignExpr) IGitSyncHis... method Assign (line 357) | func (g gitSyncHistoryDo) Assign(attrs ...field.AssignExpr) IGitSyncHi... method Joins (line 361) | func (g gitSyncHistoryDo) Joins(fields ...field.RelationField) IGitSyn... method Preload (line 368) | func (g gitSyncHistoryDo) Preload(fields ...field.RelationField) IGitS... method FirstOrInit (line 375) | func (g gitSyncHistoryDo) FirstOrInit() (*model.GitSyncHistory, error) { method FirstOrCreate (line 383) | func (g gitSyncHistoryDo) FirstOrCreate() (*model.GitSyncHistory, erro... method FindByPage (line 391) | func (g gitSyncHistoryDo) FindByPage(offset int, limit int) (result []... method ScanByPage (line 406) | func (g gitSyncHistoryDo) ScanByPage(result interface{}, offset int, l... method Scan (line 416) | func (g gitSyncHistoryDo) Scan(result interface{}) (err error) { method Delete (line 420) | func (g gitSyncHistoryDo) Delete(models ...*model.GitSyncHistory) (res... method withDO (line 424) | func (g *gitSyncHistoryDo) withDO(do gen.Dao) *gitSyncHistoryDo { type IGitSyncHistoryDo (line 136) | type IGitSyncHistoryDo interface FILE: internal/query/note.gen.go function newNote (line 23) | func newNote(db *gorm.DB, opts ...gen.DOOption) note { type note (line 58) | type note struct method Table (line 87) | func (n note) Table(newTableName string) *note { method As (line 92) | func (n note) As(alias string) *note { method updateTableName (line 97) | func (n *note) updateTableName(table string) *note { method WithContext (line 126) | func (n *note) WithContext(ctx context.Context) INoteDo { return n.not... method TableName (line 128) | func (n note) TableName() string { return n.noteDo.TableName() } method Alias (line 130) | func (n note) Alias() string { return n.noteDo.Alias() } method Columns (line 132) | func (n note) Columns(cols ...field.Expr) gen.Columns { return n.noteD... method GetFieldByName (line 134) | func (n *note) GetFieldByName(fieldName string) (field.OrderExpr, bool) { method fillFieldMap (line 143) | func (n *note) fillFieldMap() { method clone (line 168) | func (n note) clone(db *gorm.DB) note { method replaceDB (line 173) | func (n note) replaceDB(db *gorm.DB) note { type noteDo (line 178) | type noteDo struct method Debug (line 243) | func (n noteDo) Debug() INoteDo { method WithContext (line 247) | func (n noteDo) WithContext(ctx context.Context) INoteDo { method ReadDB (line 251) | func (n noteDo) ReadDB() INoteDo { method WriteDB (line 255) | func (n noteDo) WriteDB() INoteDo { method Session (line 259) | func (n noteDo) Session(config *gorm.Session) INoteDo { method Clauses (line 263) | func (n noteDo) Clauses(conds ...clause.Expression) INoteDo { method Returning (line 267) | func (n noteDo) Returning(value interface{}, columns ...string) INoteDo { method Not (line 271) | func (n noteDo) Not(conds ...gen.Condition) INoteDo { method Or (line 275) | func (n noteDo) Or(conds ...gen.Condition) INoteDo { method Select (line 279) | func (n noteDo) Select(conds ...field.Expr) INoteDo { method Where (line 283) | func (n noteDo) Where(conds ...gen.Condition) INoteDo { method Order (line 287) | func (n noteDo) Order(conds ...field.Expr) INoteDo { method Distinct (line 291) | func (n noteDo) Distinct(cols ...field.Expr) INoteDo { method Omit (line 295) | func (n noteDo) Omit(cols ...field.Expr) INoteDo { method Join (line 299) | func (n noteDo) Join(table schema.Tabler, on ...field.Expr) INoteDo { method LeftJoin (line 303) | func (n noteDo) LeftJoin(table schema.Tabler, on ...field.Expr) INoteDo { method RightJoin (line 307) | func (n noteDo) RightJoin(table schema.Tabler, on ...field.Expr) INote... method Group (line 311) | func (n noteDo) Group(cols ...field.Expr) INoteDo { method Having (line 315) | func (n noteDo) Having(conds ...gen.Condition) INoteDo { method Limit (line 319) | func (n noteDo) Limit(limit int) INoteDo { method Offset (line 323) | func (n noteDo) Offset(offset int) INoteDo { method Scopes (line 327) | func (n noteDo) Scopes(funcs ...func(gen.Dao) gen.Dao) INoteDo { method Unscoped (line 331) | func (n noteDo) Unscoped() INoteDo { method Create (line 335) | func (n noteDo) Create(values ...*model.Note) error { method CreateInBatches (line 342) | func (n noteDo) CreateInBatches(values []*model.Note, batchSize int) e... method Save (line 348) | func (n noteDo) Save(values ...*model.Note) error { method First (line 355) | func (n noteDo) First() (*model.Note, error) { method Take (line 363) | func (n noteDo) Take() (*model.Note, error) { method Last (line 371) | func (n noteDo) Last() (*model.Note, error) { method Find (line 379) | func (n noteDo) Find() ([]*model.Note, error) { method FindInBatch (line 384) | func (n noteDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batch i... method FindInBatches (line 393) | func (n noteDo) FindInBatches(result *[]*model.Note, batchSize int, fc... method Attrs (line 397) | func (n noteDo) Attrs(attrs ...field.AssignExpr) INoteDo { method Assign (line 401) | func (n noteDo) Assign(attrs ...field.AssignExpr) INoteDo { method Joins (line 405) | func (n noteDo) Joins(fields ...field.RelationField) INoteDo { method Preload (line 412) | func (n noteDo) Preload(fields ...field.RelationField) INoteDo { method FirstOrInit (line 419) | func (n noteDo) FirstOrInit() (*model.Note, error) { method FirstOrCreate (line 427) | func (n noteDo) FirstOrCreate() (*model.Note, error) { method FindByPage (line 435) | func (n noteDo) FindByPage(offset int, limit int) (result []*model.Not... method ScanByPage (line 450) | func (n noteDo) ScanByPage(result interface{}, offset int, limit int) ... method Scan (line 460) | func (n noteDo) Scan(result interface{}) (err error) { method Delete (line 464) | func (n noteDo) Delete(models ...*model.Note) (result gen.ResultInfo, ... method withDO (line 468) | func (n *noteDo) withDO(do gen.Dao) *noteDo { type INoteDo (line 180) | type INoteDo interface FILE: internal/query/note_history.gen.go function newNoteHistory (line 23) | func newNoteHistory(db *gorm.DB, opts ...gen.DOOption) noteHistory { type noteHistory (line 50) | type noteHistory struct method Table (line 71) | func (n noteHistory) Table(newTableName string) *noteHistory { method As (line 76) | func (n noteHistory) As(alias string) *noteHistory { method updateTableName (line 81) | func (n *noteHistory) updateTableName(table string) *noteHistory { method WithContext (line 102) | func (n *noteHistory) WithContext(ctx context.Context) INoteHistoryDo { method TableName (line 106) | func (n noteHistory) TableName() string { return n.noteHistoryDo.Table... method Alias (line 108) | func (n noteHistory) Alias() string { return n.noteHistoryDo.Alias() } method Columns (line 110) | func (n noteHistory) Columns(cols ...field.Expr) gen.Columns { return ... method GetFieldByName (line 112) | func (n *noteHistory) GetFieldByName(fieldName string) (field.OrderExp... method fillFieldMap (line 121) | func (n *noteHistory) fillFieldMap() { method clone (line 138) | func (n noteHistory) clone(db *gorm.DB) noteHistory { method replaceDB (line 143) | func (n noteHistory) replaceDB(db *gorm.DB) noteHistory { type noteHistoryDo (line 148) | type noteHistoryDo struct method Debug (line 213) | func (n noteHistoryDo) Debug() INoteHistoryDo { method WithContext (line 217) | func (n noteHistoryDo) WithContext(ctx context.Context) INoteHistoryDo { method ReadDB (line 221) | func (n noteHistoryDo) ReadDB() INoteHistoryDo { method WriteDB (line 225) | func (n noteHistoryDo) WriteDB() INoteHistoryDo { method Session (line 229) | func (n noteHistoryDo) Session(config *gorm.Session) INoteHistoryDo { method Clauses (line 233) | func (n noteHistoryDo) Clauses(conds ...clause.Expression) INoteHistor... method Returning (line 237) | func (n noteHistoryDo) Returning(value interface{}, columns ...string)... method Not (line 241) | func (n noteHistoryDo) Not(conds ...gen.Condition) INoteHistoryDo { method Or (line 245) | func (n noteHistoryDo) Or(conds ...gen.Condition) INoteHistoryDo { method Select (line 249) | func (n noteHistoryDo) Select(conds ...field.Expr) INoteHistoryDo { method Where (line 253) | func (n noteHistoryDo) Where(conds ...gen.Condition) INoteHistoryDo { method Order (line 257) | func (n noteHistoryDo) Order(conds ...field.Expr) INoteHistoryDo { method Distinct (line 261) | func (n noteHistoryDo) Distinct(cols ...field.Expr) INoteHistoryDo { method Omit (line 265) | func (n noteHistoryDo) Omit(cols ...field.Expr) INoteHistoryDo { method Join (line 269) | func (n noteHistoryDo) Join(table schema.Tabler, on ...field.Expr) INo... method LeftJoin (line 273) | func (n noteHistoryDo) LeftJoin(table schema.Tabler, on ...field.Expr)... method RightJoin (line 277) | func (n noteHistoryDo) RightJoin(table schema.Tabler, on ...field.Expr... method Group (line 281) | func (n noteHistoryDo) Group(cols ...field.Expr) INoteHistoryDo { method Having (line 285) | func (n noteHistoryDo) Having(conds ...gen.Condition) INoteHistoryDo { method Limit (line 289) | func (n noteHistoryDo) Limit(limit int) INoteHistoryDo { method Offset (line 293) | func (n noteHistoryDo) Offset(offset int) INoteHistoryDo { method Scopes (line 297) | func (n noteHistoryDo) Scopes(funcs ...func(gen.Dao) gen.Dao) INoteHis... method Unscoped (line 301) | func (n noteHistoryDo) Unscoped() INoteHistoryDo { method Create (line 305) | func (n noteHistoryDo) Create(values ...*model.NoteHistory) error { method CreateInBatches (line 312) | func (n noteHistoryDo) CreateInBatches(values []*model.NoteHistory, ba... method Save (line 318) | func (n noteHistoryDo) Save(values ...*model.NoteHistory) error { method First (line 325) | func (n noteHistoryDo) First() (*model.NoteHistory, error) { method Take (line 333) | func (n noteHistoryDo) Take() (*model.NoteHistory, error) { method Last (line 341) | func (n noteHistoryDo) Last() (*model.NoteHistory, error) { method Find (line 349) | func (n noteHistoryDo) Find() ([]*model.NoteHistory, error) { method FindInBatch (line 354) | func (n noteHistoryDo) FindInBatch(batchSize int, fc func(tx gen.Dao, ... method FindInBatches (line 363) | func (n noteHistoryDo) FindInBatches(result *[]*model.NoteHistory, bat... method Attrs (line 367) | func (n noteHistoryDo) Attrs(attrs ...field.AssignExpr) INoteHistoryDo { method Assign (line 371) | func (n noteHistoryDo) Assign(attrs ...field.AssignExpr) INoteHistoryDo { method Joins (line 375) | func (n noteHistoryDo) Joins(fields ...field.RelationField) INoteHisto... method Preload (line 382) | func (n noteHistoryDo) Preload(fields ...field.RelationField) INoteHis... method FirstOrInit (line 389) | func (n noteHistoryDo) FirstOrInit() (*model.NoteHistory, error) { method FirstOrCreate (line 397) | func (n noteHistoryDo) FirstOrCreate() (*model.NoteHistory, error) { method FindByPage (line 405) | func (n noteHistoryDo) FindByPage(offset int, limit int) (result []*mo... method ScanByPage (line 420) | func (n noteHistoryDo) ScanByPage(result interface{}, offset int, limi... method Scan (line 430) | func (n noteHistoryDo) Scan(result interface{}) (err error) { method Delete (line 434) | func (n noteHistoryDo) Delete(models ...*model.NoteHistory) (result ge... method withDO (line 438) | func (n *noteHistoryDo) withDO(do gen.Dao) *noteHistoryDo { type INoteHistoryDo (line 150) | type INoteHistoryDo interface FILE: internal/query/note_link.gen.go function newNoteLink (line 23) | func newNoteLink(db *gorm.DB, opts ...gen.DOOption) noteLink { type noteLink (line 46) | type noteLink struct method Table (line 63) | func (n noteLink) Table(newTableName string) *noteLink { method As (line 68) | func (n noteLink) As(alias string) *noteLink { method updateTableName (line 73) | func (n *noteLink) updateTableName(table string) *noteLink { method WithContext (line 90) | func (n *noteLink) WithContext(ctx context.Context) INoteLinkDo { retu... method TableName (line 92) | func (n noteLink) TableName() string { return n.noteLinkDo.TableName() } method Alias (line 94) | func (n noteLink) Alias() string { return n.noteLinkDo.Alias() } method Columns (line 96) | func (n noteLink) Columns(cols ...field.Expr) gen.Columns { return n.n... method GetFieldByName (line 98) | func (n *noteLink) GetFieldByName(fieldName string) (field.OrderExpr, ... method fillFieldMap (line 107) | func (n *noteLink) fillFieldMap() { method clone (line 120) | func (n noteLink) clone(db *gorm.DB) noteLink { method replaceDB (line 125) | func (n noteLink) replaceDB(db *gorm.DB) noteLink { type noteLinkDo (line 130) | type noteLinkDo struct method Debug (line 195) | func (n noteLinkDo) Debug() INoteLinkDo { method WithContext (line 199) | func (n noteLinkDo) WithContext(ctx context.Context) INoteLinkDo { method ReadDB (line 203) | func (n noteLinkDo) ReadDB() INoteLinkDo { method WriteDB (line 207) | func (n noteLinkDo) WriteDB() INoteLinkDo { method Session (line 211) | func (n noteLinkDo) Session(config *gorm.Session) INoteLinkDo { method Clauses (line 215) | func (n noteLinkDo) Clauses(conds ...clause.Expression) INoteLinkDo { method Returning (line 219) | func (n noteLinkDo) Returning(value interface{}, columns ...string) IN... method Not (line 223) | func (n noteLinkDo) Not(conds ...gen.Condition) INoteLinkDo { method Or (line 227) | func (n noteLinkDo) Or(conds ...gen.Condition) INoteLinkDo { method Select (line 231) | func (n noteLinkDo) Select(conds ...field.Expr) INoteLinkDo { method Where (line 235) | func (n noteLinkDo) Where(conds ...gen.Condition) INoteLinkDo { method Order (line 239) | func (n noteLinkDo) Order(conds ...field.Expr) INoteLinkDo { method Distinct (line 243) | func (n noteLinkDo) Distinct(cols ...field.Expr) INoteLinkDo { method Omit (line 247) | func (n noteLinkDo) Omit(cols ...field.Expr) INoteLinkDo { method Join (line 251) | func (n noteLinkDo) Join(table schema.Tabler, on ...field.Expr) INoteL... method LeftJoin (line 255) | func (n noteLinkDo) LeftJoin(table schema.Tabler, on ...field.Expr) IN... method RightJoin (line 259) | func (n noteLinkDo) RightJoin(table schema.Tabler, on ...field.Expr) I... method Group (line 263) | func (n noteLinkDo) Group(cols ...field.Expr) INoteLinkDo { method Having (line 267) | func (n noteLinkDo) Having(conds ...gen.Condition) INoteLinkDo { method Limit (line 271) | func (n noteLinkDo) Limit(limit int) INoteLinkDo { method Offset (line 275) | func (n noteLinkDo) Offset(offset int) INoteLinkDo { method Scopes (line 279) | func (n noteLinkDo) Scopes(funcs ...func(gen.Dao) gen.Dao) INoteLinkDo { method Unscoped (line 283) | func (n noteLinkDo) Unscoped() INoteLinkDo { method Create (line 287) | func (n noteLinkDo) Create(values ...*model.NoteLink) error { method CreateInBatches (line 294) | func (n noteLinkDo) CreateInBatches(values []*model.NoteLink, batchSiz... method Save (line 300) | func (n noteLinkDo) Save(values ...*model.NoteLink) error { method First (line 307) | func (n noteLinkDo) First() (*model.NoteLink, error) { method Take (line 315) | func (n noteLinkDo) Take() (*model.NoteLink, error) { method Last (line 323) | func (n noteLinkDo) Last() (*model.NoteLink, error) { method Find (line 331) | func (n noteLinkDo) Find() ([]*model.NoteLink, error) { method FindInBatch (line 336) | func (n noteLinkDo) FindInBatch(batchSize int, fc func(tx gen.Dao, bat... method FindInBatches (line 345) | func (n noteLinkDo) FindInBatches(result *[]*model.NoteLink, batchSize... method Attrs (line 349) | func (n noteLinkDo) Attrs(attrs ...field.AssignExpr) INoteLinkDo { method Assign (line 353) | func (n noteLinkDo) Assign(attrs ...field.AssignExpr) INoteLinkDo { method Joins (line 357) | func (n noteLinkDo) Joins(fields ...field.RelationField) INoteLinkDo { method Preload (line 364) | func (n noteLinkDo) Preload(fields ...field.RelationField) INoteLinkDo { method FirstOrInit (line 371) | func (n noteLinkDo) FirstOrInit() (*model.NoteLink, error) { method FirstOrCreate (line 379) | func (n noteLinkDo) FirstOrCreate() (*model.NoteLink, error) { method FindByPage (line 387) | func (n noteLinkDo) FindByPage(offset int, limit int) (result []*model... method ScanByPage (line 402) | func (n noteLinkDo) ScanByPage(result interface{}, offset int, limit i... method Scan (line 412) | func (n noteLinkDo) Scan(result interface{}) (err error) { method Delete (line 416) | func (n noteLinkDo) Delete(models ...*model.NoteLink) (result gen.Resu... method withDO (line 420) | func (n *noteLinkDo) withDO(do gen.Dao) *noteLinkDo { type INoteLinkDo (line 132) | type INoteLinkDo interface FILE: internal/query/setting.gen.go function newSetting (line 23) | func newSetting(db *gorm.DB, opts ...gen.DOOption) setting { type setting (line 50) | type setting struct method Table (line 71) | func (s setting) Table(newTableName string) *setting { method As (line 76) | func (s setting) As(alias string) *setting { method updateTableName (line 81) | func (s *setting) updateTableName(table string) *setting { method WithContext (line 102) | func (s *setting) WithContext(ctx context.Context) ISettingDo { return... method TableName (line 104) | func (s setting) TableName() string { return s.settingDo.TableName() } method Alias (line 106) | func (s setting) Alias() string { return s.settingDo.Alias() } method Columns (line 108) | func (s setting) Columns(cols ...field.Expr) gen.Columns { return s.se... method GetFieldByName (line 110) | func (s *setting) GetFieldByName(fieldName string) (field.OrderExpr, b... method fillFieldMap (line 119) | func (s *setting) fillFieldMap() { method clone (line 136) | func (s setting) clone(db *gorm.DB) setting { method replaceDB (line 141) | func (s setting) replaceDB(db *gorm.DB) setting { type settingDo (line 146) | type settingDo struct method Debug (line 211) | func (s settingDo) Debug() ISettingDo { method WithContext (line 215) | func (s settingDo) WithContext(ctx context.Context) ISettingDo { method ReadDB (line 219) | func (s settingDo) ReadDB() ISettingDo { method WriteDB (line 223) | func (s settingDo) WriteDB() ISettingDo { method Session (line 227) | func (s settingDo) Session(config *gorm.Session) ISettingDo { method Clauses (line 231) | func (s settingDo) Clauses(conds ...clause.Expression) ISettingDo { method Returning (line 235) | func (s settingDo) Returning(value interface{}, columns ...string) ISe... method Not (line 239) | func (s settingDo) Not(conds ...gen.Condition) ISettingDo { method Or (line 243) | func (s settingDo) Or(conds ...gen.Condition) ISettingDo { method Select (line 247) | func (s settingDo) Select(conds ...field.Expr) ISettingDo { method Where (line 251) | func (s settingDo) Where(conds ...gen.Condition) ISettingDo { method Order (line 255) | func (s settingDo) Order(conds ...field.Expr) ISettingDo { method Distinct (line 259) | func (s settingDo) Distinct(cols ...field.Expr) ISettingDo { method Omit (line 263) | func (s settingDo) Omit(cols ...field.Expr) ISettingDo { method Join (line 267) | func (s settingDo) Join(table schema.Tabler, on ...field.Expr) ISettin... method LeftJoin (line 271) | func (s settingDo) LeftJoin(table schema.Tabler, on ...field.Expr) ISe... method RightJoin (line 275) | func (s settingDo) RightJoin(table schema.Tabler, on ...field.Expr) IS... method Group (line 279) | func (s settingDo) Group(cols ...field.Expr) ISettingDo { method Having (line 283) | func (s settingDo) Having(conds ...gen.Condition) ISettingDo { method Limit (line 287) | func (s settingDo) Limit(limit int) ISettingDo { method Offset (line 291) | func (s settingDo) Offset(offset int) ISettingDo { method Scopes (line 295) | func (s settingDo) Scopes(funcs ...func(gen.Dao) gen.Dao) ISettingDo { method Unscoped (line 299) | func (s settingDo) Unscoped() ISettingDo { method Create (line 303) | func (s settingDo) Create(values ...*model.Setting) error { method CreateInBatches (line 310) | func (s settingDo) CreateInBatches(values []*model.Setting, batchSize ... method Save (line 316) | func (s settingDo) Save(values ...*model.Setting) error { method First (line 323) | func (s settingDo) First() (*model.Setting, error) { method Take (line 331) | func (s settingDo) Take() (*model.Setting, error) { method Last (line 339) | func (s settingDo) Last() (*model.Setting, error) { method Find (line 347) | func (s settingDo) Find() ([]*model.Setting, error) { method FindInBatch (line 352) | func (s settingDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batc... method FindInBatches (line 361) | func (s settingDo) FindInBatches(result *[]*model.Setting, batchSize i... method Attrs (line 365) | func (s settingDo) Attrs(attrs ...field.AssignExpr) ISettingDo { method Assign (line 369) | func (s settingDo) Assign(attrs ...field.AssignExpr) ISettingDo { method Joins (line 373) | func (s settingDo) Joins(fields ...field.RelationField) ISettingDo { method Preload (line 380) | func (s settingDo) Preload(fields ...field.RelationField) ISettingDo { method FirstOrInit (line 387) | func (s settingDo) FirstOrInit() (*model.Setting, error) { method FirstOrCreate (line 395) | func (s settingDo) FirstOrCreate() (*model.Setting, error) { method FindByPage (line 403) | func (s settingDo) FindByPage(offset int, limit int) (result []*model.... method ScanByPage (line 418) | func (s settingDo) ScanByPage(result interface{}, offset int, limit in... method Scan (line 428) | func (s settingDo) Scan(result interface{}) (err error) { method Delete (line 432) | func (s settingDo) Delete(models ...*model.Setting) (result gen.Result... method withDO (line 436) | func (s *settingDo) withDO(do gen.Dao) *settingDo { type ISettingDo (line 148) | type ISettingDo interface FILE: internal/query/storage.gen.go function newStorage (line 23) | func newStorage(db *gorm.DB, opts ...gen.DOOption) storage { type storage (line 55) | type storage struct method Table (line 81) | func (s storage) Table(newTableName string) *storage { method As (line 86) | func (s storage) As(alias string) *storage { method updateTableName (line 91) | func (s *storage) updateTableName(table string) *storage { method WithContext (line 117) | func (s *storage) WithContext(ctx context.Context) IStorageDo { return... method TableName (line 119) | func (s storage) TableName() string { return s.storageDo.TableName() } method Alias (line 121) | func (s storage) Alias() string { return s.storageDo.Alias() } method Columns (line 123) | func (s storage) Columns(cols ...field.Expr) gen.Columns { return s.st... method GetFieldByName (line 125) | func (s *storage) GetFieldByName(fieldName string) (field.OrderExpr, b... method fillFieldMap (line 134) | func (s *storage) fillFieldMap() { method clone (line 156) | func (s storage) clone(db *gorm.DB) storage { method replaceDB (line 161) | func (s storage) replaceDB(db *gorm.DB) storage { type storageDo (line 166) | type storageDo struct method Debug (line 231) | func (s storageDo) Debug() IStorageDo { method WithContext (line 235) | func (s storageDo) WithContext(ctx context.Context) IStorageDo { method ReadDB (line 239) | func (s storageDo) ReadDB() IStorageDo { method WriteDB (line 243) | func (s storageDo) WriteDB() IStorageDo { method Session (line 247) | func (s storageDo) Session(config *gorm.Session) IStorageDo { method Clauses (line 251) | func (s storageDo) Clauses(conds ...clause.Expression) IStorageDo { method Returning (line 255) | func (s storageDo) Returning(value interface{}, columns ...string) ISt... method Not (line 259) | func (s storageDo) Not(conds ...gen.Condition) IStorageDo { method Or (line 263) | func (s storageDo) Or(conds ...gen.Condition) IStorageDo { method Select (line 267) | func (s storageDo) Select(conds ...field.Expr) IStorageDo { method Where (line 271) | func (s storageDo) Where(conds ...gen.Condition) IStorageDo { method Order (line 275) | func (s storageDo) Order(conds ...field.Expr) IStorageDo { method Distinct (line 279) | func (s storageDo) Distinct(cols ...field.Expr) IStorageDo { method Omit (line 283) | func (s storageDo) Omit(cols ...field.Expr) IStorageDo { method Join (line 287) | func (s storageDo) Join(table schema.Tabler, on ...field.Expr) IStorag... method LeftJoin (line 291) | func (s storageDo) LeftJoin(table schema.Tabler, on ...field.Expr) ISt... method RightJoin (line 295) | func (s storageDo) RightJoin(table schema.Tabler, on ...field.Expr) IS... method Group (line 299) | func (s storageDo) Group(cols ...field.Expr) IStorageDo { method Having (line 303) | func (s storageDo) Having(conds ...gen.Condition) IStorageDo { method Limit (line 307) | func (s storageDo) Limit(limit int) IStorageDo { method Offset (line 311) | func (s storageDo) Offset(offset int) IStorageDo { method Scopes (line 315) | func (s storageDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IStorageDo { method Unscoped (line 319) | func (s storageDo) Unscoped() IStorageDo { method Create (line 323) | func (s storageDo) Create(values ...*model.Storage) error { method CreateInBatches (line 330) | func (s storageDo) CreateInBatches(values []*model.Storage, batchSize ... method Save (line 336) | func (s storageDo) Save(values ...*model.Storage) error { method First (line 343) | func (s storageDo) First() (*model.Storage, error) { method Take (line 351) | func (s storageDo) Take() (*model.Storage, error) { method Last (line 359) | func (s storageDo) Last() (*model.Storage, error) { method Find (line 367) | func (s storageDo) Find() ([]*model.Storage, error) { method FindInBatch (line 372) | func (s storageDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batc... method FindInBatches (line 381) | func (s storageDo) FindInBatches(result *[]*model.Storage, batchSize i... method Attrs (line 385) | func (s storageDo) Attrs(attrs ...field.AssignExpr) IStorageDo { method Assign (line 389) | func (s storageDo) Assign(attrs ...field.AssignExpr) IStorageDo { method Joins (line 393) | func (s storageDo) Joins(fields ...field.RelationField) IStorageDo { method Preload (line 400) | func (s storageDo) Preload(fields ...field.RelationField) IStorageDo { method FirstOrInit (line 407) | func (s storageDo) FirstOrInit() (*model.Storage, error) { method FirstOrCreate (line 415) | func (s storageDo) FirstOrCreate() (*model.Storage, error) { method FindByPage (line 423) | func (s storageDo) FindByPage(offset int, limit int) (result []*model.... method ScanByPage (line 438) | func (s storageDo) ScanByPage(result interface{}, offset int, limit in... method Scan (line 448) | func (s storageDo) Scan(result interface{}) (err error) { method Delete (line 452) | func (s storageDo) Delete(models ...*model.Storage) (result gen.Result... method withDO (line 456) | func (s *storageDo) withDO(do gen.Dao) *storageDo { type IStorageDo (line 168) | type IStorageDo interface FILE: internal/query/user.gen.go function newUser (line 23) | func newUser(db *gorm.DB, opts ...gen.DOOption) user { type user (line 48) | type user struct method Table (line 67) | func (u user) Table(newTableName string) *user { method As (line 72) | func (u user) As(alias string) *user { method updateTableName (line 77) | func (u *user) updateTableName(table string) *user { method WithContext (line 96) | func (u *user) WithContext(ctx context.Context) IUserDo { return u.use... method TableName (line 98) | func (u user) TableName() string { return u.userDo.TableName() } method Alias (line 100) | func (u user) Alias() string { return u.userDo.Alias() } method Columns (line 102) | func (u user) Columns(cols ...field.Expr) gen.Columns { return u.userD... method GetFieldByName (line 104) | func (u *user) GetFieldByName(fieldName string) (field.OrderExpr, bool) { method fillFieldMap (line 113) | func (u *user) fillFieldMap() { method clone (line 128) | func (u user) clone(db *gorm.DB) user { method replaceDB (line 133) | func (u user) replaceDB(db *gorm.DB) user { type userDo (line 138) | type userDo struct method Debug (line 203) | func (u userDo) Debug() IUserDo { method WithContext (line 207) | func (u userDo) WithContext(ctx context.Context) IUserDo { method ReadDB (line 211) | func (u userDo) ReadDB() IUserDo { method WriteDB (line 215) | func (u userDo) WriteDB() IUserDo { method Session (line 219) | func (u userDo) Session(config *gorm.Session) IUserDo { method Clauses (line 223) | func (u userDo) Clauses(conds ...clause.Expression) IUserDo { method Returning (line 227) | func (u userDo) Returning(value interface{}, columns ...string) IUserDo { method Not (line 231) | func (u userDo) Not(conds ...gen.Condition) IUserDo { method Or (line 235) | func (u userDo) Or(conds ...gen.Condition) IUserDo { method Select (line 239) | func (u userDo) Select(conds ...field.Expr) IUserDo { method Where (line 243) | func (u userDo) Where(conds ...gen.Condition) IUserDo { method Order (line 247) | func (u userDo) Order(conds ...field.Expr) IUserDo { method Distinct (line 251) | func (u userDo) Distinct(cols ...field.Expr) IUserDo { method Omit (line 255) | func (u userDo) Omit(cols ...field.Expr) IUserDo { method Join (line 259) | func (u userDo) Join(table schema.Tabler, on ...field.Expr) IUserDo { method LeftJoin (line 263) | func (u userDo) LeftJoin(table schema.Tabler, on ...field.Expr) IUserDo { method RightJoin (line 267) | func (u userDo) RightJoin(table schema.Tabler, on ...field.Expr) IUser... method Group (line 271) | func (u userDo) Group(cols ...field.Expr) IUserDo { method Having (line 275) | func (u userDo) Having(conds ...gen.Condition) IUserDo { method Limit (line 279) | func (u userDo) Limit(limit int) IUserDo { method Offset (line 283) | func (u userDo) Offset(offset int) IUserDo { method Scopes (line 287) | func (u userDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IUserDo { method Unscoped (line 291) | func (u userDo) Unscoped() IUserDo { method Create (line 295) | func (u userDo) Create(values ...*model.User) error { method CreateInBatches (line 302) | func (u userDo) CreateInBatches(values []*model.User, batchSize int) e... method Save (line 308) | func (u userDo) Save(values ...*model.User) error { method First (line 315) | func (u userDo) First() (*model.User, error) { method Take (line 323) | func (u userDo) Take() (*model.User, error) { method Last (line 331) | func (u userDo) Last() (*model.User, error) { method Find (line 339) | func (u userDo) Find() ([]*model.User, error) { method FindInBatch (line 344) | func (u userDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batch i... method FindInBatches (line 353) | func (u userDo) FindInBatches(result *[]*model.User, batchSize int, fc... method Attrs (line 357) | func (u userDo) Attrs(attrs ...field.AssignExpr) IUserDo { method Assign (line 361) | func (u userDo) Assign(attrs ...field.AssignExpr) IUserDo { method Joins (line 365) | func (u userDo) Joins(fields ...field.RelationField) IUserDo { method Preload (line 372) | func (u userDo) Preload(fields ...field.RelationField) IUserDo { method FirstOrInit (line 379) | func (u userDo) FirstOrInit() (*model.User, error) { method FirstOrCreate (line 387) | func (u userDo) FirstOrCreate() (*model.User, error) { method FindByPage (line 395) | func (u userDo) FindByPage(offset int, limit int) (result []*model.Use... method ScanByPage (line 410) | func (u userDo) ScanByPage(result interface{}, offset int, limit int) ... method Scan (line 420) | func (u userDo) Scan(result interface{}) (err error) { method Delete (line 424) | func (u userDo) Delete(models ...*model.User) (result gen.ResultInfo, ... method withDO (line 428) | func (u *userDo) withDO(do gen.Dao) *userDo { type IUserDo (line 140) | type IUserDo interface FILE: internal/query/user_share.gen.go function newUserShare (line 23) | func newUserShare(db *gorm.DB, opts ...gen.DOOption) userShare { type userShare (line 50) | type userShare struct method Table (line 71) | func (u userShare) Table(newTableName string) *userShare { method As (line 76) | func (u userShare) As(alias string) *userShare { method updateTableName (line 81) | func (u *userShare) updateTableName(table string) *userShare { method WithContext (line 102) | func (u *userShare) WithContext(ctx context.Context) IUserShareDo { method TableName (line 106) | func (u userShare) TableName() string { return u.userShareDo.TableName... method Alias (line 108) | func (u userShare) Alias() string { return u.userShareDo.Alias() } method Columns (line 110) | func (u userShare) Columns(cols ...field.Expr) gen.Columns { return u.... method GetFieldByName (line 112) | func (u *userShare) GetFieldByName(fieldName string) (field.OrderExpr,... method fillFieldMap (line 121) | func (u *userShare) fillFieldMap() { method clone (line 138) | func (u userShare) clone(db *gorm.DB) userShare { method replaceDB (line 143) | func (u userShare) replaceDB(db *gorm.DB) userShare { type userShareDo (line 148) | type userShareDo struct method Debug (line 213) | func (u userShareDo) Debug() IUserShareDo { method WithContext (line 217) | func (u userShareDo) WithContext(ctx context.Context) IUserShareDo { method ReadDB (line 221) | func (u userShareDo) ReadDB() IUserShareDo { method WriteDB (line 225) | func (u userShareDo) WriteDB() IUserShareDo { method Session (line 229) | func (u userShareDo) Session(config *gorm.Session) IUserShareDo { method Clauses (line 233) | func (u userShareDo) Clauses(conds ...clause.Expression) IUserShareDo { method Returning (line 237) | func (u userShareDo) Returning(value interface{}, columns ...string) I... method Not (line 241) | func (u userShareDo) Not(conds ...gen.Condition) IUserShareDo { method Or (line 245) | func (u userShareDo) Or(conds ...gen.Condition) IUserShareDo { method Select (line 249) | func (u userShareDo) Select(conds ...field.Expr) IUserShareDo { method Where (line 253) | func (u userShareDo) Where(conds ...gen.Condition) IUserShareDo { method Order (line 257) | func (u userShareDo) Order(conds ...field.Expr) IUserShareDo { method Distinct (line 261) | func (u userShareDo) Distinct(cols ...field.Expr) IUserShareDo { method Omit (line 265) | func (u userShareDo) Omit(cols ...field.Expr) IUserShareDo { method Join (line 269) | func (u userShareDo) Join(table schema.Tabler, on ...field.Expr) IUser... method LeftJoin (line 273) | func (u userShareDo) LeftJoin(table schema.Tabler, on ...field.Expr) I... method RightJoin (line 277) | func (u userShareDo) RightJoin(table schema.Tabler, on ...field.Expr) ... method Group (line 281) | func (u userShareDo) Group(cols ...field.Expr) IUserShareDo { method Having (line 285) | func (u userShareDo) Having(conds ...gen.Condition) IUserShareDo { method Limit (line 289) | func (u userShareDo) Limit(limit int) IUserShareDo { method Offset (line 293) | func (u userShareDo) Offset(offset int) IUserShareDo { method Scopes (line 297) | func (u userShareDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IUserShare... method Unscoped (line 301) | func (u userShareDo) Unscoped() IUserShareDo { method Create (line 305) | func (u userShareDo) Create(values ...*model.UserShare) error { method CreateInBatches (line 312) | func (u userShareDo) CreateInBatches(values []*model.UserShare, batchS... method Save (line 318) | func (u userShareDo) Save(values ...*model.UserShare) error { method First (line 325) | func (u userShareDo) First() (*model.UserShare, error) { method Take (line 333) | func (u userShareDo) Take() (*model.UserShare, error) { method Last (line 341) | func (u userShareDo) Last() (*model.UserShare, error) { method Find (line 349) | func (u userShareDo) Find() ([]*model.UserShare, error) { method FindInBatch (line 354) | func (u userShareDo) FindInBatch(batchSize int, fc func(tx gen.Dao, ba... method FindInBatches (line 363) | func (u userShareDo) FindInBatches(result *[]*model.UserShare, batchSi... method Attrs (line 367) | func (u userShareDo) Attrs(attrs ...field.AssignExpr) IUserShareDo { method Assign (line 371) | func (u userShareDo) Assign(attrs ...field.AssignExpr) IUserShareDo { method Joins (line 375) | func (u userShareDo) Joins(fields ...field.RelationField) IUserShareDo { method Preload (line 382) | func (u userShareDo) Preload(fields ...field.RelationField) IUserShare... method FirstOrInit (line 389) | func (u userShareDo) FirstOrInit() (*model.UserShare, error) { method FirstOrCreate (line 397) | func (u userShareDo) FirstOrCreate() (*model.UserShare, error) { method FindByPage (line 405) | func (u userShareDo) FindByPage(offset int, limit int) (result []*mode... method ScanByPage (line 420) | func (u userShareDo) ScanByPage(result interface{}, offset int, limit ... method Scan (line 430) | func (u userShareDo) Scan(result interface{}) (err error) { method Delete (line 434) | func (u userShareDo) Delete(models ...*model.UserShare) (result gen.Re... method withDO (line 438) | func (u *userShareDo) withDO(do gen.Dao) *userShareDo { type IUserShareDo (line 150) | type IUserShareDo interface FILE: internal/query/vault.gen.go function newVault (line 23) | func newVault(db *gorm.DB, opts ...gen.DOOption) vault { type vault (line 46) | type vault struct method Table (line 63) | func (v vault) Table(newTableName string) *vault { method As (line 68) | func (v vault) As(alias string) *vault { method updateTableName (line 73) | func (v *vault) updateTableName(table string) *vault { method WithContext (line 90) | func (v *vault) WithContext(ctx context.Context) IVaultDo { return v.v... method TableName (line 92) | func (v vault) TableName() string { return v.vaultDo.TableName() } method Alias (line 94) | func (v vault) Alias() string { return v.vaultDo.Alias() } method Columns (line 96) | func (v vault) Columns(cols ...field.Expr) gen.Columns { return v.vaul... method GetFieldByName (line 98) | func (v *vault) GetFieldByName(fieldName string) (field.OrderExpr, boo... method fillFieldMap (line 107) | func (v *vault) fillFieldMap() { method clone (line 120) | func (v vault) clone(db *gorm.DB) vault { method replaceDB (line 125) | func (v vault) replaceDB(db *gorm.DB) vault { type vaultDo (line 130) | type vaultDo struct method Debug (line 195) | func (v vaultDo) Debug() IVaultDo { method WithContext (line 199) | func (v vaultDo) WithContext(ctx context.Context) IVaultDo { method ReadDB (line 203) | func (v vaultDo) ReadDB() IVaultDo { method WriteDB (line 207) | func (v vaultDo) WriteDB() IVaultDo { method Session (line 211) | func (v vaultDo) Session(config *gorm.Session) IVaultDo { method Clauses (line 215) | func (v vaultDo) Clauses(conds ...clause.Expression) IVaultDo { method Returning (line 219) | func (v vaultDo) Returning(value interface{}, columns ...string) IVaul... method Not (line 223) | func (v vaultDo) Not(conds ...gen.Condition) IVaultDo { method Or (line 227) | func (v vaultDo) Or(conds ...gen.Condition) IVaultDo { method Select (line 231) | func (v vaultDo) Select(conds ...field.Expr) IVaultDo { method Where (line 235) | func (v vaultDo) Where(conds ...gen.Condition) IVaultDo { method Order (line 239) | func (v vaultDo) Order(conds ...field.Expr) IVaultDo { method Distinct (line 243) | func (v vaultDo) Distinct(cols ...field.Expr) IVaultDo { method Omit (line 247) | func (v vaultDo) Omit(cols ...field.Expr) IVaultDo { method Join (line 251) | func (v vaultDo) Join(table schema.Tabler, on ...field.Expr) IVaultDo { method LeftJoin (line 255) | func (v vaultDo) LeftJoin(table schema.Tabler, on ...field.Expr) IVaul... method RightJoin (line 259) | func (v vaultDo) RightJoin(table schema.Tabler, on ...field.Expr) IVau... method Group (line 263) | func (v vaultDo) Group(cols ...field.Expr) IVaultDo { method Having (line 267) | func (v vaultDo) Having(conds ...gen.Condition) IVaultDo { method Limit (line 271) | func (v vaultDo) Limit(limit int) IVaultDo { method Offset (line 275) | func (v vaultDo) Offset(offset int) IVaultDo { method Scopes (line 279) | func (v vaultDo) Scopes(funcs ...func(gen.Dao) gen.Dao) IVaultDo { method Unscoped (line 283) | func (v vaultDo) Unscoped() IVaultDo { method Create (line 287) | func (v vaultDo) Create(values ...*model.Vault) error { method CreateInBatches (line 294) | func (v vaultDo) CreateInBatches(values []*model.Vault, batchSize int)... method Save (line 300) | func (v vaultDo) Save(values ...*model.Vault) error { method First (line 307) | func (v vaultDo) First() (*model.Vault, error) { method Take (line 315) | func (v vaultDo) Take() (*model.Vault, error) { method Last (line 323) | func (v vaultDo) Last() (*model.Vault, error) { method Find (line 331) | func (v vaultDo) Find() ([]*model.Vault, error) { method FindInBatch (line 336) | func (v vaultDo) FindInBatch(batchSize int, fc func(tx gen.Dao, batch ... method FindInBatches (line 345) | func (v vaultDo) FindInBatches(result *[]*model.Vault, batchSize int, ... method Attrs (line 349) | func (v vaultDo) Attrs(attrs ...field.AssignExpr) IVaultDo { method Assign (line 353) | func (v vaultDo) Assign(attrs ...field.AssignExpr) IVaultDo { method Joins (line 357) | func (v vaultDo) Joins(fields ...field.RelationField) IVaultDo { method Preload (line 364) | func (v vaultDo) Preload(fields ...field.RelationField) IVaultDo { method FirstOrInit (line 371) | func (v vaultDo) FirstOrInit() (*model.Vault, error) { method FirstOrCreate (line 379) | func (v vaultDo) FirstOrCreate() (*model.Vault, error) { method FindByPage (line 387) | func (v vaultDo) FindByPage(offset int, limit int) (result []*model.Va... method ScanByPage (line 402) | func (v vaultDo) ScanByPage(result interface{}, offset int, limit int)... method Scan (line 412) | func (v vaultDo) Scan(result interface{}) (err error) { method Delete (line 416) | func (v vaultDo) Delete(models ...*model.Vault) (result gen.ResultInfo... method withDO (line 420) | func (v *vaultDo) withDO(do gen.Dao) *vaultDo { type IVaultDo (line 132) | type IVaultDo interface FILE: internal/routers/api_router/handler.go type Handler (line 17) | type Handler struct method getClientInfo (line 36) | func (h *Handler) getClientInfo(c *gin.Context) (string, string, strin... function NewHandler (line 24) | func NewHandler(a *app.App) *Handler { function NewHandlerWithWSS (line 30) | func NewHandlerWithWSS(a *app.App, wss *pkgapp.WebsocketServer) *Handler { FILE: internal/routers/api_router/handler_admin_control.go type AdminControlHandler (line 36) | type AdminControlHandler struct method Config (line 57) | func (h *AdminControlHandler) Config(c *gin.Context) { method CheckAdmin (line 76) | func (h *AdminControlHandler) CheckAdmin(c *gin.Context) { method GetConfig (line 105) | func (h *AdminControlHandler) GetConfig(c *gin.Context) { method UpdateConfig (line 156) | func (h *AdminControlHandler) UpdateConfig(c *gin.Context) { method GetUserDatabaseConfig (line 248) | func (h *AdminControlHandler) GetUserDatabaseConfig(c *gin.Context) { method UpdateUserDatabaseConfig (line 301) | func (h *AdminControlHandler) UpdateUserDatabaseConfig(c *gin.Context) { method ValidateUserDatabaseConfig (line 387) | func (h *AdminControlHandler) ValidateUserDatabaseConfig(c *gin.Contex... method GetNgrokConfig (line 496) | func (h *AdminControlHandler) GetNgrokConfig(c *gin.Context) { method UpdateNgrokConfig (line 534) | func (h *AdminControlHandler) UpdateNgrokConfig(c *gin.Context) { method GetCloudflareConfig (line 582) | func (h *AdminControlHandler) GetCloudflareConfig(c *gin.Context) { method UpdateCloudflareConfig (line 620) | func (h *AdminControlHandler) UpdateCloudflareConfig(c *gin.Context) { method GetSystemInfo (line 666) | func (h *AdminControlHandler) GetSystemInfo(c *gin.Context) { method Upgrade (line 789) | func (h *AdminControlHandler) Upgrade(c *gin.Context) { method Restart (line 881) | func (h *AdminControlHandler) Restart(c *gin.Context) { method GC (line 912) | func (h *AdminControlHandler) GC(c *gin.Context) { method GetWSClients (line 968) | func (h *AdminControlHandler) GetWSClients(c *gin.Context) { method downloadFile (line 987) | func (h *AdminControlHandler) downloadFile(url string, dest string) er... method extractBinary (line 1008) | func (h *AdminControlHandler) extractBinary(tarPath string, destDir st... method CloudflaredTunnelDownload (line 1061) | func (h *AdminControlHandler) CloudflaredTunnelDownload(c *gin.Context) { function NewAdminControlHandler (line 43) | func NewAdminControlHandler(a *app.App, wss *pkgapp.WebsocketServer) *Ad... FILE: internal/routers/api_router/handler_admin_control_test.go function newAdminTestContext (line 18) | func newAdminTestContext(method, url, body string, uid int64) (*gin.Cont... function newTestAdminHandler (line 36) | func newTestAdminHandler() (*AdminControlHandler, *app.App) { function TestAdminControlHandler_Config_Success (line 47) | func TestAdminControlHandler_Config_Success(t *testing.T) { function TestAdminControlHandler_GetConfig_Success (line 63) | func TestAdminControlHandler_GetConfig_Success(t *testing.T) { function TestAdminControlHandler_GetConfig_Forbidden (line 73) | func TestAdminControlHandler_GetConfig_Forbidden(t *testing.T) { function TestAdminControlHandler_GetSystemInfo_Success (line 83) | func TestAdminControlHandler_GetSystemInfo_Success(t *testing.T) { function TestAdminControlHandler_GC_Success (line 94) | func TestAdminControlHandler_GC_Success(t *testing.T) { FILE: internal/routers/api_router/handler_backup.go type BackupHandler (line 17) | type BackupHandler struct method GetConfigs (line 38) | func (h *BackupHandler) GetConfigs(c *gin.Context) { method UpdateConfig (line 70) | func (h *BackupHandler) UpdateConfig(c *gin.Context) { method DeleteConfig (line 107) | func (h *BackupHandler) DeleteConfig(c *gin.Context) { method ListHistory (line 144) | func (h *BackupHandler) ListHistory(c *gin.Context) { method Execute (line 190) | func (h *BackupHandler) Execute(c *gin.Context) { method logError (line 215) | func (h *BackupHandler) logError(ctx context.Context, method string, e... function NewBackupHandler (line 22) | func NewBackupHandler(a *app.App) *BackupHandler { FILE: internal/routers/api_router/handler_backup_test.go function newBackupTestContext (line 19) | func newBackupTestContext(method, url, body string, uid int64) (*gin.Con... function newTestBackupHandler (line 37) | func newTestBackupHandler(backupSvc *svcmocks.MockBackupService) *Backup... function TestBackupHandler_GetConfigs_Success (line 45) | func TestBackupHandler_GetConfigs_Success(t *testing.T) { function TestBackupHandler_UpdateConfig_Success (line 65) | func TestBackupHandler_UpdateConfig_Success(t *testing.T) { function TestBackupHandler_DeleteConfig_Success (line 88) | func TestBackupHandler_DeleteConfig_Success(t *testing.T) { function TestBackupHandler_ListHistory_Success (line 106) | func TestBackupHandler_ListHistory_Success(t *testing.T) { function TestBackupHandler_Execute_Success (line 127) | func TestBackupHandler_Execute_Success(t *testing.T) { FILE: internal/routers/api_router/handler_file.go type FileHandler (line 22) | type FileHandler struct method List (line 45) | func (h *FileHandler) List(c *gin.Context) { method GetInfo (line 93) | func (h *FileHandler) GetInfo(c *gin.Context) { method Delete (line 168) | func (h *FileHandler) Delete(c *gin.Context) { method Get (line 234) | func (h *FileHandler) Get(c *gin.Context) { method Restore (line 292) | func (h *FileHandler) Restore(c *gin.Context) { method logError (line 341) | func (h *FileHandler) logError(ctx context.Context, method string, err... method RecycleClear (line 360) | func (h *FileHandler) RecycleClear(c *gin.Context) { method Rename (line 399) | func (h *FileHandler) Rename(c *gin.Context) { function NewFileHandler (line 28) | func NewFileHandler(a *app.App, wss *pkgapp.WebsocketServer) *FileHandler { FILE: internal/routers/api_router/handler_file_test.go function newFileTestContext (line 20) | func newFileTestContext(method, url, body string, uid int64) (*gin.Conte... function newTestFileHandler (line 38) | func newTestFileHandler(fileSvc *svcmocks.MockFileService) *FileHandler { function TestFileHandler_Get_Success (line 47) | func TestFileHandler_Get_Success(t *testing.T) { function TestFileHandler_List_Success (line 71) | func TestFileHandler_List_Success(t *testing.T) { function TestFileHandler_Delete_Success (line 94) | func TestFileHandler_Delete_Success(t *testing.T) { FILE: internal/routers/api_router/handler_folder.go type FolderHandler (line 13) | type FolderHandler struct method Get (line 31) | func (h *FolderHandler) Get(c *gin.Context) { method List (line 60) | func (h *FolderHandler) List(c *gin.Context) { method Create (line 90) | func (h *FolderHandler) Create(c *gin.Context) { method Delete (line 120) | func (h *FolderHandler) Delete(c *gin.Context) { method ListNotes (line 150) | func (h *FolderHandler) ListNotes(c *gin.Context) { method ListFiles (line 182) | func (h *FolderHandler) ListFiles(c *gin.Context) { method Tree (line 212) | func (h *FolderHandler) Tree(c *gin.Context) { function NewFolderHandler (line 17) | func NewFolderHandler(appContainer *app.App) *FolderHandler { FILE: internal/routers/api_router/handler_folder_test.go function newFolderTestContext (line 20) | func newFolderTestContext(method, url, body string, uid int64) (*gin.Con... function newTestFolderHandler (line 38) | func newTestFolderHandler(folderSvc *svcmocks.MockFolderService) *Folder... function TestFolderHandler_Get_Success (line 46) | func TestFolderHandler_Get_Success(t *testing.T) { function TestFolderHandler_List_Success (line 70) | func TestFolderHandler_List_Success(t *testing.T) { function TestFolderHandler_Create_Success (line 93) | func TestFolderHandler_Create_Success(t *testing.T) { function TestFolderHandler_Delete_Success (line 112) | func TestFolderHandler_Delete_Success(t *testing.T) { FILE: internal/routers/api_router/handler_git_sync.go type GitSyncHandler (line 17) | type GitSyncHandler struct method GetConfigs (line 38) | func (h *GitSyncHandler) GetConfigs(c *gin.Context) { method UpdateConfig (line 69) | func (h *GitSyncHandler) UpdateConfig(c *gin.Context) { method DeleteConfig (line 105) | func (h *GitSyncHandler) DeleteConfig(c *gin.Context) { method Validate (line 142) | func (h *GitSyncHandler) Validate(c *gin.Context) { method Execute (line 173) | func (h *GitSyncHandler) Execute(c *gin.Context) { method CleanWorkspace (line 210) | func (h *GitSyncHandler) CleanWorkspace(c *gin.Context) { method GetHistories (line 245) | func (h *GitSyncHandler) GetHistories(c *gin.Context) { method logError (line 271) | func (h *GitSyncHandler) logError(ctx context.Context, method string, ... function NewGitSyncHandler (line 22) | func NewGitSyncHandler(a *app.App) *GitSyncHandler { FILE: internal/routers/api_router/handler_git_sync_test.go function newGitSyncTestContext (line 19) | func newGitSyncTestContext(method, url, body string, uid int64) (*gin.Co... function newTestGitSyncHandler (line 37) | func newTestGitSyncHandler(gitSvc *svcmocks.MockGitSyncService) *GitSync... function TestGitSyncHandler_GetConfigs_Success (line 45) | func TestGitSyncHandler_GetConfigs_Success(t *testing.T) { function TestGitSyncHandler_UpdateConfig_Success (line 65) | func TestGitSyncHandler_UpdateConfig_Success(t *testing.T) { function TestGitSyncHandler_DeleteConfig_Success (line 88) | func TestGitSyncHandler_DeleteConfig_Success(t *testing.T) { function TestGitSyncHandler_Validate_Success (line 105) | func TestGitSyncHandler_Validate_Success(t *testing.T) { function TestGitSyncHandler_Execute_Success (line 122) | func TestGitSyncHandler_Execute_Success(t *testing.T) { function TestGitSyncHandler_CleanWorkspace_Success (line 139) | func TestGitSyncHandler_CleanWorkspace_Success(t *testing.T) { function TestGitSyncHandler_ListHistory_Success (line 156) | func TestGitSyncHandler_ListHistory_Success(t *testing.T) { FILE: internal/routers/api_router/handler_health.go type HealthHandler (line 17) | type HealthHandler struct method Check (line 43) | func (h *HealthHandler) Check(c *gin.Context) { function NewHealthHandler (line 23) | func NewHealthHandler(a *app.App) *HealthHandler { type HealthResponse (line 29) | type HealthResponse struct FILE: internal/routers/api_router/handler_health_test.go function newHealthTestContext (line 16) | func newHealthTestContext() (*gin.Context, *httptest.ResponseRecorder) { function TestHealthHandler_Check_Success (line 24) | func TestHealthHandler_Check_Success(t *testing.T) { FILE: internal/routers/api_router/handler_note.go type NoteHandler (line 22) | type NoteHandler struct method Get (line 44) | func (h *NoteHandler) Get(c *gin.Context) { method List (line 120) | func (h *NoteHandler) List(c *gin.Context) { method CreateOrUpdate (line 170) | func (h *NoteHandler) CreateOrUpdate(c *gin.Context) { method Delete (line 270) | func (h *NoteHandler) Delete(c *gin.Context) { method Restore (line 344) | func (h *NoteHandler) Restore(c *gin.Context) { method PatchFrontmatter (line 420) | func (h *NoteHandler) PatchFrontmatter(c *gin.Context) { method Append (line 480) | func (h *NoteHandler) Append(c *gin.Context) { method Prepend (line 540) | func (h *NoteHandler) Prepend(c *gin.Context) { method Replace (line 600) | func (h *NoteHandler) Replace(c *gin.Context) { method Rename (line 663) | func (h *NoteHandler) Rename(c *gin.Context) { method GetBacklinks (line 739) | func (h *NoteHandler) GetBacklinks(c *gin.Context) { method GetOutlinks (line 796) | func (h *NoteHandler) GetOutlinks(c *gin.Context) { method logError (line 845) | func (h *NoteHandler) logError(ctx context.Context, method string, err... method RecycleClear (line 864) | func (h *NoteHandler) RecycleClear(c *gin.Context) { function NewNoteHandler (line 28) | func NewNoteHandler(a *app.App, wss *pkgapp.WebsocketServer) *NoteHandler { FILE: internal/routers/api_router/handler_note_history.go type NoteHistoryHandler (line 21) | type NoteHistoryHandler struct method Get (line 49) | func (h *NoteHistoryHandler) Get(c *gin.Context) { method List (line 96) | func (h *NoteHistoryHandler) List(c *gin.Context) { method logError (line 140) | func (h *NoteHistoryHandler) logError(ctx context.Context, method stri... method Restore (line 159) | func (h *NoteHistoryHandler) Restore(c *gin.Context) { function NewNoteHistoryHandler (line 27) | func NewNoteHistoryHandler(a *app.App, wss *pkgapp.WebsocketServer) *Not... type NoteHistoryGetRequestParams (line 35) | type NoteHistoryGetRequestParams struct FILE: internal/routers/api_router/handler_note_history_test.go function newNoteHistoryTestContext (line 20) | func newNoteHistoryTestContext(method, url, body string, uid int64) (*gi... function newTestNoteHistoryHandler (line 38) | func newTestNoteHistoryHandler(historySvc *svcmocks.MockNoteHistoryServi... function TestNoteHistoryHandler_Get_Success (line 47) | func TestNoteHistoryHandler_Get_Success(t *testing.T) { function TestNoteHistoryHandler_List_Success (line 70) | func TestNoteHistoryHandler_List_Success(t *testing.T) { function TestNoteHistoryHandler_Restore_Success (line 92) | func TestNoteHistoryHandler_Restore_Success(t *testing.T) { FILE: internal/routers/api_router/handler_note_test.go function newNoteTestContext (line 20) | func newNoteTestContext(method, url, body string, uid int64) (*gin.Conte... function newTestNoteHandler (line 39) | func newTestNoteHandler(noteSvc *svcmocks.MockNoteService, fileSvc *svcm... function TestNoteHandler_Get_Success (line 50) | func TestNoteHandler_Get_Success(t *testing.T) { function TestNoteHandler_List_Success (line 82) | func TestNoteHandler_List_Success(t *testing.T) { function TestNoteHandler_CreateOrUpdate_Success (line 105) | func TestNoteHandler_CreateOrUpdate_Success(t *testing.T) { function TestNoteHandler_Delete_Success (line 128) | func TestNoteHandler_Delete_Success(t *testing.T) { FILE: internal/routers/api_router/handler_setting.go type SettingHandler (line 14) | type SettingHandler struct method Get (line 34) | func (h *SettingHandler) Get(c *gin.Context) { method List (line 64) | func (h *SettingHandler) List(c *gin.Context) { method CreateOrUpdate (line 96) | func (h *SettingHandler) CreateOrUpdate(c *gin.Context) { method Delete (line 139) | func (h *SettingHandler) Delete(c *gin.Context) { method Rename (line 176) | func (h *SettingHandler) Rename(c *gin.Context) { function NewSettingHandler (line 18) | func NewSettingHandler(appContainer *app.App, wss *pkgapp.WebsocketServe... FILE: internal/routers/api_router/handler_setting_test.go function newSettingTestContext (line 19) | func newSettingTestContext(method, url, body string, uid int64) (*gin.Co... function newTestSettingHandler (line 37) | func newTestSettingHandler(settingSvc *svcmocks.MockSettingService) *Set... function TestSettingHandler_Get_Success (line 45) | func TestSettingHandler_Get_Success(t *testing.T) { function TestSettingHandler_List_Success (line 62) | func TestSettingHandler_List_Success(t *testing.T) { function TestSettingHandler_CreateOrUpdate_Success (line 81) | func TestSettingHandler_CreateOrUpdate_Success(t *testing.T) { function TestSettingHandler_Delete_Success (line 99) | func TestSettingHandler_Delete_Success(t *testing.T) { function TestSettingHandler_Rename_Success (line 117) | func TestSettingHandler_Rename_Success(t *testing.T) { FILE: internal/routers/api_router/handler_share.go type ShareHandler (line 22) | type ShareHandler struct method Create (line 45) | func (h *ShareHandler) Create(c *gin.Context) { method NoteGet (line 85) | func (h *ShareHandler) NoteGet(c *gin.Context) { method FileGet (line 131) | func (h *ShareHandler) FileGet(c *gin.Context) { method Query (line 193) | func (h *ShareHandler) Query(c *gin.Context) { method Cancel (line 254) | func (h *ShareHandler) Cancel(c *gin.Context) { method UpdatePassword (line 300) | func (h *ShareHandler) UpdatePassword(c *gin.Context) { method CreateShortLink (line 336) | func (h *ShareHandler) CreateShortLink(c *gin.Context) { method List (line 380) | func (h *ShareHandler) List(c *gin.Context) { method NoteSharePaths (line 411) | func (h *ShareHandler) NoteSharePaths(c *gin.Context) { method logError (line 437) | func (h *ShareHandler) logError(ctx context.Context, method string, er... function NewShareHandler (line 28) | func NewShareHandler(app *app.App, wss *pkgapp.WebsocketServer) *ShareHa... FILE: internal/routers/api_router/handler_share_test.go function newShareTestContext (line 20) | func newShareTestContext(method, url, body string, uid int64) (*gin.Cont... type mockTokenManager (line 38) | type mockTokenManager struct method Generate (line 42) | func (m *mockTokenManager) Generate(uid int64, nickname, ip string) (s... method Parse (line 46) | func (m *mockTokenManager) Parse(token string) (*pkgapp.UserEntity, er... method ShareGenerate (line 50) | func (m *mockTokenManager) ShareGenerate(shareID int64, uid int64, res... method ShareParse (line 54) | func (m *mockTokenManager) ShareParse(token string) (*pkgapp.ShareEnti... method Validate (line 58) | func (m *mockTokenManager) Validate(token string) error { method GetSecretKey (line 61) | func (m *mockTokenManager) GetSecretKey() string { function newTestShareHandler (line 65) | func newTestShareHandler(shareSvc *svcmocks.MockShareService, tm *mockTo... function TestShareHandler_Create_Success (line 76) | func TestShareHandler_Create_Success(t *testing.T) { function TestShareHandler_NoteGet_Success (line 98) | func TestShareHandler_NoteGet_Success(t *testing.T) { function TestShareHandler_Query_Success (line 120) | func TestShareHandler_Query_Success(t *testing.T) { function TestShareHandler_Cancel_Success (line 148) | func TestShareHandler_Cancel_Success(t *testing.T) { function TestShareHandler_UpdatePassword_Success (line 164) | func TestShareHandler_UpdatePassword_Success(t *testing.T) { function TestShareHandler_List_Success (line 180) | func TestShareHandler_List_Success(t *testing.T) { FILE: internal/routers/api_router/handler_storage.go type StorageHandler (line 17) | type StorageHandler struct method CreateOrUpdate (line 38) | func (h *StorageHandler) CreateOrUpdate(c *gin.Context) { method List (line 76) | func (h *StorageHandler) List(c *gin.Context) { method Delete (line 104) | func (h *StorageHandler) Delete(c *gin.Context) { method EnabledTypes (line 136) | func (h *StorageHandler) EnabledTypes(c *gin.Context) { method Validate (line 162) | func (h *StorageHandler) Validate(c *gin.Context) { method logError (line 182) | func (h *StorageHandler) logError(ctx context.Context, method string, ... function NewStorageHandler (line 22) | func NewStorageHandler(a *app.App) *StorageHandler { FILE: internal/routers/api_router/handler_storage_test.go function newStorageTestContext (line 19) | func newStorageTestContext(method, url, body string, uid int64) (*gin.Co... function newTestStorageHandler (line 37) | func newTestStorageHandler(storageSvc *svcmocks.MockStorageService) *Sto... function TestStorageHandler_CreateOrUpdate_Create_Success (line 44) | func TestStorageHandler_CreateOrUpdate_Create_Success(t *testing.T) { function TestStorageHandler_CreateOrUpdate_Update_Success (line 62) | func TestStorageHandler_CreateOrUpdate_Update_Success(t *testing.T) { function TestStorageHandler_List_Success (line 80) | func TestStorageHandler_List_Success(t *testing.T) { function TestStorageHandler_Delete_Success (line 98) | func TestStorageHandler_Delete_Success(t *testing.T) { function TestStorageHandler_EnabledTypes_Success (line 112) | func TestStorageHandler_EnabledTypes_Success(t *testing.T) { function TestStorageHandler_Validate_Success (line 128) | func TestStorageHandler_Validate_Success(t *testing.T) { FILE: internal/routers/api_router/handler_sync_log.go type SyncLogHandler (line 18) | type SyncLogHandler struct method List (line 41) | func (h *SyncLogHandler) List(c *gin.Context) { method syncLogErr (line 94) | func (h *SyncLogHandler) syncLogErr(ctx context.Context, method string... function NewSyncLogHandler (line 24) | func NewSyncLogHandler(a *app.App) *SyncLogHandler { FILE: internal/routers/api_router/handler_user.go type UserHandler (line 20) | type UserHandler struct method Register (line 43) | func (h *UserHandler) Register(c *gin.Context) { method Login (line 83) | func (h *UserHandler) Login(c *gin.Context) { method UserChangePassword (line 127) | func (h *UserHandler) UserChangePassword(c *gin.Context) { method UserInfo (line 177) | func (h *UserHandler) UserInfo(c *gin.Context) { method logError (line 207) | func (h *UserHandler) logError(ctx context.Context, method string, err... function NewUserHandler (line 26) | func NewUserHandler(a *app.App) *UserHandler { FILE: internal/routers/api_router/handler_user_test.go function newUserTestContext (line 23) | func newUserTestContext(method, url, body string, uid int64) (*gin.Conte... function newUserHandler (line 48) | func newUserHandler(mockSvc *svcmocks.MockUserService) *UserHandler { function TestUserHandler_Register_Success (line 59) | func TestUserHandler_Register_Success(t *testing.T) { function TestUserHandler_Register_ServiceError (line 76) | func TestUserHandler_Register_ServiceError(t *testing.T) { function TestUserHandler_Login_Success (line 97) | func TestUserHandler_Login_Success(t *testing.T) { function TestUserHandler_Login_Failure (line 114) | func TestUserHandler_Login_Failure(t *testing.T) { function TestUserHandler_UserInfo_Success (line 133) | func TestUserHandler_UserInfo_Success(t *testing.T) { function TestUserHandler_UserInfo_NoUID (line 149) | func TestUserHandler_UserInfo_NoUID(t *testing.T) { function TestUserHandler_ChangePassword_Success (line 165) | func TestUserHandler_ChangePassword_Success(t *testing.T) { function TestUserHandler_ChangePassword_NoUID (line 182) | func TestUserHandler_ChangePassword_NoUID(t *testing.T) { FILE: internal/routers/api_router/handler_vault.go type VaultHandler (line 20) | type VaultHandler struct method CreateOrUpdate (line 43) | func (h *VaultHandler) CreateOrUpdate(c *gin.Context) { method Get (line 103) | func (h *VaultHandler) Get(c *gin.Context) { method List (line 143) | func (h *VaultHandler) List(c *gin.Context) { method Delete (line 179) | func (h *VaultHandler) Delete(c *gin.Context) { method logError (line 217) | func (h *VaultHandler) logError(ctx context.Context, method string, er... function NewVaultHandler (line 26) | func NewVaultHandler(a *app.App) *VaultHandler { FILE: internal/routers/api_router/handler_vault_test.go function init (line 22) | func init() { function newVaultTestContext (line 35) | func newVaultTestContext(method, url, body string, uid int64) (*gin.Cont... function decodeRes (line 60) | func decodeRes(t *testing.T, w *httptest.ResponseRecorder) map[string]in... function assertResponseCode (line 70) | func assertResponseCode(t *testing.T, w *httptest.ResponseRecorder, want... function newVaultHandler (line 80) | func newVaultHandler(mockSvc *svcmocks.MockVaultService) *VaultHandler { function TestVaultHandler_List_Success (line 91) | func TestVaultHandler_List_Success(t *testing.T) { function TestVaultHandler_List_NoUID (line 110) | func TestVaultHandler_List_NoUID(t *testing.T) { function TestVaultHandler_CreateOrUpdate_Create_Success (line 128) | func TestVaultHandler_CreateOrUpdate_Create_Success(t *testing.T) { function TestVaultHandler_CreateOrUpdate_Update_Success (line 145) | func TestVaultHandler_CreateOrUpdate_Update_Success(t *testing.T) { function TestVaultHandler_CreateOrUpdate_NoUID (line 162) | func TestVaultHandler_CreateOrUpdate_NoUID(t *testing.T) { function TestVaultHandler_Get_Success (line 179) | func TestVaultHandler_Get_Success(t *testing.T) { function TestVaultHandler_Delete_Success (line 200) | func TestVaultHandler_Delete_Success(t *testing.T) { function TestVaultHandler_Delete_NoUID (line 217) | func TestVaultHandler_Delete_NoUID(t *testing.T) { FILE: internal/routers/api_router/handler_version.go type VersionHandler (line 17) | type VersionHandler struct method ServerVersion (line 36) | func (h *VersionHandler) ServerVersion(c *gin.Context) { method Support (line 69) | func (h *VersionHandler) Support(c *gin.Context) { function NewVersionHandler (line 23) | func NewVersionHandler(a *app.App) *VersionHandler { FILE: internal/routers/api_router/handler_version_test.go function newVersionTestContext (line 16) | func newVersionTestContext(url string) (*gin.Context, *httptest.Response... function TestVersionHandler_ServerVersion_Success (line 24) | func TestVersionHandler_ServerVersion_Success(t *testing.T) { function TestVersionHandler_Support_Success (line 45) | func TestVersionHandler_Support_Success(t *testing.T) { FILE: internal/routers/api_router/metrics.go function Expvar (line 27) | func Expvar(c *gin.Context) { FILE: internal/routers/api_router/metrics_test.go function TestExpvar_Success (line 12) | func TestExpvar_Success(t *testing.T) { FILE: internal/routers/mcp_router/file_tools.go function registerFileTools (line 19) | func registerFileTools(srv *mcpsrv.MCPServer, appContainer *app.App, wss... FILE: internal/routers/mcp_router/mcp.go type MCPHandler (line 17) | type MCPHandler struct method HandleSSE (line 71) | func (h *MCPHandler) HandleSSE(c *gin.Context) { method HandleMessage (line 114) | func (h *MCPHandler) HandleMessage(c *gin.Context) { function NewMCPHandler (line 23) | func NewMCPHandler(appContainer *app.App, wss *pkgapp.WebsocketServer) *... FILE: internal/routers/mcp_router/mcp_test.go function TestHandleSSE_HEAD (line 12) | func TestHandleSSE_HEAD(t *testing.T) { FILE: internal/routers/mcp_router/note_tools.go function registerNoteTools (line 19) | func registerNoteTools(srv *mcpsrv.MCPServer, appContainer *app.App, wss... FILE: internal/routers/mcp_router/server.go function getUIDFromContext (line 12) | func getUIDFromContext(ctx context.Context) int64 { function getClientInfoFromContext (line 21) | func getClientInfoFromContext(ctx context.Context) (string, string, stri... function getDefaultVaultName (line 35) | func getDefaultVaultName(ctx context.Context, appContainer *app.App) str... function getArgs (line 55) | func getArgs(req mcp.CallToolRequest) map[string]interface{} { function NewMCPServer (line 64) | func NewMCPServer(appContainer *app.App, wss *pkgapp.WebsocketServer) *m... FILE: internal/routers/mcp_router/vault_tools.go function getInt64Arg (line 12) | func getInt64Arg(args map[string]interface{}, key string) int64 { function registerVaultTools (line 27) | func registerVaultTools(srv *mcpsrv.MCPServer, appContainer *app.App) { FILE: internal/routers/pprof.go constant DefaultPrefix (line 17) | DefaultPrefix = "/debug/pprof" function NewPrivateRouterWithLogger (line 22) | func NewPrivateRouterWithLogger(runMode string, logger *zap.Logger) *gin... function NewPrivateRouterWithConfig (line 62) | func NewPrivateRouterWithConfig(runMode string) *gin.Engine { function NewPrivateRouter (line 70) | func NewPrivateRouter() *gin.Engine { function pprofHandler (line 74) | func pprofHandler(h http.HandlerFunc) gin.HandlerFunc { FILE: internal/routers/router.go function NewRouter (line 55) | func NewRouter(frontendFiles embed.FS, appContainer *app.App, uni *ut.Un... FILE: internal/routers/websocket_router/handler.go type WSHandler (line 19) | type WSHandler struct method logError (line 33) | func (h *WSHandler) logError(c *pkgapp.WebsocketClient, method string,... method logDebug (line 54) | func (h *WSHandler) logDebug(c *pkgapp.WebsocketClient, method string,... method logInfo (line 67) | func (h *WSHandler) logInfo(c *pkgapp.WebsocketClient, method string, ... method logWarn (line 80) | func (h *WSHandler) logWarn(c *pkgapp.WebsocketClient, method string, ... method respondError (line 93) | func (h *WSHandler) respondError(c *pkgapp.WebsocketClient, codeErr *c... method respondErrorWithData (line 107) | func (h *WSHandler) respondErrorWithData(c *pkgapp.WebsocketClient, co... function NewWSHandler (line 25) | func NewWSHandler(a *app.App) *WSHandler { function GetTraceID (line 116) | func GetTraceID(c *pkgapp.WebsocketClient) string { function LogErrorWithLogger (line 125) | func LogErrorWithLogger(logger *zap.Logger, c *pkgapp.WebsocketClient, m... function LogInfoWithLogger (line 144) | func LogInfoWithLogger(logger *zap.Logger, c *pkgapp.WebsocketClient, me... function LogWarnWithLogger (line 152) | func LogWarnWithLogger(logger *zap.Logger, c *pkgapp.WebsocketClient, me... function isNetworkClosedError (line 160) | func isNetworkClosedError(err error) bool { FILE: internal/routers/websocket_router/ws_file.go type FileWSHandler (line 28) | type FileWSHandler struct method FileUploadCheck (line 115) | func (h *FileWSHandler) FileUploadCheck(c *pkgapp.WebsocketClient, msg... method FileUploadChunkBinary (line 200) | func (h *FileWSHandler) FileUploadChunkBinary(c *pkgapp.WebsocketClien... method FileDelete (line 390) | func (h *FileWSHandler) FileDelete(c *pkgapp.WebsocketClient, msg *pkg... method FileRename (line 438) | func (h *FileWSHandler) FileRename(c *pkgapp.WebsocketClient, msg *pkg... method FileChunkDownload (line 481) | func (h *FileWSHandler) FileChunkDownload(c *pkgapp.WebsocketClient, m... method FileSync (line 557) | func (h *FileWSHandler) FileSync(c *pkgapp.WebsocketClient, msg *pkgap... method handleFileUploadSessionCleanup (line 896) | func (h *FileWSHandler) handleFileUploadSessionCleanup(c *pkgapp.Webso... method handleFileUploadSessionTimeout (line 910) | func (h *FileWSHandler) handleFileUploadSessionTimeout(c *pkgapp.Webso... method handleFileUploadSessionCreate (line 948) | func (h *FileWSHandler) handleFileUploadSessionCreate(c *pkgapp.Websoc... method handleFileChunkDownloadSendChunks (line 1027) | func (h *FileWSHandler) handleFileChunkDownloadSendChunks(c *pkgapp.We... method FileRePush (line 1133) | func (h *FileWSHandler) FileRePush(c *pkgapp.WebsocketClient, msg *pkg... function NewFileWSHandler (line 34) | func NewFileWSHandler(a *app.App) *FileWSHandler { type FileUploadBinaryChunkSession (line 40) | type FileUploadBinaryChunkSession struct method Cleanup (line 62) | func (s *FileUploadBinaryChunkSession) Cleanup() { type FileDownloadChunkSession (line 104) | type FileDownloadChunkSession struct function getChunkSizeFromConfig (line 1171) | func getChunkSizeFromConfig(cfg *app.AppConfig) int64 { FILE: internal/routers/websocket_router/ws_folder.go type FolderWSHandler (line 13) | type FolderWSHandler struct method FolderSync (line 22) | func (h *FolderWSHandler) FolderSync(c *pkgapp.WebsocketClient, msg *p... method FolderModify (line 226) | func (h *FolderWSHandler) FolderModify(c *pkgapp.WebsocketClient, msg ... method FolderDelete (line 259) | func (h *FolderWSHandler) FolderDelete(c *pkgapp.WebsocketClient, msg ... method FolderRename (line 291) | func (h *FolderWSHandler) FolderRename(c *pkgapp.WebsocketClient, msg ... function NewFolderWSHandler (line 17) | func NewFolderWSHandler(a *app.App) *FolderWSHandler { FILE: internal/routers/websocket_router/ws_note.go type NoteWSHandler (line 23) | type NoteWSHandler struct method NoteModify (line 55) | func (h *NoteWSHandler) NoteModify(c *pkgapp.WebsocketClient, msg *pkg... method NoteModifyCheck (line 428) | func (h *NoteWSHandler) NoteModifyCheck(c *pkgapp.WebsocketClient, msg... method NoteDelete (line 504) | func (h *NoteWSHandler) NoteDelete(c *pkgapp.WebsocketClient, msg *pkg... method NoteRename (line 567) | func (h *NoteWSHandler) NoteRename(c *pkgapp.WebsocketClient, msg *pkg... method NoteRePush (line 606) | func (h *NoteWSHandler) NoteRePush(c *pkgapp.WebsocketClient, msg *pkg... method NoteSync (line 661) | func (h *NoteWSHandler) NoteSync(c *pkgapp.WebsocketClient, msg *pkgap... method UserInfo (line 1038) | func (h *NoteWSHandler) UserInfo(c *pkgapp.WebsocketClient, uid int64)... function NewNoteWSHandler (line 29) | func NewNoteWSHandler(a *app.App) *NoteWSHandler { FILE: internal/routers/websocket_router/ws_setting.go type SettingWSHandler (line 18) | type SettingWSHandler struct method SettingModify (line 32) | func (h *SettingWSHandler) SettingModify(c *pkgapp.WebsocketClient, ms... method SettingModifyCheck (line 97) | func (h *SettingWSHandler) SettingModifyCheck(c *pkgapp.WebsocketClien... method SettingDelete (line 145) | func (h *SettingWSHandler) SettingDelete(c *pkgapp.WebsocketClient, ms... method SettingSync (line 185) | func (h *SettingWSHandler) SettingSync(c *pkgapp.WebsocketClient, msg ... method SettingClear (line 482) | func (h *SettingWSHandler) SettingClear(c *pkgapp.WebsocketClient, msg... function NewSettingWSHandler (line 24) | func NewSettingWSHandler(a *app.App) *SettingWSHandler { FILE: internal/service/backup_service.go type BackupService (line 32) | type BackupService interface type backupService (line 43) | type backupService struct method GetConfigs (line 93) | func (s *backupService) GetConfigs(ctx context.Context, uid int64) ([]... method UpdateConfig (line 107) | func (s *backupService) UpdateConfig(ctx context.Context, uid int64, r... method DeleteConfig (line 173) | func (s *backupService) DeleteConfig(ctx context.Context, uid int64, c... method ListHistory (line 188) | func (s *backupService) ListHistory(ctx context.Context, uid int64, co... method configToDTO (line 201) | func (s *backupService) configToDTO(ctx context.Context, d *domain.Bac... method historyToDTO (line 231) | func (s *backupService) historyToDTO(d *domain.BackupHistory) *dto.Bac... method ExecuteUserBackup (line 255) | func (s *backupService) ExecuteUserBackup(ctx context.Context, uid int... method ExecuteTaskBackups (line 289) | func (s *backupService) ExecuteTaskBackups(ctx context.Context) error { method calculateNextRunTime (line 335) | func (s *backupService) calculateNextRunTime(config *domain.BackupConf... method handleBackupSync (line 369) | func (s *backupService) handleBackupSync(ctx context.Context, config *... method getVaultName (line 479) | func (s *backupService) getVaultName(ctx context.Context, vaultID, uid... method runArchive (line 496) | func (s *backupService) runArchive(ctx context.Context, config *domain... method runSync (line 549) | func (s *backupService) runSync(ctx context.Context, config *domain.Ba... method finishTask (line 594) | func (s *backupService) finishTask(ctx context.Context, config *domain... method exportArchiveFiles (line 678) | func (s *backupService) exportArchiveFiles(ctx context.Context, uid, v... method uploadArchive (line 732) | func (s *backupService) uploadArchive(ctx context.Context, uid, config... method syncFiles (line 776) | func (s *backupService) syncFiles(ctx context.Context, uid, vaultID, c... method forEachResource (line 901) | func (s *backupService) forEachResource(ctx context.Context, uid int64... method getStorageClient (line 968) | func (s *backupService) getStorageClient(ctx context.Context, uid int6... method updateHistory (line 986) | func (s *backupService) updateHistory(ctx context.Context, h *domain.B... method recordNoUpdateHistory (line 998) | func (s *backupService) recordNoUpdateHistory(ctx context.Context, con... method NotifyUpdated (line 1028) | func (s *backupService) NotifyUpdated(uid int64) { method Shutdown (line 1050) | func (s *backupService) Shutdown(ctx context.Context) error { function NewBackupService (line 64) | func NewBackupService( type resourceAction (line 897) | type resourceAction constant syncDebounceDelay (line 1022) | syncDebounceDelay = 30 * time.Second FILE: internal/service/backup_service_test.go type backupStorageStub (line 22) | type backupStorageStub struct method Get (line 26) | func (s *backupStorageStub) Get(_ context.Context, _ int64, id int64) ... method CreateOrUpdate (line 32) | func (s *backupStorageStub) CreateOrUpdate(_ context.Context, _ int64,... method List (line 35) | func (s *backupStorageStub) List(_ context.Context, _ int64) ([]*dto.S... method Delete (line 38) | func (s *backupStorageStub) Delete(_ context.Context, _ int64, _ int64... method GetEnabledTypes (line 39) | func (s *backupStorageStub) GetEnabledTypes() ([]string, error) ... method Validate (line 40) | func (s *backupStorageStub) Validate(_ context.Context, _ *dto.Storage... function newBackupSvc (line 48) | func newBackupSvc( function TestBackupService_GetConfigs_Success (line 70) | func TestBackupService_GetConfigs_Success(t *testing.T) { function TestBackupService_GetConfigs_Empty (line 97) | func TestBackupService_GetConfigs_Empty(t *testing.T) { function TestBackupService_UpdateConfig_Success (line 116) | func TestBackupService_UpdateConfig_Success(t *testing.T) { function TestBackupService_DeleteConfig_Success (line 158) | func TestBackupService_DeleteConfig_Success(t *testing.T) { function TestBackupService_DeleteConfig_NotFound (line 177) | func TestBackupService_DeleteConfig_NotFound(t *testing.T) { FILE: internal/service/cloudflare_service.go type CloudflareService (line 21) | type CloudflareService interface type cloudflareService (line 30) | type cloudflareService struct method Start (line 51) | func (s *cloudflareService) Start(ctx context.Context, token string, l... method DownloadBinary (line 82) | func (s *cloudflareService) DownloadBinary() (string, error) { method runTunnelProcess (line 155) | func (s *cloudflareService) runTunnelProcess(ctx context.Context, binP... method Stop (line 205) | func (s *cloudflareService) Stop(ctx context.Context) error { method TunnelURL (line 229) | func (s *cloudflareService) TunnelURL() string { function NewCloudflareService (line 43) | func NewCloudflareService(logger *zap.Logger) CloudflareService { FILE: internal/service/config.go type ServiceConfig (line 7) | type ServiceConfig struct type UserServiceConfig (line 14) | type UserServiceConfig struct type AppServiceConfig (line 20) | type AppServiceConfig struct type ShortLinkServiceConfig (line 30) | type ShortLinkServiceConfig struct FILE: internal/service/conflict_service.go type ConflictService (line 22) | type ConflictService interface type conflictService (line 32) | type conflictService struct method CreateConflictFile (line 52) | func (s *conflictService) CreateConflictFile(ctx context.Context, uid ... method generateConflictPath (line 114) | func (s *conflictService) generateConflictPath(originalPath string) st... function NewConflictService (line 41) | func NewConflictService(noteRepo domain.NoteRepository, vaultSvc VaultSe... FILE: internal/service/conflict_service_test.go function TestProperty_ConflictFilePathFormat (line 19) | func TestProperty_ConflictFilePathFormat(t *testing.T) { function TestGenerateConflictPath (line 74) | func TestGenerateConflictPath(t *testing.T) { FILE: internal/service/db_utils.go type DBUtils (line 17) | type DBUtils struct method ExposeAutoMigrate (line 37) | func (u *DBUtils) ExposeAutoMigrate() error { method ExecuteSQL (line 67) | func (u *DBUtils) ExecuteSQL(sql string) error { method GetAllUserUIDs (line 77) | func (u *DBUtils) GetAllUserUIDs() ([]int64, error) { function NewDBUtils (line 29) | func NewDBUtils(db *gorm.DB, ctx context.Context, opts ...dao.DaoOption)... FILE: internal/service/file_service.go type FileService (line 31) | type FileService interface type fileService (line 109) | type fileService struct method domainToDTO (line 144) | func (s *fileService) domainToDTO(file *domain.File) *dto.FileDTO { method Get (line 165) | func (s *fileService) Get(ctx context.Context, uid int64, params *dto.... method UpdateCheck (line 183) | func (s *fileService) UpdateCheck(ctx context.Context, uid int64, para... method UpdateOrCreate (line 230) | func (s *fileService) UpdateOrCreate(ctx context.Context, uid int64, p... method Delete (line 368) | func (s *fileService) Delete(ctx context.Context, uid int64, params *d... method Restore (line 406) | func (s *fileService) Restore(ctx context.Context, uid int64, params *... method List (line 456) | func (s *fileService) List(ctx context.Context, uid int64, params *dto... method ListByLastTime (line 485) | func (s *fileService) ListByLastTime(ctx context.Context, uid int64, p... method CountSizeSum (line 514) | func (s *fileService) CountSizeSum(ctx context.Context, vaultID int64,... method Cleanup (line 547) | func (s *fileService) Cleanup(ctx context.Context, uid int64) error { method CleanupByTime (line 571) | func (s *fileService) CleanupByTime(ctx context.Context, cutoffTime in... method GetContent (line 584) | func (s *fileService) GetContent(ctx context.Context, uid int64, param... method GetContentInfo (line 635) | func (s *fileService) GetContentInfo(ctx context.Context, uid int64, p... method ResolveEmbedLinks (line 689) | func (s *fileService) ResolveEmbedLinks(ctx context.Context, uid int64... method resolveNoteFileReference (line 712) | func (s *fileService) resolveNoteFileReference(ctx context.Context, ui... method Sync (line 738) | func (s *fileService) Sync(ctx context.Context, uid int64, params *dto... method UploadCheck (line 744) | func (s *fileService) UploadCheck(ctx context.Context, uid int64, para... method UploadComplete (line 750) | func (s *fileService) UploadComplete(ctx context.Context, uid int64, p... method Rename (line 756) | func (s *fileService) Rename(ctx context.Context, uid int64, params *d... method WithClient (line 885) | func (s *fileService) WithClient(clientType, name, version string) Fil... method RecycleClear (line 904) | func (s *fileService) RecycleClear(ctx context.Context, uid int64, par... method CleanDuplicateFiles (line 948) | func (s *fileService) CleanDuplicateFiles(ctx context.Context, uid int... function NewFileService (line 127) | func NewFileService(fileRepo domain.FileRepository, noteRepo domain.Note... FILE: internal/service/folder_service.go type FolderService (line 22) | type FolderService interface type folderService (line 38) | type folderService struct method domainToDTO (line 65) | func (s *folderService) domainToDTO(f *domain.Folder) *dto.FolderDTO { method WithClient (line 84) | func (s *folderService) WithClient(clientType, clientName, clientVersi... method List (line 92) | func (s *folderService) List(ctx context.Context, uid int64, params *d... method UpdateOrCreate (line 125) | func (s *folderService) UpdateOrCreate(ctx context.Context, uid int64,... method Delete (line 162) | func (s *folderService) Delete(ctx context.Context, uid int64, params ... method ListByUpdatedTimestamp (line 205) | func (s *folderService) ListByUpdatedTimestamp(ctx context.Context, ui... method Rename (line 230) | func (s *folderService) Rename(ctx context.Context, uid int64, params ... method Get (line 318) | func (s *folderService) Get(ctx context.Context, uid int64, params *dt... method ListNotes (line 347) | func (s *folderService) ListNotes(ctx context.Context, uid int64, para... method ListFiles (line 396) | func (s *folderService) ListFiles(ctx context.Context, uid int64, para... method EnsurePathFID (line 463) | func (s *folderService) EnsurePathFID(ctx context.Context, uid int64, ... method SyncResourceFID (line 532) | func (s *folderService) SyncResourceFID(ctx context.Context, uid int64... method doSyncResourceFID (line 555) | func (s *folderService) doSyncResourceFID(ctx context.Context, uid int... method GetTree (line 630) | func (s *folderService) GetTree(ctx context.Context, uid int64, params... method CleanDuplicateFolders (line 739) | func (s *folderService) CleanDuplicateFolders(ctx context.Context, uid... function NewFolderService (line 52) | func NewFolderService(folderRepo domain.FolderRepository, noteRepo domai... FILE: internal/service/folder_service_test.go function TestCleanDuplicateFolders (line 17) | func TestCleanDuplicateFolders(t *testing.T) { FILE: internal/service/git_sync_service.go constant gitSyncBatchSize (line 35) | gitSyncBatchSize = 100 type GitSyncService (line 39) | type GitSyncService interface type gitSyncService (line 52) | type gitSyncService struct method domainToDTO (line 89) | func (s *gitSyncService) domainToDTO(conf *domain.GitSyncConfig) *dto.... method GetConfigs (line 123) | func (s *gitSyncService) GetConfigs(ctx context.Context, uid int64) ([... method GetConfig (line 135) | func (s *gitSyncService) GetConfig(ctx context.Context, uid int64, vau... method UpdateConfig (line 146) | func (s *gitSyncService) UpdateConfig(ctx context.Context, uid int64, ... method DeleteConfig (line 194) | func (s *gitSyncService) DeleteConfig(ctx context.Context, uid int64, ... method Validate (line 215) | func (s *gitSyncService) Validate(ctx context.Context, params *dto.Git... method ExecuteSync (line 262) | func (s *gitSyncService) ExecuteSync(ctx context.Context, uid int64, i... method CleanWorkspace (line 310) | func (s *gitSyncService) CleanWorkspace(ctx context.Context, uid int64... method ListHistory (line 366) | func (s *gitSyncService) ListHistory(ctx context.Context, uid int64, c... method Shutdown (line 378) | func (s *gitSyncService) Shutdown(ctx context.Context) error { method historyToDTO (line 412) | func (s *gitSyncService) historyToDTO(h *domain.GitSyncHistory) *dto.G... method getWorkspacePath (line 427) | func (s *gitSyncService) getWorkspacePath(uid, configID int64) string { method getUserWorkspacePath (line 431) | func (s *gitSyncService) getUserWorkspacePath(uid int64) string { method syncTask (line 435) | func (s *gitSyncService) syncTask(ctx context.Context, conf *domain.Gi... method scheduleGC (line 527) | func (s *gitSyncService) scheduleGC() { method doSync (line 542) | func (s *gitSyncService) doSync(ctx context.Context, conf *domain.GitS... method mirrorNotesToWorkspace (line 671) | func (s *gitSyncService) mirrorNotesToWorkspace(ctx context.Context, c... method processNotesBatch (line 737) | func (s *gitSyncService) processNotesBatch(notes []*domain.Note, wsPat... method processFilesBatch (line 783) | func (s *gitSyncService) processFilesBatch(files []*domain.File, conf ... method copyFileIfDifferent (line 825) | func (s *gitSyncService) copyFileIfDifferent(src, dst string) (bool, e... method NotifyUpdated (line 863) | func (s *gitSyncService) NotifyUpdated(uid int64, vaultID int64) { function NewGitSyncService (line 72) | func NewGitSyncService(repo domain.GitSyncRepository, noteRepo domain.No... FILE: internal/service/mocks/mock_backup_service.go type MockBackupService (line 16) | type MockBackupService struct method GetConfigs (line 24) | func (m *MockBackupService) GetConfigs(ctx context.Context, uid int64)... method DeleteConfig (line 32) | func (m *MockBackupService) DeleteConfig(ctx context.Context, uid int6... method UpdateConfig (line 37) | func (m *MockBackupService) UpdateConfig(ctx context.Context, uid int6... method ListHistory (line 45) | func (m *MockBackupService) ListHistory(ctx context.Context, uid int64... method ExecuteUserBackup (line 53) | func (m *MockBackupService) ExecuteUserBackup(ctx context.Context, uid... method ExecuteTaskBackups (line 58) | func (m *MockBackupService) ExecuteTaskBackups(ctx context.Context) er... method NotifyUpdated (line 63) | func (m *MockBackupService) NotifyUpdated(uid int64) { method Shutdown (line 67) | func (m *MockBackupService) Shutdown(ctx context.Context) error { FILE: internal/service/mocks/mock_cloudflare_service.go type MockCloudflareService (line 14) | type MockCloudflareService struct method Start (line 22) | func (m *MockCloudflareService) Start(ctx context.Context, token strin... method Stop (line 27) | func (m *MockCloudflareService) Stop(ctx context.Context) error { method TunnelURL (line 32) | func (m *MockCloudflareService) TunnelURL() string { method DownloadBinary (line 37) | func (m *MockCloudflareService) DownloadBinary() (string, error) { FILE: internal/service/mocks/mock_conflict_service.go type MockConflictService (line 15) | type MockConflictService struct method CreateConflictFile (line 23) | func (m *MockConflictService) CreateConflictFile(ctx context.Context, ... FILE: internal/service/mocks/mock_file_service.go type MockFileService (line 17) | type MockFileService struct method Get (line 25) | func (m *MockFileService) Get(ctx context.Context, uid int64, params *... method UpdateCheck (line 33) | func (m *MockFileService) UpdateCheck(ctx context.Context, uid int64, ... method UploadCheck (line 41) | func (m *MockFileService) UploadCheck(ctx context.Context, uid int64, ... method UpdateOrCreate (line 49) | func (m *MockFileService) UpdateOrCreate(ctx context.Context, uid int6... method UploadComplete (line 57) | func (m *MockFileService) UploadComplete(ctx context.Context, uid int6... method Delete (line 65) | func (m *MockFileService) Delete(ctx context.Context, uid int64, param... method List (line 73) | func (m *MockFileService) List(ctx context.Context, uid int64, params ... method ListByLastTime (line 81) | func (m *MockFileService) ListByLastTime(ctx context.Context, uid int6... method CountSizeSum (line 89) | func (m *MockFileService) CountSizeSum(ctx context.Context, vaultID in... method Cleanup (line 94) | func (m *MockFileService) Cleanup(ctx context.Context, uid int64) error { method CleanupByTime (line 99) | func (m *MockFileService) CleanupByTime(ctx context.Context, cutoffTim... method ResolveEmbedLinks (line 104) | func (m *MockFileService) ResolveEmbedLinks(ctx context.Context, uid i... method GetContent (line 112) | func (m *MockFileService) GetContent(ctx context.Context, uid int64, p... method GetContentInfo (line 121) | func (m *MockFileService) GetContentInfo(ctx context.Context, uid int6... method Restore (line 126) | func (m *MockFileService) Restore(ctx context.Context, uid int64, para... method Rename (line 134) | func (m *MockFileService) Rename(ctx context.Context, uid int64, param... method WithClient (line 146) | func (m *MockFileService) WithClient(clientType, name, version string)... method RecycleClear (line 151) | func (m *MockFileService) RecycleClear(ctx context.Context, uid int64,... method CleanDuplicateFiles (line 156) | func (m *MockFileService) CleanDuplicateFiles(ctx context.Context, uid... FILE: internal/service/mocks/mock_folder_service.go type MockFolderService (line 16) | type MockFolderService struct method Get (line 24) | func (m *MockFolderService) Get(ctx context.Context, uid int64, params... method List (line 32) | func (m *MockFolderService) List(ctx context.Context, uid int64, param... method ListByUpdatedTimestamp (line 40) | func (m *MockFolderService) ListByUpdatedTimestamp(ctx context.Context... method UpdateOrCreate (line 48) | func (m *MockFolderService) UpdateOrCreate(ctx context.Context, uid in... method Delete (line 56) | func (m *MockFolderService) Delete(ctx context.Context, uid int64, par... method Rename (line 64) | func (m *MockFolderService) Rename(ctx context.Context, uid int64, par... method ListNotes (line 76) | func (m *MockFolderService) ListNotes(ctx context.Context, uid int64, ... method ListFiles (line 84) | func (m *MockFolderService) ListFiles(ctx context.Context, uid int64, ... method EnsurePathFID (line 92) | func (m *MockFolderService) EnsurePathFID(ctx context.Context, uid int... method SyncResourceFID (line 97) | func (m *MockFolderService) SyncResourceFID(ctx context.Context, uid i... method GetTree (line 102) | func (m *MockFolderService) GetTree(ctx context.Context, uid int64, pa... method CleanDuplicateFolders (line 110) | func (m *MockFolderService) CleanDuplicateFolders(ctx context.Context,... method WithClient (line 115) | func (m *MockFolderService) WithClient(clientType, name, version strin... FILE: internal/service/mocks/mock_git_sync_service.go type MockGitSyncService (line 16) | type MockGitSyncService struct method GetConfigs (line 24) | func (m *MockGitSyncService) GetConfigs(ctx context.Context, uid int64... method GetConfig (line 32) | func (m *MockGitSyncService) GetConfig(ctx context.Context, uid int64,... method UpdateConfig (line 40) | func (m *MockGitSyncService) UpdateConfig(ctx context.Context, uid int... method DeleteConfig (line 48) | func (m *MockGitSyncService) DeleteConfig(ctx context.Context, uid int... method Validate (line 53) | func (m *MockGitSyncService) Validate(ctx context.Context, params *dto... method ExecuteSync (line 58) | func (m *MockGitSyncService) ExecuteSync(ctx context.Context, uid int6... method CleanWorkspace (line 63) | func (m *MockGitSyncService) CleanWorkspace(ctx context.Context, uid i... method ListHistory (line 68) | func (m *MockGitSyncService) ListHistory(ctx context.Context, uid int6... method NotifyUpdated (line 76) | func (m *MockGitSyncService) NotifyUpdated(uid int64, vaultID int64) { method Shutdown (line 80) | func (m *MockGitSyncService) Shutdown(ctx context.Context) error { FILE: internal/service/mocks/mock_ngrok_service.go type MockNgrokService (line 14) | type MockNgrokService struct method Start (line 22) | func (m *MockNgrokService) Start(ctx context.Context, addr string) err... method Stop (line 27) | func (m *MockNgrokService) Stop(ctx context.Context) error { method TunnelURL (line 32) | func (m *MockNgrokService) TunnelURL() string { FILE: internal/service/mocks/mock_note_history_service.go type MockNoteHistoryService (line 16) | type MockNoteHistoryService struct method Get (line 24) | func (m *MockNoteHistoryService) Get(ctx context.Context, uid int64, i... method GetByNoteIDAndHash (line 32) | func (m *MockNoteHistoryService) GetByNoteIDAndHash(ctx context.Contex... method List (line 40) | func (m *MockNoteHistoryService) List(ctx context.Context, uid int64, ... method RestoreFromHistory (line 48) | func (m *MockNoteHistoryService) RestoreFromHistory(ctx context.Contex... method ProcessDelay (line 56) | func (m *MockNoteHistoryService) ProcessDelay(ctx context.Context, not... method Migrate (line 61) | func (m *MockNoteHistoryService) Migrate(ctx context.Context, oldNoteI... method CleanupByTime (line 66) | func (m *MockNoteHistoryService) CleanupByTime(ctx context.Context, cu... FILE: internal/service/mocks/mock_note_link_service.go type MockNoteLinkService (line 15) | type MockNoteLinkService struct method GetBacklinks (line 23) | func (m *MockNoteLinkService) GetBacklinks(ctx context.Context, uid in... method GetOutlinks (line 31) | func (m *MockNoteLinkService) GetOutlinks(ctx context.Context, uid int... FILE: internal/service/mocks/mock_note_service.go type MockNoteService (line 16) | type MockNoteService struct method Get (line 24) | func (m *MockNoteService) Get(ctx context.Context, uid int64, params *... method UpdateCheck (line 32) | func (m *MockNoteService) UpdateCheck(ctx context.Context, uid int64, ... method ModifyOrCreate (line 40) | func (m *MockNoteService) ModifyOrCreate(ctx context.Context, uid int6... method Delete (line 48) | func (m *MockNoteService) Delete(ctx context.Context, uid int64, param... method Restore (line 56) | func (m *MockNoteService) Restore(ctx context.Context, uid int64, para... method Rename (line 64) | func (m *MockNoteService) Rename(ctx context.Context, uid int64, param... method List (line 76) | func (m *MockNoteService) List(ctx context.Context, uid int64, params ... method ListByLastTime (line 84) | func (m *MockNoteService) ListByLastTime(ctx context.Context, uid int6... method Sync (line 92) | func (m *MockNoteService) Sync(ctx context.Context, uid int64, params ... method CountSizeSum (line 100) | func (m *MockNoteService) CountSizeSum(ctx context.Context, vaultID in... method Cleanup (line 105) | func (m *MockNoteService) Cleanup(ctx context.Context, uid int64) error { method CleanupByTime (line 110) | func (m *MockNoteService) CleanupByTime(ctx context.Context, cutoffTim... method ListNeedSnapshot (line 115) | func (m *MockNoteService) ListNeedSnapshot(ctx context.Context, uid in... method Migrate (line 123) | func (m *MockNoteService) Migrate(ctx context.Context, oldNoteID, newN... method MigratePush (line 128) | func (m *MockNoteService) MigratePush(oldNoteID, newNoteID int64, uid ... method WithClient (line 132) | func (m *MockNoteService) WithClient(clientType, name, version string)... method PatchFrontmatter (line 137) | func (m *MockNoteService) PatchFrontmatter(ctx context.Context, uid in... method AppendContent (line 145) | func (m *MockNoteService) AppendContent(ctx context.Context, uid int64... method PrependContent (line 153) | func (m *MockNoteService) PrependContent(ctx context.Context, uid int6... method ReplaceContent (line 161) | func (m *MockNoteService) ReplaceContent(ctx context.Context, uid int6... method UpdateNoteLinks (line 170) | func (m *MockNoteService) UpdateNoteLinks(ctx context.Context, noteID ... method RecycleClear (line 174) | func (m *MockNoteService) RecycleClear(ctx context.Context, uid int64,... method CleanDuplicateNotes (line 179) | func (m *MockNoteService) CleanDuplicateNotes(ctx context.Context, uid... FILE: internal/service/mocks/mock_setting_service.go type MockSettingService (line 16) | type MockSettingService struct method UpdateCheck (line 24) | func (m *MockSettingService) UpdateCheck(ctx context.Context, uid int6... method ModifyCheck (line 32) | func (m *MockSettingService) ModifyCheck(ctx context.Context, uid int6... method ModifyOrCreate (line 40) | func (m *MockSettingService) ModifyOrCreate(ctx context.Context, uid i... method Modify (line 48) | func (m *MockSettingService) Modify(ctx context.Context, uid int64, pa... method Delete (line 56) | func (m *MockSettingService) Delete(ctx context.Context, uid int64, pa... method Get (line 64) | func (m *MockSettingService) Get(ctx context.Context, uid int64, param... method ListByLastTime (line 72) | func (m *MockSettingService) ListByLastTime(ctx context.Context, uid i... method CleanDuplicateSettings (line 80) | func (m *MockSettingService) CleanDuplicateSettings(ctx context.Contex... method Sync (line 85) | func (m *MockSettingService) Sync(ctx context.Context, uid int64, para... method List (line 93) | func (m *MockSettingService) List(ctx context.Context, uid int64, para... method Rename (line 101) | func (m *MockSettingService) Rename(ctx context.Context, uid int64, pa... method Cleanup (line 109) | func (m *MockSettingService) Cleanup(ctx context.Context, uid int64) e... method CleanupByTime (line 114) | func (m *MockSettingService) CleanupByTime(ctx context.Context, cutoff... method ClearByVault (line 119) | func (m *MockSettingService) ClearByVault(ctx context.Context, uid int... method WithClient (line 124) | func (m *MockSettingService) WithClient(clientType, name, version stri... FILE: internal/service/mocks/mock_share_service.go type MockShareService (line 17) | type MockShareService struct method ShareGenerate (line 25) | func (m *MockShareService) ShareGenerate(ctx context.Context, uid int6... method VerifyShare (line 33) | func (m *MockShareService) VerifyShare(ctx context.Context, token stri... method GetSharedNote (line 41) | func (m *MockShareService) GetSharedNote(ctx context.Context, shareTok... method GetSharedFile (line 49) | func (m *MockShareService) GetSharedFile(ctx context.Context, shareTok... method GetSharedFileInfo (line 58) | func (m *MockShareService) GetSharedFileInfo(ctx context.Context, shar... method RecordView (line 63) | func (m *MockShareService) RecordView(uid int64, id int64) { method StopShare (line 67) | func (m *MockShareService) StopShare(ctx context.Context, uid int64, i... method UpdateSharePassword (line 72) | func (m *MockShareService) UpdateSharePassword(ctx context.Context, ui... method CreateShortLink (line 77) | func (m *MockShareService) CreateShortLink(ctx context.Context, uid in... method ListShares (line 82) | func (m *MockShareService) ListShares(ctx context.Context, uid int64, ... method GetShareByPath (line 90) | func (m *MockShareService) GetShareByPath(ctx context.Context, uid int... method StopShareByPath (line 98) | func (m *MockShareService) StopShareByPath(ctx context.Context, uid in... method GetActiveNotePathsByVault (line 103) | func (m *MockShareService) GetActiveNotePathsByVault(ctx context.Conte... method Shutdown (line 111) | func (m *MockShareService) Shutdown(ctx context.Context) error { FILE: internal/service/mocks/mock_storage_service.go type MockStorageService (line 15) | type MockStorageService struct method CreateOrUpdate (line 23) | func (m *MockStorageService) CreateOrUpdate(ctx context.Context, uid i... method Get (line 31) | func (m *MockStorageService) Get(ctx context.Context, uid int64, id in... method List (line 39) | func (m *MockStorageService) List(ctx context.Context, uid int64) ([]*... method Delete (line 47) | func (m *MockStorageService) Delete(ctx context.Context, uid int64, id... method GetEnabledTypes (line 52) | func (m *MockStorageService) GetEnabledTypes() ([]string, error) { method Validate (line 60) | func (m *MockStorageService) Validate(ctx context.Context, req *dto.St... FILE: internal/service/mocks/mock_user_service.go type MockUserService (line 15) | type MockUserService struct method Register (line 21) | func (m *MockUserService) Register(ctx context.Context, params *dto.Us... method Login (line 31) | func (m *MockUserService) Login(ctx context.Context, params *dto.UserL... method ChangePassword (line 41) | func (m *MockUserService) ChangePassword(ctx context.Context, uid int6... method GetInfo (line 48) | func (m *MockUserService) GetInfo(ctx context.Context, uid int64) (*dt... method GetAllUIDs (line 58) | func (m *MockUserService) GetAllUIDs(ctx context.Context) ([]int64, er... FILE: internal/service/mocks/mock_vault_service.go type MockVaultService (line 16) | type MockVaultService struct method GetByName (line 22) | func (m *MockVaultService) GetByName(ctx context.Context, uid int64, n... method GetOrCreate (line 32) | func (m *MockVaultService) GetOrCreate(ctx context.Context, uid int64,... method MustGetID (line 42) | func (m *MockVaultService) MustGetID(ctx context.Context, uid int64, n... method Create (line 49) | func (m *MockVaultService) Create(ctx context.Context, uid int64, name... method Update (line 59) | func (m *MockVaultService) Update(ctx context.Context, uid int64, id i... method Get (line 69) | func (m *MockVaultService) Get(ctx context.Context, uid int64, id int6... method List (line 79) | func (m *MockVaultService) List(ctx context.Context, uid int64) ([]*dt... method Delete (line 89) | func (m *MockVaultService) Delete(ctx context.Context, uid int64, id i... method UpdateNoteStats (line 96) | func (m *MockVaultService) UpdateNoteStats(ctx context.Context, noteSi... method UpdateFileStats (line 103) | func (m *MockVaultService) UpdateFileStats(ctx context.Context, fileSi... FILE: internal/service/ngrok_service.go type NgrokService (line 16) | type NgrokService interface type ngrokService (line 22) | type ngrokService struct method Start (line 43) | func (s *ngrokService) Start(ctx context.Context, addr string) error { method handleConn (line 95) | func (s *ngrokService) handleConn(conn net.Conn, addr string) { method Stop (line 118) | func (s *ngrokService) Stop(ctx context.Context) error { method TunnelURL (line 134) | func (s *ngrokService) TunnelURL() string { function NewNgrokService (line 33) | func NewNgrokService(logger *zap.Logger, authToken, domain string) Ngrok... FILE: internal/service/note_history_service.go type NoteHistoryService (line 26) | type NoteHistoryService interface type noteHistoryService (line 58) | type noteHistoryService struct method domainToDTO (line 95) | func (s *noteHistoryService) domainToDTO(history *domain.NoteHistory) ... method domainToNoContentDTO (line 136) | func (s *noteHistoryService) domainToNoContentDTO(history *domain.Note... method Get (line 155) | func (s *noteHistoryService) Get(ctx context.Context, uid int64, id in... method GetByNoteIDAndHash (line 168) | func (s *noteHistoryService) GetByNoteIDAndHash(ctx context.Context, u... method List (line 181) | func (s *noteHistoryService) List(ctx context.Context, uid int64, para... method ProcessDelay (line 223) | func (s *noteHistoryService) ProcessDelay(ctx context.Context, noteID ... method Migrate (line 301) | func (s *noteHistoryService) Migrate(ctx context.Context, oldNoteID, n... method RestoreFromHistory (line 309) | func (s *noteHistoryService) RestoreFromHistory(ctx context.Context, u... method CleanupByTime (line 431) | func (s *noteHistoryService) CleanupByTime(ctx context.Context, cutoff... method cleanupExcessVersions (line 482) | func (s *noteHistoryService) cleanupExcessVersions(ctx context.Context... method ensureValidUTF8 (line 526) | func (s *noteHistoryService) ensureValidUTF8(str string) string { function NewNoteHistoryService (line 74) | func NewNoteHistoryService(historyRepo domain.NoteHistoryRepository, not... FILE: internal/service/note_link_service.go type NoteLinkService (line 19) | type NoteLinkService interface type noteLinkService (line 31) | type noteLinkService struct method GetBacklinks (line 51) | func (s *noteLinkService) GetBacklinks(ctx context.Context, uid int64,... method GetOutlinks (line 112) | func (s *noteLinkService) GetOutlinks(ctx context.Context, uid int64, ... method extractLinkContext (line 159) | func (s *noteLinkService) extractLinkContext(content, targetPath strin... function NewNoteLinkService (line 39) | func NewNoteLinkService(noteLinkRepo domain.NoteLinkRepository, noteRepo... FILE: internal/service/note_service.go type NoteService (line 28) | type NoteService interface type noteService (line 124) | type noteService struct method WithClient (line 163) | func (s *noteService) WithClient(clientType, name, version string) Not... method domainToDTO (line 185) | func (s *noteService) domainToDTO(note *domain.Note) *dto.NoteDTO { method domainToNoContentDTO (line 211) | func (s *noteService) domainToNoContentDTO(note *domain.Note) *dto.Not... method Get (line 235) | func (s *noteService) Get(ctx context.Context, uid int64, params *dto.... method UpdateCheck (line 256) | func (s *noteService) UpdateCheck(ctx context.Context, uid int64, para... method ModifyOrCreate (line 300) | func (s *noteService) ModifyOrCreate(ctx context.Context, uid int64, p... method Delete (line 446) | func (s *noteService) Delete(ctx context.Context, uid int64, params *d... method Restore (line 507) | func (s *noteService) Restore(ctx context.Context, uid int64, params *... method Rename (line 570) | func (s *noteService) Rename(ctx context.Context, uid int64, params *d... method List (line 705) | func (s *noteService) List(ctx context.Context, uid int64, params *dto... method ListByLastTime (line 744) | func (s *noteService) ListByLastTime(ctx context.Context, uid int64, p... method CountSizeSum (line 772) | func (s *noteService) CountSizeSum(ctx context.Context, vaultID int64,... method Cleanup (line 803) | func (s *noteService) Cleanup(ctx context.Context, uid int64) error { method CleanupByTime (line 831) | func (s *noteService) CleanupByTime(ctx context.Context, cutoffTime in... method ListNeedSnapshot (line 837) | func (s *noteService) ListNeedSnapshot(ctx context.Context, uid int64)... method Migrate (line 852) | func (s *noteService) Migrate(ctx context.Context, oldNoteID, newNoteI... method MigratePush (line 900) | func (s *noteService) MigratePush(oldNoteID, newNoteID int64, uid int6... method Sync (line 909) | func (s *noteService) Sync(ctx context.Context, uid int64, params *dto... method PatchFrontmatter (line 914) | func (s *noteService) PatchFrontmatter(ctx context.Context, uid int64,... method AppendContent (line 961) | func (s *noteService) AppendContent(ctx context.Context, uid int64, pa... method PrependContent (line 1001) | func (s *noteService) PrependContent(ctx context.Context, uid int64, p... method ReplaceContent (line 1054) | func (s *noteService) ReplaceContent(ctx context.Context, uid int64, p... method UpdateNoteLinks (line 1156) | func (s *noteService) UpdateNoteLinks(ctx context.Context, noteID int6... method RecycleClear (line 1193) | func (s *noteService) RecycleClear(ctx context.Context, uid int64, par... method CleanDuplicateNotes (line 1237) | func (s *noteService) CleanDuplicateNotes(ctx context.Context, uid int... function NewNoteService (line 144) | func NewNoteService(noteRepo domain.NoteRepository, noteLinkRepo domain.... FILE: internal/service/service.go type NoteMigrateMsg (line 13) | type NoteMigrateMsg struct type NoteHistoryMsg (line 21) | type NoteHistoryMsg struct function NoteHistoryDelayPush (line 32) | func NoteHistoryDelayPush(noteID int64, uid int64) { FILE: internal/service/setting_service.go type SettingService (line 25) | type SettingService interface type settingService (line 89) | type settingService struct method WithClient (line 114) | func (s *settingService) WithClient(clientType, name, version string) ... method domainToDTO (line 129) | func (s *settingService) domainToDTO(setting *domain.Setting) *dto.Set... method UpdateCheck (line 150) | func (s *settingService) UpdateCheck(ctx context.Context, uid int64, p... method ModifyCheck (line 197) | func (s *settingService) ModifyCheck(ctx context.Context, uid int64, p... method ModifyOrCreate (line 203) | func (s *settingService) ModifyOrCreate(ctx context.Context, uid int64... method Modify (line 312) | func (s *settingService) Modify(ctx context.Context, uid int64, params... method Delete (line 318) | func (s *settingService) Delete(ctx context.Context, uid int64, params... method Get (line 356) | func (s *settingService) Get(ctx context.Context, uid int64, params *d... method ListByLastTime (line 377) | func (s *settingService) ListByLastTime(ctx context.Context, uid int64... method Sync (line 405) | func (s *settingService) Sync(ctx context.Context, uid int64, params *... method List (line 411) | func (s *settingService) List(ctx context.Context, uid int64, params *... method Rename (line 435) | func (s *settingService) Rename(ctx context.Context, uid int64, params... method Cleanup (line 510) | func (s *settingService) Cleanup(ctx context.Context, uid int64) error { method CleanupByTime (line 534) | func (s *settingService) CleanupByTime(ctx context.Context, cutoffTime... method ClearByVault (line 540) | func (s *settingService) ClearByVault(ctx context.Context, uid int64, ... method CleanDuplicateSettings (line 552) | func (s *settingService) CleanDuplicateSettings(ctx context.Context, u... function NewSettingService (line 102) | func NewSettingService(settingRepo domain.SettingRepository, vaultSvc Va... FILE: internal/service/share_service.go type ShareService (line 44) | type ShareService interface type aggStats (line 104) | type aggStats struct type shareService (line 112) | type shareService struct method ShareGenerate (line 154) | func (s *shareService) ShareGenerate(ctx context.Context, uid int64, v... method VerifyShare (line 270) | func (s *shareService) VerifyShare(ctx context.Context, token string, ... method RecordView (line 329) | func (s *shareService) RecordView(uid int64, id int64) { method startFlushLoop (line 346) | func (s *shareService) startFlushLoop() { method flush (line 361) | func (s *shareService) flush() { method StopShare (line 381) | func (s *shareService) StopShare(ctx context.Context, uid int64, id in... method UpdateSharePassword (line 387) | func (s *shareService) UpdateSharePassword(ctx context.Context, uid in... method ListShares (line 415) | func (s *shareService) ListShares(ctx context.Context, uid int64, sort... method GetShareByPath (line 527) | func (s *shareService) GetShareByPath(ctx context.Context, uid int64, ... method CreateShortLink (line 565) | func (s *shareService) CreateShortLink(ctx context.Context, uid int64,... method StopShareByPath (line 639) | func (s *shareService) StopShareByPath(ctx context.Context, uid int64,... method GetActiveNotePathsByVault (line 649) | func (s *shareService) GetActiveNotePathsByVault(ctx context.Context, ... method GetSharedNote (line 683) | func (s *shareService) GetSharedNote(ctx context.Context, shareToken s... method resolveSharedNoteFiles (line 797) | func (s *shareService) resolveSharedNoteFiles(ctx context.Context, uid... method resolveSharedFileReference (line 816) | func (s *shareService) resolveSharedFileReference(ctx context.Context,... method GetSharedFile (line 1110) | func (s *shareService) GetSharedFile(ctx context.Context, shareToken s... method GetSharedFileInfo (line 1162) | func (s *shareService) GetSharedFileInfo(ctx context.Context, shareTok... method Shutdown (line 1203) | func (s *shareService) Shutdown(ctx context.Context) error { function NewShareService (line 132) | func NewShareService(repo domain.UserShareRepository, tokenManager pkgap... function extractSharedNoteFileRefs (line 840) | func extractSharedNoteFileRefs(content string) []string { function extractObsidianEmbedPath (line 893) | func extractObsidianEmbedPath(inner string) string { function parseMarkdownLinkTarget (line 901) | func parseMarkdownLinkTarget(raw string) (target string, start int, end ... function rewriteMarkdownImageLinks (line 942) | func rewriteMarkdownImageLinks(content string, fileRefs map[string]*doma... function rewriteHTMLImageSources (line 969) | func rewriteHTMLImageSources(content string, fileRefs map[string]*domain... function buildSharedFileAPIURL (line 985) | func buildSharedFileAPIURL(fileID int64, shareToken string, password str... function mergeShareFileResources (line 993) | func mergeShareFileResources(resources map[string][]string, fileRefs map... function cloneShareResources (line 1018) | func cloneShareResources(resources map[string][]string) map[string][]str... function buildSharePathCandidates (line 1026) | func buildSharePathCandidates(notePath string, rawRef string) []string { function normalizeShareVaultPath (line 1062) | func normalizeShareVaultPath(p string) string { function isLocalSharePath (line 1077) | func isLocalSharePath(ref string) bool { FILE: internal/service/share_service_test.go function TestExtractSharedNoteFileRefs (line 14) | func TestExtractSharedNoteFileRefs(t *testing.T) { function TestBuildSharePathCandidates (line 38) | func TestBuildSharePathCandidates(t *testing.T) { function TestRewriteMarkdownImageLinks (line 47) | func TestRewriteMarkdownImageLinks(t *testing.T) { FILE: internal/service/storage_service.go type StorageService (line 21) | type StorageService interface type storageService (line 47) | type storageService struct method domainToDTO (line 58) | func (s *storageService) domainToDTO(m *domain.Storage) *dto.StorageDTO { method dtoToDomain (line 83) | func (s *storageService) dtoToDomain(d *dto.StorageDTO) *domain.Storage { method postRequestToDomain (line 106) | func (s *storageService) postRequestToDomain(req *dto.StoragePostReque... method CreateOrUpdate (line 127) | func (s *storageService) CreateOrUpdate(ctx context.Context, uid int64... method Get (line 162) | func (s *storageService) Get(ctx context.Context, uid int64, id int64)... method List (line 173) | func (s *storageService) List(ctx context.Context, uid int64) ([]*dto.... method Delete (line 186) | func (s *storageService) Delete(ctx context.Context, uid int64, id int... method GetEnabledTypes (line 194) | func (s *storageService) GetEnabledTypes() ([]string, error) { method isStorageTypeEnabled (line 217) | func (s *storageService) isStorageTypeEnabled(t string) bool { method Validate (line 236) | func (s *storageService) Validate(ctx context.Context, req *dto.Storag... function NewStorageService (line 54) | func NewStorageService(repo domain.StorageRepository, config *config.Sto... FILE: internal/service/sync_log_service.go type SyncLogService (line 16) | type SyncLogService interface type syncLogService (line 44) | type syncLogService struct method Log (line 56) | func (s *syncLogService) Log( method List (line 103) | func (s *syncLogService) List(ctx context.Context, uid int64, vaultID ... method CleanupByTime (line 120) | func (s *syncLogService) CleanupByTime(ctx context.Context, cutoffTime... method domainToDTO (line 126) | func (s *syncLogService) domainToDTO(l *domain.SyncLog) *dto.SyncLogDTO { function NewSyncLogService (line 50) | func NewSyncLogService(repo domain.SyncLogRepository) SyncLogService { FILE: internal/service/user_service.go type UserService (line 21) | type UserService interface type userService (line 45) | type userService struct method domainToDTO (line 65) | func (s *userService) domainToDTO(user *domain.User) *dto.UserDTO { method Register (line 82) | func (s *userService) Register(ctx context.Context, params *dto.UserCr... method Login (line 155) | func (s *userService) Login(ctx context.Context, params *dto.UserLogin... method ChangePassword (line 193) | func (s *userService) ChangePassword(ctx context.Context, uid int64, p... method GetInfo (line 234) | func (s *userService) GetInfo(ctx context.Context, uid int64) (*dto.Us... method GetAllUIDs (line 253) | func (s *userService) GetAllUIDs(ctx context.Context) ([]int64, error) { function NewUserService (line 54) | func NewUserService(userRepo domain.UserRepository, tokenManager app.Tok... FILE: internal/service/user_service_test.go type mockTokenManager (line 22) | type mockTokenManager struct method Generate (line 24) | func (m *mockTokenManager) Generate(uid int64, nickname, ip string) (s... method Parse (line 27) | func (m *mockTokenManager) Parse(token string) (*pkgapp.UserEntity, er... method ShareGenerate (line 30) | func (m *mockTokenManager) ShareGenerate(shareID int64, uid int64, res... method ShareParse (line 33) | func (m *mockTokenManager) ShareParse(token string) (*pkgapp.ShareEnti... method Validate (line 36) | func (m *mockTokenManager) Validate(token string) error { return nil } method GetSecretKey (line 37) | func (m *mockTokenManager) GetSecretKey() string { return "test... function newUserSvc (line 41) | func newUserSvc(repo domain.UserRepository, registerEnabled bool) UserSe... function TestUserService_Register_Success (line 51) | func TestUserService_Register_Success(t *testing.T) { function TestUserService_Register_Disabled (line 83) | func TestUserService_Register_Disabled(t *testing.T) { function TestUserService_Register_PasswordMismatch (line 100) | func TestUserService_Register_PasswordMismatch(t *testing.T) { function TestUserService_Register_EmailExists (line 117) | func TestUserService_Register_EmailExists(t *testing.T) { function TestUserService_Register_UsernameExists (line 137) | func TestUserService_Register_UsernameExists(t *testing.T) { function TestUserService_Login_ByEmail_Success (line 163) | func TestUserService_Login_ByEmail_Success(t *testing.T) { function TestUserService_Login_WrongPassword (line 195) | func TestUserService_Login_WrongPassword(t *testing.T) { function TestUserService_GetInfo_Success (line 220) | func TestUserService_GetInfo_Success(t *testing.T) { function TestUserService_GetInfo_NotFound (line 238) | func TestUserService_GetInfo_NotFound(t *testing.T) { function TestUserService_ChangePassword_Success (line 256) | func TestUserService_ChangePassword_Success(t *testing.T) { FILE: internal/service/vault_service.go type VaultService (line 22) | type VaultService interface type vaultService (line 68) | type vaultService struct method GetByName (line 122) | func (s *vaultService) GetByName(ctx context.Context, uid int64, name ... method GetOrCreate (line 137) | func (s *vaultService) GetOrCreate(ctx context.Context, uid int64, nam... method MustGetID (line 174) | func (s *vaultService) MustGetID(ctx context.Context, uid int64, name ... method UpdateNoteStats (line 196) | func (s *vaultService) UpdateNoteStats(ctx context.Context, noteSize, ... method UpdateFileStats (line 206) | func (s *vaultService) UpdateFileStats(ctx context.Context, fileSize, ... method domainToDTO (line 220) | func (s *vaultService) domainToDTO(vault *domain.Vault) *dto.VaultDTO { method Create (line 239) | func (s *vaultService) Create(ctx context.Context, uid int64, name str... method Get (line 261) | func (s *vaultService) Get(ctx context.Context, uid int64, id int64) (... method List (line 274) | func (s *vaultService) List(ctx context.Context, uid int64) ([]*dto.Va... method Delete (line 289) | func (s *vaultService) Delete(ctx context.Context, uid int64, id int64... method Update (line 355) | func (s *vaultService) Update(ctx context.Context, uid int64, id int64... function NewVaultService (line 87) | func NewVaultService( FILE: internal/service/vault_service_test.go function newVaultMockRepo (line 21) | func newVaultMockRepo() *domainmocks.MockVaultRepository { function newVault (line 27) | func newVault(id int64, name string) *domain.Vault { function assertVaultDTO (line 34) | func assertVaultDTO(t *testing.T, got *dto.VaultDTO, wantID int64, wantN... function TestVaultService_Create_Success (line 45) | func TestVaultService_Create_Success(t *testing.T) { function TestVaultService_Create_AlreadyExists (line 67) | func TestVaultService_Create_AlreadyExists(t *testing.T) { function TestVaultService_Get_Success (line 85) | func TestVaultService_Get_Success(t *testing.T) { function TestVaultService_Get_NotFound (line 102) | func TestVaultService_Get_NotFound(t *testing.T) { function TestVaultService_List_Success (line 119) | func TestVaultService_List_Success(t *testing.T) { function TestVaultService_Delete_Success (line 143) | func TestVaultService_Delete_Success(t *testing.T) { function TestVaultService_Update_Success (line 160) | func TestVaultService_Update_Success(t *testing.T) { function TestVaultService_Update_NotFound (line 185) | func TestVaultService_Update_NotFound(t *testing.T) { function TestVaultService_GetOrCreate_ExistingVault (line 202) | func TestVaultService_GetOrCreate_ExistingVault(t *testing.T) { function TestVaultService_GetOrCreate_NewVault (line 219) | func TestVaultService_GetOrCreate_NewVault(t *testing.T) { function TestVaultService_UpdateNoteStats (line 241) | func TestVaultService_UpdateNoteStats(t *testing.T) { function TestVaultService_UpdateFileStats (line 256) | func TestVaultService_UpdateFileStats(t *testing.T) { type domainFixture (line 273) | type domainFixture struct method toDomain (line 278) | func (f *domainFixture) toDomain() *domain.Vault { function fixturesToDomain (line 287) | func fixturesToDomain(fixtures []*domainFixture) []*domain.Vault { FILE: internal/task/manager.go type Manager (line 10) | type Manager struct method RegisterTasks (line 27) | func (m *Manager) RegisterTasks() error { method registerTask (line 73) | func (m *Manager) registerTask(task Task) { method Start (line 92) | func (m *Manager) Start() { function NewManager (line 17) | func NewManager(logger *zap.Logger, sc *safe_close.SafeClose, appContain... FILE: internal/task/registry.go type TaskFactory (line 10) | type TaskFactory type TaskFactoryWithApp (line 13) | type TaskFactoryWithApp function Register (line 24) | func Register(factory TaskFactory) { function RegisterWithApp (line 31) | func RegisterWithApp(factory TaskFactoryWithApp) { function GetFactories (line 38) | func GetFactories() []TaskFactory { function GetFactoriesWithApp (line 49) | func GetFactoriesWithApp() []TaskFactoryWithApp { FILE: internal/task/scheduler.go type Task (line 12) | type Task interface type Scheduler (line 20) | type Scheduler struct method AddTask (line 36) | func (s *Scheduler) AddTask(task Task) { method Start (line 41) | func (s *Scheduler) Start() { method startTask (line 55) | func (s *Scheduler) startTask(task Task) { function NewScheduler (line 27) | func NewScheduler(logger *zap.Logger, sc *safe_close.SafeClose) *Schedul... FILE: internal/task/task_backup.go type BackupTask (line 12) | type BackupTask struct method Name (line 18) | func (t *BackupTask) Name() string { method LoopInterval (line 23) | func (t *BackupTask) LoopInterval() time.Duration { method IsStartupRun (line 28) | func (t *BackupTask) IsStartupRun() bool { method Run (line 33) | func (t *BackupTask) Run(ctx context.Context) error { function NewBackupTask (line 41) | func NewBackupTask(appContainer *app.App) (Task, error) { function init (line 49) | func init() { FILE: internal/task/task_check_version.go constant GitHubServiceReleaseURL (line 18) | GitHubServiceReleaseURL = "https://api.github.com/repos/haierkeys/fast-n... constant GitHubPluginReleaseURL (line 19) | GitHubPluginReleaseURL = "https://api.github.com/repos/haierkeys/obsidi... constant ServiceRepoPath (line 20) | ServiceRepoPath = "haierkeys/fast-note-sync-service" constant ServiceRepoURL (line 21) | ServiceRepoURL = "https://github.com/" + ServiceRepoPath constant PluginRepoPath (line 22) | PluginRepoPath = "haierkeys/obsidian-fast-note-sync" constant PluginRepoURL (line 23) | PluginRepoURL = "https://github.com/" + PluginRepoPath constant CNBServiceReleaseURL (line 25) | CNBServiceReleaseURL = "https://api.cnb.cool/" + ServiceRepoPath + "/-/r... constant CNBPluginReleaseURL (line 26) | CNBPluginReleaseURL = "https://api.cnb.cool/" + PluginRepoPath + "/-/re... constant CNBServiceURL (line 27) | CNBServiceURL = "https://cnb.cool/" + ServiceRepoPath constant CNBPluginURL (line 28) | CNBPluginURL = "https://cnb.cool/" + PluginRepoPath constant CNBServiceToken (line 29) | CNBServiceToken = "58tjez3744HL9Z10cRaCHdeEPhK" constant CNBPluginToken (line 30) | CNBPluginToken = "9pFNKcjlej36e0w6MHKT6YMn53G" type CNBRelease (line 33) | type CNBRelease struct type GitHubRelease (line 37) | type GitHubRelease struct type GitHubTag (line 41) | type GitHubTag struct type CheckVersionTask (line 45) | type CheckVersionTask struct method Name (line 57) | func (t *CheckVersionTask) Name() string { method Run (line 61) | func (t *CheckVersionTask) Run(ctx context.Context) error { method fetchGitHubReleases (line 134) | func (t *CheckVersionTask) fetchGitHubReleases(url string) (string, er... method fetchCNBVersion (line 162) | func (t *CheckVersionTask) fetchCNBVersion(url string, token string) (... method fetchTextContent (line 195) | func (t *CheckVersionTask) fetchTextContent(url string) string { method LoopInterval (line 220) | func (t *CheckVersionTask) LoopInterval() time.Duration { method IsStartupRun (line 224) | func (t *CheckVersionTask) IsStartupRun() bool { function init (line 49) | func init() { FILE: internal/task/task_db_clean.go type DbCleanTask (line 13) | type DbCleanTask struct method Name (line 22) | func (t *DbCleanTask) Name() string { method LoopInterval (line 27) | func (t *DbCleanTask) LoopInterval() time.Duration { method IsStartupRun (line 32) | func (t *DbCleanTask) IsStartupRun() bool { method Run (line 37) | func (t *DbCleanTask) Run(ctx context.Context) error { function NewDbCleanTask (line 118) | func NewDbCleanTask(appContainer *app.App) (Task, error) { function init (line 158) | func init() { FILE: internal/task/task_file_session_temp_clean.go type FileSessionTempCleanTask (line 13) | type FileSessionTempCleanTask struct method Name (line 21) | func (t *FileSessionTempCleanTask) Name() string { method LoopInterval (line 26) | func (t *FileSessionTempCleanTask) LoopInterval() time.Duration { method IsStartupRun (line 31) | func (t *FileSessionTempCleanTask) IsStartupRun() bool { method Run (line 36) | func (t *FileSessionTempCleanTask) Run(ctx context.Context) error { function NewFileSessionTempCleanTask (line 89) | func NewFileSessionTempCleanTask(appContainer *app.App) (Task, error) { function init (line 98) | func init() { FILE: internal/task/task_note_history.go type NoteHistoryTask (line 17) | type NoteHistoryTask struct method Name (line 25) | func (t *NoteHistoryTask) Name() string { method LoopInterval (line 30) | func (t *NoteHistoryTask) LoopInterval() time.Duration { method IsStartupRun (line 35) | func (t *NoteHistoryTask) IsStartupRun() bool { method Run (line 40) | func (t *NoteHistoryTask) Run(ctx context.Context) error { method cleanup (line 64) | func (t *NoteHistoryTask) cleanup() { method getBaseDelay (line 74) | func (t *NoteHistoryTask) getBaseDelay() time.Duration { method handleNoteHistory (line 85) | func (t *NoteHistoryTask) handleNoteHistory(msg service.NoteHistoryMsg) { method handleNoteHistoryWithDelay (line 90) | func (t *NoteHistoryTask) handleNoteHistoryWithDelay(msg service.NoteH... method handleNoteHistoryProcess (line 114) | func (t *NoteHistoryTask) handleNoteHistoryProcess(noteID, uid int64, ... method handleNoteRenameMigrate (line 152) | func (t *NoteHistoryTask) handleNoteRenameMigrate(oldNoteID, newNoteID... method resumeTasks (line 202) | func (t *NoteHistoryTask) resumeTasks(ctx context.Context) { function NewNoteHistoryTask (line 254) | func NewNoteHistoryTask(appContainer *app.App) (Task, error) { function init (line 262) | func init() { FILE: internal/task/task_sync_fid.go type SyncFIDTask (line 12) | type SyncFIDTask struct method Name (line 18) | func (t *SyncFIDTask) Name() string { method LoopInterval (line 23) | func (t *SyncFIDTask) LoopInterval() time.Duration { method IsStartupRun (line 28) | func (t *SyncFIDTask) IsStartupRun() bool { method Run (line 33) | func (t *SyncFIDTask) Run(ctx context.Context) error { function NewSyncFIDTask (line 89) | func NewSyncFIDTask(appContainer *app.App) (Task, error) { function init (line 97) | func init() { FILE: internal/task/task_update_support.go constant SupportGitHubRawURL (line 17) | SupportGitHubRawURL = "https://raw.githubusercontent.com/haierkeys/fast-... constant SupportCNBRawURL (line 18) | SupportCNBRawURL = "https://cnb.cool/haierkeys/fast-note-sync-service... type UpdateSupportTask (line 21) | type UpdateSupportTask struct method Name (line 33) | func (t *UpdateSupportTask) Name() string { method Run (line 37) | func (t *UpdateSupportTask) Run(ctx context.Context) error { method fetchSupportRecords (line 73) | func (t *UpdateSupportTask) fetchSupportRecords(url string) ([]pkgapp.... method LoopInterval (line 100) | func (t *UpdateSupportTask) LoopInterval() time.Duration { method IsStartupRun (line 104) | func (t *UpdateSupportTask) IsStartupRun() bool { function init (line 25) | func init() { FILE: internal/upgrade/upgrade.go type SchemaVersion (line 20) | type SchemaVersion struct method TableName (line 28) | func (SchemaVersion) TableName() string { type Migration (line 33) | type Migration interface type MigrationContext (line 40) | type MigrationContext struct type MigrationManager (line 47) | type MigrationManager struct method Run (line 76) | func (m *MigrationManager) Run(ctx context.Context) error { method getAppliedVersions (line 211) | func (m *MigrationManager) getAppliedVersions() (map[string]bool, erro... method getReferenceVersion (line 231) | func (m *MigrationManager) getReferenceVersion() string { method saveReferenceVersion (line 252) | func (m *MigrationManager) saveReferenceVersion(version string) error { function NewMigrationManager (line 62) | func NewMigrationManager(db *gorm.DB, logger *zap.Logger, version string... function Execute (line 262) | func Execute(db *gorm.DB, logger *zap.Logger, version string, cfg, userC... FILE: internal/upgrade/upgrade_note_history_rename.go type NoteHistoryRenameMigrate (line 17) | type NoteHistoryRenameMigrate struct method Version (line 20) | func (m *NoteHistoryRenameMigrate) Version() string { method Description (line 25) | func (m *NoteHistoryRenameMigrate) Description() string { method Up (line 30) | func (m *NoteHistoryRenameMigrate) Up(db *gorm.DB, ctx context.Context... FILE: internal/upgrade/upgrade_note_history_rename_test.go function TestNoteHistoryRenameMigrate_Up (line 12) | func TestNoteHistoryRenameMigrate_Up(t *testing.T) { FILE: main.go function main (line 36) | func main() { FILE: pkg/app/app.go type VersionInfo (line 13) | type VersionInfo struct type CheckVersionInfo (line 20) | type CheckVersionInfo struct type SupportRecord (line 34) | type SupportRecord struct type Response (line 43) | type Response struct method ToResponse (line 127) | func (r *Response) ToResponse(codeObj *code.Code) { method ToResponseList (line 152) | func (r *Response) ToResponseList(codeObj *code.Code, list interface{}... method send (line 172) | func (r *Response) send(statusCode int, content interface{}) { type Pager (line 47) | type Pager struct type PaginationRequest (line 54) | type PaginationRequest struct type ListRes (line 59) | type ListRes struct type Res (line 68) | type Res struct function NewResponse (line 78) | func NewResponse(ctx *gin.Context) *Response { function RequestParamStrParse (line 88) | func RequestParamStrParse(c *gin.Context, param any) { function GetRequestIP (line 107) | func GetRequestIP(c *gin.Context) string { function GetAccessHost (line 115) | func GetAccessHost(c *gin.Context) string { FILE: pkg/app/dateime.go type Datetime (line 11) | type Datetime method UnmarshalJSON (line 13) | func (t *Datetime) UnmarshalJSON(data []byte) error { method MarshalJSON (line 29) | func (t Datetime) MarshalJSON() ([]byte, error) { method Value (line 34) | func (t Datetime) Value() (driver.Value, error) { method Scan (line 41) | func (t *Datetime) Scan(v interface{}) error { method String (line 53) | func (t *Datetime) String() string { FILE: pkg/app/form.go type ValidError (line 12) | type ValidError struct method Error (line 19) | func (v *ValidError) Error() string { method Field (line 23) | func (v *ValidError) Field() string { method Map (line 27) | func (v *ValidError) Map() map[string]string { type ValidErrors (line 17) | type ValidErrors method Error (line 31) | func (v ValidErrors) Error() string { method Errors (line 35) | func (v ValidErrors) Errors() []string { method ErrorsToString (line 44) | func (v ValidErrors) ErrorsToString() string { method Maps (line 53) | func (v ValidErrors) Maps() []map[string]string { method MapsToString (line 62) | func (v ValidErrors) MapsToString() string { function BindAndValid (line 70) | func BindAndValid(c *gin.Context, obj interface{}) (bool, ValidErrors) { FILE: pkg/app/pagination.go type PaginationConfig (line 8) | type PaginationConfig struct function GetPage (line 19) | func GetPage(page int) int { function GetPageSize (line 29) | func GetPageSize(pageSize int) int { function GetPageOffset (line 41) | func GetPageOffset(page, pageSize int) int { function NewPager (line 51) | func NewPager(c *gin.Context, count ...int) *Pager { FILE: pkg/app/token.go constant DefaultTokenIssuer (line 20) | DefaultTokenIssuer = "fast-note-sync-service" type TokenConfig (line 23) | type TokenConfig struct type TokenManager (line 32) | type TokenManager interface type tokenManager (line 46) | type tokenManager struct method Generate (line 89) | func (t *tokenManager) Generate(uid int64, nickname, ip string) (strin... method Parse (line 111) | func (t *tokenManager) Parse(token string) (*UserEntity, error) { method ShareGenerate (line 134) | func (t *tokenManager) ShareGenerate(shareID int64, uid int64, resourc... method ShareParse (line 182) | func (t *tokenManager) ShareParse(tokenString string) (*ShareEntity, e... method Validate (line 238) | func (t *tokenManager) Validate(token string) error { method GetSecretKey (line 245) | func (t *tokenManager) GetSecretKey() string { function NewTokenManager (line 52) | func NewTokenManager(cfg TokenConfig) TokenManager { type UserSelectEntity (line 65) | type UserSelectEntity struct type UserEntity (line 72) | type UserEntity struct type ShareEntity (line 80) | type ShareEntity struct function ParseTokenWithKey (line 251) | func ParseTokenWithKey(tokenString string, secretKey string) (*UserEntit... function GetUID (line 273) | func GetUID(ctx *gin.Context) (out int64) { function GetShareEntity (line 284) | func GetShareEntity(ctx *gin.Context) (out *ShareEntity) { function GetIP (line 295) | func GetIP(ctx *gin.Context) (out string) { function SetTokenToContextWithKey (line 307) | func SetTokenToContextWithKey(ctx *gin.Context, tokenString string, secr... FILE: pkg/app/token_test.go function TestTokenManager_ShareGenerateAndParse (line 8) | func TestTokenManager_ShareGenerateAndParse(t *testing.T) { function TestTokenManager_GenerateAndParse (line 72) | func TestTokenManager_GenerateAndParse(t *testing.T) { FILE: pkg/app/websocket.go type LogType (line 26) | type LogType constant WSPingInterval (line 29) | WSPingInterval = 25 constant WSPingWait (line 30) | WSPingWait = 60 constant LogInfo (line 31) | LogInfo LogType = "info" constant LogError (line 32) | LogError LogType = "error" constant LogWarn (line 33) | LogWarn LogType = "warn" constant LogDebug (line 34) | LogDebug LogType = "debug" type traceIDKeyType (line 39) | type traceIDKeyType struct function GetTraceID (line 47) | func GetTraceID(ctx context.Context) string { function generateTraceID (line 56) | func generateTraceID() string { function extractOrGenerateTraceID (line 62) | func extractOrGenerateTraceID(c *gin.Context) string { function SetWSLogger (line 86) | func SetWSLogger(logger *zap.Logger) { function SetWSProductionMode (line 92) | func SetWSProductionMode(production bool) { function isDevelopmentMode (line 100) | func isDevelopmentMode() bool { function log (line 112) | func log(t LogType, msg string, fields ...zap.Field) { function logWithTraceID (line 130) | func logWithTraceID(t LogType, traceID string, msg string, fields ...zap... function NoteModifyLog (line 149) | func NoteModifyLog(traceID string, uid int64, action string, params ...s... function printColoredLog (line 183) | func printColoredLog(uid int64, action, traceID, vault, path string) { type WebSocketMessage (line 203) | type WebSocketMessage struct type ClientInfoMessage (line 208) | type ClientInfoMessage struct type WSConfig (line 222) | type WSConfig struct type SessionCleaner (line 230) | type SessionCleaner interface type DiffMergeEntry (line 238) | type DiffMergeEntry struct type WebsocketClient (line 244) | type WebsocketClient struct method initContext (line 272) | func (c *WebsocketClient) initContext(traceID string) { method cancelContext (line 283) | func (c *WebsocketClient) cancelContext() { method Context (line 293) | func (c *WebsocketClient) Context() context.Context { method WithTimeout (line 304) | func (c *WebsocketClient) WithTimeout(timeout time.Duration) (context.... method CleanupExpiredDiffMergePaths (line 312) | func (c *WebsocketClient) CleanupExpiredDiffMergePaths(timeout time.Du... method ClearAllDiffMergePaths (line 335) | func (c *WebsocketClient) ClearAllDiffMergePaths() int { method BindAndValid (line 350) | func (c *WebsocketClient) BindAndValid(data []byte, obj any) (bool, Va... method PingLoop (line 400) | func (c *WebsocketClient) PingLoop(PingInterval time.Duration) { method ToResponse (line 443) | func (c *WebsocketClient) ToResponse(code *code.Code, action ...string) { method BroadcastResponse (line 495) | func (c *WebsocketClient) BroadcastResponse(code *code.Code, options .... method send (line 536) | func (c *WebsocketClient) send(responseBytes []byte, isBroadcast bool,... method sendMessage (line 544) | func (c *WebsocketClient) sendMessage(payload []byte) { method sendBroadcast (line 548) | func (c *WebsocketClient) sendBroadcast(payload []byte, isExcludeSelf ... method SendBinary (line 571) | func (c *WebsocketClient) SendBinary(prefix string, payload []byte) er... type AppContainer (line 594) | type AppContainer interface type ValidatorInterface (line 626) | type ValidatorInterface interface type WebsocketServer (line 630) | type WebsocketServer struct method GetClients (line 662) | func (w *WebsocketServer) GetClients() []WSClientInfo { method App (line 720) | func (w *WebsocketServer) App() AppContainer { method Upgrade (line 724) | func (w *WebsocketServer) Upgrade() { method Run (line 728) | func (w *WebsocketServer) Run() gin.HandlerFunc { method Use (line 763) | func (w *WebsocketServer) Use(action string, handler func(*WebsocketCl... method UseUserVerify (line 767) | func (w *WebsocketServer) UseUserVerify(handler func(*WebsocketClient,... method UseBinary (line 771) | func (w *WebsocketServer) UseBinary(prefix string, handler func(*Webso... method Authorization (line 778) | func (w *WebsocketServer) Authorization(c *WebsocketClient, msg *WebSo... method ClientInfo (line 827) | func (w *WebsocketServer) ClientInfo(c *WebsocketClient, msg *WebSocke... method BroadcastClientInfo (line 864) | func (w *WebsocketServer) BroadcastClientInfo() { method GetClient (line 885) | func (w *WebsocketServer) GetClient(conn *gws.Conn) *WebsocketClient { method AddClient (line 891) | func (w *WebsocketServer) AddClient(c *WebsocketClient) { method RemoveClient (line 897) | func (w *WebsocketServer) RemoveClient(conn *gws.Conn) { method AddUserClient (line 903) | func (w *WebsocketServer) AddUserClient(c *WebsocketClient) ConnStorage { method RemoveUserClient (line 913) | func (w *WebsocketServer) RemoveUserClient(c *WebsocketClient) { method SetSession (line 927) | func (w *WebsocketServer) SetSession(uid string, sessionID string, ses... method GetSession (line 938) | func (w *WebsocketServer) GetSession(uid string, sessionID string) any { method RemoveSession (line 949) | func (w *WebsocketServer) RemoveSession(uid string, sessionID string) { method OnOpen (line 960) | func (w *WebsocketServer) OnOpen(conn *gws.Conn) { method OnClose (line 965) | func (w *WebsocketServer) OnClose(conn *gws.Conn, err error) { method OnPing (line 1016) | func (w *WebsocketServer) OnPing(socket *gws.Conn, payload []byte) { method OnPong (line 1021) | func (w *WebsocketServer) OnPong(socket *gws.Conn, payload []byte) { method OnMessage (line 1025) | func (w *WebsocketServer) OnMessage(conn *gws.Conn, message *gws.Messa... method BroadcastToUser (line 1135) | func (w *WebsocketServer) BroadcastToUser(uid int64, code *code.Code, ... type WSClientInfo (line 648) | type WSClientInfo struct function NewWebsocketServer (line 689) | func NewWebsocketServer(c WSConfig, app AppContainer) *WebsocketServer { FILE: pkg/app/websocket_client_test.go function TestProperty7_DiffMergePathsAtomicOperation (line 16) | func TestProperty7_DiffMergePathsAtomicOperation(t *testing.T) { function TestProperty8_DiffMergePathsCleanup (line 95) | func TestProperty8_DiffMergePathsCleanup(t *testing.T) { function TestDiffMergePaths_BasicOperations (line 152) | func TestDiffMergePaths_BasicOperations(t *testing.T) { function TestClearAllDiffMergePaths (line 195) | func TestClearAllDiffMergePaths(t *testing.T) { function TestCleanupExpiredDiffMergePaths (line 219) | func TestCleanupExpiredDiffMergePaths(t *testing.T) { FILE: pkg/code/code.go type Code (line 12) | type Code struct method Error (line 79) | func (e *Code) Error() string { method ErrorWithErr (line 86) | func (e *Code) ErrorWithErr(err ...error) string { method Code (line 93) | func (e *Code) Code() int { method Status (line 97) | func (e *Code) Status() bool { method Msg (line 101) | func (e *Code) Msg() string { method Msgf (line 105) | func (e *Code) Msgf(args []interface{}) string { method Details (line 109) | func (e *Code) Details() []string { method Data (line 113) | func (e *Code) Data() interface{} { method Vault (line 117) | func (e *Code) Vault() string { method Context (line 121) | func (e *Code) Context() string { method HaveDetails (line 125) | func (e *Code) HaveDetails() bool { method HaveData (line 129) | func (e *Code) HaveData() bool { method HaveVault (line 133) | func (e *Code) HaveVault() bool { method HaveContext (line 137) | func (e *Code) HaveContext() bool { method WithData (line 145) | func (e *Code) WithData(data interface{}) *Code { method WithVault (line 166) | func (e *Code) WithVault(vault string) *Code { method WithDetails (line 187) | func (e *Code) WithDetails(details ...string) *Code { method WithContext (line 213) | func (e *Code) WithContext(context string) *Code { method StatusCode (line 230) | func (e *Code) StatusCode() int { function NewError (line 30) | func NewError(code int, reset ...bool) *Code { function incr (line 49) | func incr(code int) int { function NewSuss (line 59) | func NewSuss(code int) *Code { function getLang (line 72) | func getLang(code int) lang { FILE: pkg/code/code_test.go function TestCode_Immutability_And_Methods (line 10) | func TestCode_Immutability_And_Methods(t *testing.T) { function TestNewError_DuplicatePanic (line 51) | func TestNewError_DuplicatePanic(t *testing.T) { function TestNewSuss (line 63) | func TestNewSuss(t *testing.T) { FILE: pkg/code/lang.go type lang (line 11) | type lang struct method GetMessage (line 23) | func (l lang) GetMessage() string { constant FALLBACK_LNG (line 19) | FALLBACK_LNG = "en" function GetSupportedLanguages (line 49) | func GetSupportedLanguages() []string { function SetGlobalDefaultLang (line 65) | func SetGlobalDefaultLang(language string) error { function GetGlobalDefaultLang (line 93) | func GetGlobalDefaultLang() string { FILE: pkg/convert/bool_int.go function Bool2Int (line 7) | func Bool2Int(b bool) int64 { FILE: pkg/convert/convert.go type StrTo (line 8) | type StrTo method String (line 10) | func (s StrTo) String() string { method Int (line 14) | func (s StrTo) Int() (int, error) { method MustInt (line 19) | func (s StrTo) MustInt() int { method UInt32 (line 24) | func (s StrTo) UInt32() (uint32, error) { method Int64 (line 28) | func (s StrTo) Int64() (int64, error) { method MustInt64 (line 33) | func (s StrTo) MustInt64() int64 { method MustUInt32 (line 38) | func (s StrTo) MustUInt32() uint32 { method ToSize (line 45) | func (s StrTo) ToSize() (int64, error) { method MustToSize (line 73) | func (s StrTo) MustToSize(defaultVal int64) int64 { FILE: pkg/convert/convert_test.go function TestBool2Int (line 9) | func TestBool2Int(t *testing.T) { function TestStrTo_Conversions (line 14) | func TestStrTo_Conversions(t *testing.T) { function TestStrTo_ToSize (line 34) | func TestStrTo_ToSize(t *testing.T) { type TestSrc (line 74) | type TestSrc struct type TestDst (line 79) | type TestDst struct function TestStructAssign (line 85) | func TestStructAssign(t *testing.T) { function TestStructAssign2 (line 96) | func TestStructAssign2(t *testing.T) { function TestStructToMap (line 107) | func TestStructToMap(t *testing.T) { function TestStructToMapByReflect (line 117) | func TestStructToMapByReflect(t *testing.T) { function TestCamelCaseConversions (line 126) | func TestCamelCaseConversions(t *testing.T) { function TestMapAnyToMapStr (line 134) | func TestMapAnyToMapStr(t *testing.T) { FILE: pkg/convert/copy_struct.go function GetCopyStructFields (line 12) | func GetCopyStructFields(source interface{}, target interface{}) []inter... function GetStructFieldNames (line 58) | func GetStructFieldNames(input interface{}) []string { function StructAssign2 (line 85) | func StructAssign2(src any, dst any) any { function StructAssign (line 104) | func StructAssign(src any, dst any) any { function StructToMap (line 115) | func StructToMap(param any, data map[string]interface{}) error { function StructToMapByReflect (line 126) | func StructToMapByReflect(obj any) map[string]any { function StructToModelMap (line 155) | func StructToModelMap(param any, data map[string]any, key string) error { function splitGormTag (line 192) | func splitGormTag(tag string) map[string]string { FILE: pkg/convert/json.go function Camel2Case (line 14) | func Camel2Case(name string) string { function Case2Camel (line 30) | func Case2Camel(name string) string { function Case2LowerCamel (line 37) | func Case2LowerCamel(name string) string { function Ucfirst (line 42) | func Ucfirst(str string) string { function Lcfirst (line 50) | func Lcfirst(str string) string { type Buffer (line 58) | type Buffer struct method Append (line 66) | func (b *Buffer) Append(i interface{}) *Buffer { method append (line 86) | func (b *Buffer) append(s string) *Buffer { function NewBuffer (line 62) | func NewBuffer() *Buffer { FILE: pkg/convert/map.go function MapAnyToMapStr (line 7) | func MapAnyToMapStr(p map[string]interface{}) map[string]string { FILE: pkg/diff/diff.go type MergeResult (line 10) | type MergeResult struct type textRange (line 17) | type textRange struct type insertInfo (line 23) | type insertInfo struct function MergeTexts (line 32) | func MergeTexts(base, pc1, pc2 string, pc1First bool) (MergeResult, erro... function MergeTextsIgnoreConflictIgnoreDelete (line 125) | func MergeTextsIgnoreConflictIgnoreDelete(base, pc1, pc2 string, pc1Firs... function hasConflict (line 209) | func hasConflict(pc1Diffs, pc2Diffs []diffmatchpatch.Diff) bool { type lineChangeType (line 261) | type lineChangeType constant lineModified (line 264) | lineModified lineChangeType = iota constant lineDeleted (line 265) | lineDeleted constant lineInserted (line 266) | lineInserted type lineChange (line 270) | type lineChange struct function extractLineChangesFromDiffs (line 278) | func extractLineChangesFromDiffs(diffs []diffmatchpatch.Diff) map[int]li... function isOnlyAppendAtEnd (line 376) | func isOnlyAppendAtEnd(changes map[int]lineChange) bool { function extractInsertInfos (line 408) | func extractInsertInfos(diffs []diffmatchpatch.Diff) []insertInfo { function extractDeleteRanges (line 437) | func extractDeleteRanges(diffs []diffmatchpatch.Diff) []textRange { function extractModifyRanges (line 466) | func extractModifyRanges(diffs []diffmatchpatch.Diff) []textRange { function rangesOverlap (line 494) | func rangesOverlap(r1, r2 textRange) bool { FILE: pkg/diff/diff_test.go function TestProperty4_DeleteOperationPreservation (line 15) | func TestProperty4_DeleteOperationPreservation(t *testing.T) { function TestProperty5_DeleteModifyConflictDetection (line 70) | func TestProperty5_DeleteModifyConflictDetection(t *testing.T) { function TestMergeTexts_BasicScenarios (line 100) | func TestMergeTexts_BasicScenarios(t *testing.T) { function TestExtractDeleteRanges (line 189) | func TestExtractDeleteRanges(t *testing.T) { function TestRangesOverlap (line 230) | func TestRangesOverlap(t *testing.T) { function newDMP (line 280) | func newDMP() *diffmatchpatch.DiffMatchPatch { FILE: pkg/diff/merge_scenarios_test.go function TestScenario_DailyNoteEditing (line 13) | func TestScenario_DailyNoteEditing(t *testing.T) { function TestScenario_CodeSnippetEditing (line 111) | func TestScenario_CodeSnippetEditing(t *testing.T) { function TestScenario_ListEditing (line 153) | func TestScenario_ListEditing(t *testing.T) { function TestScenario_OfflineEditing (line 224) | func TestScenario_OfflineEditing(t *testing.T) { function TestScenario_FrontmatterEditing (line 332) | func TestScenario_FrontmatterEditing(t *testing.T) { function TestScenario_TableEditing (line 404) | func TestScenario_TableEditing(t *testing.T) { function TestScenario_LinkEditing (line 460) | func TestScenario_LinkEditing(t *testing.T) { function TestScenario_EmptyAndWhitespace (line 502) | func TestScenario_EmptyAndWhitespace(t *testing.T) { FILE: pkg/email/email.go type Email (line 9) | type Email struct method SendMail (line 26) | func (e *Email) SendMail(to []string, subject, body string) error { type SMTPInfo (line 13) | type SMTPInfo struct function NewEmail (line 22) | func NewEmail(info *SMTPInfo) *Email { FILE: pkg/email/email_test.go function TestNewEmail (line 8) | func TestNewEmail(t *testing.T) { FILE: pkg/errors/err.go function callers (line 11) | func callers() []uintptr { type Error (line 18) | type Error interface type item (line 26) | type item struct method Error (line 31) | func (i *item) Error() string { method t (line 35) | func (i *item) t() {} method Format (line 38) | func (i *item) Format(s fmt.State, verb rune) { function New (line 48) | func New(msg string) Error { function Errorf (line 53) | func Errorf(format string, args ...interface{}) Error { function Wrap (line 58) | func Wrap(err error, msg string) Error { function Wrapf (line 73) | func Wrapf(err error, format string, args ...interface{}) Error { function WithStack (line 90) | func WithStack(err error) Error { FILE: pkg/errors/err_test.go function TestErr (line 10) | func TestErr(t *testing.T) { FILE: pkg/errors/errors.go type AppError (line 16) | type AppError struct method Error (line 39) | func (e *AppError) Error() string { method Unwrap (line 45) | func (e *AppError) Unwrap() error { method WithTraceID (line 74) | func (e *AppError) WithTraceID(traceID string) *AppError { method WithDetails (line 81) | func (e *AppError) WithDetails(details ...string) *AppError { function NewAppError (line 51) | func NewAppError(c *code.Code, cause error) *AppError { function NewAppErrorWithMessage (line 63) | func NewAppErrorWithMessage(errorCode int, message string, cause error) ... function getTraceIDFromGin (line 88) | func getTraceIDFromGin(c *gin.Context) string { function ErrorResponse (line 105) | func ErrorResponse(c *gin.Context, err error) { function ErrorResponseWithCode (line 148) | func ErrorResponseWithCode(c *gin.Context, codeErr *code.Code, cause err... function IsAppError (line 164) | func IsAppError(err error) bool { function GetAppError (line 171) | func GetAppError(err error) *AppError { FILE: pkg/fileurl/file.go type FileType (line 18) | type FileType constant ImageType (line 20) | ImageType FileType = iota + 1 function IsFile (line 24) | func IsFile(path string) bool { function IsDir (line 30) | func IsDir(path string) bool { function GetFileName (line 41) | func GetFileName(name string) string { function GetFileNameOrRandom (line 48) | func GetFileNameOrRandom(fileName string) string { function GetFileExt (line 61) | func GetFileExt(name string) string { function GetDatePath (line 67) | func GetDatePath(timeFormat string) string { function IsContainExt (line 78) | func IsContainExt(t FileType, name string, uploadAllowExts []string) bool { function IsFileSizeAllowed (line 94) | func IsFileSizeAllowed(t FileType, f multipart.File, uploadMaxSize int) ... function IsPermission (line 108) | func IsPermission(dst string) bool { function IsExist (line 115) | func IsExist(dst string) bool { function CreatePath (line 125) | func CreatePath(dst string, perm os.FileMode) error { function GetExePath (line 136) | func GetExePath() string { function PathSuffixCheckAdd (line 145) | func PathSuffixCheckAdd(path string, suffix string) string { function IsAbsPath (line 154) | func IsAbsPath(path string) bool { function GetAbsPath (line 170) | func GetAbsPath(path string, root string) (string, error) { function CopyFile (line 194) | func CopyFile(srcPath, destPath string) error { FILE: pkg/fileurl/fileurl_test.go function TestFileUrlConversions (line 9) | func TestFileUrlConversions(t *testing.T) { function TestPathSuffixCheckAdd (line 23) | func TestPathSuffixCheckAdd(t *testing.T) { function TestUrlEscape (line 28) | func TestUrlEscape(t *testing.T) { function TestIsAbsPath (line 33) | func TestIsAbsPath(t *testing.T) { FILE: pkg/fileurl/source_selector.go constant SourceAuto (line 9) | SourceAuto = "auto" constant SourceGitHub (line 10) | SourceGitHub = "github" constant SourceCNB (line 11) | SourceCNB = "cnb" constant GitHubCheckURL (line 13) | GitHubCheckURL = "https://api.github.com" type SourceSelector (line 18) | type SourceSelector struct method IsGitHub (line 34) | func (s *SourceSelector) IsGitHub() bool { method checkGitHub (line 51) | func (s *SourceSelector) checkGitHub() bool { function NewSourceSelector (line 26) | func NewSourceSelector(mode string) *SourceSelector { FILE: pkg/fileurl/url.go function UrlEscape (line 10) | func UrlEscape(fileKey string) string { FILE: pkg/gin_tools/gin_tools_test.go function TestRequestParams_Query (line 14) | func TestRequestParams_Query(t *testing.T) { function TestRequestParams_PostJSON (line 28) | func TestRequestParams_PostJSON(t *testing.T) { function TestRequestParams_PostForm (line 45) | func TestRequestParams_PostForm(t *testing.T) { FILE: pkg/gin_tools/json.go type jsonBinding (line 26) | type jsonBinding struct method Name (line 28) | func (jsonBinding) Name() string { method Parse (line 32) | func (jsonBinding) Parse(req *http.Request, params *map[string]string)... function decodeJSON (line 41) | func decodeJSON(r io.Reader, obj any) error { FILE: pkg/gin_tools/param.go function RequestParams (line 19) | func RequestParams(c *gin.Context) (map[string]interface{}, error) { FILE: pkg/httpclient/client.go function Get (line 11) | func Get(url string) { function Post (line 18) | func Post(postURL string, postData map[string][]string) (string, error) { FILE: pkg/httpclient/client_test.go function TestPost (line 12) | func TestPost(t *testing.T) { FILE: pkg/json/json.go type Config (line 7) | type Config interface type Decoder (line 14) | type Decoder interface type Encoder (line 20) | type Encoder interface FILE: pkg/json/json_sonic.go type sonicConfig (line 23) | type sonicConfig struct method NewDecoder (line 27) | func (s sonicConfig) NewDecoder(r io.Reader) Decoder { method NewEncoder (line 31) | func (s sonicConfig) NewEncoder(w io.Writer) Encoder { FILE: pkg/json/json_std.go type stdConfig (line 22) | type stdConfig struct method NewDecoder (line 24) | func (s stdConfig) NewDecoder(r io.Reader) Decoder { method NewEncoder (line 28) | func (s stdConfig) NewEncoder(w io.Writer) Encoder { FILE: pkg/json/json_test.go function TestJSON_MarshalUnmarshal (line 10) | func TestJSON_MarshalUnmarshal(t *testing.T) { function TestJSON_ConfigDefault (line 28) | func TestJSON_ConfigDefault(t *testing.T) { FILE: pkg/limiter/limiter.go type Face (line 10) | type Face interface type Limiter (line 16) | type Limiter struct type BucketRule (line 20) | type BucketRule struct FILE: pkg/limiter/limiter_test.go function TestMethodLimiter_Key (line 13) | func TestMethodLimiter_Key(t *testing.T) { function TestMethodLimiter_Buckets (line 42) | func TestMethodLimiter_Buckets(t *testing.T) { FILE: pkg/limiter/method_limiter.go type MethodLimiter (line 10) | type MethodLimiter struct method Key (line 21) | func (l MethodLimiter) Key(c *gin.Context) string { method GetBucket (line 31) | func (l MethodLimiter) GetBucket(key string) (*ratelimit.Bucket, bool) { method AddBuckets (line 36) | func (l MethodLimiter) AddBuckets(rules ...BucketRule) Face { function NewMethodLimiter (line 14) | func NewMethodLimiter() Face { FILE: pkg/logger/fields.go constant FieldTraceID (line 9) | FieldTraceID = "traceId" constant FieldUID (line 12) | FieldUID = "uid" constant FieldAction (line 15) | FieldAction = "action" constant FieldPath (line 18) | FieldPath = "path" constant FieldVault (line 21) | FieldVault = "vault" constant FieldDuration (line 24) | FieldDuration = "duration" constant FieldSessionID (line 27) | FieldSessionID = "sessionId" constant FieldMethod (line 30) | FieldMethod = "method" constant FieldError (line 33) | FieldError = "error" constant FieldSize (line 36) | FieldSize = "size" constant FieldChunks (line 39) | FieldChunks = "chunks" constant FieldBucket (line 42) | FieldBucket = "bucket" constant FieldFileKey (line 45) | FieldFileKey = "fileKey" FILE: pkg/logger/logger.go type Config (line 32) | type Config struct function NewLogger (line 53) | func NewLogger(lc Config) (*zap.Logger, error) { function L (line 94) | func L() *zap.Logger { function SetLevel (line 99) | func SetLevel(l zapcore.Level) { function S (line 104) | func S() *zap.SugaredLogger { function Nop (line 109) | func Nop() *zap.Logger { FILE: pkg/logger/logger_test.go function TestLoggerInitialization (line 12) | func TestLoggerInitialization(t *testing.T) { function TestNewLogger (line 24) | func TestNewLogger(t *testing.T) { FILE: pkg/order/order_sn.go function Generate (line 18) | func Generate(t time.Time) string { function sup (line 33) | func sup(i int64, n int) string { FILE: pkg/order/order_sn_test.go function TestOrderGenerate (line 10) | func TestOrderGenerate(t *testing.T) { FILE: pkg/rand/slice.go function init (line 11) | func init() { function RandomStrSliceOne (line 16) | func RandomStrSliceOne(s []string) string { function GetRandString (line 20) | func GetRandString(length int) string { FILE: pkg/rand/slice_test.go function TestRandomStrSliceOne (line 9) | func TestRandomStrSliceOne(t *testing.T) { function TestGetRandString (line 20) | func TestGetRandString(t *testing.T) { FILE: pkg/safe_close/safe_close.go type SafeClose (line 31) | type SafeClose struct method WaitClosed (line 46) | func (s *SafeClose) WaitClosed() error { method SendCloseSignal (line 55) | func (s *SafeClose) SendCloseSignal(err error) { method ReceiveCloseSignal (line 66) | func (s *SafeClose) ReceiveCloseSignal() <-chan struct{} { method Attach (line 73) | func (s *SafeClose) Attach(f func(done func(), closeSignal <-chan stru... function NewSafeClose (line 38) | func NewSafeClose() *SafeClose { FILE: pkg/safe_close/safe_close_test.go function TestSafeClose_BasicFlow (line 12) | func TestSafeClose_BasicFlow(t *testing.T) { function TestSafeClose_AttachAfterClose (line 43) | func TestSafeClose_AttachAfterClose(t *testing.T) { function TestSafeClose_MultipleSend (line 61) | func TestSafeClose_MultipleSend(t *testing.T) { FILE: pkg/shortlink/sink_cool.go type SinkCoolClient (line 12) | type SinkCoolClient struct method Create (line 38) | func (c *SinkCoolClient) Create(url string, expiresAt time.Time, passw... type CreateRequest (line 17) | type CreateRequest struct type CreateResponse (line 25) | type CreateResponse struct function NewSinkCoolClient (line 31) | func NewSinkCoolClient(baseURL, apiKey string) *SinkCoolClient { FILE: pkg/shortlink/sink_cool_test.go function TestSinkCoolClient_Create (line 13) | func TestSinkCoolClient_Create(t *testing.T) { function TestSinkCoolClient_ErrorHandling (line 49) | func TestSinkCoolClient_ErrorHandling(t *testing.T) { FILE: pkg/storage/aliyun_oss/delete.go method Delete (line 7) | func (p *OSS) Delete(fileKey string) error { FILE: pkg/storage/aliyun_oss/operation.go method GetBucket (line 13) | func (p *OSS) GetBucket(bucketName string) error { method SendFile (line 23) | func (p *OSS) SendFile(fileKey string, file io.Reader, itype string, mod... method SendContent (line 44) | func (p *OSS) SendContent(fileKey string, content []byte, modTime time.T... FILE: pkg/storage/aliyun_oss/oss.go type Config (line 7) | type Config struct type OSS (line 15) | type OSS struct function NewClient (line 23) | func NewClient(conf *Config) (*OSS, error) { FILE: pkg/storage/aliyun_oss/oss_test.go function TestNewClient (line 9) | func TestNewClient(t *testing.T) { FILE: pkg/storage/aws_s3/delete.go method Delete (line 12) | func (p *S3) Delete(fileKey string) error { FILE: pkg/storage/aws_s3/operation.go method GetBucket (line 19) | func (p *S3) GetBucket(bucketName string) string { method SendFile (line 31) | func (p *S3) SendFile(fileKey string, file io.Reader, itype string, modT... method SendContent (line 62) | func (p *S3) SendContent(fileKey string, content []byte, modTime time.Ti... FILE: pkg/storage/aws_s3/s3.go type Config (line 13) | type Config struct type S3 (line 21) | type S3 struct function NewClient (line 29) | func NewClient(conf *Config) (*S3, error) { FILE: pkg/storage/aws_s3/s3_test.go function TestNewClient (line 9) | func TestNewClient(t *testing.T) { FILE: pkg/storage/cloudflare_r2/delete.go method Delete (line 12) | func (p *R2) Delete(fileKey string) error { FILE: pkg/storage/cloudflare_r2/operation.go method GetBucket (line 19) | func (p *R2) GetBucket(bucketName string) string { method SendFile (line 31) | func (p *R2) SendFile(fileKey string, file io.Reader, itype string, modT... method SendContent (line 60) | func (p *R2) SendContent(fileKey string, content []byte, modTime time.Ti... FILE: pkg/storage/cloudflare_r2/r2.go type Config (line 15) | type Config struct type R2 (line 23) | type R2 struct function NewClient (line 31) | func NewClient(conf *Config) (*R2, error) { FILE: pkg/storage/cloudflare_r2/r2_test.go function TestNewClient (line 9) | func TestNewClient(t *testing.T) { FILE: pkg/storage/local_fs/delete.go method Delete (line 10) | func (p *LocalFS) Delete(fileKey string) error { FILE: pkg/storage/local_fs/local.go type Config (line 3) | type Config struct type LocalFS (line 8) | type LocalFS struct function NewClient (line 13) | func NewClient(conf *Config) (*LocalFS, error) { FILE: pkg/storage/local_fs/operation.go method CheckSave (line 15) | func (p *LocalFS) CheckSave() error { method getSavePath (line 31) | func (p *LocalFS) getSavePath() string { method SendFile (line 38) | func (p *LocalFS) SendFile(fileKey string, file io.Reader, itype string,... method SendContent (line 70) | func (p *LocalFS) SendContent(fileKey string, content []byte, modTime ti... FILE: pkg/storage/local_fs/operation_test.go function TestLocalFS_SendFile (line 11) | func TestLocalFS_SendFile(t *testing.T) { function TestLocalFS_SendContent (line 65) | func TestLocalFS_SendContent(t *testing.T) { FILE: pkg/storage/minio/delete.go method Delete (line 12) | func (p *MinIO) Delete(fileKey string) error { FILE: pkg/storage/minio/minio.go type Config (line 14) | type Config struct type MinIO (line 23) | type MinIO struct function NewClient (line 31) | func NewClient(conf *Config) (*MinIO, error) { FILE: pkg/storage/minio/minio_test.go function TestNewClient (line 9) | func TestNewClient(t *testing.T) { FILE: pkg/storage/minio/operation.go method GetBucket (line 20) | func (p *MinIO) GetBucket(bucketName string) string { method SendFile (line 32) | func (p *MinIO) SendFile(fileKey string, file io.Reader, itype string, m... method SendContent (line 63) | func (p *MinIO) SendContent(fileKey string, content []byte, modTime time... FILE: pkg/storage/storage.go constant OSS (line 20) | OSS CloudType = "oss" constant R2 (line 21) | R2 CloudType = "r2" constant S3 (line 22) | S3 CloudType = "s3" constant LOCAL (line 23) | LOCAL Type = "localfs" constant MinIO (line 24) | MinIO CloudType = "minio" constant WebDAV (line 25) | WebDAV CloudType = "webdav" type Config (line 44) | type Config struct type Storager (line 66) | type Storager interface function NewClient (line 72) | func NewClient(config *Config) (Storager, error) { FILE: pkg/storage/storage_test.go function TestNewClient_Local (line 10) | func TestNewClient_Local(t *testing.T) { function TestNewClient_Invalid (line 31) | func TestNewClient_Invalid(t *testing.T) { FILE: pkg/storage/webdav/delete.go method Delete (line 7) | func (w *WebDAV) Delete(fileKey string) error { FILE: pkg/storage/webdav/operation.go method setModifiedTime (line 18) | func (w *WebDAV) setModifiedTime(pathKey string, modTime time.Time) error { method SendFile (line 59) | func (w *WebDAV) SendFile(fileKey string, file io.Reader, itype string, ... method SendContent (line 90) | func (w *WebDAV) SendContent(fileKey string, content []byte, modTime tim... FILE: pkg/storage/webdav/webdav.go type Config (line 8) | type Config struct type WebDAV (line 16) | type WebDAV struct function NewClient (line 24) | func NewClient(conf *Config) (*WebDAV, error) { FILE: pkg/storage/webdav/webdav_test.go function TestNewClient (line 9) | func TestNewClient(t *testing.T) { FILE: pkg/timex/time.go constant TimeFormat (line 10) | TimeFormat = "2006-01-02 15:04:05" type Time (line 12) | type Time method UnmarshalJSON (line 14) | func (t *Time) UnmarshalJSON(data []byte) (err error) { method MarshalJSON (line 25) | func (t Time) MarshalJSON() ([]byte, error) { method IsZero (line 38) | func (t *Time) IsZero() bool { method Value (line 42) | func (t Time) Value() (driver.Value, error) { method Scan (line 52) | func (t *Time) Scan(v any) error { method String (line 62) | func (t Time) String() string { method StringSource (line 66) | func (t Time) StringSource() string { method Unix (line 76) | func (t Time) Unix() int64 { method UnixMilli (line 82) | func (t Time) UnixMilli() int64 { method UnixMicro (line 88) | func (t Time) UnixMicro() int64 { method UnixNano (line 94) | func (t Time) UnixNano() int64 { method After (line 99) | func (t Time) After(u Time) bool { method Before (line 105) | func (t Time) Before(u Time) bool { method Equal (line 116) | func (t Time) Equal(u Time) bool { method Add (line 122) | func (t Time) Add(d time.Duration) Time { function Now (line 70) | func Now() Time { function Since (line 127) | func Since(t Time) time.Duration { FILE: pkg/timex/time_test.go function TestTime_UnixMethods (line 8) | func TestTime_UnixMethods(t *testing.T) { FILE: pkg/tracer/tracer.go function NewJaegerTracer (line 11) | func NewJaegerTracer(serviceName, agentHostPort string) (opentracing.Tra... FILE: pkg/tracer/tracer_test.go function TestNewJaegerTracer (line 9) | func TestNewJaegerTracer(t *testing.T) { FILE: pkg/util/archive.go function Zip (line 13) | func Zip(source, target string) error { function ZipBytes (line 82) | func ZipBytes(files map[string][]byte, target string) error { FILE: pkg/util/array.go function GetIndexSlice (line 11) | func GetIndexSlice(arr []string, val string) int { function InSlice (line 25) | func InSlice[T comparable](slice []T, item T) bool { function Inarray (line 39) | func Inarray(arr []string, val string) bool { function ArrayUnique (line 47) | func ArrayUnique(arr []string) []string { function RemoveDuplicate (line 63) | func RemoveDuplicate(strSlice []string) []string { function IntersectionInt (line 80) | func IntersectionInt(a, b []int) []int { FILE: pkg/util/converter.go function StrToMap (line 13) | func StrToMap(str string) map[string]string { function StrToInt (line 34) | func StrToInt(str string) int { function IntSliceToStringSlice (line 49) | func IntSliceToStringSlice(intSlice []int) []string { function StringToInt64 (line 61) | func StringToInt64(s string) int64 { function ParseSize (line 68) | func ParseSize(sizeStr string, defaultSize int64) int64 { function IntSliceToStrSlice (line 99) | func IntSliceToStrSlice(list []int) []string { FILE: pkg/util/crypto.go constant tokenLimit (line 13) | tokenLimit = 10 constant tokenStart (line 14) | tokenStart = 8 constant tokenEnd (line 15) | tokenEnd = 18 function AuthCodeEncrypt (line 18) | func AuthCodeEncrypt(token string, action string, key string) (out strin... function AuthDzCodeEncrypt (line 73) | func AuthDzCodeEncrypt(str, operation, key string, expiry int64) (string... function base64Encode (line 205) | func base64Encode(s string) string { function base64Decode (line 213) | func base64Decode(s string) string { function XorEncodeStr (line 227) | func XorEncodeStr(msg []byte, key []byte) (out []byte) { function XorEncodeStrRune (line 241) | func XorEncodeStrRune(msg []rune, key []rune) (out []rune) { FILE: pkg/util/frontmatter.go constant frontmatterDelimiter (line 11) | frontmatterDelimiter = "---" function ParseFrontmatter (line 17) | func ParseFrontmatter(content string) (yamlData map[string]interface{}, ... function MergeFrontmatter (line 80) | func MergeFrontmatter(existing, updates map[string]interface{}, removeKe... function ReconstructContent (line 106) | func ReconstructContent(yamlData map[string]interface{}, body string) st... FILE: pkg/util/frontmatter_test.go function TestParseFrontmatter (line 8) | func TestParseFrontmatter(t *testing.T) { FILE: pkg/util/hash.go function EncodeMD5 (line 16) | func EncodeMD5(str string) string { function EncodeHash32 (line 24) | func EncodeHash32(content string) string { constant FileHashThreshold (line 41) | FileHashThreshold = 100 * 1024 * 1024 constant FileHashSliceSize (line 44) | FileHashSliceSize = 50 * 1024 * 1024 function EncodeHash32Bytes (line 51) | func EncodeHash32Bytes(data []byte) string { FILE: pkg/util/hash_test.go function TestHashConsistency (line 7) | func TestHashConsistency(t *testing.T) { function TestHashBytesConsistency (line 28) | func TestHashBytesConsistency(t *testing.T) { FILE: pkg/util/link_parser.go type WikiLink (line 8) | type WikiLink struct function ParseWikiLinks (line 25) | func ParseWikiLinks(content string) []WikiLink { FILE: pkg/util/link_parser_test.go function TestParseWikiLinks (line 8) | func TestParseWikiLinks(t *testing.T) { function TestParseWikiLinks_ComplexContent (line 192) | func TestParseWikiLinks_ComplexContent(t *testing.T) { FILE: pkg/util/machine.go function GetMachineID (line 25) | func GetMachineID() string { function getMotherboardID (line 58) | func getMotherboardID() (string, error) { function parseSerialNumber (line 94) | func parseSerialNumber(output string) string { FILE: pkg/util/math.go function Ceil (line 5) | func Ceil(a, b int64) int64 { FILE: pkg/util/password.go function GeneratePasswordHash (line 11) | func GeneratePasswordHash(password string) (string, error) { function CheckPasswordHash (line 21) | func CheckPasswordHash(hash, password string) bool { FILE: pkg/util/path.go function ApplyDefaultFolder (line 24) | func ApplyDefaultFolder(path, defaultFolder string) string { function GeneratePathVariations (line 39) | func GeneratePathVariations(path string) []string { function ValidatePath (line 66) | func ValidatePath(path string) bool { function NormalizePath (line 91) | func NormalizePath(path string) string { function CopyFile (line 102) | func CopyFile(src, dst string) error { function MoveFile (line 121) | func MoveFile(src, dst string) error { FILE: pkg/util/random.go function GenerateRandomNumber (line 19) | func GenerateRandomNumber(start int, end int, count int) []int { function InArray (line 43) | func InArray(nums []int, num int) bool { function GenerateRandomSingleNumber (line 60) | func GenerateRandomSingleNumber(start int, end int) int { function GetRandomString (line 70) | func GetRandomString(length int) string { FILE: pkg/util/runtime.go function WhoCalled (line 5) | func WhoCalled() string { FILE: pkg/util/sys_info.go function GetOSPrettyName (line 13) | func GetOSPrettyName() string { function getLinuxPrettyName (line 28) | func getLinuxPrettyName() string { function getWindowsVersion (line 49) | func getWindowsVersion() string { function getMacOSVersion (line 60) | func getMacOSVersion() string { FILE: pkg/util/time.go function GetFirstDateOfMonth (line 15) | func GetFirstDateOfMonth(d time.Time) time.Time { function GetLastDateOfMonth (line 26) | func GetLastDateOfMonth(d time.Time) time.Time { function GetZeroTime (line 36) | func GetZeroTime(d time.Time) time.Time { function GetEndTime (line 46) | func GetEndTime(d time.Time) time.Time { function GetLastDateOfNextMonth (line 56) | func GetLastDateOfNextMonth(d time.Time) time.Time { function Wait (line 64) | func Wait(num float32) { function TimeParse (line 77) | func TimeParse(layout string, in string) time.Time { function ParseDuration (line 85) | func ParseDuration(s string) (time.Duration, error) { FILE: pkg/util/tokenizer.go function Tokenize (line 12) | func Tokenize(text string) []string { function isCJK (line 57) | func isCJK(r rune) bool { function UniqueStrings (line 66) | func UniqueStrings(slice []string) []string { FILE: pkg/util/validator.go function IsValidEmail (line 13) | func IsValidEmail(email string) bool { function IsValidUsername (line 27) | func IsValidUsername(username string) bool { FILE: pkg/validator/custom_validator.go type CustomValidator (line 13) | type CustomValidator struct method ValidateStruct (line 22) | func (v *CustomValidator) ValidateStruct(obj interface{}) error { method Engine (line 33) | func (v *CustomValidator) Engine() interface{} { method lazyinit (line 38) | func (v *CustomValidator) lazyinit() { function NewCustomValidator (line 18) | func NewCustomValidator() *CustomValidator { function kindOfData (line 45) | func kindOfData(data interface{}) reflect.Kind { function RegisterCustom (line 55) | func RegisterCustom() { function ValidateJSONDateType (line 63) | func ValidateJSONDateType(field reflect.Value) interface{} { FILE: pkg/validator/custom_validator_test.go type TestStruct (line 13) | type TestStruct struct function TestCustomValidator_ValidateStruct (line 18) | func TestCustomValidator_ValidateStruct(t *testing.T) { function TestCustomValidator_Engine (line 42) | func TestCustomValidator_Engine(t *testing.T) { function TestValidateJSONDateType (line 52) | func TestValidateJSONDateType(t *testing.T) { FILE: pkg/workerpool/pool.go type Config (line 36) | type Config struct function DefaultConfig (line 53) | func DefaultConfig() Config { type taskWrapper (line 64) | type taskWrapper struct type Pool (line 72) | type Pool struct method worker (line 147) | func (p *Pool) worker(id int) { method executeTask (line 165) | func (p *Pool) executeTask(task taskWrapper) { method checkWarningThreshold (line 197) | func (p *Pool) checkWarningThreshold() { method Submit (line 213) | func (p *Pool) Submit(ctx context.Context, fn func(context.Context) er... method SubmitAsync (line 256) | func (p *Pool) SubmitAsync(ctx context.Context, fn func(context.Contex... method ActiveCount (line 283) | func (p *Pool) ActiveCount() int64 { method QueuedCount (line 289) | func (p *Pool) QueuedCount() int { method IsClosed (line 295) | func (p *Pool) IsClosed() bool { method Shutdown (line 305) | func (p *Pool) Shutdown(ctx context.Context) error { method GetMetrics (line 355) | func (p *Pool) GetMetrics() Metrics { function New (line 94) | func New(cfg *Config, logger *zap.Logger) *Pool { type Metrics (line 345) | type Metrics struct FILE: pkg/workerpool/pool_test.go function TestPool_Submit (line 12) | func TestPool_Submit(t *testing.T) { function TestPool_SubmitAsync (line 31) | func TestPool_SubmitAsync(t *testing.T) { function TestPool_Shutdown (line 51) | func TestPool_Shutdown(t *testing.T) { FILE: pkg/writequeue/manager.go type Config (line 33) | type Config struct function DefaultConfig (line 47) | func DefaultConfig() Config { type writeOp (line 57) | type writeOp struct type userWriteQueue (line 65) | type userWriteQueue struct type Manager (line 79) | type Manager struct method Execute (line 153) | func (m *Manager) Execute(ctx context.Context, key string, fn func() e... method getOrCreateQueue (line 213) | func (m *Manager) getOrCreateQueue(key string) *userWriteQueue { method worker (line 273) | func (m *Manager) worker(queue *userWriteQueue) { method executeOp (line 304) | func (m *Manager) executeOp(queue *userWriteQueue, op writeOp) { method drainQueue (line 332) | func (m *Manager) drainQueue(queue *userWriteQueue) { method cleanupIdleQueues (line 348) | func (m *Manager) cleanupIdleQueues() { method doCleanup (line 368) | func (m *Manager) doCleanup() { method Shutdown (line 405) | func (m *Manager) Shutdown(ctx context.Context) error { method QueueCount (line 470) | func (m *Manager) QueueCount() int { method QueuedCount (line 484) | func (m *Manager) QueuedCount(key string) int { method IsClosed (line 494) | func (m *Manager) IsClosed() bool { method GetMetrics (line 510) | func (m *Manager) GetMetrics() Metrics { function New (line 103) | func New(cfg *Config, logger *zap.Logger) *Manager { type Metrics (line 502) | type Metrics struct FILE: pkg/writequeue/manager_test.go function TestManager_ExecuteSequential (line 12) | func TestManager_ExecuteSequential(t *testing.T) { function TestManager_MultipleUsers (line 36) | func TestManager_MultipleUsers(t *testing.T) { function TestManager_Shutdown (line 64) | func TestManager_Shutdown(t *testing.T) { FILE: scripts/db.sql type "user" (line 9) | CREATE TABLE "user" ( type `idx_pre_user_email` (line 23) | CREATE INDEX `idx_pre_user_email` ON "user"(`email`) type "vault" (line 27) | CREATE TABLE "vault" ( type "vault" (line 39) | CREATE INDEX "idx_vault_uid" ON "vault" ("vault" ASC) type "note" (line 43) | CREATE TABLE "note" ( type "note" (line 68) | CREATE INDEX "idx_vault_id_action_fid" ON "note" ("vault_id", "action", ... type "note" (line 70) | CREATE INDEX "idx_vault_id_action_rename" ON "note" ("vault_id", "action... type "note" (line 72) | CREATE INDEX "idx_vault_id_rename" ON "note" ("vault_id", "rename" DESC) type "note" (line 74) | CREATE INDEX "idx_vault_id_updated_at" ON "note" ("vault_id", "updated_a... type "note" (line 76) | CREATE INDEX "idx_vault_id_updated_timestamp" ON "note" ("vault_id", "up... type `idx_vault_id_path` (line 78) | CREATE INDEX `idx_vault_id_path` ON `note`(`vault_id`, `path`) type "note_history" (line 82) | CREATE TABLE "note_history" ( type "note_history" (line 98) | CREATE INDEX "idx_note_history_note_id" ON "note_history" ("note_id") type "note_history" (line 100) | CREATE INDEX "idx_note_history_version" ON "note_history" ("note_id", "v... type "note_history" (line 102) | CREATE INDEX "idx_note_history_content_hash" ON "note_history" ("note_id... type "file" (line 106) | CREATE TABLE "file" ( type "file" (line 125) | CREATE INDEX "idx_file_vault_id_action_fid" ON "file" ("vault_id", "acti... type "file" (line 127) | CREATE INDEX "idx_file_vault_id_path_hash" ON "file" ("vault_id", "path_... type "file" (line 129) | CREATE INDEX "idx_file_vault_id_action_rename" ON "file" ("vault_id", "a... type "file" (line 131) | CREATE INDEX "idx_file_vault_id_rename" ON "file" ("vault_id", "rename" ... type "file" (line 134) | CREATE INDEX "idx_file_vault_id_updated_at" ON "file" ("vault_id", "upda... type "file" (line 136) | CREATE INDEX "idx_file_vault_id_updated_timestamp" ON "file" ("vault_id"... type `idx_file_vault_id_path` (line 138) | CREATE INDEX `idx_file_vault_id_path` ON `file`(`vault_id`, `path`) type "setting" (line 142) | CREATE TABLE "setting" ( type "setting" (line 159) | CREATE INDEX "idx_setting_id_path_hash" ON "setting" ("id", "path_hash" ... type "setting" (line 161) | CREATE INDEX "idx_setting_id_updated_at" ON "setting" ("id", "updated_at... type "setting" (line 163) | CREATE INDEX "idx_setting_id_updated_timestamp" ON "setting" ("id", "upd... type `idx_setting_id_path` (line 165) | CREATE INDEX `idx_setting_id_path` ON `setting`(`id`, `path`) type "user_share" (line 169) | CREATE TABLE "user_share" ( type "user_share" (line 190) | CREATE INDEX "idx_user_share_uid" ON "user_share" ("uid") type "user_share" (line 192) | CREATE INDEX "idx_user_share_res_type_id" ON "user_share" ("res_type", "... type "note_link" (line 199) | CREATE TABLE "note_link" ( type "note_link" (line 211) | CREATE INDEX "idx_source_note" ON "note_link" ("source_note_id") type "note_link" (line 213) | CREATE INDEX "idx_target_path_hash" ON "note_link" ("target_path_hash", ... type "folder" (line 217) | CREATE TABLE "folder" ( type "folder" (line 234) | CREATE INDEX "idx_folder_vault_id_path_hash" ON "folder" ("vault_id", "p... type `idx_folder_vault_id_path` (line 236) | CREATE INDEX `idx_folder_vault_id_path` ON `folder`(`vault_id`, `path`) type "folder" (line 238) | CREATE INDEX "idx_folder_vault_id_fid_path" ON "folder" ("vault_id", "fi... type "folder" (line 240) | CREATE INDEX "idx_folder_vault_id_level_path" ON "folder" ("vault_id", "... type "folder" (line 242) | CREATE INDEX "idx_folder_vault_id_updated_timestamp" ON "folder" ("vault... type "storage" (line 246) | CREATE TABLE "storage" ( type "storage" (line 267) | CREATE INDEX "idx_storage_uid" ON "storage" ("uid" DESC) type "backup_config" (line 274) | CREATE TABLE "backup_config" ( type "backup_config" (line 299) | CREATE INDEX "idx_backup_config_uid" ON "backup_config" ("uid") type "backup_config" (line 301) | CREATE INDEX "idx_backup_config_next_run_time" ON "backup_config" ("next... type "backup_history" (line 308) | CREATE TABLE "backup_history" ( type "backup_history" (line 329) | CREATE INDEX "idx_backup_history_uid" ON "backup_history" ("uid", "creat... type "backup_history" (line 331) | CREATE INDEX "idx_backup_history_config_id" ON "backup_history" ("config... type "git_sync_config" (line 338) | CREATE TABLE "git_sync_config" ( type "git_sync_config" (line 366) | CREATE INDEX "idx_git_sync_config_uid" ON "git_sync_config" ("uid") type "git_sync_history" (line 373) | CREATE TABLE "git_sync_history" ( type "git_sync_history" (line 386) | CREATE INDEX "idx_git_sync_history_uid" ON "git_sync_history" ("uid", "c... type "git_sync_history" (line 388) | CREATE INDEX "idx_git_sync_history_config_id" ON "git_sync_history" ("co... type "sync_log" (line 395) | CREATE TABLE "sync_log" ( type "sync_log" (line 413) | CREATE INDEX "idx_sync_log_uid_created_at" ON "sync_log" ("uid", "creat... type "sync_log" (line 414) | CREATE INDEX "idx_sync_log_uid_type_action" ON "sync_log" ("uid", "type"... FILE: scripts/gen_support_md.js function translateBatch (line 64) | function translateBatch(texts, targetLang) { function genMarkdown (line 112) | async function genMarkdown() { function parseCsvLine (line 227) | function parseCsvLine(line) { FILE: scripts/process_support.py function translate_texts (line 31) | def translate_texts(texts, target_lang): function generate_json (line 49) | def generate_json(data, translation_map, lang_code): function generate_md (line 67) | def generate_md(data, lang_code, translation_map): function main (line 92) | def main(): FILE: scripts/process_support_csv.js function findLatestSourceFile (line 8) | function findLatestSourceFile() { function processCsv (line 29) | function processCsv() { function parseCsvLine (line 99) | function parseCsvLine(line) { function formatCsvField (line 118) | function formatCsvField(field) { FILE: scripts/translate_commit.py function main (line 5) | def main(): FILE: scripts/translate_support.py function main (line 7) | def main(): FILE: scripts/update-version.js function readGoVersion (line 25) | function readGoVersion(filePath) { function writeGoVersion (line 42) | function writeGoVersion(filePath, newVersion) { function isValidSemver (line 59) | function isValidSemver(v) { function bumpVersion (line 70) | function bumpVersion(current, part) { function updateFileVersion (line 89) | function updateFileVersion(filePath, targetVersion, bumpOption) {