Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1"use strict";2var __defProp = Object.defineProperty;3var __getOwnPropDesc = Object.getOwnPropertyDescriptor;4var __getOwnPropNames = Object.getOwnPropertyNames;5var __hasOwnProp = Object.prototype.hasOwnProperty;6var __export = (target, all) => {7 for (var name in all)8 __defProp(target, name, { get: all[name], enumerable: true });9};10var __copyProps = (to, from, except, desc) => {11 if (from && typeof from === "object" || typeof from === "function") {12 for (let key of __getOwnPropNames(from))13 if (!__hasOwnProp.call(to, key) && key !== except)14 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });15 }16 return to;17};18var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);19var selectors_exports = {};20__export(selectors_exports, {21 Selectors: () => Selectors22});23module.exports = __toCommonJS(selectors_exports);24var import_crypto = require("./utils/crypto");25var import_selectorParser = require("../utils/isomorphic/selectorParser");26class Selectors {27 constructor(engines, testIdAttributeName) {28 this.guid = `selectors@${(0, import_crypto.createGuid)()}`;29 this._builtinEngines = /* @__PURE__ */ new Set([30 "css",31 "css:light",32 "xpath",33 "xpath:light",34 "_react",35 "_vue",36 "text",37 "text:light",38 "id",39 "id:light",40 "data-testid",41 "data-testid:light",42 "data-test-id",43 "data-test-id:light",44 "data-test",45 "data-test:light",46 "nth",47 "visible",48 "internal:control",49 "internal:has",50 "internal:has-not",51 "internal:has-text",52 "internal:has-not-text",53 "internal:and",54 "internal:or",55 "internal:chain",56 "role",57 "internal:attr",58 "internal:label",59 "internal:text",60 "internal:role",61 "internal:testid",62 "internal:describe",63 "aria-ref"64 ]);65 this._builtinEnginesInMainWorld = /* @__PURE__ */ new Set([66 "_react",67 "_vue"68 ]);69 this._engines = /* @__PURE__ */ new Map();70 this._testIdAttributeName = testIdAttributeName ?? "data-testid";71 for (const engine of engines)72 this.register(engine);73 }74 register(engine) {75 if (!engine.name.match(/^[a-zA-Z_0-9-]+$/))76 throw new Error("Selector engine name may only contain [a-zA-Z0-9_] characters");77 if (this._builtinEngines.has(engine.name) || engine.name === "zs" || engine.name === "zs:light")78 throw new Error(`"${engine.name}" is a predefined selector engine`);79 if (this._engines.has(engine.name))80 throw new Error(`"${engine.name}" selector engine has been already registered`);81 this._engines.set(engine.name, engine);82 }83 testIdAttributeName() {84 return this._testIdAttributeName;85 }86 setTestIdAttributeName(testIdAttributeName) {87 this._testIdAttributeName = testIdAttributeName;88 }89 parseSelector(selector, strict) {90 const parsed = typeof selector === "string" ? (0, import_selectorParser.parseSelector)(selector) : selector;91 let needsMainWorld = false;92 (0, import_selectorParser.visitAllSelectorParts)(parsed, (part) => {93 const name = part.name;94 const custom = this._engines.get(name);95 if (!custom && !this._builtinEngines.has(name))96 throw new import_selectorParser.InvalidSelectorError(`Unknown engine "${name}" while parsing selector ${(0, import_selectorParser.stringifySelector)(parsed)}`);97 if (custom && !custom.contentScript)98 needsMainWorld = true;99 if (this._builtinEnginesInMainWorld.has(name))100 needsMainWorld = true;101 });102 return {103 parsed,104 world: needsMainWorld ? "main" : "utility",105 strict106 };107 }108}109// Annotate the CommonJS export names for ESM import in node:1100 && (module.exports = {111 Selectors112});113 