Spaces:
Sleeping
Sleeping
new portal and notebook with pyspark_huggingface
Browse files- Dockerfile +10 -3
- README.md +2 -2
- data/hf_spark_utils.py +0 -183
- data/login.ipynb +30 -0
- data/spark.ipynb +7 -69
- login.html +0 -1
- on_startup.sh +1 -1
- packages.txt +1 -1
- portal/index.html +95 -0
- portal/portal-assets/css2 +630 -0
- portal/portal-assets/css2(1) +135 -0
- portal/portal-assets/katex.min.css +1 -0
- portal/portal-assets/more-style.css +19 -0
- portal/portal-assets/script.pageview-props.js +1 -0
- portal/portal-assets/style.css +0 -0
- requirements.txt +1 -7
- start_server.sh +23 -19
Dockerfile
CHANGED
|
@@ -45,8 +45,7 @@ USER user
|
|
| 45 |
|
| 46 |
# All users can use /home/user as their home directory
|
| 47 |
ENV HOME=/home/user
|
| 48 |
-
RUN
|
| 49 |
-
&& chmod -R 777 $HOME
|
| 50 |
|
| 51 |
# Set up the Conda environment
|
| 52 |
ENV CONDA_AUTO_UPDATE_CONDA=false \
|
|
@@ -83,7 +82,15 @@ RUN mkdir /data && chown user:user /data
|
|
| 83 |
|
| 84 |
USER user
|
| 85 |
|
| 86 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
RUN --mount=target=requirements.txt,source=requirements.txt \
|
| 88 |
pip install --no-cache-dir --upgrade -r requirements.txt
|
| 89 |
|
|
|
|
| 45 |
|
| 46 |
# All users can use /home/user as their home directory
|
| 47 |
ENV HOME=/home/user
|
| 48 |
+
RUN chmod -R 777 $HOME
|
|
|
|
| 49 |
|
| 50 |
# Set up the Conda environment
|
| 51 |
ENV CONDA_AUTO_UPDATE_CONDA=false \
|
|
|
|
| 82 |
|
| 83 |
USER user
|
| 84 |
|
| 85 |
+
# Jupyterlab
|
| 86 |
+
RUN pip install jupyterlab==3.6.1 jupyter-server==2.3.0 tornado==6.2 ipywidgets plotly
|
| 87 |
+
RUN pip install catppuccin-jupyterlab
|
| 88 |
+
RUN mkdir -p $HOME/.jupyter/lab/user-settings/@jupyterlab/apputils-extension
|
| 89 |
+
RUN mkdir -p $HOME/.jupyter/lab/user-settings/catppuccin_jupyterlab
|
| 90 |
+
RUN echo '{"theme": "Catppuccin Frappé"}' > $HOME/.jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings
|
| 91 |
+
RUN echo '{"brandColor": "peach", "accentColor": "green"}' > $HOME/.jupyter/lab/user-settings/catppuccin_jupyterlab/plugin.jupyterlab-settings
|
| 92 |
+
|
| 93 |
+
# User Python packages
|
| 94 |
RUN --mount=target=requirements.txt,source=requirements.txt \
|
| 95 |
pip install --no-cache-dir --upgrade -r requirements.txt
|
| 96 |
|
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
title: Spark
|
| 3 |
-
short_description:
|
| 4 |
emoji: 🌅
|
| 5 |
colorFrom: gray
|
| 6 |
colorTo: red
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Spark Notebooks
|
| 3 |
+
short_description: Notebooks with Spark and HF libs
|
| 4 |
emoji: 🌅
|
| 5 |
colorFrom: gray
|
| 6 |
colorTo: red
|
data/hf_spark_utils.py
DELETED
|
@@ -1,183 +0,0 @@
|
|
| 1 |
-
import math
|
| 2 |
-
import pickle
|
| 3 |
-
import tempfile
|
| 4 |
-
from functools import partial
|
| 5 |
-
from typing import Iterator, Optional, Union
|
| 6 |
-
|
| 7 |
-
import pyarrow as pa
|
| 8 |
-
import pyarrow.parquet as pq
|
| 9 |
-
from huggingface_hub import CommitOperationAdd, HfFileSystem
|
| 10 |
-
from pyspark.sql.dataframe import DataFrame
|
| 11 |
-
from pyspark.sql.pandas.types import from_arrow_schema, to_arrow_schema
|
| 12 |
-
|
| 13 |
-
spark = None
|
| 14 |
-
|
| 15 |
-
def set_session(session):
|
| 16 |
-
global spark
|
| 17 |
-
spark = session
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
def _read(iterator: Iterator[pa.RecordBatch], columns: Optional[list[str]], filters: Optional[Union[list[tuple], list[list[tuple]]]], **kwargs) -> Iterator[pa.RecordBatch]:
|
| 21 |
-
for batch in iterator:
|
| 22 |
-
paths = batch[0].to_pylist()
|
| 23 |
-
ds = pq.ParquetDataset(paths, **kwargs)
|
| 24 |
-
yield from ds._dataset.to_batches(columns=columns, filter=pq.filters_to_expression(filters) if filters else None)
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
def read_parquet(
|
| 28 |
-
path: str,
|
| 29 |
-
columns: Optional[list[str]] = None,
|
| 30 |
-
filters: Optional[Union[list[tuple], list[list[tuple]]]] = None,
|
| 31 |
-
**kwargs,
|
| 32 |
-
) -> DataFrame:
|
| 33 |
-
"""
|
| 34 |
-
Loads Parquet files from Hugging Face using PyArrow, returning a PySPark `DataFrame`.
|
| 35 |
-
|
| 36 |
-
It reads Parquet files in a distributed manner.
|
| 37 |
-
|
| 38 |
-
Access private or gated repositories using `huggingface-cli login` or passing a token
|
| 39 |
-
using the `storage_options` argument: `storage_options={"token": "hf_xxx"}`
|
| 40 |
-
|
| 41 |
-
Parameters
|
| 42 |
-
----------
|
| 43 |
-
path : str
|
| 44 |
-
Path to the file. Prefix with a protocol like `hf://` to read from Hugging Face.
|
| 45 |
-
You can read from multiple files if you pass a globstring.
|
| 46 |
-
columns : list, default None
|
| 47 |
-
If not None, only these columns will be read from the file.
|
| 48 |
-
filters : List[Tuple] or List[List[Tuple]], default None
|
| 49 |
-
To filter out data.
|
| 50 |
-
Filter syntax: [[(column, op, val), ...],...]
|
| 51 |
-
where op is [==, =, >, >=, <, <=, !=, in, not in]
|
| 52 |
-
The innermost tuples are transposed into a set of filters applied
|
| 53 |
-
through an `AND` operation.
|
| 54 |
-
The outer list combines these sets of filters through an `OR`
|
| 55 |
-
operation.
|
| 56 |
-
A single list of tuples can also be used, meaning that no `OR`
|
| 57 |
-
operation between set of filters is to be conducted.
|
| 58 |
-
|
| 59 |
-
**kwargs
|
| 60 |
-
Any additional kwargs are passed to pyarrow.parquet.ParquetDataset.
|
| 61 |
-
|
| 62 |
-
Returns
|
| 63 |
-
-------
|
| 64 |
-
DataFrame
|
| 65 |
-
DataFrame based on parquet file.
|
| 66 |
-
|
| 67 |
-
Examples
|
| 68 |
-
--------
|
| 69 |
-
>>> path = "hf://datasets/username/dataset/data.parquet"
|
| 70 |
-
>>> pd.DataFrame({"foo": range(5), "bar": range(5, 10)}).to_parquet(path)
|
| 71 |
-
>>> read_parquet(path).show()
|
| 72 |
-
+---+---+
|
| 73 |
-
|foo|bar|
|
| 74 |
-
+---+---+
|
| 75 |
-
| 0| 5|
|
| 76 |
-
| 1| 6|
|
| 77 |
-
| 2| 7|
|
| 78 |
-
| 3| 8|
|
| 79 |
-
| 4| 9|
|
| 80 |
-
+---+---+
|
| 81 |
-
>>> read_parquet(path, columns=["bar"]).show()
|
| 82 |
-
+---+
|
| 83 |
-
|bar|
|
| 84 |
-
+---+
|
| 85 |
-
| 5|
|
| 86 |
-
| 6|
|
| 87 |
-
| 7|
|
| 88 |
-
| 8|
|
| 89 |
-
| 9|
|
| 90 |
-
+---+
|
| 91 |
-
>>> sel = [("foo", ">", 2)]
|
| 92 |
-
>>> read_parquet(path, filters=sel).show()
|
| 93 |
-
+---+---+
|
| 94 |
-
|foo|bar|
|
| 95 |
-
+---+---+
|
| 96 |
-
| 3| 8|
|
| 97 |
-
| 4| 9|
|
| 98 |
-
+---+---+
|
| 99 |
-
"""
|
| 100 |
-
filesystem: HfFileSystem = kwargs.pop("filesystem") if "filesystem" in kwargs else HfFileSystem(**kwargs.pop("storage_options", {}))
|
| 101 |
-
paths = filesystem.glob(path)
|
| 102 |
-
if not paths:
|
| 103 |
-
raise FileNotFoundError(f"Counldn't find any file at {path}")
|
| 104 |
-
rdd = spark.sparkContext.parallelize([{"path": path} for path in paths], len(paths))
|
| 105 |
-
df = spark.createDataFrame(rdd)
|
| 106 |
-
arrow_schema = pq.read_schema(filesystem.open(paths[0]))
|
| 107 |
-
schema = pa.schema([field for field in arrow_schema if (columns is None or field.name in columns)], metadata=arrow_schema.metadata)
|
| 108 |
-
return df.mapInArrow(
|
| 109 |
-
partial(_read, columns=columns, filters=filters, filesystem=filesystem, schema=arrow_schema, **kwargs),
|
| 110 |
-
from_arrow_schema(schema),
|
| 111 |
-
)
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
def _preupload(iterator: Iterator[pa.RecordBatch], path: str, schema: pa.Schema, filesystem: HfFileSystem, row_group_size: Optional[int] = None, **kwargs) -> Iterator[pa.RecordBatch]:
|
| 115 |
-
resolved_path = filesystem.resolve_path(path)
|
| 116 |
-
with tempfile.NamedTemporaryFile(suffix=".parquet") as temp_file:
|
| 117 |
-
with pq.ParquetWriter(temp_file.name, schema=schema, **kwargs) as writer:
|
| 118 |
-
for batch in iterator:
|
| 119 |
-
writer.write_batch(batch, row_group_size=row_group_size)
|
| 120 |
-
addition = CommitOperationAdd(path_in_repo=temp_file.name, path_or_fileobj=temp_file.name)
|
| 121 |
-
filesystem._api.preupload_lfs_files(repo_id=resolved_path.repo_id, additions=[addition], repo_type=resolved_path.repo_type, revision=resolved_path.revision)
|
| 122 |
-
yield pa.record_batch({"addition": [pickle.dumps(addition)]}, schema=pa.schema({"addition": pa.binary()}))
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
def _commit(iterator: Iterator[pa.RecordBatch], path: str, filesystem: HfFileSystem, max_operations_per_commit=50) -> Iterator[pa.RecordBatch]:
|
| 126 |
-
resolved_path = filesystem.resolve_path(path)
|
| 127 |
-
additions: list[CommitOperationAdd] = [pickle.loads(addition) for addition in pa.Table.from_batches(iterator, schema=pa.schema({"addition": pa.binary()}))[0].to_pylist()]
|
| 128 |
-
num_commits = math.ceil(len(additions) / max_operations_per_commit)
|
| 129 |
-
for shard_idx, addition in enumerate(additions):
|
| 130 |
-
addition.path_in_repo = resolved_path.path_in_repo.replace("{shard_idx:05d}", f"{shard_idx:05d}")
|
| 131 |
-
for i in range(0, num_commits):
|
| 132 |
-
operations = additions[i * max_operations_per_commit : (i + 1) * max_operations_per_commit]
|
| 133 |
-
commit_message = "Upload using PySpark" + (f" (part {i:05d}-of-{num_commits:05d})" if num_commits > 1 else "")
|
| 134 |
-
filesystem._api.create_commit(repo_id=resolved_path.repo_id, repo_type=resolved_path.repo_type, revision=resolved_path.revision, operations=operations, commit_message=commit_message)
|
| 135 |
-
yield pa.record_batch({"path": [addition.path_in_repo for addition in operations]}, schema=pa.schema({"path": pa.string()}))
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
def write_parquet(df: DataFrame, path: str, **kwargs) -> None:
|
| 139 |
-
"""
|
| 140 |
-
Write Parquet files to Hugging Face using PyArrow.
|
| 141 |
-
|
| 142 |
-
It uploads Parquet files in a distributed manner in two steps:
|
| 143 |
-
|
| 144 |
-
1. Preupload the Parquet files in parallel in a distributed banner
|
| 145 |
-
2. Commit the preuploaded files
|
| 146 |
-
|
| 147 |
-
Authenticate using `huggingface-cli login` or passing a token
|
| 148 |
-
using the `storage_options` argument: `storage_options={"token": "hf_xxx"}`
|
| 149 |
-
|
| 150 |
-
Parameters
|
| 151 |
-
----------
|
| 152 |
-
path : str
|
| 153 |
-
Path of the file or directory. Prefix with a protocol like `hf://` to read from Hugging Face.
|
| 154 |
-
It writes Parquet files in the form "part-xxxxx.parquet", or to a single file if `path ends with ".parquet".
|
| 155 |
-
|
| 156 |
-
**kwargs
|
| 157 |
-
Any additional kwargs are passed to pyarrow.parquet.ParquetWriter.
|
| 158 |
-
|
| 159 |
-
Returns
|
| 160 |
-
-------
|
| 161 |
-
DataFrame
|
| 162 |
-
DataFrame based on parquet file.
|
| 163 |
-
|
| 164 |
-
Examples
|
| 165 |
-
--------
|
| 166 |
-
>>> spark.createDataFrame(pd.DataFrame({"foo": range(5), "bar": range(5, 10)}))
|
| 167 |
-
>>> # Save to one file
|
| 168 |
-
>>> write_parquet(df, "hf://datasets/username/dataset/data.parquet")
|
| 169 |
-
>>> # OR save to a directory (possibly in many files)
|
| 170 |
-
>>> write_parquet(df, "hf://datasets/username/dataset")
|
| 171 |
-
"""
|
| 172 |
-
filesystem: HfFileSystem = kwargs.pop("filesystem", HfFileSystem(**kwargs.pop("storage_options", {})))
|
| 173 |
-
if path.endswith(".parquet") or path.endswith(".pq"):
|
| 174 |
-
df = df.coalesce(1)
|
| 175 |
-
else:
|
| 176 |
-
path += "/part-{shard_idx:05d}.parquet"
|
| 177 |
-
df.mapInArrow(
|
| 178 |
-
partial(_preupload, path=path, schema=to_arrow_schema(df.schema), filesystem=filesystem, **kwargs),
|
| 179 |
-
from_arrow_schema(pa.schema({"addition": pa.binary()})),
|
| 180 |
-
).repartition(1).mapInArrow(
|
| 181 |
-
partial(_commit, path=path, filesystem=filesystem),
|
| 182 |
-
from_arrow_schema(pa.schema({"path": pa.string()})),
|
| 183 |
-
).collect()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data/login.ipynb
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "markdown",
|
| 5 |
+
"id": "1d612ca3",
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"source": [
|
| 8 |
+
"# Login to Hugging Face"
|
| 9 |
+
]
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"cell_type": "code",
|
| 13 |
+
"execution_count": null,
|
| 14 |
+
"id": "196bc954",
|
| 15 |
+
"metadata": {},
|
| 16 |
+
"outputs": [],
|
| 17 |
+
"source": [
|
| 18 |
+
"from huggingface_hub import notebook_login\n",
|
| 19 |
+
"notebook_login(new_session=False)"
|
| 20 |
+
]
|
| 21 |
+
}
|
| 22 |
+
],
|
| 23 |
+
"metadata": {
|
| 24 |
+
"language_info": {
|
| 25 |
+
"name": "python"
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
"nbformat": 4,
|
| 29 |
+
"nbformat_minor": 5
|
| 30 |
+
}
|
data/spark.ipynb
CHANGED
|
@@ -5,7 +5,9 @@
|
|
| 5 |
"id": "6fb06d81-1778-403c-b15b-d68200a5e6b5",
|
| 6 |
"metadata": {},
|
| 7 |
"source": [
|
| 8 |
-
"# Spark
|
|
|
|
|
|
|
| 9 |
]
|
| 10 |
},
|
| 11 |
{
|
|
@@ -21,80 +23,16 @@
|
|
| 21 |
"spark = SparkSession.builder.appName(\"demo\").getOrCreate()"
|
| 22 |
]
|
| 23 |
},
|
| 24 |
-
{
|
| 25 |
-
"cell_type": "markdown",
|
| 26 |
-
"id": "8bf07f63-6fed-4cf9-8fee-5f3a5fb6bed1",
|
| 27 |
-
"metadata": {
|
| 28 |
-
"tags": []
|
| 29 |
-
},
|
| 30 |
-
"source": [
|
| 31 |
-
"Example:\n",
|
| 32 |
-
"\n",
|
| 33 |
-
"```python\n",
|
| 34 |
-
"# Load the BAAI/Infinity-Instruct dataset\n",
|
| 35 |
-
"df = read_parquet(\"hf://datasets/BAAI/Infinity-Instruct/7M/*.parquet\")\n",
|
| 36 |
-
"\n",
|
| 37 |
-
"# Load only one column\n",
|
| 38 |
-
"df_langdetect_only = read_parquet(\"hf://datasets/BAAI/Infinity-Instruct/7M/*.parquet\", columns=[\"langdetect\"])\n",
|
| 39 |
-
"\n",
|
| 40 |
-
"# Load values within certain ranges\n",
|
| 41 |
-
"criteria = [(\"langdetect\", \"=\", \"zh-cn\")]\n",
|
| 42 |
-
"df_chinese_only = read_parquet(\"hf://datasets/BAAI/Infinity-Instruct/7M/*.parquet\", filters=criteria)\n",
|
| 43 |
-
"\n",
|
| 44 |
-
"# Save dataset\n",
|
| 45 |
-
"write_parquet(df_chinese_only, \"hf://datasets/username/Infinity-Instruct-Chinese-Only\")\n",
|
| 46 |
-
"```"
|
| 47 |
-
]
|
| 48 |
-
},
|
| 49 |
{
|
| 50 |
"cell_type": "code",
|
| 51 |
"execution_count": null,
|
| 52 |
-
"id": "
|
| 53 |
-
"metadata": {
|
| 54 |
-
"tags": []
|
| 55 |
-
},
|
| 56 |
-
"outputs": [],
|
| 57 |
-
"source": [
|
| 58 |
-
"from hf_spark_utils import read_parquet, write_parquet, set_session\n",
|
| 59 |
-
"set_session(spark)"
|
| 60 |
-
]
|
| 61 |
-
},
|
| 62 |
-
{
|
| 63 |
-
"cell_type": "markdown",
|
| 64 |
-
"id": "07ea62a4-7549-4a75-8a12-9d830f6e3cde",
|
| 65 |
"metadata": {},
|
| 66 |
-
"source": [
|
| 67 |
-
"#### (Optional) Login"
|
| 68 |
-
]
|
| 69 |
-
},
|
| 70 |
-
{
|
| 71 |
-
"cell_type": "code",
|
| 72 |
-
"execution_count": null,
|
| 73 |
-
"id": "343b3a9a-2dce-492b-9384-703368ba3975",
|
| 74 |
-
"metadata": {
|
| 75 |
-
"tags": []
|
| 76 |
-
},
|
| 77 |
"outputs": [],
|
| 78 |
"source": [
|
| 79 |
-
"
|
| 80 |
-
"
|
| 81 |
-
]
|
| 82 |
-
},
|
| 83 |
-
{
|
| 84 |
-
"cell_type": "markdown",
|
| 85 |
-
"id": "332b7609-f0eb-4703-aea6-fec3d09f5870",
|
| 86 |
-
"metadata": {},
|
| 87 |
-
"source": [
|
| 88 |
-
"#### Run your code:"
|
| 89 |
]
|
| 90 |
-
},
|
| 91 |
-
{
|
| 92 |
-
"cell_type": "code",
|
| 93 |
-
"execution_count": null,
|
| 94 |
-
"id": "6c0dfe01-9190-454c-9c52-216f74d339e1",
|
| 95 |
-
"metadata": {},
|
| 96 |
-
"outputs": [],
|
| 97 |
-
"source": []
|
| 98 |
}
|
| 99 |
],
|
| 100 |
"metadata": {
|
|
@@ -118,4 +56,4 @@
|
|
| 118 |
},
|
| 119 |
"nbformat": 4,
|
| 120 |
"nbformat_minor": 5
|
| 121 |
-
}
|
|
|
|
| 5 |
"id": "6fb06d81-1778-403c-b15b-d68200a5e6b5",
|
| 6 |
"metadata": {},
|
| 7 |
"source": [
|
| 8 |
+
"# Spark Example\n",
|
| 9 |
+
"\n",
|
| 10 |
+
"docs: [https://huggingface.co/docs/hub/datasets-spark](https://huggingface.co/docs/hub/datasets-spark)"
|
| 11 |
]
|
| 12 |
},
|
| 13 |
{
|
|
|
|
| 23 |
"spark = SparkSession.builder.appName(\"demo\").getOrCreate()"
|
| 24 |
]
|
| 25 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
{
|
| 27 |
"cell_type": "code",
|
| 28 |
"execution_count": null,
|
| 29 |
+
"id": "6c0dfe01-9190-454c-9c52-216f74d339e1",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
"metadata": {},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
"outputs": [],
|
| 32 |
"source": [
|
| 33 |
+
"df = spark.read.format(\"huggingface\").load(\"fka/awesome-chatgpt-prompts\")\n",
|
| 34 |
+
"df.show()"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
}
|
| 37 |
],
|
| 38 |
"metadata": {
|
|
|
|
| 56 |
},
|
| 57 |
"nbformat": 4,
|
| 58 |
"nbformat_minor": 5
|
| 59 |
+
}
|
login.html
CHANGED
|
@@ -45,7 +45,6 @@
|
|
| 45 |
{% else %}
|
| 46 |
<p>{% trans %}No login available, you shouldn't be seeing this page.{% endtrans %}</p>
|
| 47 |
{% endif %}
|
| 48 |
-
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/spark-ex-min.png" alt="Spark on Hugging Face example Python code" style="width: 100%; margin-bottom: 40px; border-radius: 5px; box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; border: 1rem solid white;">
|
| 49 |
<p>This template was created by <a href="https://twitter.com/camenduru" target="_blank" >camenduru</a> and <a href="https://huggingface.co/nateraw" target="_blank" >nateraw</a>, with contributions of <a href="https://huggingface.co/osanseviero" target="_blank" >osanseviero</a>, <a href="https://huggingface.co/azzr" target="_blank" >azzr</a> and <a href="https://huggingface.co/lhoestq" target="_blank">lhoestq</a></p>
|
| 50 |
{% if message %}
|
| 51 |
<div class="row">
|
|
|
|
| 45 |
{% else %}
|
| 46 |
<p>{% trans %}No login available, you shouldn't be seeing this page.{% endtrans %}</p>
|
| 47 |
{% endif %}
|
|
|
|
| 48 |
<p>This template was created by <a href="https://twitter.com/camenduru" target="_blank" >camenduru</a> and <a href="https://huggingface.co/nateraw" target="_blank" >nateraw</a>, with contributions of <a href="https://huggingface.co/osanseviero" target="_blank" >osanseviero</a>, <a href="https://huggingface.co/azzr" target="_blank" >azzr</a> and <a href="https://huggingface.co/lhoestq" target="_blank">lhoestq</a></p>
|
| 49 |
{% if message %}
|
| 50 |
<div class="row">
|
on_startup.sh
CHANGED
|
@@ -2,4 +2,4 @@
|
|
| 2 |
# Write some commands here that will run on root user before startup.
|
| 3 |
# For example, to clone transformers and install it in dev mode:
|
| 4 |
# git clone https://github.com/huggingface/transformers.git
|
| 5 |
-
# cd transformers && pip install -e ".[dev]"
|
|
|
|
| 2 |
# Write some commands here that will run on root user before startup.
|
| 3 |
# For example, to clone transformers and install it in dev mode:
|
| 4 |
# git clone https://github.com/huggingface/transformers.git
|
| 5 |
+
# cd transformers && pip install -e ".[dev]"
|
packages.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
tree
|
| 2 |
-
openjdk-
|
|
|
|
| 1 |
tree
|
| 2 |
+
openjdk-17-jdk
|
portal/index.html
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<!-- saved from url=(0033)https://huggingface.co/enterprise -->
|
| 3 |
+
<html class="scroll-smooth dark pkyzq idc0_350"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
| 4 |
+
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
| 6 |
+
<meta name="description" content="We’re on a journey to advance and democratize artificial intelligence through open source and open science.">
|
| 7 |
+
<meta property="fb:app_id" content="1321688464574422">
|
| 8 |
+
<meta name="twitter:card" content="summary_large_image">
|
| 9 |
+
<meta name="twitter:site" content="@huggingface">
|
| 10 |
+
<meta name="twitter:image" content="https://huggingface.co/front/thumbnails/enterprise.png">
|
| 11 |
+
<meta property="og:title" content="Spark Notebooks - Hugging Face">
|
| 12 |
+
<meta property="og:type" content="website">
|
| 13 |
+
<meta property="og:url" content="https://huggingface.co/enterprise">
|
| 14 |
+
<meta property="og:image" content="https://huggingface.co/front/thumbnails/enterprise.png">
|
| 15 |
+
|
| 16 |
+
<link rel="stylesheet" href="./portal-assets/style.css">
|
| 17 |
+
|
| 18 |
+
<link rel="preconnect" href="https://fonts.gstatic.com/">
|
| 19 |
+
<link href="./portal-assets/css2" rel="stylesheet">
|
| 20 |
+
<link href="./portal-assets/css2(1)" rel="stylesheet">
|
| 21 |
+
<link href="./portal-assets/more-style.css" rel="stylesheet">
|
| 22 |
+
|
| 23 |
+
<link rel="stylesheet" href="./portal-assets/katex.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
| 24 |
+
<noscript>
|
| 25 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.12.0/katex.min.css" />
|
| 26 |
+
</noscript>
|
| 27 |
+
|
| 28 |
+
<script>if (window.matchMedia('(prefers-color-scheme: dark)').matches) { document.documentElement.classList.add('dark'); }</script>
|
| 29 |
+
|
| 30 |
+
<link rel="canonical" href="https://huggingface.co/enterprise">
|
| 31 |
+
|
| 32 |
+
<title>Spark Notebooks - Hugging Face</title>
|
| 33 |
+
|
| 34 |
+
<body class="flex flex-col min-h-dvh bg-white dark:bg-blue-950 text-black">
|
| 35 |
+
|
| 36 |
+
<main class="flex flex-1 flex-col">
|
| 37 |
+
<div class="max-w-[100dvw] overflow-hidden">
|
| 38 |
+
<div class="0 container relative mx-auto mb-16 flex max-w-5xl flex-col items-center justify-center text-balance pt-28 text-center sm:mb-24 2xl:mb-32 2xl:max-w-6xl 2xl:pt-40">
|
| 39 |
+
<div style="opacity: 0.3;">
|
| 40 |
+
<svg class="text-6xl absolute top-16 left-12 sm:left-24 animate__bounce [animation-duration:12s] text-peach" style="--rotation-angle: 90deg;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg>
|
| 41 |
+
<svg class="text-4xl absolute top-40 left-0 animate__bounce [animation-duration:9s] text-peach" style="--rotation-angle: 12deg;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg>
|
| 42 |
+
<svg class="text-6xl absolute bottom-24 -left-16 animate__bounce [animation-duration:11s] text-peach" style="--rotation-angle: -16deg;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg>
|
| 43 |
+
<svg class="text-7xl sm:text-9xl absolute bottom-6 sm:-bottom-12 -left-6 sm:left-12 animate__bounce [animation-duration:7s] text-peach" style="--rotation-angle: -30deg;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg>
|
| 44 |
+
|
| 45 |
+
<svg class="text-9xl absolute top-0 sm:top-12 right-12 animate__bounce [animation-duration:13s] text-peach" style="--rotation-angle: -45deg;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg>
|
| 46 |
+
<svg class="text-5xl absolute top-40 2xl:top-52 -right-12 animate__bounce [animation-duration:7s] text-peach" style="--rotation-angle: -12deg;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg>
|
| 47 |
+
<svg class="text-7xl absolute bottom-16 right-0 animate__bounce [animation-duration:12s] text-peach" style="--rotation-angle: 45deg;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg>
|
| 48 |
+
<svg class="text-8xl absolute max-sm:hidden -bottom-12 right-24 animate__bounce [animation-duration:9s] text-peach" style="--rotation-angle: 12deg;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg>
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
<div class="mb-6 flex items-center justify-center font-mono text-xl"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="1em" height="1em"><path fill="#ef9f76" d="M57.646.004c-2.269.064-4.51 1.143-6.384 3.223-1.03 1.146-1.905 2.51-2.63 3.855-1.89 3.54-2.262 7.547-2.962 11.43l-3.852 21.81c-.148.856-.532 1.21-1.3 1.455l-28.268 8.98c-2.06.673-4.125 1.543-5.947 2.7-5.558 3.53-6.38 9.338-2.207 14.438 1.842 2.256 4.216 3.843 6.85 4.996l17.603 7.843c.147.08.304.132.463.162l3.717 2.682s-3.7 40.948 3.246 43.781c-.061-.01-.41-.082-.41-.082s.704.761 2.603.537c1.454.27 1.262.226.074-.01 2.583-.334 7.337-2.497 15.578-10.784a47.396 47.396 0 0 0 1.776-1.676l17.8-19.217 4.163 1.465c.15.207.367.34.714.443l19.823 6.031c2.709.836 5.389 1.448 8.277 1.026 5.156-.755 8.951-5 8.9-10.192-.02-2.28-.82-4.339-1.87-6.324l-13.128-24.898c-.418-.787-.405-1.296.196-2l22.054-25.922c1.428-1.703 2.717-3.529 3.465-5.645 1.643-4.67-.482-8.382-5.33-9.289-2.229-.398-4.427-.188-6.6.385l-31.597 8.395c-.93.25-1.39.075-1.895-.772l-12.9-21.434c-.975-1.615-2.14-3.194-3.477-4.527C62.212.89 59.915-.059 57.646.004zm.944 19.736c.51.358.768.727 1.01 1.125l13.88 23.13c.382.628.725.85 1.485.648l24.443-6.497 5.885-1.54c-.087.493-.302.79-.537 1.068l-20.16 23.672c-.57.688-.623 1.17-.194 1.976l12.743 24.16.585 1.237-.015.02-22.727-6.264-.006-.018-4.298-1.205-25.493 28.256 4.663-37.15-4.184-1.82.008-.007-23.674-9.4c.454-.413.86-.585 1.285-.717l28.777-9.096c.676-.21 1.061-.47 1.125-1.242l.403-2.355 3.875-21.807 1.12-6.174z"/></svg>
|
| 52 |
+
Spark Notebooks (Experimental)
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<h1 class="mb-12 max-w-[85dvw] text-4xl font-semibold lg:text-5xl 2xl:text-6xl">Prepare and Publish AI-ready Datasets with Apache Spark™</h1>
|
| 56 |
+
|
| 57 |
+
<div class="flex flex-col items-center gap-3">
|
| 58 |
+
<div>
|
| 59 |
+
<a class="flex items-center gap-1.5 whitespace-nowrap rounded-md bg-peach hover:bg-peach-0 px-6 py-1.5 text-md text-mantle transition-all dark:text-black" href="https://huggingface.co/spaces/Dataset-Tools/Spark-Notebooks?duplicate=true" target="_blank">Launch Spark Notebooks</a>
|
| 60 |
+
</div>
|
| 61 |
+
<p class="text-gray-500">CPU or GPU (single node)</p>
|
| 62 |
+
</div>
|
| 63 |
+
</div>
|
| 64 |
+
</div>
|
| 65 |
+
|
| 66 |
+
<div class="container mb-16 flex max-w-6xl items-center justify-center gap-4 text-balance text-center text-xl 2xl:max-w-7xl"><div class="flex-1 border-b"></div>
|
| 67 |
+
<p class="max-w-2xl">Spark Notebooks on Hugging Face Spaces is an experiment to provide the most integrated environment to build Datasets with access to 400k+ community datasets and AI-enabling hardware.
|
| 68 |
+
</p>
|
| 69 |
+
<div class="flex-1 border-b"></div>
|
| 70 |
+
|
| 71 |
+
</div>
|
| 72 |
+
<div class="container relative grid max-w-6xl grid-cols-1 gap-8 sm:grid-cols-2 md:grid-cols-3 2xl:max-w-7xl">
|
| 73 |
+
<div class="relative flex grid-cols-1 flex-col-reverse gap-3 overflow-hidden rounded-2xl border from-white to-gray-100 dark:from-gray-950 dark:to-gray-900 sm:col-span-2 sm:grid sm:grid-cols-5 md:col-span-3 md:grid-cols-6 md:bg-gradient-to-r">
|
| 74 |
+
<a href="https://huggingface.co/docs/hub/en/spaces-overview#hardware-resources" target="_blank" class="group flex flex-col justify-center p-6 max-md:pt-5 sm:col-span-2 md:col-span-2">
|
| 75 |
+
<h2 class="mb-2 flex items-center gap-2 text-xl font-semibold decoration-gray-300 underline-offset-4 group-hover:underline dark:decoration-gray-500">
|
| 76 |
+
Notebooks on any hardware
|
| 77 |
+
</h2>
|
| 78 |
+
<p class="text-gray-500">
|
| 79 |
+
Use Free CPU or ZeroGPU hardware, or choose among the rich list of hardware available on Spaces, which includes the latest GPUs.
|
| 80 |
+
<br/>
|
| 81 |
+
Join us in the Community tab for more info on hardware and multi node.
|
| 82 |
+
</p>
|
| 83 |
+
</a>
|
| 84 |
+
<div class="relative border-gray-100 bg-gradient-to-r max-md:border-b max-md:from-white max-md:to-gray-100 max-md:pl-5 max-md:[aspect-ratio:16/9] dark:max-md:from-gray-950 dark:max-md:to-gray-900 sm:col-span-3 md:col-span-4">
|
| 85 |
+
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/spark-notebook-perspective-transparent.png" alt="spark-notebook" class="inset-0 h-full select-none object-cover object-left dark:hidden">
|
| 86 |
+
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/spark-notebook-perspective-transparent.png" alt="spark-notebook" class="inset-0 hidden h-full select-none object-cover object-left dark:block">
|
| 87 |
+
<div class="absolute right-0 top-0 h-full w-full bg-gradient-to-r from-transparent via-transparent to-white dark:to-gray-950 max-md:hidden">
|
| 88 |
+
</div>
|
| 89 |
+
</div>
|
| 90 |
+
</div>
|
| 91 |
+
</div>
|
| 92 |
+
|
| 93 |
+
</main>
|
| 94 |
+
|
| 95 |
+
</body>
|
portal/portal-assets/css2
ADDED
|
@@ -0,0 +1,630 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* cyrillic-ext */
|
| 2 |
+
@font-face {
|
| 3 |
+
font-family: 'Source Sans Pro';
|
| 4 |
+
font-style: italic;
|
| 5 |
+
font-weight: 200;
|
| 6 |
+
font-display: swap;
|
| 7 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdh18S0xR41YDw.woff2) format('woff2');
|
| 8 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 9 |
+
}
|
| 10 |
+
/* cyrillic */
|
| 11 |
+
@font-face {
|
| 12 |
+
font-family: 'Source Sans Pro';
|
| 13 |
+
font-style: italic;
|
| 14 |
+
font-weight: 200;
|
| 15 |
+
font-display: swap;
|
| 16 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdo18S0xR41YDw.woff2) format('woff2');
|
| 17 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 18 |
+
}
|
| 19 |
+
/* greek-ext */
|
| 20 |
+
@font-face {
|
| 21 |
+
font-family: 'Source Sans Pro';
|
| 22 |
+
font-style: italic;
|
| 23 |
+
font-weight: 200;
|
| 24 |
+
font-display: swap;
|
| 25 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdg18S0xR41YDw.woff2) format('woff2');
|
| 26 |
+
unicode-range: U+1F00-1FFF;
|
| 27 |
+
}
|
| 28 |
+
/* greek */
|
| 29 |
+
@font-face {
|
| 30 |
+
font-family: 'Source Sans Pro';
|
| 31 |
+
font-style: italic;
|
| 32 |
+
font-weight: 200;
|
| 33 |
+
font-display: swap;
|
| 34 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdv18S0xR41YDw.woff2) format('woff2');
|
| 35 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 36 |
+
}
|
| 37 |
+
/* vietnamese */
|
| 38 |
+
@font-face {
|
| 39 |
+
font-family: 'Source Sans Pro';
|
| 40 |
+
font-style: italic;
|
| 41 |
+
font-weight: 200;
|
| 42 |
+
font-display: swap;
|
| 43 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdj18S0xR41YDw.woff2) format('woff2');
|
| 44 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 45 |
+
}
|
| 46 |
+
/* latin-ext */
|
| 47 |
+
@font-face {
|
| 48 |
+
font-family: 'Source Sans Pro';
|
| 49 |
+
font-style: italic;
|
| 50 |
+
font-weight: 200;
|
| 51 |
+
font-display: swap;
|
| 52 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSdi18S0xR41YDw.woff2) format('woff2');
|
| 53 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 54 |
+
}
|
| 55 |
+
/* latin */
|
| 56 |
+
@font-face {
|
| 57 |
+
font-family: 'Source Sans Pro';
|
| 58 |
+
font-style: italic;
|
| 59 |
+
font-weight: 200;
|
| 60 |
+
font-display: swap;
|
| 61 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSds18S0xR41.woff2) format('woff2');
|
| 62 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 63 |
+
}
|
| 64 |
+
/* cyrillic-ext */
|
| 65 |
+
@font-face {
|
| 66 |
+
font-family: 'Source Sans Pro';
|
| 67 |
+
font-style: italic;
|
| 68 |
+
font-weight: 300;
|
| 69 |
+
font-display: swap;
|
| 70 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidh18S0xR41YDw.woff2) format('woff2');
|
| 71 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 72 |
+
}
|
| 73 |
+
/* cyrillic */
|
| 74 |
+
@font-face {
|
| 75 |
+
font-family: 'Source Sans Pro';
|
| 76 |
+
font-style: italic;
|
| 77 |
+
font-weight: 300;
|
| 78 |
+
font-display: swap;
|
| 79 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkido18S0xR41YDw.woff2) format('woff2');
|
| 80 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 81 |
+
}
|
| 82 |
+
/* greek-ext */
|
| 83 |
+
@font-face {
|
| 84 |
+
font-family: 'Source Sans Pro';
|
| 85 |
+
font-style: italic;
|
| 86 |
+
font-weight: 300;
|
| 87 |
+
font-display: swap;
|
| 88 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidg18S0xR41YDw.woff2) format('woff2');
|
| 89 |
+
unicode-range: U+1F00-1FFF;
|
| 90 |
+
}
|
| 91 |
+
/* greek */
|
| 92 |
+
@font-face {
|
| 93 |
+
font-family: 'Source Sans Pro';
|
| 94 |
+
font-style: italic;
|
| 95 |
+
font-weight: 300;
|
| 96 |
+
font-display: swap;
|
| 97 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidv18S0xR41YDw.woff2) format('woff2');
|
| 98 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 99 |
+
}
|
| 100 |
+
/* vietnamese */
|
| 101 |
+
@font-face {
|
| 102 |
+
font-family: 'Source Sans Pro';
|
| 103 |
+
font-style: italic;
|
| 104 |
+
font-weight: 300;
|
| 105 |
+
font-display: swap;
|
| 106 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidj18S0xR41YDw.woff2) format('woff2');
|
| 107 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 108 |
+
}
|
| 109 |
+
/* latin-ext */
|
| 110 |
+
@font-face {
|
| 111 |
+
font-family: 'Source Sans Pro';
|
| 112 |
+
font-style: italic;
|
| 113 |
+
font-weight: 300;
|
| 114 |
+
font-display: swap;
|
| 115 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkidi18S0xR41YDw.woff2) format('woff2');
|
| 116 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 117 |
+
}
|
| 118 |
+
/* latin */
|
| 119 |
+
@font-face {
|
| 120 |
+
font-family: 'Source Sans Pro';
|
| 121 |
+
font-style: italic;
|
| 122 |
+
font-weight: 300;
|
| 123 |
+
font-display: swap;
|
| 124 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18S0xR41.woff2) format('woff2');
|
| 125 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 126 |
+
}
|
| 127 |
+
/* cyrillic-ext */
|
| 128 |
+
@font-face {
|
| 129 |
+
font-family: 'Source Sans Pro';
|
| 130 |
+
font-style: italic;
|
| 131 |
+
font-weight: 400;
|
| 132 |
+
font-display: swap;
|
| 133 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7qsDJB9cme_xc.woff2) format('woff2');
|
| 134 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 135 |
+
}
|
| 136 |
+
/* cyrillic */
|
| 137 |
+
@font-face {
|
| 138 |
+
font-family: 'Source Sans Pro';
|
| 139 |
+
font-style: italic;
|
| 140 |
+
font-weight: 400;
|
| 141 |
+
font-display: swap;
|
| 142 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7jsDJB9cme_xc.woff2) format('woff2');
|
| 143 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 144 |
+
}
|
| 145 |
+
/* greek-ext */
|
| 146 |
+
@font-face {
|
| 147 |
+
font-family: 'Source Sans Pro';
|
| 148 |
+
font-style: italic;
|
| 149 |
+
font-weight: 400;
|
| 150 |
+
font-display: swap;
|
| 151 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7rsDJB9cme_xc.woff2) format('woff2');
|
| 152 |
+
unicode-range: U+1F00-1FFF;
|
| 153 |
+
}
|
| 154 |
+
/* greek */
|
| 155 |
+
@font-face {
|
| 156 |
+
font-family: 'Source Sans Pro';
|
| 157 |
+
font-style: italic;
|
| 158 |
+
font-weight: 400;
|
| 159 |
+
font-display: swap;
|
| 160 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7ksDJB9cme_xc.woff2) format('woff2');
|
| 161 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 162 |
+
}
|
| 163 |
+
/* vietnamese */
|
| 164 |
+
@font-face {
|
| 165 |
+
font-family: 'Source Sans Pro';
|
| 166 |
+
font-style: italic;
|
| 167 |
+
font-weight: 400;
|
| 168 |
+
font-display: swap;
|
| 169 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7osDJB9cme_xc.woff2) format('woff2');
|
| 170 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 171 |
+
}
|
| 172 |
+
/* latin-ext */
|
| 173 |
+
@font-face {
|
| 174 |
+
font-family: 'Source Sans Pro';
|
| 175 |
+
font-style: italic;
|
| 176 |
+
font-weight: 400;
|
| 177 |
+
font-display: swap;
|
| 178 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7psDJB9cme_xc.woff2) format('woff2');
|
| 179 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 180 |
+
}
|
| 181 |
+
/* latin */
|
| 182 |
+
@font-face {
|
| 183 |
+
font-family: 'Source Sans Pro';
|
| 184 |
+
font-style: italic;
|
| 185 |
+
font-weight: 400;
|
| 186 |
+
font-display: swap;
|
| 187 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDJB9cme.woff2) format('woff2');
|
| 188 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 189 |
+
}
|
| 190 |
+
/* cyrillic-ext */
|
| 191 |
+
@font-face {
|
| 192 |
+
font-family: 'Source Sans Pro';
|
| 193 |
+
font-style: italic;
|
| 194 |
+
font-weight: 600;
|
| 195 |
+
font-display: swap;
|
| 196 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdh18S0xR41YDw.woff2) format('woff2');
|
| 197 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 198 |
+
}
|
| 199 |
+
/* cyrillic */
|
| 200 |
+
@font-face {
|
| 201 |
+
font-family: 'Source Sans Pro';
|
| 202 |
+
font-style: italic;
|
| 203 |
+
font-weight: 600;
|
| 204 |
+
font-display: swap;
|
| 205 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdo18S0xR41YDw.woff2) format('woff2');
|
| 206 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 207 |
+
}
|
| 208 |
+
/* greek-ext */
|
| 209 |
+
@font-face {
|
| 210 |
+
font-family: 'Source Sans Pro';
|
| 211 |
+
font-style: italic;
|
| 212 |
+
font-weight: 600;
|
| 213 |
+
font-display: swap;
|
| 214 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdg18S0xR41YDw.woff2) format('woff2');
|
| 215 |
+
unicode-range: U+1F00-1FFF;
|
| 216 |
+
}
|
| 217 |
+
/* greek */
|
| 218 |
+
@font-face {
|
| 219 |
+
font-family: 'Source Sans Pro';
|
| 220 |
+
font-style: italic;
|
| 221 |
+
font-weight: 600;
|
| 222 |
+
font-display: swap;
|
| 223 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdv18S0xR41YDw.woff2) format('woff2');
|
| 224 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 225 |
+
}
|
| 226 |
+
/* vietnamese */
|
| 227 |
+
@font-face {
|
| 228 |
+
font-family: 'Source Sans Pro';
|
| 229 |
+
font-style: italic;
|
| 230 |
+
font-weight: 600;
|
| 231 |
+
font-display: swap;
|
| 232 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdj18S0xR41YDw.woff2) format('woff2');
|
| 233 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 234 |
+
}
|
| 235 |
+
/* latin-ext */
|
| 236 |
+
@font-face {
|
| 237 |
+
font-family: 'Source Sans Pro';
|
| 238 |
+
font-style: italic;
|
| 239 |
+
font-weight: 600;
|
| 240 |
+
font-display: swap;
|
| 241 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCdi18S0xR41YDw.woff2) format('woff2');
|
| 242 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 243 |
+
}
|
| 244 |
+
/* latin */
|
| 245 |
+
@font-face {
|
| 246 |
+
font-family: 'Source Sans Pro';
|
| 247 |
+
font-style: italic;
|
| 248 |
+
font-weight: 600;
|
| 249 |
+
font-display: swap;
|
| 250 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCds18S0xR41.woff2) format('woff2');
|
| 251 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 252 |
+
}
|
| 253 |
+
/* cyrillic-ext */
|
| 254 |
+
@font-face {
|
| 255 |
+
font-family: 'Source Sans Pro';
|
| 256 |
+
font-style: italic;
|
| 257 |
+
font-weight: 700;
|
| 258 |
+
font-display: swap;
|
| 259 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdh18S0xR41YDw.woff2) format('woff2');
|
| 260 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 261 |
+
}
|
| 262 |
+
/* cyrillic */
|
| 263 |
+
@font-face {
|
| 264 |
+
font-family: 'Source Sans Pro';
|
| 265 |
+
font-style: italic;
|
| 266 |
+
font-weight: 700;
|
| 267 |
+
font-display: swap;
|
| 268 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdo18S0xR41YDw.woff2) format('woff2');
|
| 269 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 270 |
+
}
|
| 271 |
+
/* greek-ext */
|
| 272 |
+
@font-face {
|
| 273 |
+
font-family: 'Source Sans Pro';
|
| 274 |
+
font-style: italic;
|
| 275 |
+
font-weight: 700;
|
| 276 |
+
font-display: swap;
|
| 277 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdg18S0xR41YDw.woff2) format('woff2');
|
| 278 |
+
unicode-range: U+1F00-1FFF;
|
| 279 |
+
}
|
| 280 |
+
/* greek */
|
| 281 |
+
@font-face {
|
| 282 |
+
font-family: 'Source Sans Pro';
|
| 283 |
+
font-style: italic;
|
| 284 |
+
font-weight: 700;
|
| 285 |
+
font-display: swap;
|
| 286 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdv18S0xR41YDw.woff2) format('woff2');
|
| 287 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 288 |
+
}
|
| 289 |
+
/* vietnamese */
|
| 290 |
+
@font-face {
|
| 291 |
+
font-family: 'Source Sans Pro';
|
| 292 |
+
font-style: italic;
|
| 293 |
+
font-weight: 700;
|
| 294 |
+
font-display: swap;
|
| 295 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdj18S0xR41YDw.woff2) format('woff2');
|
| 296 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 297 |
+
}
|
| 298 |
+
/* latin-ext */
|
| 299 |
+
@font-face {
|
| 300 |
+
font-family: 'Source Sans Pro';
|
| 301 |
+
font-style: italic;
|
| 302 |
+
font-weight: 700;
|
| 303 |
+
font-display: swap;
|
| 304 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSdi18S0xR41YDw.woff2) format('woff2');
|
| 305 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 306 |
+
}
|
| 307 |
+
/* latin */
|
| 308 |
+
@font-face {
|
| 309 |
+
font-family: 'Source Sans Pro';
|
| 310 |
+
font-style: italic;
|
| 311 |
+
font-weight: 700;
|
| 312 |
+
font-display: swap;
|
| 313 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZclSds18S0xR41.woff2) format('woff2');
|
| 314 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 315 |
+
}
|
| 316 |
+
/* cyrillic-ext */
|
| 317 |
+
@font-face {
|
| 318 |
+
font-family: 'Source Sans Pro';
|
| 319 |
+
font-style: normal;
|
| 320 |
+
font-weight: 200;
|
| 321 |
+
font-display: swap;
|
| 322 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmhdu3cOWxy40.woff2) format('woff2');
|
| 323 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 324 |
+
}
|
| 325 |
+
/* cyrillic */
|
| 326 |
+
@font-face {
|
| 327 |
+
font-family: 'Source Sans Pro';
|
| 328 |
+
font-style: normal;
|
| 329 |
+
font-weight: 200;
|
| 330 |
+
font-display: swap;
|
| 331 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wkxdu3cOWxy40.woff2) format('woff2');
|
| 332 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 333 |
+
}
|
| 334 |
+
/* greek-ext */
|
| 335 |
+
@font-face {
|
| 336 |
+
font-family: 'Source Sans Pro';
|
| 337 |
+
font-style: normal;
|
| 338 |
+
font-weight: 200;
|
| 339 |
+
font-display: swap;
|
| 340 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmxdu3cOWxy40.woff2) format('woff2');
|
| 341 |
+
unicode-range: U+1F00-1FFF;
|
| 342 |
+
}
|
| 343 |
+
/* greek */
|
| 344 |
+
@font-face {
|
| 345 |
+
font-family: 'Source Sans Pro';
|
| 346 |
+
font-style: normal;
|
| 347 |
+
font-weight: 200;
|
| 348 |
+
font-display: swap;
|
| 349 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlBdu3cOWxy40.woff2) format('woff2');
|
| 350 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 351 |
+
}
|
| 352 |
+
/* vietnamese */
|
| 353 |
+
@font-face {
|
| 354 |
+
font-family: 'Source Sans Pro';
|
| 355 |
+
font-style: normal;
|
| 356 |
+
font-weight: 200;
|
| 357 |
+
font-display: swap;
|
| 358 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmBdu3cOWxy40.woff2) format('woff2');
|
| 359 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 360 |
+
}
|
| 361 |
+
/* latin-ext */
|
| 362 |
+
@font-face {
|
| 363 |
+
font-family: 'Source Sans Pro';
|
| 364 |
+
font-style: normal;
|
| 365 |
+
font-weight: 200;
|
| 366 |
+
font-display: swap;
|
| 367 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wmRdu3cOWxy40.woff2) format('woff2');
|
| 368 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 369 |
+
}
|
| 370 |
+
/* latin */
|
| 371 |
+
@font-face {
|
| 372 |
+
font-family: 'Source Sans Pro';
|
| 373 |
+
font-style: normal;
|
| 374 |
+
font-weight: 200;
|
| 375 |
+
font-display: swap;
|
| 376 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i94_wlxdu3cOWxw.woff2) format('woff2');
|
| 377 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 378 |
+
}
|
| 379 |
+
/* cyrillic-ext */
|
| 380 |
+
@font-face {
|
| 381 |
+
font-family: 'Source Sans Pro';
|
| 382 |
+
font-style: normal;
|
| 383 |
+
font-weight: 300;
|
| 384 |
+
font-display: swap;
|
| 385 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmhdu3cOWxy40.woff2) format('woff2');
|
| 386 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 387 |
+
}
|
| 388 |
+
/* cyrillic */
|
| 389 |
+
@font-face {
|
| 390 |
+
font-family: 'Source Sans Pro';
|
| 391 |
+
font-style: normal;
|
| 392 |
+
font-weight: 300;
|
| 393 |
+
font-display: swap;
|
| 394 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwkxdu3cOWxy40.woff2) format('woff2');
|
| 395 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 396 |
+
}
|
| 397 |
+
/* greek-ext */
|
| 398 |
+
@font-face {
|
| 399 |
+
font-family: 'Source Sans Pro';
|
| 400 |
+
font-style: normal;
|
| 401 |
+
font-weight: 300;
|
| 402 |
+
font-display: swap;
|
| 403 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmxdu3cOWxy40.woff2) format('woff2');
|
| 404 |
+
unicode-range: U+1F00-1FFF;
|
| 405 |
+
}
|
| 406 |
+
/* greek */
|
| 407 |
+
@font-face {
|
| 408 |
+
font-family: 'Source Sans Pro';
|
| 409 |
+
font-style: normal;
|
| 410 |
+
font-weight: 300;
|
| 411 |
+
font-display: swap;
|
| 412 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlBdu3cOWxy40.woff2) format('woff2');
|
| 413 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 414 |
+
}
|
| 415 |
+
/* vietnamese */
|
| 416 |
+
@font-face {
|
| 417 |
+
font-family: 'Source Sans Pro';
|
| 418 |
+
font-style: normal;
|
| 419 |
+
font-weight: 300;
|
| 420 |
+
font-display: swap;
|
| 421 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmBdu3cOWxy40.woff2) format('woff2');
|
| 422 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 423 |
+
}
|
| 424 |
+
/* latin-ext */
|
| 425 |
+
@font-face {
|
| 426 |
+
font-family: 'Source Sans Pro';
|
| 427 |
+
font-style: normal;
|
| 428 |
+
font-weight: 300;
|
| 429 |
+
font-display: swap;
|
| 430 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmRdu3cOWxy40.woff2) format('woff2');
|
| 431 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 432 |
+
}
|
| 433 |
+
/* latin */
|
| 434 |
+
@font-face {
|
| 435 |
+
font-family: 'Source Sans Pro';
|
| 436 |
+
font-style: normal;
|
| 437 |
+
font-weight: 300;
|
| 438 |
+
font-display: swap;
|
| 439 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu3cOWxw.woff2) format('woff2');
|
| 440 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 441 |
+
}
|
| 442 |
+
/* cyrillic-ext */
|
| 443 |
+
@font-face {
|
| 444 |
+
font-family: 'Source Sans Pro';
|
| 445 |
+
font-style: normal;
|
| 446 |
+
font-weight: 400;
|
| 447 |
+
font-display: swap;
|
| 448 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lujVj9_mf.woff2) format('woff2');
|
| 449 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 450 |
+
}
|
| 451 |
+
/* cyrillic */
|
| 452 |
+
@font-face {
|
| 453 |
+
font-family: 'Source Sans Pro';
|
| 454 |
+
font-style: normal;
|
| 455 |
+
font-weight: 400;
|
| 456 |
+
font-display: swap;
|
| 457 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK3dSBYKcSV-LCoeQqfX1RYOo3qPK7lujVj9_mf.woff2) format('woff2');
|
| 458 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 459 |
+
}
|
| 460 |
+
/* greek-ext */
|
| 461 |
+
@font-face {
|
| 462 |
+
font-family: 'Source Sans Pro';
|
| 463 |
+
font-style: normal;
|
| 464 |
+
font-weight: 400;
|
| 465 |
+
font-display: swap;
|
| 466 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNK7lujVj9_mf.woff2) format('woff2');
|
| 467 |
+
unicode-range: U+1F00-1FFF;
|
| 468 |
+
}
|
| 469 |
+
/* greek */
|
| 470 |
+
@font-face {
|
| 471 |
+
font-family: 'Source Sans Pro';
|
| 472 |
+
font-style: normal;
|
| 473 |
+
font-weight: 400;
|
| 474 |
+
font-display: swap;
|
| 475 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK3dSBYKcSV-LCoeQqfX1RYOo3qO67lujVj9_mf.woff2) format('woff2');
|
| 476 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 477 |
+
}
|
| 478 |
+
/* vietnamese */
|
| 479 |
+
@font-face {
|
| 480 |
+
font-family: 'Source Sans Pro';
|
| 481 |
+
font-style: normal;
|
| 482 |
+
font-weight: 400;
|
| 483 |
+
font-display: swap;
|
| 484 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK3dSBYKcSV-LCoeQqfX1RYOo3qN67lujVj9_mf.woff2) format('woff2');
|
| 485 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 486 |
+
}
|
| 487 |
+
/* latin-ext */
|
| 488 |
+
@font-face {
|
| 489 |
+
font-family: 'Source Sans Pro';
|
| 490 |
+
font-style: normal;
|
| 491 |
+
font-weight: 400;
|
| 492 |
+
font-display: swap;
|
| 493 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lujVj9_mf.woff2) format('woff2');
|
| 494 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 495 |
+
}
|
| 496 |
+
/* latin */
|
| 497 |
+
@font-face {
|
| 498 |
+
font-family: 'Source Sans Pro';
|
| 499 |
+
font-style: normal;
|
| 500 |
+
font-weight: 400;
|
| 501 |
+
font-display: swap;
|
| 502 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7lujVj9w.woff2) format('woff2');
|
| 503 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 504 |
+
}
|
| 505 |
+
/* cyrillic-ext */
|
| 506 |
+
@font-face {
|
| 507 |
+
font-family: 'Source Sans Pro';
|
| 508 |
+
font-style: normal;
|
| 509 |
+
font-weight: 600;
|
| 510 |
+
font-display: swap;
|
| 511 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmhdu3cOWxy40.woff2) format('woff2');
|
| 512 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 513 |
+
}
|
| 514 |
+
/* cyrillic */
|
| 515 |
+
@font-face {
|
| 516 |
+
font-family: 'Source Sans Pro';
|
| 517 |
+
font-style: normal;
|
| 518 |
+
font-weight: 600;
|
| 519 |
+
font-display: swap;
|
| 520 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwkxdu3cOWxy40.woff2) format('woff2');
|
| 521 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 522 |
+
}
|
| 523 |
+
/* greek-ext */
|
| 524 |
+
@font-face {
|
| 525 |
+
font-family: 'Source Sans Pro';
|
| 526 |
+
font-style: normal;
|
| 527 |
+
font-weight: 600;
|
| 528 |
+
font-display: swap;
|
| 529 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmxdu3cOWxy40.woff2) format('woff2');
|
| 530 |
+
unicode-range: U+1F00-1FFF;
|
| 531 |
+
}
|
| 532 |
+
/* greek */
|
| 533 |
+
@font-face {
|
| 534 |
+
font-family: 'Source Sans Pro';
|
| 535 |
+
font-style: normal;
|
| 536 |
+
font-weight: 600;
|
| 537 |
+
font-display: swap;
|
| 538 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlBdu3cOWxy40.woff2) format('woff2');
|
| 539 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 540 |
+
}
|
| 541 |
+
/* vietnamese */
|
| 542 |
+
@font-face {
|
| 543 |
+
font-family: 'Source Sans Pro';
|
| 544 |
+
font-style: normal;
|
| 545 |
+
font-weight: 600;
|
| 546 |
+
font-display: swap;
|
| 547 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmBdu3cOWxy40.woff2) format('woff2');
|
| 548 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 549 |
+
}
|
| 550 |
+
/* latin-ext */
|
| 551 |
+
@font-face {
|
| 552 |
+
font-family: 'Source Sans Pro';
|
| 553 |
+
font-style: normal;
|
| 554 |
+
font-weight: 600;
|
| 555 |
+
font-display: swap;
|
| 556 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmRdu3cOWxy40.woff2) format('woff2');
|
| 557 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 558 |
+
}
|
| 559 |
+
/* latin */
|
| 560 |
+
@font-face {
|
| 561 |
+
font-family: 'Source Sans Pro';
|
| 562 |
+
font-style: normal;
|
| 563 |
+
font-weight: 600;
|
| 564 |
+
font-display: swap;
|
| 565 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu3cOWxw.woff2) format('woff2');
|
| 566 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 567 |
+
}
|
| 568 |
+
/* cyrillic-ext */
|
| 569 |
+
@font-face {
|
| 570 |
+
font-family: 'Source Sans Pro';
|
| 571 |
+
font-style: normal;
|
| 572 |
+
font-weight: 700;
|
| 573 |
+
font-display: swap;
|
| 574 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmhdu3cOWxy40.woff2) format('woff2');
|
| 575 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 576 |
+
}
|
| 577 |
+
/* cyrillic */
|
| 578 |
+
@font-face {
|
| 579 |
+
font-family: 'Source Sans Pro';
|
| 580 |
+
font-style: normal;
|
| 581 |
+
font-weight: 700;
|
| 582 |
+
font-display: swap;
|
| 583 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwkxdu3cOWxy40.woff2) format('woff2');
|
| 584 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 585 |
+
}
|
| 586 |
+
/* greek-ext */
|
| 587 |
+
@font-face {
|
| 588 |
+
font-family: 'Source Sans Pro';
|
| 589 |
+
font-style: normal;
|
| 590 |
+
font-weight: 700;
|
| 591 |
+
font-display: swap;
|
| 592 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmxdu3cOWxy40.woff2) format('woff2');
|
| 593 |
+
unicode-range: U+1F00-1FFF;
|
| 594 |
+
}
|
| 595 |
+
/* greek */
|
| 596 |
+
@font-face {
|
| 597 |
+
font-family: 'Source Sans Pro';
|
| 598 |
+
font-style: normal;
|
| 599 |
+
font-weight: 700;
|
| 600 |
+
font-display: swap;
|
| 601 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlBdu3cOWxy40.woff2) format('woff2');
|
| 602 |
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
| 603 |
+
}
|
| 604 |
+
/* vietnamese */
|
| 605 |
+
@font-face {
|
| 606 |
+
font-family: 'Source Sans Pro';
|
| 607 |
+
font-style: normal;
|
| 608 |
+
font-weight: 700;
|
| 609 |
+
font-display: swap;
|
| 610 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmBdu3cOWxy40.woff2) format('woff2');
|
| 611 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 612 |
+
}
|
| 613 |
+
/* latin-ext */
|
| 614 |
+
@font-face {
|
| 615 |
+
font-family: 'Source Sans Pro';
|
| 616 |
+
font-style: normal;
|
| 617 |
+
font-weight: 700;
|
| 618 |
+
font-display: swap;
|
| 619 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwmRdu3cOWxy40.woff2) format('woff2');
|
| 620 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 621 |
+
}
|
| 622 |
+
/* latin */
|
| 623 |
+
@font-face {
|
| 624 |
+
font-family: 'Source Sans Pro';
|
| 625 |
+
font-style: normal;
|
| 626 |
+
font-weight: 700;
|
| 627 |
+
font-display: swap;
|
| 628 |
+
src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu3cOWxw.woff2) format('woff2');
|
| 629 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 630 |
+
}
|
portal/portal-assets/css2(1)
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* cyrillic-ext */
|
| 2 |
+
@font-face {
|
| 3 |
+
font-family: 'IBM Plex Mono';
|
| 4 |
+
font-style: normal;
|
| 5 |
+
font-weight: 400;
|
| 6 |
+
font-display: swap;
|
| 7 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F63fjptAgt5VM-kVkqdyU8n1iIq131nj-otFQ.woff2) format('woff2');
|
| 8 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 9 |
+
}
|
| 10 |
+
/* cyrillic */
|
| 11 |
+
@font-face {
|
| 12 |
+
font-family: 'IBM Plex Mono';
|
| 13 |
+
font-style: normal;
|
| 14 |
+
font-weight: 400;
|
| 15 |
+
font-display: swap;
|
| 16 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F63fjptAgt5VM-kVkqdyU8n1isq131nj-otFQ.woff2) format('woff2');
|
| 17 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 18 |
+
}
|
| 19 |
+
/* vietnamese */
|
| 20 |
+
@font-face {
|
| 21 |
+
font-family: 'IBM Plex Mono';
|
| 22 |
+
font-style: normal;
|
| 23 |
+
font-weight: 400;
|
| 24 |
+
font-display: swap;
|
| 25 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F63fjptAgt5VM-kVkqdyU8n1iAq131nj-otFQ.woff2) format('woff2');
|
| 26 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 27 |
+
}
|
| 28 |
+
/* latin-ext */
|
| 29 |
+
@font-face {
|
| 30 |
+
font-family: 'IBM Plex Mono';
|
| 31 |
+
font-style: normal;
|
| 32 |
+
font-weight: 400;
|
| 33 |
+
font-display: swap;
|
| 34 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F63fjptAgt5VM-kVkqdyU8n1iEq131nj-otFQ.woff2) format('woff2');
|
| 35 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 36 |
+
}
|
| 37 |
+
/* latin */
|
| 38 |
+
@font-face {
|
| 39 |
+
font-family: 'IBM Plex Mono';
|
| 40 |
+
font-style: normal;
|
| 41 |
+
font-weight: 400;
|
| 42 |
+
font-display: swap;
|
| 43 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F63fjptAgt5VM-kVkqdyU8n1i8q131nj-o.woff2) format('woff2');
|
| 44 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 45 |
+
}
|
| 46 |
+
/* cyrillic-ext */
|
| 47 |
+
@font-face {
|
| 48 |
+
font-family: 'IBM Plex Mono';
|
| 49 |
+
font-style: normal;
|
| 50 |
+
font-weight: 600;
|
| 51 |
+
font-display: swap;
|
| 52 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3vAOwl1FgsAXHNlYzg.woff2) format('woff2');
|
| 53 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 54 |
+
}
|
| 55 |
+
/* cyrillic */
|
| 56 |
+
@font-face {
|
| 57 |
+
font-family: 'IBM Plex Mono';
|
| 58 |
+
font-style: normal;
|
| 59 |
+
font-weight: 600;
|
| 60 |
+
font-display: swap;
|
| 61 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3vAOwlRFgsAXHNlYzg.woff2) format('woff2');
|
| 62 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 63 |
+
}
|
| 64 |
+
/* vietnamese */
|
| 65 |
+
@font-face {
|
| 66 |
+
font-family: 'IBM Plex Mono';
|
| 67 |
+
font-style: normal;
|
| 68 |
+
font-weight: 600;
|
| 69 |
+
font-display: swap;
|
| 70 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3vAOwl9FgsAXHNlYzg.woff2) format('woff2');
|
| 71 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 72 |
+
}
|
| 73 |
+
/* latin-ext */
|
| 74 |
+
@font-face {
|
| 75 |
+
font-family: 'IBM Plex Mono';
|
| 76 |
+
font-style: normal;
|
| 77 |
+
font-weight: 600;
|
| 78 |
+
font-display: swap;
|
| 79 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3vAOwl5FgsAXHNlYzg.woff2) format('woff2');
|
| 80 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 81 |
+
}
|
| 82 |
+
/* latin */
|
| 83 |
+
@font-face {
|
| 84 |
+
font-family: 'IBM Plex Mono';
|
| 85 |
+
font-style: normal;
|
| 86 |
+
font-weight: 600;
|
| 87 |
+
font-display: swap;
|
| 88 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3vAOwlBFgsAXHNk.woff2) format('woff2');
|
| 89 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 90 |
+
}
|
| 91 |
+
/* cyrillic-ext */
|
| 92 |
+
@font-face {
|
| 93 |
+
font-family: 'IBM Plex Mono';
|
| 94 |
+
font-style: normal;
|
| 95 |
+
font-weight: 700;
|
| 96 |
+
font-display: swap;
|
| 97 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3pQPwl1FgsAXHNlYzg.woff2) format('woff2');
|
| 98 |
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
| 99 |
+
}
|
| 100 |
+
/* cyrillic */
|
| 101 |
+
@font-face {
|
| 102 |
+
font-family: 'IBM Plex Mono';
|
| 103 |
+
font-style: normal;
|
| 104 |
+
font-weight: 700;
|
| 105 |
+
font-display: swap;
|
| 106 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3pQPwlRFgsAXHNlYzg.woff2) format('woff2');
|
| 107 |
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
| 108 |
+
}
|
| 109 |
+
/* vietnamese */
|
| 110 |
+
@font-face {
|
| 111 |
+
font-family: 'IBM Plex Mono';
|
| 112 |
+
font-style: normal;
|
| 113 |
+
font-weight: 700;
|
| 114 |
+
font-display: swap;
|
| 115 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3pQPwl9FgsAXHNlYzg.woff2) format('woff2');
|
| 116 |
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
| 117 |
+
}
|
| 118 |
+
/* latin-ext */
|
| 119 |
+
@font-face {
|
| 120 |
+
font-family: 'IBM Plex Mono';
|
| 121 |
+
font-style: normal;
|
| 122 |
+
font-weight: 700;
|
| 123 |
+
font-display: swap;
|
| 124 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3pQPwl5FgsAXHNlYzg.woff2) format('woff2');
|
| 125 |
+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
| 126 |
+
}
|
| 127 |
+
/* latin */
|
| 128 |
+
@font-face {
|
| 129 |
+
font-family: 'IBM Plex Mono';
|
| 130 |
+
font-style: normal;
|
| 131 |
+
font-weight: 700;
|
| 132 |
+
font-display: swap;
|
| 133 |
+
src: url(https://fonts.gstatic.com/s/ibmplexmono/v19/-F6qfjptAgt5VM-kVkqdyU8n3pQPwlBFgsAXHNk.woff2) format('woff2');
|
| 134 |
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
| 135 |
+
}
|
portal/portal-assets/katex.min.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
@font-face{font-family:KaTeX_AMS;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"KaTeX_SansSerif";src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto;border-color:currentColor}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.12.0"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{-ms-flex-direction:column;flex-direction:column;align-items:baseline}.katex .hbox,.katex .vbox{display:-ms-inline-flexbox;display:inline-flex}.katex .hbox{-ms-flex-direction:row;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:0 solid;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}
|
portal/portal-assets/more-style.css
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.dark\:bg-blue-950:is(.dark *) {
|
| 2 |
+
background-color: #232634;
|
| 3 |
+
}
|
| 4 |
+
|
| 5 |
+
.text-mantle {
|
| 6 |
+
color: #292c3c;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
.text-peach {
|
| 10 |
+
color: #ef9f76;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
.bg-peach {
|
| 14 |
+
background-color: #ef9f76;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.hover\:bg-peach-0:hover {
|
| 18 |
+
background-color: color-mix(in srgb, #ef9f76, #000 10%);
|
| 19 |
+
}
|
portal/portal-assets/script.pageview-props.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
!function(){var t,e,i,n,a,o,r=window.location,l=window.document,t=l.currentScript;function s(s,b){var E,L="pageview"===s;if(L&&d&&(h(),a=m(),o=y()),/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(r.hostname)||"file:"===r.protocol)return S(s,b,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return S(s,b);try{if("true"===window.localStorage.plausible_ignore)return S(s,b,"localStorage flag")}catch(t){}var H={};H.n=s,H.v=11,H.u=r.href,H.d=i,H.r=l.referrer||null,b&&b.meta&&(H.m=JSON.stringify(b.meta)),b&&b.props&&(H.p=b.props),b&&!1===b.interactive&&(H.i=!1);var _=t.getAttributeNames().filter(function(t){return"event-"===t.substring(0,6)}),E=H.p||{};_.forEach(function(e){var i=e.replace("event-",""),n=t.getAttribute(e);E[i]=E[i]||n}),H.p=E,L&&(n=!1,u=H.u,w=H.p,v=-1,f=0,p=Date.now(),d||(l.addEventListener("visibilitychange",g),window.addEventListener("blur",g),window.addEventListener("focus",g),d=!0)),c(e,H,b)}function c(t,e,i){window.fetch&&fetch(t,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(e)}).then(function(t){i&&i.callback&&i.callback({status:t.status})}).catch(function(){})}var d=!1,u=r.href,w={},v=-1,p=0,f=0;function h(){var t=b();!n&&(v<o||t>=3e3)&&(v=o,p=0,f=0,c(e,{n:"engagement",sd:Math.round(o/a*100),d:i,u:u,p:w,e:t,v:11}))}function g(){"visible"===l.visibilityState&&l.hasFocus()&&0===p?p=Date.now():"hidden"!==l.visibilityState&&l.hasFocus()||(f=b(),p=0,h())}function b(){return p?f+(Date.now()-p):f}function m(){var t=l.body||{},e=l.documentElement||{};return Math.max(t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0,e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0)}function y(){var t=l.body||{},e=l.documentElement||{},i=window.innerHeight||e.clientHeight||0,n=window.scrollY||e.scrollTop||t.scrollTop||0;return a<=i?a:n+i}function S(t,e,i){i&&console.warn("Ignoring Event: "+i),e&&e.callback&&e.callback(),"pageview"===t&&(n=!0)}!function n(c){function d(t){t&&u===r.pathname||(u=r.pathname,s("pageview"))}i=t.getAttribute("data-domain"),e=t.getAttribute("data-api")||new URL(t.src).origin+"/api/event",a=m(),o=y(),window.addEventListener("load",function(){a=m();var t=0,e=setInterval(function(){a=m(),15==++t&&clearInterval(e)},200)}),l.addEventListener("scroll",function(){a=m();var t=y();t>o&&(o=t)});var u,w=function(){d(!0)},v=window.history;if(v.pushState){var p=v.pushState;v.pushState=function(){p.apply(this,arguments),w()},window.addEventListener("popstate",w)}"hidden"===l.visibilityState||"prerender"===l.visibilityState?l.addEventListener("visibilitychange",function(){u||"visible"!==l.visibilityState||d()}):d(),window.addEventListener("pageshow",function(t){t.persisted&&d()});for(var f=window.plausible&&window.plausible.q||[],h=0;h<f.length;h++)s.apply(this,f[h]);window.plausible=s,window.plausible.init=n,window.plausible.l=!0}()}();
|
portal/portal-assets/style.css
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
requirements.txt
CHANGED
|
@@ -1,8 +1,2 @@
|
|
| 1 |
-
jupyterlab==3.6.1
|
| 2 |
-
jupyter-server==2.3.0
|
| 3 |
-
tornado==6.2
|
| 4 |
-
ipywidgets
|
| 5 |
-
huggingface_hub
|
| 6 |
-
pyarrow
|
| 7 |
pyspark[sql,pandas_on_spark]
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
pyspark[sql,pandas_on_spark]
|
| 2 |
+
pyspark_huggingface
|
start_server.sh
CHANGED
|
@@ -1,23 +1,27 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
-
echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
|
| 5 |
|
| 6 |
-
NOTEBOOK_DIR="/data"
|
| 7 |
-
cp -n data
|
| 8 |
-
|
| 9 |
-
DEFAULT_URL="/lab/tree/spark.ipynb"
|
| 10 |
|
| 11 |
-
jupyter-lab \
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
+
if [[ "$SPACE_AUTHOR_NAME" == "Dataset-Tools" || "$SHOW_PORTAL" == "1" ]]
|
| 3 |
+
then
|
| 4 |
+
python -m http.server -d portal 7860
|
| 5 |
+
else
|
| 6 |
+
JUPYTER_TOKEN="${JUPYTER_TOKEN:=}"
|
| 7 |
|
| 8 |
+
echo "Starting Jupyter Lab with token '$JUPYTER_TOKEN'"
|
| 9 |
|
| 10 |
+
NOTEBOOK_DIR="/data"
|
| 11 |
+
cp -n data/*.ipynb $NOTEBOOK_DIR/
|
| 12 |
+
DEFAULT_URL="/lab/tree/spark.ipynb"
|
|
|
|
| 13 |
|
| 14 |
+
jupyter-lab \
|
| 15 |
+
--ip 0.0.0.0 \
|
| 16 |
+
--port 7860 \
|
| 17 |
+
--no-browser \
|
| 18 |
+
--allow-root \
|
| 19 |
+
--ServerApp.token="$JUPYTER_TOKEN" \
|
| 20 |
+
--ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
|
| 21 |
+
--ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
|
| 22 |
+
--ServerApp.disable_check_xsrf=True \
|
| 23 |
+
--LabApp.news_url=None \
|
| 24 |
+
--LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate" \
|
| 25 |
+
--LabApp.default_url=$DEFAULT_URL \
|
| 26 |
+
--notebook-dir=$NOTEBOOK_DIR
|
| 27 |
+
fi
|