File manager - Edit - /home/opticamezl/www/newok/sparql.zip
Back
PK 7=�\⽦ � � sparql.jsnu �[��� // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use strict"; CodeMirror.defineMode("sparql", function(config) { var indentUnit = config.indentUnit; var curPunc; function wordRegexp(words) { return new RegExp("^(?:" + words.join("|") + ")$", "i"); } var ops = wordRegexp(["str", "lang", "langmatches", "datatype", "bound", "sameterm", "isiri", "isuri", "iri", "uri", "bnode", "count", "sum", "min", "max", "avg", "sample", "group_concat", "rand", "abs", "ceil", "floor", "round", "concat", "substr", "strlen", "replace", "ucase", "lcase", "encode_for_uri", "contains", "strstarts", "strends", "strbefore", "strafter", "year", "month", "day", "hours", "minutes", "seconds", "timezone", "tz", "now", "uuid", "struuid", "md5", "sha1", "sha256", "sha384", "sha512", "coalesce", "if", "strlang", "strdt", "isnumeric", "regex", "exists", "isblank", "isliteral", "a", "bind"]); var keywords = wordRegexp(["base", "prefix", "select", "distinct", "reduced", "construct", "describe", "ask", "from", "named", "where", "order", "limit", "offset", "filter", "optional", "graph", "by", "asc", "desc", "as", "having", "undef", "values", "group", "minus", "in", "not", "service", "silent", "using", "insert", "delete", "union", "true", "false", "with", "data", "copy", "to", "move", "add", "create", "drop", "clear", "load", "into"]); var operatorChars = /[*+\-<>=&|\^\/!\?]/; var PN_CHARS = "[A-Za-z_\\-0-9]"; var PREFIX_START = new RegExp("[A-Za-z]"); var PREFIX_REMAINDER = new RegExp("((" + PN_CHARS + "|\\.)*(" + PN_CHARS + "))?:"); function tokenBase(stream, state) { var ch = stream.next(); curPunc = null; if (ch == "$" || ch == "?") { if(ch == "?" && stream.match(/\s/, false)){ return "operator"; } stream.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/); return "variable-2"; } else if (ch == "<" && !stream.match(/^[\s\u00a0=]/, false)) { stream.match(/^[^\s\u00a0>]*>?/); return "atom"; } else if (ch == "\"" || ch == "'") { state.tokenize = tokenLiteral(ch); return state.tokenize(stream, state); } else if (/[{}\(\),\.;\[\]]/.test(ch)) { curPunc = ch; return "bracket"; } else if (ch == "#") { stream.skipToEnd(); return "comment"; } else if (operatorChars.test(ch)) { return "operator"; } else if (ch == ":") { eatPnLocal(stream); return "atom"; } else if (ch == "@") { stream.eatWhile(/[a-z\d\-]/i); return "meta"; } else if (PREFIX_START.test(ch) && stream.match(PREFIX_REMAINDER)) { eatPnLocal(stream); return "atom"; } stream.eatWhile(/[_\w\d]/); var word = stream.current(); if (ops.test(word)) return "builtin"; else if (keywords.test(word)) return "keyword"; else return "variable"; } function eatPnLocal(stream) { stream.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i); } function tokenLiteral(quote) { return function(stream, state) { var escaped = false, ch; while ((ch = stream.next()) != null) { if (ch == quote && !escaped) { state.tokenize = tokenBase; break; } escaped = !escaped && ch == "\\"; } return "string"; }; } function pushContext(state, type, col) { state.context = {prev: state.context, indent: state.indent, col: col, type: type}; } function popContext(state) { state.indent = state.context.indent; state.context = state.context.prev; } return { startState: function() { return {tokenize: tokenBase, context: null, indent: 0, col: 0}; }, token: function(stream, state) { if (stream.sol()) { if (state.context && state.context.align == null) state.context.align = false; state.indent = stream.indentation(); } if (stream.eatSpace()) return null; var style = state.tokenize(stream, state); if (style != "comment" && state.context && state.context.align == null && state.context.type != "pattern") { state.context.align = true; } if (curPunc == "(") pushContext(state, ")", stream.column()); else if (curPunc == "[") pushContext(state, "]", stream.column()); else if (curPunc == "{") pushContext(state, "}", stream.column()); else if (/[\]\}\)]/.test(curPunc)) { while (state.context && state.context.type == "pattern") popContext(state); if (state.context && curPunc == state.context.type) { popContext(state); if (curPunc == "}" && state.context && state.context.type == "pattern") popContext(state); } } else if (curPunc == "." && state.context && state.context.type == "pattern") popContext(state); else if (/atom|string|variable/.test(style) && state.context) { if (/[\}\]]/.test(state.context.type)) pushContext(state, "pattern", stream.column()); else if (state.context.type == "pattern" && !state.context.align) { state.context.align = true; state.context.col = stream.column(); } } return style; }, indent: function(state, textAfter) { var firstChar = textAfter && textAfter.charAt(0); var context = state.context; if (/[\]\}]/.test(firstChar)) while (context && context.type == "pattern") context = context.prev; var closing = context && firstChar == context.type; if (!context) return 0; else if (context.type == "pattern") return context.col; else if (context.align) return context.col + (closing ? 0 : 1); else return context.indent + (closing ? 0 : indentUnit); }, lineComment: "#" }; }); CodeMirror.defineMIME("application/sparql-query", "sparql"); }); PK 7=�\@�8�� � sparql.min.js.gznu �[��� � �W[s�6~�_a! �)�M�PE�֎f�!/�vvf������M��P��8����v�w�s��FgN� ٺ��4ő���jƐY�)3���;�Lޔr8�l��FY�Q'q��j�d&����XDHک�PT��( {���Y����f�Ԑ��s���~��"GM-�jgU�����g�K�ꍰ_KD{�lo�=��:V:�����v�8X������H�ۣ��� F_�,E�:��(���cD^"�"-X�c/P�,��z� �pٕ�E�p�@�L�sDQ-*餭�L���cF� �69�e���Ш����C��u0�)ApmM��̌��[�o+��IU"����j;(�pݬ�����+�ܔ"�M&j�n��tY{�fF;�t�k'���R��l%ce���I��^ *�ݕ��Qte[G�)�ef��*�`4�q�"mn_��`��U�[X_��0���1L��&oON=nQ����������覒Ve����坪��^�B_�Y���(:�s�$��g�*ж��Pwޟ ��\�Ni?�2o2م< �άZ�����H-*/{{%=����RU �LQ�&�*�fi���� ݫ{o6����_�(�A�s �܈��q��E��}|�H{�<��*�Oצf��� Δ�|�� (r��e!J�ϭ� O��9���S�{~��Ln ��ʐE�������%�7�|��G����l�Ђ��/����%�����5;���x��t�1:.�ю� sBf)"Cɱ�2��t���d� l�nʒ:��K��8C��7aE:�m'�N��̐�H+��(���d��7��d�ŏ���/�~1����7��w^��݅��Ǽ9����dr>��|����{89���Ӝ7g��ɘ7�@g����/�aq1����b�گ� ����l�?L��o m�X�r|�|p���P�8�5 ��؇�@��^�������T�3��a~݇Y��\K�$��#tX���d�m9��x�|�Lb'k�]�2G�ʊ�Z��]����j�sL��� �o���ko&��l�~����)�?�T)q�����2Q��J:������'�d���|��)ԏb:�k���T�]Efhը�)�ҫa�Z�����1j�ڄk�}�0��-��%s�jIv���^��;�c�/��^F�1ysL�,�����r�j!�ϗ�@�E���'D��ԑma,>�Nh3� �]o #��d� �0��h��� ��OWV��V�����1�9j���G�Q;�� ��Nï��sl���&��4<�Rݽ�hf��Qx���R� B�W�k ��#�������ߜp2���ӳ�{���M}�M<�I�R/8��UXǵ)1�",��GQ?�E�֚yfE��� �^�W�� �P���mD&�P���ԟ)Z7b}���.�a81��I��o�N��!�H�%Ey�˦�SY����0��D���v"��"ɂ/y�ɾ�XRw��O � Ē�Z�KG�P�=����"P!����_T��^�@�م2��B2t�K�~;��dž���7~H_�_�������a+3%;0�=��K�q)t9���'���"�}T~I|HU�oC���E쓽a*�cAnE;ћ)����QX�f6IOH��s�NZZ*-�CŤ�j[B��o�� #�ٔ*�5���r㯍�� �ڑ�L���AD � PK 7=�\�AD � � sparql.min.jsnu �[��� (function(o){typeof exports=="object"&&typeof module=="object"?o(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],o):o(CodeMirror)})(function(o){"use strict";o.defineMode("sparql",function(s){var F=s.indentUnit,r;function a(n){return new RegExp("^(?:"+n.join("|")+")$","i")}var x=a(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),h=a(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]),v=/[*+\-<>=&|\^\/!\?]/,f="[A-Za-z_\\-0-9]",g=new RegExp("[A-Za-z]"),y=new RegExp("(("+f+"|\\.)*("+f+"))?:");function d(n,e){var t=n.next();if(r=null,t=="$"||t=="?")return t=="?"&&n.match(/\s/,!1)?"operator":(n.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variable-2");if(t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=m(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return r=t,"bracket";if(t=="#")return n.skipToEnd(),"comment";if(v.test(t))return"operator";if(t==":")return p(n),"atom";if(t=="@")return n.eatWhile(/[a-z\d\-]/i),"meta";if(g.test(t)&&n.match(y))return p(n),"atom";n.eatWhile(/[_\w\d]/);var i=n.current();return x.test(i)?"builtin":h.test(i)?"keyword":"variable"}function p(n){n.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function m(n){return function(e,t){for(var i=!1,u;(u=e.next())!=null;){if(u==n&&!i){t.tokenize=d;break}i=!i&&u=="\\"}return"string"}}function c(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function l(n){n.indent=n.context.indent,n.context=n.context.prev}return{startState:function(){return{tokenize:d,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),r=="(")c(e,")",n.column());else if(r=="[")c(e,"]",n.column());else if(r=="{")c(e,"}",n.column());else if(/[\]\}\)]/.test(r)){for(;e.context&&e.context.type=="pattern";)l(e);e.context&&r==e.context.type&&(l(e),r=="}"&&e.context&&e.context.type=="pattern"&&l(e))}else r=="."&&e.context&&e.context.type=="pattern"?l(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?c(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),i=n.context;if(/[\]\}]/.test(t))for(;i&&i.type=="pattern";)i=i.prev;var u=i&&t==i.type;return i?i.type=="pattern"?i.col:i.align?i.col+(u?0:1):i.indent+(u?0:F):0},lineComment:"#"}}),o.defineMIME("application/sparql-query","sparql")}); PK 7=�\⽦ � � sparql.jsnu �[��� PK 7=�\@�8�� � . sparql.min.js.gznu �[��� PK 7=�\�AD � � 3"