diff --git a/pkg/app/post_routes.go b/pkg/app/post_routes.go index 52a368b..48a0d9d 100644 --- a/pkg/app/post_routes.go +++ b/pkg/app/post_routes.go @@ -3,7 +3,9 @@ package app import ( "net/http" "strconv" + "strings" + "github.com/Damillora/Shioriko/pkg/database" "github.com/Damillora/Shioriko/pkg/middleware" "github.com/Damillora/Shioriko/pkg/models" "github.com/Damillora/Shioriko/pkg/services" @@ -16,7 +18,6 @@ func InitializePostRoutes(g *gin.Engine) { { unprotected.GET("/", postGet) unprotected.GET("/:id", postGetOne) - unprotected.GET("/tag/:id", postGetTag) } protected := g.Group("/api/post").Use(middleware.AuthMiddleware()) { @@ -30,7 +31,22 @@ func InitializePostRoutes(g *gin.Engine) { func postGet(c *gin.Context) { pageParam := c.Query("page") page, _ := strconv.Atoi(pageParam) - posts := services.GetPostAll(page) + + tag := c.Query("tags") + + tags := strings.Split(tag, " ") + + var posts []database.Post + var postPages int + + if tag != "" { + posts = services.GetPostTags(page, tags) + postPages = services.CountPostPagesTag(tags) + } else { + posts = services.GetPostAll(page) + postPages = services.CountPostPages() + } + var postResult []models.PostListItem for _, post := range posts { var tagStrings []string @@ -44,35 +60,6 @@ func postGet(c *gin.Context) { Tags: tagStrings, }) } - postPages := services.CountPostPages() - c.JSON(http.StatusOK, models.PostPaginationResponse{ - CurrentPage: page, - TotalPage: postPages, - Posts: postResult, - }) -} - -func postGetTag(c *gin.Context) { - pageParam := c.Query("page") - page, _ := strconv.Atoi(pageParam) - - tag := c.Param("id") - - posts := services.GetPostTag(page, tag) - var postResult []models.PostListItem - for _, post := range posts { - var tagStrings []string - for _, tag := range post.Tags { - tagStrings = append(tagStrings, tag.TagType.Name+":"+tag.Name) - } - - postResult = append(postResult, models.PostListItem{ - ID: post.ID, - ImagePath: "/data/" + post.Blob.FilePath, - Tags: tagStrings, - }) - } - postPages := services.CountPostPagesTag(tag) c.JSON(http.StatusOK, models.PostPaginationResponse{ CurrentPage: page, TotalPage: postPages, diff --git a/pkg/services/post.go b/pkg/services/post.go index 653b7e5..f8cc855 100644 --- a/pkg/services/post.go +++ b/pkg/services/post.go @@ -1,6 +1,9 @@ package services import ( + "log" + "math" + "github.com/Damillora/Shioriko/pkg/database" "github.com/Damillora/Shioriko/pkg/models" "github.com/google/uuid" @@ -10,17 +13,18 @@ const perPage = 20 func GetPostAll(page int) []database.Post { var posts []database.Post - database.DB.Joins("Blob").Preload("Tags").Preload("Tags.TagType").Offset((page - 1) * perPage).Limit(20).Find(&posts) + database.DB.Joins("Blob").Preload("Tags").Preload("Tags.TagType").Order("created_at desc").Offset((page - 1) * perPage).Limit(20).Find(&posts) return posts } -func GetPostTag(page int, tagSyntax string) []database.Post { - tag, err := GetTag(tagSyntax) +func GetPostTags(page int, tagSyntax []string) []database.Post { + tags, err := ParseReadTags(tagSyntax) + log.Println(tags) if err != nil { return []database.Post{} } var posts []database.Post - database.DB.Model(&tag).Joins("Blob").Preload("Tags").Preload("Tags.TagType").Offset((page - 1) * perPage).Limit(20).Association("Posts").Find(&posts) + database.DB.Model(&tags).Distinct().Joins("Blob").Preload("Tags").Preload("Tags.TagType").Order("created_at desc").Offset((page - 1) * perPage).Limit(20).Association("Posts").Find(&posts) return posts } @@ -59,34 +63,38 @@ func UpdatePost(id string, model models.PostUpdateModel) (*database.Post, error) } var post database.Post - result := database.DB.Where("id = ?", id).First(&post) + result := database.DB.Preload("Tags").Where("id = ?", id).First(&post) if result.Error != nil { return nil, result.Error } + + database.DB.Model(&post).Association("Tags").Replace(tags) + post.SourceURL = model.SourceURL - post.Tags = tags result = database.DB.Save(&post) if result.Error != nil { return nil, result.Error } + return &post, nil } func CountPostPages() int { var count int64 database.DB.Model(&database.Post{}).Count(&count) - return int(count/perPage) + 1 + return int(math.Abs(float64(count-1))/perPage) + 1 } -func CountPostPagesTag(tagSyntax string) int { - tag, err := GetTag(tagSyntax) +func CountPostPagesTag(tagSyntax []string) int { + tags, err := ParseReadTags(tagSyntax) if err != nil { return 0 } var count int64 - count = database.DB.Model(&tag).Joins("Blob").Preload("Tags").Preload("Tags.TagType").Association("Posts").Count() - return int(count/perPage) + 1 + count = database.DB.Model(&tags).Distinct().Joins("Blob").Preload("Tags").Preload("Tags.TagType").Association("Posts").Count() + + return int(math.Abs(float64(count-1))/perPage) + 1 } func DeletePost(id string) error { diff --git a/pkg/services/tag.go b/pkg/services/tag.go index ff75a0c..7a45171 100644 --- a/pkg/services/tag.go +++ b/pkg/services/tag.go @@ -14,27 +14,15 @@ func GetTagAll() []database.Tag { return tags } -func CreateOrUpdateTagGeneric(tagName string) (*database.Tag, error) { +func FindTagGeneric(tagName string) (*database.Tag, error) { var tag database.Tag result := database.DB.Where("name = ?", tagName).First(&tag) if result.Error != nil { - var tagType database.TagType - database.DB.Where("name = ?", "general").First(&tagType) - - tag = database.Tag{ - ID: uuid.NewString(), - Name: tagName, - TagTypeID: tagType.ID, - } - result = database.DB.Create(&tag) - if result.Error != nil { - return nil, result.Error - } - + return nil, result.Error } return &tag, nil } -func CreateOrUpdateTagComplex(tagName string, tagTypeString string) (*database.Tag, error) { +func FindTagComplex(tagName string, tagTypeString string) (*database.Tag, error) { var tag database.Tag var tagType database.TagType result := database.DB.Where("name = ?", tagTypeString).First(&tagType) @@ -45,7 +33,40 @@ func CreateOrUpdateTagComplex(tagName string, tagTypeString string) (*database.T result = database.DB.Where("name = ? AND tag_type_id = ? ", tagName, tagType.ID).First(&tag) if result.Error != nil { - tag = database.Tag{ + return nil, result.Error + } + return &tag, nil +} + +func CreateOrUpdateTagGeneric(tagName string) (*database.Tag, error) { + tag, err := FindTagGeneric(tagName) + if err != nil { + var tagType database.TagType + database.DB.Where("name = ?", "general").First(&tagType) + + tag = &database.Tag{ + ID: uuid.NewString(), + Name: tagName, + TagTypeID: tagType.ID, + } + result := database.DB.Create(&tag) + if result.Error != nil { + return nil, result.Error + } + + } + return tag, nil +} +func CreateOrUpdateTagComplex(tagName string, tagTypeString string) (*database.Tag, error) { + tag, err := FindTagComplex(tagName, tagTypeString) + + if err != nil { + var tagType database.TagType + result := database.DB.Where("name = ?", tagTypeString).First(&tagType) + if result.Error != nil { + return nil, result.Error + } + tag = &database.Tag{ ID: uuid.NewString(), Name: tagName, TagTypeID: tagType.ID, @@ -56,7 +77,7 @@ func CreateOrUpdateTagComplex(tagName string, tagTypeString string) (*database.T } } - return &tag, nil + return tag, nil } func CreateOrUpdateTag(tagSyntax string) (*database.Tag, error) { tagFields := strings.Split(tagSyntax, ":") @@ -73,30 +94,20 @@ func CreateOrUpdateTag(tagSyntax string) (*database.Tag, error) { return nil, errors.New("Malformed tag syntax") } } - -func GetTag(tagSyntax string) (*database.Tag, error) { +func FindTag(tagSyntax string) (*database.Tag, error) { tagFields := strings.Split(tagSyntax, ":") var tagName string - var tagType database.TagType + var tagType string if len(tagFields) == 1 { tagName = tagFields[0] - database.DB.Where("name = ?", "general").First(&tagType) + return FindTagGeneric(tagName) } else if len(tagFields) == 2 { + tagType = tagFields[0] tagName = tagFields[1] - result := database.DB.Where("name = ?", tagFields[0]).First(&tagType) - if result.Error != nil { - return nil, result.Error - } + return FindTagComplex(tagName, tagType) } else { return nil, errors.New("Malformed tag syntax") } - var tag database.Tag - result := database.DB.Preload("Posts").Where("name = ? AND tag_type_id = ? ", tagName, tagType.ID).First(&tag) - - if result.Error != nil { - return nil, result.Error - } - return &tag, nil } func ParseTags(tags []string) ([]database.Tag, error) { @@ -110,3 +121,15 @@ func ParseTags(tags []string) ([]database.Tag, error) { } return result, nil } + +func ParseReadTags(tags []string) ([]database.Tag, error) { + var result []database.Tag + for _, tagSyntax := range tags { + tag, err := FindTag(tagSyntax) + if err != nil { + return nil, err + } + result = append(result, *tag) + } + return result, nil +} diff --git a/web/app/src/App.svelte b/web/app/src/App.svelte index dbd3ce9..0ad7f0b 100644 --- a/web/app/src/App.svelte +++ b/web/app/src/App.svelte @@ -8,8 +8,8 @@ import Post from "./routes/Post.svelte"; import Login from "./routes/Login.svelte"; import Logout from "./routes/Logout.svelte"; - import Tag from "./routes/Tag.svelte"; import Upload from "./routes/Upload.svelte"; + import Edit from "./routes/Edit.svelte"; export let url = ""; let baseURL = window.BASE_URL; @@ -20,8 +20,8 @@
- + diff --git a/web/app/src/PostPaginator.svelte b/web/app/src/PostPaginator.svelte index 0ed2250..6c37e64 100644 --- a/web/app/src/PostPaginator.svelte +++ b/web/app/src/PostPaginator.svelte @@ -1,88 +1,101 @@ -
-
- +
+ {#each postChunks as postChunk} +
+ {#each postChunk as post, i (post.id)} +
@@ -91,16 +104,16 @@
-
+ {#if post.tags} {#each post.tags as tag (tag)} -

- {tag} -

+ {/each} -
+ {:else} + None + {/if}
{/each}
-
-
+ {/each} +
diff --git a/web/app/src/TagLink.svelte b/web/app/src/TagLink.svelte new file mode 100644 index 0000000..eb9e4dd --- /dev/null +++ b/web/app/src/TagLink.svelte @@ -0,0 +1,10 @@ + + +{tagName} diff --git a/web/app/src/api.js b/web/app/src/api.js index 0f8c366..e4113e8 100644 --- a/web/app/src/api.js +++ b/web/app/src/api.js @@ -27,10 +27,16 @@ export async function getPosts({ page }) { return response.data; } -export async function getPostsTag({ page, tag }) { - const endpoint = url + "/api/post/tag/" + tag + "?page=" + page; - const response = await axios(endpoint); - return response.data; +export async function getPostSearchTag({ page, q }) { + if (q) { + const endpoint = url + "/api/post?tags=" + q + "&page=" + page; + const response = await axios(endpoint); + return response.data; + } else { + const endpoint = url + "/api/post?page=" + page; + const response = await axios(endpoint); + return response.data; + } } export async function getPost({ id }) { @@ -75,4 +81,20 @@ export async function postCreate({ blob_id, source_url, tags }) { } }) return response.data; +} + +export async function postUpdate(id, { source_url, tags }) { + const endpoint = url + "/api/post/"+id; + const response = await axios({ + url: endpoint, + method: "POST", + headers: { + 'Authorization': 'Bearer ' + current_token, + }, + withCredentials: true, + data: { + source_url, tags + } + }) + return response.data; } \ No newline at end of file diff --git a/web/app/src/main.scss b/web/app/src/main.scss index 029d6e7..8ab3ce3 100644 --- a/web/app/src/main.scss +++ b/web/app/src/main.scss @@ -1,9 +1,13 @@ +@import '../node_modules/bulma/sass/utilities/_all'; +@import '../node_modules/bulma/sass/base/_all'; +@import '../node_modules/bulma/sass/elements/_all'; +@import '../node_modules/bulma/sass/form/_all'; +@import '../node_modules/bulma/sass/components/_all'; +@import '../node_modules/bulma/sass/grid/_all'; +@import '../node_modules/bulma/sass/helpers/_all'; +@import '../node_modules/bulma/sass/layout/_all'; -@import "../node_modules/bulma/sass/utilities/_all"; -@import "../node_modules/bulma/sass/base/_all"; -@import "../node_modules/bulma/sass/elements/_all"; -@import "../node_modules/bulma/sass/form/_all"; -@import "../node_modules/bulma/sass/components/_all"; -@import "../node_modules/bulma/sass/grid/_all"; -@import "../node_modules/bulma/sass/helpers/_all"; -@import "../node_modules/bulma/sass/layout/_all"; +.tile.is-multiline { + flex-wrap: wrap; + } + \ No newline at end of file diff --git a/web/app/src/routes/Edit.svelte b/web/app/src/routes/Edit.svelte new file mode 100644 index 0000000..969b821 --- /dev/null +++ b/web/app/src/routes/Edit.svelte @@ -0,0 +1,90 @@ + + +
+
+

Edit Post: {id}

+
+
+ +
+
+
+
+

+ Back +

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+
+
+ {id} +
+
+
+
+
diff --git a/web/app/src/routes/Post.svelte b/web/app/src/routes/Post.svelte index d710980..d30634f 100644 --- a/web/app/src/routes/Post.svelte +++ b/web/app/src/routes/Post.svelte @@ -1,59 +1,73 @@ -
{#if post} -

- Post ID: {post.id} -

- {/if} +

+ Post ID: {post.id} +

+ {/if}
{#if post} -
-
-
-
-

- Source URL: {trimUrl(post.source_url)} -

-

- Tags: - {#each post.tags as tag (tag)} -

    -
  • - {tag} -
  • -
- {/each} -

+
+
+
+
+
+

+ Edit +

+

+ Source URL: {trimUrl(post.source_url)} +

+

+ Tags:
+

+

+ {#if post.tags} + {#each post.tags as tag (tag)} + + {/each} + {:else} + None + {/if} +

+
+
+
+
+ {post.id} +
+
-
-
- {post.id} -
-
-
-
-
-{/if} \ No newline at end of file + + +{/if} diff --git a/web/app/src/routes/Posts.svelte b/web/app/src/routes/Posts.svelte index d00a956..01b422a 100644 --- a/web/app/src/routes/Posts.svelte +++ b/web/app/src/routes/Posts.svelte @@ -1,30 +1,45 @@
@@ -40,4 +63,36 @@
- \ No newline at end of file +
+
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+ +
+
+
diff --git a/web/app/src/routes/Tag.svelte b/web/app/src/routes/Tag.svelte deleted file mode 100644 index 08c1ae7..0000000 --- a/web/app/src/routes/Tag.svelte +++ /dev/null @@ -1,47 +0,0 @@ - - -
-
-

- {id} -

-

Tag

-
-
- - \ No newline at end of file diff --git a/web/app/src/routes/Upload.svelte b/web/app/src/routes/Upload.svelte index d4deed6..406aed0 100644 --- a/web/app/src/routes/Upload.svelte +++ b/web/app/src/routes/Upload.svelte @@ -88,7 +88,7 @@
- +
diff --git a/web/static/bundle.js b/web/static/bundle.js index ae38c30..9c35571 100644 --- a/web/static/bundle.js +++ b/web/static/bundle.js @@ -1236,7 +1236,7 @@ var app = (function () { /* node_modules/svelte-routing/src/Router.svelte generated by Svelte v3.38.2 */ - function create_fragment$d(ctx) { + function create_fragment$e(ctx) { let current; const default_slot_template = /*#slots*/ ctx[9].default; const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[8], null); @@ -1278,7 +1278,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_fragment$d.name, + id: create_fragment$e.name, type: "component", source: "", ctx @@ -1287,7 +1287,7 @@ var app = (function () { return block; } - function instance$d($$self, $$props, $$invalidate) { + function instance$e($$self, $$props, $$invalidate) { let $base; let $location; let $routes; @@ -1497,13 +1497,13 @@ var app = (function () { class Router extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance$d, create_fragment$d, safe_not_equal, { basepath: 3, url: 4 }); + init(this, options, instance$e, create_fragment$e, safe_not_equal, { basepath: 3, url: 4 }); dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Router", options, - id: create_fragment$d.name + id: create_fragment$e.name }); } @@ -1542,7 +1542,7 @@ var app = (function () { let if_block; let if_block_anchor; let current; - const if_block_creators = [create_if_block_1$5, create_else_block$3]; + const if_block_creators = [create_if_block_1$5, create_else_block$4]; const if_blocks = []; function select_block_type(ctx, dirty) { @@ -1617,7 +1617,7 @@ var app = (function () { } // (43:2) {:else} - function create_else_block$3(ctx) { + function create_else_block$4(ctx) { let current; const default_slot_template = /*#slots*/ ctx[10].default; const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[9], get_default_slot_context); @@ -1656,7 +1656,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_else_block$3.name, + id: create_else_block$4.name, type: "else", source: "(43:2) {:else}", ctx @@ -1768,7 +1768,7 @@ var app = (function () { return block; } - function create_fragment$c(ctx) { + function create_fragment$d(ctx) { let if_block_anchor; let current; let if_block = /*$activeRoute*/ ctx[1] !== null && /*$activeRoute*/ ctx[1].route === /*route*/ ctx[7] && create_if_block$5(ctx); @@ -1827,7 +1827,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_fragment$c.name, + id: create_fragment$d.name, type: "component", source: "", ctx @@ -1836,7 +1836,7 @@ var app = (function () { return block; } - function instance$c($$self, $$props, $$invalidate) { + function instance$d($$self, $$props, $$invalidate) { let $activeRoute; let $location; let { $$slots: slots = {}, $$scope } = $$props; @@ -1939,13 +1939,13 @@ var app = (function () { class Route extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance$c, create_fragment$c, safe_not_equal, { path: 8, component: 0 }); + init(this, options, instance$d, create_fragment$d, safe_not_equal, { path: 8, component: 0 }); dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Route", options, - id: create_fragment$c.name + id: create_fragment$d.name }); } @@ -1969,7 +1969,7 @@ var app = (function () { /* node_modules/svelte-routing/src/Link.svelte generated by Svelte v3.38.2 */ const file$a = "node_modules/svelte-routing/src/Link.svelte"; - function create_fragment$b(ctx) { + function create_fragment$c(ctx) { let a; let current; let mounted; @@ -2047,7 +2047,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_fragment$b.name, + id: create_fragment$c.name, type: "component", source: "", ctx @@ -2056,7 +2056,7 @@ var app = (function () { return block; } - function instance$b($$self, $$props, $$invalidate) { + function instance$c($$self, $$props, $$invalidate) { let ariaCurrent; const omit_props_names = ["to","replace","state","getProps"]; let $$restProps = compute_rest_props($$props, omit_props_names); @@ -2195,7 +2195,7 @@ var app = (function () { constructor(options) { super(options); - init(this, options, instance$b, create_fragment$b, safe_not_equal, { + init(this, options, instance$c, create_fragment$c, safe_not_equal, { to: 7, replace: 8, state: 9, @@ -2206,7 +2206,7 @@ var app = (function () { component: this, tagName: "Link", options, - id: create_fragment$b.name + id: create_fragment$c.name }); } @@ -2383,7 +2383,7 @@ var app = (function () { } // (52:12) {:else} - function create_else_block$2(ctx) { + function create_else_block$3(ctx) { let div1; let div0; let link0; @@ -2451,7 +2451,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_else_block$2.name, + id: create_else_block$3.name, type: "else", source: "(52:12) {:else}", ctx @@ -2471,7 +2471,7 @@ var app = (function () { props: { to: "/auth/logout", class: "button is-light", - $$slots: { default: [create_default_slot$3] }, + $$slots: { default: [create_default_slot$5] }, $$scope: { ctx } }, $$inline: true @@ -2576,7 +2576,7 @@ var app = (function () { } // (47:24) - function create_default_slot$3(ctx) { + function create_default_slot$5(ctx) { let t; const block = { @@ -2593,7 +2593,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_default_slot$3.name, + id: create_default_slot$5.name, type: "slot", source: "(47:24) ", ctx @@ -2602,7 +2602,7 @@ var app = (function () { return block; } - function create_fragment$a(ctx) { + function create_fragment$b(ctx) { let nav; let div0; let link0; @@ -2647,7 +2647,7 @@ var app = (function () { }); let if_block0 = /*loggedIn*/ ctx[1] && create_if_block_1$4(ctx); - const if_block_creators = [create_if_block$4, create_else_block$2]; + const if_block_creators = [create_if_block$4, create_else_block$3]; const if_blocks = []; function select_block_type(ctx, dirty) { @@ -2826,7 +2826,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_fragment$a.name, + id: create_fragment$b.name, type: "component", source: "", ctx @@ -2835,7 +2835,7 @@ var app = (function () { return block; } - function instance$a($$self, $$props, $$invalidate) { + function instance$b($$self, $$props, $$invalidate) { let { $$slots: slots = {}, $$scope } = $$props; validate_slots("Navbar", slots, []); let menu_shown = false; @@ -2878,13 +2878,13 @@ var app = (function () { class Navbar extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance$a, create_fragment$a, safe_not_equal, {}); + init(this, options, instance$b, create_fragment$b, safe_not_equal, {}); dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Navbar", options, - id: create_fragment$a.name + id: create_fragment$b.name }); } } @@ -2893,7 +2893,7 @@ var app = (function () { const file$8 = "src/routes/Home.svelte"; - function create_fragment$9(ctx) { + function create_fragment$a(ctx) { let section; let div; let p0; @@ -2938,7 +2938,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_fragment$9.name, + id: create_fragment$a.name, type: "component", source: "", ctx @@ -2947,7 +2947,7 @@ var app = (function () { return block; } - function instance$9($$self, $$props) { + function instance$a($$self, $$props) { let { $$slots: slots = {}, $$scope } = $$props; validate_slots("Home", slots, []); const writable_props = []; @@ -2962,13 +2962,13 @@ var app = (function () { class Home extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance$9, create_fragment$9, safe_not_equal, {}); + init(this, options, instance$a, create_fragment$a, safe_not_equal, {}); dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Home", options, - id: create_fragment$9.name + id: create_fragment$a.name }); } } @@ -4450,16 +4450,16 @@ var app = (function () { return response.data; } - async function getPosts({ page }) { - const endpoint = url + "/api/post?page=" + page; - const response = await axios.get(endpoint); - return response.data; - } - - async function getPostsTag({ page, tag }) { - const endpoint = url + "/api/post/tag/" + tag + "?page=" + page; - const response = await axios(endpoint); - return response.data; + async function getPostSearchTag({ page, q }) { + if (q) { + const endpoint = url + "/api/post?tags=" + q + "&page=" + page; + const response = await axios(endpoint); + return response.data; + } else { + const endpoint = url + "/api/post?page=" + page; + const response = await axios(endpoint); + return response.data; + } } async function getPost({ id }) { @@ -4506,6 +4506,1817 @@ var app = (function () { return response.data; } + async function postUpdate(id, { source_url, tags }) { + const endpoint = url + "/api/post/"+id; + const response = await axios({ + url: endpoint, + method: "POST", + headers: { + 'Authorization': 'Bearer ' + current_token, + }, + withCredentials: true, + data: { + source_url, tags + } + }); + return response.data; + } + + /* src/TagLink.svelte generated by Svelte v3.38.2 */ + + // (10:0) + function create_default_slot$4(ctx) { + let t; + + const block = { + c: function create() { + t = text(/*tagName*/ ctx[0]); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + p: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot$4.name, + type: "slot", + source: "(10:0) ", + ctx + }); + + return block; + } + + function create_fragment$9(ctx) { + let link; + let current; + + link = new Link({ + props: { + class: "button is-rounded is-primary is-small m-1", + to: "/posts?tags=" + /*tagName*/ ctx[0], + $$slots: { default: [create_default_slot$4] }, + $$scope: { ctx } + }, + $$inline: true + }); + + const block = { + c: function create() { + create_component(link.$$.fragment); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + mount_component(link, target, anchor); + current = true; + }, + p: function update(ctx, [dirty]) { + const link_changes = {}; + + if (dirty & /*$$scope*/ 8) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(link, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$9.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$9($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots("TagLink", slots, []); + let { tag } = $$props; + let tagType = tag.split(":")[0] ?? ""; + let tagName = tag.split(":")[1] ?? ""; + const writable_props = ["tag"]; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$$set = $$props => { + if ("tag" in $$props) $$invalidate(1, tag = $$props.tag); + }; + + $$self.$capture_state = () => ({ Link, tag, tagType, tagName }); + + $$self.$inject_state = $$props => { + if ("tag" in $$props) $$invalidate(1, tag = $$props.tag); + if ("tagType" in $$props) tagType = $$props.tagType; + if ("tagName" in $$props) $$invalidate(0, tagName = $$props.tagName); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [tagName, tag]; + } + + class TagLink extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$9, create_fragment$9, safe_not_equal, { tag: 1 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "TagLink", + options, + id: create_fragment$9.name + }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*tag*/ ctx[1] === undefined && !("tag" in props)) { + console.warn(" was created without expected prop 'tag'"); + } + } + + get tag() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set tag(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/PostPaginator.svelte generated by Svelte v3.38.2 */ + const file$7 = "src/PostPaginator.svelte"; + + function get_each_context$2(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[7] = list[i]; + return child_ctx; + } + + function get_each_context_1$1(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[10] = list[i]; + child_ctx[12] = i; + return child_ctx; + } + + function get_each_context_2(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[13] = list[i]; + return child_ctx; + } + + function get_each_context_3(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[12] = list[i]; + return child_ctx; + } + + // (26:4) {#if page > 1} + function create_if_block_6(ctx) { + let link; + let current; + + link = new Link({ + props: { + to: "" + (/*url*/ ctx[3] + "page=" + (/*page*/ ctx[0] - 1)), + class: "pagination-previous", + "aria-label": "Previous", + $$slots: { default: [create_default_slot_6] }, + $$scope: { ctx } + }, + $$inline: true + }); + + link.$on("click", function () { + if (is_function(/*handlePage*/ ctx[2](/*page*/ ctx[0] - 1))) /*handlePage*/ ctx[2](/*page*/ ctx[0] - 1).apply(this, arguments); + }); + + const block = { + c: function create() { + create_component(link.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(link, target, anchor); + current = true; + }, + p: function update(new_ctx, dirty) { + ctx = new_ctx; + const link_changes = {}; + if (dirty & /*url, page*/ 9) link_changes.to = "" + (/*url*/ ctx[3] + "page=" + (/*page*/ ctx[0] - 1)); + + if (dirty & /*$$scope*/ 262144) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(link, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_6.name, + type: "if", + source: "(26:4) {#if page > 1}", + ctx + }); + + return block; + } + + // (27:8) + function create_default_slot_6(ctx) { + let t; + + const block = { + c: function create() { + t = text("Previous"); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot_6.name, + type: "slot", + source: "(27:8) ", + ctx + }); + + return block; + } + + // (34:4) {#if page < totalPages} + function create_if_block_5(ctx) { + let link; + let current; + + link = new Link({ + props: { + to: "" + (/*url*/ ctx[3] + "page=" + (/*page*/ ctx[0] + 1)), + class: "pagination-next", + "aria-label": "Next", + $$slots: { default: [create_default_slot_5] }, + $$scope: { ctx } + }, + $$inline: true + }); + + link.$on("click", function () { + if (is_function(/*handlePage*/ ctx[2](/*page*/ ctx[0] + 1))) /*handlePage*/ ctx[2](/*page*/ ctx[0] + 1).apply(this, arguments); + }); + + const block = { + c: function create() { + create_component(link.$$.fragment); + }, + m: function mount(target, anchor) { + mount_component(link, target, anchor); + current = true; + }, + p: function update(new_ctx, dirty) { + ctx = new_ctx; + const link_changes = {}; + if (dirty & /*url, page*/ 9) link_changes.to = "" + (/*url*/ ctx[3] + "page=" + (/*page*/ ctx[0] + 1)); + + if (dirty & /*$$scope*/ 262144) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + destroy_component(link, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_5.name, + type: "if", + source: "(34:4) {#if page < totalPages}", + ctx + }); + + return block; + } + + // (35:8) + function create_default_slot_5(ctx) { + let t; + + const block = { + c: function create() { + t = text("Next"); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot_5.name, + type: "slot", + source: "(35:8) ", + ctx + }); + + return block; + } + + // (43:8) {#if page > 3} + function create_if_block_4(ctx) { + let li0; + let link; + let t0; + let li1; + let span; + let current; + + link = new Link({ + props: { + to: "" + (/*url*/ ctx[3] + "page=" + 1), + class: "pagination-link", + "aria-label": "Goto page 1", + $$slots: { default: [create_default_slot_4] }, + $$scope: { ctx } + }, + $$inline: true + }); + + link.$on("click", function () { + if (is_function(/*handlePage*/ ctx[2](1))) /*handlePage*/ ctx[2](1).apply(this, arguments); + }); + + const block = { + c: function create() { + li0 = element("li"); + create_component(link.$$.fragment); + t0 = space(); + li1 = element("li"); + span = element("span"); + span.textContent = "…"; + add_location(li0, file$7, 43, 12, 1280); + attr_dev(span, "class", "pagination-ellipsis"); + add_location(span, file$7, 52, 16, 1557); + add_location(li1, file$7, 51, 12, 1536); + }, + m: function mount(target, anchor) { + insert_dev(target, li0, anchor); + mount_component(link, li0, null); + insert_dev(target, t0, anchor); + insert_dev(target, li1, anchor); + append_dev(li1, span); + current = true; + }, + p: function update(new_ctx, dirty) { + ctx = new_ctx; + const link_changes = {}; + if (dirty & /*url*/ 8) link_changes.to = "" + (/*url*/ ctx[3] + "page=" + 1); + + if (dirty & /*$$scope*/ 262144) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(li0); + destroy_component(link); + if (detaching) detach_dev(t0); + if (detaching) detach_dev(li1); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_4.name, + type: "if", + source: "(43:8) {#if page > 3}", + ctx + }); + + return block; + } + + // (45:16) + function create_default_slot_4(ctx) { + let t; + + const block = { + c: function create() { + t = text("1"); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot_4.name, + type: "slot", + source: "(45:16) ", + ctx + }); + + return block; + } + + // (57:12) {#if i >= 1 && i <= totalPages} + function create_if_block_2$2(ctx) { + let current_block_type_index; + let if_block; + let if_block_anchor; + let current; + const if_block_creators = [create_if_block_3$1, create_else_block_1]; + const if_blocks = []; + + function select_block_type(ctx, dirty) { + if (/*i*/ ctx[12] == /*page*/ ctx[0]) return 0; + return 1; + } + + current_block_type_index = select_block_type(ctx); + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + + const block = { + c: function create() { + if_block.c(); + if_block_anchor = empty(); + }, + m: function mount(target, anchor) { + if_blocks[current_block_type_index].m(target, anchor); + insert_dev(target, if_block_anchor, anchor); + current = true; + }, + p: function update(ctx, dirty) { + let previous_block_index = current_block_type_index; + current_block_type_index = select_block_type(ctx); + + if (current_block_type_index === previous_block_index) { + if_blocks[current_block_type_index].p(ctx, dirty); + } else { + group_outros(); + + transition_out(if_blocks[previous_block_index], 1, 1, () => { + if_blocks[previous_block_index] = null; + }); + + check_outros(); + if_block = if_blocks[current_block_type_index]; + + if (!if_block) { + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + if_block.c(); + } else { + if_block.p(ctx, dirty); + } + + transition_in(if_block, 1); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } + }, + i: function intro(local) { + if (current) return; + transition_in(if_block); + current = true; + }, + o: function outro(local) { + transition_out(if_block); + current = false; + }, + d: function destroy(detaching) { + if_blocks[current_block_type_index].d(detaching); + if (detaching) detach_dev(if_block_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_2$2.name, + type: "if", + source: "(57:12) {#if i >= 1 && i <= totalPages}", + ctx + }); + + return block; + } + + // (67:16) {:else} + function create_else_block_1(ctx) { + let li; + let link; + let current; + + link = new Link({ + props: { + to: "" + (/*url*/ ctx[3] + "page=" + /*i*/ ctx[12]), + class: "pagination-link", + "aria-label": "Goto page " + /*i*/ ctx[12], + $$slots: { default: [create_default_slot_3] }, + $$scope: { ctx } + }, + $$inline: true + }); + + link.$on("click", function () { + if (is_function(/*handlePage*/ ctx[2](/*i*/ ctx[12]))) /*handlePage*/ ctx[2](/*i*/ ctx[12]).apply(this, arguments); + }); + + const block = { + c: function create() { + li = element("li"); + create_component(link.$$.fragment); + add_location(li, file$7, 67, 20, 2161); + }, + m: function mount(target, anchor) { + insert_dev(target, li, anchor); + mount_component(link, li, null); + current = true; + }, + p: function update(new_ctx, dirty) { + ctx = new_ctx; + const link_changes = {}; + if (dirty & /*url, page*/ 9) link_changes.to = "" + (/*url*/ ctx[3] + "page=" + /*i*/ ctx[12]); + if (dirty & /*page*/ 1) link_changes["aria-label"] = "Goto page " + /*i*/ ctx[12]; + + if (dirty & /*$$scope, page*/ 262145) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(li); + destroy_component(link); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_else_block_1.name, + type: "else", + source: "(67:16) {:else}", + ctx + }); + + return block; + } + + // (58:16) {#if i == page} + function create_if_block_3$1(ctx) { + let li; + let link; + let current; + + link = new Link({ + props: { + to: "" + (/*url*/ ctx[3] + "page=" + /*i*/ ctx[12]), + class: "pagination-link is-current", + "aria-label": "Goto page " + /*i*/ ctx[12], + $$slots: { default: [create_default_slot_2] }, + $$scope: { ctx } + }, + $$inline: true + }); + + link.$on("click", function () { + if (is_function(/*handlePage*/ ctx[2](/*i*/ ctx[12]))) /*handlePage*/ ctx[2](/*i*/ ctx[12]).apply(this, arguments); + }); + + const block = { + c: function create() { + li = element("li"); + create_component(link.$$.fragment); + add_location(li, file$7, 58, 20, 1802); + }, + m: function mount(target, anchor) { + insert_dev(target, li, anchor); + mount_component(link, li, null); + current = true; + }, + p: function update(new_ctx, dirty) { + ctx = new_ctx; + const link_changes = {}; + if (dirty & /*url, page*/ 9) link_changes.to = "" + (/*url*/ ctx[3] + "page=" + /*i*/ ctx[12]); + if (dirty & /*page*/ 1) link_changes["aria-label"] = "Goto page " + /*i*/ ctx[12]; + + if (dirty & /*$$scope, page*/ 262145) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(li); + destroy_component(link); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_3$1.name, + type: "if", + source: "(58:16) {#if i == page}", + ctx + }); + + return block; + } + + // (69:24) + function create_default_slot_3(ctx) { + let t_value = /*i*/ ctx[12] + ""; + let t; + + const block = { + c: function create() { + t = text(t_value); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + p: function update(ctx, dirty) { + if (dirty & /*page*/ 1 && t_value !== (t_value = /*i*/ ctx[12] + "")) set_data_dev(t, t_value); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot_3.name, + type: "slot", + source: "(69:24) ", + ctx + }); + + return block; + } + + // (60:24) + function create_default_slot_2(ctx) { + let t_value = /*i*/ ctx[12] + ""; + let t; + + const block = { + c: function create() { + t = text(t_value); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + p: function update(ctx, dirty) { + if (dirty & /*page*/ 1 && t_value !== (t_value = /*i*/ ctx[12] + "")) set_data_dev(t, t_value); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot_2.name, + type: "slot", + source: "(60:24) ", + ctx + }); + + return block; + } + + // (56:8) {#each [...Array(5).keys()].map((x) => x + page - 2) as i} + function create_each_block_3(ctx) { + let if_block_anchor; + let current; + let if_block = /*i*/ ctx[12] >= 1 && /*i*/ ctx[12] <= /*totalPages*/ ctx[1] && create_if_block_2$2(ctx); + + const block = { + c: function create() { + if (if_block) if_block.c(); + if_block_anchor = empty(); + }, + m: function mount(target, anchor) { + if (if_block) if_block.m(target, anchor); + insert_dev(target, if_block_anchor, anchor); + current = true; + }, + p: function update(ctx, dirty) { + if (/*i*/ ctx[12] >= 1 && /*i*/ ctx[12] <= /*totalPages*/ ctx[1]) { + if (if_block) { + if_block.p(ctx, dirty); + + if (dirty & /*page, totalPages*/ 3) { + transition_in(if_block, 1); + } + } else { + if_block = create_if_block_2$2(ctx); + if_block.c(); + transition_in(if_block, 1); + if_block.m(if_block_anchor.parentNode, if_block_anchor); + } + } else if (if_block) { + group_outros(); + + transition_out(if_block, 1, 1, () => { + if_block = null; + }); + + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + transition_in(if_block); + current = true; + }, + o: function outro(local) { + transition_out(if_block); + current = false; + }, + d: function destroy(detaching) { + if (if_block) if_block.d(detaching); + if (detaching) detach_dev(if_block_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block_3.name, + type: "each", + source: "(56:8) {#each [...Array(5).keys()].map((x) => x + page - 2) as i}", + ctx + }); + + return block; + } + + // (79:8) {#if totalPages - page > 2} + function create_if_block_1$3(ctx) { + let li0; + let span; + let t1; + let li1; + let link; + let current; + + link = new Link({ + props: { + to: "" + (/*url*/ ctx[3] + "page=" + /*totalPages*/ ctx[1]), + class: "pagination-link", + "aria-label": "Goto page " + /*totalPages*/ ctx[1], + $$slots: { default: [create_default_slot_1] }, + $$scope: { ctx } + }, + $$inline: true + }); + + link.$on("click", function () { + if (is_function(/*handlePage*/ ctx[2](/*totalPages*/ ctx[1]))) /*handlePage*/ ctx[2](/*totalPages*/ ctx[1]).apply(this, arguments); + }); + + const block = { + c: function create() { + li0 = element("li"); + span = element("span"); + span.textContent = "…"; + t1 = space(); + li1 = element("li"); + create_component(link.$$.fragment); + attr_dev(span, "class", "pagination-ellipsis"); + add_location(span, file$7, 80, 16, 2590); + add_location(li0, file$7, 79, 12, 2569); + add_location(li1, file$7, 82, 12, 2670); + }, + m: function mount(target, anchor) { + insert_dev(target, li0, anchor); + append_dev(li0, span); + insert_dev(target, t1, anchor); + insert_dev(target, li1, anchor); + mount_component(link, li1, null); + current = true; + }, + p: function update(new_ctx, dirty) { + ctx = new_ctx; + const link_changes = {}; + if (dirty & /*url, totalPages*/ 10) link_changes.to = "" + (/*url*/ ctx[3] + "page=" + /*totalPages*/ ctx[1]); + if (dirty & /*totalPages*/ 2) link_changes["aria-label"] = "Goto page " + /*totalPages*/ ctx[1]; + + if (dirty & /*$$scope, totalPages*/ 262146) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(li0); + if (detaching) detach_dev(t1); + if (detaching) detach_dev(li1); + destroy_component(link); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_1$3.name, + type: "if", + source: "(79:8) {#if totalPages - page > 2}", + ctx + }); + + return block; + } + + // (84:16) + function create_default_slot_1(ctx) { + let t; + + const block = { + c: function create() { + t = text(/*totalPages*/ ctx[1]); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + p: function update(ctx, dirty) { + if (dirty & /*totalPages*/ 2) set_data_dev(t, /*totalPages*/ ctx[1]); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot_1.name, + type: "slot", + source: "(84:16) ", + ctx + }); + + return block; + } + + // (101:28) + function create_default_slot$3(ctx) { + let img; + let img_alt_value; + let img_src_value; + + const block = { + c: function create() { + img = element("img"); + attr_dev(img, "alt", img_alt_value = /*post*/ ctx[10].id); + if (img.src !== (img_src_value = /*post*/ ctx[10].image_path)) attr_dev(img, "src", img_src_value); + add_location(img, file$7, 101, 32, 3411); + }, + m: function mount(target, anchor) { + insert_dev(target, img, anchor); + }, + p: function update(ctx, dirty) { + if (dirty & /*postChunks*/ 16 && img_alt_value !== (img_alt_value = /*post*/ ctx[10].id)) { + attr_dev(img, "alt", img_alt_value); + } + + if (dirty & /*postChunks*/ 16 && img.src !== (img_src_value = /*post*/ ctx[10].image_path)) { + attr_dev(img, "src", img_src_value); + } + }, + d: function destroy(detaching) { + if (detaching) detach_dev(img); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot$3.name, + type: "slot", + source: "(101:28) ", + ctx + }); + + return block; + } + + // (111:24) {:else} + function create_else_block$2(ctx) { + let t; + + const block = { + c: function create() { + t = text("None"); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + p: noop, + i: noop, + o: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_else_block$2.name, + type: "else", + source: "(111:24) {:else}", + ctx + }); + + return block; + } + + // (107:24) {#if post.tags} + function create_if_block$3(ctx) { + let each_blocks = []; + let each_1_lookup = new Map(); + let each_1_anchor; + let current; + let each_value_2 = /*post*/ ctx[10].tags; + validate_each_argument(each_value_2); + const get_key = ctx => /*tag*/ ctx[13]; + validate_each_keys(ctx, each_value_2, get_each_context_2, get_key); + + for (let i = 0; i < each_value_2.length; i += 1) { + let child_ctx = get_each_context_2(ctx, each_value_2, i); + let key = get_key(child_ctx); + each_1_lookup.set(key, each_blocks[i] = create_each_block_2(key, child_ctx)); + } + + const block = { + c: function create() { + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + each_1_anchor = empty(); + }, + m: function mount(target, anchor) { + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(target, anchor); + } + + insert_dev(target, each_1_anchor, anchor); + current = true; + }, + p: function update(ctx, dirty) { + if (dirty & /*postChunks*/ 16) { + each_value_2 = /*post*/ ctx[10].tags; + validate_each_argument(each_value_2); + group_outros(); + validate_each_keys(ctx, each_value_2, get_each_context_2, get_key); + each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value_2, each_1_lookup, each_1_anchor.parentNode, outro_and_destroy_block, create_each_block_2, each_1_anchor, get_each_context_2); + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + + for (let i = 0; i < each_value_2.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o: function outro(local) { + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d: function destroy(detaching) { + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].d(detaching); + } + + if (detaching) detach_dev(each_1_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block$3.name, + type: "if", + source: "(107:24) {#if post.tags}", + ctx + }); + + return block; + } + + // (108:28) {#each post.tags as tag (tag)} + function create_each_block_2(key_1, ctx) { + let first; + let taglink; + let current; + + taglink = new TagLink({ + props: { tag: /*tag*/ ctx[13] }, + $$inline: true + }); + + const block = { + key: key_1, + first: null, + c: function create() { + first = empty(); + create_component(taglink.$$.fragment); + this.first = first; + }, + m: function mount(target, anchor) { + insert_dev(target, first, anchor); + mount_component(taglink, target, anchor); + current = true; + }, + p: function update(new_ctx, dirty) { + ctx = new_ctx; + const taglink_changes = {}; + if (dirty & /*postChunks*/ 16) taglink_changes.tag = /*tag*/ ctx[13]; + taglink.$set(taglink_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(taglink.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(taglink.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(first); + destroy_component(taglink, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block_2.name, + type: "each", + source: "(108:28) {#each post.tags as tag (tag)}", + ctx + }); + + return block; + } + + // (97:12) {#each postChunk as post, i (post.id)} + function create_each_block_1$1(key_1, ctx) { + let div2; + let div0; + let figure; + let link; + let t; + let div1; + let current_block_type_index; + let if_block; + let current; + + link = new Link({ + props: { + to: "/post/" + /*post*/ ctx[10].id, + $$slots: { default: [create_default_slot$3] }, + $$scope: { ctx } + }, + $$inline: true + }); + + const if_block_creators = [create_if_block$3, create_else_block$2]; + const if_blocks = []; + + function select_block_type_1(ctx, dirty) { + if (/*post*/ ctx[10].tags) return 0; + return 1; + } + + current_block_type_index = select_block_type_1(ctx); + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + + const block = { + key: key_1, + first: null, + c: function create() { + div2 = element("div"); + div0 = element("div"); + figure = element("figure"); + create_component(link.$$.fragment); + t = space(); + div1 = element("div"); + if_block.c(); + attr_dev(figure, "class", "image"); + add_location(figure, file$7, 99, 24, 3300); + attr_dev(div0, "class", "card-image"); + add_location(div0, file$7, 98, 20, 3251); + attr_dev(div1, "class", "card-content"); + add_location(div1, file$7, 105, 20, 3572); + attr_dev(div2, "class", "tile is-child is-vertical card"); + add_location(div2, file$7, 97, 16, 3186); + this.first = div2; + }, + m: function mount(target, anchor) { + insert_dev(target, div2, anchor); + append_dev(div2, div0); + append_dev(div0, figure); + mount_component(link, figure, null); + append_dev(div2, t); + append_dev(div2, div1); + if_blocks[current_block_type_index].m(div1, null); + current = true; + }, + p: function update(new_ctx, dirty) { + ctx = new_ctx; + const link_changes = {}; + if (dirty & /*postChunks*/ 16) link_changes.to = "/post/" + /*post*/ ctx[10].id; + + if (dirty & /*$$scope, postChunks*/ 262160) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + let previous_block_index = current_block_type_index; + current_block_type_index = select_block_type_1(ctx); + + if (current_block_type_index === previous_block_index) { + if_blocks[current_block_type_index].p(ctx, dirty); + } else { + group_outros(); + + transition_out(if_blocks[previous_block_index], 1, 1, () => { + if_blocks[previous_block_index] = null; + }); + + check_outros(); + if_block = if_blocks[current_block_type_index]; + + if (!if_block) { + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + if_block.c(); + } else { + if_block.p(ctx, dirty); + } + + transition_in(if_block, 1); + if_block.m(div1, null); + } + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + transition_in(if_block); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + transition_out(if_block); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div2); + destroy_component(link); + if_blocks[current_block_type_index].d(); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block_1$1.name, + type: "each", + source: "(97:12) {#each postChunk as post, i (post.id)}", + ctx + }); + + return block; + } + + // (95:4) {#each postChunks as postChunk} + function create_each_block$2(ctx) { + let div; + let each_blocks = []; + let each_1_lookup = new Map(); + let t; + let current; + let each_value_1 = /*postChunk*/ ctx[7]; + validate_each_argument(each_value_1); + const get_key = ctx => /*post*/ ctx[10].id; + validate_each_keys(ctx, each_value_1, get_each_context_1$1, get_key); + + for (let i = 0; i < each_value_1.length; i += 1) { + let child_ctx = get_each_context_1$1(ctx, each_value_1, i); + let key = get_key(child_ctx); + each_1_lookup.set(key, each_blocks[i] = create_each_block_1$1(key, child_ctx)); + } + + const block = { + c: function create() { + div = element("div"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + t = space(); + attr_dev(div, "class", "tile is-parent is-vertical is-3"); + add_location(div, file$7, 95, 8, 3073); + }, + m: function mount(target, anchor) { + insert_dev(target, div, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div, null); + } + + append_dev(div, t); + current = true; + }, + p: function update(ctx, dirty) { + if (dirty & /*postChunks*/ 16) { + each_value_1 = /*postChunk*/ ctx[7]; + validate_each_argument(each_value_1); + group_outros(); + validate_each_keys(ctx, each_value_1, get_each_context_1$1, get_key); + each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value_1, each_1_lookup, div, outro_and_destroy_block, create_each_block_1$1, t, get_each_context_1$1); + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + + for (let i = 0; i < each_value_1.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o: function outro(local) { + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].d(); + } + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block$2.name, + type: "each", + source: "(95:4) {#each postChunks as postChunk}", + ctx + }); + + return block; + } + + function create_fragment$8(ctx) { + let nav; + let t0; + let t1; + let ul; + let t2; + let t3; + let t4; + let div; + let current; + let if_block0 = /*page*/ ctx[0] > 1 && create_if_block_6(ctx); + let if_block1 = /*page*/ ctx[0] < /*totalPages*/ ctx[1] && create_if_block_5(ctx); + let if_block2 = /*page*/ ctx[0] > 3 && create_if_block_4(ctx); + let each_value_3 = [...Array(5).keys()].map(/*func*/ ctx[6]); + validate_each_argument(each_value_3); + let each_blocks_1 = []; + + for (let i = 0; i < each_value_3.length; i += 1) { + each_blocks_1[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i)); + } + + const out = i => transition_out(each_blocks_1[i], 1, 1, () => { + each_blocks_1[i] = null; + }); + + let if_block3 = /*totalPages*/ ctx[1] - /*page*/ ctx[0] > 2 && create_if_block_1$3(ctx); + let each_value = /*postChunks*/ ctx[4]; + validate_each_argument(each_value); + let each_blocks = []; + + for (let i = 0; i < each_value.length; i += 1) { + each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i)); + } + + const out_1 = i => transition_out(each_blocks[i], 1, 1, () => { + each_blocks[i] = null; + }); + + const block = { + c: function create() { + nav = element("nav"); + if (if_block0) if_block0.c(); + t0 = space(); + if (if_block1) if_block1.c(); + t1 = space(); + ul = element("ul"); + if (if_block2) if_block2.c(); + t2 = space(); + + for (let i = 0; i < each_blocks_1.length; i += 1) { + each_blocks_1[i].c(); + } + + t3 = space(); + if (if_block3) if_block3.c(); + t4 = space(); + div = element("div"); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + attr_dev(ul, "class", "pagination-list"); + add_location(ul, file$7, 41, 4, 1216); + attr_dev(nav, "class", "pagination"); + attr_dev(nav, "role", "navigation"); + attr_dev(nav, "aria-label", "pagination"); + add_location(nav, file$7, 24, 0, 700); + attr_dev(div, "class", "tile is-multiline is-ancestor"); + add_location(div, file$7, 93, 0, 2985); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, nav, anchor); + if (if_block0) if_block0.m(nav, null); + append_dev(nav, t0); + if (if_block1) if_block1.m(nav, null); + append_dev(nav, t1); + append_dev(nav, ul); + if (if_block2) if_block2.m(ul, null); + append_dev(ul, t2); + + for (let i = 0; i < each_blocks_1.length; i += 1) { + each_blocks_1[i].m(ul, null); + } + + append_dev(ul, t3); + if (if_block3) if_block3.m(ul, null); + insert_dev(target, t4, anchor); + insert_dev(target, div, anchor); + + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(div, null); + } + + current = true; + }, + p: function update(ctx, [dirty]) { + if (/*page*/ ctx[0] > 1) { + if (if_block0) { + if_block0.p(ctx, dirty); + + if (dirty & /*page*/ 1) { + transition_in(if_block0, 1); + } + } else { + if_block0 = create_if_block_6(ctx); + if_block0.c(); + transition_in(if_block0, 1); + if_block0.m(nav, t0); + } + } else if (if_block0) { + group_outros(); + + transition_out(if_block0, 1, 1, () => { + if_block0 = null; + }); + + check_outros(); + } + + if (/*page*/ ctx[0] < /*totalPages*/ ctx[1]) { + if (if_block1) { + if_block1.p(ctx, dirty); + + if (dirty & /*page, totalPages*/ 3) { + transition_in(if_block1, 1); + } + } else { + if_block1 = create_if_block_5(ctx); + if_block1.c(); + transition_in(if_block1, 1); + if_block1.m(nav, t1); + } + } else if (if_block1) { + group_outros(); + + transition_out(if_block1, 1, 1, () => { + if_block1 = null; + }); + + check_outros(); + } + + if (/*page*/ ctx[0] > 3) { + if (if_block2) { + if_block2.p(ctx, dirty); + + if (dirty & /*page*/ 1) { + transition_in(if_block2, 1); + } + } else { + if_block2 = create_if_block_4(ctx); + if_block2.c(); + transition_in(if_block2, 1); + if_block2.m(ul, t2); + } + } else if (if_block2) { + group_outros(); + + transition_out(if_block2, 1, 1, () => { + if_block2 = null; + }); + + check_outros(); + } + + if (dirty & /*url, Array, page, handlePage, totalPages*/ 15) { + each_value_3 = [...Array(5).keys()].map(/*func*/ ctx[6]); + validate_each_argument(each_value_3); + let i; + + for (i = 0; i < each_value_3.length; i += 1) { + const child_ctx = get_each_context_3(ctx, each_value_3, i); + + if (each_blocks_1[i]) { + each_blocks_1[i].p(child_ctx, dirty); + transition_in(each_blocks_1[i], 1); + } else { + each_blocks_1[i] = create_each_block_3(child_ctx); + each_blocks_1[i].c(); + transition_in(each_blocks_1[i], 1); + each_blocks_1[i].m(ul, t3); + } + } + + group_outros(); + + for (i = each_value_3.length; i < each_blocks_1.length; i += 1) { + out(i); + } + + check_outros(); + } + + if (/*totalPages*/ ctx[1] - /*page*/ ctx[0] > 2) { + if (if_block3) { + if_block3.p(ctx, dirty); + + if (dirty & /*totalPages, page*/ 3) { + transition_in(if_block3, 1); + } + } else { + if_block3 = create_if_block_1$3(ctx); + if_block3.c(); + transition_in(if_block3, 1); + if_block3.m(ul, null); + } + } else if (if_block3) { + group_outros(); + + transition_out(if_block3, 1, 1, () => { + if_block3 = null; + }); + + check_outros(); + } + + if (dirty & /*postChunks*/ 16) { + each_value = /*postChunks*/ ctx[4]; + validate_each_argument(each_value); + let i; + + for (i = 0; i < each_value.length; i += 1) { + const child_ctx = get_each_context$2(ctx, each_value, i); + + if (each_blocks[i]) { + each_blocks[i].p(child_ctx, dirty); + transition_in(each_blocks[i], 1); + } else { + each_blocks[i] = create_each_block$2(child_ctx); + each_blocks[i].c(); + transition_in(each_blocks[i], 1); + each_blocks[i].m(div, null); + } + } + + group_outros(); + + for (i = each_value.length; i < each_blocks.length; i += 1) { + out_1(i); + } + + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + transition_in(if_block0); + transition_in(if_block1); + transition_in(if_block2); + + for (let i = 0; i < each_value_3.length; i += 1) { + transition_in(each_blocks_1[i]); + } + + transition_in(if_block3); + + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o: function outro(local) { + transition_out(if_block0); + transition_out(if_block1); + transition_out(if_block2); + each_blocks_1 = each_blocks_1.filter(Boolean); + + for (let i = 0; i < each_blocks_1.length; i += 1) { + transition_out(each_blocks_1[i]); + } + + transition_out(if_block3); + each_blocks = each_blocks.filter(Boolean); + + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(nav); + if (if_block0) if_block0.d(); + if (if_block1) if_block1.d(); + if (if_block2) if_block2.d(); + destroy_each(each_blocks_1, detaching); + if (if_block3) if_block3.d(); + if (detaching) detach_dev(t4); + if (detaching) detach_dev(div); + destroy_each(each_blocks, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$8.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$8($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots("PostPaginator", slots, []); + let { posts = [] } = $$props; + let postChunks = []; + let { page = 1 } = $$props; + let { totalPages = 1 } = $$props; + + let { handlePage = i => { + + } } = $$props; + + let { url = "/posts" } = $$props; + const writable_props = ["posts", "page", "totalPages", "handlePage", "url"]; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); + }); + + const func = x => x + page - 2; + + $$self.$$set = $$props => { + if ("posts" in $$props) $$invalidate(5, posts = $$props.posts); + if ("page" in $$props) $$invalidate(0, page = $$props.page); + if ("totalPages" in $$props) $$invalidate(1, totalPages = $$props.totalPages); + if ("handlePage" in $$props) $$invalidate(2, handlePage = $$props.handlePage); + if ("url" in $$props) $$invalidate(3, url = $$props.url); + }; + + $$self.$capture_state = () => ({ + Link, + TagLink, + posts, + postChunks, + page, + totalPages, + handlePage, + url + }); + + $$self.$inject_state = $$props => { + if ("posts" in $$props) $$invalidate(5, posts = $$props.posts); + if ("postChunks" in $$props) $$invalidate(4, postChunks = $$props.postChunks); + if ("page" in $$props) $$invalidate(0, page = $$props.page); + if ("totalPages" in $$props) $$invalidate(1, totalPages = $$props.totalPages); + if ("handlePage" in $$props) $$invalidate(2, handlePage = $$props.handlePage); + if ("url" in $$props) $$invalidate(3, url = $$props.url); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*posts*/ 32) { + // split posts into 4 columns + $$invalidate(4, postChunks = Array(Math.min(posts.length, 4)).fill().map(function (_, i) { + let chunkSize = Math.floor(posts.length / 4); + + if (chunkSize % 4 > i + 1) { + chunkSize += 1; + } + + chunkSize = Math.max(chunkSize, 1); + return posts.slice(i * chunkSize, i * chunkSize + chunkSize); + })); + } + }; + + return [page, totalPages, handlePage, url, postChunks, posts, func]; + } + + class PostPaginator extends SvelteComponentDev { + constructor(options) { + super(options); + + init(this, options, instance$8, create_fragment$8, safe_not_equal, { + posts: 5, + page: 0, + totalPages: 1, + handlePage: 2, + url: 3 + }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "PostPaginator", + options, + id: create_fragment$8.name + }); + } + + get posts() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set posts(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get page() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set page(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get totalPages() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set totalPages(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get handlePage() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set handlePage(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + + get url() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set url(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + function createCommonjsModule(fn) { var module = { exports: {} }; return fn(module, module.exports), module.exports; @@ -5090,2640 +6901,12 @@ var app = (function () { }; }); - /* src/PostPaginator.svelte generated by Svelte v3.38.2 */ - const file$7 = "src/PostPaginator.svelte"; - - function get_each_context$2(ctx, list, i) { - const child_ctx = ctx.slice(); - child_ctx[6] = list[i]; - return child_ctx; - } - - function get_each_context_1$1(ctx, list, i) { - const child_ctx = ctx.slice(); - child_ctx[9] = list[i]; - return child_ctx; - } - - function get_each_context_2(ctx, list, i) { - const child_ctx = ctx.slice(); - child_ctx[12] = list[i]; - return child_ctx; - } - - // (14:12) {#if page > 1} - function create_if_block_5(ctx) { - let link; - let current; - - link = new Link({ - props: { - to: "" + (/*url*/ ctx[4] + "?page=" + (/*page*/ ctx[1] - 1)), - class: "pagination-previous", - "aria-label": "Previous", - $$slots: { default: [create_default_slot_7] }, - $$scope: { ctx } - }, - $$inline: true - }); - - link.$on("click", function () { - if (is_function(/*handlePage*/ ctx[3](/*page*/ ctx[1] - 1))) /*handlePage*/ ctx[3](/*page*/ ctx[1] - 1).apply(this, arguments); - }); - - const block = { - c: function create() { - create_component(link.$$.fragment); - }, - m: function mount(target, anchor) { - mount_component(link, target, anchor); - current = true; - }, - p: function update(new_ctx, dirty) { - ctx = new_ctx; - const link_changes = {}; - if (dirty & /*url, page*/ 18) link_changes.to = "" + (/*url*/ ctx[4] + "?page=" + (/*page*/ ctx[1] - 1)); - - if (dirty & /*$$scope*/ 32768) { - link_changes.$$scope = { dirty, ctx }; - } - - link.$set(link_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(link.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(link.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - destroy_component(link, detaching); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_if_block_5.name, - type: "if", - source: "(14:12) {#if page > 1}", - ctx - }); - - return block; - } - - // (15:16) - function create_default_slot_7(ctx) { - let t; - - const block = { - c: function create() { - t = text("Previous"); - }, - m: function mount(target, anchor) { - insert_dev(target, t, anchor); - }, - d: function destroy(detaching) { - if (detaching) detach_dev(t); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_default_slot_7.name, - type: "slot", - source: "(15:16) ", - ctx - }); - - return block; - } - - // (22:12) {#if page < totalPages} - function create_if_block_4(ctx) { - let link; - let current; - - link = new Link({ - props: { - to: "" + (/*url*/ ctx[4] + "?page=" + (/*page*/ ctx[1] + 1)), - class: "pagination-next", - "aria-label": "Next", - $$slots: { default: [create_default_slot_6] }, - $$scope: { ctx } - }, - $$inline: true - }); - - link.$on("click", function () { - if (is_function(/*handlePage*/ ctx[3](/*page*/ ctx[1] + 1))) /*handlePage*/ ctx[3](/*page*/ ctx[1] + 1).apply(this, arguments); - }); - - const block = { - c: function create() { - create_component(link.$$.fragment); - }, - m: function mount(target, anchor) { - mount_component(link, target, anchor); - current = true; - }, - p: function update(new_ctx, dirty) { - ctx = new_ctx; - const link_changes = {}; - if (dirty & /*url, page*/ 18) link_changes.to = "" + (/*url*/ ctx[4] + "?page=" + (/*page*/ ctx[1] + 1)); - - if (dirty & /*$$scope*/ 32768) { - link_changes.$$scope = { dirty, ctx }; - } - - link.$set(link_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(link.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(link.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - destroy_component(link, detaching); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_if_block_4.name, - type: "if", - source: "(22:12) {#if page < totalPages}", - ctx - }); - - return block; - } - - // (23:16) - function create_default_slot_6(ctx) { - let t; - - const block = { - c: function create() { - t = text("Next"); - }, - m: function mount(target, anchor) { - insert_dev(target, t, anchor); - }, - d: function destroy(detaching) { - if (detaching) detach_dev(t); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_default_slot_6.name, - type: "slot", - source: "(23:16) ", - ctx - }); - - return block; - } - - // (31:16) {#if page > 3} - function create_if_block_3$1(ctx) { - let li0; - let link; - let t0; - let li1; - let span; - let current; - - link = new Link({ - props: { - to: "" + (/*url*/ ctx[4] + "?page=" + 1), - class: "pagination-link", - "aria-label": "Goto page 1", - $$slots: { default: [create_default_slot_5] }, - $$scope: { ctx } - }, - $$inline: true - }); - - link.$on("click", function () { - if (is_function(/*handlePage*/ ctx[3](1))) /*handlePage*/ ctx[3](1).apply(this, arguments); - }); - - const block = { - c: function create() { - li0 = element("li"); - create_component(link.$$.fragment); - t0 = space(); - li1 = element("li"); - span = element("span"); - span.textContent = "…"; - add_location(li0, file$7, 31, 20, 1014); - attr_dev(span, "class", "pagination-ellipsis"); - add_location(span, file$7, 40, 24, 1364); - add_location(li1, file$7, 39, 20, 1335); - }, - m: function mount(target, anchor) { - insert_dev(target, li0, anchor); - mount_component(link, li0, null); - insert_dev(target, t0, anchor); - insert_dev(target, li1, anchor); - append_dev(li1, span); - current = true; - }, - p: function update(new_ctx, dirty) { - ctx = new_ctx; - const link_changes = {}; - if (dirty & /*url*/ 16) link_changes.to = "" + (/*url*/ ctx[4] + "?page=" + 1); - - if (dirty & /*$$scope*/ 32768) { - link_changes.$$scope = { dirty, ctx }; - } - - link.$set(link_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(link.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(link.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(li0); - destroy_component(link); - if (detaching) detach_dev(t0); - if (detaching) detach_dev(li1); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_if_block_3$1.name, - type: "if", - source: "(31:16) {#if page > 3}", - ctx - }); - - return block; - } - - // (33:24) - function create_default_slot_5(ctx) { - let t; - - const block = { - c: function create() { - t = text("1"); - }, - m: function mount(target, anchor) { - insert_dev(target, t, anchor); - }, - d: function destroy(detaching) { - if (detaching) detach_dev(t); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_default_slot_5.name, - type: "slot", - source: "(33:24) ", - ctx - }); - - return block; - } - - // (45:20) {#if i >= 1 && i <= totalPages} - function create_if_block_1$3(ctx) { - let current_block_type_index; - let if_block; - let if_block_anchor; - let current; - const if_block_creators = [create_if_block_2$1, create_else_block$1]; - const if_blocks = []; - - function select_block_type(ctx, dirty) { - if (/*i*/ ctx[12] == /*page*/ ctx[1]) return 0; - return 1; - } - - current_block_type_index = select_block_type(ctx); - if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); - - const block = { - c: function create() { - if_block.c(); - if_block_anchor = empty(); - }, - m: function mount(target, anchor) { - if_blocks[current_block_type_index].m(target, anchor); - insert_dev(target, if_block_anchor, anchor); - current = true; - }, - p: function update(ctx, dirty) { - let previous_block_index = current_block_type_index; - current_block_type_index = select_block_type(ctx); - - if (current_block_type_index === previous_block_index) { - if_blocks[current_block_type_index].p(ctx, dirty); - } else { - group_outros(); - - transition_out(if_blocks[previous_block_index], 1, 1, () => { - if_blocks[previous_block_index] = null; - }); - - check_outros(); - if_block = if_blocks[current_block_type_index]; - - if (!if_block) { - if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); - if_block.c(); - } else { - if_block.p(ctx, dirty); - } - - transition_in(if_block, 1); - if_block.m(if_block_anchor.parentNode, if_block_anchor); - } - }, - i: function intro(local) { - if (current) return; - transition_in(if_block); - current = true; - }, - o: function outro(local) { - transition_out(if_block); - current = false; - }, - d: function destroy(detaching) { - if_blocks[current_block_type_index].d(detaching); - if (detaching) detach_dev(if_block_anchor); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_if_block_1$3.name, - type: "if", - source: "(45:20) {#if i >= 1 && i <= totalPages}", - ctx - }); - - return block; - } - - // (55:24) {:else} - function create_else_block$1(ctx) { - let li; - let link; - let current; - - link = new Link({ - props: { - to: "" + (/*url*/ ctx[4] + "?page=" + /*i*/ ctx[12]), - class: "pagination-link", - "aria-label": "Goto page " + /*i*/ ctx[12], - $$slots: { default: [create_default_slot_4] }, - $$scope: { ctx } - }, - $$inline: true - }); - - link.$on("click", function () { - if (is_function(/*handlePage*/ ctx[3](/*i*/ ctx[12]))) /*handlePage*/ ctx[3](/*i*/ ctx[12]).apply(this, arguments); - }); - - const block = { - c: function create() { - li = element("li"); - create_component(link.$$.fragment); - add_location(li, file$7, 55, 28, 2089); - }, - m: function mount(target, anchor) { - insert_dev(target, li, anchor); - mount_component(link, li, null); - current = true; - }, - p: function update(new_ctx, dirty) { - ctx = new_ctx; - const link_changes = {}; - if (dirty & /*url, page*/ 18) link_changes.to = "" + (/*url*/ ctx[4] + "?page=" + /*i*/ ctx[12]); - if (dirty & /*page*/ 2) link_changes["aria-label"] = "Goto page " + /*i*/ ctx[12]; - - if (dirty & /*$$scope, page*/ 32770) { - link_changes.$$scope = { dirty, ctx }; - } - - link.$set(link_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(link.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(link.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(li); - destroy_component(link); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_else_block$1.name, - type: "else", - source: "(55:24) {:else}", - ctx - }); - - return block; - } - - // (46:24) {#if i == page} - function create_if_block_2$1(ctx) { - let li; - let link; - let current; - - link = new Link({ - props: { - to: "" + (/*url*/ ctx[4] + "?page=" + /*i*/ ctx[12]), - class: "pagination-link is-current", - "aria-label": "Goto page " + /*i*/ ctx[12], - $$slots: { default: [create_default_slot_3] }, - $$scope: { ctx } - }, - $$inline: true - }); - - link.$on("click", function () { - if (is_function(/*handlePage*/ ctx[3](/*i*/ ctx[12]))) /*handlePage*/ ctx[3](/*i*/ ctx[12]).apply(this, arguments); - }); - - const block = { - c: function create() { - li = element("li"); - create_component(link.$$.fragment); - add_location(li, file$7, 46, 28, 1657); - }, - m: function mount(target, anchor) { - insert_dev(target, li, anchor); - mount_component(link, li, null); - current = true; - }, - p: function update(new_ctx, dirty) { - ctx = new_ctx; - const link_changes = {}; - if (dirty & /*url, page*/ 18) link_changes.to = "" + (/*url*/ ctx[4] + "?page=" + /*i*/ ctx[12]); - if (dirty & /*page*/ 2) link_changes["aria-label"] = "Goto page " + /*i*/ ctx[12]; - - if (dirty & /*$$scope, page*/ 32770) { - link_changes.$$scope = { dirty, ctx }; - } - - link.$set(link_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(link.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(link.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(li); - destroy_component(link); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_if_block_2$1.name, - type: "if", - source: "(46:24) {#if i == page}", - ctx - }); - - return block; - } - - // (57:32) - function create_default_slot_4(ctx) { - let t_value = /*i*/ ctx[12] + ""; - let t; - - const block = { - c: function create() { - t = text(t_value); - }, - m: function mount(target, anchor) { - insert_dev(target, t, anchor); - }, - p: function update(ctx, dirty) { - if (dirty & /*page*/ 2 && t_value !== (t_value = /*i*/ ctx[12] + "")) set_data_dev(t, t_value); - }, - d: function destroy(detaching) { - if (detaching) detach_dev(t); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_default_slot_4.name, - type: "slot", - source: "(57:32) ", - ctx - }); - - return block; - } - - // (48:32) - function create_default_slot_3(ctx) { - let t_value = /*i*/ ctx[12] + ""; - let t; - - const block = { - c: function create() { - t = text(t_value); - }, - m: function mount(target, anchor) { - insert_dev(target, t, anchor); - }, - p: function update(ctx, dirty) { - if (dirty & /*page*/ 2 && t_value !== (t_value = /*i*/ ctx[12] + "")) set_data_dev(t, t_value); - }, - d: function destroy(detaching) { - if (detaching) detach_dev(t); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_default_slot_3.name, - type: "slot", - source: "(48:32) ", - ctx - }); - - return block; - } - - // (44:16) {#each [...Array(5).keys()].map((x) => x + page - 2) as i} - function create_each_block_2(ctx) { - let if_block_anchor; - let current; - let if_block = /*i*/ ctx[12] >= 1 && /*i*/ ctx[12] <= /*totalPages*/ ctx[2] && create_if_block_1$3(ctx); - - const block = { - c: function create() { - if (if_block) if_block.c(); - if_block_anchor = empty(); - }, - m: function mount(target, anchor) { - if (if_block) if_block.m(target, anchor); - insert_dev(target, if_block_anchor, anchor); - current = true; - }, - p: function update(ctx, dirty) { - if (/*i*/ ctx[12] >= 1 && /*i*/ ctx[12] <= /*totalPages*/ ctx[2]) { - if (if_block) { - if_block.p(ctx, dirty); - - if (dirty & /*page, totalPages*/ 6) { - transition_in(if_block, 1); - } - } else { - if_block = create_if_block_1$3(ctx); - if_block.c(); - transition_in(if_block, 1); - if_block.m(if_block_anchor.parentNode, if_block_anchor); - } - } else if (if_block) { - group_outros(); - - transition_out(if_block, 1, 1, () => { - if_block = null; - }); - - check_outros(); - } - }, - i: function intro(local) { - if (current) return; - transition_in(if_block); - current = true; - }, - o: function outro(local) { - transition_out(if_block); - current = false; - }, - d: function destroy(detaching) { - if (if_block) if_block.d(detaching); - if (detaching) detach_dev(if_block_anchor); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_each_block_2.name, - type: "each", - source: "(44:16) {#each [...Array(5).keys()].map((x) => x + page - 2) as i}", - ctx - }); - - return block; - } - - // (67:16) {#if totalPages - page > 2} - function create_if_block$3(ctx) { - let li0; - let span; - let t1; - let li1; - let link; - let current; - - link = new Link({ - props: { - to: "" + (/*url*/ ctx[4] + "?page=" + /*totalPages*/ ctx[2]), - class: "pagination-link", - "aria-label": "Goto page " + /*totalPages*/ ctx[2], - $$slots: { default: [create_default_slot_2] }, - $$scope: { ctx } - }, - $$inline: true - }); - - link.$on("click", function () { - if (is_function(/*handlePage*/ ctx[3](/*totalPages*/ ctx[2]))) /*handlePage*/ ctx[3](/*totalPages*/ ctx[2]).apply(this, arguments); - }); - - const block = { - c: function create() { - li0 = element("li"); - span = element("span"); - span.textContent = "…"; - t1 = space(); - li1 = element("li"); - create_component(link.$$.fragment); - attr_dev(span, "class", "pagination-ellipsis"); - add_location(span, file$7, 68, 24, 2623); - add_location(li0, file$7, 67, 20, 2594); - add_location(li1, file$7, 70, 20, 2719); - }, - m: function mount(target, anchor) { - insert_dev(target, li0, anchor); - append_dev(li0, span); - insert_dev(target, t1, anchor); - insert_dev(target, li1, anchor); - mount_component(link, li1, null); - current = true; - }, - p: function update(new_ctx, dirty) { - ctx = new_ctx; - const link_changes = {}; - if (dirty & /*url, totalPages*/ 20) link_changes.to = "" + (/*url*/ ctx[4] + "?page=" + /*totalPages*/ ctx[2]); - if (dirty & /*totalPages*/ 4) link_changes["aria-label"] = "Goto page " + /*totalPages*/ ctx[2]; - - if (dirty & /*$$scope, totalPages*/ 32772) { - link_changes.$$scope = { dirty, ctx }; - } - - link.$set(link_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(link.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(link.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(li0); - if (detaching) detach_dev(t1); - if (detaching) detach_dev(li1); - destroy_component(link); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_if_block$3.name, - type: "if", - source: "(67:16) {#if totalPages - page > 2}", - ctx - }); - - return block; - } - - // (72:24) - function create_default_slot_2(ctx) { - let t; - - const block = { - c: function create() { - t = text(/*totalPages*/ ctx[2]); - }, - m: function mount(target, anchor) { - insert_dev(target, t, anchor); - }, - p: function update(ctx, dirty) { - if (dirty & /*totalPages*/ 4) set_data_dev(t, /*totalPages*/ ctx[2]); - }, - d: function destroy(detaching) { - if (detaching) detach_dev(t); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_default_slot_2.name, - type: "slot", - source: "(72:24) ", - ctx - }); - - return block; - } - - // (88:28) - function create_default_slot_1(ctx) { - let img; - let img_alt_value; - let img_src_value; - - const block = { - c: function create() { - img = element("img"); - attr_dev(img, "alt", img_alt_value = /*post*/ ctx[6].id); - if (img.src !== (img_src_value = /*post*/ ctx[6].image_path)) attr_dev(img, "src", img_src_value); - add_location(img, file$7, 88, 32, 3468); - }, - m: function mount(target, anchor) { - insert_dev(target, img, anchor); - }, - p: function update(ctx, dirty) { - if (dirty & /*posts*/ 1 && img_alt_value !== (img_alt_value = /*post*/ ctx[6].id)) { - attr_dev(img, "alt", img_alt_value); - } - - if (dirty & /*posts*/ 1 && img.src !== (img_src_value = /*post*/ ctx[6].image_path)) { - attr_dev(img, "src", img_src_value); - } - }, - d: function destroy(detaching) { - if (detaching) detach_dev(img); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_default_slot_1.name, - type: "slot", - source: "(88:28) ", - ctx - }); - - return block; - } - - // (97:36) - function create_default_slot$2(ctx) { - let t_value = /*tag*/ ctx[9] + ""; - let t; - - const block = { - c: function create() { - t = text(t_value); - }, - m: function mount(target, anchor) { - insert_dev(target, t, anchor); - }, - p: function update(ctx, dirty) { - if (dirty & /*posts*/ 1 && t_value !== (t_value = /*tag*/ ctx[9] + "")) set_data_dev(t, t_value); - }, - d: function destroy(detaching) { - if (detaching) detach_dev(t); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_default_slot$2.name, - type: "slot", - source: "(97:36) ", - ctx - }); - - return block; - } - - // (95:28) {#each post.tags as tag (tag)} - function create_each_block_1$1(key_1, ctx) { - let p; - let link; - let t; - let current; - - link = new Link({ - props: { - to: "/tag/" + /*tag*/ ctx[9], - $$slots: { default: [create_default_slot$2] }, - $$scope: { ctx } - }, - $$inline: true - }); - - const block = { - key: key_1, - first: null, - c: function create() { - p = element("p"); - create_component(link.$$.fragment); - t = space(); - add_location(p, file$7, 95, 32, 3793); - this.first = p; - }, - m: function mount(target, anchor) { - insert_dev(target, p, anchor); - mount_component(link, p, null); - append_dev(p, t); - current = true; - }, - p: function update(new_ctx, dirty) { - ctx = new_ctx; - const link_changes = {}; - if (dirty & /*posts*/ 1) link_changes.to = "/tag/" + /*tag*/ ctx[9]; - - if (dirty & /*$$scope, posts*/ 32769) { - link_changes.$$scope = { dirty, ctx }; - } - - link.$set(link_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(link.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(link.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(p); - destroy_component(link); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_each_block_1$1.name, - type: "each", - source: "(95:28) {#each post.tags as tag (tag)}", - ctx - }); - - return block; - } - - // (84:12) {#each posts as post (post.id)} - function create_each_block$2(key_1, ctx) { - let div3; - let div0; - let figure; - let link; - let t0; - let div2; - let div1; - let each_blocks = []; - let each_1_lookup = new Map(); - let t1; - let current; - - link = new Link({ - props: { - to: "/post/" + /*post*/ ctx[6].id, - $$slots: { default: [create_default_slot_1] }, - $$scope: { ctx } - }, - $$inline: true - }); - - let each_value_1 = /*post*/ ctx[6].tags; - validate_each_argument(each_value_1); - const get_key = ctx => /*tag*/ ctx[9]; - validate_each_keys(ctx, each_value_1, get_each_context_1$1, get_key); - - for (let i = 0; i < each_value_1.length; i += 1) { - let child_ctx = get_each_context_1$1(ctx, each_value_1, i); - let key = get_key(child_ctx); - each_1_lookup.set(key, each_blocks[i] = create_each_block_1$1(key, child_ctx)); - } - - const block = { - key: key_1, - first: null, - c: function create() { - div3 = element("div"); - div0 = element("div"); - figure = element("figure"); - create_component(link.$$.fragment); - t0 = space(); - div2 = element("div"); - div1 = element("div"); - - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].c(); - } - - t1 = space(); - attr_dev(figure, "class", "image"); - add_location(figure, file$7, 86, 24, 3357); - attr_dev(div0, "class", "card-image"); - add_location(div0, file$7, 85, 20, 3308); - attr_dev(div1, "class", "content"); - add_location(div1, file$7, 93, 24, 3680); - attr_dev(div2, "class", "card-content"); - add_location(div2, file$7, 92, 20, 3629); - attr_dev(div3, "class", "column is-one-quarter card"); - add_location(div3, file$7, 84, 16, 3247); - this.first = div3; - }, - m: function mount(target, anchor) { - insert_dev(target, div3, anchor); - append_dev(div3, div0); - append_dev(div0, figure); - mount_component(link, figure, null); - append_dev(div3, t0); - append_dev(div3, div2); - append_dev(div2, div1); - - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].m(div1, null); - } - - append_dev(div3, t1); - current = true; - }, - p: function update(new_ctx, dirty) { - ctx = new_ctx; - const link_changes = {}; - if (dirty & /*posts*/ 1) link_changes.to = "/post/" + /*post*/ ctx[6].id; - - if (dirty & /*$$scope, posts*/ 32769) { - link_changes.$$scope = { dirty, ctx }; - } - - link.$set(link_changes); - - if (dirty & /*posts*/ 1) { - each_value_1 = /*post*/ ctx[6].tags; - validate_each_argument(each_value_1); - group_outros(); - validate_each_keys(ctx, each_value_1, get_each_context_1$1, get_key); - each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value_1, each_1_lookup, div1, outro_and_destroy_block, create_each_block_1$1, null, get_each_context_1$1); - check_outros(); - } - }, - i: function intro(local) { - if (current) return; - transition_in(link.$$.fragment, local); - - for (let i = 0; i < each_value_1.length; i += 1) { - transition_in(each_blocks[i]); - } - - current = true; - }, - o: function outro(local) { - transition_out(link.$$.fragment, local); - - for (let i = 0; i < each_blocks.length; i += 1) { - transition_out(each_blocks[i]); - } - - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(div3); - destroy_component(link); - - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].d(); - } - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_each_block$2.name, - type: "each", - source: "(84:12) {#each posts as post (post.id)}", - ctx - }); - - return block; - } - - function create_fragment$8(ctx) { - let section; - let div1; - let nav; - let t0; - let t1; - let ul; - let t2; - let t3; - let t4; - let div0; - let each_blocks = []; - let each1_lookup = new Map(); - let current; - let if_block0 = /*page*/ ctx[1] > 1 && create_if_block_5(ctx); - let if_block1 = /*page*/ ctx[1] < /*totalPages*/ ctx[2] && create_if_block_4(ctx); - let if_block2 = /*page*/ ctx[1] > 3 && create_if_block_3$1(ctx); - let each_value_2 = [...Array(5).keys()].map(/*func*/ ctx[5]); - validate_each_argument(each_value_2); - let each_blocks_1 = []; - - for (let i = 0; i < each_value_2.length; i += 1) { - each_blocks_1[i] = create_each_block_2(get_each_context_2(ctx, each_value_2, i)); - } - - const out = i => transition_out(each_blocks_1[i], 1, 1, () => { - each_blocks_1[i] = null; - }); - - let if_block3 = /*totalPages*/ ctx[2] - /*page*/ ctx[1] > 2 && create_if_block$3(ctx); - let each_value = /*posts*/ ctx[0]; - validate_each_argument(each_value); - const get_key = ctx => /*post*/ ctx[6].id; - validate_each_keys(ctx, each_value, get_each_context$2, get_key); - - for (let i = 0; i < each_value.length; i += 1) { - let child_ctx = get_each_context$2(ctx, each_value, i); - let key = get_key(child_ctx); - each1_lookup.set(key, each_blocks[i] = create_each_block$2(key, child_ctx)); - } - - const block = { - c: function create() { - section = element("section"); - div1 = element("div"); - nav = element("nav"); - if (if_block0) if_block0.c(); - t0 = space(); - if (if_block1) if_block1.c(); - t1 = space(); - ul = element("ul"); - if (if_block2) if_block2.c(); - t2 = space(); - - for (let i = 0; i < each_blocks_1.length; i += 1) { - each_blocks_1[i].c(); - } - - t3 = space(); - if (if_block3) if_block3.c(); - t4 = space(); - div0 = element("div"); - - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].c(); - } - - attr_dev(ul, "class", "pagination-list"); - add_location(ul, file$7, 29, 12, 934); - attr_dev(nav, "class", "pagination"); - attr_dev(nav, "role", "navigation"); - attr_dev(nav, "aria-label", "pagination"); - add_location(nav, file$7, 12, 8, 280); - attr_dev(div0, "class", "columns is-multiline"); - add_location(div0, file$7, 82, 8, 3152); - attr_dev(div1, "class", "container"); - add_location(div1, file$7, 11, 4, 248); - attr_dev(section, "class", "section"); - add_location(section, file$7, 10, 0, 218); - }, - l: function claim(nodes) { - throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); - }, - m: function mount(target, anchor) { - insert_dev(target, section, anchor); - append_dev(section, div1); - append_dev(div1, nav); - if (if_block0) if_block0.m(nav, null); - append_dev(nav, t0); - if (if_block1) if_block1.m(nav, null); - append_dev(nav, t1); - append_dev(nav, ul); - if (if_block2) if_block2.m(ul, null); - append_dev(ul, t2); - - for (let i = 0; i < each_blocks_1.length; i += 1) { - each_blocks_1[i].m(ul, null); - } - - append_dev(ul, t3); - if (if_block3) if_block3.m(ul, null); - append_dev(div1, t4); - append_dev(div1, div0); - - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].m(div0, null); - } - - current = true; - }, - p: function update(ctx, [dirty]) { - if (/*page*/ ctx[1] > 1) { - if (if_block0) { - if_block0.p(ctx, dirty); - - if (dirty & /*page*/ 2) { - transition_in(if_block0, 1); - } - } else { - if_block0 = create_if_block_5(ctx); - if_block0.c(); - transition_in(if_block0, 1); - if_block0.m(nav, t0); - } - } else if (if_block0) { - group_outros(); - - transition_out(if_block0, 1, 1, () => { - if_block0 = null; - }); - - check_outros(); - } - - if (/*page*/ ctx[1] < /*totalPages*/ ctx[2]) { - if (if_block1) { - if_block1.p(ctx, dirty); - - if (dirty & /*page, totalPages*/ 6) { - transition_in(if_block1, 1); - } - } else { - if_block1 = create_if_block_4(ctx); - if_block1.c(); - transition_in(if_block1, 1); - if_block1.m(nav, t1); - } - } else if (if_block1) { - group_outros(); - - transition_out(if_block1, 1, 1, () => { - if_block1 = null; - }); - - check_outros(); - } - - if (/*page*/ ctx[1] > 3) { - if (if_block2) { - if_block2.p(ctx, dirty); - - if (dirty & /*page*/ 2) { - transition_in(if_block2, 1); - } - } else { - if_block2 = create_if_block_3$1(ctx); - if_block2.c(); - transition_in(if_block2, 1); - if_block2.m(ul, t2); - } - } else if (if_block2) { - group_outros(); - - transition_out(if_block2, 1, 1, () => { - if_block2 = null; - }); - - check_outros(); - } - - if (dirty & /*url, Array, page, handlePage, totalPages*/ 30) { - each_value_2 = [...Array(5).keys()].map(/*func*/ ctx[5]); - validate_each_argument(each_value_2); - let i; - - for (i = 0; i < each_value_2.length; i += 1) { - const child_ctx = get_each_context_2(ctx, each_value_2, i); - - if (each_blocks_1[i]) { - each_blocks_1[i].p(child_ctx, dirty); - transition_in(each_blocks_1[i], 1); - } else { - each_blocks_1[i] = create_each_block_2(child_ctx); - each_blocks_1[i].c(); - transition_in(each_blocks_1[i], 1); - each_blocks_1[i].m(ul, t3); - } - } - - group_outros(); - - for (i = each_value_2.length; i < each_blocks_1.length; i += 1) { - out(i); - } - - check_outros(); - } - - if (/*totalPages*/ ctx[2] - /*page*/ ctx[1] > 2) { - if (if_block3) { - if_block3.p(ctx, dirty); - - if (dirty & /*totalPages, page*/ 6) { - transition_in(if_block3, 1); - } - } else { - if_block3 = create_if_block$3(ctx); - if_block3.c(); - transition_in(if_block3, 1); - if_block3.m(ul, null); - } - } else if (if_block3) { - group_outros(); - - transition_out(if_block3, 1, 1, () => { - if_block3 = null; - }); - - check_outros(); - } - - if (dirty & /*posts*/ 1) { - each_value = /*posts*/ ctx[0]; - validate_each_argument(each_value); - group_outros(); - validate_each_keys(ctx, each_value, get_each_context$2, get_key); - each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each1_lookup, div0, outro_and_destroy_block, create_each_block$2, null, get_each_context$2); - check_outros(); - } - }, - i: function intro(local) { - if (current) return; - transition_in(if_block0); - transition_in(if_block1); - transition_in(if_block2); - - for (let i = 0; i < each_value_2.length; i += 1) { - transition_in(each_blocks_1[i]); - } - - transition_in(if_block3); - - for (let i = 0; i < each_value.length; i += 1) { - transition_in(each_blocks[i]); - } - - current = true; - }, - o: function outro(local) { - transition_out(if_block0); - transition_out(if_block1); - transition_out(if_block2); - each_blocks_1 = each_blocks_1.filter(Boolean); - - for (let i = 0; i < each_blocks_1.length; i += 1) { - transition_out(each_blocks_1[i]); - } - - transition_out(if_block3); - - for (let i = 0; i < each_blocks.length; i += 1) { - transition_out(each_blocks[i]); - } - - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(section); - if (if_block0) if_block0.d(); - if (if_block1) if_block1.d(); - if (if_block2) if_block2.d(); - destroy_each(each_blocks_1, detaching); - if (if_block3) if_block3.d(); - - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].d(); - } - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_fragment$8.name, - type: "component", - source: "", - ctx - }); - - return block; - } - - function instance$8($$self, $$props, $$invalidate) { - let { $$slots: slots = {}, $$scope } = $$props; - validate_slots("PostPaginator", slots, []); - let { posts = [] } = $$props; - let { page = 1 } = $$props; - let { totalPages = 1 } = $$props; - - let { handlePage = i => { - - } } = $$props; - - let { url = "/posts" } = $$props; - const writable_props = ["posts", "page", "totalPages", "handlePage", "url"]; - - Object.keys($$props).forEach(key => { - if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); - }); - - const func = x => x + page - 2; - - $$self.$$set = $$props => { - if ("posts" in $$props) $$invalidate(0, posts = $$props.posts); - if ("page" in $$props) $$invalidate(1, page = $$props.page); - if ("totalPages" in $$props) $$invalidate(2, totalPages = $$props.totalPages); - if ("handlePage" in $$props) $$invalidate(3, handlePage = $$props.handlePage); - if ("url" in $$props) $$invalidate(4, url = $$props.url); - }; - - $$self.$capture_state = () => ({ - Link, - posts, - page, - totalPages, - handlePage, - url - }); - - $$self.$inject_state = $$props => { - if ("posts" in $$props) $$invalidate(0, posts = $$props.posts); - if ("page" in $$props) $$invalidate(1, page = $$props.page); - if ("totalPages" in $$props) $$invalidate(2, totalPages = $$props.totalPages); - if ("handlePage" in $$props) $$invalidate(3, handlePage = $$props.handlePage); - if ("url" in $$props) $$invalidate(4, url = $$props.url); - }; - - if ($$props && "$$inject" in $$props) { - $$self.$inject_state($$props.$$inject); - } - - return [posts, page, totalPages, handlePage, url, func]; - } - - class PostPaginator extends SvelteComponentDev { - constructor(options) { - super(options); - - init(this, options, instance$8, create_fragment$8, safe_not_equal, { - posts: 0, - page: 1, - totalPages: 2, - handlePage: 3, - url: 4 - }); - - dispatch_dev("SvelteRegisterComponent", { - component: this, - tagName: "PostPaginator", - options, - id: create_fragment$8.name - }); - } - - get posts() { - throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); - } - - set posts(value) { - throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); - } - - get page() { - throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); - } - - set page(value) { - throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); - } - - get totalPages() { - throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); - } - - set totalPages(value) { - throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); - } - - get handlePage() { - throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); - } - - set handlePage(value) { - throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); - } - - get url() { - throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); - } - - set url(value) { - throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); - } - } - - /* src/routes/Posts.svelte generated by Svelte v3.38.2 */ - const file$6 = "src/routes/Posts.svelte"; - - function create_fragment$7(ctx) { - let section; - let div; - let p; - let t1; - let postpaginator; - let current; - - postpaginator = new PostPaginator({ - props: { - url: "/posts", - posts: /*posts*/ ctx[2], - page: /*page*/ ctx[0], - totalPages: /*totalPages*/ ctx[1], - handlePage: /*handlePage*/ ctx[3] - }, - $$inline: true - }); - - const block = { - c: function create() { - section = element("section"); - div = element("div"); - p = element("p"); - p.textContent = "Posts"; - t1 = space(); - create_component(postpaginator.$$.fragment); - attr_dev(p, "class", "title"); - add_location(p, file$6, 38, 8, 953); - attr_dev(div, "class", "hero-body"); - add_location(div, file$6, 37, 4, 921); - attr_dev(section, "class", "hero is-primary"); - add_location(section, file$6, 36, 0, 883); - }, - l: function claim(nodes) { - throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); - }, - m: function mount(target, anchor) { - insert_dev(target, section, anchor); - append_dev(section, div); - append_dev(div, p); - insert_dev(target, t1, anchor); - mount_component(postpaginator, target, anchor); - current = true; - }, - p: function update(ctx, [dirty]) { - const postpaginator_changes = {}; - if (dirty & /*posts*/ 4) postpaginator_changes.posts = /*posts*/ ctx[2]; - if (dirty & /*page*/ 1) postpaginator_changes.page = /*page*/ ctx[0]; - if (dirty & /*totalPages*/ 2) postpaginator_changes.totalPages = /*totalPages*/ ctx[1]; - postpaginator.$set(postpaginator_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(postpaginator.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(postpaginator.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(section); - if (detaching) detach_dev(t1); - destroy_component(postpaginator, detaching); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_fragment$7.name, - type: "component", - source: "", - ctx - }); - - return block; - } - - function instance$7($$self, $$props, $$invalidate) { - let { $$slots: slots = {}, $$scope } = $$props; - validate_slots("Posts", slots, []); - let { location } = $$props; - let page = 1; - let totalPages = 1; - let posts = []; - - const getData = async () => { - const data = await getPosts({ page }); - - if (Array.isArray(data.posts)) { - $$invalidate(2, posts = data.posts); - $$invalidate(1, totalPages = data.totalPage); - } - }; - - onMount(() => { - let queryParams; - queryParams = queryString.parse(location.search); - - if (queryParams.page) { - $$invalidate(0, page = parseInt(queryParams.page)); - } - - getData(); - }); - - const handlePage = i => { - return () => { - $$invalidate(0, page = i); - getData(); - }; - }; - - const writable_props = ["location"]; - - Object.keys($$props).forEach(key => { - if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); - }); - - $$self.$$set = $$props => { - if ("location" in $$props) $$invalidate(4, location = $$props.location); - }; - - $$self.$capture_state = () => ({ - onMount, - getPosts, - Link, - queryString, - PostPaginator, - location, - page, - totalPages, - posts, - getData, - handlePage - }); - - $$self.$inject_state = $$props => { - if ("location" in $$props) $$invalidate(4, location = $$props.location); - if ("page" in $$props) $$invalidate(0, page = $$props.page); - if ("totalPages" in $$props) $$invalidate(1, totalPages = $$props.totalPages); - if ("posts" in $$props) $$invalidate(2, posts = $$props.posts); - }; - - if ($$props && "$$inject" in $$props) { - $$self.$inject_state($$props.$$inject); - } - - return [page, totalPages, posts, handlePage, location]; - } - - class Posts extends SvelteComponentDev { - constructor(options) { - super(options); - init(this, options, instance$7, create_fragment$7, safe_not_equal, { location: 4 }); - - dispatch_dev("SvelteRegisterComponent", { - component: this, - tagName: "Posts", - options, - id: create_fragment$7.name - }); - - const { ctx } = this.$$; - const props = options.props || {}; - - if (/*location*/ ctx[4] === undefined && !("location" in props)) { - console.warn(" was created without expected prop 'location'"); - } - } - - get location() { - throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); - } - - set location(value) { - throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); - } - } - - /* src/routes/Post.svelte generated by Svelte v3.38.2 */ - const file$5 = "src/routes/Post.svelte"; - - function get_each_context$1(ctx, list, i) { - const child_ctx = ctx.slice(); - child_ctx[4] = list[i]; - return child_ctx; - } - - // (25:8) {#if post} - function create_if_block_1$2(ctx) { - let p; - let t0; - let t1_value = /*post*/ ctx[0].id + ""; - let t1; - - const block = { - c: function create() { - p = element("p"); - t0 = text("Post ID: "); - t1 = text(t1_value); - attr_dev(p, "class", "title"); - add_location(p, file$5, 25, 6, 545); - }, - m: function mount(target, anchor) { - insert_dev(target, p, anchor); - append_dev(p, t0); - append_dev(p, t1); - }, - p: function update(ctx, dirty) { - if (dirty & /*post*/ 1 && t1_value !== (t1_value = /*post*/ ctx[0].id + "")) set_data_dev(t1, t1_value); - }, - d: function destroy(detaching) { - if (detaching) detach_dev(p); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_if_block_1$2.name, - type: "if", - source: "(25:8) {#if post}", - ctx - }); - - return block; - } - - // (32:0) {#if post} - function create_if_block$2(ctx) { - let div3; - let section; - let div2; - let div0; - let p0; - let t0; - let a; - let t1_value = /*trimUrl*/ ctx[1](/*post*/ ctx[0].source_url) + ""; - let t1; - let a_href_value; - let t2; - let p1; - let t3; - let each_blocks = []; - let each_1_lookup = new Map(); - let t4; - let div1; - let figure; - let img; - let img_alt_value; - let img_src_value; - let current; - let each_value = /*post*/ ctx[0].tags; - validate_each_argument(each_value); - const get_key = ctx => /*tag*/ ctx[4]; - validate_each_keys(ctx, each_value, get_each_context$1, get_key); - - for (let i = 0; i < each_value.length; i += 1) { - let child_ctx = get_each_context$1(ctx, each_value, i); - let key = get_key(child_ctx); - each_1_lookup.set(key, each_blocks[i] = create_each_block$1(key, child_ctx)); - } - - const block = { - c: function create() { - div3 = element("div"); - section = element("section"); - div2 = element("div"); - div0 = element("div"); - p0 = element("p"); - t0 = text("Source URL: "); - a = element("a"); - t1 = text(t1_value); - t2 = space(); - p1 = element("p"); - t3 = text("Tags: \n "); - - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].c(); - } - - t4 = space(); - div1 = element("div"); - figure = element("figure"); - img = element("img"); - attr_dev(a, "href", a_href_value = /*post*/ ctx[0].source_url); - add_location(a, file$5, 37, 36, 840); - add_location(p0, file$5, 36, 20, 800); - add_location(p1, file$5, 39, 20, 944); - attr_dev(div0, "class", "column is-one-third box"); - add_location(div0, file$5, 35, 12, 742); - attr_dev(img, "alt", img_alt_value = /*post*/ ctx[0].id); - if (img.src !== (img_src_value = /*post*/ ctx[0].image_path)) attr_dev(img, "src", img_src_value); - add_location(img, file$5, 52, 20, 1395); - attr_dev(figure, "class", "image"); - add_location(figure, file$5, 51, 16, 1352); - attr_dev(div1, "class", "column"); - add_location(div1, file$5, 50, 12, 1315); - attr_dev(div2, "class", "columns"); - add_location(div2, file$5, 34, 8, 708); - attr_dev(section, "class", "section"); - add_location(section, file$5, 33, 4, 674); - attr_dev(div3, "class", "container"); - add_location(div3, file$5, 32, 0, 646); - }, - m: function mount(target, anchor) { - insert_dev(target, div3, anchor); - append_dev(div3, section); - append_dev(section, div2); - append_dev(div2, div0); - append_dev(div0, p0); - append_dev(p0, t0); - append_dev(p0, a); - append_dev(a, t1); - append_dev(div0, t2); - append_dev(div0, p1); - append_dev(p1, t3); - - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].m(p1, null); - } - - append_dev(div2, t4); - append_dev(div2, div1); - append_dev(div1, figure); - append_dev(figure, img); - current = true; - }, - p: function update(ctx, dirty) { - if ((!current || dirty & /*post*/ 1) && t1_value !== (t1_value = /*trimUrl*/ ctx[1](/*post*/ ctx[0].source_url) + "")) set_data_dev(t1, t1_value); - - if (!current || dirty & /*post*/ 1 && a_href_value !== (a_href_value = /*post*/ ctx[0].source_url)) { - attr_dev(a, "href", a_href_value); - } - - if (dirty & /*post*/ 1) { - each_value = /*post*/ ctx[0].tags; - validate_each_argument(each_value); - group_outros(); - validate_each_keys(ctx, each_value, get_each_context$1, get_key); - each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, p1, outro_and_destroy_block, create_each_block$1, null, get_each_context$1); - check_outros(); - } - - if (!current || dirty & /*post*/ 1 && img_alt_value !== (img_alt_value = /*post*/ ctx[0].id)) { - attr_dev(img, "alt", img_alt_value); - } - - if (!current || dirty & /*post*/ 1 && img.src !== (img_src_value = /*post*/ ctx[0].image_path)) { - attr_dev(img, "src", img_src_value); - } - }, - i: function intro(local) { - if (current) return; - - for (let i = 0; i < each_value.length; i += 1) { - transition_in(each_blocks[i]); - } - - current = true; - }, - o: function outro(local) { - for (let i = 0; i < each_blocks.length; i += 1) { - transition_out(each_blocks[i]); - } - - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(div3); - - for (let i = 0; i < each_blocks.length; i += 1) { - each_blocks[i].d(); - } - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_if_block$2.name, - type: "if", - source: "(32:0) {#if post}", - ctx - }); - - return block; - } - - // (45:32) - function create_default_slot$1(ctx) { - let t_value = /*tag*/ ctx[4] + ""; - let t; - - const block = { - c: function create() { - t = text(t_value); - }, - m: function mount(target, anchor) { - insert_dev(target, t, anchor); - }, - p: function update(ctx, dirty) { - if (dirty & /*post*/ 1 && t_value !== (t_value = /*tag*/ ctx[4] + "")) set_data_dev(t, t_value); - }, - d: function destroy(detaching) { - if (detaching) detach_dev(t); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_default_slot$1.name, - type: "slot", - source: "(45:32) ", - ctx - }); - - return block; - } - - // (42:24) {#each post.tags as tag (tag)} - function create_each_block$1(key_1, ctx) { - let ul; - let li; - let link; - let t; - let current; - - link = new Link({ - props: { - to: "/tag/" + /*tag*/ ctx[4], - $$slots: { default: [create_default_slot$1] }, - $$scope: { ctx } - }, - $$inline: true - }); - - const block = { - key: key_1, - first: null, - c: function create() { - ul = element("ul"); - li = element("li"); - create_component(link.$$.fragment); - t = space(); - add_location(li, file$5, 43, 28, 1091); - add_location(ul, file$5, 42, 24, 1058); - this.first = ul; - }, - m: function mount(target, anchor) { - insert_dev(target, ul, anchor); - append_dev(ul, li); - mount_component(link, li, null); - append_dev(ul, t); - current = true; - }, - p: function update(new_ctx, dirty) { - ctx = new_ctx; - const link_changes = {}; - if (dirty & /*post*/ 1) link_changes.to = "/tag/" + /*tag*/ ctx[4]; - - if (dirty & /*$$scope, post*/ 129) { - link_changes.$$scope = { dirty, ctx }; - } - - link.$set(link_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(link.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(link.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(ul); - destroy_component(link); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_each_block$1.name, - type: "each", - source: "(42:24) {#each post.tags as tag (tag)}", - ctx - }); - - return block; - } - - function create_fragment$6(ctx) { - let section; - let div; - let t; - let if_block1_anchor; - let current; - let if_block0 = /*post*/ ctx[0] && create_if_block_1$2(ctx); - let if_block1 = /*post*/ ctx[0] && create_if_block$2(ctx); - - const block = { - c: function create() { - section = element("section"); - div = element("div"); - if (if_block0) if_block0.c(); - t = space(); - if (if_block1) if_block1.c(); - if_block1_anchor = empty(); - attr_dev(div, "class", "hero-body"); - add_location(div, file$5, 23, 4, 496); - attr_dev(section, "class", "hero is-primary"); - add_location(section, file$5, 22, 0, 458); - }, - l: function claim(nodes) { - throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); - }, - m: function mount(target, anchor) { - insert_dev(target, section, anchor); - append_dev(section, div); - if (if_block0) if_block0.m(div, null); - insert_dev(target, t, anchor); - if (if_block1) if_block1.m(target, anchor); - insert_dev(target, if_block1_anchor, anchor); - current = true; - }, - p: function update(ctx, [dirty]) { - if (/*post*/ ctx[0]) { - if (if_block0) { - if_block0.p(ctx, dirty); - } else { - if_block0 = create_if_block_1$2(ctx); - if_block0.c(); - if_block0.m(div, null); - } - } else if (if_block0) { - if_block0.d(1); - if_block0 = null; - } - - if (/*post*/ ctx[0]) { - if (if_block1) { - if_block1.p(ctx, dirty); - - if (dirty & /*post*/ 1) { - transition_in(if_block1, 1); - } - } else { - if_block1 = create_if_block$2(ctx); - if_block1.c(); - transition_in(if_block1, 1); - if_block1.m(if_block1_anchor.parentNode, if_block1_anchor); - } - } else if (if_block1) { - group_outros(); - - transition_out(if_block1, 1, 1, () => { - if_block1 = null; - }); - - check_outros(); - } - }, - i: function intro(local) { - if (current) return; - transition_in(if_block1); - current = true; - }, - o: function outro(local) { - transition_out(if_block1); - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(section); - if (if_block0) if_block0.d(); - if (detaching) detach_dev(t); - if (if_block1) if_block1.d(detaching); - if (detaching) detach_dev(if_block1_anchor); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_fragment$6.name, - type: "component", - source: "", - ctx - }); - - return block; - } - - function instance$6($$self, $$props, $$invalidate) { - let { $$slots: slots = {}, $$scope } = $$props; - validate_slots("Post", slots, []); - let { id } = $$props; - let post; - - const getData = async () => { - const data = await getPost({ id }); - $$invalidate(0, post = data); - }; - - const trimUrl = str => { - if (str.length > 30) { - return str.substring(0, 30) + "..."; - } - - return str; - }; - - onMount(() => { - getData(); - }); - - const writable_props = ["id"]; - - Object.keys($$props).forEach(key => { - if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); - }); - - $$self.$$set = $$props => { - if ("id" in $$props) $$invalidate(2, id = $$props.id); - }; - - $$self.$capture_state = () => ({ - onMount, - Link, - getPost, - id, - post, - getData, - trimUrl - }); - - $$self.$inject_state = $$props => { - if ("id" in $$props) $$invalidate(2, id = $$props.id); - if ("post" in $$props) $$invalidate(0, post = $$props.post); - }; - - if ($$props && "$$inject" in $$props) { - $$self.$inject_state($$props.$$inject); - } - - return [post, trimUrl, id]; - } - - class Post extends SvelteComponentDev { - constructor(options) { - super(options); - init(this, options, instance$6, create_fragment$6, safe_not_equal, { id: 2 }); - - dispatch_dev("SvelteRegisterComponent", { - component: this, - tagName: "Post", - options, - id: create_fragment$6.name - }); - - const { ctx } = this.$$; - const props = options.props || {}; - - if (/*id*/ ctx[2] === undefined && !("id" in props)) { - console.warn(" was created without expected prop 'id'"); - } - } - - get id() { - throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); - } - - set id(value) { - throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); - } - } - - /* src/routes/Login.svelte generated by Svelte v3.38.2 */ - const file$4 = "src/routes/Login.svelte"; - - function create_fragment$5(ctx) { - let div6; - let form; - let div1; - let label0; - let t1; - let div0; - let input0; - let t2; - let div3; - let label1; - let t4; - let div2; - let input1; - let t5; - let div5; - let div4; - let button; - let mounted; - let dispose; - - const block = { - c: function create() { - div6 = element("div"); - form = element("form"); - div1 = element("div"); - label0 = element("label"); - label0.textContent = "Username"; - t1 = space(); - div0 = element("div"); - input0 = element("input"); - t2 = space(); - div3 = element("div"); - label1 = element("label"); - label1.textContent = "Password"; - t4 = space(); - div2 = element("div"); - input1 = element("input"); - t5 = space(); - div5 = element("div"); - div4 = element("div"); - button = element("button"); - button.textContent = "Login"; - attr_dev(label0, "for", "username"); - attr_dev(label0, "class", "label"); - add_location(label0, file$4, 16, 12, 391); - attr_dev(input0, "id", "username"); - attr_dev(input0, "class", "input"); - attr_dev(input0, "type", "text"); - attr_dev(input0, "placeholder", "Username"); - input0.required = true; - add_location(input0, file$4, 18, 16, 494); - attr_dev(div0, "class", "control"); - add_location(div0, file$4, 17, 12, 456); - attr_dev(div1, "class", "field"); - add_location(div1, file$4, 15, 8, 359); - attr_dev(label1, "for", "password"); - attr_dev(label1, "class", "label"); - add_location(label1, file$4, 29, 12, 808); - attr_dev(input1, "id", "password"); - attr_dev(input1, "class", "input"); - attr_dev(input1, "type", "password"); - attr_dev(input1, "placeholder", "Password"); - input1.required = true; - add_location(input1, file$4, 31, 16, 911); - attr_dev(div2, "class", "control"); - add_location(div2, file$4, 30, 12, 873); - attr_dev(div3, "class", "field"); - add_location(div3, file$4, 28, 8, 776); - attr_dev(button, "class", "button is-link"); - add_location(button, file$4, 43, 16, 1267); - attr_dev(div4, "class", "control"); - add_location(div4, file$4, 42, 12, 1229); - attr_dev(div5, "class", "field"); - add_location(div5, file$4, 41, 8, 1197); - add_location(form, file$4, 14, 4, 309); - attr_dev(div6, "class", "container"); - add_location(div6, file$4, 13, 0, 281); - }, - l: function claim(nodes) { - throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); - }, - m: function mount(target, anchor) { - insert_dev(target, div6, anchor); - append_dev(div6, form); - append_dev(form, div1); - append_dev(div1, label0); - append_dev(div1, t1); - append_dev(div1, div0); - append_dev(div0, input0); - set_input_value(input0, /*username*/ ctx[0]); - append_dev(form, t2); - append_dev(form, div3); - append_dev(div3, label1); - append_dev(div3, t4); - append_dev(div3, div2); - append_dev(div2, input1); - set_input_value(input1, /*password*/ ctx[1]); - append_dev(form, t5); - append_dev(form, div5); - append_dev(div5, div4); - append_dev(div4, button); - - if (!mounted) { - dispose = [ - listen_dev(input0, "input", /*input0_input_handler*/ ctx[3]), - listen_dev(input1, "input", /*input1_input_handler*/ ctx[4]), - listen_dev(form, "submit", prevent_default(/*doLogin*/ ctx[2]), false, true, false) - ]; - - mounted = true; - } - }, - p: function update(ctx, [dirty]) { - if (dirty & /*username*/ 1 && input0.value !== /*username*/ ctx[0]) { - set_input_value(input0, /*username*/ ctx[0]); - } - - if (dirty & /*password*/ 2 && input1.value !== /*password*/ ctx[1]) { - set_input_value(input1, /*password*/ ctx[1]); - } - }, - i: noop, - o: noop, - d: function destroy(detaching) { - if (detaching) detach_dev(div6); - mounted = false; - run_all(dispose); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_fragment$5.name, - type: "component", - source: "", - ctx - }); - - return block; - } - - function instance$5($$self, $$props, $$invalidate) { - let { $$slots: slots = {}, $$scope } = $$props; - validate_slots("Login", slots, []); - let username = ""; - let password = ""; - - const doLogin = async () => { - await login({ username, password }); - navigate("/"); - }; - - const writable_props = []; - - Object.keys($$props).forEach(key => { - if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); - }); - - function input0_input_handler() { - username = this.value; - $$invalidate(0, username); - } - - function input1_input_handler() { - password = this.value; - $$invalidate(1, password); - } - - $$self.$capture_state = () => ({ - login, - navigate, - username, - password, - doLogin - }); - - $$self.$inject_state = $$props => { - if ("username" in $$props) $$invalidate(0, username = $$props.username); - if ("password" in $$props) $$invalidate(1, password = $$props.password); - }; - - if ($$props && "$$inject" in $$props) { - $$self.$inject_state($$props.$$inject); - } - - return [username, password, doLogin, input0_input_handler, input1_input_handler]; - } - - class Login extends SvelteComponentDev { - constructor(options) { - super(options); - init(this, options, instance$5, create_fragment$5, safe_not_equal, {}); - - dispatch_dev("SvelteRegisterComponent", { - component: this, - tagName: "Login", - options, - id: create_fragment$5.name - }); - } - } - - /* src/routes/Logout.svelte generated by Svelte v3.38.2 */ - - function create_fragment$4(ctx) { - const block = { - c: noop, - l: function claim(nodes) { - throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); - }, - m: noop, - p: noop, - i: noop, - o: noop, - d: noop - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_fragment$4.name, - type: "component", - source: "", - ctx - }); - - return block; - } - - function instance$4($$self, $$props, $$invalidate) { - let { $$slots: slots = {}, $$scope } = $$props; - validate_slots("Logout", slots, []); - - onMount(() => { - token$1.set(""); - navigate("/"); - }); - - const writable_props = []; - - Object.keys($$props).forEach(key => { - if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); - }); - - $$self.$capture_state = () => ({ token: token$1, navigate, onMount }); - return []; - } - - class Logout extends SvelteComponentDev { - constructor(options) { - super(options); - init(this, options, instance$4, create_fragment$4, safe_not_equal, {}); - - dispatch_dev("SvelteRegisterComponent", { - component: this, - tagName: "Logout", - options, - id: create_fragment$4.name - }); - } - } - - /* src/routes/Tag.svelte generated by Svelte v3.38.2 */ - const file$3 = "src/routes/Tag.svelte"; - - function create_fragment$3(ctx) { - let section; - let div; - let p0; - let t0; - let t1; - let p1; - let t3; - let postpaginator; - let current; - - postpaginator = new PostPaginator({ - props: { - url: "/tag/" + /*id*/ ctx[0], - posts: /*posts*/ ctx[3], - page: /*page*/ ctx[1], - totalPages: /*totalPages*/ ctx[2], - handlePage: /*handlePage*/ ctx[4] - }, - $$inline: true - }); - - const block = { - c: function create() { - section = element("section"); - div = element("div"); - p0 = element("p"); - t0 = text(/*id*/ ctx[0]); - t1 = space(); - p1 = element("p"); - p1.textContent = "Tag"; - t3 = space(); - create_component(postpaginator.$$.fragment); - attr_dev(p0, "class", "title"); - add_location(p0, file$3, 39, 8, 945); - attr_dev(p1, "class", "subtitle"); - add_location(p1, file$3, 42, 8, 1001); - attr_dev(div, "class", "hero-body"); - add_location(div, file$3, 38, 4, 913); - attr_dev(section, "class", "hero is-primary"); - add_location(section, file$3, 37, 0, 875); - }, - l: function claim(nodes) { - throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); - }, - m: function mount(target, anchor) { - insert_dev(target, section, anchor); - append_dev(section, div); - append_dev(div, p0); - append_dev(p0, t0); - append_dev(div, t1); - append_dev(div, p1); - insert_dev(target, t3, anchor); - mount_component(postpaginator, target, anchor); - current = true; - }, - p: function update(ctx, [dirty]) { - if (!current || dirty & /*id*/ 1) set_data_dev(t0, /*id*/ ctx[0]); - const postpaginator_changes = {}; - if (dirty & /*id*/ 1) postpaginator_changes.url = "/tag/" + /*id*/ ctx[0]; - if (dirty & /*posts*/ 8) postpaginator_changes.posts = /*posts*/ ctx[3]; - if (dirty & /*page*/ 2) postpaginator_changes.page = /*page*/ ctx[1]; - if (dirty & /*totalPages*/ 4) postpaginator_changes.totalPages = /*totalPages*/ ctx[2]; - postpaginator.$set(postpaginator_changes); - }, - i: function intro(local) { - if (current) return; - transition_in(postpaginator.$$.fragment, local); - current = true; - }, - o: function outro(local) { - transition_out(postpaginator.$$.fragment, local); - current = false; - }, - d: function destroy(detaching) { - if (detaching) detach_dev(section); - if (detaching) detach_dev(t3); - destroy_component(postpaginator, detaching); - } - }; - - dispatch_dev("SvelteRegisterBlock", { - block, - id: create_fragment$3.name, - type: "component", - source: "", - ctx - }); - - return block; - } - - function instance$3($$self, $$props, $$invalidate) { - let { $$slots: slots = {}, $$scope } = $$props; - validate_slots("Tag", slots, []); - let { location } = $$props; - let { id } = $$props; - let page = 1; - let totalPages = 1; - let posts = []; - - const getData = async () => { - const data = await getPostsTag({ page, tag: id }); - - if (Array.isArray(data.posts)) { - $$invalidate(3, posts = data.posts); - $$invalidate(2, totalPages = data.totalPage); - } - }; - - onMount(() => { - let queryParams; - queryParams = queryString.parse(location.search); - - if (queryParams.page) { - $$invalidate(1, page = parseInt(queryParams.page)); - } - - getData(); - }); - - const handlePage = i => { - return () => { - $$invalidate(1, page = i); - getData(); - }; - }; - - const writable_props = ["location", "id"]; - - Object.keys($$props).forEach(key => { - if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); - }); - - $$self.$$set = $$props => { - if ("location" in $$props) $$invalidate(5, location = $$props.location); - if ("id" in $$props) $$invalidate(0, id = $$props.id); - }; - - $$self.$capture_state = () => ({ - onMount, - getPostsTag, - PostPaginator, - queryString, - location, - id, - page, - totalPages, - posts, - getData, - handlePage - }); - - $$self.$inject_state = $$props => { - if ("location" in $$props) $$invalidate(5, location = $$props.location); - if ("id" in $$props) $$invalidate(0, id = $$props.id); - if ("page" in $$props) $$invalidate(1, page = $$props.page); - if ("totalPages" in $$props) $$invalidate(2, totalPages = $$props.totalPages); - if ("posts" in $$props) $$invalidate(3, posts = $$props.posts); - }; - - if ($$props && "$$inject" in $$props) { - $$self.$inject_state($$props.$$inject); - } - - return [id, page, totalPages, posts, handlePage, location]; - } - - class Tag extends SvelteComponentDev { - constructor(options) { - super(options); - init(this, options, instance$3, create_fragment$3, safe_not_equal, { location: 5, id: 0 }); - - dispatch_dev("SvelteRegisterComponent", { - component: this, - tagName: "Tag", - options, - id: create_fragment$3.name - }); - - const { ctx } = this.$$; - const props = options.props || {}; - - if (/*location*/ ctx[5] === undefined && !("location" in props)) { - console.warn(" was created without expected prop 'location'"); - } - - if (/*id*/ ctx[0] === undefined && !("id" in props)) { - console.warn(" was created without expected prop 'id'"); - } - } - - get location() { - throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); - } - - set location(value) { - throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); - } - - get id() { - throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); - } - - set id(value) { - throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); - } - } - /* node_modules/svelte-tags-input/src/Tags.svelte generated by Svelte v3.38.2 */ - const { console: console_1 } = globals; - const file$2 = "node_modules/svelte-tags-input/src/Tags.svelte"; + const { console: console_1$1 } = globals; + const file$6 = "node_modules/svelte-tags-input/src/Tags.svelte"; - function get_each_context(ctx, list, i) { + function get_each_context$1(ctx, list, i) { const child_ctx = ctx.slice(); child_ctx[37] = list[i]; child_ctx[39] = i; @@ -7738,7 +6921,7 @@ var app = (function () { } // (309:4) {#if tags.length > 0} - function create_if_block_1$1(ctx) { + function create_if_block_1$2(ctx) { let each_1_anchor; let each_value_1 = /*tags*/ ctx[0]; validate_each_argument(each_value_1); @@ -7796,7 +6979,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_if_block_1$1.name, + id: create_if_block_1$2.name, type: "if", source: "(309:4) {#if tags.length > 0}", ctx @@ -7806,7 +6989,7 @@ var app = (function () { } // (314:16) {:else} - function create_else_block(ctx) { + function create_else_block$1(ctx) { let t_value = /*tag*/ ctx[8][/*autoCompleteKey*/ ctx[3]] + ""; let t; @@ -7827,7 +7010,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_else_block.name, + id: create_else_block$1.name, type: "else", source: "(314:16) {:else}", ctx @@ -7868,7 +7051,7 @@ var app = (function () { } // (317:16) {#if !disable} - function create_if_block_2(ctx) { + function create_if_block_2$1(ctx) { let span; let mounted; let dispose; @@ -7882,7 +7065,7 @@ var app = (function () { span = element("span"); span.textContent = "×"; attr_dev(span, "class", "svelte-tags-input-tag-remove svelte-1xz5xok"); - add_location(span, file$2, 317, 16, 9118); + add_location(span, file$6, 317, 16, 9118); }, m: function mount(target, anchor) { insert_dev(target, span, anchor); @@ -7904,7 +7087,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_if_block_2.name, + id: create_if_block_2$1.name, type: "if", source: "(317:16) {#if !disable}", ctx @@ -7921,12 +7104,12 @@ var app = (function () { function select_block_type(ctx, dirty) { if (typeof /*tag*/ ctx[8] === "string") return create_if_block_3; - return create_else_block; + return create_else_block$1; } let current_block_type = select_block_type(ctx); let if_block0 = current_block_type(ctx); - let if_block1 = !/*disable*/ ctx[6] && create_if_block_2(ctx); + let if_block1 = !/*disable*/ ctx[6] && create_if_block_2$1(ctx); const block = { c: function create() { @@ -7936,7 +7119,7 @@ var app = (function () { if (if_block1) if_block1.c(); t1 = space(); attr_dev(span, "class", "svelte-tags-input-tag svelte-1xz5xok"); - add_location(span, file$2, 310, 12, 8866); + add_location(span, file$6, 310, 12, 8866); }, m: function mount(target, anchor) { insert_dev(target, span, anchor); @@ -7962,7 +7145,7 @@ var app = (function () { if (if_block1) { if_block1.p(ctx, dirty); } else { - if_block1 = create_if_block_2(ctx); + if_block1 = create_if_block_2$1(ctx); if_block1.c(); if_block1.m(span, t1); } @@ -7990,7 +7173,7 @@ var app = (function () { } // (339:0) {#if autoComplete && arrelementsmatch.length > 0} - function create_if_block$1(ctx) { + function create_if_block$2(ctx) { let div; let ul; let ul_id_value; @@ -7999,7 +7182,7 @@ var app = (function () { let each_blocks = []; for (let i = 0; i < each_value.length; i += 1) { - each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i)); + each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i)); } const block = { @@ -8013,9 +7196,9 @@ var app = (function () { attr_dev(ul, "id", ul_id_value = "" + (/*id*/ ctx[5] + "_matchs")); attr_dev(ul, "class", "svelte-tags-input-matchs svelte-1xz5xok"); - add_location(ul, file$2, 340, 8, 9758); + add_location(ul, file$6, 340, 8, 9758); attr_dev(div, "class", "svelte-tags-input-matchs-parent svelte-1xz5xok"); - add_location(div, file$2, 339, 4, 9703); + add_location(div, file$6, 339, 4, 9703); }, m: function mount(target, anchor) { insert_dev(target, div, anchor); @@ -8032,12 +7215,12 @@ var app = (function () { let i; for (i = 0; i < each_value.length; i += 1) { - const child_ctx = get_each_context(ctx, each_value, i); + const child_ctx = get_each_context$1(ctx, each_value, i); if (each_blocks[i]) { each_blocks[i].p(child_ctx, dirty); } else { - each_blocks[i] = create_each_block(child_ctx); + each_blocks[i] = create_each_block$1(child_ctx); each_blocks[i].c(); each_blocks[i].m(ul, null); } @@ -8062,7 +7245,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_if_block$1.name, + id: create_if_block$2.name, type: "if", source: "(339:0) {#if autoComplete && arrelementsmatch.length > 0}", ctx @@ -8072,7 +7255,7 @@ var app = (function () { } // (342:12) {#each arrelementsmatch as element, index} - function create_each_block(ctx) { + function create_each_block$1(ctx) { let li; let html_tag; let raw_value = /*element*/ ctx[37].search + ""; @@ -8095,7 +7278,7 @@ var app = (function () { html_tag = new HtmlTag(t); attr_dev(li, "tabindex", "-1"); attr_dev(li, "class", "svelte-1xz5xok"); - add_location(li, file$2, 342, 16, 9886); + add_location(li, file$6, 342, 16, 9886); }, m: function mount(target, anchor) { insert_dev(target, li, anchor); @@ -8124,7 +7307,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_each_block.name, + id: create_each_block$1.name, type: "each", source: "(342:12) {#each arrelementsmatch as element, index}", ctx @@ -8133,7 +7316,7 @@ var app = (function () { return block; } - function create_fragment$2(ctx) { + function create_fragment$7(ctx) { let div; let t0; let input; @@ -8141,8 +7324,8 @@ var app = (function () { let if_block1_anchor; let mounted; let dispose; - let if_block0 = /*tags*/ ctx[0].length > 0 && create_if_block_1$1(ctx); - let if_block1 = /*autoComplete*/ ctx[2] && /*arrelementsmatch*/ ctx[7].length > 0 && create_if_block$1(ctx); + let if_block0 = /*tags*/ ctx[0].length > 0 && create_if_block_1$2(ctx); + let if_block1 = /*autoComplete*/ ctx[2] && /*arrelementsmatch*/ ctx[7].length > 0 && create_if_block$2(ctx); const block = { c: function create() { @@ -8159,10 +7342,10 @@ var app = (function () { attr_dev(input, "class", "svelte-tags-input svelte-1xz5xok"); attr_dev(input, "placeholder", /*placeholder*/ ctx[1]); input.disabled = /*disable*/ ctx[6]; - add_location(input, file$2, 322, 4, 9283); + add_location(input, file$6, 322, 4, 9283); attr_dev(div, "class", "svelte-tags-input-layout svelte-1xz5xok"); toggle_class(div, "sti-layout-disable", /*disable*/ ctx[6]); - add_location(div, file$2, 307, 0, 8720); + add_location(div, file$6, 307, 0, 8720); }, l: function claim(nodes) { throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); @@ -8195,7 +7378,7 @@ var app = (function () { if (if_block0) { if_block0.p(ctx, dirty); } else { - if_block0 = create_if_block_1$1(ctx); + if_block0 = create_if_block_1$2(ctx); if_block0.c(); if_block0.m(div, t0); } @@ -8232,7 +7415,7 @@ var app = (function () { if (if_block1) { if_block1.p(ctx, dirty); } else { - if_block1 = create_if_block$1(ctx); + if_block1 = create_if_block$2(ctx); if_block1.c(); if_block1.m(if_block1_anchor.parentNode, if_block1_anchor); } @@ -8256,7 +7439,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_fragment$2.name, + id: create_fragment$7.name, type: "component", source: "", ctx @@ -8281,7 +7464,7 @@ var app = (function () { return "sti_" + Math.random().toString(36).substr(2, 9); } - function instance$2($$self, $$props, $$invalidate) { + function instance$7($$self, $$props, $$invalidate) { let matchsID; let { $$slots: slots = {}, $$scope } = $$props; validate_slots("Tags", slots, []); @@ -8542,7 +7725,7 @@ var app = (function () { ]; Object.keys($$props).forEach(key => { - if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console_1.warn(` was created with unknown prop '${key}'`); + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console_1$1.warn(` was created with unknown prop '${key}'`); }); const click_handler = i => removeTag(i); @@ -8760,8 +7943,8 @@ var app = (function () { init( this, options, - instance$2, - create_fragment$2, + instance$7, + create_fragment$7, safe_not_equal, { tags: 0, @@ -8789,78 +7972,78 @@ var app = (function () { component: this, tagName: "Tags", options, - id: create_fragment$2.name + id: create_fragment$7.name }); const { ctx } = this.$$; const props = options.props || {}; if (/*tags*/ ctx[0] === undefined && !("tags" in props)) { - console_1.warn(" was created without expected prop 'tags'"); + console_1$1.warn(" was created without expected prop 'tags'"); } if (/*addKeys*/ ctx[17] === undefined && !("addKeys" in props)) { - console_1.warn(" was created without expected prop 'addKeys'"); + console_1$1.warn(" was created without expected prop 'addKeys'"); } if (/*maxTags*/ ctx[18] === undefined && !("maxTags" in props)) { - console_1.warn(" was created without expected prop 'maxTags'"); + console_1$1.warn(" was created without expected prop 'maxTags'"); } if (/*onlyUnique*/ ctx[19] === undefined && !("onlyUnique" in props)) { - console_1.warn(" was created without expected prop 'onlyUnique'"); + console_1$1.warn(" was created without expected prop 'onlyUnique'"); } if (/*removeKeys*/ ctx[20] === undefined && !("removeKeys" in props)) { - console_1.warn(" was created without expected prop 'removeKeys'"); + console_1$1.warn(" was created without expected prop 'removeKeys'"); } if (/*placeholder*/ ctx[1] === undefined && !("placeholder" in props)) { - console_1.warn(" was created without expected prop 'placeholder'"); + console_1$1.warn(" was created without expected prop 'placeholder'"); } if (/*allowPaste*/ ctx[21] === undefined && !("allowPaste" in props)) { - console_1.warn(" was created without expected prop 'allowPaste'"); + console_1$1.warn(" was created without expected prop 'allowPaste'"); } if (/*allowDrop*/ ctx[22] === undefined && !("allowDrop" in props)) { - console_1.warn(" was created without expected prop 'allowDrop'"); + console_1$1.warn(" was created without expected prop 'allowDrop'"); } if (/*splitWith*/ ctx[23] === undefined && !("splitWith" in props)) { - console_1.warn(" was created without expected prop 'splitWith'"); + console_1$1.warn(" was created without expected prop 'splitWith'"); } if (/*autoComplete*/ ctx[2] === undefined && !("autoComplete" in props)) { - console_1.warn(" was created without expected prop 'autoComplete'"); + console_1$1.warn(" was created without expected prop 'autoComplete'"); } if (/*autoCompleteKey*/ ctx[3] === undefined && !("autoCompleteKey" in props)) { - console_1.warn(" was created without expected prop 'autoCompleteKey'"); + console_1$1.warn(" was created without expected prop 'autoCompleteKey'"); } if (/*name*/ ctx[4] === undefined && !("name" in props)) { - console_1.warn(" was created without expected prop 'name'"); + console_1$1.warn(" was created without expected prop 'name'"); } if (/*id*/ ctx[5] === undefined && !("id" in props)) { - console_1.warn(" was created without expected prop 'id'"); + console_1$1.warn(" was created without expected prop 'id'"); } if (/*allowBlur*/ ctx[24] === undefined && !("allowBlur" in props)) { - console_1.warn(" was created without expected prop 'allowBlur'"); + console_1$1.warn(" was created without expected prop 'allowBlur'"); } if (/*disable*/ ctx[6] === undefined && !("disable" in props)) { - console_1.warn(" was created without expected prop 'disable'"); + console_1$1.warn(" was created without expected prop 'disable'"); } if (/*minChars*/ ctx[25] === undefined && !("minChars" in props)) { - console_1.warn(" was created without expected prop 'minChars'"); + console_1$1.warn(" was created without expected prop 'minChars'"); } if (/*onlyAutocomplete*/ ctx[26] === undefined && !("onlyAutocomplete" in props)) { - console_1.warn(" was created without expected prop 'onlyAutocomplete'"); + console_1$1.warn(" was created without expected prop 'onlyAutocomplete'"); } } @@ -9001,8 +8184,1222 @@ var app = (function () { } } + /* src/routes/Posts.svelte generated by Svelte v3.38.2 */ + + const { console: console_1 } = globals; + const file$5 = "src/routes/Posts.svelte"; + + function create_fragment$6(ctx) { + let section0; + let div0; + let p; + let t1; + let section1; + let div7; + let div5; + let form; + let div4; + let div2; + let div1; + let tags; + let t2; + let div3; + let button; + let t4; + let div6; + let postpaginator; + let current; + let mounted; + let dispose; + + tags = new Tags({ + props: { + tags: /*searchTerms*/ ctx[0], + addKeys: [9, 32] + }, + $$inline: true + }); + + tags.$on("tags", /*onTagChange*/ ctx[4]); + + postpaginator = new PostPaginator({ + props: { + url: "/posts?tags=" + /*searchTerms*/ ctx[0].join("+") + "&", + posts: /*posts*/ ctx[3], + page: /*page*/ ctx[1], + totalPages: /*totalPages*/ ctx[2], + handlePage: /*handlePage*/ ctx[5] + }, + $$inline: true + }); + + const block = { + c: function create() { + section0 = element("section"); + div0 = element("div"); + p = element("p"); + p.textContent = "Posts"; + t1 = space(); + section1 = element("section"); + div7 = element("div"); + div5 = element("div"); + form = element("form"); + div4 = element("div"); + div2 = element("div"); + div1 = element("div"); + create_component(tags.$$.fragment); + t2 = space(); + div3 = element("div"); + button = element("button"); + button.textContent = "Search"; + t4 = space(); + div6 = element("div"); + create_component(postpaginator.$$.fragment); + attr_dev(p, "class", "title"); + add_location(p, file$5, 61, 8, 1514); + attr_dev(div0, "class", "hero-body"); + add_location(div0, file$5, 60, 4, 1482); + attr_dev(section0, "class", "hero is-primary"); + add_location(section0, file$5, 59, 0, 1444); + attr_dev(div1, "class", "control"); + attr_dev(div1, "id", "tags"); + add_location(div1, file$5, 71, 24, 1826); + attr_dev(div2, "class", "control is-expanded"); + add_location(div2, file$5, 70, 20, 1768); + attr_dev(button, "type", "submit"); + attr_dev(button, "class", "button is-primary"); + add_location(button, file$5, 80, 24, 2201); + attr_dev(div3, "class", "control"); + add_location(div3, file$5, 79, 20, 2155); + attr_dev(div4, "class", "field has-addons"); + add_location(div4, file$5, 69, 16, 1717); + add_location(form, file$5, 68, 12, 1658); + attr_dev(div5, "class", "block"); + add_location(div5, file$5, 67, 8, 1626); + attr_dev(div6, "class", "block"); + add_location(div6, file$5, 87, 8, 2412); + attr_dev(div7, "class", "container"); + add_location(div7, file$5, 66, 4, 1594); + attr_dev(section1, "class", "section"); + add_location(section1, file$5, 65, 0, 1564); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, section0, anchor); + append_dev(section0, div0); + append_dev(div0, p); + insert_dev(target, t1, anchor); + insert_dev(target, section1, anchor); + append_dev(section1, div7); + append_dev(div7, div5); + append_dev(div5, form); + append_dev(form, div4); + append_dev(div4, div2); + append_dev(div2, div1); + mount_component(tags, div1, null); + append_dev(div4, t2); + append_dev(div4, div3); + append_dev(div3, button); + append_dev(div7, t4); + append_dev(div7, div6); + mount_component(postpaginator, div6, null); + current = true; + + if (!mounted) { + dispose = listen_dev(form, "submit", prevent_default(/*onSearch*/ ctx[6]), false, true, false); + mounted = true; + } + }, + p: function update(ctx, [dirty]) { + const tags_changes = {}; + if (dirty & /*searchTerms*/ 1) tags_changes.tags = /*searchTerms*/ ctx[0]; + tags.$set(tags_changes); + const postpaginator_changes = {}; + if (dirty & /*searchTerms*/ 1) postpaginator_changes.url = "/posts?tags=" + /*searchTerms*/ ctx[0].join("+") + "&"; + if (dirty & /*posts*/ 8) postpaginator_changes.posts = /*posts*/ ctx[3]; + if (dirty & /*page*/ 2) postpaginator_changes.page = /*page*/ ctx[1]; + if (dirty & /*totalPages*/ 4) postpaginator_changes.totalPages = /*totalPages*/ ctx[2]; + postpaginator.$set(postpaginator_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(tags.$$.fragment, local); + transition_in(postpaginator.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(tags.$$.fragment, local); + transition_out(postpaginator.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(section0); + if (detaching) detach_dev(t1); + if (detaching) detach_dev(section1); + destroy_component(tags); + destroy_component(postpaginator); + mounted = false; + dispose(); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$6.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$6($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots("Posts", slots, []); + let { location } = $$props; + let searchTerms = []; + let page = 1; + let totalPages = 1; + let posts = []; + + const getData = async () => { + const data = await getPostSearchTag({ page, q: searchTerms.join("+") }); + + if (Array.isArray(data.posts)) { + $$invalidate(3, posts = data.posts); + $$invalidate(2, totalPages = data.totalPage); + } + }; + + let queryParams; + + const onTagChange = value => { + $$invalidate(0, searchTerms = value.detail.tags); + }; + + const handlePage = i => { + return () => { + $$invalidate(1, page = i); + getData(); + }; + }; + + const onSearch = i => { + if (searchTerms.length > 0) { + navigate(`/posts?tags=${searchTerms.join("+")}`); + } else { + navigate(`/posts`); + } + }; + + const writable_props = ["location"]; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console_1.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$$set = $$props => { + if ("location" in $$props) $$invalidate(7, location = $$props.location); + }; + + $$self.$capture_state = () => ({ + onMount, + getPostSearchTag, + navigate, + PostPaginator, + queryString, + Tags, + location, + searchTerms, + page, + totalPages, + posts, + getData, + queryParams, + onTagChange, + handlePage, + onSearch + }); + + $$self.$inject_state = $$props => { + if ("location" in $$props) $$invalidate(7, location = $$props.location); + if ("searchTerms" in $$props) $$invalidate(0, searchTerms = $$props.searchTerms); + if ("page" in $$props) $$invalidate(1, page = $$props.page); + if ("totalPages" in $$props) $$invalidate(2, totalPages = $$props.totalPages); + if ("posts" in $$props) $$invalidate(3, posts = $$props.posts); + if ("queryParams" in $$props) $$invalidate(8, queryParams = $$props.queryParams); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + $$self.$$.update = () => { + if ($$self.$$.dirty & /*location, queryParams*/ 384) { + { + $$invalidate(8, queryParams = queryString.parse(location.search)); + console.log(queryParams); + + if (queryParams.page) { + $$invalidate(1, page = parseInt(queryParams.page)); + } + + if (queryParams.tags) { + $$invalidate(0, searchTerms = queryParams.tags.split(" ")); + } else { + $$invalidate(0, searchTerms = []); + } + + getData(); + } + } + }; + + return [ + searchTerms, + page, + totalPages, + posts, + onTagChange, + handlePage, + onSearch, + location, + queryParams + ]; + } + + class Posts extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$6, create_fragment$6, safe_not_equal, { location: 7 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "Posts", + options, + id: create_fragment$6.name + }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*location*/ ctx[7] === undefined && !("location" in props)) { + console_1.warn(" was created without expected prop 'location'"); + } + } + + get location() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set location(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/routes/Post.svelte generated by Svelte v3.38.2 */ + const file$4 = "src/routes/Post.svelte"; + + function get_each_context(ctx, list, i) { + const child_ctx = ctx.slice(); + child_ctx[4] = list[i]; + return child_ctx; + } + + // (27:8) {#if post} + function create_if_block_2(ctx) { + let p; + let t0; + let t1_value = /*post*/ ctx[0].id + ""; + let t1; + + const block = { + c: function create() { + p = element("p"); + t0 = text("Post ID: "); + t1 = text(t1_value); + attr_dev(p, "class", "title"); + add_location(p, file$4, 27, 12, 628); + }, + m: function mount(target, anchor) { + insert_dev(target, p, anchor); + append_dev(p, t0); + append_dev(p, t1); + }, + p: function update(ctx, dirty) { + if (dirty & /*post*/ 1 && t1_value !== (t1_value = /*post*/ ctx[0].id + "")) set_data_dev(t1, t1_value); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(p); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_2.name, + type: "if", + source: "(27:8) {#if post}", + ctx + }); + + return block; + } + + // (34:0) {#if post} + function create_if_block$1(ctx) { + let div4; + let section; + let div3; + let div1; + let div0; + let p0; + let link; + let t0; + let p1; + let t1; + let a; + let t2_value = /*trimUrl*/ ctx[1](/*post*/ ctx[0].source_url) + ""; + let t2; + let a_href_value; + let t3; + let p2; + let t4; + let br; + let t5; + let p3; + let current_block_type_index; + let if_block; + let t6; + let div2; + let figure; + let img; + let img_alt_value; + let img_src_value; + let current; + + link = new Link({ + props: { + class: "button is-primary", + to: "/post/edit/" + /*post*/ ctx[0].id, + $$slots: { default: [create_default_slot$2] }, + $$scope: { ctx } + }, + $$inline: true + }); + + const if_block_creators = [create_if_block_1$1, create_else_block]; + const if_blocks = []; + + function select_block_type(ctx, dirty) { + if (/*post*/ ctx[0].tags) return 0; + return 1; + } + + current_block_type_index = select_block_type(ctx); + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + + const block = { + c: function create() { + div4 = element("div"); + section = element("section"); + div3 = element("div"); + div1 = element("div"); + div0 = element("div"); + p0 = element("p"); + create_component(link.$$.fragment); + t0 = space(); + p1 = element("p"); + t1 = text("Source URL: "); + a = element("a"); + t2 = text(t2_value); + t3 = space(); + p2 = element("p"); + t4 = text("Tags:"); + br = element("br"); + t5 = space(); + p3 = element("p"); + if_block.c(); + t6 = space(); + div2 = element("div"); + figure = element("figure"); + img = element("img"); + add_location(p0, file$4, 39, 24, 961); + attr_dev(a, "href", a_href_value = /*post*/ ctx[0].source_url); + add_location(a, file$4, 46, 40, 1253); + add_location(p1, file$4, 45, 24, 1209); + add_location(br, file$4, 51, 33, 1462); + add_location(p2, file$4, 50, 24, 1425); + add_location(p3, file$4, 53, 24, 1522); + attr_dev(div0, "class", "content"); + add_location(div0, file$4, 38, 20, 915); + attr_dev(div1, "class", "column is-one-third box"); + add_location(div1, file$4, 37, 16, 857); + attr_dev(img, "alt", img_alt_value = /*post*/ ctx[0].id); + if (img.src !== (img_src_value = /*post*/ ctx[0].image_path)) attr_dev(img, "src", img_src_value); + add_location(img, file$4, 66, 24, 2017); + attr_dev(figure, "class", "image"); + add_location(figure, file$4, 65, 20, 1970); + attr_dev(div2, "class", "column"); + add_location(div2, file$4, 64, 16, 1929); + attr_dev(div3, "class", "columns"); + add_location(div3, file$4, 36, 12, 819); + attr_dev(section, "class", "section"); + add_location(section, file$4, 35, 8, 781); + attr_dev(div4, "class", "container"); + add_location(div4, file$4, 34, 4, 749); + }, + m: function mount(target, anchor) { + insert_dev(target, div4, anchor); + append_dev(div4, section); + append_dev(section, div3); + append_dev(div3, div1); + append_dev(div1, div0); + append_dev(div0, p0); + mount_component(link, p0, null); + append_dev(div0, t0); + append_dev(div0, p1); + append_dev(p1, t1); + append_dev(p1, a); + append_dev(a, t2); + append_dev(div0, t3); + append_dev(div0, p2); + append_dev(p2, t4); + append_dev(p2, br); + append_dev(div0, t5); + append_dev(div0, p3); + if_blocks[current_block_type_index].m(p3, null); + append_dev(div3, t6); + append_dev(div3, div2); + append_dev(div2, figure); + append_dev(figure, img); + current = true; + }, + p: function update(ctx, dirty) { + const link_changes = {}; + if (dirty & /*post*/ 1) link_changes.to = "/post/edit/" + /*post*/ ctx[0].id; + + if (dirty & /*$$scope*/ 128) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + if ((!current || dirty & /*post*/ 1) && t2_value !== (t2_value = /*trimUrl*/ ctx[1](/*post*/ ctx[0].source_url) + "")) set_data_dev(t2, t2_value); + + if (!current || dirty & /*post*/ 1 && a_href_value !== (a_href_value = /*post*/ ctx[0].source_url)) { + attr_dev(a, "href", a_href_value); + } + + let previous_block_index = current_block_type_index; + current_block_type_index = select_block_type(ctx); + + if (current_block_type_index === previous_block_index) { + if_blocks[current_block_type_index].p(ctx, dirty); + } else { + group_outros(); + + transition_out(if_blocks[previous_block_index], 1, 1, () => { + if_blocks[previous_block_index] = null; + }); + + check_outros(); + if_block = if_blocks[current_block_type_index]; + + if (!if_block) { + if_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx); + if_block.c(); + } else { + if_block.p(ctx, dirty); + } + + transition_in(if_block, 1); + if_block.m(p3, null); + } + + if (!current || dirty & /*post*/ 1 && img_alt_value !== (img_alt_value = /*post*/ ctx[0].id)) { + attr_dev(img, "alt", img_alt_value); + } + + if (!current || dirty & /*post*/ 1 && img.src !== (img_src_value = /*post*/ ctx[0].image_path)) { + attr_dev(img, "src", img_src_value); + } + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + transition_in(if_block); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + transition_out(if_block); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(div4); + destroy_component(link); + if_blocks[current_block_type_index].d(); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block$1.name, + type: "if", + source: "(34:0) {#if post}", + ctx + }); + + return block; + } + + // (41:28) + function create_default_slot$2(ctx) { + let t; + + const block = { + c: function create() { + t = text("Edit"); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot$2.name, + type: "slot", + source: "(41:28) ", + ctx + }); + + return block; + } + + // (59:28) {:else} + function create_else_block(ctx) { + let t; + + const block = { + c: function create() { + t = text("None"); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + p: noop, + i: noop, + o: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_else_block.name, + type: "else", + source: "(59:28) {:else}", + ctx + }); + + return block; + } + + // (55:28) {#if post.tags} + function create_if_block_1$1(ctx) { + let each_blocks = []; + let each_1_lookup = new Map(); + let each_1_anchor; + let current; + let each_value = /*post*/ ctx[0].tags; + validate_each_argument(each_value); + const get_key = ctx => /*tag*/ ctx[4]; + validate_each_keys(ctx, each_value, get_each_context, get_key); + + for (let i = 0; i < each_value.length; i += 1) { + let child_ctx = get_each_context(ctx, each_value, i); + let key = get_key(child_ctx); + each_1_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx)); + } + + const block = { + c: function create() { + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].c(); + } + + each_1_anchor = empty(); + }, + m: function mount(target, anchor) { + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].m(target, anchor); + } + + insert_dev(target, each_1_anchor, anchor); + current = true; + }, + p: function update(ctx, dirty) { + if (dirty & /*post*/ 1) { + each_value = /*post*/ ctx[0].tags; + validate_each_argument(each_value); + group_outros(); + validate_each_keys(ctx, each_value, get_each_context, get_key); + each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, each_1_anchor.parentNode, outro_and_destroy_block, create_each_block, each_1_anchor, get_each_context); + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + + for (let i = 0; i < each_value.length; i += 1) { + transition_in(each_blocks[i]); + } + + current = true; + }, + o: function outro(local) { + for (let i = 0; i < each_blocks.length; i += 1) { + transition_out(each_blocks[i]); + } + + current = false; + }, + d: function destroy(detaching) { + for (let i = 0; i < each_blocks.length; i += 1) { + each_blocks[i].d(detaching); + } + + if (detaching) detach_dev(each_1_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_if_block_1$1.name, + type: "if", + source: "(55:28) {#if post.tags}", + ctx + }); + + return block; + } + + // (56:32) {#each post.tags as tag (tag)} + function create_each_block(key_1, ctx) { + let first; + let taglink; + let current; + + taglink = new TagLink({ + props: { tag: /*tag*/ ctx[4] }, + $$inline: true + }); + + const block = { + key: key_1, + first: null, + c: function create() { + first = empty(); + create_component(taglink.$$.fragment); + this.first = first; + }, + m: function mount(target, anchor) { + insert_dev(target, first, anchor); + mount_component(taglink, target, anchor); + current = true; + }, + p: function update(new_ctx, dirty) { + ctx = new_ctx; + const taglink_changes = {}; + if (dirty & /*post*/ 1) taglink_changes.tag = /*tag*/ ctx[4]; + taglink.$set(taglink_changes); + }, + i: function intro(local) { + if (current) return; + transition_in(taglink.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(taglink.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(first); + destroy_component(taglink, detaching); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_each_block.name, + type: "each", + source: "(56:32) {#each post.tags as tag (tag)}", + ctx + }); + + return block; + } + + function create_fragment$5(ctx) { + let section; + let div; + let t; + let if_block1_anchor; + let current; + let if_block0 = /*post*/ ctx[0] && create_if_block_2(ctx); + let if_block1 = /*post*/ ctx[0] && create_if_block$1(ctx); + + const block = { + c: function create() { + section = element("section"); + div = element("div"); + if (if_block0) if_block0.c(); + t = space(); + if (if_block1) if_block1.c(); + if_block1_anchor = empty(); + attr_dev(div, "class", "hero-body"); + add_location(div, file$4, 25, 4, 573); + attr_dev(section, "class", "hero is-primary"); + add_location(section, file$4, 24, 0, 535); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, section, anchor); + append_dev(section, div); + if (if_block0) if_block0.m(div, null); + insert_dev(target, t, anchor); + if (if_block1) if_block1.m(target, anchor); + insert_dev(target, if_block1_anchor, anchor); + current = true; + }, + p: function update(ctx, [dirty]) { + if (/*post*/ ctx[0]) { + if (if_block0) { + if_block0.p(ctx, dirty); + } else { + if_block0 = create_if_block_2(ctx); + if_block0.c(); + if_block0.m(div, null); + } + } else if (if_block0) { + if_block0.d(1); + if_block0 = null; + } + + if (/*post*/ ctx[0]) { + if (if_block1) { + if_block1.p(ctx, dirty); + + if (dirty & /*post*/ 1) { + transition_in(if_block1, 1); + } + } else { + if_block1 = create_if_block$1(ctx); + if_block1.c(); + transition_in(if_block1, 1); + if_block1.m(if_block1_anchor.parentNode, if_block1_anchor); + } + } else if (if_block1) { + group_outros(); + + transition_out(if_block1, 1, 1, () => { + if_block1 = null; + }); + + check_outros(); + } + }, + i: function intro(local) { + if (current) return; + transition_in(if_block1); + current = true; + }, + o: function outro(local) { + transition_out(if_block1); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(section); + if (if_block0) if_block0.d(); + if (detaching) detach_dev(t); + if (if_block1) if_block1.d(detaching); + if (detaching) detach_dev(if_block1_anchor); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$5.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$5($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots("Post", slots, []); + let { id } = $$props; + let post; + + const getData = async () => { + const data = await getPost({ id }); + $$invalidate(0, post = data); + }; + + const trimUrl = str => { + if (str.length > 30) { + return str.substring(0, 30) + "..."; + } + + return str; + }; + + onMount(() => { + getData(); + }); + + const writable_props = ["id"]; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$$set = $$props => { + if ("id" in $$props) $$invalidate(2, id = $$props.id); + }; + + $$self.$capture_state = () => ({ + onMount, + TagLink, + getPost, + postCreate, + Link, + id, + post, + getData, + trimUrl + }); + + $$self.$inject_state = $$props => { + if ("id" in $$props) $$invalidate(2, id = $$props.id); + if ("post" in $$props) $$invalidate(0, post = $$props.post); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [post, trimUrl, id]; + } + + class Post extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$5, create_fragment$5, safe_not_equal, { id: 2 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "Post", + options, + id: create_fragment$5.name + }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*id*/ ctx[2] === undefined && !("id" in props)) { + console.warn(" was created without expected prop 'id'"); + } + } + + get id() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set id(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); + } + } + + /* src/routes/Login.svelte generated by Svelte v3.38.2 */ + const file$3 = "src/routes/Login.svelte"; + + function create_fragment$4(ctx) { + let div6; + let form; + let div1; + let label0; + let t1; + let div0; + let input0; + let t2; + let div3; + let label1; + let t4; + let div2; + let input1; + let t5; + let div5; + let div4; + let button; + let mounted; + let dispose; + + const block = { + c: function create() { + div6 = element("div"); + form = element("form"); + div1 = element("div"); + label0 = element("label"); + label0.textContent = "Username"; + t1 = space(); + div0 = element("div"); + input0 = element("input"); + t2 = space(); + div3 = element("div"); + label1 = element("label"); + label1.textContent = "Password"; + t4 = space(); + div2 = element("div"); + input1 = element("input"); + t5 = space(); + div5 = element("div"); + div4 = element("div"); + button = element("button"); + button.textContent = "Login"; + attr_dev(label0, "for", "username"); + attr_dev(label0, "class", "label"); + add_location(label0, file$3, 16, 12, 391); + attr_dev(input0, "id", "username"); + attr_dev(input0, "class", "input"); + attr_dev(input0, "type", "text"); + attr_dev(input0, "placeholder", "Username"); + input0.required = true; + add_location(input0, file$3, 18, 16, 494); + attr_dev(div0, "class", "control"); + add_location(div0, file$3, 17, 12, 456); + attr_dev(div1, "class", "field"); + add_location(div1, file$3, 15, 8, 359); + attr_dev(label1, "for", "password"); + attr_dev(label1, "class", "label"); + add_location(label1, file$3, 29, 12, 808); + attr_dev(input1, "id", "password"); + attr_dev(input1, "class", "input"); + attr_dev(input1, "type", "password"); + attr_dev(input1, "placeholder", "Password"); + input1.required = true; + add_location(input1, file$3, 31, 16, 911); + attr_dev(div2, "class", "control"); + add_location(div2, file$3, 30, 12, 873); + attr_dev(div3, "class", "field"); + add_location(div3, file$3, 28, 8, 776); + attr_dev(button, "class", "button is-link"); + add_location(button, file$3, 43, 16, 1267); + attr_dev(div4, "class", "control"); + add_location(div4, file$3, 42, 12, 1229); + attr_dev(div5, "class", "field"); + add_location(div5, file$3, 41, 8, 1197); + add_location(form, file$3, 14, 4, 309); + attr_dev(div6, "class", "container"); + add_location(div6, file$3, 13, 0, 281); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, div6, anchor); + append_dev(div6, form); + append_dev(form, div1); + append_dev(div1, label0); + append_dev(div1, t1); + append_dev(div1, div0); + append_dev(div0, input0); + set_input_value(input0, /*username*/ ctx[0]); + append_dev(form, t2); + append_dev(form, div3); + append_dev(div3, label1); + append_dev(div3, t4); + append_dev(div3, div2); + append_dev(div2, input1); + set_input_value(input1, /*password*/ ctx[1]); + append_dev(form, t5); + append_dev(form, div5); + append_dev(div5, div4); + append_dev(div4, button); + + if (!mounted) { + dispose = [ + listen_dev(input0, "input", /*input0_input_handler*/ ctx[3]), + listen_dev(input1, "input", /*input1_input_handler*/ ctx[4]), + listen_dev(form, "submit", prevent_default(/*doLogin*/ ctx[2]), false, true, false) + ]; + + mounted = true; + } + }, + p: function update(ctx, [dirty]) { + if (dirty & /*username*/ 1 && input0.value !== /*username*/ ctx[0]) { + set_input_value(input0, /*username*/ ctx[0]); + } + + if (dirty & /*password*/ 2 && input1.value !== /*password*/ ctx[1]) { + set_input_value(input1, /*password*/ ctx[1]); + } + }, + i: noop, + o: noop, + d: function destroy(detaching) { + if (detaching) detach_dev(div6); + mounted = false; + run_all(dispose); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$4.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$4($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots("Login", slots, []); + let username = ""; + let password = ""; + + const doLogin = async () => { + await login({ username, password }); + navigate("/"); + }; + + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); + }); + + function input0_input_handler() { + username = this.value; + $$invalidate(0, username); + } + + function input1_input_handler() { + password = this.value; + $$invalidate(1, password); + } + + $$self.$capture_state = () => ({ + login, + navigate, + username, + password, + doLogin + }); + + $$self.$inject_state = $$props => { + if ("username" in $$props) $$invalidate(0, username = $$props.username); + if ("password" in $$props) $$invalidate(1, password = $$props.password); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [username, password, doLogin, input0_input_handler, input1_input_handler]; + } + + class Login extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$4, create_fragment$4, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "Login", + options, + id: create_fragment$4.name + }); + } + } + + /* src/routes/Logout.svelte generated by Svelte v3.38.2 */ + + function create_fragment$3(ctx) { + const block = { + c: noop, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: noop, + p: noop, + i: noop, + o: noop, + d: noop + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$3.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$3($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots("Logout", slots, []); + + onMount(() => { + token$1.set(""); + navigate("/"); + }); + + const writable_props = []; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); + }); + + $$self.$capture_state = () => ({ token: token$1, navigate, onMount }); + return []; + } + + class Logout extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$3, create_fragment$3, safe_not_equal, {}); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "Logout", + options, + id: create_fragment$3.name + }); + } + } + /* src/routes/Upload.svelte generated by Svelte v3.38.2 */ - const file$1 = "src/routes/Upload.svelte"; + const file$2 = "src/routes/Upload.svelte"; // (69:16) {#if currentProgress > 0 && currentProgress < 100} function create_if_block_1(ctx) { @@ -9016,7 +9413,7 @@ var app = (function () { t0 = text(/*currentProgress*/ ctx[0]); t1 = text("%"); attr_dev(p, "class", "help"); - add_location(p, file$1, 69, 20, 2116); + add_location(p, file$2, 69, 20, 2116); }, m: function mount(target, anchor) { insert_dev(target, p, anchor); @@ -9054,7 +9451,7 @@ var app = (function () { t0 = text(/*fileName*/ ctx[1]); t1 = text(" uploaded"); attr_dev(p, "class", "help"); - add_location(p, file$1, 72, 20, 2235); + add_location(p, file$2, 72, 20, 2235); }, m: function mount(target, anchor) { insert_dev(target, p, anchor); @@ -9080,7 +9477,7 @@ var app = (function () { return block; } - function create_fragment$1(ctx) { + function create_fragment$2(ctx) { let section0; let div0; let p; @@ -9122,7 +9519,12 @@ var app = (function () { let dispose; let if_block0 = /*currentProgress*/ ctx[0] > 0 && /*currentProgress*/ ctx[0] < 100 && create_if_block_1(ctx); let if_block1 = /*fileName*/ ctx[1] !== "" && create_if_block(ctx); - tags = new Tags({ $$inline: true }); + + tags = new Tags({ + props: { addKeys: [9, 32] }, + $$inline: true + }); + tags.$on("tags", /*onTagChange*/ ctx[4]); const block = { @@ -9172,63 +9574,63 @@ var app = (function () { button = element("button"); button.textContent = "Submit"; attr_dev(p, "class", "title"); - add_location(p, file$1, 42, 8, 1029); + add_location(p, file$2, 42, 8, 1029); attr_dev(div0, "class", "hero-body"); - add_location(div0, file$1, 41, 4, 997); + add_location(div0, file$2, 41, 4, 997); attr_dev(section0, "class", "hero is-primary"); - add_location(section0, file$1, 40, 0, 959); + add_location(section0, file$2, 40, 0, 959); attr_dev(label0, "for", "file"); attr_dev(label0, "class", "label"); - add_location(label0, file$1, 50, 16, 1233); + add_location(label0, file$2, 50, 16, 1233); attr_dev(input0, "id", "file"); attr_dev(input0, "class", "file-input"); attr_dev(input0, "type", "file"); attr_dev(input0, "name", "resume"); - add_location(input0, file$1, 54, 28, 1440); + add_location(input0, file$2, 54, 28, 1440); attr_dev(span0, "class", "file-icon"); - add_location(span0, file$1, 62, 32, 1802); + add_location(span0, file$2, 62, 32, 1802); attr_dev(span1, "class", "file-label"); - add_location(span1, file$1, 63, 32, 1861); + add_location(span1, file$2, 63, 32, 1861); attr_dev(span2, "class", "file-cta"); - add_location(span2, file$1, 61, 28, 1746); + add_location(span2, file$2, 61, 28, 1746); attr_dev(label1, "class", "file-label"); - add_location(label1, file$1, 53, 24, 1385); + add_location(label1, file$2, 53, 24, 1385); attr_dev(div1, "class", "file"); - add_location(div1, file$1, 52, 20, 1342); + add_location(div1, file$2, 52, 20, 1342); attr_dev(div2, "class", "control"); - add_location(div2, file$1, 51, 16, 1300); + add_location(div2, file$2, 51, 16, 1300); attr_dev(div3, "class", "field"); - add_location(div3, file$1, 49, 12, 1197); + add_location(div3, file$2, 49, 12, 1197); attr_dev(label2, "for", "source"); attr_dev(label2, "class", "label"); - add_location(label2, file$1, 76, 16, 2364); + add_location(label2, file$2, 76, 16, 2364); attr_dev(input1, "id", "source"); attr_dev(input1, "class", "input"); attr_dev(input1, "type", "url"); attr_dev(input1, "placeholder", "Source URL"); - add_location(input1, file$1, 78, 20, 2475); + add_location(input1, file$2, 78, 20, 2475); attr_dev(div4, "class", "control"); - add_location(div4, file$1, 77, 16, 2433); + add_location(div4, file$2, 77, 16, 2433); attr_dev(div5, "class", "field"); - add_location(div5, file$1, 75, 12, 2328); + add_location(div5, file$2, 75, 12, 2328); attr_dev(label3, "for", "tags"); attr_dev(label3, "class", "label"); - add_location(label3, file$1, 88, 16, 2806); + add_location(label3, file$2, 88, 16, 2806); attr_dev(div6, "class", "control"); attr_dev(div6, "id", "tags"); - add_location(div6, file$1, 89, 16, 2867); + add_location(div6, file$2, 89, 16, 2867); attr_dev(div7, "class", "field"); - add_location(div7, file$1, 87, 12, 2770); + add_location(div7, file$2, 87, 12, 2770); attr_dev(button, "type", "submit"); attr_dev(button, "class", "button is-primary"); - add_location(button, file$1, 94, 16, 3042); + add_location(button, file$2, 94, 16, 3059); attr_dev(div8, "class", "control"); - add_location(div8, file$1, 93, 12, 3004); - add_location(form_1, file$1, 48, 8, 1142); + add_location(div8, file$2, 93, 12, 3021); + add_location(form_1, file$2, 48, 8, 1142); attr_dev(div9, "class", "container"); - add_location(div9, file$1, 47, 4, 1110); + add_location(div9, file$2, 47, 4, 1110); attr_dev(section1, "class", "section"); - add_location(section1, file$1, 46, 0, 1080); + add_location(section1, file$2, 46, 0, 1080); }, l: function claim(nodes) { throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); @@ -9339,7 +9741,7 @@ var app = (function () { dispatch_dev("SvelteRegisterBlock", { block, - id: create_fragment$1.name, + id: create_fragment$2.name, type: "component", source: "", ctx @@ -9348,7 +9750,7 @@ var app = (function () { return block; } - function instance$1($$self, $$props, $$invalidate) { + function instance$2($$self, $$props, $$invalidate) { let { $$slots: slots = {}, $$scope } = $$props; validate_slots("Upload", slots, []); let currentProgress = 0; @@ -9429,14 +9831,395 @@ var app = (function () { class Upload extends SvelteComponentDev { constructor(options) { super(options); - init(this, options, instance$1, create_fragment$1, safe_not_equal, {}); + init(this, options, instance$2, create_fragment$2, safe_not_equal, {}); dispatch_dev("SvelteRegisterComponent", { component: this, tagName: "Upload", options, + id: create_fragment$2.name + }); + } + } + + /* src/routes/Edit.svelte generated by Svelte v3.38.2 */ + const file$1 = "src/routes/Edit.svelte"; + + // (49:20) + function create_default_slot$1(ctx) { + let t; + + const block = { + c: function create() { + t = text("Back"); + }, + m: function mount(target, anchor) { + insert_dev(target, t, anchor); + }, + d: function destroy(detaching) { + if (detaching) detach_dev(t); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_default_slot$1.name, + type: "slot", + source: "(49:20) ", + ctx + }); + + return block; + } + + function create_fragment$1(ctx) { + let section0; + let div0; + let p0; + let t0; + let t1; + let t2; + let div9; + let section1; + let div8; + let div6; + let p1; + let link; + let t3; + let form_1; + let div2; + let label0; + let t5; + let div1; + let input; + let t6; + let div4; + let label1; + let t8; + let div3; + let tags; + let t9; + let div5; + let button; + let t11; + let div7; + let figure; + let img; + let img_src_value; + let current; + let mounted; + let dispose; + + link = new Link({ + props: { + class: "button is-primary", + to: "/post/" + /*id*/ ctx[0], + $$slots: { default: [create_default_slot$1] }, + $$scope: { ctx } + }, + $$inline: true + }); + + tags = new Tags({ + props: { + tags: /*form*/ ctx[2].tags, + addKeys: [9, 32] + }, + $$inline: true + }); + + tags.$on("tags", /*onTagChange*/ ctx[3]); + + const block = { + c: function create() { + section0 = element("section"); + div0 = element("div"); + p0 = element("p"); + t0 = text("Edit Post: "); + t1 = text(/*id*/ ctx[0]); + t2 = space(); + div9 = element("div"); + section1 = element("section"); + div8 = element("div"); + div6 = element("div"); + p1 = element("p"); + create_component(link.$$.fragment); + t3 = space(); + form_1 = element("form"); + div2 = element("div"); + label0 = element("label"); + label0.textContent = "Source URL"; + t5 = space(); + div1 = element("div"); + input = element("input"); + t6 = space(); + div4 = element("div"); + label1 = element("label"); + label1.textContent = "Tags"; + t8 = space(); + div3 = element("div"); + create_component(tags.$$.fragment); + t9 = space(); + div5 = element("div"); + button = element("button"); + button.textContent = "Submit"; + t11 = space(); + div7 = element("div"); + figure = element("figure"); + img = element("img"); + attr_dev(p0, "class", "title"); + add_location(p0, file$1, 39, 8, 894); + attr_dev(div0, "class", "hero-body"); + add_location(div0, file$1, 38, 4, 862); + attr_dev(section0, "class", "hero is-primary"); + add_location(section0, file$1, 37, 0, 824); + add_location(p1, file$1, 47, 16, 1104); + attr_dev(label0, "for", "source"); + attr_dev(label0, "class", "label"); + add_location(label0, file$1, 54, 24, 1378); + attr_dev(input, "id", "source"); + attr_dev(input, "class", "input"); + attr_dev(input, "type", "url"); + attr_dev(input, "placeholder", "Source URL"); + add_location(input, file$1, 56, 28, 1505); + attr_dev(div1, "class", "control"); + add_location(div1, file$1, 55, 24, 1455); + attr_dev(div2, "class", "field"); + add_location(div2, file$1, 53, 20, 1334); + attr_dev(label1, "for", "tags"); + attr_dev(label1, "class", "label"); + add_location(label1, file$1, 66, 24, 1916); + attr_dev(div3, "class", "control"); + attr_dev(div3, "id", "tags"); + add_location(div3, file$1, 67, 24, 1985); + attr_dev(div4, "class", "field"); + add_location(div4, file$1, 65, 20, 1872); + attr_dev(button, "type", "submit"); + attr_dev(button, "class", "button is-primary"); + add_location(button, file$1, 76, 24, 2358); + attr_dev(div5, "class", "control"); + add_location(div5, file$1, 75, 20, 2312); + add_location(form_1, file$1, 52, 16, 1271); + attr_dev(div6, "class", "column is-one-third box"); + add_location(div6, file$1, 46, 12, 1050); + attr_dev(img, "alt", /*id*/ ctx[0]); + if (img.src !== (img_src_value = /*image_path*/ ctx[1])) attr_dev(img, "src", img_src_value); + add_location(img, file$1, 84, 20, 2638); + attr_dev(figure, "class", "image"); + add_location(figure, file$1, 83, 16, 2595); + attr_dev(div7, "class", "column"); + add_location(div7, file$1, 82, 12, 2558); + attr_dev(div8, "class", "columns"); + add_location(div8, file$1, 45, 8, 1016); + attr_dev(section1, "class", "section"); + add_location(section1, file$1, 44, 4, 982); + attr_dev(div9, "class", "container"); + add_location(div9, file$1, 43, 0, 954); + }, + l: function claim(nodes) { + throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option"); + }, + m: function mount(target, anchor) { + insert_dev(target, section0, anchor); + append_dev(section0, div0); + append_dev(div0, p0); + append_dev(p0, t0); + append_dev(p0, t1); + insert_dev(target, t2, anchor); + insert_dev(target, div9, anchor); + append_dev(div9, section1); + append_dev(section1, div8); + append_dev(div8, div6); + append_dev(div6, p1); + mount_component(link, p1, null); + append_dev(div6, t3); + append_dev(div6, form_1); + append_dev(form_1, div2); + append_dev(div2, label0); + append_dev(div2, t5); + append_dev(div2, div1); + append_dev(div1, input); + set_input_value(input, /*form*/ ctx[2].source_url); + append_dev(form_1, t6); + append_dev(form_1, div4); + append_dev(div4, label1); + append_dev(div4, t8); + append_dev(div4, div3); + mount_component(tags, div3, null); + append_dev(form_1, t9); + append_dev(form_1, div5); + append_dev(div5, button); + append_dev(div8, t11); + append_dev(div8, div7); + append_dev(div7, figure); + append_dev(figure, img); + current = true; + + if (!mounted) { + dispose = [ + listen_dev(input, "input", /*input_input_handler*/ ctx[5]), + listen_dev(form_1, "submit", prevent_default(/*onSubmit*/ ctx[4]), false, true, false) + ]; + + mounted = true; + } + }, + p: function update(ctx, [dirty]) { + if (!current || dirty & /*id*/ 1) set_data_dev(t1, /*id*/ ctx[0]); + const link_changes = {}; + if (dirty & /*id*/ 1) link_changes.to = "/post/" + /*id*/ ctx[0]; + + if (dirty & /*$$scope*/ 128) { + link_changes.$$scope = { dirty, ctx }; + } + + link.$set(link_changes); + + if (dirty & /*form*/ 4) { + set_input_value(input, /*form*/ ctx[2].source_url); + } + + const tags_changes = {}; + if (dirty & /*form*/ 4) tags_changes.tags = /*form*/ ctx[2].tags; + tags.$set(tags_changes); + + if (!current || dirty & /*id*/ 1) { + attr_dev(img, "alt", /*id*/ ctx[0]); + } + + if (!current || dirty & /*image_path*/ 2 && img.src !== (img_src_value = /*image_path*/ ctx[1])) { + attr_dev(img, "src", img_src_value); + } + }, + i: function intro(local) { + if (current) return; + transition_in(link.$$.fragment, local); + transition_in(tags.$$.fragment, local); + current = true; + }, + o: function outro(local) { + transition_out(link.$$.fragment, local); + transition_out(tags.$$.fragment, local); + current = false; + }, + d: function destroy(detaching) { + if (detaching) detach_dev(section0); + if (detaching) detach_dev(t2); + if (detaching) detach_dev(div9); + destroy_component(link); + destroy_component(tags); + mounted = false; + run_all(dispose); + } + }; + + dispatch_dev("SvelteRegisterBlock", { + block, + id: create_fragment$1.name, + type: "component", + source: "", + ctx + }); + + return block; + } + + function instance$1($$self, $$props, $$invalidate) { + let { $$slots: slots = {}, $$scope } = $$props; + validate_slots("Edit", slots, []); + let { id } = $$props; + let image_path = ""; + let form = { source_url: "", tags: [] }; + + const getData = async () => { + const data = await getPost({ id }); + $$invalidate(2, form.source_url = data.source_url, form); + $$invalidate(2, form.tags = data.tags, form); + $$invalidate(1, image_path = data.image_path); + }; + + const onTagChange = value => { + $$invalidate(2, form.tags = value.detail.tags, form); + }; + + const onSubmit = async () => { + const response = await postUpdate(id, form); + navigate(`/post/${response.id}`); + }; + + onMount(() => { + getData(); + }); + + const writable_props = ["id"]; + + Object.keys($$props).forEach(key => { + if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(` was created with unknown prop '${key}'`); + }); + + function input_input_handler() { + form.source_url = this.value; + $$invalidate(2, form); + } + + $$self.$$set = $$props => { + if ("id" in $$props) $$invalidate(0, id = $$props.id); + }; + + $$self.$capture_state = () => ({ + getPost, + postUpdate, + navigate, + Tags, + onMount, + Link, + id, + image_path, + form, + getData, + onTagChange, + onSubmit + }); + + $$self.$inject_state = $$props => { + if ("id" in $$props) $$invalidate(0, id = $$props.id); + if ("image_path" in $$props) $$invalidate(1, image_path = $$props.image_path); + if ("form" in $$props) $$invalidate(2, form = $$props.form); + }; + + if ($$props && "$$inject" in $$props) { + $$self.$inject_state($$props.$$inject); + } + + return [id, image_path, form, onTagChange, onSubmit, input_input_handler]; + } + + class Edit extends SvelteComponentDev { + constructor(options) { + super(options); + init(this, options, instance$1, create_fragment$1, safe_not_equal, { id: 0 }); + + dispatch_dev("SvelteRegisterComponent", { + component: this, + tagName: "Edit", + options, id: create_fragment$1.name }); + + const { ctx } = this.$$; + const props = options.props || {}; + + if (/*id*/ ctx[0] === undefined && !("id" in props)) { + console.warn(" was created without expected prop 'id'"); + } + } + + get id() { + throw new Error(": Props cannot be read directly from the component instance unless compiling with 'accessors: true' or ''"); + } + + set id(value) { + throw new Error(": Props cannot be set directly on the component instance unless compiling with 'accessors: true' or ''"); } } @@ -9475,12 +10258,12 @@ var app = (function () { }); route2 = new Route({ - props: { path: "/tag/:id", component: Tag }, + props: { path: "/post/:id", component: Post }, $$inline: true }); route3 = new Route({ - props: { path: "/post/:id", component: Post }, + props: { path: "/post/edit/:id", component: Edit }, $$inline: true }); @@ -9517,7 +10300,7 @@ var app = (function () { create_component(route5.$$.fragment); t6 = space(); create_component(route6.$$.fragment); - add_location(div, file, 19, 1, 503); + add_location(div, file, 19, 1, 505); }, m: function mount(target, anchor) { mount_component(navbar, target, anchor); @@ -9671,8 +10454,8 @@ var app = (function () { Post, Login, Logout, - Tag, Upload, + Edit, url, baseURL }); diff --git a/web/static/bundle.js.map b/web/static/bundle.js.map index 24e9f81..24b0455 100644 --- a/web/static/bundle.js.map +++ b/web/static/bundle.js.map @@ -1 +1 @@ -{"version":3,"file":"bundle.js","sources":["../app/node_modules/svelte/internal/index.mjs","../app/node_modules/svelte/store/index.mjs","../app/node_modules/svelte-routing/src/contexts.js","../app/node_modules/svelte-routing/src/history.js","../app/node_modules/svelte-routing/src/utils.js","../app/node_modules/svelte-routing/src/Router.svelte","../app/node_modules/svelte-routing/src/Route.svelte","../app/node_modules/svelte-routing/src/Link.svelte","../app/src/stores.js","../app/src/Navbar.svelte","../app/node_modules/axios/lib/helpers/bind.js","../app/node_modules/axios/lib/utils.js","../app/node_modules/axios/lib/helpers/buildURL.js","../app/node_modules/axios/lib/core/InterceptorManager.js","../app/node_modules/axios/lib/core/transformData.js","../app/node_modules/axios/lib/cancel/isCancel.js","../app/node_modules/axios/lib/helpers/normalizeHeaderName.js","../app/node_modules/axios/lib/core/enhanceError.js","../app/node_modules/axios/lib/core/createError.js","../app/node_modules/axios/lib/core/settle.js","../app/node_modules/axios/lib/helpers/cookies.js","../app/node_modules/axios/lib/helpers/isAbsoluteURL.js","../app/node_modules/axios/lib/helpers/combineURLs.js","../app/node_modules/axios/lib/core/buildFullPath.js","../app/node_modules/axios/lib/helpers/parseHeaders.js","../app/node_modules/axios/lib/helpers/isURLSameOrigin.js","../app/node_modules/axios/lib/adapters/xhr.js","../app/node_modules/axios/lib/defaults.js","../app/node_modules/axios/lib/core/dispatchRequest.js","../app/node_modules/axios/lib/core/mergeConfig.js","../app/node_modules/axios/lib/core/Axios.js","../app/node_modules/axios/lib/cancel/Cancel.js","../app/node_modules/axios/lib/cancel/CancelToken.js","../app/node_modules/axios/lib/helpers/spread.js","../app/node_modules/axios/lib/helpers/isAxiosError.js","../app/node_modules/axios/lib/axios.js","../app/node_modules/axios/index.js","../app/src/api.js","../app/node_modules/strict-uri-encode/index.js","../app/node_modules/decode-uri-component/index.js","../app/node_modules/split-on-first/index.js","../app/node_modules/filter-obj/index.js","../app/node_modules/query-string/index.js","../app/src/PostPaginator.svelte","../app/src/routes/Posts.svelte","../app/src/routes/Post.svelte","../app/src/routes/Login.svelte","../app/src/routes/Logout.svelte","../app/src/routes/Tag.svelte","../app/node_modules/svelte-tags-input/src/Tags.svelte","../app/src/routes/Upload.svelte","../app/src/App.svelte","../app/src/main.js"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot_spread(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_spread_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_spread_changes_fn(dirty) | get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value = ret) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction claim_element(nodes, name, attributes, svg) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeName === name) {\n let j = 0;\n const remove = [];\n while (j < node.attributes.length) {\n const attribute = node.attributes[j++];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n for (let k = 0; k < remove.length; k++) {\n node.removeAttribute(remove[k]);\n }\n return nodes.splice(i, 1)[0];\n }\n }\n return svg ? svg_element(name) : element(name);\n}\nfunction claim_text(nodes, data) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 3) {\n node.data = '' + data;\n return nodes.splice(i, 1)[0];\n }\n }\n return text(data);\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n node.style.setProperty(key, value, important ? 'important' : '');\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, false, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(anchor = null) {\n this.a = anchor;\n this.e = this.n = null;\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.h(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\nconst active_docs = new Set();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = node.ownerDocument;\n active_docs.add(doc);\n const stylesheet = doc.__svelte_stylesheet || (doc.__svelte_stylesheet = doc.head.appendChild(element('style')).sheet);\n const current_rules = doc.__svelte_rules || (doc.__svelte_rules = {});\n if (!current_rules[name]) {\n current_rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n active_docs.forEach(doc => {\n const stylesheet = doc.__svelte_stylesheet;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n doc.__svelte_rules = {};\n });\n active_docs.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n callbacks.slice().forEach(fn => fn(event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\nlet flushing = false;\nconst seen_callbacks = new Set();\nfunction flush() {\n if (flushing)\n return;\n flushing = true;\n do {\n // first, call beforeUpdate functions\n // and update components\n for (let i = 0; i < dirty_components.length; i += 1) {\n const component = dirty_components[i];\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n flushing = false;\n seen_callbacks.clear();\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = program.b - t;\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\nfunction update_await_block_branch(info, ctx, dirty) {\n const child_ctx = ctx.slice();\n const { resolved } = info;\n if (info.current === info.then) {\n child_ctx[info.value] = resolved;\n }\n if (info.current === info.catch) {\n child_ctx[info.error] = resolved;\n }\n info.block.p(child_ctx, dirty);\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, classes_to_add) {\n const attributes = Object.assign({}, ...args);\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${String(value).replace(/\"/g, '"').replace(/'/g, ''')}\"`;\n }\n });\n return str;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(parent_component ? parent_component.$$.context : context || []),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n return ` ${name}${value === true ? '' : `=${typeof value === 'string' ? JSON.stringify(escape(value)) : `\"${value}\"`}`}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(parent_component ? parent_component.$$.context : options.context || []),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false\n };\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.38.2' }, detail)));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * \n * \n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to seperate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_transform, afterUpdate, append, append_dev, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_space, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, escape, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getContext, get_binding_group_value, get_current_component, get_custom_elements_slots, get_slot_changes, get_slot_context, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, update_await_block_branch, update_keyed_each, update_slot, update_slot_spread, validate_component, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal/index.mjs';\nexport { get_store_value as get } from '../internal/index.mjs';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = [];\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (let i = 0; i < subscribers.length; i += 1) {\n const s = subscribers[i];\n s[1]();\n subscriber_queue.push(s, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.push(subscriber);\n if (subscribers.length === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n const index = subscribers.indexOf(subscriber);\n if (index !== -1) {\n subscribers.splice(index, 1);\n }\n if (subscribers.length === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","export const LOCATION = {};\nexport const ROUTER = {};\n","/**\n * Adapted from https://github.com/reach/router/blob/b60e6dd781d5d3a4bdaaf4de665649c0f6a7e78d/src/lib/history.js\n *\n * https://github.com/reach/router/blob/master/LICENSE\n * */\n\nfunction getLocation(source) {\n return {\n ...source.location,\n state: source.history.state,\n key: (source.history.state && source.history.state.key) || \"initial\"\n };\n}\n\nfunction createHistory(source, options) {\n const listeners = [];\n let location = getLocation(source);\n\n return {\n get location() {\n return location;\n },\n\n listen(listener) {\n listeners.push(listener);\n\n const popstateListener = () => {\n location = getLocation(source);\n listener({ location, action: \"POP\" });\n };\n\n source.addEventListener(\"popstate\", popstateListener);\n\n return () => {\n source.removeEventListener(\"popstate\", popstateListener);\n\n const index = listeners.indexOf(listener);\n listeners.splice(index, 1);\n };\n },\n\n navigate(to, { state, replace = false } = {}) {\n state = { ...state, key: Date.now() + \"\" };\n // try...catch iOS Safari limits to 100 pushState calls\n try {\n if (replace) {\n source.history.replaceState(state, null, to);\n } else {\n source.history.pushState(state, null, to);\n }\n } catch (e) {\n source.location[replace ? \"replace\" : \"assign\"](to);\n }\n\n location = getLocation(source);\n listeners.forEach(listener => listener({ location, action: \"PUSH\" }));\n }\n };\n}\n\n// Stores history entries in memory for testing or other platforms like Native\nfunction createMemorySource(initialPathname = \"/\") {\n let index = 0;\n const stack = [{ pathname: initialPathname, search: \"\" }];\n const states = [];\n\n return {\n get location() {\n return stack[index];\n },\n addEventListener(name, fn) {},\n removeEventListener(name, fn) {},\n history: {\n get entries() {\n return stack;\n },\n get index() {\n return index;\n },\n get state() {\n return states[index];\n },\n pushState(state, _, uri) {\n const [pathname, search = \"\"] = uri.split(\"?\");\n index++;\n stack.push({ pathname, search });\n states.push(state);\n },\n replaceState(state, _, uri) {\n const [pathname, search = \"\"] = uri.split(\"?\");\n stack[index] = { pathname, search };\n states[index] = state;\n }\n }\n };\n}\n\n// Global history uses window.history as the source if available,\n// otherwise a memory history\nconst canUseDOM = Boolean(\n typeof window !== \"undefined\" &&\n window.document &&\n window.document.createElement\n);\nconst globalHistory = createHistory(canUseDOM ? window : createMemorySource());\nconst { navigate } = globalHistory;\n\nexport { globalHistory, navigate, createHistory, createMemorySource };\n","/**\n * Adapted from https://github.com/reach/router/blob/b60e6dd781d5d3a4bdaaf4de665649c0f6a7e78d/src/lib/utils.js\n *\n * https://github.com/reach/router/blob/master/LICENSE\n * */\n\nconst paramRe = /^:(.+)/;\n\nconst SEGMENT_POINTS = 4;\nconst STATIC_POINTS = 3;\nconst DYNAMIC_POINTS = 2;\nconst SPLAT_PENALTY = 1;\nconst ROOT_POINTS = 1;\n\n/**\n * Check if `string` starts with `search`\n * @param {string} string\n * @param {string} search\n * @return {boolean}\n */\nexport function startsWith(string, search) {\n return string.substr(0, search.length) === search;\n}\n\n/**\n * Check if `segment` is a root segment\n * @param {string} segment\n * @return {boolean}\n */\nfunction isRootSegment(segment) {\n return segment === \"\";\n}\n\n/**\n * Check if `segment` is a dynamic segment\n * @param {string} segment\n * @return {boolean}\n */\nfunction isDynamic(segment) {\n return paramRe.test(segment);\n}\n\n/**\n * Check if `segment` is a splat\n * @param {string} segment\n * @return {boolean}\n */\nfunction isSplat(segment) {\n return segment[0] === \"*\";\n}\n\n/**\n * Split up the URI into segments delimited by `/`\n * @param {string} uri\n * @return {string[]}\n */\nfunction segmentize(uri) {\n return (\n uri\n // Strip starting/ending `/`\n .replace(/(^\\/+|\\/+$)/g, \"\")\n .split(\"/\")\n );\n}\n\n/**\n * Strip `str` of potential start and end `/`\n * @param {string} str\n * @return {string}\n */\nfunction stripSlashes(str) {\n return str.replace(/(^\\/+|\\/+$)/g, \"\");\n}\n\n/**\n * Score a route depending on how its individual segments look\n * @param {object} route\n * @param {number} index\n * @return {object}\n */\nfunction rankRoute(route, index) {\n const score = route.default\n ? 0\n : segmentize(route.path).reduce((score, segment) => {\n score += SEGMENT_POINTS;\n\n if (isRootSegment(segment)) {\n score += ROOT_POINTS;\n } else if (isDynamic(segment)) {\n score += DYNAMIC_POINTS;\n } else if (isSplat(segment)) {\n score -= SEGMENT_POINTS + SPLAT_PENALTY;\n } else {\n score += STATIC_POINTS;\n }\n\n return score;\n }, 0);\n\n return { route, score, index };\n}\n\n/**\n * Give a score to all routes and sort them on that\n * @param {object[]} routes\n * @return {object[]}\n */\nfunction rankRoutes(routes) {\n return (\n routes\n .map(rankRoute)\n // If two routes have the exact same score, we go by index instead\n .sort((a, b) =>\n a.score < b.score ? 1 : a.score > b.score ? -1 : a.index - b.index\n )\n );\n}\n\n/**\n * Ranks and picks the best route to match. Each segment gets the highest\n * amount of points, then the type of segment gets an additional amount of\n * points where\n *\n * static > dynamic > splat > root\n *\n * This way we don't have to worry about the order of our routes, let the\n * computers do it.\n *\n * A route looks like this\n *\n * { path, default, value }\n *\n * And a returned match looks like:\n *\n * { route, params, uri }\n *\n * @param {object[]} routes\n * @param {string} uri\n * @return {?object}\n */\nfunction pick(routes, uri) {\n let match;\n let default_;\n\n const [uriPathname] = uri.split(\"?\");\n const uriSegments = segmentize(uriPathname);\n const isRootUri = uriSegments[0] === \"\";\n const ranked = rankRoutes(routes);\n\n for (let i = 0, l = ranked.length; i < l; i++) {\n const route = ranked[i].route;\n let missed = false;\n\n if (route.default) {\n default_ = {\n route,\n params: {},\n uri\n };\n continue;\n }\n\n const routeSegments = segmentize(route.path);\n const params = {};\n const max = Math.max(uriSegments.length, routeSegments.length);\n let index = 0;\n\n for (; index < max; index++) {\n const routeSegment = routeSegments[index];\n const uriSegment = uriSegments[index];\n\n if (routeSegment !== undefined && isSplat(routeSegment)) {\n // Hit a splat, just grab the rest, and return a match\n // uri: /files/documents/work\n // route: /files/* or /files/*splatname\n const splatName = routeSegment === \"*\" ? \"*\" : routeSegment.slice(1);\n\n params[splatName] = uriSegments\n .slice(index)\n .map(decodeURIComponent)\n .join(\"/\");\n break;\n }\n\n if (uriSegment === undefined) {\n // URI is shorter than the route, no match\n // uri: /users\n // route: /users/:userId\n missed = true;\n break;\n }\n\n let dynamicMatch = paramRe.exec(routeSegment);\n\n if (dynamicMatch && !isRootUri) {\n const value = decodeURIComponent(uriSegment);\n params[dynamicMatch[1]] = value;\n } else if (routeSegment !== uriSegment) {\n // Current segments don't match, not dynamic, not splat, so no match\n // uri: /users/123/settings\n // route: /users/:id/profile\n missed = true;\n break;\n }\n }\n\n if (!missed) {\n match = {\n route,\n params,\n uri: \"/\" + uriSegments.slice(0, index).join(\"/\")\n };\n break;\n }\n }\n\n return match || default_ || null;\n}\n\n/**\n * Check if the `path` matches the `uri`.\n * @param {string} path\n * @param {string} uri\n * @return {?object}\n */\nfunction match(route, uri) {\n return pick([route], uri);\n}\n\n/**\n * Add the query to the pathname if a query is given\n * @param {string} pathname\n * @param {string} [query]\n * @return {string}\n */\nfunction addQuery(pathname, query) {\n return pathname + (query ? `?${query}` : \"\");\n}\n\n/**\n * Resolve URIs as though every path is a directory, no files. Relative URIs\n * in the browser can feel awkward because not only can you be \"in a directory\",\n * you can be \"at a file\", too. For example:\n *\n * browserSpecResolve('foo', '/bar/') => /bar/foo\n * browserSpecResolve('foo', '/bar') => /foo\n *\n * But on the command line of a file system, it's not as complicated. You can't\n * `cd` from a file, only directories. This way, links have to know less about\n * their current path. To go deeper you can do this:\n *\n * \n * // instead of\n * \n *\n * Just like `cd`, if you want to go deeper from the command line, you do this:\n *\n * cd deeper\n * # not\n * cd $(pwd)/deeper\n *\n * By treating every path as a directory, linking to relative paths should\n * require less contextual information and (fingers crossed) be more intuitive.\n * @param {string} to\n * @param {string} base\n * @return {string}\n */\nfunction resolve(to, base) {\n // /foo/bar, /baz/qux => /foo/bar\n if (startsWith(to, \"/\")) {\n return to;\n }\n\n const [toPathname, toQuery] = to.split(\"?\");\n const [basePathname] = base.split(\"?\");\n const toSegments = segmentize(toPathname);\n const baseSegments = segmentize(basePathname);\n\n // ?a=b, /users?b=c => /users?a=b\n if (toSegments[0] === \"\") {\n return addQuery(basePathname, toQuery);\n }\n\n // profile, /users/789 => /users/789/profile\n if (!startsWith(toSegments[0], \".\")) {\n const pathname = baseSegments.concat(toSegments).join(\"/\");\n\n return addQuery((basePathname === \"/\" ? \"\" : \"/\") + pathname, toQuery);\n }\n\n // ./ , /users/123 => /users/123\n // ../ , /users/123 => /users\n // ../.. , /users/123 => /\n // ../../one, /a/b/c/d => /a/b/one\n // .././one , /a/b/c/d => /a/b/c/one\n const allSegments = baseSegments.concat(toSegments);\n const segments = [];\n\n allSegments.forEach(segment => {\n if (segment === \"..\") {\n segments.pop();\n } else if (segment !== \".\") {\n segments.push(segment);\n }\n });\n\n return addQuery(\"/\" + segments.join(\"/\"), toQuery);\n}\n\n/**\n * Combines the `basepath` and the `path` into one path.\n * @param {string} basepath\n * @param {string} path\n */\nfunction combinePaths(basepath, path) {\n return `${stripSlashes(\n path === \"/\" ? basepath : `${stripSlashes(basepath)}/${stripSlashes(path)}`\n )}/`;\n}\n\n/**\n * Decides whether a given `event` should result in a navigation or not.\n * @param {object} event\n */\nfunction shouldNavigate(event) {\n return (\n !event.defaultPrevented &&\n event.button === 0 &&\n !(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey)\n );\n}\n\nfunction hostMatches(anchor) {\n const host = location.host\n return (\n anchor.host == host ||\n // svelte seems to kill anchor.host value in ie11, so fall back to checking href\n anchor.href.indexOf(`https://${host}`) === 0 ||\n anchor.href.indexOf(`http://${host}`) === 0\n )\n}\n\nexport { stripSlashes, pick, match, resolve, combinePaths, shouldNavigate, hostMatches };\n","\n\n\n","\n\n{#if $activeRoute !== null && $activeRoute.route === route}\n {#if component !== null}\n \n {:else}\n \n {/if}\n{/if}\n","\n\n\n \n\n","import { writable } from \"svelte/store\";\n\nconst storedToken = localStorage.getItem(\"apiToken\");\n\nexport const token = writable(storedToken);\ntoken.subscribe(value => {\n localStorage.setItem(\"apiToken\", value);\n});","\n\n\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n/*global toString:true*/\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn(data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n // Listen for ready state\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n };\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(timeoutErrorMessage, config, 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (config.responseType) {\n try {\n request.responseType = config.responseType;\n } catch (e) {\n // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.\n // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.\n if (config.responseType !== 'json') {\n throw e;\n }\n }\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nvar defaults = {\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data)) {\n setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n return JSON.stringify(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n /*eslint no-param-reassign:0*/\n if (typeof data === 'string') {\n try {\n data = JSON.parse(data);\n } catch (e) { /* Ignore */ }\n }\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData(\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData(\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData(\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n // Hook up interceptors middleware\n var chain = [dispatchRequest, undefined];\n var promise = Promise.resolve(config);\n\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n chain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n chain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","module.exports = require('./lib/axios');","import { token } from \"./stores.js\"\nimport axios from \"axios\";\n\nlet url = window.BASE_URL;\nlet current_token;\ntoken.subscribe(value => {\n current_token = value;\n})\n\nexport async function login({ username, password }) {\n const endpoint = url + \"/api/auth/login\";\n const response = await axios({\n url: endpoint,\n method: \"POST\",\n data: JSON.stringify({\n username,\n password,\n }),\n })\n token.set(response.data.token);\n return response.data;\n}\n\nexport async function getPosts({ page }) {\n const endpoint = url + \"/api/post?page=\" + page;\n const response = await axios.get(endpoint);\n return response.data;\n}\n\nexport async function getPostsTag({ page, tag }) {\n const endpoint = url + \"/api/post/tag/\" + tag + \"?page=\" + page;\n const response = await axios(endpoint);\n return response.data;\n}\n\nexport async function getPost({ id }) {\n const endpoint = url + \"/api/post/\" + id;\n const response = await axios(endpoint);\n return response.data;\n}\n\nexport async function uploadBlob({ file, onProgress }) {\n var formData = new FormData();\n formData.append(\"file\", file);\n const endpoint = url + \"/api/blob/upload\";\n const response = await axios({\n url: endpoint,\n method: \"POST\",\n headers: {\n 'Authorization': 'Bearer ' + current_token,\n 'Content-Type': 'multipart/form-data',\n },\n withCredentials: true,\n data: formData,\n onUploadProgress: e => {\n if (onProgress) {\n onProgress(e)\n }\n }\n })\n return response.data;\n}\n\nexport async function postCreate({ blob_id, source_url, tags }) {\n const endpoint = url + \"/api/post/create\";\n const response = await axios({\n url: endpoint,\n method: \"POST\",\n headers: {\n 'Authorization': 'Bearer ' + current_token,\n },\n withCredentials: true,\n data: {\n blob_id, source_url, tags\n }\n })\n return response.data;\n}","'use strict';\nmodule.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);\n","'use strict';\nvar token = '%[a-f0-9]{2}';\nvar singleMatcher = new RegExp(token, 'gi');\nvar multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn decodeURIComponent(components.join(''));\n\t} catch (err) {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tvar left = components.slice(0, split);\n\tvar right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch (err) {\n\t\tvar tokens = input.match(singleMatcher);\n\n\t\tfor (var i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher);\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tvar replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD'\n\t};\n\n\tvar match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch (err) {\n\t\t\tvar result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tvar entries = Object.keys(replaceMap);\n\n\tfor (var i = 0; i < entries.length; i++) {\n\t\t// Replace all decoded components\n\t\tvar key = entries[i];\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nmodule.exports = function (encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\tencodedURI = encodedURI.replace(/\\+/g, ' ');\n\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch (err) {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n};\n","'use strict';\n\nmodule.exports = (string, separator) => {\n\tif (!(typeof string === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError('Expected the arguments to be of type `string`');\n\t}\n\n\tif (separator === '') {\n\t\treturn [string];\n\t}\n\n\tconst separatorIndex = string.indexOf(separator);\n\n\tif (separatorIndex === -1) {\n\t\treturn [string];\n\t}\n\n\treturn [\n\t\tstring.slice(0, separatorIndex),\n\t\tstring.slice(separatorIndex + separator.length)\n\t];\n};\n","'use strict';\nmodule.exports = function (obj, predicate) {\n\tvar ret = {};\n\tvar keys = Object.keys(obj);\n\tvar isArr = Array.isArray(predicate);\n\n\tfor (var i = 0; i < keys.length; i++) {\n\t\tvar key = keys[i];\n\t\tvar val = obj[key];\n\n\t\tif (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) {\n\t\t\tret[key] = val;\n\t\t}\n\t}\n\n\treturn ret;\n};\n","'use strict';\nconst strictUriEncode = require('strict-uri-encode');\nconst decodeComponent = require('decode-uri-component');\nconst splitOnFirst = require('split-on-first');\nconst filterObject = require('filter-obj');\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSep = options.arrayFormat === 'bracket-separator' ?\n\t\t\t\t'[]=' :\n\t\t\t\t'=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSep, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator);\n\t\t\t\tconst isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator));\n\t\t\t\tvalue = isEncodedArray ? decode(value, options) : value;\n\t\t\t\tconst newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options);\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tcase 'bracket-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = /(\\[\\])$/.test(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!isArray) {\n\t\t\t\t\taccumulator[key] = value ? decode(value, options) : value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst arrayValue = value === null ?\n\t\t\t\t\t[] :\n\t\t\t\t\tvalue.split(options.arrayFormatSeparator).map(item => decode(item, options));\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = arrayValue;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], arrayValue);\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction validateArrayFormatSeparator(value) {\n\tif (typeof value !== 'string' || value.length !== 1) {\n\t\tthrow new TypeError('arrayFormatSeparator must be single character string');\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction getHash(url) {\n\tlet hash = '';\n\tconst hashStart = url.indexOf('#');\n\tif (hashStart !== -1) {\n\t\thash = url.slice(hashStart);\n\t}\n\n\treturn hash;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parseValue(value, options) {\n\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\tvalue = Number(value);\n\t} else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\tvalue = value.toLowerCase() === 'true';\n\t}\n\n\treturn value;\n}\n\nfunction parse(query, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof query !== 'string') {\n\t\treturn ret;\n\t}\n\n\tquery = query.trim().replace(/^[?#&]/, '');\n\n\tif (!query) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of query.split('&')) {\n\t\tif (param === '') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tlet [key, value] = splitOnFirst(options.decode ? param.replace(/\\+/g, ' ') : param, '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : ['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options);\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\tfor (const key of Object.keys(ret)) {\n\t\tconst value = ret[key];\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tfor (const k of Object.keys(value)) {\n\t\t\t\tvalue[k] = parseValue(value[k], options);\n\t\t\t}\n\t\t} else {\n\t\t\tret[key] = parseValue(value, options);\n\t\t}\n\t}\n\n\tif (options.sort === false) {\n\t\treturn ret;\n\t}\n\n\treturn (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ','\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst shouldFilter = key => (\n\t\t(options.skipNull && isNullOrUndefined(object[key])) ||\n\t\t(options.skipEmptyString && object[key] === '')\n\t);\n\n\tconst formatter = encoderForArrayFormat(options);\n\n\tconst objectCopy = {};\n\n\tfor (const key of Object.keys(object)) {\n\t\tif (!shouldFilter(key)) {\n\t\t\tobjectCopy[key] = object[key];\n\t\t}\n\t}\n\n\tconst keys = Object.keys(objectCopy);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tif (value.length === 0 && options.arrayFormat === 'bracket-separator') {\n\t\t\t\treturn encode(key, options) + '[]';\n\t\t\t}\n\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (url, options) => {\n\toptions = Object.assign({\n\t\tdecode: true\n\t}, options);\n\n\tconst [url_, hash] = splitOnFirst(url, '#');\n\n\treturn Object.assign(\n\t\t{\n\t\t\turl: url_.split('?')[0] || '',\n\t\t\tquery: parse(extract(url), options)\n\t\t},\n\t\toptions && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {}\n\t);\n};\n\nexports.stringifyUrl = (object, options) => {\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true\n\t}, options);\n\n\tconst url = removeHash(object.url).split('?')[0] || '';\n\tconst queryFromUrl = exports.extract(object.url);\n\tconst parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false});\n\n\tconst query = Object.assign(parsedQueryFromUrl, object.query);\n\tlet queryString = exports.stringify(query, options);\n\tif (queryString) {\n\t\tqueryString = `?${queryString}`;\n\t}\n\n\tlet hash = getHash(object.url);\n\tif (object.fragmentIdentifier) {\n\t\thash = `#${encode(object.fragmentIdentifier, options)}`;\n\t}\n\n\treturn `${url}${queryString}${hash}`;\n};\n\nexports.pick = (input, filter, options) => {\n\toptions = Object.assign({\n\t\tparseFragmentIdentifier: true\n\t}, options);\n\n\tconst {url, query, fragmentIdentifier} = exports.parseUrl(input, options);\n\treturn exports.stringifyUrl({\n\t\turl,\n\t\tquery: filterObject(query, filter),\n\t\tfragmentIdentifier\n\t}, options);\n};\n\nexports.exclude = (input, filter, options) => {\n\tconst exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value);\n\n\treturn exports.pick(input, exclusionFilter, options);\n};\n","\n\n
\n
\n \n
\n {#each posts as post (post.id)}\n
\n
\n
\n \n {post.id}\n \n
\n
\n
\n
\n {#each post.tags as tag (tag)}\n

\n {tag}\n

\n {/each}\n
\n
\n
\n {/each}\n
\n
\n
\n","\n\n
\n
\n

Posts

\n
\n
\n\n","\n\n\n
\n
\n {#if post}\n

\n Post ID: {post.id}\n

\n {/if}\n
\n
\n{#if post}\n
\n
\n
\n
\n

\n Source URL: {trimUrl(post.source_url)}\n

\n

\n Tags: \n {#each post.tags as tag (tag)}\n

    \n
  • \n {tag}\n
  • \n
\n {/each}\n

\n
\n
\n
\n \"{post.id}\"\n
\n
\n
\n
\n
\n{/if}","\n\n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n","\n","\n\n
\n
\n

\n {id}\n

\n

Tag

\n
\n
\n\n","\r\n\r\n
\r\n {#if tags.length > 0}\r\n {#each tags as tag, i}\r\n \r\n {#if typeof tag === 'string'}\r\n {tag}\r\n {:else}\r\n {tag[autoCompleteKey]}\r\n {/if}\r\n {#if !disable}\r\n removeTag(i)}> ×\r\n {/if}\r\n \r\n {/each}\r\n {/if}\r\n onBlur(tag)}\r\n class=\"svelte-tags-input\"\r\n placeholder={placeholder}\r\n disabled={disable}\r\n >\r\n
\r\n\r\n{#if autoComplete && arrelementsmatch.length > 0}\r\n
\r\n
    \r\n {#each arrelementsmatch as element, index}\r\n navigateAutoComplete(index, arrelementsmatch.length, element.label)}\r\n on:click={() => addTag(element.label)}>\r\n {@html element.search}\r\n \r\n {/each}\r\n
\r\n
\r\n{/if}\r\n\r\n","\n\n
\n
\n

Upload

\n
\n
\n\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n {#if currentProgress > 0 && currentProgress < 100}\n

{currentProgress}%

\n {/if}\n {#if fileName !== \"\"}\n

{fileName} uploaded

\n {/if}\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n
\n
\n
\n","\n\n\n\t\n\t
\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t
\n
\n\n\n","import App from './App.svelte';\n\nconst app = new App({\n\ttarget: document.body,\n\thydrate: false,\n});\n\nexport default app;"],"names":["token","require$$0","require$$1","defaults","InterceptorManager","Cancel","Axios","axios","require$$2","require$$3","require$$4","decodeComponent","filterObject"],"mappings":";;;;;IAAA,SAAS,IAAI,GAAG,GAAG;IAEnB,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE;IAC1B;IACA,IAAI,KAAK,MAAM,CAAC,IAAI,GAAG;IACvB,QAAQ,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;IACxB,IAAI,OAAO,GAAG,CAAC;IACf,CAAC;IAID,SAAS,YAAY,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACzD,IAAI,OAAO,CAAC,aAAa,GAAG;IAC5B,QAAQ,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACzC,KAAK,CAAC;IACN,CAAC;IACD,SAAS,GAAG,CAAC,EAAE,EAAE;IACjB,IAAI,OAAO,EAAE,EAAE,CAAC;IAChB,CAAC;IACD,SAAS,YAAY,GAAG;IACxB,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IACD,SAAS,OAAO,CAAC,GAAG,EAAE;IACtB,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IACD,SAAS,WAAW,CAAC,KAAK,EAAE;IAC5B,IAAI,OAAO,OAAO,KAAK,KAAK,UAAU,CAAC;IACvC,CAAC;IACD,SAAS,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE;IAC9B,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACZzB,UAAC,GAAG,GAAG,IAAI,GAAG,CAAC;IACpB,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI;IACtB,CAAC,OAAO,EAAE,KAAK;IACf,CAAC;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"bundle.js","sources":["../app/node_modules/svelte/internal/index.mjs","../app/node_modules/svelte/store/index.mjs","../app/node_modules/svelte-routing/src/contexts.js","../app/node_modules/svelte-routing/src/history.js","../app/node_modules/svelte-routing/src/utils.js","../app/node_modules/svelte-routing/src/Router.svelte","../app/node_modules/svelte-routing/src/Route.svelte","../app/node_modules/svelte-routing/src/Link.svelte","../app/src/stores.js","../app/src/Navbar.svelte","../app/node_modules/axios/lib/helpers/bind.js","../app/node_modules/axios/lib/utils.js","../app/node_modules/axios/lib/helpers/buildURL.js","../app/node_modules/axios/lib/core/InterceptorManager.js","../app/node_modules/axios/lib/core/transformData.js","../app/node_modules/axios/lib/cancel/isCancel.js","../app/node_modules/axios/lib/helpers/normalizeHeaderName.js","../app/node_modules/axios/lib/core/enhanceError.js","../app/node_modules/axios/lib/core/createError.js","../app/node_modules/axios/lib/core/settle.js","../app/node_modules/axios/lib/helpers/cookies.js","../app/node_modules/axios/lib/helpers/isAbsoluteURL.js","../app/node_modules/axios/lib/helpers/combineURLs.js","../app/node_modules/axios/lib/core/buildFullPath.js","../app/node_modules/axios/lib/helpers/parseHeaders.js","../app/node_modules/axios/lib/helpers/isURLSameOrigin.js","../app/node_modules/axios/lib/adapters/xhr.js","../app/node_modules/axios/lib/defaults.js","../app/node_modules/axios/lib/core/dispatchRequest.js","../app/node_modules/axios/lib/core/mergeConfig.js","../app/node_modules/axios/lib/core/Axios.js","../app/node_modules/axios/lib/cancel/Cancel.js","../app/node_modules/axios/lib/cancel/CancelToken.js","../app/node_modules/axios/lib/helpers/spread.js","../app/node_modules/axios/lib/helpers/isAxiosError.js","../app/node_modules/axios/lib/axios.js","../app/node_modules/axios/index.js","../app/src/api.js","../app/src/TagLink.svelte","../app/src/PostPaginator.svelte","../app/node_modules/strict-uri-encode/index.js","../app/node_modules/decode-uri-component/index.js","../app/node_modules/split-on-first/index.js","../app/node_modules/filter-obj/index.js","../app/node_modules/query-string/index.js","../app/node_modules/svelte-tags-input/src/Tags.svelte","../app/src/routes/Posts.svelte","../app/src/routes/Post.svelte","../app/src/routes/Login.svelte","../app/src/routes/Logout.svelte","../app/src/routes/Upload.svelte","../app/src/routes/Edit.svelte","../app/src/App.svelte","../app/src/main.js"],"sourcesContent":["function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot_spread(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_spread_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_spread_changes_fn(dirty) | get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value = ret) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction claim_element(nodes, name, attributes, svg) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeName === name) {\n let j = 0;\n const remove = [];\n while (j < node.attributes.length) {\n const attribute = node.attributes[j++];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n for (let k = 0; k < remove.length; k++) {\n node.removeAttribute(remove[k]);\n }\n return nodes.splice(i, 1)[0];\n }\n }\n return svg ? svg_element(name) : element(name);\n}\nfunction claim_text(nodes, data) {\n for (let i = 0; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 3) {\n node.data = '' + data;\n return nodes.splice(i, 1)[0];\n }\n }\n return text(data);\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n node.style.setProperty(key, value, important ? 'important' : '');\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, false, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor(anchor = null) {\n this.a = anchor;\n this.e = this.n = null;\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.h(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\nconst active_docs = new Set();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = node.ownerDocument;\n active_docs.add(doc);\n const stylesheet = doc.__svelte_stylesheet || (doc.__svelte_stylesheet = doc.head.appendChild(element('style')).sheet);\n const current_rules = doc.__svelte_rules || (doc.__svelte_rules = {});\n if (!current_rules[name]) {\n current_rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n active_docs.forEach(doc => {\n const stylesheet = doc.__svelte_stylesheet;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n doc.__svelte_rules = {};\n });\n active_docs.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n callbacks.slice().forEach(fn => fn(event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\nlet flushing = false;\nconst seen_callbacks = new Set();\nfunction flush() {\n if (flushing)\n return;\n flushing = true;\n do {\n // first, call beforeUpdate functions\n // and update components\n for (let i = 0; i < dirty_components.length; i += 1) {\n const component = dirty_components[i];\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n flushing = false;\n seen_callbacks.clear();\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = program.b - t;\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\nfunction update_await_block_branch(info, ctx, dirty) {\n const child_ctx = ctx.slice();\n const { resolved } = info;\n if (info.current === info.then) {\n child_ctx[info.value] = resolved;\n }\n if (info.current === info.catch) {\n child_ctx[info.error] = resolved;\n }\n info.block.p(child_ctx, dirty);\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, classes_to_add) {\n const attributes = Object.assign({}, ...args);\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${String(value).replace(/\"/g, '"').replace(/'/g, ''')}\"`;\n }\n });\n return str;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(parent_component ? parent_component.$$.context : context || []),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n return ` ${name}${value === true ? '' : `=${typeof value === 'string' ? JSON.stringify(escape(value)) : `\"${value}\"`}`}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(parent_component ? parent_component.$$.context : options.context || []),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false\n };\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.38.2' }, detail)));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * \n * \n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to seperate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_transform, afterUpdate, append, append_dev, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_space, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, escape, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getContext, get_binding_group_value, get_current_component, get_custom_elements_slots, get_slot_changes, get_slot_context, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, update_await_block_branch, update_keyed_each, update_slot, update_slot_spread, validate_component, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal/index.mjs';\nexport { get_store_value as get } from '../internal/index.mjs';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = [];\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (let i = 0; i < subscribers.length; i += 1) {\n const s = subscribers[i];\n s[1]();\n subscriber_queue.push(s, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.push(subscriber);\n if (subscribers.length === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n const index = subscribers.indexOf(subscriber);\n if (index !== -1) {\n subscribers.splice(index, 1);\n }\n if (subscribers.length === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","export const LOCATION = {};\nexport const ROUTER = {};\n","/**\n * Adapted from https://github.com/reach/router/blob/b60e6dd781d5d3a4bdaaf4de665649c0f6a7e78d/src/lib/history.js\n *\n * https://github.com/reach/router/blob/master/LICENSE\n * */\n\nfunction getLocation(source) {\n return {\n ...source.location,\n state: source.history.state,\n key: (source.history.state && source.history.state.key) || \"initial\"\n };\n}\n\nfunction createHistory(source, options) {\n const listeners = [];\n let location = getLocation(source);\n\n return {\n get location() {\n return location;\n },\n\n listen(listener) {\n listeners.push(listener);\n\n const popstateListener = () => {\n location = getLocation(source);\n listener({ location, action: \"POP\" });\n };\n\n source.addEventListener(\"popstate\", popstateListener);\n\n return () => {\n source.removeEventListener(\"popstate\", popstateListener);\n\n const index = listeners.indexOf(listener);\n listeners.splice(index, 1);\n };\n },\n\n navigate(to, { state, replace = false } = {}) {\n state = { ...state, key: Date.now() + \"\" };\n // try...catch iOS Safari limits to 100 pushState calls\n try {\n if (replace) {\n source.history.replaceState(state, null, to);\n } else {\n source.history.pushState(state, null, to);\n }\n } catch (e) {\n source.location[replace ? \"replace\" : \"assign\"](to);\n }\n\n location = getLocation(source);\n listeners.forEach(listener => listener({ location, action: \"PUSH\" }));\n }\n };\n}\n\n// Stores history entries in memory for testing or other platforms like Native\nfunction createMemorySource(initialPathname = \"/\") {\n let index = 0;\n const stack = [{ pathname: initialPathname, search: \"\" }];\n const states = [];\n\n return {\n get location() {\n return stack[index];\n },\n addEventListener(name, fn) {},\n removeEventListener(name, fn) {},\n history: {\n get entries() {\n return stack;\n },\n get index() {\n return index;\n },\n get state() {\n return states[index];\n },\n pushState(state, _, uri) {\n const [pathname, search = \"\"] = uri.split(\"?\");\n index++;\n stack.push({ pathname, search });\n states.push(state);\n },\n replaceState(state, _, uri) {\n const [pathname, search = \"\"] = uri.split(\"?\");\n stack[index] = { pathname, search };\n states[index] = state;\n }\n }\n };\n}\n\n// Global history uses window.history as the source if available,\n// otherwise a memory history\nconst canUseDOM = Boolean(\n typeof window !== \"undefined\" &&\n window.document &&\n window.document.createElement\n);\nconst globalHistory = createHistory(canUseDOM ? window : createMemorySource());\nconst { navigate } = globalHistory;\n\nexport { globalHistory, navigate, createHistory, createMemorySource };\n","/**\n * Adapted from https://github.com/reach/router/blob/b60e6dd781d5d3a4bdaaf4de665649c0f6a7e78d/src/lib/utils.js\n *\n * https://github.com/reach/router/blob/master/LICENSE\n * */\n\nconst paramRe = /^:(.+)/;\n\nconst SEGMENT_POINTS = 4;\nconst STATIC_POINTS = 3;\nconst DYNAMIC_POINTS = 2;\nconst SPLAT_PENALTY = 1;\nconst ROOT_POINTS = 1;\n\n/**\n * Check if `string` starts with `search`\n * @param {string} string\n * @param {string} search\n * @return {boolean}\n */\nexport function startsWith(string, search) {\n return string.substr(0, search.length) === search;\n}\n\n/**\n * Check if `segment` is a root segment\n * @param {string} segment\n * @return {boolean}\n */\nfunction isRootSegment(segment) {\n return segment === \"\";\n}\n\n/**\n * Check if `segment` is a dynamic segment\n * @param {string} segment\n * @return {boolean}\n */\nfunction isDynamic(segment) {\n return paramRe.test(segment);\n}\n\n/**\n * Check if `segment` is a splat\n * @param {string} segment\n * @return {boolean}\n */\nfunction isSplat(segment) {\n return segment[0] === \"*\";\n}\n\n/**\n * Split up the URI into segments delimited by `/`\n * @param {string} uri\n * @return {string[]}\n */\nfunction segmentize(uri) {\n return (\n uri\n // Strip starting/ending `/`\n .replace(/(^\\/+|\\/+$)/g, \"\")\n .split(\"/\")\n );\n}\n\n/**\n * Strip `str` of potential start and end `/`\n * @param {string} str\n * @return {string}\n */\nfunction stripSlashes(str) {\n return str.replace(/(^\\/+|\\/+$)/g, \"\");\n}\n\n/**\n * Score a route depending on how its individual segments look\n * @param {object} route\n * @param {number} index\n * @return {object}\n */\nfunction rankRoute(route, index) {\n const score = route.default\n ? 0\n : segmentize(route.path).reduce((score, segment) => {\n score += SEGMENT_POINTS;\n\n if (isRootSegment(segment)) {\n score += ROOT_POINTS;\n } else if (isDynamic(segment)) {\n score += DYNAMIC_POINTS;\n } else if (isSplat(segment)) {\n score -= SEGMENT_POINTS + SPLAT_PENALTY;\n } else {\n score += STATIC_POINTS;\n }\n\n return score;\n }, 0);\n\n return { route, score, index };\n}\n\n/**\n * Give a score to all routes and sort them on that\n * @param {object[]} routes\n * @return {object[]}\n */\nfunction rankRoutes(routes) {\n return (\n routes\n .map(rankRoute)\n // If two routes have the exact same score, we go by index instead\n .sort((a, b) =>\n a.score < b.score ? 1 : a.score > b.score ? -1 : a.index - b.index\n )\n );\n}\n\n/**\n * Ranks and picks the best route to match. Each segment gets the highest\n * amount of points, then the type of segment gets an additional amount of\n * points where\n *\n * static > dynamic > splat > root\n *\n * This way we don't have to worry about the order of our routes, let the\n * computers do it.\n *\n * A route looks like this\n *\n * { path, default, value }\n *\n * And a returned match looks like:\n *\n * { route, params, uri }\n *\n * @param {object[]} routes\n * @param {string} uri\n * @return {?object}\n */\nfunction pick(routes, uri) {\n let match;\n let default_;\n\n const [uriPathname] = uri.split(\"?\");\n const uriSegments = segmentize(uriPathname);\n const isRootUri = uriSegments[0] === \"\";\n const ranked = rankRoutes(routes);\n\n for (let i = 0, l = ranked.length; i < l; i++) {\n const route = ranked[i].route;\n let missed = false;\n\n if (route.default) {\n default_ = {\n route,\n params: {},\n uri\n };\n continue;\n }\n\n const routeSegments = segmentize(route.path);\n const params = {};\n const max = Math.max(uriSegments.length, routeSegments.length);\n let index = 0;\n\n for (; index < max; index++) {\n const routeSegment = routeSegments[index];\n const uriSegment = uriSegments[index];\n\n if (routeSegment !== undefined && isSplat(routeSegment)) {\n // Hit a splat, just grab the rest, and return a match\n // uri: /files/documents/work\n // route: /files/* or /files/*splatname\n const splatName = routeSegment === \"*\" ? \"*\" : routeSegment.slice(1);\n\n params[splatName] = uriSegments\n .slice(index)\n .map(decodeURIComponent)\n .join(\"/\");\n break;\n }\n\n if (uriSegment === undefined) {\n // URI is shorter than the route, no match\n // uri: /users\n // route: /users/:userId\n missed = true;\n break;\n }\n\n let dynamicMatch = paramRe.exec(routeSegment);\n\n if (dynamicMatch && !isRootUri) {\n const value = decodeURIComponent(uriSegment);\n params[dynamicMatch[1]] = value;\n } else if (routeSegment !== uriSegment) {\n // Current segments don't match, not dynamic, not splat, so no match\n // uri: /users/123/settings\n // route: /users/:id/profile\n missed = true;\n break;\n }\n }\n\n if (!missed) {\n match = {\n route,\n params,\n uri: \"/\" + uriSegments.slice(0, index).join(\"/\")\n };\n break;\n }\n }\n\n return match || default_ || null;\n}\n\n/**\n * Check if the `path` matches the `uri`.\n * @param {string} path\n * @param {string} uri\n * @return {?object}\n */\nfunction match(route, uri) {\n return pick([route], uri);\n}\n\n/**\n * Add the query to the pathname if a query is given\n * @param {string} pathname\n * @param {string} [query]\n * @return {string}\n */\nfunction addQuery(pathname, query) {\n return pathname + (query ? `?${query}` : \"\");\n}\n\n/**\n * Resolve URIs as though every path is a directory, no files. Relative URIs\n * in the browser can feel awkward because not only can you be \"in a directory\",\n * you can be \"at a file\", too. For example:\n *\n * browserSpecResolve('foo', '/bar/') => /bar/foo\n * browserSpecResolve('foo', '/bar') => /foo\n *\n * But on the command line of a file system, it's not as complicated. You can't\n * `cd` from a file, only directories. This way, links have to know less about\n * their current path. To go deeper you can do this:\n *\n * \n * // instead of\n * \n *\n * Just like `cd`, if you want to go deeper from the command line, you do this:\n *\n * cd deeper\n * # not\n * cd $(pwd)/deeper\n *\n * By treating every path as a directory, linking to relative paths should\n * require less contextual information and (fingers crossed) be more intuitive.\n * @param {string} to\n * @param {string} base\n * @return {string}\n */\nfunction resolve(to, base) {\n // /foo/bar, /baz/qux => /foo/bar\n if (startsWith(to, \"/\")) {\n return to;\n }\n\n const [toPathname, toQuery] = to.split(\"?\");\n const [basePathname] = base.split(\"?\");\n const toSegments = segmentize(toPathname);\n const baseSegments = segmentize(basePathname);\n\n // ?a=b, /users?b=c => /users?a=b\n if (toSegments[0] === \"\") {\n return addQuery(basePathname, toQuery);\n }\n\n // profile, /users/789 => /users/789/profile\n if (!startsWith(toSegments[0], \".\")) {\n const pathname = baseSegments.concat(toSegments).join(\"/\");\n\n return addQuery((basePathname === \"/\" ? \"\" : \"/\") + pathname, toQuery);\n }\n\n // ./ , /users/123 => /users/123\n // ../ , /users/123 => /users\n // ../.. , /users/123 => /\n // ../../one, /a/b/c/d => /a/b/one\n // .././one , /a/b/c/d => /a/b/c/one\n const allSegments = baseSegments.concat(toSegments);\n const segments = [];\n\n allSegments.forEach(segment => {\n if (segment === \"..\") {\n segments.pop();\n } else if (segment !== \".\") {\n segments.push(segment);\n }\n });\n\n return addQuery(\"/\" + segments.join(\"/\"), toQuery);\n}\n\n/**\n * Combines the `basepath` and the `path` into one path.\n * @param {string} basepath\n * @param {string} path\n */\nfunction combinePaths(basepath, path) {\n return `${stripSlashes(\n path === \"/\" ? basepath : `${stripSlashes(basepath)}/${stripSlashes(path)}`\n )}/`;\n}\n\n/**\n * Decides whether a given `event` should result in a navigation or not.\n * @param {object} event\n */\nfunction shouldNavigate(event) {\n return (\n !event.defaultPrevented &&\n event.button === 0 &&\n !(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey)\n );\n}\n\nfunction hostMatches(anchor) {\n const host = location.host\n return (\n anchor.host == host ||\n // svelte seems to kill anchor.host value in ie11, so fall back to checking href\n anchor.href.indexOf(`https://${host}`) === 0 ||\n anchor.href.indexOf(`http://${host}`) === 0\n )\n}\n\nexport { stripSlashes, pick, match, resolve, combinePaths, shouldNavigate, hostMatches };\n","\n\n\n","\n\n{#if $activeRoute !== null && $activeRoute.route === route}\n {#if component !== null}\n \n {:else}\n \n {/if}\n{/if}\n","\n\n\n \n\n","import { writable } from \"svelte/store\";\n\nconst storedToken = localStorage.getItem(\"apiToken\");\n\nexport const token = writable(storedToken);\ntoken.subscribe(value => {\n localStorage.setItem(\"apiToken\", value);\n});","\n\n\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n/*global toString:true*/\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return (typeof FormData !== 'undefined') && (val instanceof FormData);\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn(data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code\n };\n };\n return error;\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n // Listen for ready state\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(resolve, reject, response);\n\n // Clean up request\n request = null;\n };\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(timeoutErrorMessage, config, 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (config.responseType) {\n try {\n request.responseType = config.responseType;\n } catch (e) {\n // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.\n // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.\n if (config.responseType !== 'json') {\n throw e;\n }\n }\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel);\n // Clean up request\n request = null;\n });\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar normalizeHeaderName = require('./helpers/normalizeHeaderName');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('./adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('./adapters/http');\n }\n return adapter;\n}\n\nvar defaults = {\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data)) {\n setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n return JSON.stringify(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n /*eslint no-param-reassign:0*/\n if (typeof data === 'string') {\n try {\n data = JSON.parse(data);\n } catch (e) { /* Ignore */ }\n }\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\n\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData(\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData(\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData(\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n var valueFromConfig2Keys = ['url', 'method', 'data'];\n var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];\n var defaultToConfig2Keys = [\n 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',\n 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',\n 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',\n 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',\n 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'\n ];\n var directMergeKeys = ['validateStatus'];\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n }\n\n utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n }\n });\n\n utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);\n\n utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n config[prop] = getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n utils.forEach(directMergeKeys, function merge(prop) {\n if (prop in config2) {\n config[prop] = getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n config[prop] = getMergedValue(undefined, config1[prop]);\n }\n });\n\n var axiosKeys = valueFromConfig2Keys\n .concat(mergeDeepPropertiesKeys)\n .concat(defaultToConfig2Keys)\n .concat(directMergeKeys);\n\n var otherKeys = Object\n .keys(config1)\n .concat(Object.keys(config2))\n .filter(function filterAxiosKeys(key) {\n return axiosKeys.indexOf(key) === -1;\n });\n\n utils.forEach(otherKeys, mergeDeepProperties);\n\n return config;\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\n\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = arguments[1] || {};\n config.url = arguments[0];\n } else {\n config = config || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n // Hook up interceptors middleware\n var chain = [dispatchRequest, undefined];\n var promise = Promise.resolve(config);\n\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n chain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n chain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return (typeof payload === 'object') && (payload.isAxiosError === true);\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Factory for creating new instances\naxios.create = function create(instanceConfig) {\n return createInstance(mergeConfig(axios.defaults, instanceConfig));\n};\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","module.exports = require('./lib/axios');","import { token } from \"./stores.js\"\nimport axios from \"axios\";\n\nlet url = window.BASE_URL;\nlet current_token;\ntoken.subscribe(value => {\n current_token = value;\n})\n\nexport async function login({ username, password }) {\n const endpoint = url + \"/api/auth/login\";\n const response = await axios({\n url: endpoint,\n method: \"POST\",\n data: JSON.stringify({\n username,\n password,\n }),\n })\n token.set(response.data.token);\n return response.data;\n}\n\nexport async function getPosts({ page }) {\n const endpoint = url + \"/api/post?page=\" + page;\n const response = await axios.get(endpoint);\n return response.data;\n}\n\nexport async function getPostSearchTag({ page, q }) {\n if (q) {\n const endpoint = url + \"/api/post?tags=\" + q + \"&page=\" + page;\n const response = await axios(endpoint);\n return response.data;\n } else {\n const endpoint = url + \"/api/post?page=\" + page;\n const response = await axios(endpoint);\n return response.data;\n }\n}\n\nexport async function getPost({ id }) {\n const endpoint = url + \"/api/post/\" + id;\n const response = await axios(endpoint);\n return response.data;\n}\n\nexport async function uploadBlob({ file, onProgress }) {\n var formData = new FormData();\n formData.append(\"file\", file);\n const endpoint = url + \"/api/blob/upload\";\n const response = await axios({\n url: endpoint,\n method: \"POST\",\n headers: {\n 'Authorization': 'Bearer ' + current_token,\n 'Content-Type': 'multipart/form-data',\n },\n withCredentials: true,\n data: formData,\n onUploadProgress: e => {\n if (onProgress) {\n onProgress(e)\n }\n }\n })\n return response.data;\n}\n\nexport async function postCreate({ blob_id, source_url, tags }) {\n const endpoint = url + \"/api/post/create\";\n const response = await axios({\n url: endpoint,\n method: \"POST\",\n headers: {\n 'Authorization': 'Bearer ' + current_token,\n },\n withCredentials: true,\n data: {\n blob_id, source_url, tags\n }\n })\n return response.data;\n}\n\nexport async function postUpdate(id, { source_url, tags }) {\n const endpoint = url + \"/api/post/\"+id;\n const response = await axios({\n url: endpoint,\n method: \"POST\",\n headers: {\n 'Authorization': 'Bearer ' + current_token,\n },\n withCredentials: true,\n data: {\n source_url, tags\n }\n })\n return response.data;\n}","\n\n{tagName}\n","\n\n\n
\n {#each postChunks as postChunk}\n
\n {#each postChunk as post, i (post.id)}\n
\n
\n
\n \n {post.id}\n \n
\n
\n
\n {#if post.tags}\n {#each post.tags as tag (tag)}\n \n {/each}\n {:else}\n None\n {/if}\n
\n
\n {/each}\n
\n {/each}\n
\n","'use strict';\nmodule.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);\n","'use strict';\nvar token = '%[a-f0-9]{2}';\nvar singleMatcher = new RegExp(token, 'gi');\nvar multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn decodeURIComponent(components.join(''));\n\t} catch (err) {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tvar left = components.slice(0, split);\n\tvar right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch (err) {\n\t\tvar tokens = input.match(singleMatcher);\n\n\t\tfor (var i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher);\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tvar replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD'\n\t};\n\n\tvar match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch (err) {\n\t\t\tvar result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tvar entries = Object.keys(replaceMap);\n\n\tfor (var i = 0; i < entries.length; i++) {\n\t\t// Replace all decoded components\n\t\tvar key = entries[i];\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nmodule.exports = function (encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\tencodedURI = encodedURI.replace(/\\+/g, ' ');\n\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch (err) {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n};\n","'use strict';\n\nmodule.exports = (string, separator) => {\n\tif (!(typeof string === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError('Expected the arguments to be of type `string`');\n\t}\n\n\tif (separator === '') {\n\t\treturn [string];\n\t}\n\n\tconst separatorIndex = string.indexOf(separator);\n\n\tif (separatorIndex === -1) {\n\t\treturn [string];\n\t}\n\n\treturn [\n\t\tstring.slice(0, separatorIndex),\n\t\tstring.slice(separatorIndex + separator.length)\n\t];\n};\n","'use strict';\nmodule.exports = function (obj, predicate) {\n\tvar ret = {};\n\tvar keys = Object.keys(obj);\n\tvar isArr = Array.isArray(predicate);\n\n\tfor (var i = 0; i < keys.length; i++) {\n\t\tvar key = keys[i];\n\t\tvar val = obj[key];\n\n\t\tif (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) {\n\t\t\tret[key] = val;\n\t\t}\n\t}\n\n\treturn ret;\n};\n","'use strict';\nconst strictUriEncode = require('strict-uri-encode');\nconst decodeComponent = require('decode-uri-component');\nconst splitOnFirst = require('split-on-first');\nconst filterObject = require('filter-obj');\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSep = options.arrayFormat === 'bracket-separator' ?\n\t\t\t\t'[]=' :\n\t\t\t\t'=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSep, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator);\n\t\t\t\tconst isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator));\n\t\t\t\tvalue = isEncodedArray ? decode(value, options) : value;\n\t\t\t\tconst newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options);\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tcase 'bracket-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = /(\\[\\])$/.test(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!isArray) {\n\t\t\t\t\taccumulator[key] = value ? decode(value, options) : value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst arrayValue = value === null ?\n\t\t\t\t\t[] :\n\t\t\t\t\tvalue.split(options.arrayFormatSeparator).map(item => decode(item, options));\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = arrayValue;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], arrayValue);\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction validateArrayFormatSeparator(value) {\n\tif (typeof value !== 'string' || value.length !== 1) {\n\t\tthrow new TypeError('arrayFormatSeparator must be single character string');\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction getHash(url) {\n\tlet hash = '';\n\tconst hashStart = url.indexOf('#');\n\tif (hashStart !== -1) {\n\t\thash = url.slice(hashStart);\n\t}\n\n\treturn hash;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parseValue(value, options) {\n\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\tvalue = Number(value);\n\t} else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\tvalue = value.toLowerCase() === 'true';\n\t}\n\n\treturn value;\n}\n\nfunction parse(query, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof query !== 'string') {\n\t\treturn ret;\n\t}\n\n\tquery = query.trim().replace(/^[?#&]/, '');\n\n\tif (!query) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of query.split('&')) {\n\t\tif (param === '') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tlet [key, value] = splitOnFirst(options.decode ? param.replace(/\\+/g, ' ') : param, '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : ['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options);\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\tfor (const key of Object.keys(ret)) {\n\t\tconst value = ret[key];\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tfor (const k of Object.keys(value)) {\n\t\t\t\tvalue[k] = parseValue(value[k], options);\n\t\t\t}\n\t\t} else {\n\t\t\tret[key] = parseValue(value, options);\n\t\t}\n\t}\n\n\tif (options.sort === false) {\n\t\treturn ret;\n\t}\n\n\treturn (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ','\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst shouldFilter = key => (\n\t\t(options.skipNull && isNullOrUndefined(object[key])) ||\n\t\t(options.skipEmptyString && object[key] === '')\n\t);\n\n\tconst formatter = encoderForArrayFormat(options);\n\n\tconst objectCopy = {};\n\n\tfor (const key of Object.keys(object)) {\n\t\tif (!shouldFilter(key)) {\n\t\t\tobjectCopy[key] = object[key];\n\t\t}\n\t}\n\n\tconst keys = Object.keys(objectCopy);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tif (value.length === 0 && options.arrayFormat === 'bracket-separator') {\n\t\t\t\treturn encode(key, options) + '[]';\n\t\t\t}\n\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (url, options) => {\n\toptions = Object.assign({\n\t\tdecode: true\n\t}, options);\n\n\tconst [url_, hash] = splitOnFirst(url, '#');\n\n\treturn Object.assign(\n\t\t{\n\t\t\turl: url_.split('?')[0] || '',\n\t\t\tquery: parse(extract(url), options)\n\t\t},\n\t\toptions && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {}\n\t);\n};\n\nexports.stringifyUrl = (object, options) => {\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true\n\t}, options);\n\n\tconst url = removeHash(object.url).split('?')[0] || '';\n\tconst queryFromUrl = exports.extract(object.url);\n\tconst parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false});\n\n\tconst query = Object.assign(parsedQueryFromUrl, object.query);\n\tlet queryString = exports.stringify(query, options);\n\tif (queryString) {\n\t\tqueryString = `?${queryString}`;\n\t}\n\n\tlet hash = getHash(object.url);\n\tif (object.fragmentIdentifier) {\n\t\thash = `#${encode(object.fragmentIdentifier, options)}`;\n\t}\n\n\treturn `${url}${queryString}${hash}`;\n};\n\nexports.pick = (input, filter, options) => {\n\toptions = Object.assign({\n\t\tparseFragmentIdentifier: true\n\t}, options);\n\n\tconst {url, query, fragmentIdentifier} = exports.parseUrl(input, options);\n\treturn exports.stringifyUrl({\n\t\turl,\n\t\tquery: filterObject(query, filter),\n\t\tfragmentIdentifier\n\t}, options);\n};\n\nexports.exclude = (input, filter, options) => {\n\tconst exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value);\n\n\treturn exports.pick(input, exclusionFilter, options);\n};\n","\r\n\r\n
\r\n {#if tags.length > 0}\r\n {#each tags as tag, i}\r\n \r\n {#if typeof tag === 'string'}\r\n {tag}\r\n {:else}\r\n {tag[autoCompleteKey]}\r\n {/if}\r\n {#if !disable}\r\n removeTag(i)}> ×\r\n {/if}\r\n \r\n {/each}\r\n {/if}\r\n onBlur(tag)}\r\n class=\"svelte-tags-input\"\r\n placeholder={placeholder}\r\n disabled={disable}\r\n >\r\n
\r\n\r\n{#if autoComplete && arrelementsmatch.length > 0}\r\n
\r\n
    \r\n {#each arrelementsmatch as element, index}\r\n navigateAutoComplete(index, arrelementsmatch.length, element.label)}\r\n on:click={() => addTag(element.label)}>\r\n {@html element.search}\r\n \r\n {/each}\r\n
\r\n
\r\n{/if}\r\n\r\n","\n\n
\n
\n

Posts

\n
\n
\n\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n","\n\n
\n
\n {#if post}\n

\n Post ID: {post.id}\n

\n {/if}\n
\n
\n{#if post}\n \n{/if}\n","\n\n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n","\n","\n\n
\n
\n

Upload

\n
\n
\n\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n {#if currentProgress > 0 && currentProgress < 100}\n

{currentProgress}%

\n {/if}\n {#if fileName !== \"\"}\n

{fileName} uploaded

\n {/if}\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n \n
\n
\n
\n
\n","\n\n
\n
\n

Edit Post: {id}

\n
\n
\n\n
\n
\n
\n
\n

\n Back\n

\n
\n
\n \n
\n \n
\n
\n
\n \n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n {id}\n
\n
\n
\n
\n
\n","\n\n\n\t\n\t
\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t
\n
\n\n\n","import App from './App.svelte';\n\nconst app = new App({\n\ttarget: document.body,\n\thydrate: false,\n});\n\nexport default app;"],"names":["token","require$$0","require$$1","defaults","InterceptorManager","Cancel","Axios","axios","require$$2","require$$3","require$$4","decodeComponent","filterObject"],"mappings":";;;;;IAAA,SAAS,IAAI,GAAG,GAAG;IAEnB,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE;IAC1B;IACA,IAAI,KAAK,MAAM,CAAC,IAAI,GAAG;IACvB,QAAQ,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;IACxB,IAAI,OAAO,GAAG,CAAC;IACf,CAAC;IAID,SAAS,YAAY,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACzD,IAAI,OAAO,CAAC,aAAa,GAAG;IAC5B,QAAQ,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACzC,KAAK,CAAC;IACN,CAAC;IACD,SAAS,GAAG,CAAC,EAAE,EAAE;IACjB,IAAI,OAAO,EAAE,EAAE,CAAC;IAChB,CAAC;IACD,SAAS,YAAY,GAAG;IACxB,IAAI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IACD,SAAS,OAAO,CAAC,GAAG,EAAE;IACtB,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;IACD,SAAS,WAAW,CAAC,KAAK,EAAE;IAC5B,IAAI,OAAO,OAAO,KAAK,KAAK,UAAU,CAAC;IACvC,CAAC;IACD,SAAS,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE;IAC9B,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,KAAK,QAAQ,KAAK,OAAO,CAAC,KAAK,UAAU,CAAC,CAAC;IAClG,CAAC;IAID,SAAS,QAAQ,CAAC,G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