%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/arcade-CGiW5f8j.chunk.mjs.map |
{"version":3,"file":"arcade-CGiW5f8j.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/arcade.js"],"sourcesContent":["/*\n Language: ArcGIS Arcade\n Category: scripting\n Author: John Foster <jfoster@esri.com>\n Website: https://developers.arcgis.com/arcade/\n Description: ArcGIS Arcade is an expression language used in many Esri ArcGIS products such as Pro, Online, Server, Runtime, JavaScript, and Python\n*/\n\n/** @type LanguageFn */\nfunction arcade(hljs) {\n const regex = hljs.regex;\n const IDENT_RE = '[A-Za-z_][0-9A-Za-z_]*';\n const KEYWORDS = {\n keyword: [\n \"break\",\n \"case\",\n \"catch\",\n \"continue\",\n \"debugger\",\n \"do\",\n \"else\",\n \"export\",\n \"for\",\n \"function\",\n \"if\",\n \"import\",\n \"in\",\n \"new\",\n \"return\",\n \"switch\",\n \"try\",\n \"var\",\n \"void\",\n \"while\"\n ],\n literal: [\n \"BackSlash\",\n \"DoubleQuote\",\n \"ForwardSlash\",\n \"Infinity\",\n \"NaN\",\n \"NewLine\",\n \"PI\",\n \"SingleQuote\",\n \"Tab\",\n \"TextFormatting\",\n \"false\",\n \"null\",\n \"true\",\n \"undefined\"\n ],\n built_in: [\n \"Abs\",\n \"Acos\",\n \"All\",\n \"Angle\",\n \"Any\",\n \"Area\",\n \"AreaGeodetic\",\n \"Array\",\n \"Asin\",\n \"Atan\",\n \"Atan2\",\n \"Attachments\",\n \"Average\",\n \"Back\",\n \"Bearing\",\n \"Boolean\",\n \"Buffer\",\n \"BufferGeodetic\",\n \"Ceil\",\n \"Centroid\",\n \"ChangeTimeZone\",\n \"Clip\",\n \"Concatenate\",\n \"Console\",\n \"Constrain\",\n \"Contains\",\n \"ConvertDirection\",\n \"ConvexHull\",\n \"Cos\",\n \"Count\",\n \"Crosses\",\n \"Cut\",\n \"Date|0\",\n \"DateAdd\",\n \"DateDiff\",\n \"DateOnly\",\n \"Day\",\n \"Decode\",\n \"DefaultValue\",\n \"Densify\",\n \"DensifyGeodetic\",\n \"Dictionary\",\n \"Difference\",\n \"Disjoint\",\n \"Distance\",\n \"DistanceGeodetic\",\n \"Distinct\",\n \"Domain\",\n \"DomainCode\",\n \"DomainName\",\n \"EnvelopeIntersects\",\n \"Equals\",\n \"Erase\",\n \"Exp\",\n \"Expects\",\n \"Extent\",\n \"Feature\",\n \"FeatureSet\",\n \"FeatureSetByAssociation\",\n \"FeatureSetById\",\n \"FeatureSetByName\",\n \"FeatureSetByPortalItem\",\n \"FeatureSetByRelationshipClass\",\n \"FeatureSetByRelationshipName\",\n \"Filter\",\n \"Find\",\n \"First|0\",\n \"Floor\",\n \"FromCharCode\",\n \"FromCodePoint\",\n \"FromJSON\",\n \"Front\",\n \"GdbVersion\",\n \"Generalize\",\n \"Geometry\",\n \"GetEnvironment\",\n \"GetFeatureSet\",\n \"GetFeatureSetInfo\",\n \"GetUser\",\n \"GroupBy\",\n \"Guid\",\n \"HasKey\",\n \"HasValue\",\n \"Hash\",\n \"Hour\",\n \"IIf\",\n \"ISOMonth\",\n \"ISOWeek\",\n \"ISOWeekday\",\n \"ISOYear\",\n \"Includes\",\n \"IndexOf\",\n \"Insert\",\n \"Intersection\",\n \"Intersects\",\n \"IsEmpty\",\n \"IsNan\",\n \"IsSelfIntersecting\",\n \"IsSimple\",\n \"Left|0\",\n \"Length\",\n \"Length3D\",\n \"LengthGeodetic\",\n \"Log\",\n \"Lower\",\n \"Map\",\n \"Max\",\n \"Mean\",\n \"Mid\",\n \"Millisecond\",\n \"Min\",\n \"Minute\",\n \"Month\",\n \"MultiPartToSinglePart\",\n \"Multipoint\",\n \"NearestCoordinate\",\n \"NearestVertex\",\n \"NextSequenceValue\",\n \"None\",\n \"Now\",\n \"Number\",\n \"Offset\",\n \"OrderBy\",\n \"Overlaps\",\n \"Point\",\n \"Polygon\",\n \"Polyline\",\n \"Pop\",\n \"Portal\",\n \"Pow\",\n \"Proper\",\n \"Push\",\n \"Random\",\n \"Reduce\",\n \"Relate\",\n \"Replace\",\n \"Resize\",\n \"Reverse\",\n \"Right|0\",\n \"RingIsClockwise\",\n \"Rotate\",\n \"Round\",\n \"Schema\",\n \"Second\",\n \"SetGeometry\",\n \"Simplify\",\n \"Sin\",\n \"Slice\",\n \"Sort\",\n \"Splice\",\n \"Split\",\n \"Sqrt\",\n \"StandardizeGuid\",\n \"Stdev\",\n \"SubtypeCode\",\n \"SubtypeName\",\n \"Subtypes\",\n \"Sum\",\n \"SymmetricDifference\",\n \"Tan\",\n \"Text\",\n \"Time\",\n \"TimeZone\",\n \"TimeZoneOffset\",\n \"Timestamp\",\n \"ToCharCode\",\n \"ToCodePoint\",\n \"ToHex\",\n \"ToLocal\",\n \"ToUTC\",\n \"Today\",\n \"Top|0\",\n \"Touches\",\n \"TrackAccelerationAt\",\n \"TrackAccelerationWindow\",\n \"TrackCurrentAcceleration\",\n \"TrackCurrentDistance\",\n \"TrackCurrentSpeed\",\n \"TrackCurrentTime\",\n \"TrackDistanceAt\",\n \"TrackDistanceWindow\",\n \"TrackDuration\",\n \"TrackFieldWindow\",\n \"TrackGeometryWindow\",\n \"TrackIndex\",\n \"TrackSpeedAt\",\n \"TrackSpeedWindow\",\n \"TrackStartTime\",\n \"TrackWindow\",\n \"Trim\",\n \"TypeOf\",\n \"Union\",\n \"Upper\",\n \"UrlEncode\",\n \"Variance\",\n \"Week\",\n \"Weekday\",\n \"When|0\",\n \"Within\",\n \"Year|0\",\n ]\n };\n const PROFILE_VARS = [\n \"aggregatedFeatures\",\n \"analytic\",\n \"config\",\n \"datapoint\",\n \"datastore\",\n \"editcontext\",\n \"feature\",\n \"featureSet\",\n \"feedfeature\",\n \"fencefeature\",\n \"fencenotificationtype\",\n \"join\",\n \"layer\",\n \"locationupdate\",\n \"map\",\n \"measure\",\n \"measure\",\n \"originalFeature\",\n \"record\",\n \"reference\",\n \"rowindex\",\n \"sourcedatastore\",\n \"sourcefeature\",\n \"sourcelayer\",\n \"target\",\n \"targetdatastore\",\n \"targetfeature\",\n \"targetlayer\",\n \"value\",\n \"view\"\n ];\n const SYMBOL = {\n className: 'symbol',\n begin: '\\\\$' + regex.either(...PROFILE_VARS)\n };\n const NUMBER = {\n className: 'number',\n variants: [\n { begin: '\\\\b(0[bB][01]+)' },\n { begin: '\\\\b(0[oO][0-7]+)' },\n { begin: hljs.C_NUMBER_RE }\n ],\n relevance: 0\n };\n const SUBST = {\n className: 'subst',\n begin: '\\\\$\\\\{',\n end: '\\\\}',\n keywords: KEYWORDS,\n contains: [] // defined later\n };\n const TEMPLATE_STRING = {\n className: 'string',\n begin: '`',\n end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n };\n SUBST.contains = [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n TEMPLATE_STRING,\n NUMBER,\n hljs.REGEXP_MODE\n ];\n const PARAMS_CONTAINS = SUBST.contains.concat([\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE\n ]);\n\n return {\n name: 'ArcGIS Arcade',\n case_insensitive: true,\n keywords: KEYWORDS,\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n TEMPLATE_STRING,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n SYMBOL,\n NUMBER,\n { // object attr container\n begin: /[{,]\\s*/,\n relevance: 0,\n contains: [\n {\n begin: IDENT_RE + '\\\\s*:',\n returnBegin: true,\n relevance: 0,\n contains: [\n {\n className: 'attr',\n begin: IDENT_RE,\n relevance: 0\n }\n ]\n }\n ]\n },\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(return)\\\\b)\\\\s*',\n keywords: 'return',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.REGEXP_MODE,\n {\n className: 'function',\n begin: '(\\\\(.*?\\\\)|' + IDENT_RE + ')\\\\s*=>',\n returnBegin: true,\n end: '\\\\s*=>',\n contains: [\n {\n className: 'params',\n variants: [\n { begin: IDENT_RE },\n { begin: /\\(\\s*\\)/ },\n {\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n keywords: KEYWORDS,\n contains: PARAMS_CONTAINS\n }\n ]\n }\n ]\n }\n ],\n relevance: 0\n },\n {\n beginKeywords: 'function',\n end: /\\{/,\n excludeEnd: true,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n className: \"title.function\",\n begin: IDENT_RE\n }),\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n contains: PARAMS_CONTAINS\n }\n ],\n illegal: /\\[|%/\n },\n { begin: /\\$[(.]/ }\n ],\n illegal: /#(?!!)/\n };\n}\n\nmodule.exports = arcade;\n"],"names":["arcade","hljs","regex","IDENT_RE","KEYWORDS","PROFILE_VARS","SYMBOL","NUMBER","SUBST","TEMPLATE_STRING","PARAMS_CONTAINS","arcade_1"],"mappings":";4YASA,SAASA,EAAOC,EAAM,CACpB,MAAMC,EAAQD,EAAK,MACbE,EAAW,yBACXC,EAAW,CACf,QAAS,CACP,QACA,OACA,QACA,WACA,WACA,KACA,OACA,SACA,MACA,WACA,KACA,SACA,KACA,MACA,SACA,SACA,MACA,MACA,OACA,OACD,EACD,QAAS,CACP,YACA,cACA,eACA,WACA,MACA,UACA,KACA,cACA,MACA,iBACA,QACA,OACA,OACA,WACD,EACD,SAAU,CACR,MACA,OACA,MACA,QACA,MACA,OACA,eACA,QACA,OACA,OACA,QACA,cACA,UACA,OACA,UACA,UACA,SACA,iBACA,OACA,WACA,iBACA,OACA,cACA,UACA,YACA,WACA,mBACA,aACA,MACA,QACA,UACA,MACA,SACA,UACA,WACA,WACA,MACA,SACA,eACA,UACA,kBACA,aACA,aACA,WACA,WACA,mBACA,WACA,SACA,aACA,aACA,qBACA,SACA,QACA,MACA,UACA,SACA,UACA,aACA,0BACA,iBACA,mBACA,yBACA,gCACA,+BACA,SACA,OACA,UACA,QACA,eACA,gBACA,WACA,QACA,aACA,aACA,WACA,iBACA,gBACA,oBACA,UACA,UACA,OACA,SACA,WACA,OACA,OACA,MACA,WACA,UACA,aACA,UACA,WACA,UACA,SACA,eACA,aACA,UACA,QACA,qBACA,WACA,SACA,SACA,WACA,iBACA,MACA,QACA,MACA,MACA,OACA,MACA,cACA,MACA,SACA,QACA,wBACA,aACA,oBACA,gBACA,oBACA,OACA,MACA,SACA,SACA,UACA,WACA,QACA,UACA,WACA,MACA,SACA,MACA,SACA,OACA,SACA,SACA,SACA,UACA,SACA,UACA,UACA,kBACA,SACA,QACA,SACA,SACA,cACA,WACA,MACA,QACA,OACA,SACA,QACA,OACA,kBACA,QACA,cACA,cACA,WACA,MACA,sBACA,MACA,OACA,OACA,WACA,iBACA,YACA,aACA,cACA,QACA,UACA,QACA,QACA,QACA,UACA,sBACA,0BACA,2BACA,uBACA,oBACA,mBACA,kBACA,sBACA,gBACA,mBACA,sBACA,aACA,eACA,mBACA,iBACA,cACA,OACA,SACA,QACA,QACA,YACA,WACA,OACA,UACA,SACA,SACA,QACD,CACL,EACQC,EAAe,CACnB,qBACA,WACA,SACA,YACA,YACA,cACA,UACA,aACA,cACA,eACA,wBACA,OACA,QACA,iBACA,MACA,UACA,UACA,kBACA,SACA,YACA,WACA,kBACA,gBACA,cACA,SACA,kBACA,gBACA,cACA,QACA,MACJ,EACQC,EAAS,CACb,UAAW,SACX,MAAO,MAAQJ,EAAM,OAAO,GAAGG,CAAY,CAC/C,EACQE,EAAS,CACb,UAAW,SACX,SAAU,CACR,CAAE,MAAO,iBAAmB,EAC5B,CAAE,MAAO,kBAAoB,EAC7B,CAAE,MAAON,EAAK,WAAa,CAC5B,EACD,UAAW,CACf,EACQO,EAAQ,CACZ,UAAW,QACX,MAAO,SACP,IAAK,MACL,SAAUJ,EACV,SAAU,CAAE,CAChB,EACQK,EAAkB,CACtB,UAAW,SACX,MAAO,IACP,IAAK,IACL,SAAU,CACRR,EAAK,iBACLO,CACD,CACL,EACEA,EAAM,SAAW,CACfP,EAAK,iBACLA,EAAK,kBACLQ,EACAF,EACAN,EAAK,WACT,EACE,MAAMS,EAAkBF,EAAM,SAAS,OAAO,CAC5CP,EAAK,qBACLA,EAAK,mBACT,CAAG,EAED,MAAO,CACL,KAAM,gBACN,iBAAkB,GAClB,SAAUG,EACV,SAAU,CACRH,EAAK,iBACLA,EAAK,kBACLQ,EACAR,EAAK,oBACLA,EAAK,qBACLK,EACAC,EACA,CACE,MAAO,UACP,UAAW,EACX,SAAU,CACR,CACE,MAAOJ,EAAW,QAClB,YAAa,GACb,UAAW,EACX,SAAU,CACR,CACE,UAAW,OACX,MAAOA,EACP,UAAW,CACZ,CACF,CACF,CACF,CACF,EACD,CACE,MAAO,IAAMF,EAAK,eAAiB,uBACnC,SAAU,SACV,SAAU,CACRA,EAAK,oBACLA,EAAK,qBACLA,EAAK,YACL,CACE,UAAW,WACX,MAAO,cAAgBE,EAAW,UAClC,YAAa,GACb,IAAK,SACL,SAAU,CACR,CACE,UAAW,SACX,SAAU,CACR,CAAE,MAAOA,CAAU,EACnB,CAAE,MAAO,SAAW,EACpB,CACE,MAAO,KACP,IAAK,KACL,aAAc,GACd,WAAY,GACZ,SAAUC,EACV,SAAUM,CACX,CACF,CACF,CACF,CACF,CACF,EACD,UAAW,CACZ,EACD,CACE,cAAe,WACf,IAAK,KACL,WAAY,GACZ,SAAU,CACRT,EAAK,QAAQA,EAAK,WAAY,CAC5B,UAAW,iBACX,MAAOE,CACnB,CAAW,EACD,CACE,UAAW,SACX,MAAO,KACP,IAAK,KACL,aAAc,GACd,WAAY,GACZ,SAAUO,CACX,CACF,EACD,QAAS,MACV,EACD,CAAE,MAAO,QAAU,CACpB,EACD,QAAS,QACb,CACA,CAEA,IAAAC,EAAiBX","x_google_ignoreList":[0]}