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(function (global, factory) {2 typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :3 typeof define === 'function' && define.amd ? define(['exports'], factory) :4 (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.FloatingUIUtilsDOM = {}));5})(this, (function (exports) { 'use strict';6 7 function hasWindow() {8 return typeof window !== 'undefined';9 }10 function getNodeName(node) {11 if (isNode(node)) {12 return (node.nodeName || '').toLowerCase();13 }14 // Mocked nodes in testing environments may not be instances of Node. By15 // returning `#document` an infinite loop won't occur.16 // https://github.com/floating-ui/floating-ui/issues/231717 return '#document';18 }19 function getWindow(node) {20 var _node$ownerDocument;21 return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;22 }23 function getDocumentElement(node) {24 var _ref;25 return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;26 }27 function isNode(value) {28 if (!hasWindow()) {29 return false;30 }31 return value instanceof Node || value instanceof getWindow(value).Node;32 }33 function isElement(value) {34 if (!hasWindow()) {35 return false;36 }37 return value instanceof Element || value instanceof getWindow(value).Element;38 }39 function isHTMLElement(value) {40 if (!hasWindow()) {41 return false;42 }43 return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;44 }45 function isShadowRoot(value) {46 if (!hasWindow() || typeof ShadowRoot === 'undefined') {47 return false;48 }49 return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;50 }51 function isOverflowElement(element) {52 const {53 overflow,54 overflowX,55 overflowY,56 display57 } = getComputedStyle(element);58 return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';59 }60 function isTableElement(element) {61 return /^(table|td|th)$/.test(getNodeName(element));62 }63 function isTopLayer(element) {64 try {65 if (element.matches(':popover-open')) {66 return true;67 }68 } catch (_e) {69 // no-op70 }71 try {72 return element.matches(':modal');73 } catch (_e) {74 return false;75 }76 }77 const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;78 const containRe = /paint|layout|strict|content/;79 const isNotNone = value => !!value && value !== 'none';80 let isWebKitValue;81 function isContainingBlock(elementOrCss) {82 const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;83 84 // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block85 // https://drafts.csswg.org/css-transforms-2/#individual-transforms86 return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');87 }88 function getContainingBlock(element) {89 let currentNode = getParentNode(element);90 while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {91 if (isContainingBlock(currentNode)) {92 return currentNode;93 } else if (isTopLayer(currentNode)) {94 return null;95 }96 currentNode = getParentNode(currentNode);97 }98 return null;99 }100 function isWebKit() {101 if (isWebKitValue == null) {102 isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');103 }104 return isWebKitValue;105 }106 function isLastTraversableNode(node) {107 return /^(html|body|#document)$/.test(getNodeName(node));108 }109 function getComputedStyle(element) {110 return getWindow(element).getComputedStyle(element);111 }112 function getNodeScroll(element) {113 if (isElement(element)) {114 return {115 scrollLeft: element.scrollLeft,116 scrollTop: element.scrollTop117 };118 }119 return {120 scrollLeft: element.scrollX,121 scrollTop: element.scrollY122 };123 }124 function getParentNode(node) {125 if (getNodeName(node) === 'html') {126 return node;127 }128 const result =129 // Step into the shadow DOM of the parent of a slotted node.130 node.assignedSlot ||131 // DOM Element detected.132 node.parentNode ||133 // ShadowRoot detected.134 isShadowRoot(node) && node.host ||135 // Fallback.136 getDocumentElement(node);137 return isShadowRoot(result) ? result.host : result;138 }139 function getNearestOverflowAncestor(node) {140 const parentNode = getParentNode(node);141 if (isLastTraversableNode(parentNode)) {142 return node.ownerDocument ? node.ownerDocument.body : node.body;143 }144 if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {145 return parentNode;146 }147 return getNearestOverflowAncestor(parentNode);148 }149 function getOverflowAncestors(node, list, traverseIframes) {150 var _node$ownerDocument2;151 if (list === void 0) {152 list = [];153 }154 if (traverseIframes === void 0) {155 traverseIframes = true;156 }157 const scrollableAncestor = getNearestOverflowAncestor(node);158 const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);159 const win = getWindow(scrollableAncestor);160 if (isBody) {161 const frameElement = getFrameElement(win);162 return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);163 } else {164 return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));165 }166 }167 function getFrameElement(win) {168 return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;169 }170 171 exports.getComputedStyle = getComputedStyle;172 exports.getContainingBlock = getContainingBlock;173 exports.getDocumentElement = getDocumentElement;174 exports.getFrameElement = getFrameElement;175 exports.getNearestOverflowAncestor = getNearestOverflowAncestor;176 exports.getNodeName = getNodeName;177 exports.getNodeScroll = getNodeScroll;178 exports.getOverflowAncestors = getOverflowAncestors;179 exports.getParentNode = getParentNode;180 exports.getWindow = getWindow;181 exports.isContainingBlock = isContainingBlock;182 exports.isElement = isElement;183 exports.isHTMLElement = isHTMLElement;184 exports.isLastTraversableNode = isLastTraversableNode;185 exports.isNode = isNode;186 exports.isOverflowElement = isOverflowElement;187 exports.isShadowRoot = isShadowRoot;188 exports.isTableElement = isTableElement;189 exports.isTopLayer = isTopLayer;190 exports.isWebKit = isWebKit;191 192}));193 