@puddle-code/cli 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20421 -0
- package/dist/index.js.map +1 -0
- package/dist/install.sh +222 -0
- package/dist/public/assets/Dashboard-B1JE6YHV.js +1 -0
- package/dist/public/assets/EditorZone-BO-Ob9Td.js +16 -0
- package/dist/public/assets/SettingsDialog-CVcCiV13.js +1 -0
- package/dist/public/assets/Terminal-BrP-ENHg.css +1 -0
- package/dist/public/assets/Terminal-CuEf-GeX.js +35 -0
- package/dist/public/assets/UbuntuSans-Italic-variable-RySnp6Km.woff2 +0 -0
- package/dist/public/assets/UbuntuSans-variable-D2Z3tJLW.woff2 +0 -0
- package/dist/public/assets/UbuntuSansMono-Italic-variable-DSY888gS.woff2 +0 -0
- package/dist/public/assets/UbuntuSansMono-variable-DaQTOezC.woff2 +0 -0
- package/dist/public/assets/Workspace-DctKubgC.js +2 -0
- package/dist/public/assets/abap-08VXUWAP.js +1 -0
- package/dist/public/assets/apex-BWPQTe0t.js +1 -0
- package/dist/public/assets/api-DeKerbkb.js +64 -0
- package/dist/public/assets/azcli-Bc_sGQ0U.js +1 -0
- package/dist/public/assets/bat-i0X4ZdIN.js +1 -0
- package/dist/public/assets/bicep-B5-_aFwp.js +2 -0
- package/dist/public/assets/cameligo-DMUM7wLl.js +1 -0
- package/dist/public/assets/clojure-Cm7r79vr.js +1 -0
- package/dist/public/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist/public/assets/coffee-Ba7i2nA0.js +1 -0
- package/dist/public/assets/cpp-C7h46wYY.js +1 -0
- package/dist/public/assets/csharp-BKxtCVv1.js +1 -0
- package/dist/public/assets/csp-bTuwJoIa.js +1 -0
- package/dist/public/assets/css-DIMkf-bt.js +3 -0
- package/dist/public/assets/css.worker-yKcq13f2.js +89 -0
- package/dist/public/assets/cssMode-CSjHtANE.js +1 -0
- package/dist/public/assets/cypher-CVaqCwHa.js +1 -0
- package/dist/public/assets/dart-onAF5SnQ.js +1 -0
- package/dist/public/assets/dialog-VTyOt2M_.js +41 -0
- package/dist/public/assets/dockerfile-DZFCIeNp.js +1 -0
- package/dist/public/assets/ecl-D05T4iGw.js +1 -0
- package/dist/public/assets/editor-Br_kD0ds.css +1 -0
- package/dist/public/assets/editor.api2-4X9Vh9Zw.js +872 -0
- package/dist/public/assets/editor.worker-tytyn86m.js +26 -0
- package/dist/public/assets/elixir-6RTg0lbw.js +1 -0
- package/dist/public/assets/flow9-C5_-GSwl.js +1 -0
- package/dist/public/assets/folder-git-2-DX3SNYUW.js +1 -0
- package/dist/public/assets/freemarker2-DsOTa0Uq.js +3 -0
- package/dist/public/assets/fsharp-C8Ef5oNN.js +1 -0
- package/dist/public/assets/go-C-y9NEjX.js +1 -0
- package/dist/public/assets/graphql-fmXr3nnJ.js +1 -0
- package/dist/public/assets/handlebars-DGS-lUwt.js +1 -0
- package/dist/public/assets/hcl-CpzslTdj.js +1 -0
- package/dist/public/assets/history-logic-B2ZKE3AW.js +1 -0
- package/dist/public/assets/html-eVYoRhea.js +1 -0
- package/dist/public/assets/html.worker-DSJ9zmd7.js +502 -0
- package/dist/public/assets/htmlMode-CIHMS93l.js +1 -0
- package/dist/public/assets/index-CXBMvmhw.css +2 -0
- package/dist/public/assets/index-ZcdMfr13.js +10 -0
- package/dist/public/assets/ini-sBoK_t0W.js +1 -0
- package/dist/public/assets/java-BEtHBSE6.js +1 -0
- package/dist/public/assets/javascript-Cq9FwqGi.js +1 -0
- package/dist/public/assets/json.worker-Oa9UrkKE.js +58 -0
- package/dist/public/assets/jsonMode-BijgXT6I.js +7 -0
- package/dist/public/assets/julia-Bri6UV-V.js +1 -0
- package/dist/public/assets/kotlin-BOotOW0E.js +1 -0
- package/dist/public/assets/less-B9JPFI3C.js +2 -0
- package/dist/public/assets/lexon-CfSJPG6W.js +1 -0
- package/dist/public/assets/liquid-BcLxSFu3.js +1 -0
- package/dist/public/assets/lspLanguageFeatures-x2nWJpem.js +4 -0
- package/dist/public/assets/lua-CsQS60Ue.js +1 -0
- package/dist/public/assets/m3-D-oSqn_W.js +1 -0
- package/dist/public/assets/markdown-Cimd5fb3.js +1 -0
- package/dist/public/assets/mdx-BDgbCiou.js +1 -0
- package/dist/public/assets/mips-CIPQ_RoX.js +1 -0
- package/dist/public/assets/monaco.contribution-C0TYpF88.js +2 -0
- package/dist/public/assets/msdax-DauUninz.js +1 -0
- package/dist/public/assets/mysql-SOo6toE5.js +1 -0
- package/dist/public/assets/objective-c-FvmIjYaQ.js +1 -0
- package/dist/public/assets/pascal-DrH0SRf2.js +1 -0
- package/dist/public/assets/pascaligo-D-ptJ9y-.js +1 -0
- package/dist/public/assets/perl-oz_6vUea.js +1 -0
- package/dist/public/assets/pgsql-DTj74zXo.js +1 -0
- package/dist/public/assets/php-nr791fC2.js +1 -0
- package/dist/public/assets/pla-CopQ2nXW.js +1 -0
- package/dist/public/assets/postiats-43DmfD33.js +1 -0
- package/dist/public/assets/powerquery-D3hlyOfw.js +1 -0
- package/dist/public/assets/powershell-DmHpPYUd.js +1 -0
- package/dist/public/assets/preload-helper-Czpn1I53.js +1 -0
- package/dist/public/assets/protobuf-C531GsRP.js +2 -0
- package/dist/public/assets/pug-Z5eAx3Zn.js +1 -0
- package/dist/public/assets/python-D5mUty3a.js +1 -0
- package/dist/public/assets/qsharp-DkqhCAOL.js +1 -0
- package/dist/public/assets/r-BwWrilGY.js +1 -0
- package/dist/public/assets/razor-DAAn8j2s.js +1 -0
- package/dist/public/assets/redis-ClamHrr6.js +1 -0
- package/dist/public/assets/redshift-DT7zqm-g.js +1 -0
- package/dist/public/assets/restructuredtext-BYgofb2h.js +1 -0
- package/dist/public/assets/rolldown-runtime-QTnfLwEv.js +1 -0
- package/dist/public/assets/ruby-DezsRK8O.js +1 -0
- package/dist/public/assets/rust-DdL9SqIa.js +1 -0
- package/dist/public/assets/sb-CcwsVR0C.js +1 -0
- package/dist/public/assets/scala-DHpiXF5c.js +1 -0
- package/dist/public/assets/scheme-BeGwcela.js +1 -0
- package/dist/public/assets/scss-gp-XZpBa.js +3 -0
- package/dist/public/assets/shell-CC2rA5mh.js +1 -0
- package/dist/public/assets/solidity-BEEn4gHE.js +1 -0
- package/dist/public/assets/sophia-CRfGWb83.js +1 -0
- package/dist/public/assets/sparql-D_Lu-MrJ.js +1 -0
- package/dist/public/assets/sql-NEE52Syq.js +1 -0
- package/dist/public/assets/ssh-mode-BR2ZdOHI.js +1 -0
- package/dist/public/assets/st-DbInun42.js +1 -0
- package/dist/public/assets/swift-Bxkupp3x.js +1 -0
- package/dist/public/assets/switch-Ck_7k8fh.js +1 -0
- package/dist/public/assets/systemverilog-Bz4Y3fRF.js +1 -0
- package/dist/public/assets/tcl-DISqw1ZD.js +1 -0
- package/dist/public/assets/ts.worker-BtjBFNHX.js +67734 -0
- package/dist/public/assets/tsMode-B7q3gz7a.js +11 -0
- package/dist/public/assets/twig-De2hgUGE.js +1 -0
- package/dist/public/assets/typescript-DvKdOnR-.js +1 -0
- package/dist/public/assets/typespec-B8J7ngcE.js +1 -0
- package/dist/public/assets/vb-DV3o63ZY.js +1 -0
- package/dist/public/assets/wgsl-DpFanUEy.js +298 -0
- package/dist/public/assets/workers-Ck67TJT4.js +1 -0
- package/dist/public/assets/xml-DDMTG7kD.js +1 -0
- package/dist/public/assets/yaml-hCGJvPOb.js +1 -0
- package/dist/public/index.html +18 -0
- package/dist/public/puddle.svg +18 -0
- package/package.json +28 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},t={defaultToken:``,tokenPostfix:`.redis`,ignoreCase:!0,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],keywords:`APPEND.AUTH.BGREWRITEAOF.BGSAVE.BITCOUNT.BITFIELD.BITOP.BITPOS.BLPOP.BRPOP.BRPOPLPUSH.CLIENT.KILL.LIST.GETNAME.PAUSE.REPLY.SETNAME.CLUSTER.ADDSLOTS.COUNT-FAILURE-REPORTS.COUNTKEYSINSLOT.DELSLOTS.FAILOVER.FORGET.GETKEYSINSLOT.INFO.KEYSLOT.MEET.NODES.REPLICATE.RESET.SAVECONFIG.SET-CONFIG-EPOCH.SETSLOT.SLAVES.SLOTS.COMMAND.COUNT.GETKEYS.CONFIG.GET.REWRITE.SET.RESETSTAT.DBSIZE.DEBUG.OBJECT.SEGFAULT.DECR.DECRBY.DEL.DISCARD.DUMP.ECHO.EVAL.EVALSHA.EXEC.EXISTS.EXPIRE.EXPIREAT.FLUSHALL.FLUSHDB.GEOADD.GEOHASH.GEOPOS.GEODIST.GEORADIUS.GEORADIUSBYMEMBER.GETBIT.GETRANGE.GETSET.HDEL.HEXISTS.HGET.HGETALL.HINCRBY.HINCRBYFLOAT.HKEYS.HLEN.HMGET.HMSET.HSET.HSETNX.HSTRLEN.HVALS.INCR.INCRBY.INCRBYFLOAT.KEYS.LASTSAVE.LINDEX.LINSERT.LLEN.LPOP.LPUSH.LPUSHX.LRANGE.LREM.LSET.LTRIM.MGET.MIGRATE.MONITOR.MOVE.MSET.MSETNX.MULTI.PERSIST.PEXPIRE.PEXPIREAT.PFADD.PFCOUNT.PFMERGE.PING.PSETEX.PSUBSCRIBE.PUBSUB.PTTL.PUBLISH.PUNSUBSCRIBE.QUIT.RANDOMKEY.READONLY.READWRITE.RENAME.RENAMENX.RESTORE.ROLE.RPOP.RPOPLPUSH.RPUSH.RPUSHX.SADD.SAVE.SCARD.SCRIPT.FLUSH.LOAD.SDIFF.SDIFFSTORE.SELECT.SETBIT.SETEX.SETNX.SETRANGE.SHUTDOWN.SINTER.SINTERSTORE.SISMEMBER.SLAVEOF.SLOWLOG.SMEMBERS.SMOVE.SORT.SPOP.SRANDMEMBER.SREM.STRLEN.SUBSCRIBE.SUNION.SUNIONSTORE.SWAPDB.SYNC.TIME.TOUCH.TTL.TYPE.UNSUBSCRIBE.UNLINK.UNWATCH.WAIT.WATCH.ZADD.ZCARD.ZCOUNT.ZINCRBY.ZINTERSTORE.ZLEXCOUNT.ZRANGE.ZRANGEBYLEX.ZREVRANGEBYLEX.ZRANGEBYSCORE.ZRANK.ZREM.ZREMRANGEBYLEX.ZREMRANGEBYRANK.ZREMRANGEBYSCORE.ZREVRANGE.ZREVRANGEBYSCORE.ZREVRANK.ZSCORE.ZUNIONSTORE.SCAN.SSCAN.HSCAN.ZSCAN`.split(`.`),operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:`@whitespace`},{include:`@pseudoColumns`},{include:`@numbers`},{include:`@strings`},{include:`@scopes`},[/[;,.]/,`delimiter`],[/[()]/,`@brackets`],[/[\w@#$]+/,{cases:{"@keywords":`keyword`,"@operators":`operator`,"@builtinVariables":`predefined`,"@builtinFunctions":`predefined`,"@default":`identifier`}}],[/[<>=!%&+\-*/|~^]/,`operator`]],whitespace:[[/\s+/,`white`]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":`predefined`,"@default":`identifier`}}]],numbers:[[/0[xX][0-9a-fA-F]*/,`number`],[/[$][+-]*\d*(\.\d*)?/,`number`],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,`number`]],strings:[[/'/,{token:`string`,next:`@string`}],[/"/,{token:`string.double`,next:`@stringDouble`}]],string:[[/[^']+/,`string`],[/''/,`string`],[/'/,{token:`string`,next:`@pop`}]],stringDouble:[[/[^"]+/,`string.double`],[/""/,`string.double`],[/"/,{token:`string.double`,next:`@pop`}]],scopes:[]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`--`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},t={defaultToken:``,tokenPostfix:`.sql`,ignoreCase:!0,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],keywords:`AES128.AES256.ALL.ALLOWOVERWRITE.ANALYSE.ANALYZE.AND.ANY.ARRAY.AS.ASC.AUTHORIZATION.AZ64.BACKUP.BETWEEN.BINARY.BLANKSASNULL.BOTH.BYTEDICT.BZIP2.CASE.CAST.CHECK.COLLATE.COLUMN.CONSTRAINT.CREATE.CREDENTIALS.CROSS.CURRENT_DATE.CURRENT_TIME.CURRENT_TIMESTAMP.CURRENT_USER.CURRENT_USER_ID.DEFAULT.DEFERRABLE.DEFLATE.DEFRAG.DELTA.DELTA32K.DESC.DISABLE.DISTINCT.DO.ELSE.EMPTYASNULL.ENABLE.ENCODE.ENCRYPT.ENCRYPTION.END.EXCEPT.EXPLICIT.FALSE.FOR.FOREIGN.FREEZE.FROM.FULL.GLOBALDICT256.GLOBALDICT64K.GRANT.GROUP.GZIP.HAVING.IDENTITY.IGNORE.ILIKE.IN.INITIALLY.INNER.INTERSECT.INTO.IS.ISNULL.JOIN.LANGUAGE.LEADING.LEFT.LIKE.LIMIT.LOCALTIME.LOCALTIMESTAMP.LUN.LUNS.LZO.LZOP.MINUS.MOSTLY16.MOSTLY32.MOSTLY8.NATURAL.NEW.NOT.NOTNULL.NULL.NULLS.OFF.OFFLINE.OFFSET.OID.OLD.ON.ONLY.OPEN.OR.ORDER.OUTER.OVERLAPS.PARALLEL.PARTITION.PERCENT.PERMISSIONS.PLACING.PRIMARY.RAW.READRATIO.RECOVER.REFERENCES.RESPECT.REJECTLOG.RESORT.RESTORE.RIGHT.SELECT.SESSION_USER.SIMILAR.SNAPSHOT.SOME.SYSDATE.SYSTEM.TABLE.TAG.TDES.TEXT255.TEXT32K.THEN.TIMESTAMP.TO.TOP.TRAILING.TRUE.TRUNCATECOLUMNS.UNION.UNIQUE.USER.USING.VERBOSE.WALLET.WHEN.WHERE.WITH.WITHOUT`.split(`.`),operators:[`AND`,`BETWEEN`,`IN`,`LIKE`,`NOT`,`OR`,`IS`,`NULL`,`INTERSECT`,`UNION`,`INNER`,`JOIN`,`LEFT`,`OUTER`,`RIGHT`],builtinFunctions:`current_schema.current_schemas.has_database_privilege.has_schema_privilege.has_table_privilege.age.current_time.current_timestamp.localtime.isfinite.now.ascii.get_bit.get_byte.set_bit.set_byte.to_ascii.approximate percentile_disc.avg.count.listagg.max.median.min.percentile_cont.stddev_samp.stddev_pop.sum.var_samp.var_pop.bit_and.bit_or.bool_and.bool_or.cume_dist.first_value.lag.last_value.lead.nth_value.ratio_to_report.dense_rank.ntile.percent_rank.rank.row_number.case.coalesce.decode.greatest.least.nvl.nvl2.nullif.add_months.at time zone.convert_timezone.current_date.date_cmp.date_cmp_timestamp.date_cmp_timestamptz.date_part_year.dateadd.datediff.date_part.date_trunc.extract.getdate.interval_cmp.last_day.months_between.next_day.sysdate.timeofday.timestamp_cmp.timestamp_cmp_date.timestamp_cmp_timestamptz.timestamptz_cmp.timestamptz_cmp_date.timestamptz_cmp_timestamp.timezone.to_timestamp.trunc.abs.acos.asin.atan.atan2.cbrt.ceil.ceiling.checksum.cos.cot.degrees.dexp.dlog1.dlog10.exp.floor.ln.log.mod.pi.power.radians.random.round.sin.sign.sqrt.tan.to_hex.bpcharcmp.btrim.bttext_pattern_cmp.char_length.character_length.charindex.chr.concat.crc32.func_sha1.initcap.left and rights.len.length.lower.lpad and rpads.ltrim.md5.octet_length.position.quote_ident.quote_literal.regexp_count.regexp_instr.regexp_replace.regexp_substr.repeat.replace.replicate.reverse.rtrim.split_part.strpos.strtol.substring.textlen.translate.trim.upper.cast.convert.to_char.to_date.to_number.json_array_length.json_extract_array_element_text.json_extract_path_text.current_setting.pg_cancel_backend.pg_terminate_backend.set_config.current_database.current_user.current_user_id.pg_backend_pid.pg_last_copy_count.pg_last_copy_id.pg_last_query_id.pg_last_unload_count.session_user.slice_num.user.version.abbrev.acosd.any.area.array_agg.array_append.array_cat.array_dims.array_fill.array_length.array_lower.array_ndims.array_position.array_positions.array_prepend.array_remove.array_replace.array_to_json.array_to_string.array_to_tsvector.array_upper.asind.atan2d.atand.bit.bit_length.bound_box.box.brin_summarize_new_values.broadcast.cardinality.center.circle.clock_timestamp.col_description.concat_ws.convert_from.convert_to.corr.cosd.cotd.covar_pop.covar_samp.current_catalog.current_query.current_role.currval.cursor_to_xml.diameter.div.encode.enum_first.enum_last.enum_range.every.family.format.format_type.generate_series.generate_subscripts.get_current_ts_config.gin_clean_pending_list.grouping.has_any_column_privilege.has_column_privilege.has_foreign_data_wrapper_privilege.has_function_privilege.has_language_privilege.has_sequence_privilege.has_server_privilege.has_tablespace_privilege.has_type_privilege.height.host.hostmask.inet_client_addr.inet_client_port.inet_merge.inet_same_family.inet_server_addr.inet_server_port.isclosed.isempty.isopen.json_agg.json_object.json_object_agg.json_populate_record.json_populate_recordset.json_to_record.json_to_recordset.jsonb_agg.jsonb_object_agg.justify_days.justify_hours.justify_interval.lastval.left.line.localtimestamp.lower_inc.lower_inf.lpad.lseg.make_date.make_interval.make_time.make_timestamp.make_timestamptz.masklen.mode.netmask.network.nextval.npoints.num_nonnulls.num_nulls.numnode.obj_description.overlay.parse_ident.path.pclose.percentile_disc.pg_advisory_lock.pg_advisory_lock_shared.pg_advisory_unlock.pg_advisory_unlock_all.pg_advisory_unlock_shared.pg_advisory_xact_lock.pg_advisory_xact_lock_shared.pg_backup_start_time.pg_blocking_pids.pg_client_encoding.pg_collation_is_visible.pg_column_size.pg_conf_load_time.pg_control_checkpoint.pg_control_init.pg_control_recovery.pg_control_system.pg_conversion_is_visible.pg_create_logical_replication_slot.pg_create_physical_replication_slot.pg_create_restore_point.pg_current_xlog_flush_location.pg_current_xlog_insert_location.pg_current_xlog_location.pg_database_size.pg_describe_object.pg_drop_replication_slot.pg_export_snapshot.pg_filenode_relation.pg_function_is_visible.pg_get_constraintdef.pg_get_expr.pg_get_function_arguments.pg_get_function_identity_arguments.pg_get_function_result.pg_get_functiondef.pg_get_indexdef.pg_get_keywords.pg_get_object_address.pg_get_owned_sequence.pg_get_ruledef.pg_get_serial_sequence.pg_get_triggerdef.pg_get_userbyid.pg_get_viewdef.pg_has_role.pg_identify_object.pg_identify_object_as_address.pg_index_column_has_property.pg_index_has_property.pg_indexam_has_property.pg_indexes_size.pg_is_in_backup.pg_is_in_recovery.pg_is_other_temp_schema.pg_is_xlog_replay_paused.pg_last_committed_xact.pg_last_xact_replay_timestamp.pg_last_xlog_receive_location.pg_last_xlog_replay_location.pg_listening_channels.pg_logical_emit_message.pg_logical_slot_get_binary_changes.pg_logical_slot_get_changes.pg_logical_slot_peek_binary_changes.pg_logical_slot_peek_changes.pg_ls_dir.pg_my_temp_schema.pg_notification_queue_usage.pg_opclass_is_visible.pg_operator_is_visible.pg_opfamily_is_visible.pg_options_to_table.pg_postmaster_start_time.pg_read_binary_file.pg_read_file.pg_relation_filenode.pg_relation_filepath.pg_relation_size.pg_reload_conf.pg_replication_origin_create.pg_replication_origin_drop.pg_replication_origin_oid.pg_replication_origin_progress.pg_replication_origin_session_is_setup.pg_replication_origin_session_progress.pg_replication_origin_session_reset.pg_replication_origin_session_setup.pg_replication_origin_xact_reset.pg_replication_origin_xact_setup.pg_rotate_logfile.pg_size_bytes.pg_size_pretty.pg_sleep.pg_sleep_for.pg_sleep_until.pg_start_backup.pg_stat_file.pg_stop_backup.pg_switch_xlog.pg_table_is_visible.pg_table_size.pg_tablespace_databases.pg_tablespace_location.pg_tablespace_size.pg_total_relation_size.pg_trigger_depth.pg_try_advisory_lock.pg_try_advisory_lock_shared.pg_try_advisory_xact_lock.pg_try_advisory_xact_lock_shared.pg_ts_config_is_visible.pg_ts_dict_is_visible.pg_ts_parser_is_visible.pg_ts_template_is_visible.pg_type_is_visible.pg_typeof.pg_xact_commit_timestamp.pg_xlog_location_diff.pg_xlog_replay_pause.pg_xlog_replay_resume.pg_xlogfile_name.pg_xlogfile_name_offset.phraseto_tsquery.plainto_tsquery.point.polygon.popen.pqserverversion.query_to_xml.querytree.quote_nullable.radius.range_merge.regexp_matches.regexp_split_to_array.regexp_split_to_table.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.right.row_security_active.row_to_json.rpad.scale.set_masklen.setseed.setval.setweight.shobj_description.sind.sprintf.statement_timestamp.stddev.string_agg.string_to_array.strip.substr.table_to_xml.table_to_xml_and_xmlschema.tand.text.to_json.to_regclass.to_regnamespace.to_regoper.to_regoperator.to_regproc.to_regprocedure.to_regrole.to_regtype.to_tsquery.to_tsvector.transaction_timestamp.ts_debug.ts_delete.ts_filter.ts_headline.ts_lexize.ts_parse.ts_rank.ts_rank_cd.ts_rewrite.ts_stat.ts_token_type.tsquery_phrase.tsvector_to_array.tsvector_update_trigger.tsvector_update_trigger_column.txid_current.txid_current_snapshot.txid_snapshot_xip.txid_snapshot_xmax.txid_snapshot_xmin.txid_visible_in_snapshot.unnest.upper_inc.upper_inf.variance.width.width_bucket.xml_is_well_formed.xml_is_well_formed_content.xml_is_well_formed_document.xmlagg.xmlcomment.xmlconcat.xmlelement.xmlexists.xmlforest.xmlparse.xmlpi.xmlroot.xmlserialize.xpath.xpath_exists`.split(`.`),builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:`@comments`},{include:`@whitespace`},{include:`@pseudoColumns`},{include:`@numbers`},{include:`@strings`},{include:`@complexIdentifiers`},{include:`@scopes`},[/[;,.]/,`delimiter`],[/[()]/,`@brackets`],[/[\w@#$]+/,{cases:{"@keywords":`keyword`,"@operators":`operator`,"@builtinVariables":`predefined`,"@builtinFunctions":`predefined`,"@default":`identifier`}}],[/[<>=!%&+\-*/|~^]/,`operator`]],whitespace:[[/\s+/,`white`]],comments:[[/--+.*/,`comment`],[/\/\*/,{token:`comment.quote`,next:`@comment`}]],comment:[[/[^*/]+/,`comment`],[/\*\//,{token:`comment.quote`,next:`@pop`}],[/./,`comment`]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":`predefined`,"@default":`identifier`}}]],numbers:[[/0[xX][0-9a-fA-F]*/,`number`],[/[$][+-]*\d*(\.\d*)?/,`number`],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,`number`]],strings:[[/'/,{token:`string`,next:`@string`}]],string:[[/[^']+/,`string`],[/''/,`string`],[/'/,{token:`string`,next:`@pop`}]],complexIdentifiers:[[/"/,{token:`identifier.quote`,next:`@quotedIdentifier`}]],quotedIdentifier:[[/[^"]+/,`identifier`],[/""/,`identifier`],[/"/,{token:`identifier.quote`,next:`@pop`}]],scopes:[]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`<`,close:`>`,notIn:[`string`]}],surroundingPairs:[{open:`(`,close:`)`},{open:`[`,close:`]`},{open:"`",close:"`"}],folding:{markers:{start:RegExp(`^\\s*<!--\\s*#?region\\b.*-->`),end:RegExp(`^\\s*<!--\\s*#?endregion\\b.*-->`)}}},t={defaultToken:``,tokenPostfix:`.rst`,control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:[`area`,`base`,`basefont`,`br`,`col`,`frame`,`hr`,`img`,`input`,`isindex`,`link`,`meta`,`param`],alphanumerics:/[A-Za-z0-9]/,simpleRefNameWithoutBq:/(?:@alphanumerics[-_+:.]*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@phrase`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefNameWithoutBq(?:\s@simpleRefNameWithoutBq)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,`keyword`],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,`keyword`],[/([ ]::)\s*$/,`keyword`,`@blankLineOfLiteralBlocks`],[/(::)\s*$/,`keyword`,`@blankLineOfLiteralBlocks`],{include:`@tables`},{include:`@explicitMarkupBlocks`},{include:`@inlineMarkup`}],explicitMarkupBlocks:[{include:`@citations`},{include:`@footnotes`},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:``,next:`subsequentLines`},`keyword`,``,``]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:``,next:`hyperlinks`},``,``,`string.link`,``,``,`string.link`]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:``,next:`subsequentLines`},``,``,``,`string.link`]],[/^(__\s+)(.+)/,[``,`string.link`]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:``,next:`subsequentLines`},``,`string.link`,``,`keyword`,``],`@rawBlocks`],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,[``,`string.link`,``]],[/^(\.\.)([ ].*)$/,[{token:``,next:`@comments`},`comment`]]],inlineMarkup:[{include:`@citationsReference`},{include:`@footnotesReference`},[/(@simpleRefName)(_{1,2})/,[`string.link`,``]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,[``,`string.link`,``,`string.link`,``,``,``]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,`strong`],[/\*[^*]+\*/,`emphasis`],[/(``)((?:[^`]|\`(?!`))+)(``)/,[``,`keyword`,``]],[/(__\s+)(.+)/,[``,`keyword`]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,[``,`keyword`,``,``,``]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,[``,``,``,`keyword`,``]],[/(`)([^`]+)(`)/,``],[/(_`)(@phrase)(`)/,[``,`string.link`,``]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:``,next:`@subsequentLines`},`string.link`,``,``]]],citationsReference:[[/(\[)(@citationName)(\]_)/,[``,`string.link`,``]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:``,next:`@subsequentLines`},`string.link`,``]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:``,next:`@subsequentLines`},`string.link`,``,``]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:``,next:`@subsequentLines`},`string.link`,``,``]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,[``,`string.link`,``,``]],[/(\[)(#@simpleRefName?)(\])(_)/,[``,`string.link`,``,``]],[/(\[)(\*)(\])(_)/,[``,`string.link`,``,``]]],blankLineOfLiteralBlocks:[[/^$/,``,`@subsequentLinesOfLiteralBlocks`],[/^.*$/,``,`@pop`]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,[`keyword`,``]],[/^(?!blockLiteralStart)/,``,`@popall`]],subsequentLines:[[/^[\s]+.*/,``],[/^(?!\s)/,``,`@pop`]],hyperlinks:[[/^[\s]+.*/,`string.link`],[/^(?!\s)/,``,`@pop`]],comments:[[/^[\s]+.*/,`comment`],[/^(?!\s)/,``,`@pop`]],tables:[[/\+-[+-]+/,`keyword`],[/\+=[+=]+/,`keyword`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));export{s as n,l as r,o as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`#`,blockComment:[`=begin`,`=end`]},brackets:[[`(`,`)`],[`{`,`}`],[`[`,`]`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],indentationRules:{increaseIndentPattern:RegExp(`^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|("|'|/).*\\4)*(#.*)?$`),decreaseIndentPattern:RegExp(`^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)`)}},t={tokenPostfix:`.ruby`,keywords:`__LINE__.__ENCODING__.__FILE__.BEGIN.END.alias.and.begin.break.case.class.def.defined?.do.else.elsif.end.ensure.for.false.if.in.module.next.nil.not.or.redo.rescue.retry.return.self.super.then.true.undef.unless.until.when.while.yield`.split(`.`),keywordops:[`::`,`..`,`...`,`?`,`:`,`=>`],builtins:[`require`,`public`,`private`,`include`,`extend`,`attr_reader`,`protected`,`private_class_method`,`protected_class_method`,`new`],declarations:[`module`,`class`,`def`,`case`,`do`,`begin`,`for`,`if`,`while`,`until`,`unless`],linedecls:[`def`,`case`,`do`,`begin`,`for`,`if`,`while`,`until`,`unless`],operators:"^.&.|.<=>.==.===.!~.=~.>.>=.<.<=.<<.>>.+.-.*./.%.**.~.+@.-@.[].[]=.`.+=.-=.*=.**=./=.^=.%=.<<=.>>=.&=.&&=.||=.|=".split(`.`),brackets:[{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`}],symbols:/[=><!~?:&|+\-*\/\^%\.]+/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,decpart:/\d(_?\d)*/,decimal:/0|@decpart/,delim:/[^a-zA-Z0-9\s\n\r]/,heredelim:/(?:\w+|'[^']*'|"[^"]*"|`[^`]*`)/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[AzZbBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,tokenizer:{root:[[/^(\s*)([a-z_]\w*[!?=]?)/,[`white`,{cases:{"for|until|while":{token:`keyword.$2`,next:`@dodecl.$2`},"@declarations":{token:`keyword.$2`,next:`@root.$2`},end:{token:`keyword.$S2`,next:`@pop`},"@keywords":`keyword`,"@builtins":`predefined`,"@default":`identifier`}}]],[/[a-z_]\w*[!?=]?/,{cases:{"if|unless|while|until":{token:`keyword.$0x`,next:`@modifier.$0x`},for:{token:`keyword.$2`,next:`@dodecl.$2`},"@linedecls":{token:`keyword.$0`,next:`@root.$0`},end:{token:`keyword.$S2`,next:`@pop`},"@keywords":`keyword`,"@builtins":`predefined`,"@default":`identifier`}}],[/[A-Z][\w]*[!?=]?/,`constructor.identifier`],[/\$[\w]*/,`global.constant`],[/@[\w]*/,`namespace.instance.identifier`],[/@@@[\w]*/,`namespace.class.identifier`],[/<<[-~](@heredelim).*/,{token:`string.heredoc.delimiter`,next:`@heredoc.$1`}],[/[ \t\r\n]+<<(@heredelim).*/,{token:`string.heredoc.delimiter`,next:`@heredoc.$1`}],[/^<<(@heredelim).*/,{token:`string.heredoc.delimiter`,next:`@heredoc.$1`}],{include:`@whitespace`},[/"/,{token:`string.d.delim`,next:`@dstring.d."`}],[/'/,{token:`string.sq.delim`,next:`@sstring.sq`}],[/%([rsqxwW]|Q?)/,{token:`@rematch`,next:`pstring`}],[/`/,{token:`string.x.delim`,next:"@dstring.x.`"}],[/:(\w|[$@])\w*[!?=]?/,`string.s`],[/:"/,{token:`string.s.delim`,next:`@dstring.s."`}],[/:'/,{token:`string.s.delim`,next:`@sstring.s`}],[/\/(?=(\\\/|[^\/\n])+\/)/,{token:`regexp.delim`,next:`@regexp`}],[/[{}()\[\]]/,`@brackets`],[/@symbols/,{cases:{"@keywordops":`keyword`,"@operators":`operator`,"@default":``}}],[/[;,]/,`delimiter`],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,`number.hex`],[/0[_oO][0-7](_?[0-7])*/,`number.octal`],[/0[bB][01](_?[01])*/,`number.binary`],[/0[dD]@decpart/,`number`],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)/,{cases:{$1:`number.float`,"@default":`number`}}]],dodecl:[[/^/,{token:``,switchTo:`@root.$S2`}],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:`keyword.$S2`,next:`@pop`},do:{token:`keyword`,switchTo:`@root.$S2`},"@linedecls":{token:`@rematch`,switchTo:`@root.$S2`},"@keywords":`keyword`,"@builtins":`predefined`,"@default":`identifier`}}],{include:`@root`}],modifier:[[/^/,``,`@pop`],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:`keyword.$S2`,next:`@pop`},"then|else|elsif|do":{token:`keyword`,switchTo:`@root.$S2`},"@linedecls":{token:`@rematch`,switchTo:`@root.$S2`},"@keywords":`keyword`,"@builtins":`predefined`,"@default":`identifier`}}],{include:`@root`}],sstring:[[/[^\\']+/,`string.$S2`],[/\\\\|\\'|\\$/,`string.$S2.escape`],[/\\./,`string.$S2.invalid`],[/'/,{token:`string.$S2.delim`,next:`@pop`}]],dstring:[[/[^\\`"#]+/,`string.$S2`],[/#/,`string.$S2.escape`,`@interpolated`],[/\\$/,`string.$S2.escape`],[/@escapes/,`string.$S2.escape`],[/\\./,`string.$S2.escape.invalid`],[/[`"]/,{cases:{"$#==$S3":{token:`string.$S2.delim`,next:`@pop`},"@default":`string.$S2`}}]],heredoc:[[/^(\s*)(@heredelim)$/,{cases:{"$2==$S2":[`string.heredoc`,{token:`string.heredoc.delimiter`,next:`@pop`}],"@default":[`string.heredoc`,`string.heredoc`]}}],[/.*/,`string.heredoc`]],interpolated:[[/\$\w*/,`global.constant`,`@pop`],[/@\w*/,`namespace.class.identifier`,`@pop`],[/@@@\w*/,`namespace.instance.identifier`,`@pop`],[/[{]/,{token:`string.escape.curly`,switchTo:`@interpolated_compound`}],[``,``,`@pop`]],interpolated_compound:[[/[}]/,{token:`string.escape.curly`,next:`@pop`}],{include:`@root`}],pregexp:[{include:`@whitespace`},[/[^\(\{\[\\]/,{cases:{"$#==$S3":{token:`regexp.delim`,next:`@pop`},"$#==$S2":{token:`regexp.delim`,next:`@push`},"~[)}\\]]":`@brackets.regexp.escape.control`,"~@regexpctl":`regexp.escape.control`,"@default":`regexp`}}],{include:`@regexcontrol`}],regexp:[{include:`@regexcontrol`},[/[^\\\/]/,`regexp`],[`/[ixmp]*`,{token:`regexp.delim`},`@pop`]],regexcontrol:[[/(\{)(\d+(?:,\d*)?)(\})/,[`@brackets.regexp.escape.control`,`regexp.escape.control`,`@brackets.regexp.escape.control`]],[/(\[)(\^?)/,[`@brackets.regexp.escape.control`,{token:`regexp.escape.control`,next:`@regexrange`}]],[/(\()(\?[:=!])/,[`@brackets.regexp.escape.control`,`regexp.escape.control`]],[/\(\?#/,{token:`regexp.escape.control`,next:`@regexpcomment`}],[/[()]/,`@brackets.regexp.escape.control`],[/@regexpctl/,`regexp.escape.control`],[/\\$/,`regexp.escape`],[/@regexpesc/,`regexp.escape`],[/\\\./,`regexp.invalid`],[/#/,`regexp.escape`,`@interpolated`]],regexrange:[[/-/,`regexp.escape.control`],[/\^/,`regexp.invalid`],[/\\$/,`regexp.escape`],[/@regexpesc/,`regexp.escape`],[/[^\]]/,`regexp`],[/\]/,`@brackets.regexp.escape.control`,`@pop`]],regexpcomment:[[/[^)]+/,`comment`],[/\)/,{token:`regexp.escape.control`,next:`@pop`}]],pstring:[[/%([qws])\(/,{token:`string.$1.delim`,switchTo:`@qstring.$1.(.)`}],[/%([qws])\[/,{token:`string.$1.delim`,switchTo:`@qstring.$1.[.]`}],[/%([qws])\{/,{token:`string.$1.delim`,switchTo:`@qstring.$1.{.}`}],[/%([qws])</,{token:`string.$1.delim`,switchTo:`@qstring.$1.<.>`}],[/%([qws])(@delim)/,{token:`string.$1.delim`,switchTo:`@qstring.$1.$2.$2`}],[/%r\(/,{token:`regexp.delim`,switchTo:`@pregexp.(.)`}],[/%r\[/,{token:`regexp.delim`,switchTo:`@pregexp.[.]`}],[/%r\{/,{token:`regexp.delim`,switchTo:`@pregexp.{.}`}],[/%r</,{token:`regexp.delim`,switchTo:`@pregexp.<.>`}],[/%r(@delim)/,{token:`regexp.delim`,switchTo:`@pregexp.$1.$1`}],[/%(x|W|Q?)\(/,{token:`string.$1.delim`,switchTo:`@qqstring.$1.(.)`}],[/%(x|W|Q?)\[/,{token:`string.$1.delim`,switchTo:`@qqstring.$1.[.]`}],[/%(x|W|Q?)\{/,{token:`string.$1.delim`,switchTo:`@qqstring.$1.{.}`}],[/%(x|W|Q?)</,{token:`string.$1.delim`,switchTo:`@qqstring.$1.<.>`}],[/%(x|W|Q?)(@delim)/,{token:`string.$1.delim`,switchTo:`@qqstring.$1.$2.$2`}],[/%([rqwsxW]|Q?)./,{token:`invalid`,next:`@pop`}],[/./,{token:`invalid`,next:`@pop`}]],qstring:[[/\\$/,`string.$S2.escape`],[/\\./,`string.$S2.escape`],[/./,{cases:{"$#==$S4":{token:`string.$S2.delim`,next:`@pop`},"$#==$S3":{token:`string.$S2.delim`,next:`@push`},"@default":`string.$S2`}}]],qqstring:[[/#/,`string.$S2.escape`,`@interpolated`],{include:`@qstring`}],whitespace:[[/[ \t\r\n]+/,``],[/^\s*=begin\b/,`comment`,`@comment`],[/#.*$/,`comment`]],comment:[[/[^=]+/,`comment`],[/^\s*=begin\b/,`comment.invalid`],[/^\s*=end\b.*/,`comment`,`@pop`],[/[=]/,`comment`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`{`,close:`}`},{open:`(`,close:`)`},{open:`"`,close:`"`,notIn:[`string`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{markers:{start:RegExp(`^\\s*#pragma\\s+region\\b`),end:RegExp(`^\\s*#pragma\\s+endregion\\b`)}}},t={tokenPostfix:`.rust`,defaultToken:`invalid`,keywords:`as.async.await.box.break.const.continue.crate.dyn.else.enum.extern.false.fn.for.if.impl.in.let.loop.match.mod.move.mut.pub.ref.return.self.static.struct.super.trait.true.try.type.unsafe.use.where.while.catch.default.union.static.abstract.alignof.become.do.final.macro.offsetof.override.priv.proc.pure.sizeof.typeof.unsized.virtual.yield`.split(`.`),typeKeywords:`Self.m32.m64.m128.f80.f16.f128.int.uint.float.char.bool.u8.u16.u32.u64.f32.f64.i8.i16.i32.i64.str.Option.Either.c_float.c_double.c_void.FILE.fpos_t.DIR.dirent.c_char.c_schar.c_uchar.c_short.c_ushort.c_int.c_uint.c_long.c_ulong.size_t.ptrdiff_t.clock_t.time_t.c_longlong.c_ulonglong.intptr_t.uintptr_t.off_t.dev_t.ino_t.pid_t.mode_t.ssize_t`.split(`.`),constants:[`true`,`false`,`Some`,`None`,`Left`,`Right`,`Ok`,`Err`],supportConstants:`EXIT_FAILURE.EXIT_SUCCESS.RAND_MAX.EOF.SEEK_SET.SEEK_CUR.SEEK_END._IOFBF._IONBF._IOLBF.BUFSIZ.FOPEN_MAX.FILENAME_MAX.L_tmpnam.TMP_MAX.O_RDONLY.O_WRONLY.O_RDWR.O_APPEND.O_CREAT.O_EXCL.O_TRUNC.S_IFIFO.S_IFCHR.S_IFBLK.S_IFDIR.S_IFREG.S_IFMT.S_IEXEC.S_IWRITE.S_IREAD.S_IRWXU.S_IXUSR.S_IWUSR.S_IRUSR.F_OK.R_OK.W_OK.X_OK.STDIN_FILENO.STDOUT_FILENO.STDERR_FILENO`.split(`.`),supportMacros:[`format!`,`print!`,`println!`,`panic!`,`format_args!`,`unreachable!`,`write!`,`writeln!`],operators:`!,!=,%,%=,&,&=,&&,*,*=,+,+=,-,-=,->,.,..,...,/,/=,:,;,<<,<<=,<,<=,=,==,=>,>,>=,>>,>>=,@,^,^=,|,|=,||,_,?,#`.split(`,`),escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/r(#*)"/,{token:`string.quote`,bracket:`@open`,next:`@stringraw.$1`}],[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":`keyword.type`,"@keywords":`keyword`,"@supportConstants":`keyword`,"@supportMacros":`keyword`,"@constants":`keyword`,"@default":`identifier`}}],[/\$/,`identifier`],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,`identifier`],[/'(\S|@escapes)'/,`string.byteliteral`],[/"/,{token:`string.quote`,bracket:`@open`,next:`@string`}],{include:`@numbers`},{include:`@whitespace`},[/@delimiters/,{cases:{"@keywords":`keyword`,"@default":`delimiter`}}],[/[{}()\[\]<>]/,`@brackets`],[/@symbols/,{cases:{"@operators":`operator`,"@default":``}}]],whitespace:[[/[ \t\r\n]+/,`white`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[`\\*/`,`comment`,`@pop`],[/[\/*]/,`comment`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],stringraw:[[/[^"#]+/,{token:`string`}],[/"(#*)/,{cases:{"$1==$S2":{token:`string.quote`,bracket:`@close`,next:`@pop`},"@default":{token:`string`}}}],[/["#]/,{token:`string`}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:`number`}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:`number`}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:`number`}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:`number`}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:`number`}],[/[\d][\d_]*(@intSuffixes?)?/,{token:`number`}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`'`},brackets:[[`(`,`)`],[`[`,`]`],[`If`,`EndIf`],[`While`,`EndWhile`],[`For`,`EndFor`],[`Sub`,`EndSub`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]}]},t={defaultToken:``,tokenPostfix:`.sb`,ignoreCase:!0,brackets:[{token:`delimiter.array`,open:`[`,close:`]`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`keyword.tag-if`,open:`If`,close:`EndIf`},{token:`keyword.tag-while`,open:`While`,close:`EndWhile`},{token:`keyword.tag-for`,open:`For`,close:`EndFor`},{token:`keyword.tag-sub`,open:`Sub`,close:`EndSub`}],keywords:[`Else`,`ElseIf`,`EndFor`,`EndIf`,`EndSub`,`EndWhile`,`For`,`Goto`,`If`,`Step`,`Sub`,`Then`,`To`,`While`],tagwords:[`If`,`Sub`,`While`,`For`],operators:[`>`,`<`,`<>`,`<=`,`>=`,`And`,`Or`,`+`,`-`,`*`,`/`,`=`],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:`@whitespace`},[/(@identifier)(?=[.])/,`type`],[/@identifier/,{cases:{"@keywords":{token:`keyword.$0`},"@operators":`operator`,"@default":`variable.name`}}],[/([.])(@identifier)/,{cases:{$2:[`delimiter`,`type.member`],"@default":``}}],[/\d*\.\d+/,`number.float`],[/\d+/,`number`],[/[()\[\]]/,`@brackets`],[/@symbols/,{cases:{"@operators":`operator`,"@default":`delimiter`}}],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`]],whitespace:[[/[ \t\r\n]+/,``],[/(\').*$/,`comment`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"C?/,`string`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{markers:{start:RegExp(`^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))`),end:RegExp(`^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))`)}}},t={tokenPostfix:`.scala`,keywords:`asInstanceOf.catch.class.classOf.def.do.else.extends.finally.for.foreach.forSome.if.import.isInstanceOf.macro.match.new.object.package.return.throw.trait.try.type.until.val.var.while.with.yield.given.enum.then`.split(`.`),softKeywords:[`as`,`export`,`extension`,`end`,`derives`,`on`],constants:[`true`,`false`,`null`,`this`,`super`],modifiers:[`abstract`,`final`,`implicit`,`lazy`,`override`,`private`,`protected`,`sealed`],softModifiers:[`inline`,`opaque`,`open`,`transparent`,`using`],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=><!~?:&|+\-*\/^\\%@#]+/,digits:/\d+(_+\d+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,escapes:/\\(?:[btnfr\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,fstring_conv:/[bBhHsScCdoxXeEfgGaAt]|[Tn](?:[HIklMSLNpzZsQ]|[BbhAaCYyjmde]|[RTrDFC])/,tokenizer:{root:[[/\braw"""/,{token:`string.quote`,bracket:`@open`,next:`@rawstringt`}],[/\braw"/,{token:`string.quote`,bracket:`@open`,next:`@rawstring`}],[/\bs"""/,{token:`string.quote`,bracket:`@open`,next:`@sstringt`}],[/\bs"/,{token:`string.quote`,bracket:`@open`,next:`@sstring`}],[/\bf""""/,{token:`string.quote`,bracket:`@open`,next:`@fstringt`}],[/\bf"/,{token:`string.quote`,bracket:`@open`,next:`@fstring`}],[/"""/,{token:`string.quote`,bracket:`@open`,next:`@stringt`}],[/"/,{token:`string.quote`,bracket:`@open`,next:`@string`}],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,`number.float`,`@allowMethod`],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,`number.float`,`@allowMethod`],[/0[xX](@hexdigits)[Ll]?/,`number.hex`,`@allowMethod`],[/(@digits)[fFdD]/,`number.float`,`@allowMethod`],[/(@digits)[lL]?/,`number`,`@allowMethod`],[/\b_\*/,`key`],[/\b(_)\b/,`keyword`,`@allowMethod`],[/\bimport\b/,`keyword`,`@import`],[/\b(case)([ \t]+)(class)\b/,[`keyword.modifier`,`white`,`keyword`]],[/\bcase\b/,`keyword`,`@case`],[/\bva[lr]\b/,`keyword`,`@vardef`],[/\b(def)([ \t]+)((?:unary_)?@symbols|@name(?:_=)|@name)/,[`keyword`,`white`,`identifier`]],[/@name(?=[ \t]*:(?!:))/,`variable`],[/(\.)(@name|@symbols)/,[`operator`,{token:`@rematch`,next:`@allowMethod`}]],[/([{(])(\s*)(@name(?=\s*=>))/,[`@brackets`,`white`,`variable`]],[/@name/,{cases:{"@keywords":`keyword`,"@softKeywords":`keyword`,"@modifiers":`keyword.modifier`,"@softModifiers":`keyword.modifier`,"@constants":{token:`constant`,next:`@allowMethod`},"@default":{token:`identifier`,next:`@allowMethod`}}}],[/@type/,`type`,`@allowMethod`],{include:`@whitespace`},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,`annotation`],[/[{(]/,`@brackets`],[/[})]/,`@brackets`,`@allowMethod`],[/\[/,`operator.square`],[/](?!\s*(?:va[rl]|def|type)\b)/,`operator.square`,`@allowMethod`],[/]/,`operator.square`],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,`keyword`],[/@symbols/,`operator`],[/[;,\.]/,`delimiter`],[/'[a-zA-Z$][\w$]*(?!')/,`attribute.name`],[/'[^\\']'/,`string`,`@allowMethod`],[/(')(@escapes)(')/,[`string`,`string.escape`,{token:`string`,next:`@allowMethod`}]],[/'/,`string.invalid`]],import:[[/;/,`delimiter`,`@pop`],[/^|$/,``,`@pop`],[/[ \t]+/,`white`],[/[\n\r]+/,`white`,`@pop`],[/\/\*/,`comment`,`@comment`],[/@name|@type/,`type`],[/[(){}]/,`@brackets`],[/[[\]]/,`operator.square`],[/[\.,]/,`delimiter`]],allowMethod:[[/^|$/,``,`@pop`],[/[ \t]+/,`white`],[/[\n\r]+/,`white`,`@pop`],[/\/\*/,`comment`,`@comment`],[/(?==>[\s\w([{])/,`keyword`,`@pop`],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:`keyword`,next:`@pop`},"->|<-|>:|<:|<%":{token:`keyword`,next:`@pop`},"@default":{token:`@rematch`,next:`@pop`}}}],[``,``,`@pop`]],comment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],case:[[/\b_\*/,`key`],[/\b(_|true|false|null|this|super)\b/,`keyword`,`@allowMethod`],[/\bif\b|=>/,`keyword`,`@pop`],[/`[^`]+`/,`identifier`,`@allowMethod`],[/@name/,`variable`,`@allowMethod`],[/:::?|\||@(?![a-z_$])/,`keyword`],{include:`@root`}],vardef:[[/\b_\*/,`key`],[/\b(_|true|false|null|this|super)\b/,`keyword`],[/@name/,`variable`],[/:::?|\||@(?![a-z_$])/,`keyword`],[/=|:(?!:)/,`operator`,`@pop`],[/$/,`white`,`@pop`],{include:`@root`}],string:[[/[^\\"\n\r]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}]],stringt:[[/[^\\"\n\r]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/"/,`string`]],fstring:[[/@escapes/,`string.escape`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/%%/,`string`],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`keyword.modifier`,`number`,`metatag`]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`number`,`metatag`]],[/(%)([\-#+ 0,(])(@fstring_conv)/,[`metatag`,`keyword.modifier`,`metatag`]],[/(%)(@fstring_conv)/,[`metatag`,`metatag`]],[/./,`string`]],fstringt:[[/@escapes/,`string.escape`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/%%/,`string`],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`keyword.modifier`,`number`,`metatag`]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,[`metatag`,`number`,`metatag`]],[/(%)([\-#+ 0,(])(@fstring_conv)/,[`metatag`,`keyword.modifier`,`metatag`]],[/(%)(@fstring_conv)/,[`metatag`,`metatag`]],[/./,`string`]],sstring:[[/@escapes/,`string.escape`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/./,`string`]],sstringt:[[/@escapes/,`string.escape`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/\$\$/,`string`],[/(\$)([a-z_]\w*)/,[`operator`,`identifier`]],[/\$\{/,`operator`,`@interp`],[/./,`string`]],interp:[[/{/,`operator`,`@push`],[/}/,`operator`,`@pop`],{include:`@root`}],rawstring:[[/[^"]/,`string`],[/"/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}]],rawstringt:[[/[^"]/,`string`],[/"(?=""")/,`string`],[/"""/,{token:`string.quote`,bracket:`@close`,switchTo:`@allowMethod`}],[/"/,`string`]],whitespace:[[/[ \t\r\n]+/,`white`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`;`,blockComment:[`#|`,`|#`]},brackets:[[`(`,`)`],[`{`,`}`],[`[`,`]`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`}]},t={defaultToken:``,ignoreCase:!0,tokenPostfix:`.scheme`,brackets:[{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`}],keywords:[`case`,`do`,`let`,`loop`,`if`,`else`,`when`,`cons`,`car`,`cdr`,`cond`,`lambda`,`lambda*`,`syntax-rules`,`format`,`set!`,`quote`,`eval`,`append`,`list`,`list?`,`member?`,`load`],constants:[`#t`,`#f`],operators:[`eq?`,`eqv?`,`equal?`,`and`,`or`,`not`,`null?`],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,`number.hex`],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,`number.float`],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,[`keyword`,`white`,`variable`]],{include:`@whitespace`},{include:`@strings`},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":`keyword`,"@constants":`constant`,"@operators":`operators`,"@default":`identifier`}}]],comment:[[/[^\|#]+/,`comment`],[/#\|/,`comment`,`@push`],[/\|#/,`comment`,`@pop`],[/[\|#]/,`comment`]],whitespace:[[/[ \t\r\n]+/,`white`],[/#\|/,`comment`,`@comment`],[/;.*$/,`comment`]],strings:[[/"$/,`string`,`@popall`],[/"(?=.)/,`string`,`@multiLineString`]],multiLineString:[[/[^\\"]+$/,`string`,`@popall`],[/[^\\"]+/,`string`],[/\\./,`string.escape`],[/"/,`string`,`@popall`],[/\\$/,`string`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var e={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:[`/*`,`*/`],lineComment:`//`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]},{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`'`,close:`'`,notIn:[`string`,`comment`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{markers:{start:RegExp(`^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/`),end:RegExp(`^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/`)}}},t={defaultToken:``,tokenPostfix:`.scss`,ws:`[
|
|
2
|
+
\r\f]*`,identifier:`-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*`,brackets:[{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.bracket`},{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`<`,close:`>`,token:`delimiter.angle`}],tokenizer:{root:[{include:`@selector`}],selector:[{include:`@comments`},{include:`@import`},{include:`@variabledeclaration`},{include:`@warndebug`},[`[@](include)`,{token:`keyword`,next:`@includedeclaration`}],[`[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)`,{token:`keyword`,next:`@keyframedeclaration`}],[`[@](page|content|font-face|-moz-document)`,{token:`keyword`}],[`[@](charset|namespace)`,{token:`keyword`,next:`@declarationbody`}],[`[@](function)`,{token:`keyword`,next:`@functiondeclaration`}],[`[@](mixin)`,{token:`keyword`,next:`@mixindeclaration`}],[`url(\\-prefix)?\\(`,{token:`meta`,next:`@urldeclaration`}],{include:`@controlstatement`},{include:`@selectorname`},[`[&\\*]`,`tag`],[`[>\\+,]`,`delimiter`],[`\\[`,{token:`delimiter.bracket`,next:`@selectorattribute`}],[`{`,{token:`delimiter.curly`,next:`@selectorbody`}]],selectorbody:[[`[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))`,`attribute.name`,`@rulevalue`],{include:`@selector`},[`[@](extend)`,{token:`keyword`,next:`@extendbody`}],[`[@](return)`,{token:`keyword`,next:`@declarationbody`}],[`}`,{token:`delimiter.curly`,next:`@pop`}]],selectorname:[[`#{`,{token:`meta`,next:`@variableinterpolation`}],[`(\\.|#(?=[^{])|%|(@identifier)|:)+`,`tag`]],selectorattribute:[{include:`@term`},[`]`,{token:`delimiter.bracket`,next:`@pop`}]],term:[{include:`@comments`},[`url(\\-prefix)?\\(`,{token:`meta`,next:`@urldeclaration`}],{include:`@functioninvocation`},{include:`@numbers`},{include:`@strings`},{include:`@variablereference`},[`(and\\b|or\\b|not\\b)`,`operator`],{include:`@name`},[`([<>=\\+\\-\\*\\/\\^\\|\\~,])`,`operator`],[`,`,`delimiter`],[`!default`,`literal`],[`\\(`,{token:`delimiter.parenthesis`,next:`@parenthizedterm`}]],rulevalue:[{include:`@term`},[`!important`,`literal`],[`;`,`delimiter`,`@pop`],[`{`,{token:`delimiter.curly`,switchTo:`@nestedproperty`}],[`(?=})`,{token:``,next:`@pop`}]],nestedproperty:[[`[*_]?@identifier@ws:`,`attribute.name`,`@rulevalue`],{include:`@comments`},[`}`,{token:`delimiter.curly`,next:`@pop`}]],warndebug:[[`[@](warn|debug)`,{token:`keyword`,next:`@declarationbody`}]],import:[[`[@](import)`,{token:`keyword`,next:`@declarationbody`}]],variabledeclaration:[[`\\$@identifier@ws:`,`variable.decl`,`@declarationbody`]],urldeclaration:[{include:`@strings`},[`[^)\r
|
|
3
|
+
]+`,`string`],[`\\)`,{token:`meta`,next:`@pop`}]],parenthizedterm:[{include:`@term`},[`\\)`,{token:`delimiter.parenthesis`,next:`@pop`}]],declarationbody:[{include:`@term`},[`;`,`delimiter`,`@pop`],[`(?=})`,{token:``,next:`@pop`}]],extendbody:[{include:`@selectorname`},[`!optional`,`literal`],[`;`,`delimiter`,`@pop`],[`(?=})`,{token:``,next:`@pop`}]],variablereference:[[`\\$@identifier`,`variable.ref`],[`\\.\\.\\.`,`operator`],[`#{`,{token:`meta`,next:`@variableinterpolation`}]],variableinterpolation:[{include:`@variablereference`},[`}`,{token:`meta`,next:`@pop`}]],comments:[[`\\/\\*`,`comment`,`@comment`],[`\\/\\/+.*`,`comment`]],comment:[[`\\*\\/`,`comment`,`@pop`],[`.`,`comment`]],name:[[`@identifier`,`attribute.value`]],numbers:[[`(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?`,{token:`number`,next:`@units`}],[`#[0-9a-fA-F_]+(?!\\w)`,`number.hex`]],units:[[`(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?`,`number`,`@pop`]],functiondeclaration:[[`@identifier@ws\\(`,{token:`meta`,next:`@parameterdeclaration`}],[`{`,{token:`delimiter.curly`,switchTo:`@functionbody`}]],mixindeclaration:[[`@identifier@ws\\(`,{token:`meta`,next:`@parameterdeclaration`}],[`@identifier`,`meta`],[`{`,{token:`delimiter.curly`,switchTo:`@selectorbody`}]],parameterdeclaration:[[`\\$@identifier@ws:`,`variable.decl`],[`\\.\\.\\.`,`operator`],[`,`,`delimiter`],{include:`@term`},[`\\)`,{token:`meta`,next:`@pop`}]],includedeclaration:[{include:`@functioninvocation`},[`@identifier`,`meta`],[`;`,`delimiter`,`@pop`],[`(?=})`,{token:``,next:`@pop`}],[`{`,{token:`delimiter.curly`,switchTo:`@selectorbody`}]],keyframedeclaration:[[`@identifier`,`meta`],[`{`,{token:`delimiter.curly`,switchTo:`@keyframebody`}]],keyframebody:[{include:`@term`},[`{`,{token:`delimiter.curly`,next:`@selectorbody`}],[`}`,{token:`delimiter.curly`,next:`@pop`}]],controlstatement:[[`[@](if|else|for|while|each|media)`,{token:`keyword.flow`,next:`@controlstatementdeclaration`}]],controlstatementdeclaration:[[`(in|from|through|if|to)\\b`,{token:`keyword.flow`}],{include:`@term`},[`{`,{token:`delimiter.curly`,switchTo:`@selectorbody`}]],functionbody:[[`[@](return)`,{token:`keyword`}],{include:`@variabledeclaration`},{include:`@term`},{include:`@controlstatement`},[`;`,`delimiter`],[`}`,{token:`delimiter.curly`,next:`@pop`}]],functioninvocation:[[`@identifier\\(`,{token:`meta`,next:`@functionarguments`}]],functionarguments:[[`\\$@identifier@ws:`,`attribute.name`],[`[,]`,`delimiter`],{include:`@term`},[`\\)`,{token:`meta`,next:`@pop`}]],strings:[[`~?"`,{token:`string.delimiter`,next:`@stringenddoublequote`}],[`~?'`,{token:`string.delimiter`,next:`@stringendquote`}]],stringenddoublequote:[[`\\\\.`,`string`],[`"`,{token:`string.delimiter`,next:`@pop`}],[`.`,`string`]],stringendquote:[[`\\\\.`,`string`],[`'`,{token:`string.delimiter`,next:`@pop`}],[`.`,`string`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}]},t={defaultToken:``,ignoreCase:!0,tokenPostfix:`.shell`,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:[`if`,`then`,`do`,`else`,`elif`,`while`,`until`,`for`,`in`,`esac`,`fi`,`fin`,`fil`,`done`,`exit`,`set`,`unset`,`export`,`function`],builtins:`ab.awk.bash.beep.cat.cc.cd.chown.chmod.chroot.clear.cp.curl.cut.diff.echo.find.gawk.gcc.get.git.grep.hg.kill.killall.ln.ls.make.mkdir.openssl.mv.nc.node.npm.ping.ps.restart.rm.rmdir.sed.service.sh.shopt.shred.source.sort.sleep.ssh.start.stop.su.sudo.svn.tee.telnet.top.touch.vi.vim.wall.wc.wget.who.write.yes.zsh`.split(`.`),startingWithDash:/\-+\w+/,identifiersWithDashes:/[a-zA-Z]\w+(?:@startingWithDash)+/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[[/@identifiersWithDashes/,``],[/(\s)((?:@startingWithDash)+)/,[`white`,`attribute.name`]],[/[a-zA-Z]\w*/,{cases:{"@keywords":`keyword`,"@builtins":`type.identifier`,"@default":``}}],{include:`@whitespace`},{include:`@strings`},{include:`@parameters`},{include:`@heredoc`},[/[{}\[\]()]/,`@brackets`],[/@symbols/,`delimiter`],{include:`@numbers`},[/[,;]/,`delimiter`]],whitespace:[[/\s+/,`white`],[/(^#!.*$)/,`metatag`],[/(^#.*$)/,`comment`]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,`number.float`],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,`number.hex`],[/\d+/,`number`]],strings:[[/'/,`string`,`@stringBody`],[/"/,`string`,`@dblStringBody`]],stringBody:[[/'/,`string`,`@popall`],[/./,`string`]],dblStringBody:[[/"/,`string`,`@popall`],[/./,`string`]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,[`constants`,`white`,`string.heredoc.delimiter`,`string.heredoc`,`string.heredoc.delimiter`]]],parameters:[[/\$\d+/,`variable.predefined`],[/\$\w+/,`variable`],[/\$[*@#?\-$!0_]/,`variable`],[/\$'/,`variable`,`@parameterBodyQuote`],[/\$"/,`variable`,`@parameterBodyDoubleQuote`],[/\$\(/,`variable`,`@parameterBodyParen`],[/\$\{/,`variable`,`@parameterBodyCurlyBrace`]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,`variable`],[/[#:%*@\-!_]/,`delimiter`],[/[']/,`variable`,`@pop`]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,`variable`],[/[#:%*@\-!_]/,`delimiter`],[/["]/,`variable`,`@pop`]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,`variable`],[/[#:%*@\-!_]/,`delimiter`],[/[)]/,`variable`,`@pop`]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,`variable`],[/[#:%*@\-!_]/,`delimiter`],[/[}]/,`variable`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`<`,`>`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]}]},t={defaultToken:``,tokenPostfix:`.sol`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.angle`,open:`<`,close:`>`}],keywords:`pragma.solidity.contract.library.using.struct.function.modifier.constructor.address.string.bool.Int.Uint.Byte.Fixed.Ufixed.int.int8.int16.int24.int32.int40.int48.int56.int64.int72.int80.int88.int96.int104.int112.int120.int128.int136.int144.int152.int160.int168.int176.int184.int192.int200.int208.int216.int224.int232.int240.int248.int256.uint.uint8.uint16.uint24.uint32.uint40.uint48.uint56.uint64.uint72.uint80.uint88.uint96.uint104.uint112.uint120.uint128.uint136.uint144.uint152.uint160.uint168.uint176.uint184.uint192.uint200.uint208.uint216.uint224.uint232.uint240.uint248.uint256.byte.bytes.bytes1.bytes2.bytes3.bytes4.bytes5.bytes6.bytes7.bytes8.bytes9.bytes10.bytes11.bytes12.bytes13.bytes14.bytes15.bytes16.bytes17.bytes18.bytes19.bytes20.bytes21.bytes22.bytes23.bytes24.bytes25.bytes26.bytes27.bytes28.bytes29.bytes30.bytes31.bytes32.fixed.fixed0x8.fixed0x16.fixed0x24.fixed0x32.fixed0x40.fixed0x48.fixed0x56.fixed0x64.fixed0x72.fixed0x80.fixed0x88.fixed0x96.fixed0x104.fixed0x112.fixed0x120.fixed0x128.fixed0x136.fixed0x144.fixed0x152.fixed0x160.fixed0x168.fixed0x176.fixed0x184.fixed0x192.fixed0x200.fixed0x208.fixed0x216.fixed0x224.fixed0x232.fixed0x240.fixed0x248.fixed0x256.fixed8x8.fixed8x16.fixed8x24.fixed8x32.fixed8x40.fixed8x48.fixed8x56.fixed8x64.fixed8x72.fixed8x80.fixed8x88.fixed8x96.fixed8x104.fixed8x112.fixed8x120.fixed8x128.fixed8x136.fixed8x144.fixed8x152.fixed8x160.fixed8x168.fixed8x176.fixed8x184.fixed8x192.fixed8x200.fixed8x208.fixed8x216.fixed8x224.fixed8x232.fixed8x240.fixed8x248.fixed16x8.fixed16x16.fixed16x24.fixed16x32.fixed16x40.fixed16x48.fixed16x56.fixed16x64.fixed16x72.fixed16x80.fixed16x88.fixed16x96.fixed16x104.fixed16x112.fixed16x120.fixed16x128.fixed16x136.fixed16x144.fixed16x152.fixed16x160.fixed16x168.fixed16x176.fixed16x184.fixed16x192.fixed16x200.fixed16x208.fixed16x216.fixed16x224.fixed16x232.fixed16x240.fixed24x8.fixed24x16.fixed24x24.fixed24x32.fixed24x40.fixed24x48.fixed24x56.fixed24x64.fixed24x72.fixed24x80.fixed24x88.fixed24x96.fixed24x104.fixed24x112.fixed24x120.fixed24x128.fixed24x136.fixed24x144.fixed24x152.fixed24x160.fixed24x168.fixed24x176.fixed24x184.fixed24x192.fixed24x200.fixed24x208.fixed24x216.fixed24x224.fixed24x232.fixed32x8.fixed32x16.fixed32x24.fixed32x32.fixed32x40.fixed32x48.fixed32x56.fixed32x64.fixed32x72.fixed32x80.fixed32x88.fixed32x96.fixed32x104.fixed32x112.fixed32x120.fixed32x128.fixed32x136.fixed32x144.fixed32x152.fixed32x160.fixed32x168.fixed32x176.fixed32x184.fixed32x192.fixed32x200.fixed32x208.fixed32x216.fixed32x224.fixed40x8.fixed40x16.fixed40x24.fixed40x32.fixed40x40.fixed40x48.fixed40x56.fixed40x64.fixed40x72.fixed40x80.fixed40x88.fixed40x96.fixed40x104.fixed40x112.fixed40x120.fixed40x128.fixed40x136.fixed40x144.fixed40x152.fixed40x160.fixed40x168.fixed40x176.fixed40x184.fixed40x192.fixed40x200.fixed40x208.fixed40x216.fixed48x8.fixed48x16.fixed48x24.fixed48x32.fixed48x40.fixed48x48.fixed48x56.fixed48x64.fixed48x72.fixed48x80.fixed48x88.fixed48x96.fixed48x104.fixed48x112.fixed48x120.fixed48x128.fixed48x136.fixed48x144.fixed48x152.fixed48x160.fixed48x168.fixed48x176.fixed48x184.fixed48x192.fixed48x200.fixed48x208.fixed56x8.fixed56x16.fixed56x24.fixed56x32.fixed56x40.fixed56x48.fixed56x56.fixed56x64.fixed56x72.fixed56x80.fixed56x88.fixed56x96.fixed56x104.fixed56x112.fixed56x120.fixed56x128.fixed56x136.fixed56x144.fixed56x152.fixed56x160.fixed56x168.fixed56x176.fixed56x184.fixed56x192.fixed56x200.fixed64x8.fixed64x16.fixed64x24.fixed64x32.fixed64x40.fixed64x48.fixed64x56.fixed64x64.fixed64x72.fixed64x80.fixed64x88.fixed64x96.fixed64x104.fixed64x112.fixed64x120.fixed64x128.fixed64x136.fixed64x144.fixed64x152.fixed64x160.fixed64x168.fixed64x176.fixed64x184.fixed64x192.fixed72x8.fixed72x16.fixed72x24.fixed72x32.fixed72x40.fixed72x48.fixed72x56.fixed72x64.fixed72x72.fixed72x80.fixed72x88.fixed72x96.fixed72x104.fixed72x112.fixed72x120.fixed72x128.fixed72x136.fixed72x144.fixed72x152.fixed72x160.fixed72x168.fixed72x176.fixed72x184.fixed80x8.fixed80x16.fixed80x24.fixed80x32.fixed80x40.fixed80x48.fixed80x56.fixed80x64.fixed80x72.fixed80x80.fixed80x88.fixed80x96.fixed80x104.fixed80x112.fixed80x120.fixed80x128.fixed80x136.fixed80x144.fixed80x152.fixed80x160.fixed80x168.fixed80x176.fixed88x8.fixed88x16.fixed88x24.fixed88x32.fixed88x40.fixed88x48.fixed88x56.fixed88x64.fixed88x72.fixed88x80.fixed88x88.fixed88x96.fixed88x104.fixed88x112.fixed88x120.fixed88x128.fixed88x136.fixed88x144.fixed88x152.fixed88x160.fixed88x168.fixed96x8.fixed96x16.fixed96x24.fixed96x32.fixed96x40.fixed96x48.fixed96x56.fixed96x64.fixed96x72.fixed96x80.fixed96x88.fixed96x96.fixed96x104.fixed96x112.fixed96x120.fixed96x128.fixed96x136.fixed96x144.fixed96x152.fixed96x160.fixed104x8.fixed104x16.fixed104x24.fixed104x32.fixed104x40.fixed104x48.fixed104x56.fixed104x64.fixed104x72.fixed104x80.fixed104x88.fixed104x96.fixed104x104.fixed104x112.fixed104x120.fixed104x128.fixed104x136.fixed104x144.fixed104x152.fixed112x8.fixed112x16.fixed112x24.fixed112x32.fixed112x40.fixed112x48.fixed112x56.fixed112x64.fixed112x72.fixed112x80.fixed112x88.fixed112x96.fixed112x104.fixed112x112.fixed112x120.fixed112x128.fixed112x136.fixed112x144.fixed120x8.fixed120x16.fixed120x24.fixed120x32.fixed120x40.fixed120x48.fixed120x56.fixed120x64.fixed120x72.fixed120x80.fixed120x88.fixed120x96.fixed120x104.fixed120x112.fixed120x120.fixed120x128.fixed120x136.fixed128x8.fixed128x16.fixed128x24.fixed128x32.fixed128x40.fixed128x48.fixed128x56.fixed128x64.fixed128x72.fixed128x80.fixed128x88.fixed128x96.fixed128x104.fixed128x112.fixed128x120.fixed128x128.fixed136x8.fixed136x16.fixed136x24.fixed136x32.fixed136x40.fixed136x48.fixed136x56.fixed136x64.fixed136x72.fixed136x80.fixed136x88.fixed136x96.fixed136x104.fixed136x112.fixed136x120.fixed144x8.fixed144x16.fixed144x24.fixed144x32.fixed144x40.fixed144x48.fixed144x56.fixed144x64.fixed144x72.fixed144x80.fixed144x88.fixed144x96.fixed144x104.fixed144x112.fixed152x8.fixed152x16.fixed152x24.fixed152x32.fixed152x40.fixed152x48.fixed152x56.fixed152x64.fixed152x72.fixed152x80.fixed152x88.fixed152x96.fixed152x104.fixed160x8.fixed160x16.fixed160x24.fixed160x32.fixed160x40.fixed160x48.fixed160x56.fixed160x64.fixed160x72.fixed160x80.fixed160x88.fixed160x96.fixed168x8.fixed168x16.fixed168x24.fixed168x32.fixed168x40.fixed168x48.fixed168x56.fixed168x64.fixed168x72.fixed168x80.fixed168x88.fixed176x8.fixed176x16.fixed176x24.fixed176x32.fixed176x40.fixed176x48.fixed176x56.fixed176x64.fixed176x72.fixed176x80.fixed184x8.fixed184x16.fixed184x24.fixed184x32.fixed184x40.fixed184x48.fixed184x56.fixed184x64.fixed184x72.fixed192x8.fixed192x16.fixed192x24.fixed192x32.fixed192x40.fixed192x48.fixed192x56.fixed192x64.fixed200x8.fixed200x16.fixed200x24.fixed200x32.fixed200x40.fixed200x48.fixed200x56.fixed208x8.fixed208x16.fixed208x24.fixed208x32.fixed208x40.fixed208x48.fixed216x8.fixed216x16.fixed216x24.fixed216x32.fixed216x40.fixed224x8.fixed224x16.fixed224x24.fixed224x32.fixed232x8.fixed232x16.fixed232x24.fixed240x8.fixed240x16.fixed248x8.ufixed.ufixed0x8.ufixed0x16.ufixed0x24.ufixed0x32.ufixed0x40.ufixed0x48.ufixed0x56.ufixed0x64.ufixed0x72.ufixed0x80.ufixed0x88.ufixed0x96.ufixed0x104.ufixed0x112.ufixed0x120.ufixed0x128.ufixed0x136.ufixed0x144.ufixed0x152.ufixed0x160.ufixed0x168.ufixed0x176.ufixed0x184.ufixed0x192.ufixed0x200.ufixed0x208.ufixed0x216.ufixed0x224.ufixed0x232.ufixed0x240.ufixed0x248.ufixed0x256.ufixed8x8.ufixed8x16.ufixed8x24.ufixed8x32.ufixed8x40.ufixed8x48.ufixed8x56.ufixed8x64.ufixed8x72.ufixed8x80.ufixed8x88.ufixed8x96.ufixed8x104.ufixed8x112.ufixed8x120.ufixed8x128.ufixed8x136.ufixed8x144.ufixed8x152.ufixed8x160.ufixed8x168.ufixed8x176.ufixed8x184.ufixed8x192.ufixed8x200.ufixed8x208.ufixed8x216.ufixed8x224.ufixed8x232.ufixed8x240.ufixed8x248.ufixed16x8.ufixed16x16.ufixed16x24.ufixed16x32.ufixed16x40.ufixed16x48.ufixed16x56.ufixed16x64.ufixed16x72.ufixed16x80.ufixed16x88.ufixed16x96.ufixed16x104.ufixed16x112.ufixed16x120.ufixed16x128.ufixed16x136.ufixed16x144.ufixed16x152.ufixed16x160.ufixed16x168.ufixed16x176.ufixed16x184.ufixed16x192.ufixed16x200.ufixed16x208.ufixed16x216.ufixed16x224.ufixed16x232.ufixed16x240.ufixed24x8.ufixed24x16.ufixed24x24.ufixed24x32.ufixed24x40.ufixed24x48.ufixed24x56.ufixed24x64.ufixed24x72.ufixed24x80.ufixed24x88.ufixed24x96.ufixed24x104.ufixed24x112.ufixed24x120.ufixed24x128.ufixed24x136.ufixed24x144.ufixed24x152.ufixed24x160.ufixed24x168.ufixed24x176.ufixed24x184.ufixed24x192.ufixed24x200.ufixed24x208.ufixed24x216.ufixed24x224.ufixed24x232.ufixed32x8.ufixed32x16.ufixed32x24.ufixed32x32.ufixed32x40.ufixed32x48.ufixed32x56.ufixed32x64.ufixed32x72.ufixed32x80.ufixed32x88.ufixed32x96.ufixed32x104.ufixed32x112.ufixed32x120.ufixed32x128.ufixed32x136.ufixed32x144.ufixed32x152.ufixed32x160.ufixed32x168.ufixed32x176.ufixed32x184.ufixed32x192.ufixed32x200.ufixed32x208.ufixed32x216.ufixed32x224.ufixed40x8.ufixed40x16.ufixed40x24.ufixed40x32.ufixed40x40.ufixed40x48.ufixed40x56.ufixed40x64.ufixed40x72.ufixed40x80.ufixed40x88.ufixed40x96.ufixed40x104.ufixed40x112.ufixed40x120.ufixed40x128.ufixed40x136.ufixed40x144.ufixed40x152.ufixed40x160.ufixed40x168.ufixed40x176.ufixed40x184.ufixed40x192.ufixed40x200.ufixed40x208.ufixed40x216.ufixed48x8.ufixed48x16.ufixed48x24.ufixed48x32.ufixed48x40.ufixed48x48.ufixed48x56.ufixed48x64.ufixed48x72.ufixed48x80.ufixed48x88.ufixed48x96.ufixed48x104.ufixed48x112.ufixed48x120.ufixed48x128.ufixed48x136.ufixed48x144.ufixed48x152.ufixed48x160.ufixed48x168.ufixed48x176.ufixed48x184.ufixed48x192.ufixed48x200.ufixed48x208.ufixed56x8.ufixed56x16.ufixed56x24.ufixed56x32.ufixed56x40.ufixed56x48.ufixed56x56.ufixed56x64.ufixed56x72.ufixed56x80.ufixed56x88.ufixed56x96.ufixed56x104.ufixed56x112.ufixed56x120.ufixed56x128.ufixed56x136.ufixed56x144.ufixed56x152.ufixed56x160.ufixed56x168.ufixed56x176.ufixed56x184.ufixed56x192.ufixed56x200.ufixed64x8.ufixed64x16.ufixed64x24.ufixed64x32.ufixed64x40.ufixed64x48.ufixed64x56.ufixed64x64.ufixed64x72.ufixed64x80.ufixed64x88.ufixed64x96.ufixed64x104.ufixed64x112.ufixed64x120.ufixed64x128.ufixed64x136.ufixed64x144.ufixed64x152.ufixed64x160.ufixed64x168.ufixed64x176.ufixed64x184.ufixed64x192.ufixed72x8.ufixed72x16.ufixed72x24.ufixed72x32.ufixed72x40.ufixed72x48.ufixed72x56.ufixed72x64.ufixed72x72.ufixed72x80.ufixed72x88.ufixed72x96.ufixed72x104.ufixed72x112.ufixed72x120.ufixed72x128.ufixed72x136.ufixed72x144.ufixed72x152.ufixed72x160.ufixed72x168.ufixed72x176.ufixed72x184.ufixed80x8.ufixed80x16.ufixed80x24.ufixed80x32.ufixed80x40.ufixed80x48.ufixed80x56.ufixed80x64.ufixed80x72.ufixed80x80.ufixed80x88.ufixed80x96.ufixed80x104.ufixed80x112.ufixed80x120.ufixed80x128.ufixed80x136.ufixed80x144.ufixed80x152.ufixed80x160.ufixed80x168.ufixed80x176.ufixed88x8.ufixed88x16.ufixed88x24.ufixed88x32.ufixed88x40.ufixed88x48.ufixed88x56.ufixed88x64.ufixed88x72.ufixed88x80.ufixed88x88.ufixed88x96.ufixed88x104.ufixed88x112.ufixed88x120.ufixed88x128.ufixed88x136.ufixed88x144.ufixed88x152.ufixed88x160.ufixed88x168.ufixed96x8.ufixed96x16.ufixed96x24.ufixed96x32.ufixed96x40.ufixed96x48.ufixed96x56.ufixed96x64.ufixed96x72.ufixed96x80.ufixed96x88.ufixed96x96.ufixed96x104.ufixed96x112.ufixed96x120.ufixed96x128.ufixed96x136.ufixed96x144.ufixed96x152.ufixed96x160.ufixed104x8.ufixed104x16.ufixed104x24.ufixed104x32.ufixed104x40.ufixed104x48.ufixed104x56.ufixed104x64.ufixed104x72.ufixed104x80.ufixed104x88.ufixed104x96.ufixed104x104.ufixed104x112.ufixed104x120.ufixed104x128.ufixed104x136.ufixed104x144.ufixed104x152.ufixed112x8.ufixed112x16.ufixed112x24.ufixed112x32.ufixed112x40.ufixed112x48.ufixed112x56.ufixed112x64.ufixed112x72.ufixed112x80.ufixed112x88.ufixed112x96.ufixed112x104.ufixed112x112.ufixed112x120.ufixed112x128.ufixed112x136.ufixed112x144.ufixed120x8.ufixed120x16.ufixed120x24.ufixed120x32.ufixed120x40.ufixed120x48.ufixed120x56.ufixed120x64.ufixed120x72.ufixed120x80.ufixed120x88.ufixed120x96.ufixed120x104.ufixed120x112.ufixed120x120.ufixed120x128.ufixed120x136.ufixed128x8.ufixed128x16.ufixed128x24.ufixed128x32.ufixed128x40.ufixed128x48.ufixed128x56.ufixed128x64.ufixed128x72.ufixed128x80.ufixed128x88.ufixed128x96.ufixed128x104.ufixed128x112.ufixed128x120.ufixed128x128.ufixed136x8.ufixed136x16.ufixed136x24.ufixed136x32.ufixed136x40.ufixed136x48.ufixed136x56.ufixed136x64.ufixed136x72.ufixed136x80.ufixed136x88.ufixed136x96.ufixed136x104.ufixed136x112.ufixed136x120.ufixed144x8.ufixed144x16.ufixed144x24.ufixed144x32.ufixed144x40.ufixed144x48.ufixed144x56.ufixed144x64.ufixed144x72.ufixed144x80.ufixed144x88.ufixed144x96.ufixed144x104.ufixed144x112.ufixed152x8.ufixed152x16.ufixed152x24.ufixed152x32.ufixed152x40.ufixed152x48.ufixed152x56.ufixed152x64.ufixed152x72.ufixed152x80.ufixed152x88.ufixed152x96.ufixed152x104.ufixed160x8.ufixed160x16.ufixed160x24.ufixed160x32.ufixed160x40.ufixed160x48.ufixed160x56.ufixed160x64.ufixed160x72.ufixed160x80.ufixed160x88.ufixed160x96.ufixed168x8.ufixed168x16.ufixed168x24.ufixed168x32.ufixed168x40.ufixed168x48.ufixed168x56.ufixed168x64.ufixed168x72.ufixed168x80.ufixed168x88.ufixed176x8.ufixed176x16.ufixed176x24.ufixed176x32.ufixed176x40.ufixed176x48.ufixed176x56.ufixed176x64.ufixed176x72.ufixed176x80.ufixed184x8.ufixed184x16.ufixed184x24.ufixed184x32.ufixed184x40.ufixed184x48.ufixed184x56.ufixed184x64.ufixed184x72.ufixed192x8.ufixed192x16.ufixed192x24.ufixed192x32.ufixed192x40.ufixed192x48.ufixed192x56.ufixed192x64.ufixed200x8.ufixed200x16.ufixed200x24.ufixed200x32.ufixed200x40.ufixed200x48.ufixed200x56.ufixed208x8.ufixed208x16.ufixed208x24.ufixed208x32.ufixed208x40.ufixed208x48.ufixed216x8.ufixed216x16.ufixed216x24.ufixed216x32.ufixed216x40.ufixed224x8.ufixed224x16.ufixed224x24.ufixed224x32.ufixed232x8.ufixed232x16.ufixed232x24.ufixed240x8.ufixed240x16.ufixed248x8.event.enum.let.mapping.private.public.external.inherited.payable.true.false.var.import.constant.if.else.for.else.for.while.do.break.continue.throw.returns.return.suicide.new.is.this.super`.split(`.`),operators:`=.>.<.!.~.?.:.==.<=.>=.!=.&&.||.++.--.+.-.*./.&.|.^.%.<<.>>.>>>.+=.-=.*=./=.&=.|=.^=.%=.<<=.>>=.>>>=`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:`keyword.$0`},"@default":`identifier`}}],{include:`@whitespace`},[/\[\[.*\]\]/,`annotation`],[/^\s*#\w+/,`keyword`],[/int\d*/,`keyword`],[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,`number.float`],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,`number.float`],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,`number.hex`],[/0[0-7']*[0-7](@integersuffix)/,`number.octal`],[/0[bB][0-1']*[0-1](@integersuffix)/,`number.binary`],[/\d[\d']*\d(@integersuffix)/,`number`],[/\d(@integersuffix)/,`number`],[/[;,.]/,`delimiter`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`],[/'[^\\']'/,`string`],[/(')(@escapes)(')/,[`string`,`string.escape`,`string`]],[/'/,`string.invalid`]],whitespace:[[/[ \t\r\n]+/,``],[/\/\*\*(?!\/)/,`comment.doc`,`@doccomment`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],doccomment:[[/[^\/*]+/,`comment.doc`],[/\*\//,`comment.doc`,`@pop`],[/[\/*]/,`comment.doc`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`<`,`>`]],autoClosingPairs:[{open:`"`,close:`"`,notIn:[`string`,`comment`]},{open:`{`,close:`}`,notIn:[`string`,`comment`]},{open:`[`,close:`]`,notIn:[`string`,`comment`]},{open:`(`,close:`)`,notIn:[`string`,`comment`]}]},t={defaultToken:``,tokenPostfix:`.aes`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.angle`,open:`<`,close:`>`}],keywords:`contract.library.entrypoint.function.stateful.state.hash.signature.tuple.list.address.string.bool.int.record.datatype.type.option.oracle.oracle_query.Call.Bits.Bytes.Oracle.String.Crypto.Address.Auth.Chain.None.Some.bits.bytes.event.let.map.private.public.true.false.var.if.else.throw`.split(`.`),operators:`=.>.<.!.~.?.::.:.==.<=.>=.!=.&&.||.++.--.+.-.*./.&.|.^.%.<<.>>.>>>.+=.-=.*=./=.&=.|=.^=.%=.<<=.>>=.>>>=`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:`keyword.$0`},"@default":`identifier`}}],{include:`@whitespace`},[/\[\[.*\]\]/,`annotation`],[/^\s*#\w+/,`keyword`],[/int\d*/,`keyword`],[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,`number.float`],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,`number.float`],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,`number.hex`],[/0[0-7']*[0-7](@integersuffix)/,`number.octal`],[/0[bB][0-1']*[0-1](@integersuffix)/,`number.binary`],[/\d[\d']*\d(@integersuffix)/,`number`],[/\d(@integersuffix)/,`number`],[/[;,.]/,`delimiter`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`],[/'[^\\']'/,`string`],[/(')(@escapes)(')/,[`string`,`string.escape`,`string`]],[/'/,`string.invalid`]],whitespace:[[/[ \t\r\n]+/,``],[/\/\*\*(?!\/)/,`comment.doc`,`@doccomment`],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],doccomment:[[/[^\/*]+/,`comment.doc`],[/\*\//,`comment.doc`,`@pop`],[/[\/*]/,`comment.doc`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`'`,close:`'`,notIn:[`string`]},{open:`"`,close:`"`,notIn:[`string`]},{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`}]},t={defaultToken:``,tokenPostfix:`.rq`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.angle`,open:`<`,close:`>`}],keywords:`add.as.asc.ask.base.by.clear.construct.copy.create.data.delete.desc.describe.distinct.drop.false.filter.from.graph.group.having.in.insert.limit.load.minus.move.named.not.offset.optional.order.prefix.reduced.select.service.silent.to.true.undef.union.using.values.where.with`.split(`.`),builtinFunctions:`a.abs.avg.bind.bnode.bound.ceil.coalesce.concat.contains.count.datatype.day.encode_for_uri.exists.floor.group_concat.hours.if.iri.isblank.isiri.isliteral.isnumeric.isuri.lang.langmatches.lcase.max.md5.min.minutes.month.now.rand.regex.replace.round.sameterm.sample.seconds.sha1.sha256.sha384.sha512.str.strafter.strbefore.strdt.strends.strlang.strlen.strstarts.struuid.substr.sum.timezone.tz.ucase.uri.uuid.year`.split(`.`),ignoreCase:!0,tokenizer:{root:[[/<[^\s\u00a0>]*>?/,`tag`],{include:`@strings`},[/#.*/,`comment`],[/[{}()\[\]]/,`@brackets`],[/[;,.]/,`delimiter`],[/[_\w\d]+:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])*/,`tag`],[/:(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/,`tag`],[/[$?]?[_\w\d]+/,{cases:{"@keywords":{token:`keyword`},"@builtinFunctions":{token:`predefined.sql`},"@default":`identifier`}}],[/\^\^/,`operator.sql`],[/\^[*+\-<>=&|^\/!?]*/,`operator.sql`],[/[*+\-<>=&|\/!?]/,`operator.sql`],[/@[a-z\d\-]*/,`metatag.html`],[/\s+/,`white`]],strings:[[/'([^'\\]|\\.)*$/,`string.invalid`],[/'$/,`string.sql`,`@pop`],[/'/,`string.sql`,`@stringBody`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"$/,`string.sql`,`@pop`],[/"/,`string.sql`,`@dblStringBody`]],stringBody:[[/[^\\']+/,`string.sql`],[/\\./,`string.escape`],[/'/,`string.sql`,`@pop`]],dblStringBody:[[/[^\\"]+/,`string.sql`],[/\\./,`string.escape`],[/"/,`string.sql`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`--`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},t={defaultToken:``,tokenPostfix:`.sql`,ignoreCase:!0,brackets:[{open:`[`,close:`]`,token:`delimiter.square`},{open:`(`,close:`)`,token:`delimiter.parenthesis`}],keywords:`ABORT.ABSOLUTE.ACTION.ADA.ADD.AFTER.ALL.ALLOCATE.ALTER.ALWAYS.ANALYZE.AND.ANY.ARE.AS.ASC.ASSERTION.AT.ATTACH.AUTHORIZATION.AUTOINCREMENT.AVG.BACKUP.BEFORE.BEGIN.BETWEEN.BIT.BIT_LENGTH.BOTH.BREAK.BROWSE.BULK.BY.CASCADE.CASCADED.CASE.CAST.CATALOG.CHAR.CHARACTER.CHARACTER_LENGTH.CHAR_LENGTH.CHECK.CHECKPOINT.CLOSE.CLUSTERED.COALESCE.COLLATE.COLLATION.COLUMN.COMMIT.COMPUTE.CONFLICT.CONNECT.CONNECTION.CONSTRAINT.CONSTRAINTS.CONTAINS.CONTAINSTABLE.CONTINUE.CONVERT.CORRESPONDING.COUNT.CREATE.CROSS.CURRENT.CURRENT_DATE.CURRENT_TIME.CURRENT_TIMESTAMP.CURRENT_USER.CURSOR.DATABASE.DATE.DAY.DBCC.DEALLOCATE.DEC.DECIMAL.DECLARE.DEFAULT.DEFERRABLE.DEFERRED.DELETE.DENY.DESC.DESCRIBE.DESCRIPTOR.DETACH.DIAGNOSTICS.DISCONNECT.DISK.DISTINCT.DISTRIBUTED.DO.DOMAIN.DOUBLE.DROP.DUMP.EACH.ELSE.END.END-EXEC.ERRLVL.ESCAPE.EXCEPT.EXCEPTION.EXCLUDE.EXCLUSIVE.EXEC.EXECUTE.EXISTS.EXIT.EXPLAIN.EXTERNAL.EXTRACT.FAIL.FALSE.FETCH.FILE.FILLFACTOR.FILTER.FIRST.FLOAT.FOLLOWING.FOR.FOREIGN.FORTRAN.FOUND.FREETEXT.FREETEXTTABLE.FROM.FULL.FUNCTION.GENERATED.GET.GLOB.GLOBAL.GO.GOTO.GRANT.GROUP.GROUPS.HAVING.HOLDLOCK.HOUR.IDENTITY.IDENTITYCOL.IDENTITY_INSERT.IF.IGNORE.IMMEDIATE.IN.INCLUDE.INDEX.INDEXED.INDICATOR.INITIALLY.INNER.INPUT.INSENSITIVE.INSERT.INSTEAD.INT.INTEGER.INTERSECT.INTERVAL.INTO.IS.ISNULL.ISOLATION.JOIN.KEY.KILL.LANGUAGE.LAST.LEADING.LEFT.LEVEL.LIKE.LIMIT.LINENO.LOAD.LOCAL.LOWER.MATCH.MATERIALIZED.MAX.MERGE.MIN.MINUTE.MODULE.MONTH.NAMES.NATIONAL.NATURAL.NCHAR.NEXT.NO.NOCHECK.NONCLUSTERED.NONE.NOT.NOTHING.NOTNULL.NULL.NULLIF.NULLS.NUMERIC.OCTET_LENGTH.OF.OFF.OFFSET.OFFSETS.ON.ONLY.OPEN.OPENDATASOURCE.OPENQUERY.OPENROWSET.OPENXML.OPTION.OR.ORDER.OTHERS.OUTER.OUTPUT.OVER.OVERLAPS.PAD.PARTIAL.PARTITION.PASCAL.PERCENT.PIVOT.PLAN.POSITION.PRAGMA.PRECEDING.PRECISION.PREPARE.PRESERVE.PRIMARY.PRINT.PRIOR.PRIVILEGES.PROC.PROCEDURE.PUBLIC.QUERY.RAISE.RAISERROR.RANGE.READ.READTEXT.REAL.RECONFIGURE.RECURSIVE.REFERENCES.REGEXP.REINDEX.RELATIVE.RELEASE.RENAME.REPLACE.REPLICATION.RESTORE.RESTRICT.RETURN.RETURNING.REVERT.REVOKE.RIGHT.ROLLBACK.ROW.ROWCOUNT.ROWGUIDCOL.ROWS.RULE.SAVE.SAVEPOINT.SCHEMA.SCROLL.SECOND.SECTION.SECURITYAUDIT.SELECT.SEMANTICKEYPHRASETABLE.SEMANTICSIMILARITYDETAILSTABLE.SEMANTICSIMILARITYTABLE.SESSION.SESSION_USER.SET.SETUSER.SHUTDOWN.SIZE.SMALLINT.SOME.SPACE.SQL.SQLCA.SQLCODE.SQLERROR.SQLSTATE.SQLWARNING.STATISTICS.SUBSTRING.SUM.SYSTEM_USER.TABLE.TABLESAMPLE.TEMP.TEMPORARY.TEXTSIZE.THEN.TIES.TIME.TIMESTAMP.TIMEZONE_HOUR.TIMEZONE_MINUTE.TO.TOP.TRAILING.TRAN.TRANSACTION.TRANSLATE.TRANSLATION.TRIGGER.TRIM.TRUE.TRUNCATE.TRY_CONVERT.TSEQUAL.UNBOUNDED.UNION.UNIQUE.UNKNOWN.UNPIVOT.UPDATE.UPDATETEXT.UPPER.USAGE.USE.USER.USING.VACUUM.VALUE.VALUES.VARCHAR.VARYING.VIEW.VIRTUAL.WAITFOR.WHEN.WHENEVER.WHERE.WHILE.WINDOW.WITH.WITHIN GROUP.WITHOUT.WORK.WRITE.WRITETEXT.YEAR.ZONE`.split(`.`),operators:`ALL.AND.ANY.BETWEEN.EXISTS.IN.LIKE.NOT.OR.SOME.EXCEPT.INTERSECT.UNION.APPLY.CROSS.FULL.INNER.JOIN.LEFT.OUTER.RIGHT.CONTAINS.FREETEXT.IS.NULL.PIVOT.UNPIVOT.MATCHED`.split(`.`),builtinFunctions:`AVG.CHECKSUM_AGG.COUNT.COUNT_BIG.GROUPING.GROUPING_ID.MAX.MIN.SUM.STDEV.STDEVP.VAR.VARP.CUME_DIST.FIRST_VALUE.LAG.LAST_VALUE.LEAD.PERCENTILE_CONT.PERCENTILE_DISC.PERCENT_RANK.COLLATE.COLLATIONPROPERTY.TERTIARY_WEIGHTS.FEDERATION_FILTERING_VALUE.CAST.CONVERT.PARSE.TRY_CAST.TRY_CONVERT.TRY_PARSE.ASYMKEY_ID.ASYMKEYPROPERTY.CERTPROPERTY.CERT_ID.CRYPT_GEN_RANDOM.DECRYPTBYASYMKEY.DECRYPTBYCERT.DECRYPTBYKEY.DECRYPTBYKEYAUTOASYMKEY.DECRYPTBYKEYAUTOCERT.DECRYPTBYPASSPHRASE.ENCRYPTBYASYMKEY.ENCRYPTBYCERT.ENCRYPTBYKEY.ENCRYPTBYPASSPHRASE.HASHBYTES.IS_OBJECTSIGNED.KEY_GUID.KEY_ID.KEY_NAME.SIGNBYASYMKEY.SIGNBYCERT.SYMKEYPROPERTY.VERIFYSIGNEDBYCERT.VERIFYSIGNEDBYASYMKEY.CURSOR_STATUS.DATALENGTH.IDENT_CURRENT.IDENT_INCR.IDENT_SEED.IDENTITY.SQL_VARIANT_PROPERTY.CURRENT_TIMESTAMP.DATEADD.DATEDIFF.DATEFROMPARTS.DATENAME.DATEPART.DATETIME2FROMPARTS.DATETIMEFROMPARTS.DATETIMEOFFSETFROMPARTS.DAY.EOMONTH.GETDATE.GETUTCDATE.ISDATE.MONTH.SMALLDATETIMEFROMPARTS.SWITCHOFFSET.SYSDATETIME.SYSDATETIMEOFFSET.SYSUTCDATETIME.TIMEFROMPARTS.TODATETIMEOFFSET.YEAR.CHOOSE.COALESCE.IIF.NULLIF.ABS.ACOS.ASIN.ATAN.ATN2.CEILING.COS.COT.DEGREES.EXP.FLOOR.LOG.LOG10.PI.POWER.RADIANS.RAND.ROUND.SIGN.SIN.SQRT.SQUARE.TAN.APP_NAME.APPLOCK_MODE.APPLOCK_TEST.ASSEMBLYPROPERTY.COL_LENGTH.COL_NAME.COLUMNPROPERTY.DATABASE_PRINCIPAL_ID.DATABASEPROPERTYEX.DB_ID.DB_NAME.FILE_ID.FILE_IDEX.FILE_NAME.FILEGROUP_ID.FILEGROUP_NAME.FILEGROUPPROPERTY.FILEPROPERTY.FULLTEXTCATALOGPROPERTY.FULLTEXTSERVICEPROPERTY.INDEX_COL.INDEXKEY_PROPERTY.INDEXPROPERTY.OBJECT_DEFINITION.OBJECT_ID.OBJECT_NAME.OBJECT_SCHEMA_NAME.OBJECTPROPERTY.OBJECTPROPERTYEX.ORIGINAL_DB_NAME.PARSENAME.SCHEMA_ID.SCHEMA_NAME.SCOPE_IDENTITY.SERVERPROPERTY.STATS_DATE.TYPE_ID.TYPE_NAME.TYPEPROPERTY.DENSE_RANK.NTILE.RANK.ROW_NUMBER.PUBLISHINGSERVERNAME.OPENDATASOURCE.OPENQUERY.OPENROWSET.OPENXML.CERTENCODED.CERTPRIVATEKEY.CURRENT_USER.HAS_DBACCESS.HAS_PERMS_BY_NAME.IS_MEMBER.IS_ROLEMEMBER.IS_SRVROLEMEMBER.LOGINPROPERTY.ORIGINAL_LOGIN.PERMISSIONS.PWDENCRYPT.PWDCOMPARE.SESSION_USER.SESSIONPROPERTY.SUSER_ID.SUSER_NAME.SUSER_SID.SUSER_SNAME.SYSTEM_USER.USER.USER_ID.USER_NAME.ASCII.CHAR.CHARINDEX.CONCAT.DIFFERENCE.FORMAT.LEFT.LEN.LOWER.LTRIM.NCHAR.PATINDEX.QUOTENAME.REPLACE.REPLICATE.REVERSE.RIGHT.RTRIM.SOUNDEX.SPACE.STR.STUFF.SUBSTRING.UNICODE.UPPER.BINARY_CHECKSUM.CHECKSUM.CONNECTIONPROPERTY.CONTEXT_INFO.CURRENT_REQUEST_ID.ERROR_LINE.ERROR_NUMBER.ERROR_MESSAGE.ERROR_PROCEDURE.ERROR_SEVERITY.ERROR_STATE.FORMATMESSAGE.GETANSINULL.GET_FILESTREAM_TRANSACTION_CONTEXT.HOST_ID.HOST_NAME.ISNULL.ISNUMERIC.MIN_ACTIVE_ROWVERSION.NEWID.NEWSEQUENTIALID.ROWCOUNT_BIG.XACT_STATE.TEXTPTR.TEXTVALID.COLUMNS_UPDATED.EVENTDATA.TRIGGER_NESTLEVEL.UPDATE.CHANGETABLE.CHANGE_TRACKING_CONTEXT.CHANGE_TRACKING_CURRENT_VERSION.CHANGE_TRACKING_IS_COLUMN_IN_MASK.CHANGE_TRACKING_MIN_VALID_VERSION.CONTAINSTABLE.FREETEXTTABLE.SEMANTICKEYPHRASETABLE.SEMANTICSIMILARITYDETAILSTABLE.SEMANTICSIMILARITYTABLE.FILETABLEROOTPATH.GETFILENAMESPACEPATH.GETPATHLOCATOR.PATHNAME.GET_TRANSMISSION_STATUS`.split(`.`),builtinVariables:`@@DATEFIRST.@@DBTS.@@LANGID.@@LANGUAGE.@@LOCK_TIMEOUT.@@MAX_CONNECTIONS.@@MAX_PRECISION.@@NESTLEVEL.@@OPTIONS.@@REMSERVER.@@SERVERNAME.@@SERVICENAME.@@SPID.@@TEXTSIZE.@@VERSION.@@CURSOR_ROWS.@@FETCH_STATUS.@@DATEFIRST.@@PROCID.@@ERROR.@@IDENTITY.@@ROWCOUNT.@@TRANCOUNT.@@CONNECTIONS.@@CPU_BUSY.@@IDLE.@@IO_BUSY.@@PACKET_ERRORS.@@PACK_RECEIVED.@@PACK_SENT.@@TIMETICKS.@@TOTAL_ERRORS.@@TOTAL_READ.@@TOTAL_WRITE`.split(`.`),pseudoColumns:[`$ACTION`,`$IDENTITY`,`$ROWGUID`,`$PARTITION`],tokenizer:{root:[{include:`@comments`},{include:`@whitespace`},{include:`@pseudoColumns`},{include:`@numbers`},{include:`@strings`},{include:`@complexIdentifiers`},{include:`@scopes`},[/[;,.]/,`delimiter`],[/[()]/,`@brackets`],[/[\w@#$]+/,{cases:{"@operators":`operator`,"@builtinVariables":`predefined`,"@builtinFunctions":`predefined`,"@keywords":`keyword`,"@default":`identifier`}}],[/[<>=!%&+\-*/|~^]/,`operator`]],whitespace:[[/\s+/,`white`]],comments:[[/--+.*/,`comment`],[/\/\*/,{token:`comment.quote`,next:`@comment`}]],comment:[[/[^*/]+/,`comment`],[/\*\//,{token:`comment.quote`,next:`@pop`}],[/./,`comment`]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":`predefined`,"@default":`identifier`}}]],numbers:[[/0[xX][0-9a-fA-F]*/,`number`],[/[$][+-]*\d*(\.\d*)?/,`number`],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,`number`]],strings:[[/N'/,{token:`string`,next:`@string`}],[/'/,{token:`string`,next:`@string`}]],string:[[/[^']+/,`string`],[/''/,`string`],[/'/,{token:`string`,next:`@pop`}]],complexIdentifiers:[[/\[/,{token:`identifier.quote`,next:`@bracketedIdentifier`}],[/"/,{token:`identifier.quote`,next:`@quotedIdentifier`}]],bracketedIdentifier:[[/[^\]]+/,`identifier`],[/]]/,`identifier`],[/]/,{token:`identifier.quote`,next:`@pop`}]],quotedIdentifier:[[/[^"]+/,`identifier`],[/""/,`identifier`],[/"/,{token:`identifier.quote`,next:`@pop`}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,`keyword`],[/BEGIN\s+TRY\b/i,{token:`keyword.try`}],[/END\s+TRY\b/i,{token:`keyword.try`}],[/BEGIN\s+CATCH\b/i,{token:`keyword.catch`}],[/END\s+CATCH\b/i,{token:`keyword.catch`}],[/(BEGIN|CASE)\b/i,{token:`keyword.block`}],[/END\b/i,{token:`keyword.block`}],[/WHEN\b/i,{token:`keyword.choice`}],[/THEN\b/i,{token:`keyword.choice`}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./index-ZcdMfr13.js";function t(){return e.get()}export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`(*`,`*)`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`var`,`end_var`],[`var_input`,`end_var`],[`var_output`,`end_var`],[`var_in_out`,`end_var`],[`var_temp`,`end_var`],[`var_global`,`end_var`],[`var_access`,`end_var`],[`var_external`,`end_var`],[`type`,`end_type`],[`struct`,`end_struct`],[`program`,`end_program`],[`function`,`end_function`],[`function_block`,`end_function_block`],[`action`,`end_action`],[`step`,`end_step`],[`initial_step`,`end_step`],[`transaction`,`end_transaction`],[`configuration`,`end_configuration`],[`tcp`,`end_tcp`],[`recource`,`end_recource`],[`channel`,`end_channel`],[`library`,`end_library`],[`folder`,`end_folder`],[`binaries`,`end_binaries`],[`includes`,`end_includes`],[`sources`,`end_sources`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`{`,close:`}`},{open:`(`,close:`)`},{open:`/*`,close:`*/`},{open:`'`,close:`'`,notIn:[`string_sq`]},{open:`"`,close:`"`,notIn:[`string_dq`]},{open:`var_input`,close:`end_var`},{open:`var_output`,close:`end_var`},{open:`var_in_out`,close:`end_var`},{open:`var_temp`,close:`end_var`},{open:`var_global`,close:`end_var`},{open:`var_access`,close:`end_var`},{open:`var_external`,close:`end_var`},{open:`type`,close:`end_type`},{open:`struct`,close:`end_struct`},{open:`program`,close:`end_program`},{open:`function`,close:`end_function`},{open:`function_block`,close:`end_function_block`},{open:`action`,close:`end_action`},{open:`step`,close:`end_step`},{open:`initial_step`,close:`end_step`},{open:`transaction`,close:`end_transaction`},{open:`configuration`,close:`end_configuration`},{open:`tcp`,close:`end_tcp`},{open:`recource`,close:`end_recource`},{open:`channel`,close:`end_channel`},{open:`library`,close:`end_library`},{open:`folder`,close:`end_folder`},{open:`binaries`,close:`end_binaries`},{open:`includes`,close:`end_includes`},{open:`sources`,close:`end_sources`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:`var`,close:`end_var`},{open:`var_input`,close:`end_var`},{open:`var_output`,close:`end_var`},{open:`var_in_out`,close:`end_var`},{open:`var_temp`,close:`end_var`},{open:`var_global`,close:`end_var`},{open:`var_access`,close:`end_var`},{open:`var_external`,close:`end_var`},{open:`type`,close:`end_type`},{open:`struct`,close:`end_struct`},{open:`program`,close:`end_program`},{open:`function`,close:`end_function`},{open:`function_block`,close:`end_function_block`},{open:`action`,close:`end_action`},{open:`step`,close:`end_step`},{open:`initial_step`,close:`end_step`},{open:`transaction`,close:`end_transaction`},{open:`configuration`,close:`end_configuration`},{open:`tcp`,close:`end_tcp`},{open:`recource`,close:`end_recource`},{open:`channel`,close:`end_channel`},{open:`library`,close:`end_library`},{open:`folder`,close:`end_folder`},{open:`binaries`,close:`end_binaries`},{open:`includes`,close:`end_includes`},{open:`sources`,close:`end_sources`}],folding:{markers:{start:RegExp(`^\\s*#pragma\\s+region\\b`),end:RegExp(`^\\s*#pragma\\s+endregion\\b`)}}},t={defaultToken:``,tokenPostfix:`.st`,ignoreCase:!0,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:`if.end_if.elsif.else.case.of.to.__try.__catch.__finally.do.with.by.while.repeat.end_while.end_repeat.end_case.for.end_for.task.retain.non_retain.constant.with.at.exit.return.interval.priority.address.port.on_channel.then.iec.file.uses.version.packagetype.displayname.copyright.summary.vendor.common_source.from.extends.implements`.split(`.`),constant:[`false`,`true`,`null`],defineKeywords:`var.var_input.var_output.var_in_out.var_temp.var_global.var_access.var_external.end_var.type.end_type.struct.end_struct.program.end_program.function.end_function.function_block.end_function_block.interface.end_interface.method.end_method.property.end_property.namespace.end_namespace.configuration.end_configuration.tcp.end_tcp.resource.end_resource.channel.end_channel.library.end_library.folder.end_folder.binaries.end_binaries.includes.end_includes.sources.end_sources.action.end_action.step.initial_step.end_step.transaction.end_transaction`.split(`.`),typeKeywords:[`int`,`sint`,`dint`,`lint`,`usint`,`uint`,`udint`,`ulint`,`real`,`lreal`,`time`,`date`,`time_of_day`,`date_and_time`,`string`,`bool`,`byte`,`word`,`dword`,`array`,`pointer`,`lword`],operators:`=.>.<.:.:=.<=.>=.<>.&.+.-.*.**.MOD.^.or.and.not.xor.abs.acos.asin.atan.cos.exp.expt.ln.log.sin.sqrt.tan.sel.max.min.limit.mux.shl.shr.rol.ror.indexof.sizeof.adr.adrinst.bitadr.is_valid.ref.ref_to`.split(`.`),builtinVariables:[],builtinFunctions:`sr.rs.tp.ton.tof.eq.ge.le.lt.ne.round.trunc.ctd.сtu.ctud.r_trig.f_trig.move.concat.delete.find.insert.left.len.replace.right.rtc`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,`delimiter`],[/\b(16#[0-9A-Fa-f\_]*)+\b/,`number.hex`],[/\b(2#[01\_]+)+\b/,`number.binary`],[/\b(8#[0-9\_]*)+\b/,`number.octal`],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,`number.float`],[/\b(L?REAL)#[0-9\_\.e]+\b/,`number.float`],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,`number`],[/\d+/,`number`],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,`tag`],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,`tag`],[/\%(I|Q|M)[0-9\.]*/,`tag`],[/\b[A-Za-z]{1,6}#[0-9]+\b/,`tag`],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,`predefined`],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,`predefined`],[/[;]/,`delimiter`],[/[.]/,{token:`delimiter`,next:`@params`}],[/[a-zA-Z_]\w*/,{cases:{"@operators":`operators`,"@keywords":`keyword`,"@typeKeywords":`type`,"@defineKeywords":`variable`,"@constant":`constant`,"@builtinVariables":`predefined`,"@builtinFunctions":`predefined`,"@default":`identifier`}}],{include:`@whitespace`},[/[{}()\[\]]/,`@brackets`],[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,{token:`string.quote`,bracket:`@open`,next:`@string_dq`}],[/'/,{token:`string.quote`,bracket:`@open`,next:`@string_sq`}],[/'[^\\']'/,`string`],[/(')(@escapes)(')/,[`string`,`string.escape`,`string`]],[/'/,`string.invalid`]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:`identifier`,next:`@pop`}],[/\b[A-Za-z0-9_]+\b/,`variable.name`,`@pop`]],comment:[[/[^\/*]+/,`comment`],[/\/\*/,`comment`,`@push`],[`\\*/`,`comment`,`@pop`],[/[\/*]/,`comment`]],comment2:[[/[^\(*]+/,`comment`],[/\(\*/,`comment`,`@push`],[`\\*\\)`,`comment`,`@pop`],[/[\(*]/,`comment`]],whitespace:[[/[ \t\r\n]+/,`white`],[/\/\/.*$/,`comment`],[/\/\*/,`comment`,`@comment`],[/\(\*/,`comment`,`@comment2`]],string_dq:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],string_sq:[[/[^\\']+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/'/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`},{open:"`",close:"`"}]},t={defaultToken:``,tokenPostfix:`.swift`,identifier:/[a-zA-Z_][\w$]*/,attributes:`@GKInspectable.@IBAction.@IBDesignable.@IBInspectable.@IBOutlet.@IBSegueAction.@NSApplicationMain.@NSCopying.@NSManaged.@Sendable.@UIApplicationMain.@autoclosure.@actorIndependent.@asyncHandler.@available.@convention.@derivative.@differentiable.@discardableResult.@dynamicCallable.@dynamicMemberLookup.@escaping.@frozen.@globalActor.@inlinable.@inline.@main.@noDerivative.@nonobjc.@noreturn.@objc.@objcMembers.@preconcurrency.@propertyWrapper.@requires_stored_property_inits.@resultBuilder.@testable.@unchecked.@unknown.@usableFromInline.@warn_unqualified_access`.split(`.`),accessmodifiers:[`open`,`public`,`internal`,`fileprivate`,`private`],keywords:`#available.#colorLiteral.#column.#dsohandle.#else.#elseif.#endif.#error.#file.#fileID.#fileLiteral.#filePath.#function.#if.#imageLiteral.#keyPath.#line.#selector.#sourceLocation.#warning.Any.Protocol.Self.Type.actor.as.assignment.associatedtype.associativity.async.await.break.case.catch.class.continue.convenience.default.defer.deinit.didSet.do.dynamic.dynamicType.else.enum.extension.fallthrough.false.fileprivate.final.for.func.get.guard.higherThan.if.import.in.indirect.infix.init.inout.internal.is.isolated.lazy.left.let.lowerThan.mutating.nil.none.nonisolated.nonmutating.open.operator.optional.override.postfix.precedence.precedencegroup.prefix.private.protocol.public.repeat.required.rethrows.return.right.safe.self.set.some.static.struct.subscript.super.switch.throw.throws.true.try.typealias.unowned.unsafe.var.weak.where.while.willSet.__consuming.__owned`.split(`.`),symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:`@whitespace`},{include:`@comment`},{include:`@attribute`},{include:`@literal`},{include:`@keyword`},{include:`@invokedmethod`},{include:`@symbol`}],whitespace:[[/\s+/,`white`],[/"""/,`string.quote`,`@endDblDocString`]],endDblDocString:[[/[^"]+/,`string`],[/\\"/,`string`],[/"""/,`string.quote`,`@popall`],[/"/,`string`]],symbol:[[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/[.]/,`delimiter`],[/@operators/,`operator`],[/@symbols/,`operator`]],comment:[[/\/\/\/.*$/,`comment.doc`],[/\/\*\*/,`comment.doc`,`@commentdocbody`],[/\/\/.*$/,`comment`],[/\/\*/,`comment`,`@commentbody`]],commentdocbody:[[/\/\*/,`comment`,`@commentbody`],[/\*\//,`comment.doc`,`@pop`],[/\:[a-zA-Z]+\:/,`comment.doc.param`],[/./,`comment.doc`]],commentbody:[[/\/\*/,`comment`,`@commentbody`],[/\*\//,`comment`,`@pop`],[/./,`comment`]],attribute:[[/@@@identifier/,{cases:{"@attributes":`keyword.control`,"@default":``}}]],literal:[[/"/,{token:`string.quote`,next:`@stringlit`}],[/0[b]([01]_?)+/,`number.binary`],[/0[o]([0-7]_?)+/,`number.octal`],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,`number.hex`],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,`number.float`],[/(\d_?)+/,`number`]],stringlit:[[/\\\(/,{token:`operator`,next:`@interpolatedexpression`}],[/@escapes/,`string`],[/\\./,`string.escape.invalid`],[/"/,{token:`string.quote`,next:`@pop`}],[/./,`string`]],interpolatedexpression:[[/\(/,{token:`operator`,next:`@interpolatedexpression`}],[/\)/,{token:`operator`,next:`@pop`}],{include:`@literal`},{include:`@keyword`},{include:`@symbol`}],keyword:[[/`/,{token:`operator`,next:`@escapedkeyword`}],[/@identifier/,{cases:{"@keywords":`keyword`,"[A-Z][a-zA-Z0-9$]*":`type.identifier`,"@default":`identifier`}}]],escapedkeyword:[[/`/,{token:`operator`,next:`@pop`}],[/./,`identifier`]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:[`delimeter`,`type.identifier`],"@default":``}}]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{f as t,m as n,p as r,u as i}from"./api-DeKerbkb.js";import{C as a,D as o,M as s,S as c,T as l,b as u,d,f,g as p,j as m,k as h,m as g,p as _,v,w as y,x as b,y as x}from"./dialog-VTyOt2M_.js";import{_t as S,bt as C,ct as w,gt as T,ht as E,lt as D,mt as O,ut as k,vt as A,yt as j}from"./index-ZcdMfr13.js";var ee=p(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),M=p(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),N=p(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),P=e(n(),1),F=e(r(),1);function I(e,[t,n]){return Math.min(n,Math.max(t,e))}var L=t();function R(e){let t=e+`CollectionProvider`,[n,r]=h(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,r=P.useRef(null),a=P.useRef(new Map).current;return(0,L.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})};s.displayName=t;let c=e+`CollectionSlot`,l=o(c),u=P.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=m(t,a(c,n).collectionRef);return(0,L.jsx)(l,{ref:i,children:r})});u.displayName=c;let d=e+`CollectionItemSlot`,f=`data-radix-collection-item`,p=o(d),g=P.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,o=P.useRef(null),s=m(t,o),c=a(d,n);return P.useEffect(()=>(c.itemMap.set(o,{ref:o,...i}),()=>void c.itemMap.delete(o))),(0,L.jsx)(p,{[f]:``,ref:s,children:r})});g.displayName=d;function _(t){let n=a(e+`CollectionConsumer`,t);return P.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return[{Provider:s,Slot:u,ItemSlot:g},_,r]}var z=P.createContext(void 0);function B(e){let t=P.useContext(z);return e||t||`ltr`}function V(e){let t=P.useRef({value:e,previous:e});return P.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var H=[` `,`Enter`,`ArrowUp`,`ArrowDown`],U=[` `,`Enter`],W=`Select`,[G,K,te]=R(W),[q,ne]=h(W,[te,j]),J=j(),[re,Y]=q(W),[ie,ae]=q(W),oe=`SelectProvider`;function se(e){let{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:a,value:o,defaultValue:s,onValueChange:c,dir:l,name:u,autoComplete:d,disabled:f,required:p,form:m,internal_do_not_use_render:h}=e,g=J(t),[_,y]=P.useState(null),[x,S]=P.useState(null),[C,w]=P.useState(!1),T=B(l),[E,D]=v({prop:r,defaultProp:i??!1,onChange:a,caller:W}),[O,k]=v({prop:o,defaultProp:s,onChange:c,caller:W}),j=P.useRef(null),ee=P.useRef(O);P.useEffect(()=>{let e=m?_?.ownerDocument.getElementById(m):_?.form;if(e instanceof HTMLFormElement){let t=()=>k(ee.current);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[m,_,k]);let M=!_||!!m||!!_.closest(`form`),[N,F]=P.useState(new Set),I=b(),R=Array.from(N).map(e=>e.props.value).join(`;`),z=P.useCallback(e=>{F(t=>new Set(t).add(e))},[]),V=P.useCallback(e=>{F(t=>{let n=new Set(t);return n.delete(e),n})},[]),H={required:p,trigger:_,onTriggerChange:y,valueNode:x,onValueNodeChange:S,valueNodeHasChildren:C,onValueNodeHasChildrenChange:w,contentId:I,value:O,onValueChange:k,open:E,onOpenChange:D,dir:T,triggerPointerDownPosRef:j,disabled:f,name:u,autoComplete:d,form:m,nativeOptions:N,nativeSelectKey:R,isFormControl:M};return(0,L.jsx)(A,{...g,children:(0,L.jsx)(re,{scope:t,...H,children:(0,L.jsx)(G.Provider,{scope:t,children:(0,L.jsx)(ie,{scope:t,onNativeOptionAdd:z,onNativeOptionRemove:V,children:rt(h)?h(H):n})})})})}se.displayName=oe;var ce=e=>{let{__scopeSelect:t,children:n,...r}=e;return(0,L.jsx)(se,{__scopeSelect:t,...r,internal_do_not_use_render:({isFormControl:e})=>(0,L.jsxs)(L.Fragment,{children:[n,e?(0,L.jsx)(nt,{__scopeSelect:t}):null]})})};ce.displayName=W;var le=`SelectTrigger`,ue=P.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...i}=e,a=J(n),o=Y(le,n),c=o.disabled||r,u=m(t,o.onTriggerChange),d=K(n),f=P.useRef(`touch`),[p,h,g]=at(e=>{let t=d().filter(e=>!e.disabled),n=ot(t,e,t.find(e=>e.value===o.value));n!==void 0&&o.onValueChange(n.value)}),_=e=>{c||(o.onOpenChange(!0),g()),e&&(o.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,L.jsx)(E,{asChild:!0,...a,children:(0,L.jsx)(l.button,{type:`button`,role:`combobox`,"aria-controls":o.open?o.contentId:void 0,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":`none`,dir:o.dir,"data-state":o.open?`open`:`closed`,disabled:c,"data-disabled":c?``:void 0,"data-placeholder":it(o.value)?``:void 0,...i,ref:u,onClick:s(i.onClick,e=>{e.currentTarget.focus(),f.current!==`mouse`&&_(e)}),onPointerDown:s(i.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),e.button===0&&e.ctrlKey===!1&&e.pointerType===`mouse`&&(_(e),e.preventDefault())}),onKeyDown:s(i.onKeyDown,e=>{let t=p.current!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&h(e.key),!(t&&e.key===` `)&&H.includes(e.key)&&(_(),e.preventDefault())})})})});ue.displayName=le;var de=`SelectValue`,fe=P.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,children:a,placeholder:o=``,...s}=e,u=Y(de,n),{onValueNodeHasChildrenChange:d}=u,f=a!==void 0,p=m(t,u.onValueNodeChange);c(()=>{d(f)},[d,f]);let h=it(u.value);return(0,L.jsx)(l.span,{...s,asChild:!h&&s.asChild,ref:p,style:{pointerEvents:`none`},children:(0,L.jsx)(P.Fragment,{children:h?o:a},h?`placeholder`:`value`)})});fe.displayName=de;var pe=`SelectIcon`,me=P.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...i}=e;return(0,L.jsx)(l.span,{"aria-hidden":!0,...i,ref:t,children:r||`▼`})});me.displayName=pe;var he=`SelectPortal`,[ge,_e]=q(he,{forceMount:void 0}),ve=e=>{let{__scopeSelect:t,forceMount:n,...r}=e;return(0,L.jsx)(ge,{scope:e.__scopeSelect,forceMount:n,children:(0,L.jsx)(u,{asChild:!0,...r})})};ve.displayName=he;var X=`SelectContent`,ye=P.forwardRef((e,t)=>{let n=_e(X,e.__scopeSelect),{forceMount:r=n.forceMount,...i}=e,a=Y(X,e.__scopeSelect),[o,s]=P.useState();return c(()=>{s(new DocumentFragment)},[]),(0,L.jsx)(x,{present:r||a.open,children:({present:e})=>e?(0,L.jsx)(we,{...i,ref:t}):(0,L.jsx)(be,{...i,fragment:o})})});ye.displayName=X;var be=P.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,fragment:i}=e;return i?F.createPortal((0,L.jsx)(xe,{scope:n,children:(0,L.jsx)(G.Slot,{scope:n,children:(0,L.jsx)(`div`,{ref:t,children:r})})}),i):null});be.displayName=`SelectContentFragment`;var Z=10,[xe,Q]=q(X),Se=`SelectContentImpl`,Ce=o(`SelectContent.RemoveScroll`),we=P.forwardRef((e,t)=>{let{__scopeSelect:n}=e,{position:r=`item-aligned`,onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:c,side:l,sideOffset:u,align:p,alignOffset:h,arrowPadding:v,collisionBoundary:y,collisionPadding:b,sticky:x,hideWhenDetached:S,avoidCollisions:C,...w}=e,T=Y(X,n),[E,D]=P.useState(null),[O,k]=P.useState(null),A=m(t,D),[j,ee]=P.useState(null),[M,N]=P.useState(null),F=K(n),[I,R]=P.useState(!1),z=P.useRef(!1);P.useEffect(()=>{if(E)return d(E)},[E]),_();let B=P.useCallback(e=>{let[t,...n]=F().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:`nearest`}),n===t&&O&&(O.scrollTop=0),n===r&&O&&(O.scrollTop=O.scrollHeight),n?.focus(),document.activeElement!==i))return},[F,O]),V=P.useCallback(()=>B([j,E]),[B,j,E]);P.useEffect(()=>{I&&V()},[I,V]);let{onOpenChange:H,triggerPointerDownPosRef:U}=T;P.useEffect(()=>{if(E){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(U.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(U.current?.y??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():n.composedPath().includes(E)||H(!1),document.removeEventListener(`pointermove`,t),U.current=null};return U.current!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})}}},[E,H,U]),P.useEffect(()=>{let e=()=>H(!1);return window.addEventListener(`blur`,e),window.addEventListener(`resize`,e),()=>{window.removeEventListener(`blur`,e),window.removeEventListener(`resize`,e)}},[H]);let[W,G]=at(e=>{let t=F().filter(e=>!e.disabled),n=ot(t,e,t.find(e=>e.ref.current===document.activeElement));n&&setTimeout(()=>n.ref.current?.focus())}),te=P.useCallback((e,t,n)=>{let r=!z.current&&!n;(T.value!==void 0&&T.value===t||r)&&(ee(e),r&&(z.current=!0))},[T.value]),q=P.useCallback(()=>E?.focus(),[E]),ne=P.useCallback((e,t,n)=>{let r=!z.current&&!n;(T.value!==void 0&&T.value===t||r)&&N(e)},[T.value]),J=r===`popper`?Oe:Ee,re=J===Oe?{side:l,sideOffset:u,align:p,alignOffset:h,arrowPadding:v,collisionBoundary:y,collisionPadding:b,sticky:x,hideWhenDetached:S,avoidCollisions:C}:{};return(0,L.jsx)(xe,{scope:n,content:E,viewport:O,onViewportChange:k,itemRefCallback:te,selectedItem:j,onItemLeave:q,itemTextRefCallback:ne,focusSelectedItem:V,selectedItemText:M,position:r,isPositioned:I,searchRef:W,children:(0,L.jsx)(f,{as:Ce,allowPinchZoom:!0,children:(0,L.jsx)(g,{asChild:!0,trapped:T.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:s(i,e=>{T.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,L.jsx)(a,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>T.onOpenChange(!1),children:(0,L.jsx)(J,{role:`listbox`,id:T.contentId,"data-state":T.open?`open`:`closed`,dir:T.dir,onContextMenu:e=>e.preventDefault(),...w,...re,onPlaced:()=>R(!0),ref:A,style:{display:`flex`,flexDirection:`column`,outline:`none`,...w.style},onKeyDown:s(w.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&G(e.key),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=F().filter(e=>!e.disabled).map(e=>e.ref.current);if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>B(t)),e.preventDefault()}})})})})})})});we.displayName=Se;var Te=`SelectItemAlignedPosition`,Ee=P.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...i}=e,a=Y(X,n),o=Q(X,n),[s,u]=P.useState(null),[d,f]=P.useState(null),p=m(t,f),h=K(n),g=P.useRef(!1),_=P.useRef(!0),{viewport:v,selectedItem:y,selectedItemText:b,focusSelectedItem:x}=o,S=P.useCallback(()=>{if(a.trigger&&a.valueNode&&s&&d&&v&&y&&b){let e=a.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),i=b.getBoundingClientRect();if(a.dir!==`rtl`){let r=i.left-t.left,a=n.left-r,o=e.left-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-Z,d=I(a,[Z,Math.max(Z,u-l)]);s.style.minWidth=c+`px`,s.style.left=d+`px`}else{let r=t.right-i.right,a=window.innerWidth-n.right-r,o=window.innerWidth-e.right-a,c=e.width+o,l=Math.max(c,t.width),u=window.innerWidth-Z,d=I(a,[Z,Math.max(Z,u-l)]);s.style.minWidth=c+`px`,s.style.right=d+`px`}let o=h(),c=window.innerHeight-Z*2,l=v.scrollHeight,u=window.getComputedStyle(d),f=parseInt(u.borderTopWidth,10),p=parseInt(u.paddingTop,10),m=parseInt(u.borderBottomWidth,10),_=parseInt(u.paddingBottom,10),x=f+p+l+_+m,S=Math.min(y.offsetHeight*5,x),C=window.getComputedStyle(v),w=parseInt(C.paddingTop,10),T=parseInt(C.paddingBottom,10),E=e.top+e.height/2-Z,D=c-E,O=y.offsetHeight/2,k=y.offsetTop+O,A=f+p+k,j=x-A;if(A<=E){let e=o.length>0&&y===o[o.length-1].ref.current;s.style.bottom=`0px`;let t=d.clientHeight-v.offsetTop-v.offsetHeight,n=A+Math.max(D,O+(e?T:0)+t+m);s.style.height=n+`px`}else{let e=o.length>0&&y===o[0].ref.current;s.style.top=`0px`;let t=Math.max(E,f+v.offsetTop+(e?w:0)+O)+j;s.style.height=t+`px`,v.scrollTop=A-E+v.offsetTop}s.style.margin=`${Z}px 0`,s.style.minHeight=S+`px`,s.style.maxHeight=c+`px`,r?.(),requestAnimationFrame(()=>g.current=!0)}},[h,a.trigger,a.valueNode,s,d,v,y,b,a.dir,r]);c(()=>S(),[S]);let[C,w]=P.useState();return c(()=>{d&&w(window.getComputedStyle(d).zIndex)},[d]),(0,L.jsx)(ke,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:g,onScrollButtonChange:P.useCallback(e=>{e&&_.current===!0&&(S(),x?.(),_.current=!1)},[S,x]),children:(0,L.jsx)(`div`,{ref:u,style:{display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:C},children:(0,L.jsx)(l.div,{...i,ref:p,style:{boxSizing:`border-box`,maxHeight:`100%`,...i.style}})})})});Ee.displayName=Te;var De=`SelectPopperPosition`,Oe=P.forwardRef((e,t)=>{let{__scopeSelect:n,align:r=`start`,collisionPadding:i=Z,...a}=e,o=J(n);return(0,L.jsx)(S,{...o,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:`border-box`,...a.style,"--radix-select-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-select-content-available-width":`var(--radix-popper-available-width)`,"--radix-select-content-available-height":`var(--radix-popper-available-height)`,"--radix-select-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-select-trigger-height":`var(--radix-popper-anchor-height)`}})});Oe.displayName=De;var[ke,Ae]=q(X,{}),je=`SelectViewport`,Me=P.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...i}=e,a=Q(je,n),o=Ae(je,n),c=m(t,a.onViewportChange),u=P.useRef(0);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`},nonce:r}),(0,L.jsx)(G.Slot,{scope:n,children:(0,L.jsx)(l.div,{"data-radix-select-viewport":``,role:`presentation`,...i,ref:c,style:{position:`relative`,flex:1,overflow:`hidden auto`,...i.style},onScroll:s(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=o;if(r?.current&&n){let e=Math.abs(u.current-t.scrollTop);if(e>0){let r=window.innerHeight-Z*2,i=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),o=Math.max(i,a);if(o<r){let i=o+e,a=Math.min(r,i),s=i-a;n.style.height=a+`px`,n.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,n.style.justifyContent=`flex-end`)}}}u.current=t.scrollTop})})})]})});Me.displayName=je;var Ne=`SelectGroup`,[Pe,Fe]=q(Ne),Ie=P.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=b();return(0,L.jsx)(Pe,{scope:n,id:i,children:(0,L.jsx)(l.div,{role:`group`,"aria-labelledby":i,...r,ref:t})})});Ie.displayName=Ne;var Le=`SelectLabel`,Re=P.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=Fe(Le,n);return(0,L.jsx)(l.div,{id:i.id,...r,ref:t})});Re.displayName=Le;var ze=`SelectItem`,[Be,Ve]=q(ze),He=P.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:i=!1,textValue:a,...o}=e,c=Y(ze,n),u=Q(ze,n),d=c.value===r,[f,p]=P.useState(a??``),[h,g]=P.useState(!1),_=m(t,y(e=>u.itemRefCallback?.(e,r,i))),v=b(),x=P.useRef(`touch`),S=()=>{i||(c.onValueChange(r),c.onOpenChange(!1))};return(0,L.jsx)(Be,{scope:n,value:r,disabled:i,textId:v,isSelected:d,onItemTextChange:P.useCallback(e=>{p(t=>t||(e?.textContent??``).trim())},[]),children:(0,L.jsx)(G.ItemSlot,{scope:n,value:r,disabled:i,textValue:f,children:(0,L.jsx)(l.div,{role:`option`,"aria-labelledby":v,"data-highlighted":h?``:void 0,"aria-selected":d&&h,"data-state":d?`checked`:`unchecked`,"aria-disabled":i||void 0,"data-disabled":i?``:void 0,tabIndex:i?void 0:-1,...o,ref:_,onFocus:s(o.onFocus,()=>g(!0)),onBlur:s(o.onBlur,()=>g(!1)),onClick:s(o.onClick,()=>{x.current!==`mouse`&&S()}),onPointerUp:s(o.onPointerUp,()=>{x.current===`mouse`&&S()}),onPointerDown:s(o.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:s(o.onPointerMove,e=>{x.current=e.pointerType,i?u.onItemLeave?.():x.current===`mouse`&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:s(o.onPointerLeave,e=>{e.currentTarget===document.activeElement&&u.onItemLeave?.()}),onKeyDown:s(o.onKeyDown,e=>{i||e.target!==e.currentTarget||u.searchRef?.current!==``&&e.key===` `||(U.includes(e.key)&&S(),e.key===` `&&e.preventDefault())})})})})});He.displayName=ze;var $=`SelectItemText`,Ue=P.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,...a}=e,o=Y($,n),s=Q($,n),u=Ve($,n),d=ae($,n),[f,p]=P.useState(null),h=y(e=>s.itemTextRefCallback?.(e,u.value,u.disabled)),g=m(t,p,u.onItemTextChange,h),_=f?.textContent,v=P.useMemo(()=>(0,L.jsx)(`option`,{value:u.value,disabled:u.disabled,children:_},u.value),[u.disabled,u.value,_]),{onNativeOptionAdd:b,onNativeOptionRemove:x}=d;return c(()=>(b(v),()=>x(v)),[b,x,v]),(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(l.span,{id:u.textId,...a,ref:g}),u.isSelected&&o.valueNode&&!o.valueNodeHasChildren&&!it(o.value)?F.createPortal(a.children,o.valueNode):null]})});Ue.displayName=$;var We=`SelectItemIndicator`,Ge=P.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return Ve(We,n).isSelected?(0,L.jsx)(l.span,{"aria-hidden":!0,...r,ref:t}):null});Ge.displayName=We;var Ke=`SelectScrollUpButton`,qe=P.forwardRef((e,t)=>{let n=Q(Ke,e.__scopeSelect),r=Ae(Ke,e.__scopeSelect),[i,a]=P.useState(!1),o=m(t,r.onScrollButtonChange);return c(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollTop>0;a(e)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,L.jsx)(Xe,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop-=t.offsetHeight)}}):null});qe.displayName=Ke;var Je=`SelectScrollDownButton`,Ye=P.forwardRef((e,t)=>{let n=Q(Je,e.__scopeSelect),r=Ae(Je,e.__scopeSelect),[i,a]=P.useState(!1),o=m(t,r.onScrollButtonChange);return c(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;a(n)},t=n.viewport;return e(),t.addEventListener(`scroll`,e),()=>t.removeEventListener(`scroll`,e)}},[n.viewport,n.isPositioned]),i?(0,L.jsx)(Xe,{...e,ref:o,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop+=t.offsetHeight)}}):null});Ye.displayName=Je;var Xe=P.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...i}=e,a=Q(`SelectScrollButton`,n),o=P.useRef(null),u=K(n),d=P.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return P.useEffect(()=>()=>d(),[d]),c(()=>{u().find(e=>e.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:`nearest`})},[u]),(0,L.jsx)(l.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:s(i.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:s(i.onPointerMove,()=>{a.onItemLeave?.(),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:s(i.onPointerLeave,()=>{d()})})}),Ze=`SelectSeparator`,Qe=P.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,L.jsx)(l.div,{"aria-hidden":!0,...r,ref:t})});Qe.displayName=Ze;var $e=`SelectArrow`,et=P.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=J(n);return Q($e,n).position===`popper`?(0,L.jsx)(T,{...i,...r,ref:t}):null});et.displayName=$e;var tt=`SelectBubbleInput`,nt=P.forwardRef(({__scopeSelect:e,...t},n)=>{let r=Y(tt,e),{value:i,onValueChange:a,required:o,disabled:s,name:c,autoComplete:u,form:d}=r,{nativeOptions:f,nativeSelectKey:p}=r,h=P.useRef(null),g=m(n,h),_=i??``,v=V(_),y=Array.from(f).some(e=>(e.props.value??``)===``);return P.useEffect(()=>{let e=h.current;if(!e)return;let t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,`value`).set;if(v!==_&&n){let t=new Event(`change`,{bubbles:!0});n.call(e,_),e.dispatchEvent(t)}},[v,_]),(0,L.jsxs)(l.select,{"aria-hidden":!0,required:o,tabIndex:-1,name:c,autoComplete:u,disabled:s,form:d,onChange:e=>a(e.target.value),...t,style:{...O,...t.style},ref:g,defaultValue:_,children:[it(i)&&!y?(0,L.jsx)(`option`,{value:``}):null,Array.from(f)]},p)});nt.displayName=tt;function rt(e){return typeof e==`function`}function it(e){return e===``||e===void 0}function at(e){let t=y(e),n=P.useRef(``),r=P.useRef(0),i=P.useCallback(e=>{let i=n.current+e;t(i),(function e(t){n.current=t,window.clearTimeout(r.current),t!==``&&(r.current=window.setTimeout(()=>e(``),1e3))})(i)},[t]),a=P.useCallback(()=>{n.current=``,window.clearTimeout(r.current)},[]);return P.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,a]}function ot(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=st(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function st(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var ct=ce,lt=fe;function ut({className:e,children:t,...n}){return(0,L.jsxs)(ue,{className:i(`flex h-8 w-full cursor-pointer items-center justify-between gap-2 px-2.5 [&>span]:truncate`,w,e),...n,children:[t,(0,L.jsx)(me,{asChild:!0,children:(0,L.jsx)(M,{className:`size-3.5 shrink-0 text-fg-muted`})})]})}function dt({className:e,children:t,position:n=`popper`,...r}){return(0,L.jsx)(ve,{children:(0,L.jsx)(ye,{position:n,sideOffset:4,className:i(`z-50 max-h-72 min-w-[var(--radix-select-trigger-width)] overflow-y-auto rounded-md bg-elevated p-1 shadow-xl`,e),...r,children:(0,L.jsx)(Me,{children:t})})})}function ft({className:e,children:t,...n}){return(0,L.jsxs)(He,{className:i(k,D,`py-1.5 pl-7 pr-2`,e),...n,children:[(0,L.jsx)(`span`,{className:`absolute left-2 flex size-3.5 items-center justify-center`,children:(0,L.jsx)(Ge,{children:(0,L.jsx)(ee,{className:`size-3.5`})})}),(0,L.jsx)(Ue,{children:t})]})}var pt=`Switch`,[mt,ht]=h(pt),[gt,_t]=mt(pt);function vt(e){let{__scopeSwitch:t,checked:n,children:r,defaultChecked:i,disabled:a,form:o,name:s,onCheckedChange:c,required:l,value:u=`on`,internal_do_not_use_render:d}=e,[f,p]=v({prop:n,defaultProp:i??!1,onChange:c,caller:pt}),[m,h]=P.useState(null),[g,_]=P.useState(null),y={checked:f,setChecked:p,disabled:a,control:m,setControl:h,name:s,form:o,value:u,hasConsumerStoppedPropagationRef:P.useRef(!1),required:l,defaultChecked:i,isFormControl:!m||!!o||!!m.closest(`form`),bubbleInput:g,setBubbleInput:_};return(0,L.jsx)(gt,{scope:t,...y,children:Et(d)?d(y):r})}var yt=`SwitchTrigger`,bt=P.forwardRef(({__scopeSwitch:e,onClick:t,...n},r)=>{let{control:i,form:a,value:o,disabled:c,checked:u,required:d,setControl:f,setChecked:p,hasConsumerStoppedPropagationRef:h,isFormControl:g,bubbleInput:_}=_t(yt,e),v=m(r,f),y=P.useRef(u);return P.useEffect(()=>{let e=a?i?.ownerDocument.getElementById(a):i?.form;if(e instanceof HTMLFormElement){let t=()=>p(y.current);return e.addEventListener(`reset`,t),()=>e.removeEventListener(`reset`,t)}},[i,a,p]),(0,L.jsx)(l.button,{type:`button`,role:`switch`,"aria-checked":u,"aria-required":d,"data-state":Dt(u),"data-disabled":c?``:void 0,disabled:c,value:o,...n,ref:v,onClick:s(t,e=>{p(e=>!e),_&&g&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})})});bt.displayName=yt;var xt=P.forwardRef((e,t)=>{let{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c,onCheckedChange:l,form:u,...d}=e;return(0,L.jsx)(vt,{__scopeSwitch:n,checked:i,defaultChecked:a,disabled:s,required:o,onCheckedChange:l,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(bt,{...d,ref:t,__scopeSwitch:n}),e&&(0,L.jsx)(Tt,{__scopeSwitch:n})]})})});xt.displayName=pt;var St=`SwitchThumb`,Ct=P.forwardRef((e,t)=>{let{__scopeSwitch:n,...r}=e,i=_t(St,n);return(0,L.jsx)(l.span,{"data-state":Dt(i.checked),"data-disabled":i.disabled?``:void 0,...r,ref:t})});Ct.displayName=St;var wt=`SwitchBubbleInput`,Tt=P.forwardRef(({__scopeSwitch:e,...t},n)=>{let{control:r,hasConsumerStoppedPropagationRef:i,checked:a,defaultChecked:o,required:s,disabled:c,name:u,value:d,form:f,bubbleInput:p,setBubbleInput:h}=_t(wt,e),g=m(n,h),_=V(a),v=C(r);P.useEffect(()=>{let e=p;if(!e)return;let t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,`checked`).set,r=!i.current;if(_!==a&&n){let t=new Event(`click`,{bubbles:r});n.call(e,a),e.dispatchEvent(t)}},[p,_,a,i]);let y=P.useRef(a);return(0,L.jsx)(l.input,{type:`checkbox`,"aria-hidden":!0,defaultChecked:o??y.current,required:s,disabled:c,name:u,value:d,form:f,...t,tabIndex:-1,ref:g,style:{...t.style,...v,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0,transform:`translateX(-100%)`}})});Tt.displayName=wt;function Et(e){return typeof e==`function`}function Dt(e){return e?`checked`:`unchecked`}function Ot({className:e,...t}){return(0,L.jsx)(xt,{className:i(`peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full transition-colors data-[state=checked]:bg-action data-[state=unchecked]:bg-border data-[state=unchecked]:hover:bg-border/70 disabled:cursor-not-allowed disabled:opacity-50`,e),...t,children:(0,L.jsx)(Ct,{className:`pointer-events-none block size-4 rounded-full bg-ground shadow-sm transition-transform data-[state=checked]:translate-x-[1.125rem] data-[state=unchecked]:translate-x-0.5`})})}export{ut as a,R as c,ft as i,N as l,ct as n,lt as o,dt as r,B as s,Ot as t,M as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={comments:{lineComment:`//`,blockComment:[`/*`,`*/`]},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`],[`begin`,`end`],[`case`,`endcase`],[`casex`,`endcase`],[`casez`,`endcase`],[`checker`,`endchecker`],[`class`,`endclass`],[`clocking`,`endclocking`],[`config`,`endconfig`],[`function`,`endfunction`],[`generate`,`endgenerate`],[`group`,`endgroup`],[`interface`,`endinterface`],[`module`,`endmodule`],[`package`,`endpackage`],[`primitive`,`endprimitive`],[`program`,`endprogram`],[`property`,`endproperty`],[`specify`,`endspecify`],[`sequence`,`endsequence`],[`table`,`endtable`],[`task`,`endtask`]],autoClosingPairs:[{open:`[`,close:`]`},{open:`{`,close:`}`},{open:`(`,close:`)`},{open:`'`,close:`'`,notIn:[`string`,`comment`]},{open:`"`,close:`"`,notIn:[`string`]}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{offSide:!1,markers:{start:RegExp(`^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b`),end:RegExp(`^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b`)}}},t={defaultToken:``,tokenPostfix:`.sv`,brackets:[{token:`delimiter.curly`,open:`{`,close:`}`},{token:`delimiter.parenthesis`,open:`(`,close:`)`},{token:`delimiter.square`,open:`[`,close:`]`},{token:`delimiter.angle`,open:`<`,close:`>`}],keywords:`accept_on.alias.always.always_comb.always_ff.always_latch.and.assert.assign.assume.automatic.before.begin.bind.bins.binsof.bit.break.buf.bufif0.bufif1.byte.case.casex.casez.cell.chandle.checker.class.clocking.cmos.config.const.constraint.context.continue.cover.covergroup.coverpoint.cross.deassign.default.defparam.design.disable.dist.do.edge.else.end.endcase.endchecker.endclass.endclocking.endconfig.endfunction.endgenerate.endgroup.endinterface.endmodule.endpackage.endprimitive.endprogram.endproperty.endspecify.endsequence.endtable.endtask.enum.event.eventually.expect.export.extends.extern.final.first_match.for.force.foreach.forever.fork.forkjoin.function.generate.genvar.global.highz0.highz1.if.iff.ifnone.ignore_bins.illegal_bins.implements.implies.import.incdir.include.initial.inout.input.inside.instance.int.integer.interconnect.interface.intersect.join.join_any.join_none.large.let.liblist.library.local.localparam.logic.longint.macromodule.matches.medium.modport.module.nand.negedge.nettype.new.nexttime.nmos.nor.noshowcancelled.not.notif0.notif1.null.or.output.package.packed.parameter.pmos.posedge.primitive.priority.program.property.protected.pull0.pull1.pulldown.pullup.pulsestyle_ondetect.pulsestyle_onevent.pure.rand.randc.randcase.randsequence.rcmos.real.realtime.ref.reg.reject_on.release.repeat.restrict.return.rnmos.rpmos.rtran.rtranif0.rtranif1.s_always.s_eventually.s_nexttime.s_until.s_until_with.scalared.sequence.shortint.shortreal.showcancelled.signed.small.soft.solve.specify.specparam.static.string.strong.strong0.strong1.struct.super.supply0.supply1.sync_accept_on.sync_reject_on.table.tagged.task.this.throughout.time.timeprecision.timeunit.tran.tranif0.tranif1.tri.tri0.tri1.triand.trior.trireg.type.typedef.union.unique.unique0.unsigned.until.until_with.untyped.use.uwire.var.vectored.virtual.void.wait.wait_order.wand.weak.weak0.weak1.while.wildcard.wire.with.within.wor.xnor.xor`.split(`.`),builtin_gates:[`and`,`nand`,`nor`,`or`,`xor`,`xnor`,`buf`,`not`,`bufif0`,`bufif1`,`notif1`,`notif0`,`cmos`,`nmos`,`pmos`,`rcmos`,`rnmos`,`rpmos`,`tran`,`tranif1`,`tranif0`,`rtran`,`rtranif1`,`rtranif0`],operators:`=.+=.-=.*=./=.%=.&=.|=.^=.<<=.>>+.<<<=.>>>=.?.:.+.-.!.~.&.~&.|.~|.^.~^.^~.+.-.*./.%.==.!=.===.!==.==?.!=?.&&.||.**.<.<=.>.>=.&.|.^.>>.<<.>>>.<<<.++.--.->.<->.inside.dist.::.+:.-:.*>.&&&.|->.|=>.#=#`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,[``,{cases:{"@builtin_gates":{token:`keyword.$2`,next:`@module_instance`},table:{token:`keyword.$2`,next:`@table`},"@keywords":{token:`keyword.$2`},"@default":{token:`identifier`,next:`@module_instance`}}}]],[/^\s*`include/,{token:`keyword.directive.include`,next:`@include`}],[/^\s*`\s*\w+/,`keyword`],{include:`@identifier_or_keyword`},{include:`@whitespace`},[/\(\*.*\*\)/,`annotation`],[/@systemcall/,`variable.predefined`],[/[{}()\[\]]/,`@brackets`],[/[<>](?!@symbols)/,`@brackets`],[/@symbols/,{cases:{"@operators":`delimiter`,"@default":``}}],{include:`@numbers`},[/[;,.]/,`delimiter`],{include:`@strings`}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:`keyword.$0`},"@default":`identifier`}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,`number.float`],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,`number.float`],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,`number`],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,`number.binary`],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,`number.octal`],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,`number.hex`],[/1step/,`number`],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,`number`],[/'[01xXzZ]+/,`number`]],module_instance:[{include:`@whitespace`},[/(#?)(\()/,[``,{token:`@brackets`,next:`@port_connection`}]],[/@identifier\s*[;={}\[\],]/,{token:`@rematch`,next:`@pop`}],[/@symbols|[;={}\[\],]/,{token:`@rematch`,next:`@pop`}],[/@identifier/,`type`],[/;/,`delimiter`,`@pop`]],port_connection:[{include:`@identifier_or_keyword`},{include:`@whitespace`},[/@systemcall/,`variable.predefined`],{include:`@numbers`},{include:`@strings`},[/[,]/,`delimiter`],[/\(/,`@brackets`,`@port_connection`],[/\)/,`@brackets`,`@pop`]],whitespace:[[/[ \t\r\n]+/,``],[/\/\*/,`comment`,`@comment`],[/\/\/.*$/,`comment`]],comment:[[/[^\/*]+/,`comment`],[/\*\//,`comment`,`@pop`],[/[\/*]/,`comment`]],strings:[[/"([^"\\]|\\.)*$/,`string.invalid`],[/"/,`string`,`@string`]],string:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,[``,`string.include.identifier`,`string.include.identifier`,`string.include.identifier`,{token:`string.include.identifier`,next:`@pop`}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,[``,`string.include.identifier`,`string.include.identifier`,`string.include.identifier`,{token:`string.include.identifier`,next:`@pop`}]]],table:[{include:`@whitespace`},[/[()]/,`@brackets`],[/[:;]/,`delimiter`],[/[01\-*?xXbBrRfFpPnN]/,`variable.predefined`],[`endtable`,`keyword.endtable`,`@pop`]]}};export{e as conf,t as language};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}]},t={tokenPostfix:`.tcl`,specialFunctions:[`set`,`unset`,`rename`,`variable`,`proc`,`coroutine`,`foreach`,`incr`,`append`,`lappend`,`linsert`,`lreplace`],mainFunctions:[`if`,`then`,`elseif`,`else`,`case`,`switch`,`while`,`for`,`break`,`continue`,`return`,`package`,`namespace`,`catch`,`exit`,`eval`,`expr`,`uplevel`,`upvar`],builtinFunctions:`file.info.concat.join.lindex.list.llength.lrange.lsearch.lsort.split.array.parray.binary.format.regexp.regsub.scan.string.subst.dict.cd.clock.exec.glob.pid.pwd.close.eof.fblocked.fconfigure.fcopy.fileevent.flush.gets.open.puts.read.seek.socket.tell.interp.after.auto_execok.auto_load.auto_mkindex.auto_reset.bgerror.error.global.history.load.source.time.trace.unknown.unset.update.vwait.winfo.wm.bind.event.pack.place.grid.font.bell.clipboard.destroy.focus.grab.lower.option.raise.selection.send.tk.tkwait.tk_bisque.tk_focusNext.tk_focusPrev.tk_focusFollowsMouse.tk_popup.tk_setPalette`.split(`.`),symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:`(`,close:`)`,token:`delimiter.parenthesis`},{open:`{`,close:`}`,token:`delimiter.curly`},{open:`[`,close:`]`,token:`delimiter.square`}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:`keyword.flow`,next:`@specialFunc`},"@mainFunctions":`keyword`,"@builtinFunctions":`variable`,"@default":`operator.scss`}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,`metatag`],{include:`@whitespace`},[/[{}()\[\]]/,`@brackets`],[/@symbols/,`operator`],[/\$+(?:\:\:)?\{/,{token:`identifier`,next:`@nestedVariable`}],[/@variables/,`type.identifier`],[/\.(?!\d|\.)[\w\-]*/,`operator.sql`],[/\d+(\.\d+)?/,`number`],[/\d+/,`number`],[/;/,`delimiter`],[/"/,{token:`string.quote`,bracket:`@open`,next:`@dstring`}],[/'/,{token:`string.quote`,bracket:`@open`,next:`@sstring`}]],dstring:[[/\[/,{token:`@brackets`,next:`@nestedCall`}],[/\$+(?:\:\:)?\{/,{token:`identifier`,next:`@nestedVariable`}],[/@variables/,`type.identifier`],[/[^\\$\[\]"]+/,`string`],[/@escapes/,`string.escape`],[/"/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],sstring:[[/\[/,{token:`@brackets`,next:`@nestedCall`}],[/\$+(?:\:\:)?\{/,{token:`identifier`,next:`@nestedVariable`}],[/@variables/,`type.identifier`],[/[^\\$\[\]']+/,`string`],[/@escapes/,`string.escape`],[/'/,{token:`string.quote`,bracket:`@close`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,`white`],[/#.*\\$/,{token:`comment`,next:`@newlineComment`}],[/#.*(?!\\)$/,`comment`]],newlineComment:[[/.*\\$/,`comment`],[/.*(?!\\)$/,{token:`comment`,next:`@pop`}]],nestedVariable:[[/[^\{\}\$]+/,`type.identifier`],[/\}/,{token:`identifier`,next:`@pop`}]],nestedCall:[[/\[/,{token:`@brackets`,next:`@nestedCall`}],[/\]/,{token:`@brackets`,next:`@pop`}],{include:`root`}],specialFunc:[[/"/,{token:`string`,next:`@dstring`}],[/'/,{token:`string`,next:`@sstring`}],[/\S+/,{token:`type`,next:`@pop`}]]}};export{e as conf,t as language};
|