diff --git a/.env.example b/.env.example new file mode 100644 index 00000000..77a28f24 --- /dev/null +++ b/.env.example @@ -0,0 +1,6 @@ +DBPASS=rittenhop +EMAIL=example@rittenhop.org +TZ=America/New_York +SITE=rittenhop.org +PORT=2368 + diff --git a/.gitignore b/.gitignore index bd3aa398..4fa85087 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ .env -./db +db/ content/logs/ config.*.json diff --git a/config.development.json.example b/config.development.json.example new file mode 100644 index 00000000..8462233d --- /dev/null +++ b/config.development.json.example @@ -0,0 +1,31 @@ +{ + "url": "http://localhost:2368", + "server": { + "port": 2368, + "host": "::" + }, + "mail": { + "transport": "SMTP", + "options": { + "service": "Mailgun", + "host": "smtp.mailgun.org", + "port": 587, + "secure": false, + "auth": { + "user": "", + "pass": "" + } + } + }, + "logging": { + "transports": [ + "file", + "stdout" + ] + }, + "process": "systemd", + "paths": { + "contentPath": "/var/lib/ghost/content" + } + } + \ No newline at end of file diff --git a/config.production.json.example b/config.production.json.example new file mode 100644 index 00000000..8b1d4a3c --- /dev/null +++ b/config.production.json.example @@ -0,0 +1,30 @@ +{ + "url": "http://localhost:2368", + "server": { + "port": 2368, + "host": "::" + }, + "mail": { + "transport": "SMTP", + "options": { + "service": "Mailgun", + "host": "smtp.mailgun.org", + "port": 587, + "secure": false, + "auth": { + "user": "", + "pass": "" + } + } + }, + "logging": { + "transports": [ + "file", + "stdout" + ] + }, + "process": "systemd", + "paths": { + "contentPath": "/var/lib/ghost/content" + } +} diff --git a/content/images/2024/08/2024-04-14_171724820.jpg b/content/images/2024/08/2024-04-14_171724820.jpg new file mode 100644 index 00000000..bb914d5f Binary files /dev/null and b/content/images/2024/08/2024-04-14_171724820.jpg differ diff --git a/content/images/2024/08/2024-04-14_171724820_o.jpg b/content/images/2024/08/2024-04-14_171724820_o.jpg new file mode 100644 index 00000000..5f49666d Binary files /dev/null and b/content/images/2024/08/2024-04-14_171724820_o.jpg differ diff --git a/content/images/2024/08/20240212_192013-1.jpg b/content/images/2024/08/20240212_192013-1.jpg new file mode 100644 index 00000000..394bd291 Binary files /dev/null and b/content/images/2024/08/20240212_192013-1.jpg differ diff --git a/content/images/2024/08/20240212_192013-1_o.jpg b/content/images/2024/08/20240212_192013-1_o.jpg new file mode 100644 index 00000000..68a5cd6f Binary files /dev/null and b/content/images/2024/08/20240212_192013-1_o.jpg differ diff --git a/content/images/2024/08/20240212_192013.jpg b/content/images/2024/08/20240212_192013.jpg new file mode 100644 index 00000000..061c3e53 Binary files /dev/null and b/content/images/2024/08/20240212_192013.jpg differ diff --git a/content/images/2024/08/20240212_192013_o.jpg b/content/images/2024/08/20240212_192013_o.jpg new file mode 100644 index 00000000..be1ab1ab Binary files /dev/null and b/content/images/2024/08/20240212_192013_o.jpg differ diff --git a/content/images/2024/08/2320-3088-max.jpg b/content/images/2024/08/2320-3088-max.jpg new file mode 100644 index 00000000..05e998f4 Binary files /dev/null and b/content/images/2024/08/2320-3088-max.jpg differ diff --git a/content/images/2024/08/2320-3088-max_o.jpg b/content/images/2024/08/2320-3088-max_o.jpg new file mode 100644 index 00000000..f87ec28c Binary files /dev/null and b/content/images/2024/08/2320-3088-max_o.jpg differ diff --git a/content/images/2024/08/Charli-XCX-Brat-1.png b/content/images/2024/08/Charli-XCX-Brat-1.png new file mode 100644 index 00000000..d52e8942 Binary files /dev/null and b/content/images/2024/08/Charli-XCX-Brat-1.png differ diff --git a/content/images/2024/08/Charli-XCX-Brat-1_o.png b/content/images/2024/08/Charli-XCX-Brat-1_o.png new file mode 100644 index 00000000..d52e8942 Binary files /dev/null and b/content/images/2024/08/Charli-XCX-Brat-1_o.png differ diff --git a/content/images/2024/08/Charli-XCX-Brat.png b/content/images/2024/08/Charli-XCX-Brat.png new file mode 100644 index 00000000..d52e8942 Binary files /dev/null and b/content/images/2024/08/Charli-XCX-Brat.png differ diff --git a/content/images/2024/08/Charli-XCX-Brat_o.png b/content/images/2024/08/Charli-XCX-Brat_o.png new file mode 100644 index 00000000..d52e8942 Binary files /dev/null and b/content/images/2024/08/Charli-XCX-Brat_o.png differ diff --git a/content/images/2024/08/DSC_0386--2024-04-08T15_43_22.981-.JPG b/content/images/2024/08/DSC_0386--2024-04-08T15_43_22.981-.JPG new file mode 100644 index 00000000..a97e6848 Binary files /dev/null and b/content/images/2024/08/DSC_0386--2024-04-08T15_43_22.981-.JPG differ diff --git a/content/images/2024/08/DSC_0386--2024-04-08T15_43_22.981-_o.JPG b/content/images/2024/08/DSC_0386--2024-04-08T15_43_22.981-_o.JPG new file mode 100644 index 00000000..f8605d9d Binary files /dev/null and b/content/images/2024/08/DSC_0386--2024-04-08T15_43_22.981-_o.JPG differ diff --git a/content/images/2024/08/Glory-Beer-Bar---Kitchen.jpg b/content/images/2024/08/Glory-Beer-Bar---Kitchen.jpg new file mode 100644 index 00000000..b6b5896e Binary files /dev/null and b/content/images/2024/08/Glory-Beer-Bar---Kitchen.jpg differ diff --git a/content/images/2024/08/Glory-Beer-Bar---Kitchen_o.jpg b/content/images/2024/08/Glory-Beer-Bar---Kitchen_o.jpg new file mode 100644 index 00000000..ce551724 Binary files /dev/null and b/content/images/2024/08/Glory-Beer-Bar---Kitchen_o.jpg differ diff --git a/content/images/2024/08/IMG_7713-Enhanced-NR.jpg b/content/images/2024/08/IMG_7713-Enhanced-NR.jpg new file mode 100644 index 00000000..05b4d346 Binary files /dev/null and b/content/images/2024/08/IMG_7713-Enhanced-NR.jpg differ diff --git a/content/images/2024/08/IMG_7713-Enhanced-NR_o.jpg b/content/images/2024/08/IMG_7713-Enhanced-NR_o.jpg new file mode 100644 index 00000000..2e6b82dd Binary files /dev/null and b/content/images/2024/08/IMG_7713-Enhanced-NR_o.jpg differ diff --git a/content/images/2024/08/IMG_8660.jpg b/content/images/2024/08/IMG_8660.jpg new file mode 100644 index 00000000..927e5d7f Binary files /dev/null and b/content/images/2024/08/IMG_8660.jpg differ diff --git a/content/images/2024/08/IMG_8660_o.jpg b/content/images/2024/08/IMG_8660_o.jpg new file mode 100644 index 00000000..4d2093fa Binary files /dev/null and b/content/images/2024/08/IMG_8660_o.jpg differ diff --git a/content/images/2024/08/IMG_9912-1.jpg b/content/images/2024/08/IMG_9912-1.jpg new file mode 100644 index 00000000..9d2f3cd4 Binary files /dev/null and b/content/images/2024/08/IMG_9912-1.jpg differ diff --git a/content/images/2024/08/IMG_9912-1_o.jpg b/content/images/2024/08/IMG_9912-1_o.jpg new file mode 100644 index 00000000..468431b1 Binary files /dev/null and b/content/images/2024/08/IMG_9912-1_o.jpg differ diff --git a/content/images/2024/08/IMG_9912.jpg b/content/images/2024/08/IMG_9912.jpg new file mode 100644 index 00000000..6c1444cf Binary files /dev/null and b/content/images/2024/08/IMG_9912.jpg differ diff --git a/content/images/2024/08/IMG_9912_o.jpg b/content/images/2024/08/IMG_9912_o.jpg new file mode 100644 index 00000000..00803e7f Binary files /dev/null and b/content/images/2024/08/IMG_9912_o.jpg differ diff --git a/content/images/2024/08/PGC-Large-1.png b/content/images/2024/08/PGC-Large-1.png new file mode 100644 index 00000000..addebdd2 Binary files /dev/null and b/content/images/2024/08/PGC-Large-1.png differ diff --git a/content/images/2024/08/PGC-Large-1_o.png b/content/images/2024/08/PGC-Large-1_o.png new file mode 100644 index 00000000..6e93a856 Binary files /dev/null and b/content/images/2024/08/PGC-Large-1_o.png differ diff --git a/content/images/2024/08/PGC-Large-2.png b/content/images/2024/08/PGC-Large-2.png new file mode 100644 index 00000000..addebdd2 Binary files /dev/null and b/content/images/2024/08/PGC-Large-2.png differ diff --git a/content/images/2024/08/PGC-Large-2_o.png b/content/images/2024/08/PGC-Large-2_o.png new file mode 100644 index 00000000..6e93a856 Binary files /dev/null and b/content/images/2024/08/PGC-Large-2_o.png differ diff --git a/content/images/2024/08/PGC-Large-3.png b/content/images/2024/08/PGC-Large-3.png new file mode 100644 index 00000000..addebdd2 Binary files /dev/null and b/content/images/2024/08/PGC-Large-3.png differ diff --git a/content/images/2024/08/PGC-Large-3_o.png b/content/images/2024/08/PGC-Large-3_o.png new file mode 100644 index 00000000..6e93a856 Binary files /dev/null and b/content/images/2024/08/PGC-Large-3_o.png differ diff --git a/content/images/2024/08/PGC-Large-4.png b/content/images/2024/08/PGC-Large-4.png new file mode 100644 index 00000000..addebdd2 Binary files /dev/null and b/content/images/2024/08/PGC-Large-4.png differ diff --git a/content/images/2024/08/PGC-Large-4_o.png b/content/images/2024/08/PGC-Large-4_o.png new file mode 100644 index 00000000..6e93a856 Binary files /dev/null and b/content/images/2024/08/PGC-Large-4_o.png differ diff --git a/content/images/2024/08/PGC-Large-5.png b/content/images/2024/08/PGC-Large-5.png new file mode 100644 index 00000000..addebdd2 Binary files /dev/null and b/content/images/2024/08/PGC-Large-5.png differ diff --git a/content/images/2024/08/PGC-Large-5_o.png b/content/images/2024/08/PGC-Large-5_o.png new file mode 100644 index 00000000..6e93a856 Binary files /dev/null and b/content/images/2024/08/PGC-Large-5_o.png differ diff --git a/content/images/2024/08/PGC-Large.png b/content/images/2024/08/PGC-Large.png new file mode 100644 index 00000000..addebdd2 Binary files /dev/null and b/content/images/2024/08/PGC-Large.png differ diff --git a/content/images/2024/08/PGC-Large_o.png b/content/images/2024/08/PGC-Large_o.png new file mode 100644 index 00000000..6e93a856 Binary files /dev/null and b/content/images/2024/08/PGC-Large_o.png differ diff --git a/content/images/2024/08/PGC-Mid-1.png b/content/images/2024/08/PGC-Mid-1.png new file mode 100644 index 00000000..bc157229 Binary files /dev/null and b/content/images/2024/08/PGC-Mid-1.png differ diff --git a/content/images/2024/08/PGC-Mid-1_o.png b/content/images/2024/08/PGC-Mid-1_o.png new file mode 100644 index 00000000..024d15dd Binary files /dev/null and b/content/images/2024/08/PGC-Mid-1_o.png differ diff --git a/content/images/2024/08/PGC-Mid.png b/content/images/2024/08/PGC-Mid.png new file mode 100644 index 00000000..bc157229 Binary files /dev/null and b/content/images/2024/08/PGC-Mid.png differ diff --git a/content/images/2024/08/PGC-Mid_o.png b/content/images/2024/08/PGC-Mid_o.png new file mode 100644 index 00000000..024d15dd Binary files /dev/null and b/content/images/2024/08/PGC-Mid_o.png differ diff --git a/content/images/2024/08/Pax-Unplugged-2021-Featured-Rev.jpg b/content/images/2024/08/Pax-Unplugged-2021-Featured-Rev.jpg new file mode 100644 index 00000000..2d087335 Binary files /dev/null and b/content/images/2024/08/Pax-Unplugged-2021-Featured-Rev.jpg differ diff --git a/content/images/2024/08/Pax-Unplugged-2021-Featured-Rev_o.jpg b/content/images/2024/08/Pax-Unplugged-2021-Featured-Rev_o.jpg new file mode 100644 index 00000000..970baaaa Binary files /dev/null and b/content/images/2024/08/Pax-Unplugged-2021-Featured-Rev_o.jpg differ diff --git a/content/images/2024/08/Philly-local-1.png b/content/images/2024/08/Philly-local-1.png new file mode 100644 index 00000000..ac9c2f03 Binary files /dev/null and b/content/images/2024/08/Philly-local-1.png differ diff --git a/content/images/2024/08/Philly-local-1_o.png b/content/images/2024/08/Philly-local-1_o.png new file mode 100644 index 00000000..e5960e87 Binary files /dev/null and b/content/images/2024/08/Philly-local-1_o.png differ diff --git a/content/images/2024/08/Philly-local-2.png b/content/images/2024/08/Philly-local-2.png new file mode 100644 index 00000000..ac9c2f03 Binary files /dev/null and b/content/images/2024/08/Philly-local-2.png differ diff --git a/content/images/2024/08/Philly-local-2_o.png b/content/images/2024/08/Philly-local-2_o.png new file mode 100644 index 00000000..e5960e87 Binary files /dev/null and b/content/images/2024/08/Philly-local-2_o.png differ diff --git a/content/images/2024/08/Philly-local-3.png b/content/images/2024/08/Philly-local-3.png new file mode 100644 index 00000000..2d0f66a6 Binary files /dev/null and b/content/images/2024/08/Philly-local-3.png differ diff --git a/content/images/2024/08/Philly-local-3_o.png b/content/images/2024/08/Philly-local-3_o.png new file mode 100644 index 00000000..67556a82 Binary files /dev/null and b/content/images/2024/08/Philly-local-3_o.png differ diff --git a/content/images/2024/08/Philly-local-4.png b/content/images/2024/08/Philly-local-4.png new file mode 100644 index 00000000..2d0f66a6 Binary files /dev/null and b/content/images/2024/08/Philly-local-4.png differ diff --git a/content/images/2024/08/Philly-local-4_o.png b/content/images/2024/08/Philly-local-4_o.png new file mode 100644 index 00000000..67556a82 Binary files /dev/null and b/content/images/2024/08/Philly-local-4_o.png differ diff --git a/content/images/2024/08/Philly-local-5.png b/content/images/2024/08/Philly-local-5.png new file mode 100644 index 00000000..f32f6dd2 Binary files /dev/null and b/content/images/2024/08/Philly-local-5.png differ diff --git a/content/images/2024/08/Philly-local-5_o.png b/content/images/2024/08/Philly-local-5_o.png new file mode 100644 index 00000000..e96530dd Binary files /dev/null and b/content/images/2024/08/Philly-local-5_o.png differ diff --git a/content/images/2024/08/Philly-local.png b/content/images/2024/08/Philly-local.png new file mode 100644 index 00000000..cb559c2a Binary files /dev/null and b/content/images/2024/08/Philly-local.png differ diff --git a/content/images/2024/08/Philly-local_o.png b/content/images/2024/08/Philly-local_o.png new file mode 100644 index 00000000..cb559c2a Binary files /dev/null and b/content/images/2024/08/Philly-local_o.png differ diff --git a/content/images/2024/08/icon-1.png b/content/images/2024/08/icon-1.png new file mode 100644 index 00000000..177823c4 Binary files /dev/null and b/content/images/2024/08/icon-1.png differ diff --git a/content/images/2024/08/icon-1_o.png b/content/images/2024/08/icon-1_o.png new file mode 100644 index 00000000..177823c4 Binary files /dev/null and b/content/images/2024/08/icon-1_o.png differ diff --git a/content/images/2024/08/icon-2.png b/content/images/2024/08/icon-2.png new file mode 100644 index 00000000..177823c4 Binary files /dev/null and b/content/images/2024/08/icon-2.png differ diff --git a/content/images/2024/08/icon-2_o.png b/content/images/2024/08/icon-2_o.png new file mode 100644 index 00000000..177823c4 Binary files /dev/null and b/content/images/2024/08/icon-2_o.png differ diff --git a/content/images/2024/08/icon.png b/content/images/2024/08/icon.png new file mode 100644 index 00000000..177823c4 Binary files /dev/null and b/content/images/2024/08/icon.png differ diff --git a/content/images/2024/08/icon_o.png b/content/images/2024/08/icon_o.png new file mode 100644 index 00000000..177823c4 Binary files /dev/null and b/content/images/2024/08/icon_o.png differ diff --git a/content/images/2024/08/mainm-1.jpg b/content/images/2024/08/mainm-1.jpg new file mode 100644 index 00000000..8e60ff5c Binary files /dev/null and b/content/images/2024/08/mainm-1.jpg differ diff --git a/content/images/2024/08/mainm-1_o.jpg b/content/images/2024/08/mainm-1_o.jpg new file mode 100644 index 00000000..cf555d6f Binary files /dev/null and b/content/images/2024/08/mainm-1_o.jpg differ diff --git a/content/images/2024/08/mainm-2.jpg b/content/images/2024/08/mainm-2.jpg new file mode 100644 index 00000000..fb527a9c Binary files /dev/null and b/content/images/2024/08/mainm-2.jpg differ diff --git a/content/images/2024/08/mainm-2_o.jpg b/content/images/2024/08/mainm-2_o.jpg new file mode 100644 index 00000000..cf40a995 Binary files /dev/null and b/content/images/2024/08/mainm-2_o.jpg differ diff --git a/content/images/2024/08/mainm.jpg b/content/images/2024/08/mainm.jpg new file mode 100644 index 00000000..8e60ff5c Binary files /dev/null and b/content/images/2024/08/mainm.jpg differ diff --git a/content/images/2024/08/mainm_o.jpg b/content/images/2024/08/mainm_o.jpg new file mode 100644 index 00000000..cf555d6f Binary files /dev/null and b/content/images/2024/08/mainm_o.jpg differ diff --git a/content/images/size/w1140/2024/08/Glory-Beer-Bar---Kitchen.jpg b/content/images/size/w1140/2024/08/Glory-Beer-Bar---Kitchen.jpg new file mode 100644 index 00000000..1ba54fbe Binary files /dev/null and b/content/images/size/w1140/2024/08/Glory-Beer-Bar---Kitchen.jpg differ diff --git a/content/images/size/w1140/2024/08/IMG_7713-Enhanced-NR.jpg b/content/images/size/w1140/2024/08/IMG_7713-Enhanced-NR.jpg new file mode 100644 index 00000000..15668cd0 Binary files /dev/null and b/content/images/size/w1140/2024/08/IMG_7713-Enhanced-NR.jpg differ diff --git a/content/images/size/w1140/2024/08/Pax-Unplugged-2021-Featured-Rev.jpg b/content/images/size/w1140/2024/08/Pax-Unplugged-2021-Featured-Rev.jpg new file mode 100644 index 00000000..772afb8f Binary files /dev/null and b/content/images/size/w1140/2024/08/Pax-Unplugged-2021-Featured-Rev.jpg differ diff --git a/content/images/size/w1140/2024/08/mainm-2.jpg b/content/images/size/w1140/2024/08/mainm-2.jpg new file mode 100644 index 00000000..d441ef2f Binary files /dev/null and b/content/images/size/w1140/2024/08/mainm-2.jpg differ diff --git a/content/images/size/w1140/2024/08/mainm.jpg b/content/images/size/w1140/2024/08/mainm.jpg new file mode 100644 index 00000000..f500ec88 Binary files /dev/null and b/content/images/size/w1140/2024/08/mainm.jpg differ diff --git a/content/images/size/w1200/2024/08/20240212_192013-1.jpg b/content/images/size/w1200/2024/08/20240212_192013-1.jpg new file mode 100644 index 00000000..75ff8eae Binary files /dev/null and b/content/images/size/w1200/2024/08/20240212_192013-1.jpg differ diff --git a/content/images/size/w1200/2024/08/IMG_9912-1.jpg b/content/images/size/w1200/2024/08/IMG_9912-1.jpg new file mode 100644 index 00000000..2bd470ff Binary files /dev/null and b/content/images/size/w1200/2024/08/IMG_9912-1.jpg differ diff --git a/content/images/size/w1200/2024/08/mainm-2.jpg b/content/images/size/w1200/2024/08/mainm-2.jpg new file mode 100644 index 00000000..22f7d41a Binary files /dev/null and b/content/images/size/w1200/2024/08/mainm-2.jpg differ diff --git a/content/images/size/w150/2024/08/2024-04-14_171724820.jpg b/content/images/size/w150/2024/08/2024-04-14_171724820.jpg new file mode 100644 index 00000000..5459209d Binary files /dev/null and b/content/images/size/w150/2024/08/2024-04-14_171724820.jpg differ diff --git a/content/images/size/w2000/2024/08/20240212_192013-1.jpg b/content/images/size/w2000/2024/08/20240212_192013-1.jpg new file mode 100644 index 00000000..394bd291 Binary files /dev/null and b/content/images/size/w2000/2024/08/20240212_192013-1.jpg differ diff --git a/content/images/size/w2000/2024/08/mainm-2.jpg b/content/images/size/w2000/2024/08/mainm-2.jpg new file mode 100644 index 00000000..fb527a9c Binary files /dev/null and b/content/images/size/w2000/2024/08/mainm-2.jpg differ diff --git a/content/images/size/w256h256/2024/08/PGC-Large-5.png b/content/images/size/w256h256/2024/08/PGC-Large-5.png new file mode 100644 index 00000000..f49f6db3 Binary files /dev/null and b/content/images/size/w256h256/2024/08/PGC-Large-5.png differ diff --git a/content/images/size/w256h256/2024/08/PGC-Large.png b/content/images/size/w256h256/2024/08/PGC-Large.png new file mode 100644 index 00000000..f49f6db3 Binary files /dev/null and b/content/images/size/w256h256/2024/08/PGC-Large.png differ diff --git a/content/images/size/w256h256/2024/08/Philly-local-3.png b/content/images/size/w256h256/2024/08/Philly-local-3.png new file mode 100644 index 00000000..193c8bad Binary files /dev/null and b/content/images/size/w256h256/2024/08/Philly-local-3.png differ diff --git a/content/images/size/w256h256/2024/08/Philly-local-5.png b/content/images/size/w256h256/2024/08/Philly-local-5.png new file mode 100644 index 00000000..33bb25d4 Binary files /dev/null and b/content/images/size/w256h256/2024/08/Philly-local-5.png differ diff --git a/content/images/size/w300/2024/08/2024-04-14_171724820.jpg b/content/images/size/w300/2024/08/2024-04-14_171724820.jpg new file mode 100644 index 00000000..62d7b789 Binary files /dev/null and b/content/images/size/w300/2024/08/2024-04-14_171724820.jpg differ diff --git a/content/images/size/w300/2024/08/mainm-2.jpg b/content/images/size/w300/2024/08/mainm-2.jpg new file mode 100644 index 00000000..c3ac2fbb Binary files /dev/null and b/content/images/size/w300/2024/08/mainm-2.jpg differ diff --git a/content/images/size/w400/2024/08/mainm-2.jpg b/content/images/size/w400/2024/08/mainm-2.jpg new file mode 100644 index 00000000..3e6f101e Binary files /dev/null and b/content/images/size/w400/2024/08/mainm-2.jpg differ diff --git a/content/images/size/w720/2024/08/20240212_192013-1.jpg b/content/images/size/w720/2024/08/20240212_192013-1.jpg new file mode 100644 index 00000000..c6afc81c Binary files /dev/null and b/content/images/size/w720/2024/08/20240212_192013-1.jpg differ diff --git a/content/images/size/w720/2024/08/mainm-2.jpg b/content/images/size/w720/2024/08/mainm-2.jpg new file mode 100644 index 00000000..68ef05c7 Binary files /dev/null and b/content/images/size/w720/2024/08/mainm-2.jpg differ diff --git a/content/images/size/w750/2024/08/Glory-Beer-Bar---Kitchen.jpg b/content/images/size/w750/2024/08/Glory-Beer-Bar---Kitchen.jpg new file mode 100644 index 00000000..3eabf292 Binary files /dev/null and b/content/images/size/w750/2024/08/Glory-Beer-Bar---Kitchen.jpg differ diff --git a/content/images/size/w750/2024/08/mainm-2.jpg b/content/images/size/w750/2024/08/mainm-2.jpg new file mode 100644 index 00000000..a58104e7 Binary files /dev/null and b/content/images/size/w750/2024/08/mainm-2.jpg differ diff --git a/content/images/size/w750/2024/08/mainm.jpg b/content/images/size/w750/2024/08/mainm.jpg new file mode 100644 index 00000000..a83dcb76 Binary files /dev/null and b/content/images/size/w750/2024/08/mainm.jpg differ diff --git a/content/images/size/w960/2024/08/20240212_192013-1.jpg b/content/images/size/w960/2024/08/20240212_192013-1.jpg new file mode 100644 index 00000000..92717667 Binary files /dev/null and b/content/images/size/w960/2024/08/20240212_192013-1.jpg differ diff --git a/content/images/size/w960/2024/08/mainm-2.jpg b/content/images/size/w960/2024/08/mainm-2.jpg new file mode 100644 index 00000000..8eb49262 Binary files /dev/null and b/content/images/size/w960/2024/08/mainm-2.jpg differ diff --git a/content/images/size/w960/2024/08/mainm.jpg b/content/images/size/w960/2024/08/mainm.jpg new file mode 100644 index 00000000..fe8ef65e Binary files /dev/null and b/content/images/size/w960/2024/08/mainm.jpg differ diff --git a/content/public/.well-known/recommendations.json b/content/public/.well-known/recommendations.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/content/public/.well-known/recommendations.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/content/public/admin-auth/admin-auth.min.js b/content/public/admin-auth/admin-auth.min.js new file mode 100644 index 00000000..88a7f3af --- /dev/null +++ b/content/public/admin-auth/admin-auth.min.js @@ -0,0 +1 @@ +const adminUrl=window.location.href.replace("auth-frame/","")+"api/admin",siteOrigin="https://rittenhop.brodin.rocks";window.addEventListener("message",(async function(t){if(t.origin!==siteOrigin)return void console.warn("Ignored message to admin auth iframe because of mismatch in origin","expected",siteOrigin,"got",t.origin,"with data",t.data);let i=null;try{i=JSON.parse(t.data)}catch(t){console.error(t)}function n(n,e){t.source.postMessage(JSON.stringify({uid:i.uid,error:n,result:e}),siteOrigin)}if("getUser"===i.action)try{const t=await fetch(adminUrl+"/users/me/");n(null,await t.json())}catch(t){n(t,null)}if("hideComment"===i.action)try{const t=await fetch(adminUrl+"/comments/"+i.id+"/",{method:"PUT",body:JSON.stringify({comments:[{id:i.id,status:"hidden"}]}),headers:{"Content-Type":"application/json"}});n(null,await t.json())}catch(t){n(t,null)}if("showComment"===i.action)try{const t=await fetch(adminUrl+"/comments/"+i.id+"/",{method:"PUT",body:JSON.stringify({comments:[{id:i.id,status:"published"}]}),headers:{"Content-Type":"application/json"}});n(null,await t.json())}catch(t){n(t,null)}})); \ No newline at end of file diff --git a/content/public/admin-auth/index.html b/content/public/admin-auth/index.html new file mode 100644 index 00000000..78c7a935 --- /dev/null +++ b/content/public/admin-auth/index.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/content/public/cards.min.css b/content/public/cards.min.css new file mode 100644 index 00000000..a6dda31a --- /dev/null +++ b/content/public/cards.min.css @@ -0,0 +1 @@ +.kg-audio-card,.kg-audio-card *{box-sizing:border-box}.kg-audio-card{display:flex;width:100%;min-height:96px;border-radius:6px;padding:4px;box-shadow:inset 0 0 0 1px rgba(124,139,154,.25)}.kg-audio-card+.kg-audio-card{margin-top:1em}.kg-audio-thumbnail{display:flex;justify-content:center;align-items:center;width:80px;min-width:80px;margin:8px;background:0 0;object-fit:cover;aspect-ratio:1/1;border-radius:3px}.kg-audio-thumbnail.placeholder{background:var(--ghost-accent-color)}.kg-audio-thumbnail.placeholder svg{width:24px;height:24px;fill:#fff}.kg-audio-player-container{position:relative;display:flex;flex-direction:column;justify-content:space-between;width:100%;--seek-before-width:0%;--volume-before-width:100%;--buffered-width:0%}.kg-audio-title{width:100%;margin:8px 0 0;padding:8px 12px;border:0;font-family:inherit;font-size:16px;font-weight:600;line-height:1.15em;background:0 0}.kg-audio-player{display:flex;flex-grow:1;align-items:center;padding:8px 12px}.kg-audio-current-time,.kg-audio-time{font-family:inherit;font-size:12.5px;font-weight:500;line-height:1em;white-space:nowrap}.kg-audio-current-time{min-width:38px;padding:0 4px}.kg-audio-time{width:56px;color:#ababab}.kg-audio-duration{padding:0 4px}.kg-audio-pause-icon,.kg-audio-play-icon{position:relative;bottom:1px;padding:0 4px 0 0;font-size:0;background:0 0}.kg-audio-hide{display:none!important}.kg-audio-pause-icon svg,.kg-audio-play-icon svg{width:14px;height:14px;fill:currentColor}.kg-audio-seek-slider{flex-grow:1;margin:0 4px}@media (max-width:640px){.kg-audio-seek-slider{display:none}}.kg-audio-playback-rate{min-width:37px;padding:0 4px;font-family:inherit;font-size:12.5px;font-weight:600;line-height:1em;text-align:left;background:0 0;white-space:nowrap}@media (max-width:640px){.kg-audio-playback-rate{padding-left:8px}}.kg-audio-mute-icon,.kg-audio-unmute-icon{position:relative;bottom:-1px;padding:0 4px;font-size:0;background:0 0}@media (max-width:640px){.kg-audio-mute-icon,.kg-audio-unmute-icon{margin-left:auto}}.kg-audio-mute-icon svg,.kg-audio-unmute-icon svg{width:16px;height:16px;fill:currentColor}.kg-audio-volume-slider{width:80px}@media (max-width:400px){.kg-audio-volume-slider{display:none}}.kg-audio-seek-slider::before,.kg-audio-volume-slider::before{content:"";position:absolute;left:0;width:var(--seek-before-width)!important;height:4px;cursor:pointer;background-color:currentColor;border-radius:2px}.kg-audio-volume-slider::before{width:var(--volume-before-width)!important}.kg-audio-player-container input[type=range]{position:relative;-webkit-appearance:none;background:0 0;height:auto;padding:0;border:0}.kg-audio-player-container input[type=range]:focus,.kg-video-card input[type=range]:focus{outline:0}.kg-audio-player-container input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}.kg-audio-player-container button,.kg-video-card button{display:flex;align-items:center;border:0;cursor:pointer}.kg-audio-player-container input[type=range]::-webkit-slider-runnable-track{width:100%;height:4px;cursor:pointer;background:rgba(124,139,154,.25);border-radius:2px}.kg-audio-player-container input[type=range]::-webkit-slider-thumb{position:relative;box-sizing:content-box;width:13px;height:13px;margin:-5px 0 0;border:0;cursor:pointer;background:#fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.24)}.kg-audio-player-container input[type=range]:active::-webkit-slider-thumb{transform:scale(1.2)}.kg-audio-player-container input[type=range]::-moz-range-track{width:100%;height:4px;cursor:pointer;background:rgba(124,139,154,.25);border-radius:2px}.kg-audio-player-container input[type=range]::-moz-range-progress{background:currentColor;border-radius:2px}.kg-audio-player-container input[type=range]::-moz-range-thumb{box-sizing:content-box;width:13px;height:13px;border:0;cursor:pointer;background:#fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.24)}.kg-audio-player-container input[type=range]:active::-moz-range-thumb{transform:scale(1.2)}.kg-audio-player-container input[type=range]::-ms-track{width:100%;height:3px;border:solid transparent;color:transparent;cursor:pointer;background:0 0}.kg-audio-player-container input[type=range]::-ms-fill-lower{background:#fff}.kg-audio-player-container input[type=range]::-ms-fill-upper{background:currentColor}.kg-audio-player-container input[type=range]::-ms-thumb{box-sizing:content-box;width:13px;height:13px;border:0;cursor:pointer;background:#fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.24)}.kg-audio-player-container input[type=range]:active::-ms-thumb{transform:scale(1.2)}.kg-blockquote-alt{font-size:1.5em;font-style:italic;line-height:1.7em;text-align:center;padding:0 2.5em}@media (max-width:800px){.kg-blockquote-alt{font-size:1.4em;padding-left:2em;padding-right:2em}}@media (max-width:600px){.kg-blockquote-alt{font-size:1.2em;padding-left:1.75em;padding-right:1.75em}}.kg-bookmark-card,.kg-bookmark-card *{box-sizing:border-box}.kg-bookmark-card,.kg-bookmark-publisher{position:relative}.kg-bookmark-card a.kg-bookmark-container,.kg-bookmark-card a.kg-bookmark-container:hover{display:flex;background:#fff;text-decoration:none;border-radius:6px;border:1px solid rgb(124 139 154/25%);overflow:hidden;color:#222}.kg-bookmark-content{display:flex;flex-direction:column;flex-grow:1;flex-basis:100%;align-items:flex-start;justify-content:flex-start;padding:20px;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif}.kg-bookmark-title{font-size:15px;line-height:1.4em;font-weight:600}.kg-bookmark-description{display:-webkit-box;font-size:14px;line-height:1.5em;margin-top:3px;font-weight:400;max-height:44px;overflow-y:hidden;opacity:.7;-webkit-line-clamp:2;-webkit-box-orient:vertical}.kg-bookmark-metadata{display:flex;align-items:center;margin-top:22px;width:100%;font-size:14px;font-weight:500;white-space:nowrap}.kg-bookmark-metadata>:not(img){opacity:.7}.kg-bookmark-icon{width:20px;height:20px;margin-right:6px}.kg-bookmark-author{display:inline}.kg-bookmark-publisher{text-overflow:ellipsis;overflow:hidden;max-width:240px;white-space:nowrap;display:block;line-height:1.65em}.kg-bookmark-metadata>span:nth-of-type(2){font-weight:400}.kg-bookmark-metadata>span:nth-of-type(2):before{content:"•";margin:0 6px}.kg-bookmark-metadata>span:last-of-type{overflow:hidden;text-overflow:ellipsis}.kg-bookmark-thumbnail{position:relative;flex-grow:1;min-width:33%}.kg-bookmark-thumbnail img,.kg-collection-card-img img{position:absolute;width:100%;height:100%;object-fit:cover}.kg-bookmark-thumbnail img{top:0;left:0;border-radius:0 2px 2px 0}.kg-button-card,.kg-button-card *{box-sizing:border-box}.kg-button-card,.kg-button-card a.kg-btn{display:flex;position:static;align-items:center}.kg-button-card{width:100%;justify-content:center}.kg-button-card.kg-align-left{justify-content:flex-start}.kg-button-card a.kg-btn{padding:0 1.2em;height:2.4em;line-height:1em;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:.95em;font-weight:600;text-decoration:none;border-radius:5px;transition:opacity .2s ease-in-out}.kg-button-card a.kg-btn:hover{opacity:.85}.kg-button-card a.kg-btn-accent{background-color:var(--ghost-accent-color);color:#fff}.kg-callout-card,.kg-callout-card *{box-sizing:border-box}.kg-callout-card{display:flex;padding:1.2em 1.6em;border-radius:3px}.kg-callout-card-grey{background:rgba(124,139,154,.13)}.kg-callout-card-white{background:0 0;box-shadow:inset 0 0 0 1px rgba(124,139,154,.25)}.kg-callout-card-blue{background:rgba(33,172,232,.12)}.kg-callout-card-green{background:rgba(52,183,67,.12)}.kg-callout-card-yellow{background:rgba(240,165,15,.13)}.kg-callout-card-red{background:rgba(209,46,46,.11)}.kg-callout-card-pink{background:rgba(225,71,174,.11)}.kg-callout-card-purple{background:rgba(135,85,236,.12)}.kg-callout-card-accent{background:var(--ghost-accent-color);color:#fff}.kg-callout-card.kg-callout-card-accent a{color:#fff;text-decoration:underline}.kg-callout-card div.kg-callout-emoji{padding-right:.8em;line-height:1.25em;font-size:1.15em}.kg-callout-card div.kg-callout-text{font-size:.95em;line-height:1.5em}.kg-callout-card+.kg-callout-card{margin-top:1em}.kg-collection-card{width:100%;margin-top:6vmin}.kg-collection-card+*{margin-top:6vmin}.kg-collection-card-title{margin:.8rem 0 1.6rem;font-size:1.5rem;font-weight:700;text-transform:uppercase}a.kg-collection-card-post-wrapper{text-decoration:none;color:var(--text-color)}a.kg-collection-card-post-wrapper:hover{opacity:1}.kg-collection-card-post{display:flex;gap:3.2rem}.kg-collection-card-img{position:relative;aspect-ratio:3/2}.kg-collection-card-img img{inset:0}a.kg-collection-card-post-wrapper:hover img{opacity:.92;transition:all .2s ease}.kg-collection-card-content{display:flex;flex-direction:column;font-size:1.6rem}h2.kg-collection-card-post-title,p.kg-collection-card-post-excerpt{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}h2.kg-collection-card-post-title{margin:0;font-size:2.4rem}p.kg-collection-card-post-excerpt{margin-top:1.2rem;line-height:1.4}.kg-collection-card-post-meta{display:flex;opacity:.5;margin-top:1.2rem;font-size:1.3rem;font-weight:500}.kg-collection-card-list{display:flex;flex-direction:column;gap:3.2rem}@media (max-width:767px){.kg-collection-card-list .kg-collection-card-post{flex-direction:column}}.kg-collection-card-list .kg-collection-card-img{flex:0 0 30%}.kg-collection-card-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:2.4rem}@media (min-width:640px){.kg-collection-card-grid:not(.columns-1){grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.kg-collection-card-grid:not(.columns-1):not(.columns-2){grid-template-columns:repeat(3,minmax(0,1fr));gap:3.2rem}.kg-collection-card-grid.columns-1{gap:4.8rem}.kg-collection-card-grid.columns-2{gap:4rem}}@media (min-width:1280px){.kg-collection-card-grid:not(.columns-1):not(.columns-2):not(.columns-3){grid-template-columns:repeat(4,minmax(0,1fr))}}.kg-collection-card-grid .kg-collection-card-post{flex-direction:column;gap:1.2rem}@media (min-width:1024px){.kg-collection-card-grid.columns-1 .kg-collection-card-post{gap:2rem}.kg-collection-card-grid.columns-2 .kg-collection-card-post{gap:1.6rem}}.kg-collection-card-grid.columns-1 .kg-collection-card-img,.kg-collection-card-grid.columns-2 .kg-collection-card-img{aspect-ratio:16/9}.kg-collection-card-grid .kg-collection-card-content{font-size:1.5rem}@media (min-width:640px){.kg-collection-card-grid .kg-collection-card-content{font-size:1.6rem}}@media (min-width:1024px){.kg-collection-card-grid.columns-1 .kg-collection-card-content{font-size:1.8rem}.kg-collection-card-grid.columns-3 .kg-collection-card-content,.kg-collection-card-grid.columns-4 .kg-collection-card-content{font-size:1.5rem}}.kg-collection-card-grid h2.kg-collection-card-post-title{font-size:1.7rem}.kg-collection-card-grid .kg-collection-card-post-meta{font-size:1.25rem}@media (min-width:640px){.kg-collection-card-grid h2.kg-collection-card-post-title{font-size:1.9rem}.kg-collection-card-grid.columns-1 h2.kg-collection-card-post-title{font-size:2.4rem}.kg-collection-card-grid:not(.columns-3):not(.columns-4) .kg-collection-card-post-meta{font-size:1.3rem}}@media (min-width:1024px){.kg-collection-card-grid.columns-1 h2.kg-collection-card-post-title{font-size:3.6rem}.kg-collection-card-grid.columns-2 h2.kg-collection-card-post-title{font-size:2.4rem}.kg-collection-card-grid.columns-1 .kg-collection-card-post-meta{font-size:1.4rem}}@media (min-width:1280px){.kg-collection-card-grid.columns-4 h2.kg-collection-card-post-title{font-size:1.7rem}}.kg-file-card,.kg-file-card *{box-sizing:border-box}.kg-file-card{display:flex}.kg-file-card a.kg-file-card-container{display:flex;align-items:stretch;justify-content:space-between;color:inherit;padding:12px;min-height:92px;border:1px solid rgb(124 139 154/25%);border-radius:5px;transition:all ease-in-out .35s;text-decoration:none;width:100%}.kg-file-card a.kg-file-card-container:hover{border:1px solid rgb(124 139 154/35%)}.kg-file-card-contents{display:flex;flex-direction:column;justify-content:space-between;margin:4px 8px;width:100%}.kg-file-card-title{font-size:16px;font-weight:600;line-height:1.3em}.kg-file-card-caption{font-size:14px;line-height:1.3em;opacity:.7}.kg-file-card-title+.kg-file-card-caption{flex-grow:1;margin-top:3px}.kg-file-card-metadata{display:inline;font-size:14px;line-height:1.3em;margin-top:5px}.kg-file-card-filename{display:inline;font-weight:500}.kg-file-card-filesize{display:inline-block;font-size:14px;opacity:.6}.kg-file-card-filesize:before{display:inline-block;content:"•";margin-left:6px;margin-right:6px}.kg-file-card-icon{position:relative;display:flex;align-items:center;justify-content:center;width:80px;min-width:80px;height:100%;min-height:80px}.kg-file-card-icon:before{position:absolute;display:block;content:"";top:0;left:0;right:0;bottom:0;background:currentColor;opacity:.06;transition:opacity ease-in-out .35s;border-radius:3px}.kg-file-card a.kg-file-card-container:hover .kg-file-card-icon:before{opacity:.08}.kg-file-card-icon svg{width:24px;height:24px;color:var(--ghost-accent-color)}.kg-file-card-medium a.kg-file-card-container{min-height:72px}.kg-file-card-medium .kg-file-card-caption{opacity:1;font-weight:500}.kg-file-card-small a.kg-file-card-container{align-items:center;min-height:52px}.kg-file-card-small .kg-file-card-metadata{font-size:14px;margin-top:0}.kg-file-card-small .kg-file-card-icon svg{width:20px;height:20px}.kg-file-card+.kg-file-card{margin-top:1em}.kg-gallery-card,.kg-gallery-card *{box-sizing:border-box}.kg-gallery-card,.kg-image-card{--gap:1.2rem}.kg-gallery-card:not(.kg-card-hascaption)+.kg-gallery-card,.kg-gallery-card:not(.kg-card-hascaption)+.kg-image-card,.kg-image-card:not(.kg-card-hascaption)+.kg-gallery-card,.kg-image-card:not(.kg-card-hascaption)+.kg-image-card{margin-top:var(--gap)}.kg-gallery-container{position:relative}.kg-gallery-row{display:flex;flex-direction:row;justify-content:center}.kg-gallery-image img{display:block;margin:0;width:100%;height:100%}.kg-gallery-row:not(:first-of-type){margin:var(--gap)0 0}.kg-gallery-image:not(:first-of-type){margin:0 0 0 var(--gap)}@media (max-width:600px){.kg-gallery-card,.kg-image-card{--gap:0.6rem}}.kg-header-card,.kg-header-card *{box-sizing:border-box}.kg-header-card{padding:12vmin 4em;min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.kg-header-card.kg-size-small{padding-top:14vmin;padding-bottom:14vmin;min-height:40vh}.kg-header-card.kg-size-large{padding-top:18vmin;padding-bottom:18vmin;min-height:80vh}.kg-header-card.kg-align-left{text-align:left;align-items:flex-start}.kg-header-card.kg-style-dark{background:#151515;color:#fff}.kg-header-card.kg-style-light{background-color:#fafafa}.kg-header-card.kg-style-accent,.kg-header-card.kg-style-accent.kg-v2{background-color:var(--ghost-accent-color)}.kg-header-card.kg-style-image{position:relative;background-color:#e7e7e7;background-size:cover;background-position:center}.kg-header-card.kg-style-image::before{position:absolute;display:block;content:"";top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,transparent,rgba(0,0,0,.2))}.kg-header-card h2.kg-header-card-header{font-size:5em;font-weight:700;line-height:1.1em;letter-spacing:-.01em;margin:0}.kg-header-card h2.kg-header-card-header strong{font-weight:800}.kg-header-card.kg-size-small h2.kg-header-card-header{font-size:4em}.kg-header-card.kg-size-large h2.kg-header-card-header{font-size:6em}.kg-header-card h3.kg-header-card-subheader{font-size:1.5em;font-weight:500;line-height:1.4em;margin:0;max-width:40em}.kg-header-card h2+h3.kg-header-card-subheader{margin:.35em 0 0}.kg-header-card .kg-header-card-subheading strong,.kg-header-card h3.kg-header-card-subheader strong,.kg-signup-card .kg-signup-card-subheading strong{font-weight:600}.kg-header-card.kg-size-small h3.kg-header-card-subheader{font-size:1.25em}.kg-header-card.kg-size-large h3.kg-header-card-subheader{font-size:1.75em}.kg-header-card:not(.kg-style-light) h2.kg-header-card-header,.kg-header-card:not(.kg-style-light) h3.kg-header-card-subheader{color:#fff}.kg-header-card.kg-style-accent h3.kg-header-card-subheader,.kg-header-card.kg-style-image h3.kg-header-card-subheader,.kg-product-card-rating-active.kg-product-card-rating-star svg{opacity:1}.kg-header-card.kg-style-image a.kg-header-card-button,.kg-header-card.kg-style-image h2.kg-header-card-header,.kg-header-card.kg-style-image h3.kg-header-card-subheader{z-index:999}.kg-header-card h2.kg-header-card-header a,.kg-header-card h3.kg-header-card-subheader a{color:var(--ghost-accent-color)}.kg-header-card.kg-style-accent h2.kg-header-card-header a,.kg-header-card.kg-style-accent h3.kg-header-card-subheader a,.kg-header-card.kg-style-image h2.kg-header-card-header a,.kg-header-card.kg-style-image h3.kg-header-card-subheader a{color:#fff}.kg-header-card a.kg-header-card-button{display:flex;position:static;align-items:center;fill:#fff;background:#fff;border-radius:3px;outline:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:1.05em;font-weight:600;line-height:1em;text-align:center;text-decoration:none;letter-spacing:.2px;white-space:nowrap;text-overflow:ellipsis;color:#151515;height:2.7em;padding:0 1.2em;transition:opacity .2s ease}.kg-header-card h2+a.kg-header-card-button,.kg-header-card h3+a.kg-header-card-button{margin:1.75em 0 0}.kg-header-card a.kg-header-card-button:hover{opacity:.85}.kg-header-card.kg-size-large a.kg-header-card-button{font-size:1.1em;height:2.9em}.kg-header-card.kg-size-large h2+a.kg-header-card-button,.kg-header-card.kg-size-large h3+a.kg-header-card-button{margin-top:2em}.kg-header-card.kg-size-small a.kg-header-card-button{height:2.4em;font-size:1em}.kg-header-card.kg-size-small h2+a.kg-header-card-button,.kg-header-card.kg-size-small h3+a.kg-header-card-button{margin-top:1.5em}.kg-header-card.kg-style-dark a.kg-header-card-button,.kg-header-card.kg-style-image a.kg-header-card-button{background:#fff;color:#151515}.kg-header-card.kg-style-light a.kg-header-card-button{background:var(--ghost-accent-color);color:#fff}.kg-header-card.kg-style-accent a.kg-header-card-button{background:#fff;color:#151515}@media (max-width:640px){.kg-header-card{padding-left:1em;padding-right:1em}.kg-header-card h2.kg-header-card-header{font-size:3.5em}.kg-header-card.kg-size-large h2.kg-header-card-header{font-size:4em}.kg-header-card.kg-size-small h2.kg-header-card-header{font-size:3em}.kg-header-card h3.kg-header-card-subheader{font-size:1.25em}.kg-header-card.kg-size-large h3.kg-header-card-subheader{font-size:1.5em}.kg-header-card.kg-size-small h3.kg-header-card-subheader{font-size:1em}}.kg-header-card.kg-v2{position:relative;padding:0;min-height:initial;text-align:initial;box-sizing:border-box}.kg-header-card.kg-v2 *{box-sizing:border-box}.kg-header-card.kg-v2 a,.kg-header-card.kg-v2 a span,.kg-signup-card a,.kg-signup-card a span{color:currentColor}.kg-header-card-content{width:100%}.kg-layout-split .kg-header-card-content{display:grid;grid-template-columns:1fr 1fr}.kg-header-card-text{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:100%;padding:min(6.4vmax,120px) min(4vmax,80px);background-size:cover;background-position:center;text-align:left}.kg-width-wide .kg-header-card-text{padding:min(10vmax,220px) min(6.4vmax,140px)}.kg-width-full .kg-header-card-text{padding:min(12vmax,260px)0}.kg-layout-split .kg-header-card-text{padding:min(12vmax,260px) min(4vmax,80px)}.kg-layout-split.kg-content-wide .kg-header-card-text{padding:min(10vmax,220px)0 min(10vmax,220px) min(4vmax,80px)}.kg-layout-split.kg-content-wide.kg-swapped .kg-header-card-text{padding:min(10vmax,220px) min(4vmax,80px) min(10vmax,220px)0}.kg-swapped .kg-header-card-text{grid-row:1}.kg-header-card-text.kg-align-center{align-items:center;text-align:center}.kg-header-card.kg-style-image .kg-header-card-subheading,.kg-header-card.kg-style-image h2.kg-header-card-heading,.kg-header-card.kg-style-image.kg-v2 .kg-header-card-button{z-index:999}.kg-header-card>picture>.kg-header-card-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center;background-color:#fff;pointer-events:none}.kg-header-card-content .kg-header-card-image{width:100%;height:0;min-height:100%;object-fit:cover;object-position:center}.kg-content-wide .kg-header-card-content .kg-header-card-image{height:100%;padding:5.6em 0;object-fit:contain}.kg-header-card h2.kg-header-card-heading,.kg-signup-card h2.kg-signup-card-heading{margin:0;font-size:clamp(1.7em,4vw,2.5em);font-weight:700;line-height:1.05em;letter-spacing:-.01em}.kg-header-card.kg-width-wide h2.kg-header-card-heading{font-size:clamp(1.7em,5vw,3.3em)}.kg-header-card.kg-width-full h2.kg-header-card-heading{font-size:clamp(1.9em,5.6vw,4.2em)}.kg-header-card.kg-width-full.kg-layout-split h2.kg-header-card-heading,.kg-signup-card.kg-width-full.kg-layout-split h2.kg-signup-card-heading{font-size:clamp(1.9em,4vw,3.3em)}.kg-header-card-subheading{margin:0 0 2em}.kg-header-card .kg-header-card-subheading{max-width:40em;margin:0;font-size:clamp(1.05em,2vw,1.4em);font-weight:500;line-height:1.2em}.kg-header-card h2+.kg-header-card-subheading{margin:.6em 0 0}.kg-header-card.kg-width-full.kg-layout-split .kg-header-card-subheading,.kg-header-card.kg-width-wide .kg-header-card-subheading{font-size:clamp(1.05em,2vw,1.55em)}.kg-header-card.kg-width-full .kg-header-card-subheading:not(.kg-layout-split .kg-header-card-subheading){max-width:min(65vmax,1200px);font-size:clamp(1.05em,2vw,1.7em)}.kg-header-card.kg-v2 .kg-header-card-button{display:flex;position:relative;align-items:center;height:2.9em;min-height:46px;padding:0 1.2em;outline:0;border:0;font-size:1em;font-weight:600;line-height:1em;text-align:center;text-decoration:none;letter-spacing:.2px;white-space:nowrap;text-overflow:ellipsis;border-radius:3px;transition:opacity .2s ease}.kg-header-card.kg-v2 .kg-header-card-button.kg-style-accent{background-color:var(--ghost-accent-color)}.kg-header-card.kg-v2 h2+.kg-header-card-button,.kg-header-card.kg-v2 p+.kg-header-card-button{margin:1.5em 0 0}.kg-header-card.kg-v2 .kg-header-card-button:hover{opacity:.85}.kg-header-card.kg-v2.kg-width-wide .kg-header-card-button{font-size:1.05em}.kg-header-card.kg-v2.kg-width-wide h2+.kg-header-card-button,.kg-header-card.kg-v2.kg-width-wide p+.kg-header-card-button,.kg-signup-card.kg-width-wide h2+.kg-signup-card-button,.kg-signup-card.kg-width-wide p+.kg-signup-card-button{margin-top:1.75em}.kg-header-card.kg-v2.kg-width-full .kg-header-card-button{font-size:1.1em}.kg-header-card.kg-v2.kg-width-full h2+.kg-header-card-button,.kg-header-card.kg-v2.kg-width-full p+.kg-header-card-button,.kg-signup-card.kg-width-full h2+.kg-signup-card-button,.kg-signup-card.kg-width-full p+.kg-signup-card-button{margin-top:2em}@media (max-width:640px){.kg-layout-split .kg-header-card-content{grid-template-columns:1fr}.kg-width-wide .kg-header-card-text{padding:min(6.4vmax,120px) min(4vmax,80px)}.kg-layout-split.kg-content-wide .kg-header-card-text,.kg-layout-split.kg-content-wide.kg-swapped .kg-header-card-text{padding:min(9.6vmax,180px)0}.kg-header-card.kg-width-full .kg-header-card-subheading:not(.kg-layout-split .kg-header-card-subheading){max-width:unset}.kg-header-card-content .kg-header-card-image:not(.kg-content-wide .kg-header-card-content .kg-header-card-image){height:auto;min-height:unset;aspect-ratio:1/1}.kg-content-wide .kg-header-card-content .kg-header-card-image{padding:1.7em 0 0}.kg-content-wide.kg-swapped .kg-header-card-content .kg-header-card-image{padding:0 0 1.7em}.kg-header-card.kg-v2 .kg-header-card-button{height:2.9em}.kg-header-card.kg-v2.kg-width-full .kg-header-card-button,.kg-header-card.kg-v2.kg-width-wide .kg-header-card-button{font-size:1em}}.kg-nft-card,.kg-nft-card *{box-sizing:border-box}.kg-nft-card{display:flex;flex-direction:column;align-items:center;width:100%;margin-left:auto;margin-right:auto}.kg-nft-card a.kg-nft-card-container{position:static;display:flex;flex:auto;flex-direction:column;text-decoration:none;font-family:-apple-system,BlinkMacSystemFont,"avenir next",avenir,"helvetica neue",helvetica,ubuntu,roboto,noto,"segoe ui",arial,sans-serif;font-size:14px;font-weight:400;box-shadow:0 2px 6px -2px rgb(0 0 0/10%),0 0 1px rgb(0 0 0/40%);width:100%;max-width:512px;color:#222;background:#fff;border-radius:5px;transition:none}.kg-nft-card *{position:static}.kg-nft-metadata{padding:20px;width:100%}.kg-nft-image{border-radius:5px 5px 0 0;width:100%}.kg-nft-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.kg-nft-header h4.kg-nft-title{font-family:inherit;font-size:19px;font-weight:700;line-height:1.3em;min-width:unset;max-width:unset;margin:0;color:#222}.kg-nft-opensea-logo{margin-top:2px;width:100px;object-fit:scale-down}.kg-nft-card p.kg-nft-description,.kg-nft-creator{font-family:inherit;line-height:1.4em;margin:4px 0 0;color:#ababab}.kg-nft-creator span{font-weight:500;color:#222}.kg-nft-card p.kg-nft-description{font-size:14px;margin:20px 0 0;color:#222}.kg-product-card,.kg-product-card *{box-sizing:border-box}.kg-product-card{display:flex;align-items:center;flex-direction:column;width:100%}.kg-product-card-container{display:grid;grid-template-columns:auto min-content;align-items:center;grid-row-gap:16px;background:0 0;max-width:550px;padding:20px;width:100%;border-radius:5px;box-shadow:inset 0 0 0 1px rgb(124 139 154/25%)}.kg-product-card-image{grid-column:1/3;justify-self:center;height:auto}.kg-product-card-title-container{grid-column:1/2}.kg-product-card h4.kg-product-card-title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;text-decoration:none;font-weight:600;font-size:21px;margin-top:0;margin-bottom:0;line-height:1.15em}.kg-product-card-description{grid-column:1/3}.kg-product-card .kg-product-card-description ol,.kg-product-card .kg-product-card-description p,.kg-product-card .kg-product-card-description ul{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px;line-height:1.5em;opacity:.7;margin-bottom:0}.kg-product-card .kg-product-card-description p:first-of-type{margin-top:-4px}.kg-product-card .kg-product-card-description ol,.kg-product-card .kg-product-card-description p:not(:first-of-type),.kg-product-card .kg-product-card-description ul{margin-top:.95em}.kg-product-card .kg-product-card-description li+li,.kg-toggle-card li+li{margin-top:.5em}.kg-product-card-rating{display:flex;align-items:center;grid-column:2/3;align-self:start;justify-self:end;padding-left:16px}@media (max-width:400px){.kg-product-card-title-container{grid-column:1/3}.kg-product-card-rating{grid-column:1/3;justify-self:start;margin-top:-15px;padding-left:0}}.kg-product-card-rating-star{height:20px;width:20px}.kg-product-card-rating-star svg{width:16px;height:16px;fill:currentColor;opacity:.15}.kg-product-card a.kg-product-card-button{justify-content:center;grid-column:1/3;display:flex;position:static;align-items:center;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px;font-weight:600;line-height:1em;text-decoration:none;width:100%;height:38px;border-radius:6px;padding:0 12px;transition:opacity .2s ease-in-out}.kg-product-card a.kg-product-card-btn-accent{background-color:var(--ghost-accent-color);color:#fff}.kg-signup-card{position:relative}.kg-signup-card,.kg-signup-card *{box-sizing:border-box}.kg-signup-card.kg-style-accent{background-color:var(--ghost-accent-color)}.kg-layout-split .kg-signup-card-content{display:grid;grid-template-columns:1fr 1fr}.kg-signup-card-text{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:100%;padding:min(4vmax,80px);background-size:cover;background-position:center;text-align:left}.kg-width-wide .kg-signup-card-text{padding:min(6.4vmax,120px)}.kg-width-full .kg-signup-card-text{padding:min(12vmax,260px)0}.kg-layout-split .kg-signup-card-text{padding:min(12vmax,260px) min(4vmax,80px)}.kg-layout-split.kg-content-wide .kg-signup-card-text{padding:min(10vmax,220px)0 min(10vmax,220px) min(4vmax,80px)}.kg-layout-split.kg-content-wide.kg-swapped .kg-signup-card-text{padding:min(10vmax,220px) min(4vmax,80px) min(10vmax,220px)0}.kg-swapped .kg-signup-card-text{grid-row:1}.kg-signup-card-text.kg-align-center{align-items:center;text-align:center}.kg-signup-card.kg-style-image .kg-signup-card-button,.kg-signup-card.kg-style-image .kg-signup-card-subheading,.kg-signup-card.kg-style-image h2.kg-signup-card-heading{z-index:999}.kg-signup-card>picture>.kg-signup-card-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center;background-color:#fff;pointer-events:none}.kg-signup-card-content .kg-signup-card-image{width:100%;height:0;min-height:100%;object-fit:cover;object-position:center}.kg-content-wide .kg-signup-card-content .kg-signup-card-image{height:100%;padding:5.6em 0;object-fit:contain}.kg-signup-card.kg-width-wide h2.kg-signup-card-heading{font-size:clamp(1.7em,5vw,3.3em)}.kg-signup-card.kg-width-full h2.kg-signup-card-heading{font-size:clamp(1.9em,5.6vw,4.2em)}.kg-signup-card-subheading{margin:0 0 2em}.kg-signup-card .kg-signup-card-subheading{max-width:40em;margin:0;font-size:clamp(1.05em,2vw,1.4em);font-weight:500;line-height:1.2em}.kg-signup-card h2+.kg-signup-card-subheading{margin:.6em 0 0}.kg-signup-card.kg-width-full.kg-layout-split .kg-signup-card-subheading,.kg-signup-card.kg-width-wide .kg-signup-card-subheading{font-size:clamp(1.05em,2vw,1.55em)}.kg-signup-card.kg-width-full .kg-signup-card-subheading:not(.kg-layout-split .kg-signup-card-subheading){max-width:min(65vmax,1200px);font-size:clamp(1.05em,2vw,1.7em)}.kg-signup-card-form{position:relative;display:flex;flex-shrink:0;width:100%}.kg-align-center .kg-signup-card-form{justify-content:center}.kg-signup-card-heading+.kg-signup-card-form,.kg-signup-card-subheading+.kg-signup-card-form{margin:min(2.4vmax,48px)0 0}.kg-width-wide .kg-signup-card-heading+.kg-signup-card-form,.kg-width-wide .kg-signup-card-subheading+.kg-signup-card-form{margin:min(3.2vmax,64px)0 0}.kg-width-full .kg-signup-card-heading+.kg-signup-card-form,.kg-width-full .kg-signup-card-subheading+.kg-signup-card-form{margin:min(4vmax,80px)0 0}.kg-signup-card-fields{display:flex;width:100%;padding:3px;background:#fff;border:1px solid #e6e6e6;border-radius:4px}.kg-width-full .kg-signup-card-fields,.kg-width-wide .kg-signup-card-fields{width:100%;max-width:500px}.kg-signup-card-input{width:100%;height:2.9em;min-height:46px;margin:0 3px 0 0;padding:12px 16px;border:0;background:#fff;font-size:1.1em}.kg-signup-card-input:focus,.kg-signup-card-input:focus-visible{outline:0}.kg-signup-card-button{display:flex;position:relative;align-items:center;height:2.9em;min-height:46px;padding:0 1.2em;outline:0;border:0;font-size:1em;font-weight:600;line-height:1em;text-align:center;text-decoration:none;letter-spacing:.2px;white-space:nowrap;text-overflow:ellipsis;border-radius:3px;transition:opacity .2s ease;cursor:pointer}.kg-signup-card-button.kg-style-accent{background-color:var(--ghost-accent-color)}.kg-signup-card h2+.kg-signup-card-button,.kg-signup-card p+.kg-signup-card-button{margin:1.5em 0 0}.kg-signup-card .kg-signup-card-button:hover{opacity:.85}.kg-signup-card.kg-width-wide .kg-signup-card-button{font-size:1.05em}.kg-signup-card.kg-width-full .kg-signup-card-button{font-size:1.1em}.kg-signup-card-error,.kg-signup-card-form.success .kg-signup-card-fields,.kg-signup-card-success{display:none}.kg-signup-card-form.success .kg-signup-card-success{display:flex;align-items:center;height:3em;font-size:1.25em;font-weight:500;line-height:1.4em}.kg-signup-card-form.error .kg-signup-card-fields{border:1px solid red;box-shadow:inset 0 0 0 1px rgba(255,0,0,.2)}.kg-signup-card-form.error .kg-signup-card-error{position:absolute;bottom:calc(-1rem - 1.6em);display:block;font-size:inherit}.kg-signup-card-button-loading{position:absolute;inset:0;align-items:center;justify-content:center;display:none}.kg-signup-card-form.loading .kg-signup-card-button-default{color:transparent}.kg-signup-card-form.loading .kg-signup-card-button-loading{display:flex}.kg-signup-card-disclaimer{margin:1rem 0 0}.kg-signup-card-form.error+.kg-signup-card-disclaimer,.kg-signup-card-form.success+.kg-signup-card-disclaimer{visibility:hidden}@media (max-width:640px){.kg-layout-split .kg-signup-card-content{grid-template-columns:1fr}.kg-width-wide .kg-signup-card-text{padding:min(6.4vmax,120px) min(4vmax,80px)}.kg-layout-split.kg-content-wide .kg-signup-card-text,.kg-layout-split.kg-content-wide.kg-swapped .kg-signup-card-text{padding:min(9.6vmax,180px)0}.kg-signup-card.kg-width-full .kg-signup-card-subheading:not(.kg-layout-split .kg-signup-card-subheading){max-width:unset}.kg-signup-card-content .kg-signup-card-image:not(.kg-content-wide .kg-signup-card-content .kg-signup-card-image){height:auto;min-height:unset;aspect-ratio:1/1}.kg-content-wide .kg-signup-card-content .kg-signup-card-image{padding:1.7em 0 0}.kg-content-wide.kg-swapped .kg-signup-card-content .kg-signup-card-image{padding:0 0 1.7em}.kg-signup-card-input{height:2.9em;padding:6px 12px;font-size:1em}.kg-signup-card-button{height:2.9em}.kg-signup-card.kg-width-full .kg-signup-card-button,.kg-signup-card.kg-width-wide .kg-signup-card-button{font-size:1em}}.kg-toggle-card,.kg-toggle-card *{box-sizing:border-box}.kg-toggle-card{background:0 0;box-shadow:inset 0 0 0 1px rgba(124,139,154,.25);border-radius:4px;padding:1.2em}.kg-toggle-card[data-kg-toggle-state=close] .kg-toggle-content{height:0;overflow:hidden;transition:opacity .5s ease,top .35s ease;opacity:0;top:-.5em;position:relative}.kg-toggle-content{height:auto;opacity:1;transition:opacity 1s ease,top .35s ease;top:0;position:relative}.kg-toggle-card[data-kg-toggle-state=close] svg{transform:unset}.kg-toggle-heading{cursor:pointer;display:flex;justify-content:space-between;align-items:flex-start}.kg-toggle-card h4.kg-toggle-heading-text{font-size:1.15em;font-weight:700;line-height:1.3em;margin-top:0;margin-bottom:0}.kg-toggle-content p:first-of-type{margin-top:.5em}.kg-toggle-card .kg-toggle-content ol,.kg-toggle-card .kg-toggle-content p,.kg-toggle-card .kg-toggle-content ul{font-size:.95em;line-height:1.5em;margin-top:.95em;margin-bottom:0}.kg-toggle-card-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-left:1em;padding:0;background:0 0;border:0;cursor:pointer}.kg-toggle-heading svg{width:14px;color:rgba(124,139,154,.5);transition:all .3s;transform:rotate(-180deg)}.kg-toggle-heading path{fill:none;stroke:currentcolor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5;fill-rule:evenodd}.kg-toggle-card+.kg-toggle-card{margin-top:1em}.kg-video-card,.kg-video-card *{box-sizing:border-box}.kg-video-card{position:relative;--seek-before-width:0%;--volume-before-width:100%;--buffered-width:0%}.kg-video-card video{display:block;max-width:100%;height:auto}.kg-video-container{position:relative;display:flex;flex-direction:column;align-items:center}.kg-video-large-play-icon,.kg-video-overlay{display:flex;justify-content:center;align-items:center;transition:opacity .2s ease-in-out}.kg-video-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(180deg,rgba(0,0,0,.3)0,transparent 70%,transparent 100%);z-index:999}.kg-video-large-play-icon{width:72px;height:72px;padding:0;background:rgba(0,0,0,.5);border-radius:50%}.kg-video-large-play-icon svg{width:20px;height:auto;margin-left:2px;fill:#fff}.kg-video-player-container{position:absolute;bottom:0;width:100%;height:80px;background:linear-gradient(transparent,rgba(0,0,0,.5));z-index:999;transition:opacity .2s ease-in-out}.kg-video-player{position:absolute;bottom:0;display:flex;align-items:center;width:100%;z-index:9999;padding:12px 16px}.kg-video-current-time,.kg-video-time{font-family:inherit;font-size:12.5px;font-weight:500;line-height:1.4em;white-space:nowrap}.kg-video-current-time{min-width:38px;padding:0 4px;color:#fff}.kg-video-time{color:rgba(255,255,255,.6)}.kg-video-duration{padding:0 4px}.kg-video-pause-icon,.kg-video-play-icon{position:relative;padding:0 4px 0 0;font-size:0;background:0 0}.kg-video-hide{display:none!important}.kg-video-hide-animated{opacity:0!important;transition:opacity .2s ease-in-out;cursor:initial}.kg-video-pause-icon svg,.kg-video-play-icon svg{width:14px;height:14px;fill:#fff}.kg-video-seek-slider{flex-grow:1;margin:0 4px}@media (max-width:520px){.kg-video-seek-slider{display:none}}.kg-video-playback-rate{min-width:37px;padding:0 4px;color:#fff;font-family:inherit;font-size:12.5px;font-weight:600;line-height:1.4em;text-align:left;background:0 0;white-space:nowrap}@media (max-width:520px){.kg-video-playback-rate{padding-left:8px}}.kg-video-mute-icon,.kg-video-unmute-icon{position:relative;bottom:-1px;padding:0 4px;font-size:0;background:0 0}@media (max-width:520px){.kg-video-mute-icon,.kg-video-unmute-icon{margin-left:auto}}.kg-video-mute-icon svg,.kg-video-unmute-icon svg{width:16px;height:16px;fill:#fff}.kg-video-volume-slider{width:80px}@media (max-width:300px){.kg-video-volume-slider{display:none}}.kg-video-seek-slider::before,.kg-video-volume-slider::before{content:"";position:absolute;left:0;width:var(--seek-before-width)!important;height:4px;cursor:pointer;background-color:#ebeef0;border-radius:2px}.kg-video-volume-slider::before{width:var(--volume-before-width)!important}.kg-video-card input[type=range]{position:relative;-webkit-appearance:none;background:0 0;height:auto;padding:0;border:0}.kg-video-card input[type=range]::-webkit-slider-thumb{-webkit-appearance:none}.kg-video-card input[type=range]::-webkit-slider-runnable-track{width:100%;height:4px;cursor:pointer;background:rgba(255,255,255,.2);border-radius:2px}.kg-video-card input[type=range]::-webkit-slider-thumb{position:relative;box-sizing:content-box;width:13px;height:13px;margin:-5px 0 0;border:0;cursor:pointer;background:#fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.24)}.kg-video-card input[type=range]:active::-webkit-slider-thumb{transform:scale(1.2)}.kg-video-card input[type=range]::-moz-range-track{width:100%;height:4px;cursor:pointer;background:rgba(255,255,255,.2);border-radius:2px}.kg-video-card input[type=range]::-moz-range-progress{background:#ebeef0;border-radius:2px}.kg-video-card input[type=range]::-moz-range-thumb{box-sizing:content-box;width:13px;height:13px;border:0;cursor:pointer;background:#fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.24)}.kg-video-card input[type=range]:active::-moz-range-thumb{transform:scale(1.2)}.kg-video-card input[type=range]::-ms-track{width:100%;height:3px;border:solid transparent;color:transparent;cursor:pointer;background:0 0}.kg-video-card input[type=range]::-ms-fill-lower{background:#fff}.kg-video-card input[type=range]::-ms-fill-upper{background:#ebeef0}.kg-video-card input[type=range]::-ms-thumb{box-sizing:content-box;width:13px;height:13px;border:0;cursor:pointer;background:#fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.24)}.kg-video-card input[type=range]:active::-ms-thumb{transform:scale(1.2)} \ No newline at end of file diff --git a/content/public/cards.min.js b/content/public/cards.min.js new file mode 100644 index 00000000..ba16a55f --- /dev/null +++ b/content/public/cards.min.js @@ -0,0 +1 @@ +!function(){const e=function(e){const t=e.querySelector(".kg-audio-player-container"),a=e.querySelector(".kg-audio-play-icon"),i=e.querySelector(".kg-audio-pause-icon"),o=e.querySelector(".kg-audio-seek-slider"),d=e.querySelector(".kg-audio-playback-rate"),r=e.querySelector(".kg-audio-mute-icon"),s=e.querySelector(".kg-audio-unmute-icon"),l=e.querySelector(".kg-audio-volume-slider"),n=e.querySelector("audio"),c=e.querySelector(".kg-audio-duration"),u=e.querySelector(".kg-audio-current-time");let g=[{rate:.75,label:"0.7×"},{rate:1,label:"1×"},{rate:1.25,label:"1.2×"},{rate:1.75,label:"1.7×"},{rate:2,label:"2×"}],v=null,m=1;const k=()=>{o.value=Math.floor(n.currentTime),u.textContent=h(o.value),t.style.setProperty("--seek-before-width",o.value/o.max*100+"%"),v=requestAnimationFrame(k)},y=e=>{e===o?t.style.setProperty("--seek-before-width",e.value/e.max*100+"%"):t.style.setProperty("--volume-before-width",e.value/e.max*100+"%")},h=e=>{const t=Math.floor(e/60),a=Math.floor(e%60);return`${t}:${a<10?`0${a}`:`${a}`}`},p=()=>{c.textContent=h(n.duration)},L=()=>{o.max=Math.floor(n.duration)},f=()=>{if(n.buffered.length>0){const e=Math.floor(n.buffered.end(n.buffered.length-1));t.style.setProperty("--buffered-width",e/o.max*100+"%")}};n.readyState>0?(p(),L(),f()):n.addEventListener("loadedmetadata",(()=>{p(),L(),f()})),a.addEventListener("click",(()=>{a.classList.add("kg-audio-hide"),i.classList.remove("kg-audio-hide"),n.play(),requestAnimationFrame(k)})),i.addEventListener("click",(()=>{i.classList.add("kg-audio-hide"),a.classList.remove("kg-audio-hide"),n.pause(),cancelAnimationFrame(v)})),r.addEventListener("click",(()=>{r.classList.add("kg-audio-hide"),s.classList.remove("kg-audio-hide"),n.muted=!1})),s.addEventListener("click",(()=>{s.classList.add("kg-audio-hide"),r.classList.remove("kg-audio-hide"),n.muted=!0})),d.addEventListener("click",(()=>{let e=g[(m+1)%5];m+=1,n.playbackRate=e.rate,d.textContent=e.label})),n.addEventListener("progress",f),o.addEventListener("input",(e=>{y(e.target),u.textContent=h(o.value),n.paused||cancelAnimationFrame(v)})),o.addEventListener("change",(()=>{n.currentTime=o.value,n.paused||requestAnimationFrame(k)})),l.addEventListener("input",(e=>{const t=e.target.value;y(e.target),n.volume=t/100}))},t=document.querySelectorAll(".kg-audio-card");for(let a=0;a{d.value=Math.floor(c.currentTime),g.textContent=f(d.value),t.style.setProperty("--seek-before-width",d.value/d.max*100+"%"),y=requestAnimationFrame(p)},L=e=>{e===d?t.style.setProperty("--seek-before-width",e.value/e.max*100+"%"):t.style.setProperty("--volume-before-width",e.value/e.max*100+"%")},f=e=>{const t=Math.floor(e/60),a=Math.floor(e%60);return`${t}:${a<10?`0${a}`:`${a}`}`},q=()=>{u.textContent=f(c.duration)},b=()=>{d.max=Math.floor(c.duration)},S=()=>{if(c.buffered.length>0){const e=Math.floor(c.buffered.end(c.buffered.length-1));t.style.setProperty("--buffered-width",e/d.max*100+"%")}};c.readyState>0?(q(),b(),S(),c.autoplay&&(y=requestAnimationFrame(p),i.classList.add("kg-video-hide"),o.classList.remove("kg-video-hide")),c.muted&&(l.classList.add("kg-video-hide"),s.classList.remove("kg-video-hide"))):c.addEventListener("loadedmetadata",(()=>{q(),b(),S(),c.autoplay&&(y=requestAnimationFrame(p),i.classList.add("kg-video-hide"),o.classList.remove("kg-video-hide")),c.muted&&(l.classList.add("kg-video-hide"),s.classList.remove("kg-video-hide"))})),e.onmouseover=()=>{c.loop||a.classList.remove("kg-video-hide-animated")},e.onmouseleave=()=>{!!(c.currentTime>0&&!c.paused&&!c.ended&&c.readyState>2)&&a.classList.add("kg-video-hide-animated")},e.addEventListener("click",(()=>{if(!c.loop){!!(c.currentTime>0&&!c.paused&&!c.ended&&c.readyState>2)?x():E()}})),c.onplay=()=>{v.classList.add("kg-video-hide-animated"),m.classList.add("kg-video-hide-animated"),i.classList.add("kg-video-hide"),o.classList.remove("kg-video-hide")};const E=()=>{v.classList.add("kg-video-hide-animated"),m.classList.add("kg-video-hide-animated"),i.classList.add("kg-video-hide"),o.classList.remove("kg-video-hide"),c.play(),y=requestAnimationFrame(p)},x=()=>{o.classList.add("kg-video-hide"),i.classList.remove("kg-video-hide"),c.pause(),cancelAnimationFrame(y)};v.addEventListener("click",(e=>{e.stopPropagation(),E()})),i.addEventListener("click",(e=>{e.stopPropagation(),E()})),o.addEventListener("click",(e=>{e.stopPropagation(),x()})),s.addEventListener("click",(e=>{e.stopPropagation(),s.classList.add("kg-video-hide"),l.classList.remove("kg-video-hide"),c.muted=!1})),l.addEventListener("click",(e=>{e.stopPropagation(),l.classList.add("kg-video-hide"),s.classList.remove("kg-video-hide"),c.muted=!0})),r.addEventListener("click",(e=>{e.stopPropagation();let t=k[(h+1)%5];h+=1,c.playbackRate=t.rate,r.textContent=t.label})),c.addEventListener("progress",S),d.addEventListener("input",(e=>{e.stopPropagation(),L(e.target),g.textContent=f(d.value),c.paused||cancelAnimationFrame(y)})),d.addEventListener("change",(e=>{e.stopPropagation(),c.currentTime=d.value,c.paused||requestAnimationFrame(p)})),n.addEventListener("click",(e=>{e.stopPropagation()})),d.addEventListener("click",(e=>{e.stopPropagation()})),n.addEventListener("input",(e=>{e.stopPropagation();const t=e.target.value;L(e.target),c.volume=t/100}))},t=document.querySelectorAll(".kg-video-card");for(let a=0;a{t[o.dataset.ghostCommentCount]||e.add(o.dataset.ghostCommentCount)}))},a=async function(){const n=Array.from(e);if(e.clear(),!n.length)return;const a=await fetch(`${o}?ids=${n.join(",")}`,{method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}});if(200!==a.status)return;const s=await a.json();for(const[e,o]of Object.entries(s))t[e]=o;!function(){for(const[e,o]of Object.entries(t))document.querySelectorAll(`[data-ghost-comment-count="${e}"]`).forEach((t=>{let e=t.dataset.ghostCommentCountEmpty;if(1===o&&(e=t.dataset.ghostCommentCountSingular?`${o} ${t.dataset.ghostCommentCountSingular}`:o),o>1&&(e=t.dataset.ghostCommentCountPlural?`${o} ${t.dataset.ghostCommentCountPlural}`:o),e)if("false"!==t.dataset.ghostCommentCountAutowrap){const o=document.createElement(t.dataset.ghostCommentCountTag);t.dataset.ghostCommentCountClassName&&o.classList.add(t.dataset.ghostCommentCountClassName),o.textContent=e,t.insertAdjacentElement("afterend",o)}else t.insertAdjacentText("afterend",e);t.remove()}))}()};new MutationObserver((t=>{t.forEach((t=>{t.addedNodes.forEach((t=>{n(t),function(t,e=100){let o}()}))}))})).observe(document.body,{subtree:!0,childList:!0}),n(document.body),a()}(); \ No newline at end of file diff --git a/content/public/member-attribution.min.js b/content/public/member-attribution.min.js new file mode 100644 index 00000000..3d4d5b0d --- /dev/null +++ b/content/public/member-attribution.min.js @@ -0,0 +1 @@ +const STORAGE_KEY="ghost-history",TIMEOUT=864e5,LIMIT=15;!async function(){try{const e=window.localStorage,r=e.getItem(STORAGE_KEY),t=(new Date).getTime();let i=[];if(r)try{i=JSON.parse(r)}catch(e){console.warn("[Member Attribution] Error while parsing history",e)}const a=i.findIndex((e=>{if(!e.time||"number"!=typeof e.time)return!1;const r=t-e.time;return!(isNaN(e.time)||r>TIMEOUT)}));let n,o,s,c,h;a>0?i.splice(0,a):-1===a&&(i=[]);try{const e=new URL(window.location.href);if(n=e.searchParams.get("ref"),o=e.searchParams.get("source"),s=e.searchParams.get("utm_source"),c=e.searchParams.get("utm_medium"),h=n||o||s||null,!h&&e.hash&&e.hash.includes("#/portal")){const e=new URL(window.location.href.replace("/#/portal",""));n=e.searchParams.get("ref"),o=e.searchParams.get("source"),s=e.searchParams.get("utm_source"),c=e.searchParams.get("utm_medium"),h=n||o||s||null}}catch(e){console.error("[Member Attribution] Parsing referrer from querystring failed",e)}const l=c||null,u=window.document.referrer||null;try{const e=new URL(window.location.href),r=e.searchParams;r.get("attribution_id")&&r.get("attribution_type")&&(i.push({time:t,id:r.get("attribution_id"),type:r.get("attribution_type"),referrerSource:h,referrerMedium:l,referrerUrl:u}),r.delete("attribution_id"),r.delete("attribution_type"),e.search="?"+r.toString(),window.history.replaceState({},"",`${e.pathname}${e.search}${e.hash}`))}catch(e){console.error("[Member Attribution] Parsing attribution from querystring failed",e)}const m=window.location.pathname;0===i.length||i[i.length-1].path!==m?i.push({path:m,time:t,referrerSource:h,referrerMedium:l,referrerUrl:u}):i.length>0&&(i[i.length-1].time=t,h&&(i[i.length-1].referrerSource=h,i[i.length-1].referrerMedium=l),u&&(i[i.length-1].referrerUrl=u)),i.length>15&&(i=i.slice(-15)),e.setItem(STORAGE_KEY,JSON.stringify(i))}catch(e){console.error("[Member Attribution] Failed with error",e)}}(); \ No newline at end of file diff --git a/content/settings/routes.yaml b/content/settings/routes.yaml new file mode 100644 index 00000000..7e2cb9c4 --- /dev/null +++ b/content/settings/routes.yaml @@ -0,0 +1,10 @@ +routes: + +collections: + /: + permalink: /{slug}/ + template: index + +taxonomies: + tag: /tag/{slug}/ + author: /author/{slug}/ diff --git a/content/themes/Dawn-custom/LICENSE b/content/themes/Dawn-custom/LICENSE new file mode 100644 index 00000000..fc33a5ec --- /dev/null +++ b/content/themes/Dawn-custom/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2013-2023 Ghost Foundation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/content/themes/Dawn-custom/README.md b/content/themes/Dawn-custom/README.md new file mode 100644 index 00000000..f595135b --- /dev/null +++ b/content/themes/Dawn-custom/README.md @@ -0,0 +1,38 @@ +# Dawn + +A highly functional [Ghost](https://github.com/TryGhost/Ghost) theme that adapts to the reader's preferences. Let them read, search, subscribe, navigate, and more with ease. + +**Demo: https://dawn.ghost.io** + +# Instructions + +1. [Download this theme](https://github.com/TryGhost/Dawn/archive/main.zip) +2. Log into Ghost, and go to the `Design` settings area to upload the zip file + +# Development + +Styles are compiled using Gulp/PostCSS to polyfill future CSS spec. You'll need [Node](https://nodejs.org/), [Yarn](https://yarnpkg.com/) and [Gulp](https://gulpjs.com) installed globally. After that, from the theme's root directory: + +```bash +# Install +yarn + +# Run build & watch for changes +yarn dev +``` + +Now you can edit `/assets/css/` files, which will be compiled to `/assets/built/` automatically. + +The `zip` Gulp task packages the theme files into `dist/dawn.zip`, which you can then upload to your site. + +```bash +yarn zip +``` + +# Contribution + +This repo is synced automatically with [TryGhost/Themes](https://github.com/TryGhost/Themes) monorepo. If you're looking to contribute or raise an issue, head over to the main repository [TryGhost/Themes](https://github.com/TryGhost/Themes) where our official themes are developed. + +# Copyright & License + +Copyright (c) 2013-2023 Ghost Foundation - Released under the [MIT license](LICENSE). diff --git a/content/themes/Dawn-custom/assets/built/main.min.js b/content/themes/Dawn-custom/assets/built/main.min.js new file mode 100644 index 00000000..0a25aa1d --- /dev/null +++ b/content/themes/Dawn-custom/assets/built/main.min.js @@ -0,0 +1 @@ +function dropdown(){const n=window.matchMedia("(max-width: 767px)"),s=document.querySelector(".gh-head-menu"),o=s?.querySelector(".nav");if(o){const t=document.querySelector(".gh-head-logo"),e=o.innerHTML;n.matches&&o.querySelectorAll("li").forEach(function(t,e){t.style.transitionDelay=.03*(e+1)+"s"});const i=function(){if(!n.matches){for(var t=[];o.offsetWidth+64>s.offsetWidth&&o.lastElementChild;)t.unshift(o.lastElementChild),o.lastElementChild.remove();if(t.length){const e=document.createElement("button"),i=(e.setAttribute("class","nav-more-toggle gh-icon-btn"),e.setAttribute("aria-label","More"),e.innerHTML='',document.createElement("div"));i.setAttribute("class","gh-dropdown"),10<=t.length?(document.body.classList.add("is-dropdown-mega"),i.style.gridTemplateRows=`repeat(${Math.ceil(t.length/2)}, 1fr)`):document.body.classList.remove("is-dropdown-mega"),t.forEach(function(t){i.appendChild(t)}),e.appendChild(i),o.appendChild(e),document.body.classList.add("is-dropdown-loaded"),window.addEventListener("click",function(t){document.body.classList.contains("is-dropdown-open")?document.body.classList.remove("is-dropdown-open"):e.contains(t.target)&&document.body.classList.add("is-dropdown-open")})}else document.body.classList.add("is-dropdown-loaded")}};imagesLoaded(t,function(){i()}),window.addEventListener("load",function(){t||i()}),window.addEventListener("resize",function(){setTimeout(()=>{o.innerHTML=e,i()},1)})}}function lightbox(t){document.querySelectorAll(t).forEach(function(t){t.addEventListener("click",function(t){var e=t;e.preventDefault();for(var i,n=[],s=0,o=e.target.closest(".kg-card").previousElementSibling;o&&(o.classList.contains("kg-image-card")||o.classList.contains("kg-gallery-card"));){var r=[];o.querySelectorAll("img").forEach(function(t){r.push({src:t.getAttribute("src"),msrc:t.getAttribute("src"),w:t.getAttribute("width"),h:t.getAttribute("height"),el:t}),s+=1}),o=o.previousElementSibling,n=r.concat(n)}e.target.classList.contains("kg-image")?n.push({src:e.target.getAttribute("src"),msrc:e.target.getAttribute("src"),w:e.target.getAttribute("width"),h:e.target.getAttribute("height"),el:e.target}):(i=!1,e.target.closest(".kg-gallery-card").querySelectorAll("img").forEach(function(t){n.push({src:t.getAttribute("src"),msrc:t.getAttribute("src"),w:t.getAttribute("width"),h:t.getAttribute("height"),el:t}),i||t===e.target?i=!0:s+=1}));for(var a=e.target.closest(".kg-card").nextElementSibling;a&&(a.classList.contains("kg-image-card")||a.classList.contains("kg-gallery-card"));)a.querySelectorAll("img").forEach(function(t){n.push({src:t.getAttribute("src"),msrc:t.getAttribute("src"),w:t.getAttribute("width"),h:t.getAttribute("height"),el:t})}),a=a.nextElementSibling;t=document.querySelectorAll(".pswp")[0];new PhotoSwipe(t,PhotoSwipeUI_Default,n,{bgOpacity:.9,closeOnScroll:!0,fullscreenEl:!1,history:!1,index:s,shareEl:!1,zoomEl:!1,getThumbBoundsFn:function(t){var t=n[t].el,e=window.pageYOffset||document.documentElement.scrollTop,t=t.getBoundingClientRect();return{x:t.left,y:t.top+e,w:t.width}}}).init()})})}function pagination(t,a,l=!1){const c=document.querySelector(".gh-feed");if(!c)return;let e=!1;async function i(){var e=document.querySelector("link[rel=next]");if(e)try{var t=await(await fetch(e.href)).text(),i=(new DOMParser).parseFromString(t,"text/html"),n=i.querySelectorAll(".gh-feed:not(.gh-featured):not(.gh-related) > *");const o=document.createDocumentFragment(),r=[];n.forEach(function(t){t=document.importNode(t,!0);l&&(t.style.visibility="hidden"),o.appendChild(t),r.push(t)}),c.appendChild(o),a&&a(r,u);var s=i.querySelector("link[rel=next]");s&&s.href?e.href=s.href:(e.remove(),h&&h.remove())}catch(t){throw e.remove(),h&&h.remove(),t}}const n=c.nextElementSibling||c.parentElement.nextElementSibling||document.querySelector(".gh-foot"),h=document.querySelector(".gh-loadmore"),u=(!document.querySelector("link[rel=next]")&&h&&h.remove(),async function(){n.getBoundingClientRect().top<=window.innerHeight&&document.querySelector("link[rel=next]")&&await i()});const s=new IntersectionObserver(async function(t){if(!e){if(e=!0,t[0].isIntersecting)if(l)await i();else for(;n.getBoundingClientRect().top<=window.innerHeight&&document.querySelector("link[rel=next]");)await i();e=!1,document.querySelector("link[rel=next]")||s.disconnect()}});t?s.observe(n):h.addEventListener("click",i)}function featured(){"use strict";$(".featured-feed").owlCarousel({dots:!1,margin:30,nav:!0,navText:['',''],responsive:{0:{items:1},768:{items:2},992:{items:3}}})}!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var i;return t&&e&&((i=(i=this._events=this._events||{})[t]=i[t]||[]).includes(e)||i.push(e)),this},e.once=function(t,e){var i;return t&&e&&(this.on(t,e),((i=this._onceEvents=this._onceEvents||{})[t]=i[t]||{})[e]=!0),this},e.off=function(t,e){t=this._events&&this._events[t];return t&&t.length&&-1!=(e=t.indexOf(e))&&t.splice(e,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];var n,s=this._onceEvents&&this._onceEvents[t];for(n of i)s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t}),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){let o=e.jQuery,r=e.console;function a(t,e,i){if(!(this instanceof a))return new a(t,e,i);let n=t;var s;(n="string"==typeof t?document.querySelectorAll(t):n)?(this.elements=(s=n,Array.isArray(s)?s:"object"==typeof s&&"number"==typeof s.length?[...s]:[s]),this.options={},"function"==typeof e?i=e:Object.assign(this.options,e),i&&this.on("always",i),this.getImages(),o&&(this.jqDeferred=new o.Deferred),setTimeout(this.check.bind(this))):r.error("Bad element for imagesLoaded "+(n||t))}(a.prototype=Object.create(t.prototype)).getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const s=[1,9,11],l=(a.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e,i,n=t["nodeType"];if(n&&s.includes(n)){for(e of t.querySelectorAll("img"))this.addImage(e);if("string"==typeof this.options.background)for(i of t.querySelectorAll(this.options.background))this.addElementBackgroundImages(i)}},/url\((['"])?(.*?)\1\)/gi);function i(t){this.img=t}function n(t,e){this.url=t,this.element=e,this.img=new Image}return a.prototype.addElementBackgroundImages=function(e){var i=getComputedStyle(e);if(i){let t=l.exec(i.backgroundImage);for(;null!==t;){var n=t&&t[2];n&&this.addBackground(n,e),t=l.exec(i.backgroundImage)}}},a.prototype.addImage=function(t){t=new i(t);this.images.push(t)},a.prototype.addBackground=function(t,e){t=new n(t,e);this.images.push(t)},a.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,this.images.length){let e=(t,e,i)=>{setTimeout(()=>{this.progress(t,e,i)})};this.images.forEach(function(t){t.once("progress",e),t.check()})}else this.complete()},a.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+i,t,e)},a.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(t=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[t](this))},(i.prototype=Object.create(t.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(t,e){this.isLoaded=t;t=this.img.parentNode,t="PICTURE"===t.nodeName?t:this.img;this.emitEvent("progress",[this,t,e])},i.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},(a.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((o=t).fn.imagesLoaded=function(t,e){return new a(this,t,e).jqDeferred.promise(o(this))})})(),a}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.PhotoSwipeUI_Default=e()}(this,function(){"use strict";return function(n,a){function t(t){if(I)return!0;t=t||window.event,T.timeToIdle&&T.mouseUsed&&!w&&l();for(var e,i,n=(t.target||t.srcElement).getAttribute("class")||"",s=0;s<$.length;s++)(e=$[s]).onTap&&-1