Server IP : 1.179.227.78 / Your IP : 10.104.4.41 Web Server : Apache System : Linux afdc-mdu34 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 User : www ( 1001) PHP Version : 7.4.30 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/afdc-mdu34.rtarf.mi.th/joomla/media/editors/codemirror/mode/elm/ |
Upload File : |
!(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})((function(a){"use strict";a.defineMode("elm",(function(){function a(a,b,c){return b(c),c(a,b)}function b(){return function(b,p){if(b.eatWhile(o))return null;var q=b.next();if(n.test(q))return"{"===q&&b.eat("-")?a(b,p,c(1)):"["===q&&b.match("glsl|")?a(b,p,g):"builtin";if("'"===q)return a(b,p,f);if('"'===q)return b.eat('"')?b.eat('"')?a(b,p,d):"string":a(b,p,e);if(i.test(q))return b.eatWhile(j),"variable-2";if(h.test(q)){var r=1===b.pos;return b.eatWhile(j),r?"def":"variable"}if(k.test(q)){if("0"===q){if(b.eat(/[xX]/))return b.eatWhile(l),"number"}else b.eatWhile(k);return b.eat(".")&&b.eatWhile(k),b.eat(/[eE]/)&&(b.eat(/[-+]/),b.eatWhile(k)),"number"}return m.test(q)?"-"===q&&b.eat("-")?(b.skipToEnd(),"comment"):(b.eatWhile(m),"keyword"):"_"===q?"keyword":"error"}}function c(a){return 0==a?b():function(d,e){for(;!d.eol();){var f=d.next();if("{"==f&&d.eat("-"))++a;else if("-"==f&&d.eat("}")&&0===--a)return e(b()),"comment"}return e(c(a)),"comment"}}function d(a,c){for(;!a.eol();){if('"'===a.next()&&a.eat('"')&&a.eat('"'))return c(b()),"string"}return"string"}function e(a,c){for(;a.skipTo('\\"');)a.next(),a.next();return a.skipTo('"')?(a.next(),c(b()),"string"):(a.skipToEnd(),c(b()),"error")}function f(a,c){for(;a.skipTo("\\'");)a.next(),a.next();return a.skipTo("'")?(a.next(),c(b()),"string"):(a.skipToEnd(),c(b()),"error")}function g(a,c){for(;!a.eol();){if("|"===a.next()&&a.eat("]"))return c(b()),"string"}return"string"}var h=/[a-z]/,i=/[A-Z]/,j=/[a-zA-Z0-9_]/,k=/[0-9]/,l=/[0-9A-Fa-f]/,m=/[-&*+.\\\/<>=?^|:]/,n=/[(),[\]{}]/,o=/[ \v\f]/,p={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};return{startState:function(){return{f:b()}},copyState:function(a){return{f:a.f}},token:function(a,b){var c=b.f(a,(function(a){b.f=a})),d=a.current();return p.hasOwnProperty(d)?"keyword":c}}})),a.defineMIME("text/x-elm","elm")}));