pinned:options?.sticky||!this.accessor.partOptions.enablePreview||editor.isDirty()||(options?.pinned??typeofoptions?.index==='number'/* unless specified, prefer to pin when opening with index */)||(typeofoptions?.index==='number'&&this.model.isSticky(options.index)),